/* CHC — Sistema visual institucional global */
:root {
  --chc-blue: #193A5A;
  --chc-ivory: #F7F3EA;
  --chc-white: #FCFBF8;
  --chc-gold: #C6922E;
  --chc-terra: #A85D48;
  --chc-text: #30343B;
  --chc-line: #E2CFAB;
  --chc-shadow: 0 12px 32px rgba(25, 58, 90, .10);
}

html { background: var(--chc-white); }
body {
  background: var(--chc-white);
  color: var(--chc-text);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

/* Pie institucional: ocultar iconos de pago */
.absolute-footer .payment-icons { display: none !important; }
#wrapper, #main, #content { background-color: var(--chc-white); }
p, li { line-height: 1.72; }
.entry-content p { margin-bottom: 1.25em; }

h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .section-title {
  color: var(--chc-blue);
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}
h1, .entry-title { font-size: clamp(2rem, 4vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
a { color: var(--chc-blue); }
a:hover { color: var(--chc-terra); }

/* Encabezado y navegación */
.header-main,
.header-wrapper.stuck .header-main,
body.home .header-main {
  background-color: var(--chc-ivory) !important;
  box-shadow: 0 4px 18px rgba(25, 58, 90, .08);
}
.header-main .nav > li > a,
.header-main .nav > li > a > i,
.header-main .header-button a {
  color: var(--chc-blue) !important;
}
.header-main .nav > li > a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.header-main .nav > li.active > a,
.header-main .nav > li.current-menu-item > a,
.header-main .nav > li > a:hover { color: var(--chc-gold) !important; }
.nav-line-bottom > li > a:before,
.nav-line-grow > li > a:before { background-color: var(--chc-gold) !important; }
.nav-dropdown {
  background: #fff;
  border: 0;
  border-top: 3px solid var(--chc-gold);
  border-radius: 0 0 10px 10px;
  box-shadow: var(--chc-shadow);
  padding: 10px;
}
.nav-dropdown > li > a {
  color: var(--chc-blue);
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 14px;
}
.nav-dropdown > li > a:hover {
  background: var(--chc-ivory);
  color: var(--chc-terra);
}

/* Botones y llamadas a la acción */
.button, button, input[type=submit], input[type=button],
.woocommerce a.button, .woocommerce button.button {
  border-radius: 8px !important;
  font-weight: 700;
  letter-spacing: .02em;
  min-height: 44px;
  padding-left: 1.45em;
  padding-right: 1.45em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button.primary, .button:not(.is-outline), input[type=submit],
.woocommerce a.button, .woocommerce button.button {
  background-color: var(--chc-gold) !important;
  border-color: var(--chc-gold) !important;
  color: #fff !important;
}
.button:hover, button:hover, input[type=submit]:hover {
  background-color: var(--chc-terra) !important;
  border-color: var(--chc-terra) !important;
  box-shadow: 0 8px 20px rgba(168, 93, 72, .22);
  transform: translateY(-1px);
}
.button.is-outline {
  background: transparent !important;
  border-color: var(--chc-blue) !important;
  color: var(--chc-blue) !important;
}

/* Secciones, tarjetas e imágenes */
.page-wrapper, .blog-wrapper { padding-top: 54px; padding-bottom: 64px; }
.section-title-container { margin-bottom: 30px; }
.section-title b { background-color: var(--chc-line); opacity: 1; }
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner,
.box {
  border-radius: 14px;
  overflow: hidden;
}
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner {
  background: #fff;
  box-shadow: var(--chc-shadow);
  height: 100%;
}
.post-item .box-text,
.row-box-shadow-1 > .col > .col-inner > .col-inner { padding: 24px; }
.entry-content img:not(.wp-smiley), .post-item img {
  border-radius: 12px;
}
input[type=text], input[type=email], input[type=tel], input[type=url],
input[type=password], textarea, select {
  border: 1px solid #D9D4C9;
  border-radius: 8px;
  background: #fff;
  min-height: 44px;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--chc-gold);
  box-shadow: 0 0 0 3px rgba(198,146,46,.15);
}

/* Sustituir superposiciones verdes residuales */
.page-id-73 .section-bg-overlay { background-color: rgba(25, 58, 90, .58) !important; }
.page-id-948 .box-overlay .overlay,
.page-id-613 .box-overlay .overlay { background-color: rgba(25, 58, 90, .42) !important; }

/* Portada: presentación y bloques principales */
.home #content > .section { background: var(--chc-white) !important; }
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  min-height: 430px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--chc-ivory);
  border-left: 4px solid var(--chc-gold);
  border-radius: 12px;
  padding: 34px !important;
  box-shadow: 0 10px 28px rgba(25,58,90,.07);
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
  grid-column: 1 / -1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  gap: 24px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
  padding: 0;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col > .col-inner {
  background: var(--chc-ivory);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  height: 100%;
  padding-bottom: 18px;
}
.home .blog-posts .post-item:only-child {
  flex-basis: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.home .row-box-shadow-1 > .col > .col-inner { border-top: 4px solid var(--chc-gold); }
.home .uxb-no-content { display: none !important; }

/* Pie de página */
#footer, .footer-wrapper { background: var(--chc-blue) !important; color: #fff; }
.absolute-footer {
  position: static !important;
  width: 100%;
  height: auto !important;
  background: var(--chc-blue) !important;
  color: rgba(255,255,255,.9) !important;
  padding: 24px 0 !important;
  line-height: 1.55;
  box-shadow: none;
}
.absolute-footer .footer-primary,
.absolute-footer a { color: #fff !important; }
.absolute-footer a:hover { color: var(--chc-gold) !important; }

/* Adaptación móvil */
@media (max-width: 849px) {
  body { font-size: 15px; }
  .header-main { min-height: 72px; }
  .header-main .nav-icon a, .header-main .icon-menu { color: var(--chc-blue) !important; }
  .off-canvas .sidebar-menu { background: var(--chc-ivory); }
  .off-canvas .nav-sidebar > li > a { color: var(--chc-blue); font-size: 15px; }
  h1, .entry-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .page-wrapper, .blog-wrapper { padding-top: 34px; padding-bottom: 44px; }
  .section { padding-top: 40px !important; padding-bottom: 40px !important; }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
    min-height: 300px;
    margin-bottom: 24px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
    padding: 24px !important;
    margin-bottom: 28px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
    margin-bottom: 22px;
  }
  .home .slider-wrapper h2 { font-size: clamp(2rem, 11vw, 3.2rem) !important; line-height: 1.05; }
  .absolute-footer { text-align: center; padding: 22px 18px !important; font-size: 13px; }
}


/* Ajuste fino: controles del encabezado y estructura real de la portada */
.header-main .button,
.header-main .nav-top-link.button,
.header-main .header-button .button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--chc-blue) !important;
  min-height: 0;
  padding: 0 !important;
  transform: none !important;
}
.header-main .nav-spacing-xlarge > li { margin: 0 6px; }
.header-main .header-inner { max-width: 100%; padding-left: 18px; padding-right: 18px; }

.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  min-height: 430px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--chc-ivory);
  border-left: 4px solid var(--chc-gold);
  border-radius: 12px;
  padding: 34px !important;
  box-shadow: 0 10px 28px rgba(25,58,90,.07);
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row {
  grid-column: 1 / -1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  gap: 24px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col { padding: 0; }
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col > .col-inner {
  background: var(--chc-ivory);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  height: 100%;
  padding-bottom: 18px;
}
@media (max-width: 849px) {
  .header-main .header-inner { padding-left: 12px; padding-right: 12px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner { display: block; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner { min-height: 300px; margin-bottom: 24px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text { padding: 24px !important; margin-bottom: 28px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row { display: block; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col { margin-bottom: 22px; }
}


/* Pulido de encabezado y presentación */
#header .header-wrapper,
#header .header-main { background-color: var(--chc-ivory) !important; }
#header .header-main a.button,
#header .header-main .header-button > a {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--chc-blue) !important;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  align-items: stretch;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
  height: 100% !important;
  min-height: 600px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text,
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text p {
  color: var(--chc-text) !important;
  font-size: 16px;
  font-weight: 400 !important;
  line-height: 1.72;
}
@media (max-width: 849px) {
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
    height: 320px !important;
    min-height: 320px;
  }
}


/* Ajustes finales de legibilidad */
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text p strong {
  font-weight: 400 !important;
}
.copyright-footer strong {
  display: block;
  font-weight: 400;
  margin-top: 8px;
  max-width: 920px;
}
.absolute-footer .footer-primary { max-width: 960px; }
.single-post .post-sidebar { display: none !important; }
.single-post .large-9,
.single-post .large-8 {
  flex-basis: 100%;
  max-width: 100%;
}
.single-post .article-inner { max-width: 980px; margin-left: auto; margin-right: auto; }
.single-post .entry-title { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 849px) {
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner { grid-template-columns: 1fr; }
  .copyright-footer strong { margin-top: 10px; }
}


/* Portada móvil: título y caja de texto */
@media (max-width: 849px) {
  .home .banner h2 {
    font-size: clamp(2rem, 11vw, 3.2rem) !important;
    line-height: 1.04 !important;
  }
  .home .banner .text-box { width: 90% !important; }
}


/* Ocultar definitivamente la barra lateral genérica del blog */
body.single-post #main .post-sidebar,
body.single-post #main .blog-sidebar { display: none !important; }
body.single-post #main .large-9,
body.single-post #main .large-8 {
  flex-basis: 100% !important;
  max-width: 100% !important;
}


/* Paneles de imagen que aún heredaban el verde del tema */
.page-id-948 .banner .overlay,
.page-id-613 .banner .overlay {
  background-color: rgba(25, 58, 90, .45) !important;
}
/* CHC — Sistema visual institucional global */
:root {
  --chc-blue: #193A5A;
  --chc-ivory: #F7F3EA;
  --chc-white: #FCFBF8;
  --chc-gold: #C6922E;
  --chc-terra: #A85D48;
  --chc-text: #30343B;
  --chc-line: #E2CFAB;
  --chc-shadow: 0 12px 32px rgba(25, 58, 90, .10);
}

html { background: var(--chc-white); }
body {
  background: var(--chc-white);
  color: var(--chc-text);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
#wrapper, #main, #content { background-color: var(--chc-white); }
p, li { line-height: 1.72; }
.entry-content p { margin-bottom: 1.25em; }

h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .section-title {
  color: var(--chc-blue);
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}
h1, .entry-title { font-size: clamp(2rem, 4vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
a { color: var(--chc-blue); }
a:hover { color: var(--chc-terra); }

/* Encabezado y navegación */
.header-main,
.header-wrapper.stuck .header-main,
body.home .header-main {
  background-color: var(--chc-ivory) !important;
  box-shadow: 0 4px 18px rgba(25, 58, 90, .08);
}
.header-main .nav > li > a,
.header-main .nav > li > a > i,
.header-main .header-button a {
  color: var(--chc-blue) !important;
}
.header-main .nav > li > a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.header-main .nav > li.active > a,
.header-main .nav > li.current-menu-item > a,
.header-main .nav > li > a:hover { color: var(--chc-gold) !important; }
.nav-line-bottom > li > a:before,
.nav-line-grow > li > a:before { background-color: var(--chc-gold) !important; }
.nav-dropdown {
  background: #fff;
  border: 0;
  border-top: 3px solid var(--chc-gold);
  border-radius: 0 0 10px 10px;
  box-shadow: var(--chc-shadow);
  padding: 10px;
}
.nav-dropdown > li > a {
  color: var(--chc-blue);
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 14px;
}
.nav-dropdown > li > a:hover {
  background: var(--chc-ivory);
  color: var(--chc-terra);
}

/* Botones y llamadas a la acción */
.button, button, input[type=submit], input[type=button],
.woocommerce a.button, .woocommerce button.button {
  border-radius: 8px !important;
  font-weight: 700;
  letter-spacing: .02em;
  min-height: 44px;
  padding-left: 1.45em;
  padding-right: 1.45em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button.primary, .button:not(.is-outline), input[type=submit],
.woocommerce a.button, .woocommerce button.button {
  background-color: var(--chc-gold) !important;
  border-color: var(--chc-gold) !important;
  color: #fff !important;
}
.button:hover, button:hover, input[type=submit]:hover {
  background-color: var(--chc-terra) !important;
  border-color: var(--chc-terra) !important;
  box-shadow: 0 8px 20px rgba(168, 93, 72, .22);
  transform: translateY(-1px);
}
.button.is-outline {
  background: transparent !important;
  border-color: var(--chc-blue) !important;
  color: var(--chc-blue) !important;
}

/* Secciones, tarjetas e imágenes */
.page-wrapper, .blog-wrapper { padding-top: 54px; padding-bottom: 64px; }
.section-title-container { margin-bottom: 30px; }
.section-title b { background-color: var(--chc-line); opacity: 1; }
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner,
.box {
  border-radius: 14px;
  overflow: hidden;
}
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner {
  background: #fff;
  box-shadow: var(--chc-shadow);
  height: 100%;
}
.post-item .box-text,
.row-box-shadow-1 > .col > .col-inner > .col-inner { padding: 24px; }
.entry-content img:not(.wp-smiley), .post-item img {
  border-radius: 12px;
}
input[type=text], input[type=email], input[type=tel], input[type=url],
input[type=password], textarea, select {
  border: 1px solid #D9D4C9;
  border-radius: 8px;
  background: #fff;
  min-height: 44px;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--chc-gold);
  box-shadow: 0 0 0 3px rgba(198,146,46,.15);
}

/* Sustituir superposiciones verdes residuales */
.page-id-73 .section-bg-overlay { background-color: rgba(25, 58, 90, .58) !important; }
.page-id-948 .box-overlay .overlay,
.page-id-613 .box-overlay .overlay { background-color: rgba(25, 58, 90, .42) !important; }

/* Portada: presentación y bloques principales */
.home #content > .section { background: var(--chc-white) !important; }
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  min-height: 430px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--chc-ivory);
  border-left: 4px solid var(--chc-gold);
  border-radius: 12px;
  padding: 34px !important;
  box-shadow: 0 10px 28px rgba(25,58,90,.07);
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
  grid-column: 1 / -1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  gap: 24px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
  padding: 0;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col > .col-inner {
  background: var(--chc-ivory);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  height: 100%;
  padding-bottom: 18px;
}
.home .blog-posts .post-item:only-child {
  flex-basis: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.home .row-box-shadow-1 > .col > .col-inner { border-top: 4px solid var(--chc-gold); }
.home .uxb-no-content { display: none !important; }

/* Pie de página */
#footer, .footer-wrapper { background: var(--chc-blue) !important; color: #fff; }
.absolute-footer {
  position: static !important;
  width: 100%;
  height: auto !important;
  background: var(--chc-blue) !important;
  color: rgba(255,255,255,.9) !important;
  padding: 24px 0 !important;
  line-height: 1.55;
  box-shadow: none;
}
.absolute-footer .footer-primary,
.absolute-footer a { color: #fff !important; }
.absolute-footer a:hover { color: var(--chc-gold) !important; }

/* Adaptación móvil */
@media (max-width: 849px) {
  body { font-size: 15px; }
  .header-main { min-height: 72px; }
  .header-main .nav-icon a, .header-main .icon-menu { color: var(--chc-blue) !important; }
  .off-canvas .sidebar-menu { background: var(--chc-ivory); }
  .off-canvas .nav-sidebar > li > a { color: var(--chc-blue); font-size: 15px; }
  h1, .entry-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .page-wrapper, .blog-wrapper { padding-top: 34px; padding-bottom: 44px; }
  .section { padding-top: 40px !important; padding-bottom: 40px !important; }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
    min-height: 300px;
    margin-bottom: 24px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
    padding: 24px !important;
    margin-bottom: 28px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
    margin-bottom: 22px;
  }
  .home .slider-wrapper h2 { font-size: clamp(2rem, 11vw, 3.2rem) !important; line-height: 1.05; }
  .absolute-footer { text-align: center; padding: 22px 18px !important; font-size: 13px; }
}


/* Ajuste fino: controles del encabezado y estructura real de la portada */
.header-main .button,
.header-main .nav-top-link.button,
.header-main .header-button .button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--chc-blue) !important;
  min-height: 0;
  padding: 0 !important;
  transform: none !important;
}
.header-main .nav-spacing-xlarge > li { margin: 0 6px; }
.header-main .header-inner { max-width: 100%; padding-left: 18px; padding-right: 18px; }

.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  min-height: 430px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--chc-ivory);
  border-left: 4px solid var(--chc-gold);
  border-radius: 12px;
  padding: 34px !important;
  box-shadow: 0 10px 28px rgba(25,58,90,.07);
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row {
  grid-column: 1 / -1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  gap: 24px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col { padding: 0; }
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col > .col-inner {
  background: var(--chc-ivory);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  height: 100%;
  padding-bottom: 18px;
}
@media (max-width: 849px) {
  .header-main .header-inner { padding-left: 12px; padding-right: 12px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner { display: block; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner { min-height: 300px; margin-bottom: 24px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text { padding: 24px !important; margin-bottom: 28px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row { display: block; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col { margin-bottom: 22px; }
}


/* Pulido de encabezado y presentación */
#header .header-wrapper,
#header .header-main { background-color: var(--chc-ivory) !important; }
#header .header-main a.button,
#header .header-main .header-button > a {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--chc-blue) !important;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  align-items: stretch;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
  height: 100% !important;
  min-height: 600px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text,
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text p {
  color: var(--chc-text) !important;
  font-size: 16px;
  font-weight: 400 !important;
  line-height: 1.72;
}
@media (max-width: 849px) {
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
    height: 320px !important;
    min-height: 320px;
  }
}


/* Ajustes finales de legibilidad */
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text p strong {
  font-weight: 400 !important;
}
.copyright-footer strong {
  display: block;
  font-weight: 400;
  margin-top: 8px;
  max-width: 920px;
}
.absolute-footer .footer-primary { max-width: 960px; }
.single-post .post-sidebar { display: none !important; }
.single-post .large-9,
.single-post .large-8 {
  flex-basis: 100%;
  max-width: 100%;
}
.single-post .article-inner { max-width: 980px; margin-left: auto; margin-right: auto; }
.single-post .entry-title { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 849px) {
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner { grid-template-columns: 1fr; }
  .copyright-footer strong { margin-top: 10px; }
}


/* Portada móvil: título y caja de texto */
@media (max-width: 849px) {
  .home .banner h2 {
    font-size: clamp(2rem, 11vw, 3.2rem) !important;
    line-height: 1.04 !important;
  }
  .home .banner .text-box { width: 90% !important; }
}


/* Ocultar definitivamente la barra lateral genérica del blog */
body.single-post #main .post-sidebar,
body.single-post #main .blog-sidebar { display: none !important; }
body.single-post #main .large-9,
body.single-post #main .large-8 {
  flex-basis: 100% !important;
  max-width: 100% !important;
}
/* CHC — Sistema visual institucional global */
:root {
  --chc-blue: #193A5A;
  --chc-ivory: #F7F3EA;
  --chc-white: #FCFBF8;
  --chc-gold: #C6922E;
  --chc-terra: #A85D48;
  --chc-text: #30343B;
  --chc-line: #E2CFAB;
  --chc-shadow: 0 12px 32px rgba(25, 58, 90, .10);
}

html { background: var(--chc-white); }
body {
  background: var(--chc-white);
  color: var(--chc-text);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
#wrapper, #main, #content { background-color: var(--chc-white); }
p, li { line-height: 1.72; }
.entry-content p { margin-bottom: 1.25em; }

h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .section-title {
  color: var(--chc-blue);
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}
h1, .entry-title { font-size: clamp(2rem, 4vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
a { color: var(--chc-blue); }
a:hover { color: var(--chc-terra); }

/* Encabezado y navegación */
.header-main,
.header-wrapper.stuck .header-main,
body.home .header-main {
  background-color: var(--chc-ivory) !important;
  box-shadow: 0 4px 18px rgba(25, 58, 90, .08);
}
.header-main .nav > li > a,
.header-main .nav > li > a > i,
.header-main .header-button a {
  color: var(--chc-blue) !important;
}
.header-main .nav > li > a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.header-main .nav > li.active > a,
.header-main .nav > li.current-menu-item > a,
.header-main .nav > li > a:hover { color: var(--chc-gold) !important; }
.nav-line-bottom > li > a:before,
.nav-line-grow > li > a:before { background-color: var(--chc-gold) !important; }
.nav-dropdown {
  background: #fff;
  border: 0;
  border-top: 3px solid var(--chc-gold);
  border-radius: 0 0 10px 10px;
  box-shadow: var(--chc-shadow);
  padding: 10px;
}
.nav-dropdown > li > a {
  color: var(--chc-blue);
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 14px;
}
.nav-dropdown > li > a:hover {
  background: var(--chc-ivory);
  color: var(--chc-terra);
}

/* Botones y llamadas a la acción */
.button, button, input[type=submit], input[type=button],
.woocommerce a.button, .woocommerce button.button {
  border-radius: 8px !important;
  font-weight: 700;
  letter-spacing: .02em;
  min-height: 44px;
  padding-left: 1.45em;
  padding-right: 1.45em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button.primary, .button:not(.is-outline), input[type=submit],
.woocommerce a.button, .woocommerce button.button {
  background-color: var(--chc-gold) !important;
  border-color: var(--chc-gold) !important;
  color: #fff !important;
}
.button:hover, button:hover, input[type=submit]:hover {
  background-color: var(--chc-terra) !important;
  border-color: var(--chc-terra) !important;
  box-shadow: 0 8px 20px rgba(168, 93, 72, .22);
  transform: translateY(-1px);
}
.button.is-outline {
  background: transparent !important;
  border-color: var(--chc-blue) !important;
  color: var(--chc-blue) !important;
}

/* Secciones, tarjetas e imágenes */
.page-wrapper, .blog-wrapper { padding-top: 54px; padding-bottom: 64px; }
.section-title-container { margin-bottom: 30px; }
.section-title b { background-color: var(--chc-line); opacity: 1; }
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner,
.box {
  border-radius: 14px;
  overflow: hidden;
}
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner {
  background: #fff;
  box-shadow: var(--chc-shadow);
  height: 100%;
}
.post-item .box-text,
.row-box-shadow-1 > .col > .col-inner > .col-inner { padding: 24px; }
.entry-content img:not(.wp-smiley), .post-item img {
  border-radius: 12px;
}
input[type=text], input[type=email], input[type=tel], input[type=url],
input[type=password], textarea, select {
  border: 1px solid #D9D4C9;
  border-radius: 8px;
  background: #fff;
  min-height: 44px;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--chc-gold);
  box-shadow: 0 0 0 3px rgba(198,146,46,.15);
}

/* Sustituir superposiciones verdes residuales */
.page-id-73 .section-bg-overlay { background-color: rgba(25, 58, 90, .58) !important; }
.page-id-948 .box-overlay .overlay,
.page-id-613 .box-overlay .overlay { background-color: rgba(25, 58, 90, .42) !important; }

/* Portada: presentación y bloques principales */
.home #content > .section { background: var(--chc-white) !important; }
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  min-height: 430px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--chc-ivory);
  border-left: 4px solid var(--chc-gold);
  border-radius: 12px;
  padding: 34px !important;
  box-shadow: 0 10px 28px rgba(25,58,90,.07);
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
  grid-column: 1 / -1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  gap: 24px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
  padding: 0;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col > .col-inner {
  background: var(--chc-ivory);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  height: 100%;
  padding-bottom: 18px;
}
.home .blog-posts .post-item:only-child {
  flex-basis: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.home .row-box-shadow-1 > .col > .col-inner { border-top: 4px solid var(--chc-gold); }
.home .uxb-no-content { display: none !important; }

/* Pie de página */
#footer, .footer-wrapper { background: var(--chc-blue) !important; color: #fff; }
.absolute-footer {
  position: static !important;
  width: 100%;
  height: auto !important;
  background: var(--chc-blue) !important;
  color: rgba(255,255,255,.9) !important;
  padding: 24px 0 !important;
  line-height: 1.55;
  box-shadow: none;
}
.absolute-footer .footer-primary,
.absolute-footer a { color: #fff !important; }
.absolute-footer a:hover { color: var(--chc-gold) !important; }

/* Adaptación móvil */
@media (max-width: 849px) {
  body { font-size: 15px; }
  .header-main { min-height: 72px; }
  .header-main .nav-icon a, .header-main .icon-menu { color: var(--chc-blue) !important; }
  .off-canvas .sidebar-menu { background: var(--chc-ivory); }
  .off-canvas .nav-sidebar > li > a { color: var(--chc-blue); font-size: 15px; }
  h1, .entry-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .page-wrapper, .blog-wrapper { padding-top: 34px; padding-bottom: 44px; }
  .section { padding-top: 40px !important; padding-bottom: 40px !important; }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
    min-height: 300px;
    margin-bottom: 24px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
    padding: 24px !important;
    margin-bottom: 28px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
    margin-bottom: 22px;
  }
  .home .slider-wrapper h2 { font-size: clamp(2rem, 11vw, 3.2rem) !important; line-height: 1.05; }
  .absolute-footer { text-align: center; padding: 22px 18px !important; font-size: 13px; }
}


/* Ajuste fino: controles del encabezado y estructura real de la portada */
.header-main .button,
.header-main .nav-top-link.button,
.header-main .header-button .button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--chc-blue) !important;
  min-height: 0;
  padding: 0 !important;
  transform: none !important;
}
.header-main .nav-spacing-xlarge > li { margin: 0 6px; }
.header-main .header-inner { max-width: 100%; padding-left: 18px; padding-right: 18px; }

.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  min-height: 430px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--chc-ivory);
  border-left: 4px solid var(--chc-gold);
  border-radius: 12px;
  padding: 34px !important;
  box-shadow: 0 10px 28px rgba(25,58,90,.07);
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row {
  grid-column: 1 / -1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  gap: 24px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col { padding: 0; }
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col > .col-inner {
  background: var(--chc-ivory);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  height: 100%;
  padding-bottom: 18px;
}
@media (max-width: 849px) {
  .header-main .header-inner { padding-left: 12px; padding-right: 12px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner { display: block; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner { min-height: 300px; margin-bottom: 24px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text { padding: 24px !important; margin-bottom: 28px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row { display: block; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col { margin-bottom: 22px; }
}


/* Pulido de encabezado y presentación */
#header .header-wrapper,
#header .header-main { background-color: var(--chc-ivory) !important; }
#header .header-main a.button,
#header .header-main .header-button > a {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--chc-blue) !important;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  align-items: stretch;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
  height: 100% !important;
  min-height: 600px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text,
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text p {
  color: var(--chc-text) !important;
  font-size: 16px;
  font-weight: 400 !important;
  line-height: 1.72;
}
@media (max-width: 849px) {
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
    height: 320px !important;
    min-height: 320px;
  }
}


/* Ajustes finales de legibilidad */
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text p strong {
  font-weight: 400 !important;
}
.copyright-footer strong {
  display: block;
  font-weight: 400;
  margin-top: 8px;
  max-width: 920px;
}
.absolute-footer .footer-primary { max-width: 960px; }
.single-post .post-sidebar { display: none !important; }
.single-post .large-9,
.single-post .large-8 {
  flex-basis: 100%;
  max-width: 100%;
}
.single-post .article-inner { max-width: 980px; margin-left: auto; margin-right: auto; }
.single-post .entry-title { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 849px) {
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner { grid-template-columns: 1fr; }
  .copyright-footer strong { margin-top: 10px; }
}
/* CHC — Sistema visual institucional global */
:root {
  --chc-blue: #193A5A;
  --chc-ivory: #F7F3EA;
  --chc-white: #FCFBF8;
  --chc-gold: #C6922E;
  --chc-terra: #A85D48;
  --chc-text: #30343B;
  --chc-line: #E2CFAB;
  --chc-shadow: 0 12px 32px rgba(25, 58, 90, .10);
}

html { background: var(--chc-white); }
body {
  background: var(--chc-white);
  color: var(--chc-text);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
#wrapper, #main, #content { background-color: var(--chc-white); }
p, li { line-height: 1.72; }
.entry-content p { margin-bottom: 1.25em; }

h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .section-title {
  color: var(--chc-blue);
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}
h1, .entry-title { font-size: clamp(2rem, 4vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
a { color: var(--chc-blue); }
a:hover { color: var(--chc-terra); }

/* Encabezado y navegación */
.header-main,
.header-wrapper.stuck .header-main,
body.home .header-main {
  background-color: var(--chc-ivory) !important;
  box-shadow: 0 4px 18px rgba(25, 58, 90, .08);
}
.header-main .nav > li > a,
.header-main .nav > li > a > i,
.header-main .header-button a {
  color: var(--chc-blue) !important;
}
.header-main .nav > li > a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.header-main .nav > li.active > a,
.header-main .nav > li.current-menu-item > a,
.header-main .nav > li > a:hover { color: var(--chc-gold) !important; }
.nav-line-bottom > li > a:before,
.nav-line-grow > li > a:before { background-color: var(--chc-gold) !important; }
.nav-dropdown {
  background: #fff;
  border: 0;
  border-top: 3px solid var(--chc-gold);
  border-radius: 0 0 10px 10px;
  box-shadow: var(--chc-shadow);
  padding: 10px;
}
.nav-dropdown > li > a {
  color: var(--chc-blue);
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 14px;
}
.nav-dropdown > li > a:hover {
  background: var(--chc-ivory);
  color: var(--chc-terra);
}

/* Botones y llamadas a la acción */
.button, button, input[type=submit], input[type=button],
.woocommerce a.button, .woocommerce button.button {
  border-radius: 8px !important;
  font-weight: 700;
  letter-spacing: .02em;
  min-height: 44px;
  padding-left: 1.45em;
  padding-right: 1.45em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button.primary, .button:not(.is-outline), input[type=submit],
.woocommerce a.button, .woocommerce button.button {
  background-color: var(--chc-gold) !important;
  border-color: var(--chc-gold) !important;
  color: #fff !important;
}
.button:hover, button:hover, input[type=submit]:hover {
  background-color: var(--chc-terra) !important;
  border-color: var(--chc-terra) !important;
  box-shadow: 0 8px 20px rgba(168, 93, 72, .22);
  transform: translateY(-1px);
}
.button.is-outline {
  background: transparent !important;
  border-color: var(--chc-blue) !important;
  color: var(--chc-blue) !important;
}

/* Secciones, tarjetas e imágenes */
.page-wrapper, .blog-wrapper { padding-top: 54px; padding-bottom: 64px; }
.section-title-container { margin-bottom: 30px; }
.section-title b { background-color: var(--chc-line); opacity: 1; }
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner,
.box {
  border-radius: 14px;
  overflow: hidden;
}
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner {
  background: #fff;
  box-shadow: var(--chc-shadow);
  height: 100%;
}
.post-item .box-text,
.row-box-shadow-1 > .col > .col-inner > .col-inner { padding: 24px; }
.entry-content img:not(.wp-smiley), .post-item img {
  border-radius: 12px;
}
input[type=text], input[type=email], input[type=tel], input[type=url],
input[type=password], textarea, select {
  border: 1px solid #D9D4C9;
  border-radius: 8px;
  background: #fff;
  min-height: 44px;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--chc-gold);
  box-shadow: 0 0 0 3px rgba(198,146,46,.15);
}

/* Sustituir superposiciones verdes residuales */
.page-id-73 .section-bg-overlay { background-color: rgba(25, 58, 90, .58) !important; }
.page-id-948 .box-overlay .overlay,
.page-id-613 .box-overlay .overlay { background-color: rgba(25, 58, 90, .42) !important; }

/* Portada: presentación y bloques principales */
.home #content > .section { background: var(--chc-white) !important; }
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  min-height: 430px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--chc-ivory);
  border-left: 4px solid var(--chc-gold);
  border-radius: 12px;
  padding: 34px !important;
  box-shadow: 0 10px 28px rgba(25,58,90,.07);
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
  grid-column: 1 / -1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  gap: 24px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
  padding: 0;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col > .col-inner {
  background: var(--chc-ivory);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  height: 100%;
  padding-bottom: 18px;
}
.home .blog-posts .post-item:only-child {
  flex-basis: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.home .row-box-shadow-1 > .col > .col-inner { border-top: 4px solid var(--chc-gold); }
.home .uxb-no-content { display: none !important; }

/* Pie de página */
#footer, .footer-wrapper { background: var(--chc-blue) !important; color: #fff; }
.absolute-footer {
  position: static !important;
  width: 100%;
  height: auto !important;
  background: var(--chc-blue) !important;
  color: rgba(255,255,255,.9) !important;
  padding: 24px 0 !important;
  line-height: 1.55;
  box-shadow: none;
}
.absolute-footer .footer-primary,
.absolute-footer a { color: #fff !important; }
.absolute-footer a:hover { color: var(--chc-gold) !important; }

/* Adaptación móvil */
@media (max-width: 849px) {
  body { font-size: 15px; }
  .header-main { min-height: 72px; }
  .header-main .nav-icon a, .header-main .icon-menu { color: var(--chc-blue) !important; }
  .off-canvas .sidebar-menu { background: var(--chc-ivory); }
  .off-canvas .nav-sidebar > li > a { color: var(--chc-blue); font-size: 15px; }
  h1, .entry-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .page-wrapper, .blog-wrapper { padding-top: 34px; padding-bottom: 44px; }
  .section { padding-top: 40px !important; padding-bottom: 40px !important; }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
    min-height: 300px;
    margin-bottom: 24px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
    padding: 24px !important;
    margin-bottom: 28px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
    margin-bottom: 22px;
  }
  .home .slider-wrapper h2 { font-size: clamp(2rem, 11vw, 3.2rem) !important; line-height: 1.05; }
  .absolute-footer { text-align: center; padding: 22px 18px !important; font-size: 13px; }
}


/* Ajuste fino: controles del encabezado y estructura real de la portada */
.header-main .button,
.header-main .nav-top-link.button,
.header-main .header-button .button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--chc-blue) !important;
  min-height: 0;
  padding: 0 !important;
  transform: none !important;
}
.header-main .nav-spacing-xlarge > li { margin: 0 6px; }
.header-main .header-inner { max-width: 100%; padding-left: 18px; padding-right: 18px; }

.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  min-height: 430px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--chc-ivory);
  border-left: 4px solid var(--chc-gold);
  border-radius: 12px;
  padding: 34px !important;
  box-shadow: 0 10px 28px rgba(25,58,90,.07);
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row {
  grid-column: 1 / -1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  gap: 24px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col { padding: 0; }
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col > .col-inner {
  background: var(--chc-ivory);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  height: 100%;
  padding-bottom: 18px;
}
@media (max-width: 849px) {
  .header-main .header-inner { padding-left: 12px; padding-right: 12px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner { display: block; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner { min-height: 300px; margin-bottom: 24px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text { padding: 24px !important; margin-bottom: 28px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row { display: block; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col { margin-bottom: 22px; }
}


/* Pulido de encabezado y presentación */
#header .header-wrapper,
#header .header-main { background-color: var(--chc-ivory) !important; }
#header .header-main a.button,
#header .header-main .header-button > a {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--chc-blue) !important;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  align-items: stretch;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
  height: 100% !important;
  min-height: 600px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text,
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text p {
  color: var(--chc-text) !important;
  font-size: 16px;
  font-weight: 400 !important;
  line-height: 1.72;
}
@media (max-width: 849px) {
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
    height: 320px !important;
    min-height: 320px;
  }
}


/* Ajustes finales de legibilidad */
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text p strong {
  font-weight: 400 !important;
}
.copyright-footer strong {
  display: block;
  font-weight: 400;
  margin-top: 8px;
  max-width: 920px;
}
.absolute-footer .footer-primary { max-width: 960px; }
.single-post .post-sidebar { display: none !important; }
.single-post .large-9,
.single-post .large-8 {
  flex-basis: 100%;
  max-width: 100%;
}
.single-post .article-inner { max-width: 980px; margin-left: auto; margin-right: auto; }
.single-post .entry-title { font-size: clamp(2rem, 4vw, 3rem); }
@media (max-width: 849px) {
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner { grid-template-columns: 1fr; }
  .copyright-footer strong { margin-top: 10px; }
}


/* Portada móvil: título y caja de texto */
@media (max-width: 849px) {
  .home .banner h2 {
    font-size: clamp(2rem, 11vw, 3.2rem) !important;
    line-height: 1.04 !important;
  }
  .home .banner .text-box { width: 90% !important; }
}
/* CHC — Sistema visual institucional global */
:root {
  --chc-blue: #193A5A;
  --chc-ivory: #F7F3EA;
  --chc-white: #FCFBF8;
  --chc-gold: #C6922E;
  --chc-terra: #A85D48;
  --chc-text: #30343B;
  --chc-line: #E2CFAB;
  --chc-shadow: 0 12px 32px rgba(25, 58, 90, .10);
}

html { background: var(--chc-white); }
body {
  background: var(--chc-white);
  color: var(--chc-text);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
#wrapper, #main, #content { background-color: var(--chc-white); }
p, li { line-height: 1.72; }
.entry-content p { margin-bottom: 1.25em; }

h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .section-title {
  color: var(--chc-blue);
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}
h1, .entry-title { font-size: clamp(2rem, 4vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
a { color: var(--chc-blue); }
a:hover { color: var(--chc-terra); }

/* Encabezado y navegación */
.header-main,
.header-wrapper.stuck .header-main,
body.home .header-main {
  background-color: var(--chc-ivory) !important;
  box-shadow: 0 4px 18px rgba(25, 58, 90, .08);
}
.header-main .nav > li > a,
.header-main .nav > li > a > i,
.header-main .header-button a {
  color: var(--chc-blue) !important;
}
.header-main .nav > li > a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.header-main .nav > li.active > a,
.header-main .nav > li.current-menu-item > a,
.header-main .nav > li > a:hover { color: var(--chc-gold) !important; }
.nav-line-bottom > li > a:before,
.nav-line-grow > li > a:before { background-color: var(--chc-gold) !important; }
.nav-dropdown {
  background: #fff;
  border: 0;
  border-top: 3px solid var(--chc-gold);
  border-radius: 0 0 10px 10px;
  box-shadow: var(--chc-shadow);
  padding: 10px;
}
.nav-dropdown > li > a {
  color: var(--chc-blue);
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 14px;
}
.nav-dropdown > li > a:hover {
  background: var(--chc-ivory);
  color: var(--chc-terra);
}

/* Botones y llamadas a la acción */
.button, button, input[type=submit], input[type=button],
.woocommerce a.button, .woocommerce button.button {
  border-radius: 8px !important;
  font-weight: 700;
  letter-spacing: .02em;
  min-height: 44px;
  padding-left: 1.45em;
  padding-right: 1.45em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button.primary, .button:not(.is-outline), input[type=submit],
.woocommerce a.button, .woocommerce button.button {
  background-color: var(--chc-gold) !important;
  border-color: var(--chc-gold) !important;
  color: #fff !important;
}
.button:hover, button:hover, input[type=submit]:hover {
  background-color: var(--chc-terra) !important;
  border-color: var(--chc-terra) !important;
  box-shadow: 0 8px 20px rgba(168, 93, 72, .22);
  transform: translateY(-1px);
}
.button.is-outline {
  background: transparent !important;
  border-color: var(--chc-blue) !important;
  color: var(--chc-blue) !important;
}

/* Secciones, tarjetas e imágenes */
.page-wrapper, .blog-wrapper { padding-top: 54px; padding-bottom: 64px; }
.section-title-container { margin-bottom: 30px; }
.section-title b { background-color: var(--chc-line); opacity: 1; }
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner,
.box {
  border-radius: 14px;
  overflow: hidden;
}
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner {
  background: #fff;
  box-shadow: var(--chc-shadow);
  height: 100%;
}
.post-item .box-text,
.row-box-shadow-1 > .col > .col-inner > .col-inner { padding: 24px; }
.entry-content img:not(.wp-smiley), .post-item img {
  border-radius: 12px;
}
input[type=text], input[type=email], input[type=tel], input[type=url],
input[type=password], textarea, select {
  border: 1px solid #D9D4C9;
  border-radius: 8px;
  background: #fff;
  min-height: 44px;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--chc-gold);
  box-shadow: 0 0 0 3px rgba(198,146,46,.15);
}

/* Sustituir superposiciones verdes residuales */
.page-id-73 .section-bg-overlay { background-color: rgba(25, 58, 90, .58) !important; }
.page-id-948 .box-overlay .overlay,
.page-id-613 .box-overlay .overlay { background-color: rgba(25, 58, 90, .42) !important; }

/* Portada: presentación y bloques principales */
.home #content > .section { background: var(--chc-white) !important; }
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  min-height: 430px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--chc-ivory);
  border-left: 4px solid var(--chc-gold);
  border-radius: 12px;
  padding: 34px !important;
  box-shadow: 0 10px 28px rgba(25,58,90,.07);
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
  grid-column: 1 / -1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  gap: 24px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
  padding: 0;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col > .col-inner {
  background: var(--chc-ivory);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  height: 100%;
  padding-bottom: 18px;
}
.home .blog-posts .post-item:only-child {
  flex-basis: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.home .row-box-shadow-1 > .col > .col-inner { border-top: 4px solid var(--chc-gold); }
.home .uxb-no-content { display: none !important; }

/* Pie de página */
#footer, .footer-wrapper { background: var(--chc-blue) !important; color: #fff; }
.absolute-footer {
  position: static !important;
  width: 100%;
  height: auto !important;
  background: var(--chc-blue) !important;
  color: rgba(255,255,255,.9) !important;
  padding: 24px 0 !important;
  line-height: 1.55;
  box-shadow: none;
}
.absolute-footer .footer-primary,
.absolute-footer a { color: #fff !important; }
.absolute-footer a:hover { color: var(--chc-gold) !important; }

/* Adaptación móvil */
@media (max-width: 849px) {
  body { font-size: 15px; }
  .header-main { min-height: 72px; }
  .header-main .nav-icon a, .header-main .icon-menu { color: var(--chc-blue) !important; }
  .off-canvas .sidebar-menu { background: var(--chc-ivory); }
  .off-canvas .nav-sidebar > li > a { color: var(--chc-blue); font-size: 15px; }
  h1, .entry-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .page-wrapper, .blog-wrapper { padding-top: 34px; padding-bottom: 44px; }
  .section { padding-top: 40px !important; padding-bottom: 40px !important; }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
    min-height: 300px;
    margin-bottom: 24px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
    padding: 24px !important;
    margin-bottom: 28px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
    margin-bottom: 22px;
  }
  .home .slider-wrapper h2 { font-size: clamp(2rem, 11vw, 3.2rem) !important; line-height: 1.05; }
  .absolute-footer { text-align: center; padding: 22px 18px !important; font-size: 13px; }
}


/* Ajuste fino: controles del encabezado y estructura real de la portada */
.header-main .button,
.header-main .nav-top-link.button,
.header-main .header-button .button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--chc-blue) !important;
  min-height: 0;
  padding: 0 !important;
  transform: none !important;
}
.header-main .nav-spacing-xlarge > li { margin: 0 6px; }
.header-main .header-inner { max-width: 100%; padding-left: 18px; padding-right: 18px; }

.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  min-height: 430px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--chc-ivory);
  border-left: 4px solid var(--chc-gold);
  border-radius: 12px;
  padding: 34px !important;
  box-shadow: 0 10px 28px rgba(25,58,90,.07);
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row {
  grid-column: 1 / -1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  gap: 24px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col { padding: 0; }
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col > .col-inner {
  background: var(--chc-ivory);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  height: 100%;
  padding-bottom: 18px;
}
@media (max-width: 849px) {
  .header-main .header-inner { padding-left: 12px; padding-right: 12px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner { display: block; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner { min-height: 300px; margin-bottom: 24px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text { padding: 24px !important; margin-bottom: 28px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row { display: block; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col { margin-bottom: 22px; }
}
/* CHC — Sistema visual institucional global */
:root {
  --chc-blue: #193A5A;
  --chc-ivory: #F7F3EA;
  --chc-white: #FCFBF8;
  --chc-gold: #C6922E;
  --chc-terra: #A85D48;
  --chc-text: #30343B;
  --chc-line: #E2CFAB;
  --chc-shadow: 0 12px 32px rgba(25, 58, 90, .10);
}

html { background: var(--chc-white); }
body {
  background: var(--chc-white);
  color: var(--chc-text);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
#wrapper, #main, #content { background-color: var(--chc-white); }
p, li { line-height: 1.72; }
.entry-content p { margin-bottom: 1.25em; }

h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .section-title {
  color: var(--chc-blue);
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}
h1, .entry-title { font-size: clamp(2rem, 4vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
a { color: var(--chc-blue); }
a:hover { color: var(--chc-terra); }

/* Encabezado y navegación */
.header-main,
.header-wrapper.stuck .header-main,
body.home .header-main {
  background-color: var(--chc-ivory) !important;
  box-shadow: 0 4px 18px rgba(25, 58, 90, .08);
}
.header-main .nav > li > a,
.header-main .nav > li > a > i,
.header-main .header-button a {
  color: var(--chc-blue) !important;
}
.header-main .nav > li > a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.header-main .nav > li.active > a,
.header-main .nav > li.current-menu-item > a,
.header-main .nav > li > a:hover { color: var(--chc-gold) !important; }
.nav-line-bottom > li > a:before,
.nav-line-grow > li > a:before { background-color: var(--chc-gold) !important; }
.nav-dropdown {
  background: #fff;
  border: 0;
  border-top: 3px solid var(--chc-gold);
  border-radius: 0 0 10px 10px;
  box-shadow: var(--chc-shadow);
  padding: 10px;
}
.nav-dropdown > li > a {
  color: var(--chc-blue);
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 14px;
}
.nav-dropdown > li > a:hover {
  background: var(--chc-ivory);
  color: var(--chc-terra);
}

/* Botones y llamadas a la acción */
.button, button, input[type=submit], input[type=button],
.woocommerce a.button, .woocommerce button.button {
  border-radius: 8px !important;
  font-weight: 700;
  letter-spacing: .02em;
  min-height: 44px;
  padding-left: 1.45em;
  padding-right: 1.45em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button.primary, .button:not(.is-outline), input[type=submit],
.woocommerce a.button, .woocommerce button.button {
  background-color: var(--chc-gold) !important;
  border-color: var(--chc-gold) !important;
  color: #fff !important;
}
.button:hover, button:hover, input[type=submit]:hover {
  background-color: var(--chc-terra) !important;
  border-color: var(--chc-terra) !important;
  box-shadow: 0 8px 20px rgba(168, 93, 72, .22);
  transform: translateY(-1px);
}
.button.is-outline {
  background: transparent !important;
  border-color: var(--chc-blue) !important;
  color: var(--chc-blue) !important;
}

/* Secciones, tarjetas e imágenes */
.page-wrapper, .blog-wrapper { padding-top: 54px; padding-bottom: 64px; }
.section-title-container { margin-bottom: 30px; }
.section-title b { background-color: var(--chc-line); opacity: 1; }
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner,
.box {
  border-radius: 14px;
  overflow: hidden;
}
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner {
  background: #fff;
  box-shadow: var(--chc-shadow);
  height: 100%;
}
.post-item .box-text,
.row-box-shadow-1 > .col > .col-inner > .col-inner { padding: 24px; }
.entry-content img:not(.wp-smiley), .post-item img {
  border-radius: 12px;
}
input[type=text], input[type=email], input[type=tel], input[type=url],
input[type=password], textarea, select {
  border: 1px solid #D9D4C9;
  border-radius: 8px;
  background: #fff;
  min-height: 44px;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--chc-gold);
  box-shadow: 0 0 0 3px rgba(198,146,46,.15);
}

/* Sustituir superposiciones verdes residuales */
.page-id-73 .section-bg-overlay { background-color: rgba(25, 58, 90, .58) !important; }
.page-id-948 .box-overlay .overlay,
.page-id-613 .box-overlay .overlay { background-color: rgba(25, 58, 90, .42) !important; }

/* Portada: presentación y bloques principales */
.home #content > .section { background: var(--chc-white) !important; }
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  min-height: 430px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--chc-ivory);
  border-left: 4px solid var(--chc-gold);
  border-radius: 12px;
  padding: 34px !important;
  box-shadow: 0 10px 28px rgba(25,58,90,.07);
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
  grid-column: 1 / -1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  gap: 24px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
  padding: 0;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col > .col-inner {
  background: var(--chc-ivory);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  height: 100%;
  padding-bottom: 18px;
}
.home .blog-posts .post-item:only-child {
  flex-basis: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.home .row-box-shadow-1 > .col > .col-inner { border-top: 4px solid var(--chc-gold); }
.home .uxb-no-content { display: none !important; }

/* Pie de página */
#footer, .footer-wrapper { background: var(--chc-blue) !important; color: #fff; }
.absolute-footer {
  position: static !important;
  width: 100%;
  height: auto !important;
  background: var(--chc-blue) !important;
  color: rgba(255,255,255,.9) !important;
  padding: 24px 0 !important;
  line-height: 1.55;
  box-shadow: none;
}
.absolute-footer .footer-primary,
.absolute-footer a { color: #fff !important; }
.absolute-footer a:hover { color: var(--chc-gold) !important; }

/* Adaptación móvil */
@media (max-width: 849px) {
  body { font-size: 15px; }
  .header-main { min-height: 72px; }
  .header-main .nav-icon a, .header-main .icon-menu { color: var(--chc-blue) !important; }
  .off-canvas .sidebar-menu { background: var(--chc-ivory); }
  .off-canvas .nav-sidebar > li > a { color: var(--chc-blue); font-size: 15px; }
  h1, .entry-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .page-wrapper, .blog-wrapper { padding-top: 34px; padding-bottom: 44px; }
  .section { padding-top: 40px !important; padding-bottom: 40px !important; }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
    min-height: 300px;
    margin-bottom: 24px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
    padding: 24px !important;
    margin-bottom: 28px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
    margin-bottom: 22px;
  }
  .home .slider-wrapper h2 { font-size: clamp(2rem, 11vw, 3.2rem) !important; line-height: 1.05; }
  .absolute-footer { text-align: center; padding: 22px 18px !important; font-size: 13px; }
}


/* Ajuste fino: controles del encabezado y estructura real de la portada */
.header-main .button,
.header-main .nav-top-link.button,
.header-main .header-button .button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--chc-blue) !important;
  min-height: 0;
  padding: 0 !important;
  transform: none !important;
}
.header-main .nav-spacing-xlarge > li { margin: 0 6px; }
.header-main .header-inner { max-width: 100%; padding-left: 18px; padding-right: 18px; }

.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  min-height: 430px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--chc-ivory);
  border-left: 4px solid var(--chc-gold);
  border-radius: 12px;
  padding: 34px !important;
  box-shadow: 0 10px 28px rgba(25,58,90,.07);
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row {
  grid-column: 1 / -1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  gap: 24px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col { padding: 0; }
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col > .col-inner {
  background: var(--chc-ivory);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  height: 100%;
  padding-bottom: 18px;
}
@media (max-width: 849px) {
  .header-main .header-inner { padding-left: 12px; padding-right: 12px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner { display: block; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner { min-height: 300px; margin-bottom: 24px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text { padding: 24px !important; margin-bottom: 28px; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row { display: block; }
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .row > .col { margin-bottom: 22px; }
}


/* Pulido de encabezado y presentación */
#header .header-wrapper,
#header .header-main { background-color: var(--chc-ivory) !important; }
#header .header-main a.button,
#header .header-main .header-button > a {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--chc-blue) !important;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner {
  align-items: stretch;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
  height: 100% !important;
  min-height: 600px;
}
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text,
.home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .text p {
  color: var(--chc-text) !important;
  font-size: 16px;
  font-weight: 400 !important;
  line-height: 1.72;
}
@media (max-width: 849px) {
  .home #content > .section > .section-content > .row.align-middle > .col > .col-inner > .banner {
    height: 320px !important;
    min-height: 320px;
  }
}
/* CHC — Sistema visual institucional global */
:root {
  --chc-blue: #193A5A;
  --chc-ivory: #F7F3EA;
  --chc-white: #FCFBF8;
  --chc-gold: #C6922E;
  --chc-terra: #A85D48;
  --chc-text: #30343B;
  --chc-line: #E2CFAB;
  --chc-shadow: 0 12px 32px rgba(25, 58, 90, .10);
}

html { background: var(--chc-white); }
body {
  background: var(--chc-white);
  color: var(--chc-text);
  font-size: 16px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}
#wrapper, #main, #content { background-color: var(--chc-white); }
p, li { line-height: 1.72; }
.entry-content p { margin-bottom: 1.25em; }

h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .section-title {
  color: var(--chc-blue);
  font-family: Lato, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}
h1, .entry-title { font-size: clamp(2rem, 4vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
a { color: var(--chc-blue); }
a:hover { color: var(--chc-terra); }

/* Encabezado y navegación */
.header-main,
.header-wrapper.stuck .header-main,
body.home .header-main {
  background-color: var(--chc-ivory) !important;
  box-shadow: 0 4px 18px rgba(25, 58, 90, .08);
}
.header-main .nav > li > a,
.header-main .nav > li > a > i,
.header-main .header-button a {
  color: var(--chc-blue) !important;
}
.header-main .nav > li > a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
}
.header-main .nav > li.active > a,
.header-main .nav > li.current-menu-item > a,
.header-main .nav > li > a:hover { color: var(--chc-gold) !important; }
.nav-line-bottom > li > a:before,
.nav-line-grow > li > a:before { background-color: var(--chc-gold) !important; }
.nav-dropdown {
  background: #fff;
  border: 0;
  border-top: 3px solid var(--chc-gold);
  border-radius: 0 0 10px 10px;
  box-shadow: var(--chc-shadow);
  padding: 10px;
}
.nav-dropdown > li > a {
  color: var(--chc-blue);
  font-size: 14px;
  line-height: 1.35;
  padding: 10px 14px;
}
.nav-dropdown > li > a:hover {
  background: var(--chc-ivory);
  color: var(--chc-terra);
}

/* Botones y llamadas a la acción */
.button, button, input[type=submit], input[type=button],
.woocommerce a.button, .woocommerce button.button {
  border-radius: 8px !important;
  font-weight: 700;
  letter-spacing: .02em;
  min-height: 44px;
  padding-left: 1.45em;
  padding-right: 1.45em;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.button.primary, .button:not(.is-outline), input[type=submit],
.woocommerce a.button, .woocommerce button.button {
  background-color: var(--chc-gold) !important;
  border-color: var(--chc-gold) !important;
  color: #fff !important;
}
.button:hover, button:hover, input[type=submit]:hover {
  background-color: var(--chc-terra) !important;
  border-color: var(--chc-terra) !important;
  box-shadow: 0 8px 20px rgba(168, 93, 72, .22);
  transform: translateY(-1px);
}
.button.is-outline {
  background: transparent !important;
  border-color: var(--chc-blue) !important;
  color: var(--chc-blue) !important;
}

/* Secciones, tarjetas e imágenes */
.page-wrapper, .blog-wrapper { padding-top: 54px; padding-bottom: 64px; }
.section-title-container { margin-bottom: 30px; }
.section-title b { background-color: var(--chc-line); opacity: 1; }
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner,
.box {
  border-radius: 14px;
  overflow: hidden;
}
.post-item > .col-inner,
.row-box-shadow-1 > .col > .col-inner {
  background: #fff;
  box-shadow: var(--chc-shadow);
  height: 100%;
}
.post-item .box-text,
.row-box-shadow-1 > .col > .col-inner > .col-inner { padding: 24px; }
.entry-content img:not(.wp-smiley), .post-item img {
  border-radius: 12px;
}
input[type=text], input[type=email], input[type=tel], input[type=url],
input[type=password], textarea, select {
  border: 1px solid #D9D4C9;
  border-radius: 8px;
  background: #fff;
  min-height: 44px;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--chc-gold);
  box-shadow: 0 0 0 3px rgba(198,146,46,.15);
}

/* Sustituir superposiciones verdes residuales */
.page-id-73 .section-bg-overlay { background-color: rgba(25, 58, 90, .58) !important; }
.page-id-948 .box-overlay .overlay,
.page-id-613 .box-overlay .overlay { background-color: rgba(25, 58, 90, .42) !important; }

/* Portada: presentación y bloques principales */
.home #content > .section { background: var(--chc-white) !important; }
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: 42px;
  align-items: center;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  min-height: 430px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  background: var(--chc-ivory);
  border-left: 4px solid var(--chc-gold);
  border-radius: 12px;
  padding: 34px !important;
  box-shadow: 0 10px 28px rgba(25,58,90,.07);
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
  grid-column: 1 / -1;
  width: auto;
  margin-left: 0;
  margin-right: 0;
  gap: 24px;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
  padding: 0;
}
.home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col > .col-inner {
  background: var(--chc-ivory);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--chc-shadow);
  height: 100%;
  padding-bottom: 18px;
}
.home .blog-posts .post-item:only-child {
  flex-basis: 100%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.home .row-box-shadow-1 > .col > .col-inner { border-top: 4px solid var(--chc-gold); }
.home .uxb-no-content { display: none !important; }

/* Pie de página */
#footer, .footer-wrapper { background: var(--chc-blue) !important; color: #fff; }
.absolute-footer {
  position: static !important;
  width: 100%;
  height: auto !important;
  background: var(--chc-blue) !important;
  color: rgba(255,255,255,.9) !important;
  padding: 24px 0 !important;
  line-height: 1.55;
  box-shadow: none;
}
.absolute-footer .footer-primary,
.absolute-footer a { color: #fff !important; }
.absolute-footer a:hover { color: var(--chc-gold) !important; }

/* Adaptación móvil */
@media (max-width: 849px) {
  body { font-size: 15px; }
  .header-main { min-height: 72px; }
  .header-main .nav-icon a, .header-main .icon-menu { color: var(--chc-blue) !important; }
  .off-canvas .sidebar-menu { background: var(--chc-ivory); }
  .off-canvas .nav-sidebar > li > a { color: var(--chc-blue); font-size: 15px; }
  h1, .entry-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
  .page-wrapper, .blog-wrapper { padding-top: 34px; padding-bottom: 44px; }
  .section { padding-top: 40px !important; padding-bottom: 40px !important; }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .banner {
    min-height: 300px;
    margin-bottom: 24px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .text {
    padding: 24px !important;
    margin-bottom: 28px;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row {
    display: block;
  }
  .home #content > .section > .section-content > .row:first-of-type > .col > .col-inner > .row > .col {
    margin-bottom: 22px;
  }
  .home .slider-wrapper h2 { font-size: clamp(2rem, 11vw, 3.2rem) !important; line-height: 1.05; }
  .absolute-footer { text-align: center; padding: 22px 18px !important; font-size: 13px; }
}
