/*
 Theme Name:   HabbiConect
 Theme URI:    https://habbiconect.com
 Description:  Child theme de GeneratePress para HabbiConect — Descubre lo que merece la pena. Marketing de afiliados Amazon España.
 Author:       HabbiConect
 Author URI:   https://habbiconect.com
 Template:     generatepress
 Version: 1.1.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  habbiconect
*/

/* ═══════════════════════════════════════════
   HABBICONECT — Custom Stylesheet
   Stack: GeneratePress Premium Child Theme
   ═══════════════════════════════════════════ */

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  /* Brand Colors */
  --hc-primary: #1A1A2E;
  --hc-secondary: #16213E;
  --hc-accent: #E94560;
  --hc-accent-hover: #D63851;
  --hc-accent-light: #FFF0F3;
  --hc-warm: #F5A623;
  --hc-success: #27AE60;
  --hc-success-light: #E8F8F0;

  /* Neutrals */
  --hc-bg: #FFFFFF;
  --hc-bg-light: #F8F9FA;
  --hc-bg-card: #FFFFFF;
  --hc-border: #E0E4E8;
  --hc-border-light: #F0F2F5;

  /* Text */
  --hc-text: #1A1A2E;
  --hc-text-mid: #4A4A68;
  --hc-text-light: #7A7A9A;
  --hc-text-inverse: #FFFFFF;

  /* Typography */
  --hc-font-heading: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --hc-font-body: 'Inter', 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --hc-radius: 8px;
  --hc-radius-lg: 12px;
  --hc-radius-xl: 16px;
  --hc-shadow: 0 2px 8px rgba(26, 26, 46, 0.08);
  --hc-shadow-md: 0 4px 16px rgba(26, 26, 46, 0.12);
  --hc-shadow-lg: 0 8px 32px rgba(26, 26, 46, 0.16);
  --hc-transition: 0.2s ease;

  /* Layout */
  --hc-container: 1200px;
  --hc-content: 780px;
  --hc-sidebar: 340px;
}


/* ─── GLOBAL RESET & BASE ─── */
body {
  font-family: var(--hc-font-body);
  color: var(--hc-text);
  background-color: var(--hc-bg);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hc-font-heading);
  color: var(--hc-primary);
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 32px; margin-bottom: 16px; }
h2 { font-size: 24px; margin-bottom: 14px; margin-top: 40px; }
h3 { font-size: 18px; margin-bottom: 12px; margin-top: 32px; }
h4 { font-size: 16px; margin-bottom: 10px; }

a {
  color: var(--hc-accent);
  text-decoration: none;
  transition: color var(--hc-transition);
}

a:hover {
  color: var(--hc-accent-hover);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--hc-radius);
}

::selection {
  background: var(--hc-accent-light);
  color: var(--hc-primary);
}


/* ─── HEADER ─── */
.site-header {
  background: var(--hc-bg) !important;
  border-bottom: 1px solid var(--hc-border);
  transition: box-shadow var(--hc-transition);
}

.site-header.is-sticky {
  box-shadow: var(--hc-shadow);
}

/* Logo */
.site-header .site-title a,
.site-header .custom-logo-link {
  font-family: var(--hc-font-heading);
  font-weight: 800;
  font-size: 24px;
  color: var(--hc-primary) !important;
  letter-spacing: -0.5px;
}

/* Navigation */
.main-navigation .main-nav ul li a {
  font-family: var(--hc-font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--hc-text-mid);
  text-transform: none;
  padding: 10px 16px;
  transition: color var(--hc-transition);
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a {
  color: var(--hc-accent);
}

/* Mobile menu */
.menu-toggle {
  color: var(--hc-primary);
}

/* Header CTA button (newsletter) */
.header-cta-btn,
.menu-item-cta > a {
  background: var(--hc-accent) !important;
  color: var(--hc-text-inverse) !important;
  border-radius: var(--hc-radius) !important;
  padding: 8px 20px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  transition: background var(--hc-transition), transform var(--hc-transition) !important;
}

.header-cta-btn:hover,
.menu-item-cta > a:hover {
  background: var(--hc-accent-hover) !important;
  transform: translateY(-1px);
}


/* ─── HERO SECTION ─── */
.hc-hero {
  padding: 80px 0 60px;
  text-align: left;
}

.hc-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--hc-primary);
  margin-bottom: 16px;
  max-width: 680px;
}

.hc-hero .hc-hero__subtitle {
  font-size: 18px;
  color: var(--hc-text-mid);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 32px;
}


/* ─── BUTTONS ─── */
.hc-btn,
.wp-block-button__link,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--hc-font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--hc-radius);
  border: none;
  cursor: pointer;
  transition: all var(--hc-transition);
  text-decoration: none;
}

.hc-btn--primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: var(--hc-accent);
  color: var(--hc-text-inverse);
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3);
}

.hc-btn--primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: var(--hc-accent-hover);
  color: var(--hc-text-inverse);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

.hc-btn--secondary {
  background: transparent;
  color: var(--hc-accent);
  border: 2px solid var(--hc-accent);
}

.hc-btn--secondary:hover {
  background: var(--hc-accent);
  color: var(--hc-text-inverse);
}

