/* =========================
   RECALCULAR UX v1.1
   Identidad visual + directorios + tarjetas
========================= */

:root {
  --rc-site-bg: #FBFAF7;
  --rc-paper: #FFFFFF;
  --rc-paper-soft: #F7F4EE;
  --rc-sand: #F1E4CC;
  --rc-sand-2: #F8F0E2;
  --rc-ink: #172522;
  --rc-ink-2: #2F3B38;
  --rc-muted: #66716D;
  --rc-line: #E5DED3;
  --rc-line-strong: #D5CABB;
  --rc-teal: #0D5B65;
  --rc-teal-2: #0F5C55;
  --rc-teal-dark: #0A3440;
  --rc-mint: #E4F0EB;
  --rc-blue-soft: #E6F0F5;
  --rc-shadow: 0 16px 42px rgba(18, 49, 45, .07);
  --rc-shadow-soft: 0 8px 24px rgba(18, 49, 45, .05);
  --rc-radius: 20px;
}

body {
  background: var(--rc-site-bg);
}

.site-header,
header.site-header {
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--rc-line);
  box-shadow: 0 1px 0 rgba(16,47,44,.02);
}

.site-title a,
.logo a,
.site-logo a {
  color: var(--rc-teal-dark) !important;
}

.the-content,
.entry-content {
  color: var(--rc-ink-2);
}

.the-content a,
.entry-content a {
  text-underline-offset: 3px;
}

.the-content > p:first-child,
.entry-content > p:first-child {
  color: var(--rc-muted);
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.7;
}

/* =========================
   HERO EDITORIAL REUTILIZABLE
========================= */

.rc-page-hero,
.rc-home-hero,
.rc-dir-hero {
  max-width: 1120px;
  margin: clamp(22px, 4vw, 42px) auto clamp(24px, 4vw, 46px);
}

.rc-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .72fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.rc-page-hero__content,
.rc-home-hero__content {
  min-width: 0;
}

.rc-home-kicker,
.rc-hero-kicker {
  align-items: center;
  background: var(--rc-sand-2);
  border: 1px solid #EFE0C5;
  border-radius: 999px;
  color: #71572E;
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  gap: 8px;
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 18px;
  padding: 9px 13px;
  text-transform: none;
}

.rc-home-kicker::before,
.rc-hero-kicker::before {
  content: "★";
  color: #8E6D32;
  font-size: 12px;
}

.rc-page-hero h1,
.rc-home-hero h1,
.rc-dir-hero h1 {
  color: var(--rc-ink);
  font-size: clamp(42px, 6.4vw, 72px);
  letter-spacing: -.055em;
  line-height: .97;
  margin: 0 0 18px;
  max-width: 760px;
}

.rc-home-intro,
.rc-dir-intro,
.rc-page-hero p:not(.rc-home-kicker):not(.rc-hero-kicker) {
  color: var(--rc-muted);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.7;
  margin: 0;
  max-width: 680px;
}

.rc-search-bar {
  align-items: stretch;
  background: var(--rc-paper);
  border: 1px solid var(--rc-line);
  border-radius: 14px;
  box-shadow: var(--rc-shadow-soft);
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  margin-top: 26px;
  max-width: 660px;
  overflow: hidden;
}

.rc-search-bar::before {
  align-items: center;
  color: var(--rc-muted);
  content: "⌕";
  display: flex;
  font-size: 23px;
  justify-content: center;
}

.rc-search-bar input {
  background: transparent;
  border: 0;
  color: var(--rc-ink);
  font: inherit;
  min-height: 54px;
  outline: 0;
  padding: 0 12px;
  width: 100%;
}

.rc-search-bar button,
.rc-button-primary {
  background: var(--rc-teal);
  border: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0 26px;
  transition: background .16s ease, transform .16s ease;
}

.rc-search-bar button:hover,
.rc-button-primary:hover {
  background: var(--rc-teal-dark);
}

