/*
Theme Name: Hombre Dulce
Theme URI: https://hombredulce.com
Description: Tema oficial y exclusivo de Hombre Dulce: Revista gastronómica mobile-first para cocina saludable, diabetes y keto con 0% azúcar refinada.
Author: El Hombre Dulce
Author URI: https://hombredulce.com
Template: generatepress
Version: 1.0.0
Text Domain: hombre-dulce
*/

/* --- Footer Editorial de Hombre Dulce --- */
.site-info {
  background: #1F2937 !important;
  color: #E5E7EB !important;
  padding: 0 !important;
  border-top: 4px solid #D35400;
}

.hd-site-footer {
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 24px 36px 24px;
}

.hd-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 40px;
}

.hd-footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hd-footer-about {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #9CA3AF;
  margin-bottom: 18px;
}

.hd-footer-badge {
  display: inline-block;
  background: rgba(211, 84, 0, 0.15);
  color: #F39C12;
  border: 1px solid rgba(243, 156, 18, 0.3);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hd-footer-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
  border-bottom: 2px solid #D35400;
  padding-bottom: 8px;
  display: inline-block;
}

.hd-footer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hd-footer-links li {
  margin-bottom: 12px;
}

.hd-footer-links a {
  color: #D1D5DB !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.hd-footer-links a:hover {
  color: #F39C12 !important;
  transform: translateX(4px);
}

.hd-footer-community-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #9CA3AF;
  margin-bottom: 18px;
}

.hd-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hd-social-pill {
  background: #374151;
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid #4B5563;
}

.hd-footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 28px;
  text-align: center;
}

.hd-disclaimer {
  font-size: 0.8rem;
  line-height: 1.6;
  color: #9CA3AF;
  max-width: 820px;
  margin: 0 auto 16px auto;
  font-style: italic;
}

.hd-disclaimer strong {
  color: #D1D5DB;
}

.hd-copyright-text {
  font-size: 0.85rem;
  color: #6B7280;
}

.hd-copyright-text strong {
  color: #F39C12;
}

/* --- Barra de Utilidades de Receta (Imprimir & Compartir) --- */
.hd-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0 28px 0;
  padding: 14px 18px;
  background: #FFF9ED;
  border: 1px solid #F3E8DF;
  border-radius: var(--hd-radius-md);
  align-items: center;
  justify-content: space-between;
}

.hd-actions-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: #D35400;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hd-actions-buttons {
  display: flex;
  gap: 10px;
}

.hd-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none !important;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.hd-btn-print {
  background: #FFFFFF;
  color: #1F2937 !important;
  border: 1px solid #E5D5C8 !important;
}

.hd-btn-print:hover {
  background: #F3E8DF;
  transform: translateY(-2px);
}

.hd-btn-wa {
  background: #25D366;
  color: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.hd-btn-wa:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* --- Adaptación Mobile del Footer --- */
@media (max-width: 860px) {
  .hd-footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hd-site-footer {
    padding: 40px 18px 28px 18px;
  }
  .hd-actions-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .hd-actions-buttons {
    flex-direction: column;
  }
  .hd-btn-action {
    justify-content: center;
  }
}

/* --- Modo Impresión Limpio (@media print) --- */
@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
    font-size: 11pt !important;
  }
  .site-header,
  .main-navigation,
  .site-footer,
  .site-info,
  .hd-home-hero,
  .hd-badge-bar,
  .hd-quick-nav,
  .hd-actions-bar,
  .hd-social-card,
  .comments-area,
  .sidebar,
  .nav-links {
    display: none !important;
  }
  .hombre-dulce-recipe {
    margin: 0 !important;
    box-shadow: none !important;
  }
  .hd-section-box {
    border: 1px solid #E5E7EB !important;
    box-shadow: none !important;
    page-break-inside: avoid;
    margin-bottom: 15px !important;
    padding: 15px !important;
  }
  .hd-tip-box {
    border: 1px dashed #D35400 !important;
    background: #FFFDF9 !important;
    page-break-inside: avoid;
  }
}