.hc-btn--amazon {
  background: #FF9900;
  color: #111;
  font-weight: 700;
}

.hc-btn--amazon:hover {
  background: #E88A00;
  color: #111;
  transform: translateY(-2px);
}


/* ─── CARDS ─── */
.hc-card {
  background: var(--hc-bg-card);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-lg);
  overflow: hidden;
  transition: transform var(--hc-transition), box-shadow var(--hc-transition);
}

.hc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hc-shadow-md);
}

.hc-card__image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hc-card__body {
  padding: 20px;
}

.hc-card__category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--hc-accent);
  margin-bottom: 8px;
}

.hc-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--hc-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.hc-card__title a {
  color: inherit;
}

.hc-card__title a:hover {
  color: var(--hc-accent);
}

.hc-card__excerpt {
  font-size: 14px;
  color: var(--hc-text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.hc-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--hc-text-light);
}

.hc-card__price {
  font-size: 20px;
  font-weight: 800;
  color: var(--hc-accent);
}

.hc-card__rating {
  color: var(--hc-warm);
  font-size: 14px;
}


/* ─── PRODUCT BOX (for AAWP styling) ─── */
.aawp {
  font-family: var(--hc-font-body) !important;
}

.aawp .aawp-product {
  border: 1px solid var(--hc-border) !important;
  border-radius: var(--hc-radius-lg) !important;
  padding: 24px !important;
  margin-bottom: 24px !important;
  transition: box-shadow var(--hc-transition) !important;
}

.aawp .aawp-product:hover {
  box-shadow: var(--hc-shadow-md) !important;
}

.aawp .aawp-product__title {
  font-family: var(--hc-font-heading) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: var(--hc-primary) !important;
}

.aawp .aawp-product__price {
  color: var(--hc-accent) !important;
  font-size: 24px !important;
  font-weight: 800 !important;
}

.aawp .aawp-product__price .aawp-product__price--old {
  color: var(--hc-text-light) !important;
  font-size: 16px !important;
}

/* AAWP Button */
.aawp .aawp-button,
.aawp .aawp-check-prime a {
  background: var(--hc-accent) !important;
  color: var(--hc-text-inverse) !important;
  border: none !important;
  border-radius: var(--hc-radius) !important;
  font-family: var(--hc-font-heading) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 12px 24px !important;
  transition: all var(--hc-transition) !important;
  text-transform: none !important;
}

.aawp .aawp-button:hover {
  background: var(--hc-accent-hover) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(233, 69, 96, 0.3) !important;
}

/* AAWP Comparison Table */
.aawp .aawp-table {
  border-radius: var(--hc-radius-lg) !important;
  overflow: hidden !important;
  border: 1px solid var(--hc-border) !important;
}

.aawp .aawp-table th {
  background: var(--hc-primary) !important;
  color: var(--hc-text-inverse) !important;
  font-family: var(--hc-font-heading) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 12px 16px !important;
}

.aawp .aawp-table td {
  padding: 12px 16px !important;
  font-size: 14px !important;
  border-bottom: 1px solid var(--hc-border-light) !important;
}

.aawp .aawp-table tr:nth-child(even) {
  background: var(--hc-bg-light) !important;
}

/* AAWP Stars */
.aawp .aawp-star-rating__stars {
  color: var(--hc-warm) !important;
}

/* AAWP "Nuestra elección" box */
.aawp .aawp-product--ribbon .aawp-product__ribbon {
  background: var(--hc-accent) !important;
  font-family: var(--hc-font-heading) !important;
  font-weight: 700 !important;
}

/* Prime badge */
.aawp .aawp-check-prime img {
  height: 16px !important;
}


/* ─── BADGES ─── */
.hc-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.hc-badge--trending {
  background: #FFF3E0;
  color: #E65100;
}

.hc-badge--new {
  background: var(--hc-accent-light);
  color: var(--hc-accent);
}

.hc-badge--deal {
  background: var(--hc-success-light);
  color: var(--hc-success);
}

.hc-badge--verified {
  background: #E3F2FD;
  color: #1565C0;
}

.hc-badge--bestseller {
  background: #FFF8E1;
  color: #F57F17;
}


/* ─── HOMEPAGE SECTIONS ─── */
.hc-section {
  padding: 60px 0;
}

.hc-section--alt {
  background: var(--hc-bg-light);
}

.hc-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.hc-section__title {
  font-size: 28px;
  color: var(--hc-primary);
  margin: 0;
}

.hc-section__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--hc-accent);
}

.hc-section__link:hover {
  color: var(--hc-accent-hover);
}

/* Grid layouts */
.hc-grid {
  display: grid;
  gap: 24px;
}

.hc-grid--2 { grid-template-columns: repeat(2, 1fr); }
.hc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.hc-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .hc-grid--2,
  .hc-grid--3,
  .hc-grid--4 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hc-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hc-grid--4 { grid-template-columns: repeat(2, 1fr); }
}


/* ─── "SOLUCIONA TU PROBLEMA" CARDS ─── */
.hc-problem-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--hc-bg-card);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-lg);
  transition: all var(--hc-transition);
  text-decoration: none;
}