.rc-topic-chips {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.rc-topic-chips span,
.rc-topic-chips a {
  background: #fff;
  border: 1px solid var(--rc-line);
  border-radius: 999px;
  color: var(--rc-ink-2);
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  padding: 8px 11px;
  text-decoration: none;
}

.rc-topic-chips strong {
  color: var(--rc-muted);
  font-size: 13px;
  margin-right: 4px;
}

.rc-hero-visual {
  align-items: center;
  aspect-ratio: 1.12;
  background:
    radial-gradient(circle at 58% 46%, #F4EAD7 0 42%, transparent 43%),
    radial-gradient(circle at 78% 22%, var(--rc-mint) 0 11%, transparent 12%);
  display: flex;
  justify-content: center;
  min-height: 280px;
  position: relative;
}

.rc-hero-calculator {
  background: #F4EFE7;
  border: 3px solid var(--rc-ink);
  border-radius: 20px;
  box-shadow: 16px 18px 0 rgba(12, 52, 64, .06);
  height: 230px;
  padding: 18px;
  position: relative;
  width: 190px;
  z-index: 2;
}

.rc-hero-calculator::before {
  background: linear-gradient(180deg, #8DB2B5, #759CA0);
  border: 3px solid var(--rc-ink);
  border-radius: 8px;
  content: "";
  display: block;
  height: 42px;
  margin-bottom: 16px;
}

.rc-hero-calculator::after {
  background:
    radial-gradient(circle, var(--rc-ink) 0 54%, transparent 56%) 0 0 / 44px 44px,
    radial-gradient(circle, var(--rc-ink) 0 54%, transparent 56%) 58px 0 / 44px 44px,
    radial-gradient(circle, var(--rc-ink) 0 54%, transparent 56%) 116px 0 / 44px 44px,
    radial-gradient(circle, var(--rc-ink) 0 54%, transparent 56%) 0 58px / 44px 44px,
    radial-gradient(circle, var(--rc-ink) 0 54%, transparent 56%) 58px 58px / 44px 44px,
    linear-gradient(var(--rc-teal), var(--rc-teal)) 116px 58px / 44px 102px no-repeat;
  content: "";
  display: block;
  height: 160px;
}

.rc-hero-visual::before {
  background:
    linear-gradient(var(--rc-teal), var(--rc-teal)) 0 42px / 28px 85px no-repeat,
    linear-gradient(#C7C9C6,#C7C9C6) 46px 18px / 28px 109px no-repeat,
    linear-gradient(#D8C8A5,#D8C8A5) 92px 0 / 28px 127px no-repeat;
  bottom: 36px;
  content: "";
  height: 130px;
  position: absolute;
  right: 18px;
  width: 125px;
}

.rc-hero-visual::after {
  background: conic-gradient(var(--rc-teal-dark) 0 68%, #EAD3A7 68% 100%);
  border-radius: 999px;
  content: "";
  height: 88px;
  position: absolute;
  right: 84px;
  top: 20px;
  width: 88px;
}

/* =========================
   SECCIONES Y TARJETAS
========================= */

.rc-home-section,
.rc-dir-section,
.rc-home-note,
.rc-home-faq {
  max-width: 1120px;
  margin: clamp(28px, 4vw, 44px) auto;
}

.rc-section-head {
  align-items: end;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0 0 18px;
}

.rc-section-head h2,
.rc-home-section h2,
.rc-dir-section h2,
.rc-home-note h2 {
  color: var(--rc-ink);
  font-size: clamp(24px, 3vw, 32px);
  letter-spacing: -.035em;
  line-height: 1.12;
  margin: 0;
}

.rc-section-link {
  color: var(--rc-teal);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.rc-card-grid,
.rc-home-grid,
.rc-dir-grid,
.rc-dir-list {
  display: grid !important;
  gap: 16px !important;
}

.rc-card-grid--featured,
.rc-home-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.rc-card-grid--categories,
.rc-dir-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.rc-card-grid--tools,
.rc-dir-list {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.rc-tool-card,
.rc-category-card,
.rc-home-card,
.rc-dir-card {
  background: var(--rc-paper) !important;
  border: 1px solid var(--rc-line) !important;
  border-radius: var(--rc-radius) !important;
  box-shadow: 0 1px 0 rgba(18,49,45,.02) !important;
  color: var(--rc-ink-2) !important;
  display: flex !important;
  min-height: 168px;
  padding: 22px !important;
  position: relative;
  text-decoration: none !important;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}

.rc-tool-card {
  align-items: flex-start;
  gap: 18px;
}

.rc-category-card,
.rc-dir-card {
  flex-direction: column;
  gap: 10px;
}

.rc-tool-card:hover,
.rc-category-card:hover,
.rc-home-card:hover,
.rc-dir-card:hover {
  border-color: #BFD4CD !important;
  box-shadow: var(--rc-shadow-soft) !important;
  color: var(--rc-ink-2) !important;
  transform: translateY(-2px) !important;
}

.rc-card-icon {
  align-items: center;
  background: var(--rc-mint);
  border-radius: 999px;
  color: var(--rc-teal-dark);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 25px;
  font-weight: 900;
  height: 64px;
  justify-content: center;
  letter-spacing: -.04em;
  line-height: 1;
  width: 64px;
}

.rc-category-card:nth-child(2n) .rc-card-icon,
.rc-tool-card:nth-child(2n) .rc-card-icon { background: var(--rc-sand-2); }
.rc-category-card:nth-child(3n) .rc-card-icon,
.rc-tool-card:nth-child(3n) .rc-card-icon { background: var(--rc-blue-soft); }

.rc-tool-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.rc-tool-card strong,
.rc-category-card strong,
.rc-dir-card strong {
  color: var(--rc-ink);
  display: block;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -.02em;
  line-height: 1.22;
}

.rc-tool-card small,
.rc-category-card small,
.rc-dir-card small,
.rc-home-card p,
.rc-dir-card p {
  color: var(--rc-muted);
  display: block;
  font-size: 14.5px;
  line-height: 1.52;
  margin: 0;
}

.rc-tool-card em,
.rc-category-card em,
.rc-card-footer em {
  color: var(--rc-teal);
  display: block;
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
  margin-top: auto;
}

.rc-dir-label {
  color: var(--rc-teal);
  display: block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.rc-card-footer {
  align-items: center;
  border-top: 1px solid var(--rc-line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  width: 100%;
}

.rc-card-footer span {
  color: var(--rc-muted);
  font-size: 13px;
  font-weight: 700;
}

.rc-home-note {
  background: var(--rc-sand-2);
  border: 1px solid #E8D8BB;
  border-radius: 22px;
  color: #4E412D;
  padding: clamp(22px, 3vw, 30px);
}

/* Evita residuos del CSS anterior en tarjetas nuevas */
.rc-home-card::after,
.rc-dir-card::after,
.rc-home-card h3 a::after,
.rc-dir-card h3 a::after,
.rc-dir-list a::before,
.rc-dir-list a::after {
  content: none !important;
  display: none !important;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .rc-card-grid--featured,
  .rc-home-grid,
  .rc-card-grid--tools,
  .rc-dir-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .rc-card-grid--categories,
  .rc-dir-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 780px) {
  .rc-page-hero {
    grid-template-columns: 1fr;
  }

  .rc-hero-visual {
    display: none;
  }

  .rc-section-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .rc-page-hero h1,
  .rc-home-hero h1,
  .rc-dir-hero h1 {
    font-size: 42px;
  }

  .rc-search-bar {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .rc-search-bar button {
    grid-column: 1 / -1;
    min-height: 48px;
    width: 100%;
  }

  .rc-card-grid--featured,
  .rc-home-grid,
  .rc-card-grid--tools,
  .rc-dir-list,
  .rc-card-grid--categories,
  .rc-dir-grid {
    grid-template-columns: 1fr !important;
  }

  .rc-tool-card,
  .rc-category-card,
  .rc-home-card,
  .rc-dir-card {
    min-height: auto;
    padding: 18px !important;
  }

  .rc-card-icon {
    height: 54px;
    width: 54px;
    font-size: 22px;
  }
}

/* =========================
   RECALCULAR UX v1.1.1
   Correcciones de instalación real: título duplicado, buscador y tarjetas
========================= */

body.recalcular-has-custom-hero .entry-header,
body.recalcular-has-custom-hero .page-header,
body.recalcular-has-custom-hero h1.entry-title,
body.recalcular-has-custom-hero .entry-title,
body.recalcular-has-custom-hero .page-title,
body.recalcular-has-custom-hero .post-title,
body.recalcular-has-custom-hero .article-title,
body.recalcular-has-custom-hero .single-title {
  display: none !important;
}

body.recalcular-has-custom-hero .the-content,
body.recalcular-has-custom-hero .entry-content {
  margin-top: 0 !important;
}

/* Buscador: evita que el botón se parta en letras verticales por estilos del tema padre */
body .the-content .rc-search-bar,
body .entry-content .rc-search-bar,
.rc-search-bar {
  align-items: stretch !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  max-width: 660px !important;
  min-height: 56px !important;
}

body .the-content .rc-search-bar::before,
body .entry-content .rc-search-bar::before,
.rc-search-bar::before {
  flex: 0 0 42px !important;
  min-width: 42px !important;
}

body .the-content .rc-search-bar p,
body .entry-content .rc-search-bar p,
.rc-search-bar p {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

body .the-content .rc-search-bar br,
body .entry-content .rc-search-bar br,
.rc-search-bar br {
  display: none !important;
}

body .the-content .rc-search-bar input,
body .entry-content .rc-search-bar input,
.rc-search-bar input {
  border: 0 !important;
  box-shadow: none !important;
  flex: 1 1 auto !important;
  min-height: 56px !important;
  min-width: 0 !important;
}

body .the-content .rc-search-bar button,
body .entry-content .rc-search-bar button,
.rc-search-bar button {
  align-items: center !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-height: 56px !important;
  min-width: 118px !important;
  padding: 0 24px !important;
  text-align: center !important;
  text-orientation: mixed !important;
  white-space: nowrap !important;
  width: auto !important;
  writing-mode: horizontal-tb !important;
}

/* Hero más consistente con el mockup y menos pegado al título del tema */
body .the-content .rc-page-hero,
body .entry-content .rc-page-hero,
.rc-page-hero {
  margin-top: clamp(18px, 3vw, 34px) !important;
}

body .the-content .rc-page-hero h1,
body .entry-content .rc-page-hero h1,
.rc-page-hero h1 {
  max-width: 640px !important;
}

/* Tarjetas: mantiene el layout legible aunque siga activo el CSS adicional anterior */
body .the-content .rc-card-grid,
body .entry-content .rc-card-grid,
body .the-content .rc-home-grid,
body .entry-content .rc-home-grid,
body .the-content .rc-dir-grid,
body .entry-content .rc-dir-grid,
body .the-content .rc-dir-list,
body .entry-content .rc-dir-list {
  gap: 18px !important;
}

body .the-content .rc-tool-card,
body .entry-content .rc-tool-card {
  min-height: 156px !important;
}

body .the-content .rc-category-card,
body .entry-content .rc-category-card,
body .the-content .rc-dir-card,
body .entry-content .rc-dir-card {
  min-height: 214px !important;
}

body .the-content .rc-card-footer,
body .entry-content .rc-card-footer {
  align-items: center !important;
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 10px !important;
  justify-content: space-between !important;
}

body .the-content .rc-card-footer em,
body .entry-content .rc-card-footer em,
body .the-content .rc-category-card em,
body .entry-content .rc-category-card em,
body .the-content .rc-tool-card em,
body .entry-content .rc-tool-card em {
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

body .the-content .rc-card-footer span,
body .entry-content .rc-card-footer span {
  min-width: 0 !important;
}

/* Anula pseudoelementos viejos del CSS adicional anterior, incluso si sigue activo */
body .the-content .rc-home-card::after,
body .entry-content .rc-home-card::after,
body .the-content .rc-dir-card::after,
body .entry-content .rc-dir-card::after,
body .the-content .rc-home-card h3 a::after,
body .entry-content .rc-home-card h3 a::after,
body .the-content .rc-dir-card h3 a::after,
body .entry-content .rc-dir-card h3 a::after,
body .the-content .rc-dir-card.rc-dir-card-tool::after,
body .entry-content .rc-dir-card.rc-dir-card-tool::after {
  content: none !important;
  display: none !important;
}

/* Guías más compactas: evita tarjetas demasiado altas y vacías */
body .the-content .rc-guides-section .rc-tool-card,
body .entry-content .rc-guides-section .rc-tool-card {
  min-height: 190px !important;
}

body .the-content .rc-guides-section .rc-card-icon,
body .entry-content .rc-guides-section .rc-card-icon {
  height: 56px !important;
  width: 56px !important;
}

@media (max-width: 1024px) {
  body .the-content .rc-card-grid--categories,
  body .entry-content .rc-card-grid--categories,
  body .the-content .rc-dir-grid,
  body .entry-content .rc-dir-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body .the-content .rc-search-bar,
  body .entry-content .rc-search-bar,
  .rc-search-bar {
    display: flex !important;
    flex-wrap: wrap !important;
  }

  body .the-content .rc-search-bar::before,
  body .entry-content .rc-search-bar::before,
  .rc-search-bar::before {
    flex: 0 0 42px !important;
  }

  body .the-content .rc-search-bar input,
  body .entry-content .rc-search-bar input,
  .rc-search-bar input {
    flex: 1 1 calc(100% - 42px) !important;
  }

  body .the-content .rc-search-bar button,
  body .entry-content .rc-search-bar button,
  .rc-search-bar button {
    flex: 1 1 100% !important;
    min-width: 100% !important;
    width: 100% !important;
  }

  body .the-content .rc-page-hero h1,
  body .entry-content .rc-page-hero h1,
  .rc-page-hero h1 {
    font-size: clamp(34px, 10.5vw, 42px) !important;
    letter-spacing: -.05em !important;
  }

  body .the-content .rc-tool-card,
  body .entry-content .rc-tool-card {
    gap: 14px !important;
    min-height: auto !important;
  }

  body .the-content .rc-category-card,
  body .entry-content .rc-category-card,
  body .the-content .rc-dir-card,
  body .entry-content .rc-dir-card {
    min-height: auto !important;
  }
}

/* Contenedores: gana al CSS adicional anterior y devuelve el ancho del nuevo diseño */
body .the-content .rc-page-hero,
body .entry-content .rc-page-hero,
body .the-content .rc-home-hero,
body .entry-content .rc-home-hero,
body .the-content .rc-dir-hero,
body .entry-content .rc-dir-hero,
body .the-content .rc-home-section,
body .entry-content .rc-home-section,
body .the-content .rc-dir-section,
body .entry-content .rc-dir-section,
body .the-content .rc-home-note,
body .entry-content .rc-home-note,
body .the-content .rc-home-faq,
body .entry-content .rc-home-faq {
  max-width: 1120px !important;
}


/* =========================
   RECALCULAR UX v1.1.2
   Ajuste real de legibilidad: título, categorías, guías y botón Subir
========================= */

body.recalcular-has-custom-hero .content h1:first-child,
body.recalcular-has-custom-hero main h1:first-child,
body.recalcular-has-custom-hero article > h1:first-child,
body.recalcular-has-custom-hero .the-content > h1:first-child,
body.recalcular-has-custom-hero .entry-content > h1:first-child {
  display: none !important;
}

body .the-content .rc-card-grid--categories,
body .entry-content .rc-card-grid--categories,
body .the-content .rc-dir-grid,
body .entry-content .rc-dir-grid,
.rc-card-grid--categories,
.rc-dir-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

body .the-content .rc-category-card,
body .entry-content .rc-category-card,
body .the-content .rc-dir-card,
body .entry-content .rc-dir-card,
.rc-category-card,
.rc-dir-card {
  min-height: 230px !important;
  overflow: hidden !important;
}

body .the-content .rc-card-footer,
body .entry-content .rc-card-footer,
.rc-card-footer {
  align-items: flex-start !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  justify-content: flex-start !important;
}

body .the-content .rc-card-footer span,
body .entry-content .rc-card-footer span,
body .the-content .rc-card-footer em,
body .entry-content .rc-card-footer em,
.rc-card-footer span,
.rc-card-footer em {
  display: block !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-wrap: normal !important;
  white-space: normal !important;
  word-break: normal !important;
  writing-mode: horizontal-tb !important;
}

body .the-content .rc-card-footer em,
body .entry-content .rc-card-footer em,
.rc-card-footer em {
  margin-top: 0 !important;
  white-space: nowrap !important;
}

body .the-content .rc-guides-section .rc-card-grid,
body .entry-content .rc-guides-section .rc-card-grid,
.rc-guides-section .rc-card-grid {
  align-items: stretch !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body .the-content .rc-guides-section .rc-tool-card,
body .entry-content .rc-guides-section .rc-tool-card,
.rc-guides-section .rc-tool-card {
  flex-direction: column !important;
  gap: 16px !important;
  min-height: 220px !important;
}

body .the-content .rc-guides-section .rc-tool-card__body,
body .entry-content .rc-guides-section .rc-tool-card__body,
.rc-guides-section .rc-tool-card__body {
  height: 100% !important;
}

body .the-content .rc-guides-section .rc-tool-card small,
body .entry-content .rc-guides-section .rc-tool-card small,
.rc-guides-section .rc-tool-card small {
  max-width: 260px !important;
}

/* Evita que el botón del tema padre aparezca como una barra verde completa abajo */
body.recalcular-has-custom-hero .ir-arriba,
body.recalcular-has-custom-hero #ir-arriba,
body.recalcular-has-custom-hero .scrollup,
body.recalcular-has-custom-hero .go-top,
body.recalcular-has-custom-hero .back-to-top,
body.recalcular-has-custom-hero .subir,
body.recalcular-has-custom-hero #subir,
body.recalcular-has-custom-hero a[href="#top"],
body.recalcular-has-custom-hero a[href="#inicio"] {
  display: none !important;
}

@media (max-width: 1024px) {
  body .the-content .rc-card-grid--categories,
  body .entry-content .rc-card-grid--categories,
  body .the-content .rc-dir-grid,
  body .entry-content .rc-dir-grid,
  .rc-card-grid--categories,
  .rc-dir-grid,
  body .the-content .rc-guides-section .rc-card-grid,
  body .entry-content .rc-guides-section .rc-card-grid,
  .rc-guides-section .rc-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  body .the-content .rc-card-grid--categories,
  body .entry-content .rc-card-grid--categories,
  body .the-content .rc-dir-grid,
  body .entry-content .rc-dir-grid,
  .rc-card-grid--categories,
  .rc-dir-grid,
  body .the-content .rc-guides-section .rc-card-grid,
  body .entry-content .rc-guides-section .rc-card-grid,
  .rc-guides-section .rc-card-grid {
    grid-template-columns: 1fr !important;
  }

  body .the-content .rc-guides-section .rc-tool-card,
  body .entry-content .rc-guides-section .rc-tool-card,
  .rc-guides-section .rc-tool-card {
    min-height: auto !important;
  }
}

/* =========================
   RECALCULAR UX v1.1.3
   Acercamiento al mockup: tipografía editorial, cards con botones, categorías compactas y guías visuales
========================= */

:root {
  --rc-serif: Georgia, "Times New Roman", serif;
  --rc-sans: inherit;
}

.rc-js-hidden-title {
  display: none !important;
}

/* Oculta de forma más agresiva el título que Asap imprime antes del contenido */
body.recalcular-has-custom-hero h1.entry-title,
body.recalcular-has-custom-hero h1.page-title,
body.recalcular-has-custom-hero .inside-article > header,
body.recalcular-has-custom-hero article > header:first-child,
body.recalcular-has-custom-hero .post-header,
body.recalcular-has-custom-hero .article-header,
body.recalcular-has-custom-hero .single-title,
body.recalcular-has-custom-hero .page-title {
  display: none !important;
}

/* Header más parecido al mockup */
.site-header,
header.site-header {
  background: rgba(255,255,255,.96) !important;
  border-bottom: 1px solid #E6DDD1 !important;
}
.site-title a,
.logo a,
.site-logo a,
.custom-logo-link + a,
.site-branding a {
  color: #0A3440 !important;
  font-family: var(--rc-serif) !important;
  font-weight: 700 !important;
  letter-spacing: -.025em !important;
}

/* Contenedor editorial */
body .the-content .rc-page-hero,
body .entry-content .rc-page-hero,
.rc-page-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px) !important;
  gap: clamp(32px, 6vw, 82px) !important;
  max-width: 1120px !important;
  margin-top: clamp(28px, 4vw, 52px) !important;
  margin-bottom: clamp(34px, 5vw, 58px) !important;
  align-items: center !important;
}

body .the-content .rc-page-hero h1,
body .entry-content .rc-page-hero h1,
.rc-page-hero h1,
.rc-home-hero h1,
.rc-dir-hero h1 {
  color: #0E2428 !important;
  font-family: var(--rc-serif) !important;
  font-size: clamp(44px, 5.6vw, 70px) !important;
  font-weight: 700 !important;
  letter-spacing: -.055em !important;
  line-height: .98 !important;
  max-width: 670px !important;
}

.rc-home-kicker,
.rc-hero-kicker {
  background: #F6EBD8 !important;
  border-color: #EAD9B8 !important;
  color: #765B2E !important;
  font-size: 13px !important;
  padding: 9px 14px !important;
}

.rc-home-intro,
.rc-dir-intro,
.rc-page-hero p:not(.rc-home-kicker):not(.rc-hero-kicker) {
  color: #52605C !important;
  font-size: 17px !important;
  line-height: 1.68 !important;
  max-width: 620px !important;
}

.rc-search-bar {
  border-radius: 12px !important;
  box-shadow: none !important;
  margin-top: 28px !important;
  max-width: 620px !important;
}
.rc-search-bar input {
  min-height: 54px !important;
}
.rc-search-bar button {
  background: #064A5A !important;
  border-radius: 0 !important;
  min-width: 104px !important;
}
.rc-topic-chips span,
.rc-topic-chips a {
  background: #fff !important;
  border-color: #E5DED3 !important;
  box-shadow: 0 1px 0 rgba(18,49,45,.02) !important;
  font-size: 12.5px !important;
  padding: 7px 11px !important;
}

/* Ilustración más limpia y menos pesada */
.rc-hero-visual {
  min-height: 300px !important;
  background:
    radial-gradient(circle at 52% 52%, #F5EAD6 0 48%, transparent 49%),
    radial-gradient(circle at 88% 30%, #DDEFE9 0 11%, transparent 12%) !important;
}
.rc-hero-calculator {
  background: #F7F1E8 !important;
  border: 3px solid #0E2428 !important;
  border-radius: 18px !important;
  box-shadow: 18px 20px 0 rgba(13, 91, 101, .08) !important;
  height: 230px !important;
  padding: 18px !important;
  width: 190px !important;
}
.rc-hero-calculator::before {
  background: linear-gradient(180deg, #98B8B8, #82A5A6) !important;
  border: 3px solid #0E2428 !important;
  height: 42px !important;
}
.rc-hero-calculator::after {
  background:
    linear-gradient(#172522,#172522) 0 0 / 44px 44px no-repeat,
    linear-gradient(#172522,#172522) 58px 0 / 44px 44px no-repeat,
    linear-gradient(#172522,#172522) 116px 0 / 44px 44px no-repeat,
    linear-gradient(#172522,#172522) 0 58px / 44px 44px no-repeat,
    linear-gradient(#172522,#172522) 58px 58px / 44px 44px no-repeat,
    linear-gradient(#064A5A,#064A5A) 116px 58px / 44px 102px no-repeat !important;
  border-radius: 8px !important;
  content: "" !important;
  display: block !important;
  height: 160px !important;
}
.rc-hero-visual::before {
  bottom: 34px !important;
  right: 4px !important;
}
.rc-hero-visual::after {
  right: 76px !important;
  top: 14px !important;
}

/* Títulos de secciones como en el mockup */
.rc-section-head h2,
.rc-home-section h2,
.rc-dir-section h2,
.rc-home-note h2 {
  color: #0E2428 !important;
  font-family: var(--rc-serif) !important;
  font-size: clamp(25px, 2.3vw, 30px) !important;
  font-weight: 700 !important;
  letter-spacing: -.035em !important;
}
.rc-section-head {
  align-items: center !important;
  margin-bottom: 20px !important;
}
.rc-section-link {
  color: #064A5A !important;
  font-size: 14px !important;
}

/* Tarjetas de calculadoras principales: icono + texto + botón claro */
body .the-content .rc-home-section--featured .rc-tool-card,
body .entry-content .rc-home-section--featured .rc-tool-card,
.rc-home-section--featured .rc-tool-card {
  align-items: flex-start !important;
  gap: 20px !important;
  min-height: 160px !important;
  padding: 20px !important;
}
.rc-home-section--featured .rc-card-icon {
  height: 66px !important;
  width: 66px !important;
  font-size: 26px !important;
}
.rc-tool-card strong,
.rc-category-card strong,
.rc-dir-card strong {
  font-size: 18px !important;
  line-height: 1.2 !important;
}
.rc-tool-card small,
.rc-category-card small,
.rc-dir-card small,
.rc-home-card p,
.rc-dir-card p {
  font-size: 14px !important;
  line-height: 1.48 !important;
}
.rc-home-section--featured .rc-tool-card em {
  align-items: center !important;
  border: 1px solid #0D5B65 !important;
  border-radius: 7px !important;
  color: #064A5A !important;
  display: flex !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  justify-content: center !important;
  margin-top: auto !important;
  min-height: 36px !important;
  padding: 8px 12px !important;
  width: 100% !important;
}
.rc-home-section--featured .rc-tool-card:hover em {
  background: #F2FAF8 !important;
}

/* Categorías compactas para la home: se parecen más al mockup */
body .the-content .rc-dir-section--compact .rc-card-grid--categories,
body .entry-content .rc-dir-section--compact .rc-card-grid--categories,
.rc-dir-section--compact .rc-card-grid--categories {
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
body .the-content .rc-dir-section--compact .rc-category-card,
body .entry-content .rc-dir-section--compact .rc-category-card,
.rc-dir-section--compact .rc-category-card {
  align-items: center !important;
  gap: 9px !important;
  min-height: 188px !important;
  padding: 18px 14px !important;
  text-align: center !important;
}
.rc-dir-section--compact .rc-card-icon {
  height: 58px !important;
  width: 58px !important;
  font-size: 23px !important;
}
.rc-dir-section--compact .rc-dir-label {
  display: none !important;
}
.rc-dir-section--compact .rc-category-card strong {
  font-size: 15.5px !important;
  line-height: 1.2 !important;
}
.rc-dir-section--compact .rc-category-card small {
  font-size: 12.5px !important;
  line-height: 1.42 !important;
}
.rc-dir-section--compact .rc-card-footer {
  border-top: 0 !important;
  margin-top: auto !important;
  padding-top: 0 !important;
  text-align: center !important;
}
.rc-dir-section--compact .rc-card-footer span {
  display: none !important;
}
.rc-dir-section--compact .rc-card-footer em {
  font-size: 13px !important;
  white-space: nowrap !important;
}

/* Categorías normales: legibles sin partir textos */
body .the-content .rc-dir-section:not(.rc-dir-section--compact) .rc-card-grid--categories,
body .entry-content .rc-dir-section:not(.rc-dir-section--compact) .rc-card-grid--categories,
.rc-dir-section:not(.rc-dir-section--compact) .rc-card-grid--categories {
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)) !important;
}
body .the-content .rc-dir-section:not(.rc-dir-section--compact) .rc-card-footer,
body .entry-content .rc-dir-section:not(.rc-dir-section--compact) .rc-card-footer,
.rc-dir-section:not(.rc-dir-section--compact) .rc-card-footer {
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Guías con tarjeta visual tipo imagen + texto */
.rc-guide-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
.rc-guide-card {
  background: #fff !important;
  border: 1px solid #E5DED3 !important;
  border-radius: 16px !important;
  color: #172522 !important;
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  min-height: 128px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease !important;
}
.rc-guide-card:hover {
  border-color: #BFD4CD !important;
  box-shadow: var(--rc-shadow-soft) !important;
  transform: translateY(-2px) !important;
}
.rc-guide-thumb {
  background: #F4EAD7 !important;
  min-height: 100% !important;
  position: relative !important;
}
.rc-guide-thumb::before {
  content: "" !important;
  position: absolute !important;
  inset: 22px !important;
  border-radius: 14px !important;
  background: rgba(13, 91, 101, .16) !important;
}
.rc-guide-thumb--iva {
  background: linear-gradient(135deg, #E5D5BE, #F8F3EA) !important;
}
.rc-guide-thumb--iva::before {
  background:
    linear-gradient(#172522,#172522) 50% 18% / 54px 8px no-repeat,
    linear-gradient(#fff,#fff) 50% 55% / 72px 52px no-repeat,
    linear-gradient(90deg, transparent 0 20%, #0D5B65 20% 28%, transparent 28% 100%) center / 80px 72px no-repeat !important;
  border: 2px solid rgba(23,37,34,.18) !important;
}
.rc-guide-thumb--casa {
  background: linear-gradient(135deg, #EDF3F5, #F8F3EA) !important;
}
.rc-guide-thumb--casa::before {
  background:
    linear-gradient(135deg, transparent 0 50%, #0D5B65 50% 56%, transparent 56%) 50% 20% / 90px 56px no-repeat,
    linear-gradient(#fff,#fff) 50% 60% / 78px 54px no-repeat,
    linear-gradient(#C8A965,#C8A965) 50% 78% / 95px 8px no-repeat !important;
}
.rc-guide-thumb--coins {
  background: linear-gradient(135deg, #ECF5EF, #F8F0E2) !important;
}
.rc-guide-thumb--coins::before {
  background:
    radial-gradient(circle at 60% 20%, #4F8E64 0 8%, transparent 9%),
    linear-gradient(#C8A965,#C8A965) 28px 56px / 72px 10px no-repeat,
    linear-gradient(#D8BD77,#D8BD77) 28px 68px / 72px 10px no-repeat,
    linear-gradient(#C8A965,#C8A965) 28px 80px / 72px 10px no-repeat !important;
}
.rc-guide-card__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 16px 18px !important;
}
.rc-guide-card strong {
  color: #172522 !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
}
.rc-guide-card small {
  color: #66716D !important;
  font-size: 13.5px !important;
  line-height: 1.42 !important;
}
.rc-guide-card em {
  color: #064A5A !important;
  font-size: 13.5px !important;
  font-style: normal !important;
  font-weight: 850 !important;
  margin-top: auto !important;
}

@media (max-width: 1100px) {
  body .the-content .rc-dir-section--compact .rc-card-grid--categories,
  body .entry-content .rc-dir-section--compact .rc-card-grid--categories,
  .rc-dir-section--compact .rc-card-grid--categories {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .rc-guide-grid {
    grid-template-columns: 1fr !important;
  }
  .rc-guide-card {
    grid-template-columns: 150px minmax(0, 1fr) !important;
  }
}

@media (max-width: 780px) {
  body .the-content .rc-page-hero,
  body .entry-content .rc-page-hero,
  .rc-page-hero {
    grid-template-columns: 1fr !important;
  }
  .rc-hero-visual {
    display: none !important;
  }
}

@media (max-width: 640px) {
  body .the-content .rc-page-hero,
  body .entry-content .rc-page-hero,
  .rc-page-hero {
    margin-top: 20px !important;
  }
  body .the-content .rc-page-hero h1,
  body .entry-content .rc-page-hero h1,
  .rc-page-hero h1,
  .rc-home-hero h1,
  .rc-dir-hero h1 {
    font-size: clamp(38px, 11vw, 44px) !important;
    line-height: 1.02 !important;
  }
  .rc-search-bar {
    border-radius: 12px !important;
  }
  .rc-search-bar button {
    border-radius: 0 0 12px 12px !important;
  }
  body .the-content .rc-dir-section--compact .rc-card-grid--categories,
  body .entry-content .rc-dir-section--compact .rc-card-grid--categories,
  .rc-dir-section--compact .rc-card-grid--categories {
    grid-template-columns: 1fr !important;
  }
  .rc-dir-section--compact .rc-category-card {
    align-items: flex-start !important;
    text-align: left !important;
  }
  .rc-dir-section--compact .rc-card-footer {
    text-align: left !important;
  }
  .rc-guide-card {
    grid-template-columns: 1fr !important;
  }
  .rc-guide-thumb {
    min-height: 130px !important;
  }
}


/* =========================
   RECALCULAR UX v1.1.4
   Aislamiento real contra Asap + regreso al mockup
========================= */

/* La home/directorios de Recalcular se controlan por estas clases, no por el layout de Asap. */
body.recalcular-has-custom-hero,
body.recalcular-has-custom-hero .site,
body.recalcular-has-custom-hero .site-content,
body.recalcular-has-custom-hero .content-area,
body.recalcular-has-custom-hero main,
body.recalcular-has-custom-hero article,
body.recalcular-has-custom-hero .inside-article,
body.recalcular-has-custom-hero .the-content,
body.recalcular-has-custom-hero .entry-content {
  background: #FBFAF7 !important;
}

body.recalcular-has-custom-hero .site-content,
body.recalcular-has-custom-hero .content-area,
body.recalcular-has-custom-hero .site-main,
body.recalcular-has-custom-hero main,
body.recalcular-has-custom-hero article,
body.recalcular-has-custom-hero .inside-article,
body.recalcular-has-custom-hero .the-content,
body.recalcular-has-custom-hero .entry-content {
  border: 0 !important;
  box-shadow: none !important;
  max-width: none !important;
  width: 100% !important;
}

body.recalcular-has-custom-hero .inside-article,
body.recalcular-has-custom-hero .the-content,
body.recalcular-has-custom-hero .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.recalcular-has-custom-hero .the-content > *,
body.recalcular-has-custom-hero .entry-content > * {
  box-sizing: border-box !important;
}

/* Oculta títulos sobrantes del tema padre sin tocar el H1 real del hero. */
body.recalcular-has-custom-hero .entry-header,
body.recalcular-has-custom-hero .page-header,
body.recalcular-has-custom-hero .post-header,
body.recalcular-has-custom-hero .article-header,
body.recalcular-has-custom-hero h1.entry-title,
body.recalcular-has-custom-hero h1.page-title,
body.recalcular-has-custom-hero .single-title {
  display: none !important;
}

/* Header limpio y menos dependiente de Asap. */
body.recalcular-has-custom-hero .site-header,
body.recalcular-has-custom-hero header.site-header {
  background: rgba(255,255,255,.97) !important;
  border-bottom: 1px solid #E6DDD1 !important;
  box-shadow: 0 1px 0 rgba(14,36,40,.03) !important;
}

body.recalcular-has-custom-hero .site-header a,
body.recalcular-has-custom-hero header.site-header a {
  text-decoration: none !important;
}

/* Contenedores principales: mismos anchos que el mockup. */
body .the-content .rc-page-hero,
body .entry-content .rc-page-hero,
body .the-content .rc-home-section,
body .entry-content .rc-home-section,
body .the-content .rc-dir-section,
body .entry-content .rc-dir-section,
body .the-content .rc-home-note,
body .entry-content .rc-home-note,
body .the-content .rc-home-faq,
body .entry-content .rc-home-faq {
  max-width: 1120px !important;
  width: calc(100% - 40px) !important;
}

body .the-content .rc-page-hero,
body .entry-content .rc-page-hero,
.rc-page-hero {
  align-items: center !important;
  display: grid !important;
  gap: clamp(34px, 6vw, 78px) !important;
  grid-template-columns: minmax(0, 590px) minmax(310px, 420px) !important;
  justify-content: space-between !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: clamp(30px, 4.5vw, 54px) !important;
  margin-bottom: clamp(36px, 5vw, 62px) !important;
}

/* Hero: estilo editorial, pero no exagerado. */
body .the-content .rc-page-hero h1,
body .entry-content .rc-page-hero h1,
.rc-page-hero h1,
.rc-home-hero h1,
.rc-dir-hero h1 {
  color: #0E2428 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(48px, 5.1vw, 68px) !important;
  font-weight: 700 !important;
  letter-spacing: -.055em !important;
  line-height: .98 !important;
  margin: 0 0 18px !important;
  max-width: 650px !important;
  text-align: left !important;
}

body .the-content .rc-home-intro,
body .entry-content .rc-home-intro,
.rc-home-intro,
.rc-dir-intro,
.rc-page-hero p:not(.rc-home-kicker):not(.rc-hero-kicker) {
  color: #52605C !important;
  font-size: 17px !important;
  line-height: 1.68 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 590px !important;
  text-align: left !important;
}

/* Buscador horizontal: evita cualquier estilo raro del tema padre. */
body .the-content .rc-search-bar,
body .entry-content .rc-search-bar,
.rc-search-bar {
  align-items: stretch !important;
  background: #fff !important;
  border: 1px solid #E5DED3 !important;
  border-radius: 12px !important;
  box-shadow: 0 6px 18px rgba(18,49,45,.04) !important;
  display: grid !important;
  flex-wrap: nowrap !important;
  grid-template-columns: 42px minmax(0, 1fr) 104px !important;
  margin: 26px 0 0 !important;
  max-width: 620px !important;
  min-height: 54px !important;
  overflow: hidden !important;
}

body .the-content .rc-search-bar::before,
body .entry-content .rc-search-bar::before,
.rc-search-bar::before {
  align-items: center !important;
  display: flex !important;
  flex: none !important;
  grid-column: 1 !important;
  justify-content: center !important;
  min-width: 42px !important;
}

body .the-content .rc-search-bar input,
body .entry-content .rc-search-bar input,
.rc-search-bar input {
  border: 0 !important;
  box-shadow: none !important;
  grid-column: 2 !important;
  height: 54px !important;
  line-height: 54px !important;
  min-height: 54px !important;
  min-width: 0 !important;
  padding: 0 12px !important;
  width: 100% !important;
}

body .the-content .rc-search-bar button,
body .entry-content .rc-search-bar button,
.rc-search-bar button {
  align-items: center !important;
  background: #064A5A !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  display: inline-flex !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  grid-column: 3 !important;
  height: 54px !important;
  justify-content: center !important;
  line-height: 1 !important;
  min-height: 54px !important;
  min-width: 104px !important;
  padding: 0 20px !important;
  text-align: center !important;
  white-space: nowrap !important;
  width: 104px !important;
  writing-mode: horizontal-tb !important;
}

body .the-content .rc-topic-chips,
body .entry-content .rc-topic-chips,
.rc-topic-chips {
  justify-content: flex-start !important;
  margin-top: 14px !important;
}

/* Ilustración del hero más cercana al mockup: calculadora grande, limpia y con aire. */
body .the-content .rc-hero-visual,
body .entry-content .rc-hero-visual,
.rc-hero-visual {
  min-height: 330px !important;
  transform: none !important;
}

/* Secciones: la referencia las tiene alineadas a la izquierda, no centradas. */
body .the-content .rc-section-head,
body .entry-content .rc-section-head,
.rc-section-head {
  align-items: flex-end !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 18px !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  text-align: left !important;
  width: 100% !important;
}

body .the-content .rc-section-head h2,
body .entry-content .rc-section-head h2,
body .the-content .rc-home-section h2,
body .entry-content .rc-home-section h2,
body .the-content .rc-dir-section h2,
body .entry-content .rc-dir-section h2,
.rc-section-head h2,
.rc-home-section h2,
.rc-dir-section h2 {
  color: #0E2428 !important;
  flex: 0 1 auto !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(26px, 2.2vw, 31px) !important;
  line-height: 1.16 !important;
  margin: 0 !important;
  text-align: left !important;
}

body .the-content .rc-section-link,
body .entry-content .rc-section-link,
.rc-section-link {
  color: #064A5A !important;
  flex: 0 0 auto !important;
  font-size: 14px !important;
  font-weight: 850 !important;
  margin-left: auto !important;
  text-align: right !important;
  text-decoration: none !important;
}

/* Tarjetas de calculadoras: formato horizontal como en el mockup. */
body .the-content .rc-card-grid--featured,
body .entry-content .rc-card-grid--featured,
body .the-content .rc-home-grid,
body .entry-content .rc-home-grid,
.rc-card-grid--featured,
.rc-home-grid {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body .the-content .rc-home-section--featured .rc-tool-card,
body .entry-content .rc-home-section--featured .rc-tool-card,
.rc-home-section--featured .rc-tool-card {
  align-items: flex-start !important;
  background: #fff !important;
  border: 1px solid #E5DED3 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 0 rgba(18,49,45,.02) !important;
  display: flex !important;
  flex-direction: row !important;
  gap: 18px !important;
  min-height: 148px !important;
  padding: 18px !important;
  text-align: left !important;
}

.rc-home-section--featured .rc-card-icon {
  height: 56px !important;
  width: 56px !important;
  font-size: 24px !important;
}

.rc-home-section--featured .rc-tool-card__body {
  min-height: 112px !important;
}

.rc-home-section--featured .rc-tool-card em {
  border: 1px solid #0D5B65 !important;
  border-radius: 7px !important;
  min-height: 34px !important;
  width: 100% !important;
}

/* Categorías compactas: 6 columnas como el mockup, pero con descripciones cortas para que no se rompan. */
body .the-content .rc-dir-section--compact .rc-card-grid--categories,
body .entry-content .rc-dir-section--compact .rc-card-grid--categories,
.rc-dir-section--compact .rc-card-grid--categories {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

body .the-content .rc-dir-section--compact .rc-category-card,
body .entry-content .rc-dir-section--compact .rc-category-card,
.rc-dir-section--compact .rc-category-card {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid #E5DED3 !important;
  border-radius: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  justify-content: flex-start !important;
  min-height: 176px !important;
  overflow: visible !important;
  padding: 17px 12px !important;
  text-align: center !important;
}

.rc-dir-section--compact .rc-category-card strong {
  font-size: 15px !important;
  line-height: 1.16 !important;
}

.rc-dir-section--compact .rc-category-card small {
  color: #66716D !important;
  font-size: 12.4px !important;
  line-height: 1.38 !important;
  max-width: 126px !important;
}

.rc-dir-section--compact .rc-card-footer {
  border: 0 !important;
  display: block !important;
  margin-top: auto !important;
  padding-top: 0 !important;
}

.rc-dir-section--compact .rc-card-footer em {
  display: block !important;
  font-size: 12.5px !important;
  line-height: 1.2 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* Guías: tarjetas horizontales con mini imagen, como la maqueta. */
body .the-content .rc-guide-grid,
body .entry-content .rc-guide-grid,
.rc-guide-grid {
  align-items: stretch !important;
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  width: 100% !important;
}

body .the-content .rc-guide-card,
body .entry-content .rc-guide-card,
.rc-guide-card {
  background: #fff !important;
  border: 1px solid #E5DED3 !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 0 rgba(18,49,45,.02) !important;
  color: #172522 !important;
  display: grid !important;
  grid-template-columns: 148px minmax(0, 1fr) !important;
  min-height: 126px !important;
  overflow: hidden !important;
  text-align: left !important;
  text-decoration: none !important;
  width: 100% !important;
}

body .the-content .rc-guide-thumb,
body .entry-content .rc-guide-thumb,
.rc-guide-thumb {
  display: block !important;
  height: 100% !important;
  min-height: 126px !important;
  width: 100% !important;
}

body .the-content .rc-guide-card__body,
body .entry-content .rc-guide-card__body,
.rc-guide-card__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: 0 !important;
  padding: 15px 16px !important;
}

body .the-content .rc-guide-card strong,
body .entry-content .rc-guide-card strong,
.rc-guide-card strong {
  font-size: 15.5px !important;
  line-height: 1.18 !important;
  text-align: left !important;
}

body .the-content .rc-guide-card small,
body .entry-content .rc-guide-card small,
.rc-guide-card small {
  font-size: 13px !important;
  line-height: 1.42 !important;
  text-align: left !important;
}

/* Responsive limpio. */
@media (max-width: 1100px) {
  body .the-content .rc-card-grid--featured,
  body .entry-content .rc-card-grid--featured,
  body .the-content .rc-home-grid,
  body .entry-content .rc-home-grid,
  .rc-card-grid--featured,
  .rc-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body .the-content .rc-dir-section--compact .rc-card-grid--categories,
  body .entry-content .rc-dir-section--compact .rc-card-grid--categories,
  .rc-dir-section--compact .rc-card-grid--categories {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  body .the-content .rc-guide-grid,
  body .entry-content .rc-guide-grid,
  .rc-guide-grid {
    grid-template-columns: 1fr !important;
  }

  body .the-content .rc-guide-card,
  body .entry-content .rc-guide-card,
  .rc-guide-card {
    grid-template-columns: 170px minmax(0, 1fr) !important;
  }
}

@media (max-width: 780px) {
  body .the-content .rc-page-hero,
  body .entry-content .rc-page-hero,
  .rc-page-hero {
    grid-template-columns: 1fr !important;
  }

  body .the-content .rc-hero-visual,
  body .entry-content .rc-hero-visual,
  .rc-hero-visual {
    display: none !important;
  }

  body .the-content .rc-section-head,
  body .entry-content .rc-section-head,
  .rc-section-head {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  body .the-content .rc-section-link,
  body .entry-content .rc-section-link,
  .rc-section-link {
    margin-left: 0 !important;
    text-align: left !important;
  }
}

@media (max-width: 640px) {
  body .the-content .rc-page-hero,
  body .entry-content .rc-page-hero,
  body .the-content .rc-home-section,
  body .entry-content .rc-home-section,
  body .the-content .rc-dir-section,
  body .entry-content .rc-dir-section,
  body .the-content .rc-home-note,
  body .entry-content .rc-home-note,
  body .the-content .rc-home-faq,
  body .entry-content .rc-home-faq {
    width: calc(100% - 32px) !important;
  }

  body .the-content .rc-page-hero h1,
  body .entry-content .rc-page-hero h1,
  .rc-page-hero h1,
  .rc-home-hero h1,
  .rc-dir-hero h1 {
    font-size: clamp(36px, 10.4vw, 43px) !important;
  }

  body .the-content .rc-search-bar,
  body .entry-content .rc-search-bar,
  .rc-search-bar {
    grid-template-columns: 42px minmax(0, 1fr) !important;
  }

  body .the-content .rc-search-bar button,
  body .entry-content .rc-search-bar button,
  .rc-search-bar button {
    border-radius: 0 !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  body .the-content .rc-card-grid--featured,
  body .entry-content .rc-card-grid--featured,
  body .the-content .rc-home-grid,
  body .entry-content .rc-home-grid,
  body .the-content .rc-dir-section--compact .rc-card-grid--categories,
  body .entry-content .rc-dir-section--compact .rc-card-grid--categories,
  body .the-content .rc-guide-grid,
  body .entry-content .rc-guide-grid,
  .rc-card-grid--featured,
  .rc-home-grid,
  .rc-dir-section--compact .rc-card-grid--categories,
  .rc-guide-grid {
    grid-template-columns: 1fr !important;
  }

  body .the-content .rc-home-section--featured .rc-tool-card,
  body .entry-content .rc-home-section--featured .rc-tool-card,
  .rc-home-section--featured .rc-tool-card {
    min-height: auto !important;
  }

  body .the-content .rc-dir-section--compact .rc-category-card,
  body .entry-content .rc-dir-section--compact .rc-category-card,
  .rc-dir-section--compact .rc-category-card {
    align-items: flex-start !important;
    min-height: auto !important;
    text-align: left !important;
  }

  .rc-dir-section--compact .rc-category-card small {
    max-width: none !important;
  }

  .rc-dir-section--compact .rc-card-footer em {
    text-align: left !important;
  }

  body .the-content .rc-guide-card,
  body .entry-content .rc-guide-card,
  .rc-guide-card {
    grid-template-columns: 1fr !important;
  }

  body .the-content .rc-guide-thumb,
  body .entry-content .rc-guide-thumb,
  .rc-guide-thumb {
    min-height: 132px !important;
  }
}

/* =========================
   RECALCULAR v1.1.5
   Portada propia: sin wpautop, sin H1 duplicado y más cercana al mockup
========================= */
body.recalcular-front-template {
  background: var(--rc-site-bg) !important;
}

body.recalcular-front-template .content-page,
body.recalcular-front-template .content-loop,
body.recalcular-front-template .content-single {
  max-width: none !important;
  padding: 0 !important;
}

.rc-front-page,
.rc-front-page * {
  box-sizing: border-box;
}

.rc-front-page {
  background: var(--rc-site-bg);
  color: var(--rc-ink-2);
  overflow: hidden;
  padding: 0 0 clamp(34px, 5vw, 70px);
}

.rc-front-page a {
  text-decoration: none !important;
}

.rc-front-page .rc-page-hero,
.rc-front-page .rc-home-section,
.rc-front-page .rc-dir-section,
.rc-front-page .rc-home-note,
.rc-front-page .rc-home-faq {
  width: min(1120px, calc(100% - 48px)) !important;
}

.rc-front-page .rc-front-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .78fr) !important;
  gap: clamp(34px, 6vw, 86px) !important;
  align-items: center !important;
  margin-top: clamp(34px, 6vw, 68px) !important;
  margin-bottom: clamp(56px, 7vw, 88px) !important;
}

.rc-front-page .rc-home-kicker {
  margin-bottom: 19px !important;
}

.rc-front-page .rc-front-hero h1 {
  font-family: var(--rc-serif) !important;
  font-size: clamp(46px, 5.8vw, 74px) !important;
  font-weight: 700 !important;
  letter-spacing: -.055em !important;
  line-height: .93 !important;
  max-width: 640px !important;
}

.rc-front-page .rc-home-intro {
  max-width: 570px !important;
}

.rc-front-page .rc-search-bar {
  max-width: 610px !important;
}

.rc-front-page .rc-hero-visual {
  min-height: 360px !important;
  transform: translateX(8px);
}

.rc-front-page .rc-home-section,
.rc-front-page .rc-dir-section {
  margin-top: 0 !important;
  margin-bottom: clamp(42px, 5vw, 68px) !important;
}

.rc-front-page .rc-section-head {
  align-items: center !important;
  display: flex !important;
  gap: 18px !important;
  justify-content: space-between !important;
  margin-bottom: 20px !important;
  text-align: left !important;
}

.rc-front-page .rc-section-head h2 {
  color: var(--rc-ink) !important;
  font-family: var(--rc-serif) !important;
  font-size: clamp(28px, 2.4vw, 34px) !important;
  font-weight: 700 !important;
  letter-spacing: -.035em !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  text-align: left !important;
}

.rc-front-page .rc-section-link {
  color: var(--rc-teal) !important;
  flex: 0 0 auto !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  margin: 0 !important;
}

.rc-front-page .rc-card-grid--featured,
.rc-front-page .rc-home-grid {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.rc-front-page .rc-home-section--featured .rc-tool-card {
  align-items: flex-start !important;
  background: #fff !important;
  border: 1px solid var(--rc-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 0 rgba(18,49,45,.02) !important;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) !important;
  gap: 18px !important;
  min-height: 155px !important;
  padding: 20px !important;
  text-align: left !important;
}

.rc-front-page .rc-home-section--featured .rc-tool-card:hover,
.rc-front-page .rc-category-card:hover,
.rc-front-page .rc-guide-card:hover {
  border-color: #CBBFAF !important;
  box-shadow: var(--rc-shadow-soft) !important;
  transform: translateY(-1px) !important;
}

.rc-front-page .rc-card-icon {
  align-items: center !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  height: 54px !important;
  justify-content: center !important;
  line-height: 1 !important;
  width: 54px !important;
}

.rc-front-page .rc-tool-card__body strong,
.rc-front-page .rc-category-card strong,
.rc-front-page .rc-guide-card strong {
  color: var(--rc-ink) !important;
  display: block !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  letter-spacing: -.018em !important;
  line-height: 1.16 !important;
  margin: 0 0 8px !important;
}

.rc-front-page .rc-tool-card__body small,
.rc-front-page .rc-category-card small,
.rc-front-page .rc-guide-card small {
  color: var(--rc-muted) !important;
  display: block !important;
  font-size: 14px !important;
  line-height: 1.48 !important;
  margin: 0 0 14px !important;
}

.rc-front-page .rc-tool-card__body em,
.rc-front-page .rc-category-card em,
.rc-front-page .rc-guide-card em {
  color: var(--rc-teal) !important;
  display: inline-flex !important;
  font-size: 13.5px !important;
  font-style: normal !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  margin-top: auto !important;
}

.rc-front-page .rc-home-section--featured .rc-tool-card em {
  align-items: center !important;
  border: 1px solid rgba(13,91,101,.55) !important;
  border-radius: 8px !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 9px 12px !important;
  width: 100% !important;
}

.rc-front-page .rc-dir-section--compact .rc-card-grid--categories {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
}

.rc-front-page .rc-dir-section--compact .rc-category-card {
  align-items: center !important;
  background: #fff !important;
  border: 1px solid var(--rc-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 0 rgba(18,49,45,.02) !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 202px !important;
  padding: 18px 14px !important;
  text-align: center !important;
}

.rc-front-page .rc-dir-section--compact .rc-category-card .rc-card-icon {
  height: 56px !important;
  margin-bottom: 12px !important;
  width: 56px !important;
}

.rc-front-page .rc-dir-label {
  color: var(--rc-teal) !important;
  display: block !important;
  font-size: 10px !important;
  font-weight: 850 !important;
  letter-spacing: .08em !important;
  line-height: 1 !important;
  margin: 0 0 8px !important;
  text-transform: uppercase !important;
}

.rc-front-page .rc-dir-section--compact .rc-category-card strong {
  font-size: 16px !important;
  margin-bottom: 8px !important;
}

.rc-front-page .rc-dir-section--compact .rc-category-card small {
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  margin-bottom: 16px !important;
  max-width: 122px !important;
}

.rc-front-page .rc-dir-section--compact .rc-card-footer {
  border: 0 !important;
  display: flex !important;
  margin-top: auto !important;
  padding: 0 !important;
}

.rc-front-page .rc-dir-section--compact .rc-card-footer em {
  font-size: 12.5px !important;
  white-space: nowrap !important;
}

.rc-front-page .rc-guide-grid {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.rc-front-page .rc-guide-card {
  background: #fff !important;
  border: 1px solid var(--rc-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 0 rgba(18,49,45,.02) !important;
  color: var(--rc-ink) !important;
  display: grid !important;
  grid-template-columns: 138px minmax(0, 1fr) !important;
  min-height: 132px !important;
  overflow: hidden !important;
  text-align: left !important;
}

.rc-front-page .rc-guide-thumb {
  display: block !important;
  min-height: 132px !important;
}

.rc-front-page .rc-guide-card__body {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 16px !important;
}

.rc-front-page .rc-guide-card strong {
  font-size: 16px !important;
  margin-bottom: 0 !important;
}

.rc-front-page .rc-guide-card small {
  font-size: 13px !important;
  margin-bottom: 8px !important;
}

@media (max-width: 1180px) {
  .rc-front-page .rc-dir-section--compact .rc-card-grid--categories {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .rc-front-page .rc-dir-section--compact .rc-category-card {
    min-height: 176px !important;
  }

  .rc-front-page .rc-dir-section--compact .rc-category-card small {
    max-width: 210px !important;
  }
}

@media (max-width: 980px) {
  .rc-front-page .rc-front-hero {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-top: 28px !important;
  }

  .rc-front-page .rc-hero-visual {
    display: none !important;
  }

  .rc-front-page .rc-card-grid--featured,
  .rc-front-page .rc-home-grid,
  .rc-front-page .rc-guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .rc-front-page .rc-guide-card {
    grid-template-columns: 150px minmax(0, 1fr) !important;
  }
}

@media (max-width: 680px) {
  .rc-front-page .rc-page-hero,
  .rc-front-page .rc-home-section,
  .rc-front-page .rc-dir-section,
  .rc-front-page .rc-home-note,
  .rc-front-page .rc-home-faq {
    width: calc(100% - 32px) !important;
  }

  .rc-front-page .rc-front-hero h1 {
    font-size: clamp(36px, 10vw, 43px) !important;
  }

  .rc-front-page .rc-section-head {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .rc-front-page .rc-search-bar {
    grid-template-columns: 42px minmax(0, 1fr) !important;
  }

  .rc-front-page .rc-search-bar button {
    grid-column: 1 / -1 !important;
    min-height: 48px !important;
    width: 100% !important;
  }

  .rc-front-page .rc-card-grid--featured,
  .rc-front-page .rc-home-grid,
  .rc-front-page .rc-dir-section--compact .rc-card-grid--categories,
  .rc-front-page .rc-guide-grid {
    grid-template-columns: 1fr !important;
  }

  .rc-front-page .rc-home-section--featured .rc-tool-card {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    min-height: auto !important;
    padding: 18px !important;
  }

  .rc-front-page .rc-dir-section--compact .rc-category-card {
    align-items: flex-start !important;
    flex-direction: row !important;
    gap: 14px !important;
    min-height: auto !important;
    padding: 18px !important;
    position: relative !important;
    text-align: left !important;
  }

  .rc-front-page .rc-dir-section--compact .rc-category-card .rc-card-icon {
    margin: 0 !important;
  }

  .rc-front-page .rc-dir-section--compact .rc-category-card small {
    max-width: none !important;
  }

  .rc-front-page .rc-dir-section--compact .rc-card-footer {
    bottom: 18px !important;
    left: 88px !important;
    position: absolute !important;
  }

  .rc-front-page .rc-guide-card {
    grid-template-columns: 1fr !important;
  }

  .rc-front-page .rc-guide-thumb {
    min-height: 136px !important;
  }
}

@media (max-width: 680px) {
  .rc-front-page .rc-dir-section--compact .rc-category-card {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 0 !important;
    text-align: left !important;
  }

  .rc-front-page .rc-dir-section--compact .rc-card-footer {
    bottom: auto !important;
    left: auto !important;
    position: static !important;
  }
}

/* =========================
   RECALCULAR v1.1.7
   Afinación visual: más cercano al mockup, mejor hero, tarjetas y footer claro
========================= */

body.recalcular-front-template .site-header-content,
body.recalcular-front-template .site-header-content-top {
  max-width: 1120px !important;
}

body.recalcular-front-template .site-header {
  min-height: 58px !important;
}

body.recalcular-front-template .site-logo img {
  max-width: 132px !important;
  height: auto !important;
}

body.recalcular-front-template #menu > ul,
body.recalcular-front-template #menu ul.header-menu {
  gap: 4px !important;
}

body.recalcular-front-template #menu > ul > li > a,
body.recalcular-front-template #menu ul.header-menu > li > a {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.rc-front-page .rc-front-hero {
  grid-template-columns: minmax(0, 675px) minmax(300px, 390px) !important;
  gap: clamp(30px, 4.2vw, 54px) !important;
  margin-top: clamp(42px, 6vw, 74px) !important;
  margin-bottom: clamp(38px, 5vw, 58px) !important;
}

.rc-front-page .rc-front-hero h1 {
  font-size: clamp(44px, 4.6vw, 62px) !important;
  line-height: .98 !important;
  max-width: 710px !important;
}

.rc-front-page .rc-home-intro {
  font-size: 17px !important;
  max-width: 640px !important;
}

.rc-front-page .rc-search-bar {
  max-width: 610px !important;
}

.rc-front-page .rc-hero-visual {
  min-height: 320px !important;
  transform: translateX(0) !important;
}

.rc-front-page .rc-hero-calculator {
  height: 205px !important;
  width: 170px !important;
}

.rc-front-page .rc-hero-calculator::before {
  height: 36px !important;
  margin-bottom: 14px !important;
}

.rc-front-page .rc-hero-calculator::after {
  background:
    linear-gradient(#172522,#172522) 0 0 / 38px 38px no-repeat,
    linear-gradient(#172522,#172522) 52px 0 / 38px 38px no-repeat,
    linear-gradient(#172522,#172522) 104px 0 / 38px 38px no-repeat,
    linear-gradient(#172522,#172522) 0 52px / 38px 38px no-repeat,
    linear-gradient(#172522,#172522) 52px 52px / 38px 38px no-repeat,
    linear-gradient(#064A5A,#064A5A) 104px 52px / 38px 90px no-repeat !important;
  height: 142px !important;
}

.rc-front-page .rc-home-section--featured {
  border-top: 1px solid #E5DED3 !important;
  padding-top: 24px !important;
}

.rc-front-page .rc-home-section--featured .rc-tool-card {
  min-height: 172px !important;
  padding: 20px !important;
}

.rc-front-page .rc-home-section--featured .rc-tool-card__body {
  min-height: 128px !important;
}

.rc-front-page .rc-dir-section--compact .rc-category-card {
  min-height: 186px !important;
}

.rc-front-page .rc-dir-section--compact .rc-category-card small {
  max-width: 132px !important;
}

.rc-front-page .rc-guide-card {
  grid-template-columns: 136px minmax(0, 1fr) !important;
  min-height: 136px !important;
}

.rc-front-page .rc-guide-thumb {
  min-height: 136px !important;
}

/* Footer claro como herramienta editorial, no el footer verde oscuro de blog. */
body.recalcular-front-template footer,
body.recalcular-front-template .content-footer,
body.recalcular-has-custom-hero footer,
body.recalcular-has-custom-hero .content-footer {
  background: #F8F0E2 !important;
  color: #172522 !important;
}

body.recalcular-front-template .content-footer,
body.recalcular-has-custom-hero .content-footer {
  border-top: 1px solid #E5DED3 !important;
  max-width: none !important;
  padding: 32px max(24px, calc((100vw - 1120px) / 2)) 24px !important;
}

body.recalcular-front-template .content-footer a,
body.recalcular-front-template .content-footer p,
body.recalcular-front-template .content-footer li,
body.recalcular-front-template .content-footer .widget-area,
body.recalcular-front-template .content-footer .widget-title,
body.recalcular-front-template .widget-content-footer-bottom,
body.recalcular-has-custom-hero .content-footer a,
body.recalcular-has-custom-hero .content-footer p,
body.recalcular-has-custom-hero .content-footer li,
body.recalcular-has-custom-hero .content-footer .widget-area,
body.recalcular-has-custom-hero .content-footer .widget-title,
body.recalcular-has-custom-hero .widget-content-footer-bottom {
  color: #172522 !important;
}

body.recalcular-front-template .content-footer p,
body.recalcular-has-custom-hero .content-footer p {
  line-height: 1.55 !important;
}

body.recalcular-front-template .content-footer .widget-title,
body.recalcular-has-custom-hero .content-footer .widget-title {
  color: #0E2428 !important;
  font-weight: 800 !important;
}

body.recalcular-front-template .widget-content-footer,
body.recalcular-has-custom-hero .widget-content-footer {
  max-width: 1120px !important;
  margin: 0 auto !important;
}

body.recalcular-front-template .widget-content-footer-bottom,
body.recalcular-has-custom-hero .widget-content-footer-bottom {
  border-top: 1px solid #E5DED3 !important;
  max-width: 1120px !important;
  margin: 22px auto 0 !important;
  padding-top: 14px !important;
  text-align: center !important;
}

body.recalcular-front-template .go-top,
body.recalcular-has-custom-hero .go-top {
  display: none !important;
}

@media (max-width: 980px) {
  .rc-front-page .rc-front-hero {
    grid-template-columns: 1fr !important;
    margin-top: 34px !important;
    margin-bottom: 44px !important;
  }

  .rc-front-page .rc-front-hero h1 {
    max-width: 660px !important;
  }
}

@media (max-width: 680px) {
  body.recalcular-front-template .site-logo img {
    max-width: 122px !important;
  }

  .rc-front-page .rc-front-hero {
    margin-top: 26px !important;
    margin-bottom: 42px !important;
  }

  .rc-front-page .rc-front-hero h1 {
    font-size: clamp(34px, 10vw, 40px) !important;
    line-height: 1.02 !important;
  }

  .rc-front-page .rc-home-intro {
    font-size: 15.5px !important;
  }

  .rc-front-page .rc-home-section--featured {
    padding-top: 22px !important;
  }

  .rc-front-page .rc-home-section--featured .rc-tool-card__body {
    min-height: auto !important;
  }

  .rc-front-page .rc-dir-section--compact .rc-category-card {
    min-height: auto !important;
  }

  body.recalcular-front-template .content-footer,
  body.recalcular-has-custom-hero .content-footer {
    padding: 28px 20px 22px !important;
  }
}