.hc-problem-card:hover {
  border-color: var(--hc-accent);
  box-shadow: var(--hc-shadow);
  transform: translateY(-2px);
}

.hc-problem-card__icon {
  font-size: 32px;
  flex-shrink: 0;
}

.hc-problem-card__text {
  font-size: 15px;
  font-weight: 600;
  color: var(--hc-primary);
}


/* ─── CATEGORY TABS ─── */
.hc-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hc-tab {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hc-text-mid);
  background: var(--hc-bg-light);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--hc-transition);
}

.hc-tab:hover {
  color: var(--hc-accent);
  border-color: var(--hc-accent);
}

.hc-tab--active {
  background: var(--hc-accent);
  color: var(--hc-text-inverse);
}


/* ─── NEWSLETTER BAND ─── */
.hc-newsletter {
  background: var(--hc-primary);
  padding: 60px 0;
  text-align: center;
}

.hc-newsletter h2 {
  color: var(--hc-text-inverse);
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 12px;
}

.hc-newsletter p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin-bottom: 32px;
}

.hc-newsletter__form {
  display: flex;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto 16px;
}

.hc-newsletter__form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--hc-radius);
  background: rgba(255, 255, 255, 0.1);
  color: var(--hc-text-inverse);
  font-size: 15px;
  font-family: var(--hc-font-body);
  transition: border-color var(--hc-transition);
}

.hc-newsletter__form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.hc-newsletter__form input[type="email"]:focus {
  outline: none;
  border-color: var(--hc-accent);
}

.hc-newsletter__form button {
  background: var(--hc-accent);
  color: var(--hc-text-inverse);
  padding: 14px 28px;
  border: none;
  border-radius: var(--hc-radius);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--hc-transition);
}

.hc-newsletter__form button:hover {
  background: var(--hc-accent-hover);
}

.hc-newsletter__leadmagnet {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 600px) {
  .hc-newsletter__form {
    flex-direction: column;
  }
}


/* ─── ARTICLE / SINGLE POST ─── */
.single .entry-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--hc-text);
}

.single .entry-content h2 {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--hc-border-light);
}

.single .entry-content h3 {
  color: var(--hc-secondary);
}

.single .entry-content p {
  margin-bottom: 20px;
}

.single .entry-content ul,
.single .entry-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.single .entry-content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

/* Featured image */
.single .post-image {
  border-radius: var(--hc-radius-lg);
  margin-bottom: 32px;
}

/* Article meta */
.entry-meta {
  font-size: 14px;
  color: var(--hc-text-light);
  margin-bottom: 24px;
}

/* Breadcrumbs */
.rank-math-breadcrumb {
  font-size: 13px;
  color: var(--hc-text-light);
  margin-bottom: 16px;
}

.rank-math-breadcrumb a {
  color: var(--hc-text-mid);
}

.rank-math-breadcrumb a:hover {
  color: var(--hc-accent);
}


/* ─── "NUESTRA ELECCIÓN" HIGHLIGHT BOX ─── */
.hc-pick {
  border: 2px solid var(--hc-accent);
  border-radius: var(--hc-radius-lg);
  padding: 28px;
  margin: 32px 0;
  position: relative;
  background: var(--hc-bg);
}

.hc-pick::before {
  content: '★ NUESTRA ELECCIÓN';
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--hc-accent);
  color: var(--hc-text-inverse);
  padding: 4px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hc-pick__title {
  font-size: 20px;
  font-weight: 700;
  margin-top: 8px;
  color: var(--hc-primary);
}

.hc-pick__reason {
  font-size: 15px;
  color: var(--hc-text-mid);
  margin: 12px 0;
}


/* ─── PROS / CONS ─── */
.hc-pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

@media (max-width: 600px) {
  .hc-pros-cons {
    grid-template-columns: 1fr;
  }
}

.hc-pros,
.hc-cons {
  padding: 20px;
  border-radius: var(--hc-radius);
}

.hc-pros {
  background: var(--hc-success-light);
  border-left: 4px solid var(--hc-success);
}

.hc-cons {
  background: #FFF5F5;
  border-left: 4px solid #E53E3E;
}

.hc-pros h4,
.hc-cons h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hc-pros h4 { color: var(--hc-success); }
.hc-cons h4 { color: #E53E3E; }

.hc-pros li,
.hc-cons li {
  font-size: 14px;
  margin-bottom: 6px;
  list-style: none;
  padding-left: 20px;
  position: relative;
}

.hc-pros li::before { content: '✓'; position: absolute; left: 0; color: var(--hc-success); font-weight: 700; }
.hc-cons li::before { content: '✗'; position: absolute; left: 0; color: #E53E3E; font-weight: 700; }


/* ─── FAQ SECTION ─── */
.hc-faq {
  margin: 40px 0;
}

.hc-faq__item {
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  margin-bottom: 8px;
  overflow: hidden;
}

.hc-faq__question {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--hc-transition);
}

.hc-faq__question:hover {
  background: var(--hc-bg-light);
}

.hc-faq__answer {
  padding: 0 20px 16px;
  font-size: 15px;
  color: var(--hc-text-mid);
  line-height: 1.7;
}


/* ─── AFFILIATE DISCLOSURE ─── */
.hc-disclosure {
  background: var(--hc-bg-light);
  border-radius: var(--hc-radius);
  padding: 16px 20px;
  font-size: 13px;
  color: var(--hc-text-light);
  line-height: 1.6;
  margin-top: 40px;
  border-left: 3px solid var(--hc-border);
}


/* ─── SIDEBAR ─── */
.sidebar .widget {
  background: var(--hc-bg-card);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar .widget-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hc-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--hc-accent);
}


/* ─── ARCHIVE / CATEGORY PAGES ─── */
.archive .post,
.category .post,
.search-results .post {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--hc-border-light);
}

@media (max-width: 768px) {
  .archive .post,
  .category .post {
    grid-template-columns: 1fr;
  }
}

.archive .post-image img,
.category .post-image img {
  border-radius: var(--hc-radius);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Category header */
.archive-header,
.page-header {
  padding: 40px 0 32px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--hc-border);
}

.archive-title,
.page-header .page-title {
  font-size: 32px;
  color: var(--hc-primary);
}

.archive-description {
  font-size: 16px;
  color: var(--hc-text-mid);
  max-width: 600px;
}


/* ─── COMPARATIVA (VS) BOX ─── */
.hc-vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-lg);
  margin: 24px 0;
}

.hc-vs__product {
  text-align: center;
}

.hc-vs__product img {
  max-height: 160px;
  margin-bottom: 12px;
}

.hc-vs__badge {
  background: var(--hc-primary);
  color: var(--hc-text-inverse);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

@media (max-width: 600px) {
  .hc-vs {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


/* ─── FOOTER ─── */
.site-footer {
  background: var(--hc-primary) !important;
  color: rgba(255, 255, 255, 0.7) !important;
  padding: 60px 0 30px !important;
}

.site-footer .footer-widgets-container {
  margin-bottom: 40px;
}

.site-footer .widget-title {
  color: var(--hc-text-inverse) !important;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.6) !important;
  font-size: 14px;
  transition: color var(--hc-transition);
}

.site-footer a:hover {
  color: var(--hc-accent) !important;
}

.site-footer .site-info {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* Social icons in footer */
.hc-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.hc-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 18px;
  transition: all var(--hc-transition);
}

.hc-social a:hover {
  background: var(--hc-accent);
  color: var(--hc-text-inverse) !important;
  transform: translateY(-2px);
}


/* ─── STICKY MOBILE CTA ─── */
.hc-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--hc-bg);
  border-top: 1px solid var(--hc-border);
  padding: 12px 16px;
  z-index: 999;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .single .hc-sticky-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.hc-sticky-cta__info {
  flex: 1;
}

.hc-sticky-cta__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--hc-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.hc-sticky-cta__price {
  font-size: 16px;
  font-weight: 800;
  color: var(--hc-accent);
}

.hc-sticky-cta .hc-btn {
  padding: 10px 20px;
  font-size: 13px;
}


/* ─── SCROLL PROGRESS BAR ─── */
.hc-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--hc-accent);
  z-index: 9999;
  transition: width 0.1s linear;
}


/* ─── TABLE OF CONTENTS (Articles) ─── */
.hc-toc {
  background: var(--hc-bg-light);
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius-lg);
  padding: 24px;
  margin: 24px 0 32px;
}

.hc-toc__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--hc-primary);
}

.hc-toc ol {
  counter-reset: toc;
  list-style: none;
  padding: 0;
}

.hc-toc li {
  counter-increment: toc;
  margin-bottom: 6px;
}

.hc-toc li::before {
  content: counter(toc) '.';
  font-weight: 700;
  color: var(--hc-accent);
  margin-right: 8px;
}

.hc-toc a {
  color: var(--hc-text-mid);
  font-size: 14px;
}

.hc-toc a:hover {
  color: var(--hc-accent);
}


/* ─── PAGINATION ─── */
.pagination {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--hc-radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--hc-text-mid);
  background: var(--hc-bg-light);
  transition: all var(--hc-transition);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--hc-accent);
  color: var(--hc-text-inverse);
}


/* ─── SEARCH ─── */
.search-form {
  display: flex;
  gap: 8px;
}

.search-form .search-field {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  font-size: 15px;
  font-family: var(--hc-font-body);
  transition: border-color var(--hc-transition);
}

.search-form .search-field:focus {
  outline: none;
  border-color: var(--hc-accent);
}


/* ─── FORMS / COMMENTS ─── */
.comment-form input,
.comment-form textarea {
  border: 1px solid var(--hc-border);
  border-radius: var(--hc-radius);
  padding: 12px 16px;
  font-family: var(--hc-font-body);
  font-size: 15px;
  transition: border-color var(--hc-transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--hc-accent);
}


/* ─── UTILITY CLASSES ─── */
.hc-container {
  max-width: var(--hc-container);
  margin: 0 auto;
  padding: 0 20px;
}

.hc-text-accent { color: var(--hc-accent); }
.hc-text-success { color: var(--hc-success); }
.hc-text-warm { color: var(--hc-warm); }
.hc-text-light { color: var(--hc-text-light); }
.hc-text-center { text-align: center; }
.hc-mt-0 { margin-top: 0; }
.hc-mb-0 { margin-bottom: 0; }
.hc-mb-sm { margin-bottom: 8px; }
.hc-mb-md { margin-bottom: 16px; }
.hc-mb-lg { margin-bottom: 32px; }
.hc-mb-xl { margin-bottom: 48px; }


/* ─── LOADING SKELETON ─── */
.hc-skeleton {
  background: linear-gradient(90deg, var(--hc-bg-light) 25%, var(--hc-border-light) 50%, var(--hc-bg-light) 75%);
  background-size: 200% 100%;
  animation: hc-shimmer 1.5s infinite;
  border-radius: var(--hc-radius);
}

@keyframes hc-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}


/* ─── PRINT STYLES ─── */
@media print {
  .site-header,
  .site-footer,
  .hc-sticky-cta,
  .hc-newsletter,
  .sidebar {
    display: none !important;
  }

  .single .entry-content {
    font-size: 12pt;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #666;
  }
}


/* ===========================
   CATEGORY CARDS FIX
   =========================== */
.hc-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 15px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.hc-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-color: var(--hc-accent, #E94560);
}

.hc-category-card__icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 8px;
}

.hc-category-card__name {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--hc-primary, #1A1A2E);
  margin-bottom: 4px;
}

.hc-category-card__desc {
  display: block;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

.hc-categories-grid .wp-block-group__inner-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .hc-categories-grid .wp-block-group__inner-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .hc-categories-grid .wp-block-group__inner-container {
    grid-template-columns: 1fr;
  }
}


/* ===== ANIMATIONS & TRANSITIONS ===== */

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Scroll-triggered animation classes */
.hc-animate {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hc-animate.hc-visible {
  opacity: 1;
}

.hc-fade-up {
  transform: translateY(30px);
}
.hc-fade-up.hc-visible {
  transform: translateY(0);
}

.hc-fade-left {
  transform: translateX(-30px);
}
.hc-fade-left.hc-visible {
  transform: translateX(0);
}

.hc-fade-right {
  transform: translateX(30px);
}
.hc-fade-right.hc-visible {
  transform: translateX(0);
}

/* Stagger children animation */
.hc-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hc-stagger.hc-visible > *:nth-child(1) { transition-delay: 0.1s; }
.hc-stagger.hc-visible > *:nth-child(2) { transition-delay: 0.2s; }
.hc-stagger.hc-visible > *:nth-child(3) { transition-delay: 0.3s; }
.hc-stagger.hc-visible > *:nth-child(4) { transition-delay: 0.4s; }
.hc-stagger.hc-visible > *:nth-child(5) { transition-delay: 0.5s; }
.hc-stagger.hc-visible > * {
  opacity: 0;
  transform: translateY(20px);
}
.hc-stagger.hc-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* Hero section animations */
.hc-hero {
  animation: fadeIn 1s ease-out;
}

.hc-hero h1,
.hc-hero .wp-block-heading {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hc-hero p {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hc-hero .wp-block-button {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Card & element hover effects */
.hc-trust-card,
.hc-category-card,
.wp-block-column,
article.type-post {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hc-trust-card:hover,
.hc-category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.wp-block-column:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

article.type-post {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
article.type-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Button animations */
.wp-block-button__link,
.hc-btn,
a.wp-block-button__link {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.wp-block-button__link:hover,
.hc-btn:hover,
a.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.35);
}

.wp-block-button__link:active,
.hc-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(233, 69, 96, 0.2);
}

/* Image hover zoom */
article .post-image img,
article .wp-post-image,
.attachment-post-thumbnail {
  transition: transform 0.4s ease;
}

article:hover .post-image img,
article:hover .wp-post-image,
article:hover .attachment-post-thumbnail {
  transform: scale(1.05);
}

article .post-image,
article .entry-image-link {
  overflow: hidden;
  border-radius: 8px;
}

/* Link hover animations */
.entry-content a:not(.wp-block-button__link) {
  transition: color 0.25s ease, border-bottom-color 0.25s ease;
  border-bottom: 2px solid transparent;
}

.entry-content a:not(.wp-block-button__link):hover {
  color: var(--hc-accent, #E94560);
  border-bottom-color: var(--hc-accent, #E94560);
}

/* Navigation link underline animation */
.main-navigation a,
#site-navigation a {
  position: relative;
}

.main-navigation a::after,
#site-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--hc-accent, #E94560);
  transition: width 0.3s ease, left 0.3s ease;
}

.main-navigation a:hover::after,
#site-navigation a:hover::after {
  width: 100%;
  left: 0;
}

/* Widget & sidebar animations */
.widget {
  transition: transform 0.3s ease;
}

.sidebar .widget:hover {
  transform: translateX(4px);
}

/* Newsletter section pulse on hover */
.hc-newsletter:hover {
  box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.2), 0 8px 30px rgba(0, 0, 0, 0.1);
}

.hc-newsletter {
  transition: box-shadow 0.4s ease;
}

/* Footer link animations */
.footer-widgets a {
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-widgets a:hover {
  padding-left: 6px;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Loading shimmer for placeholder elements */
.hc-shimmer {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

/* Floating icon animation (for trust/feature icons) */
.hc-trust-card .hc-icon,
.hc-trust-card .dashicons,
.hc-trust-card svg {
  transition: transform 0.3s ease;
}

.hc-trust-card:hover .hc-icon,
.hc-trust-card:hover .dashicons,
.hc-trust-card:hover svg {
  animation: float 2s ease-in-out infinite;
}

/* Section divider line animation */
.hc-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--hc-accent, #E94560);
  margin: 12px auto 0;
  transition: width 0.4s ease;
  border-radius: 2px;
}

.hc-section-title:hover::after {
  width: 120px;
}

/* Page transition fade */
.site-content {
  animation: fadeIn 0.5s ease-out;
}

/* Featured image entrance */
.featured-image,
.post-thumbnail {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hc-animate {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   HabbiConect 2026 — rediseño "revista de hogar"
   Añadido al final de la hoja del tema hijo; tiene prioridad sobre lo anterior.
   ========================================================================== */
:root{
  --hm-cream:#faf6ef;--hm-paper:#fffdf8;--hm-sand:#efe6d6;--hm-line:#e7dccb;
  --hm-ink:#2b2a26;--hm-muted:#6f6a60;--hm-sage:#5f7f66;--hm-sage-d:#3f5a46;--hm-forest:#26352b;
  --hm-terra:#b8643a;--hm-terra-d:#9a4f2a;--hm-shadow:0 1px 2px rgba(60,45,20,.05),0 14px 36px rgba(60,45,20,.08);
  --hm-serif:"Fraunces",Georgia,"Times New Roman",serif;--hm-sans:"DM Sans",Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
}
html{overflow-x:clip}
body{background:var(--hm-cream)!important;color:var(--hm-ink);font-family:var(--hm-sans)!important;font-size:17px;line-height:1.7;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,.entry-title,.main-title,.hc-hero__title,.hc-section__title{font-family:var(--hm-serif)!important;color:var(--hm-forest);letter-spacing:-.01em;font-weight:600}
a{color:var(--hm-terra)}
a:hover{color:var(--hm-terra-d)}
.hc-animate,.hc-fade-left,.hc-fade-right,[class*="hc-fade"]{opacity:1!important;transform:none!important}
.site-header{background:var(--hm-paper)!important;border-bottom:1px solid var(--hm-line)!important;box-shadow:none!important}
.site-header:before{content:"Guías y comparativas para el hogar · Cocina · Jardín · Mascotas";display:block;text-align:center;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--hm-muted);background:var(--hm-sand);padding:8px 16px}
.inside-header{padding-top:22px!important;padding-bottom:22px!important}
.site-logo{display:none!important}
.main-title,.main-title a{font-family:var(--hm-serif)!important;font-size:34px!important;font-weight:700!important;color:var(--hm-forest)!important;letter-spacing:-.02em}
.main-title a:after{content:".";color:var(--hm-terra)}
.main-navigation,.main-navigation ul ul{background:transparent!important}
.main-navigation .main-nav ul li a{font-family:var(--hm-sans);font-size:13px!important;font-weight:600!important;letter-spacing:.1em;text-transform:uppercase;color:var(--hm-ink)!important;padding-left:14px!important;padding-right:14px!important;background:transparent!important}
.main-navigation .main-nav ul li a:hover,.main-navigation .main-nav ul li.current-menu-item>a,.main-navigation .main-nav ul li[class*="current-menu-"]>a{color:var(--hm-terra)!important;background:transparent!important;box-shadow:inset 0 -2px 0 var(--hm-terra)}
.menu-toggle{color:var(--hm-forest)!important;background:transparent!important}
.site-content{padding-top:34px}
.separate-containers .inside-article,.one-container .container,.separate-containers .comments-area,.separate-containers .page-header,.inside-page-header{background:var(--hm-paper)!important;border:1px solid var(--hm-line);border-radius:20px;box-shadow:var(--hm-shadow)}
.sidebar .widget{background:var(--hm-paper)!important;border:1px solid var(--hm-line)!important;border-radius:18px!important;box-shadow:none!important}
.sidebar .widget h2,.sidebar .widget h3{font-size:20px;border-bottom:1px solid var(--hm-line);padding-bottom:10px}
.sidebar .widget a{color:var(--hm-ink)}
.sidebar .widget a:hover{color:var(--hm-terra)}
.wp-block-search__button{background:var(--hm-forest)!important;color:#fff!important;border-radius:10px!important;border:0!important}
.wp-block-search__input{background:#fff!important;border:1px solid var(--hm-line)!important;border-radius:10px!important}
.home #right-sidebar,.home .is-right-sidebar{display:none!important}
.home .content-area{width:100%!important}
.home .inside-article{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.home .entry-header,.home .page-header{display:none}
.hm-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center;background:var(--hm-paper);border:1px solid var(--hm-line);border-radius:28px;padding:56px;box-shadow:var(--hm-shadow);position:relative;overflow:hidden}
.hm-hero:after{content:"";position:absolute;right:-120px;top:-120px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(95,127,102,.18),transparent 70%);pointer-events:none}
.hm-kicker{display:inline-block;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--hm-sage-d);font-weight:700;margin-bottom:14px}
.hm-hero h1{font-size:clamp(38px,5vw,62px);line-height:1.05;margin:0 0 18px;font-weight:600}
.hm-hero h1 em{font-style:italic;color:var(--hm-terra)}
.hm-hero p{font-size:19px;color:var(--hm-muted);margin:0 0 26px;max-width:540px}
.hm-actions{display:flex;gap:12px;flex-wrap:wrap}
.hm-btn{display:inline-flex;align-items:center;min-height:48px;padding:0 22px;border-radius:999px;font-weight:700;font-size:15px;text-decoration:none!important;transition:transform .2s,background .2s}
.hm-btn:hover{transform:translateY(-2px)}
.hm-btn--dark{background:var(--hm-forest);color:#fff!important}
.hm-btn--dark:hover{background:var(--hm-sage-d);color:#fff!important}
.hm-btn--line{border:1px solid var(--hm-forest);color:var(--hm-forest)!important}
.hm-hero-card{background:var(--hm-forest);color:#f3efe6;border-radius:22px;padding:30px;position:relative;z-index:1}
.hm-hero-card small{letter-spacing:.14em;text-transform:uppercase;font-size:11px;color:#c9d6c9}
.hm-hero-card h2{color:#fff!important;font-size:26px;margin:10px 0 12px;line-height:1.2}
.hm-hero-card p{font-size:15px;color:#d8ded6;margin:0 0 18px}
.entry-content .hm-hero-card a{text-decoration:none!important;color:#f2c9a8!important;font-weight:700}
.hm-section{margin:64px 0 0}
.hm-head{display:flex;justify-content:space-between;align-items:end;gap:20px;border-bottom:2px solid var(--hm-forest);padding-bottom:12px;margin-bottom:26px}
.hm-head h2{font-size:clamp(28px,3.4vw,38px);margin:0}
.hm-head a{font-size:13px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--hm-terra);text-decoration:none;white-space:nowrap}
.hm-cats{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}
.hm-cat{background:var(--hm-paper);border:1px solid var(--hm-line);border-radius:18px;padding:22px 16px;text-align:center;text-decoration:none!important;color:var(--hm-ink)!important;transition:transform .2s,box-shadow .2s,border-color .2s}
.hm-cat:hover{transform:translateY(-4px);box-shadow:var(--hm-shadow);border-color:var(--hm-sage)}
.hm-cat span{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 12px;border-radius:50%;background:var(--hm-sand);font-size:26px}
.hm-cat strong{display:block;font-family:var(--hm-serif);font-size:18px;color:var(--hm-forest);font-weight:600}
.hm-cat small{color:var(--hm-muted);font-size:13px}
.hm-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.hm-trust div{background:var(--hm-paper);border:1px solid var(--hm-line);border-radius:18px;padding:26px}
.hm-trust h3{font-size:21px;margin:0 0 8px}
.hm-trust p{margin:0;color:var(--hm-muted);font-size:15.5px}
.hm-trust b{display:block;font-family:var(--hm-serif);font-size:34px;color:var(--hm-terra);line-height:1;margin-bottom:10px}
.hm-news{background:var(--hm-forest);color:#fff;border-radius:26px;padding:44px;display:flex;justify-content:space-between;align-items:center;gap:28px}
.hm-news h2{color:#fff!important;margin:0 0 6px;font-size:32px}
.hm-news p{color:#d8ded6;margin:0}
.hm-news .hm-btn{background:var(--hm-terra);color:#fff!important}
.wp-block-latest-posts.is-grid{display:grid!important;grid-template-columns:repeat(3,1fr);gap:22px;margin:0!important;padding:0!important}
.wp-block-latest-posts.is-grid li{width:auto!important;margin:0!important;background:var(--hm-paper);border:1px solid var(--hm-line);border-radius:18px;padding:0 0 22px;overflow:hidden;box-shadow:var(--hm-shadow);display:flex;flex-direction:column;transition:transform .2s}
.wp-block-latest-posts.is-grid li:hover{transform:translateY(-4px)}
.wp-block-latest-posts.is-grid li:before{content:"";display:block;height:8px;background:linear-gradient(90deg,var(--hm-sage),var(--hm-terra))}
.wp-block-latest-posts__featured-image{margin:0!important}
.wp-block-latest-posts__featured-image img{width:100%;aspect-ratio:16/10;object-fit:cover}
.wp-block-latest-posts__post-title{display:block;font-family:var(--hm-serif);font-size:21px;line-height:1.25;color:var(--hm-forest)!important;text-decoration:none!important;padding:20px 22px 6px;font-weight:600}
.wp-block-latest-posts__post-title:hover{color:var(--hm-terra)!important}
.wp-block-latest-posts__post-date{display:block;padding:0 22px;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:var(--hm-sage-d)}
.wp-block-latest-posts__post-excerpt{padding:10px 22px 0;color:var(--hm-muted);font-size:15px;margin:0!important}
.single .inside-article,.page .inside-article{padding:48px 56px!important}
.entry-header .entry-title{font-size:clamp(32px,4.2vw,50px)!important;line-height:1.1;font-weight:600}
.entry-meta{font-size:13px;letter-spacing:.06em;text-transform:uppercase;color:var(--hm-muted)!important}
.entry-meta a{color:var(--hm-sage-d)!important}
.entry-content{font-size:18px;line-height:1.8}
.entry-content>p:first-of-type{font-size:20px;color:#45423b}
.single .entry-content>p:first-of-type:first-letter{font-family:var(--hm-serif);float:left;font-size:64px;line-height:.9;padding:6px 10px 0 0;color:var(--hm-terra);font-weight:700}
.single .entry-content>h2{font-size:32px;margin-top:2em;padding-top:.5em;border-top:1px solid var(--hm-line)}
.entry-content h3{font-size:24px;margin-top:1.6em}
.entry-content a:not([class]){color:var(--hm-terra)!important;text-decoration:underline;text-decoration-color:rgba(184,100,58,.35);text-underline-offset:3px}
.entry-content ul li::marker{color:var(--hm-sage)}
.entry-content blockquote{border-left:4px solid var(--hm-terra);background:var(--hm-sand);border-radius:0 14px 14px 0;padding:18px 22px;font-style:normal}
.entry-content blockquote *{font-style:normal}
.entry-content table{border-collapse:collapse;width:100%;background:#fff;border:1px solid var(--hm-line);border-radius:14px;overflow:hidden;font-size:15.5px;display:block;overflow-x:auto}
.entry-content th{background:var(--hm-forest)!important;color:#fff!important;font-family:var(--hm-sans);text-align:left}
.entry-content th,.entry-content td{padding:12px 14px!important;border:1px solid var(--hm-line)!important}
.entry-content tr:nth-child(even) td{background:#fbf8f2}
.entry-content .wp-block-group,.hc-disclosure{background:var(--hm-sand)!important;border:0!important;border-radius:16px!important;color:var(--hm-ink)}
.hc-btn--amazon,.hc-btn--primary,.wp-block-button__link{background:var(--hm-forest)!important;color:#fff!important;border-radius:999px!important;border:0!important;box-shadow:none!important}
.hc-btn--amazon:hover,.hc-btn--primary:hover,.wp-block-button__link:hover{background:var(--hm-terra)!important}
.hc-btn--secondary{border-color:var(--hm-forest)!important;color:var(--hm-forest)!important;background:transparent!important;border-radius:999px!important}
.hc-pros{border-left:4px solid var(--hm-sage)!important}
.hc-cons{border-left:4px solid var(--hm-terra)!important}
.rank-math-breadcrumb,.rank-math-breadcrumb a{font-size:13px;color:var(--hm-muted)!important}
.author-box,.hc-author{background:var(--hm-sand)!important;border-radius:16px}
.archive .inside-article,.blog .inside-article,.search .inside-article{border-radius:18px!important}
.archive .entry-title,.blog .entry-title{font-size:26px!important}
.page-header h1,.archive-title{font-size:44px!important}
.site-footer,.footer-widgets,.site-info{background:var(--hm-forest)!important;color:#d8ded6!important}
.footer-widgets h2,.footer-widgets h3{color:#fff!important;font-family:var(--hm-serif)!important}
.footer-widgets p{color:#c9d2c8!important}
.footer-widgets a,.site-footer a{color:#f2c9a8!important;text-decoration:none}
.footer-widgets a:hover,.site-footer a:hover{color:#fff!important}
.site-info{border-top:1px solid rgba(255,255,255,.1)}
@media(max-width:900px){
  .hm-hero{grid-template-columns:1fr;padding:34px 24px;gap:28px}
  .hm-cats{grid-template-columns:repeat(3,1fr)}
  .hm-trust,.wp-block-latest-posts.is-grid{grid-template-columns:1fr}
  .hm-news{flex-direction:column;align-items:flex-start;padding:32px 24px}
  .single .inside-article,.page .inside-article{padding:28px 22px!important}
}
@media(max-width:600px){
  .main-title,.main-title a{font-size:26px!important}
  .site-header:before{font-size:10px;letter-spacing:.1em}
  .hm-cats{grid-template-columns:repeat(2,1fr)}
  .hm-head{flex-direction:column;align-items:flex-start}
  .entry-content{font-size:17px}
  .single .entry-content>p:first-of-type:first-letter{font-size:52px}
}

/* Ajustes de archivos y metadatos */
.archive .page-header,.archive .inside-page-header,.category .page-header{padding:32px 36px!important;margin-bottom:24px}
.archive .inside-article,.search .inside-article,.blog .inside-article{padding:28px 32px!important}
.entry-meta .byline,.entry-meta .author{margin-left:.35em}
@media(max-width:600px){.archive .page-header,.archive .inside-page-header,.category .page-header{padding:24px 20px!important}.archive .inside-article,.search .inside-article,.blog .inside-article{padding:22px 20px!important}.page-header h1,.archive-title{font-size:34px!important}}
