:root {
  --cca-ink: #12355b;
  --cca-ink-deep: #0a243f;
  --cca-turquoise: #0f7773;
  --cca-turquoise-soft: #dff3f0;
  --cca-coral: #f06449;
  --cca-coral-soft: #fff0eb;
  --cca-yellow: #ffca3a;
  --cca-paper: #f4f9f8;
  --cca-white: #ffffff;
  --cca-muted: #607482;
  --cca-line: #d8e7e5;
  --cca-serif: Georgia, "Times New Roman", serif;
  --cca-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cca-shadow: 0 18px 48px rgba(10, 36, 63, .09);
}

body:not(.home) {
  color: var(--cca-ink-deep);
  background: var(--cca-paper);
  font-family: var(--cca-sans);
  font-size: 16px;
  line-height: 1.7;
}

body:not(.home) a { color: var(--cca-turquoise); }
body:not(.home) a:hover { color: var(--cca-coral); }
body:not(.home) h1,
body:not(.home) h2,
body:not(.home) h3,
body:not(.home) h4 { color: var(--cca-ink-deep); }

/* Cabecera global */
body:not(.home) #masthead {
  position: sticky;
  top: 0;
  z-index: 99;
  padding: 12px 0;
  background: rgba(237, 244, 245, .94);
  backdrop-filter: blur(18px) saturate(1.2);
}

.admin-bar:not(.home) #masthead { top: 32px; }
body:not(.home) .ast-above-header-wrap,
body:not(.home) .ast-below-header-wrap { display: none !important; }
body:not(.home) .main-header-bar { border: 0; background: transparent; }
body:not(.home) .main-header-bar .ast-container {
  width: min(1460px, calc(100% - 30px));
  max-width: none;
  min-height: 84px;
  padding: 10px 22px;
  background: var(--cca-white);
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 24px;
  box-shadow: 0 10px 34px rgba(10, 36, 63, .09);
}

body:not(.home) .site-branding { padding: 0; }
body:not(.home) .site-logo-img { padding: 0; }
body:not(.home) .cca-custom-logo-link { display: block; }
body:not(.home) .cca-custom-logo {
  width: 210px;
  max-height: 92px;
  object-fit: contain;
}

body:not(.home) .main-header-menu { gap: 2px; }
body:not(.home) .main-header-menu > .menu-item > .menu-link {
  min-height: 46px;
  padding: 0 11px;
  color: var(--cca-ink-deep);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  transition: color .2s, background .2s, transform .2s;
}

body:not(.home) .main-header-menu > .menu-item > .menu-link:hover,
body:not(.home) .main-header-menu > .current-menu-item > .menu-link,
body:not(.home) .main-header-menu > .current-menu-ancestor > .menu-link {
  color: var(--cca-white);
  background: var(--cca-turquoise);
  transform: translateY(-1px);
}

body:not(.home) .main-header-menu .sub-menu {
  padding: 10px;
  background: var(--cca-white);
  border: 1px solid var(--cca-line);
  border-radius: 18px;
  box-shadow: var(--cca-shadow);
}

body:not(.home) .main-header-menu .sub-menu .menu-link {
  padding: 10px 12px;
  color: var(--cca-ink-deep);
  border-radius: 10px;
  font-size: 13px;
}

body:not(.home) .main-header-menu .sub-menu .menu-link:hover {
  color: var(--cca-white);
  background: var(--cca-turquoise);
}

body:not(.home) .ast-header-break-point .main-header-menu,
body:not(.home) .ast-header-break-point .main-navigation { background: var(--cca-white); }
body:not(.home) .ast-button-wrap .menu-toggle {
  color: var(--cca-ink-deep);
  background: #fff7d9;
  border: 2px solid var(--cca-yellow);
  border-radius: 999px;
}

@media (min-width: 922px) {
  body:not(.home) .main-header-container {
    display: grid !important;
    grid-template-columns: 215px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
  }

  body:not(.home) .site-branding { grid-column: 1; width: auto; }
  body:not(.home) .ast-main-header-bar-alignment {
    grid-column: 2;
    width: 100%;
    margin: 0 !important;
  }

  body:not(.home) .main-header-menu {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 2px;
  }
}

/* Contenido */
body:not(.home) #content { padding: 42px 0 64px; background: var(--cca-paper); }
body:not(.home) #content > .ast-container { max-width: 1240px; gap: 28px; }
body:not(.home) .content-area { min-width: 0; }

body:not(.home) .entry-title,
body:not(.home) .page-title,
body:not(.home) .ast-archive-title {
  font-family: var(--cca-serif);
  letter-spacing: -.025em;
  line-height: 1.08;
}

body:not(.home) .entry-title a { color: var(--cca-ink-deep); }
body:not(.home) .entry-title a:hover { color: var(--cca-coral); }
body:not(.home) .entry-meta,
body:not(.home) .entry-meta * { color: var(--cca-muted); }

body:not(.home) .ast-row > article,
body:not(.home) article.ast-article-post,
body:not(.home) article.ast-article-single {
  overflow: hidden;
  background: var(--cca-white);
  border: 1px solid var(--cca-line);
  border-radius: 26px;
  box-shadow: 0 12px 36px rgba(10, 36, 63, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.blog:not(.home) article.ast-article-post:hover,
body.archive:not(.home) article.ast-article-post:hover {
  border-color: rgba(15, 119, 115, .35);
  box-shadow: var(--cca-shadow);
  transform: translateY(-4px);
}

body:not(.home) article .post-content { padding: 0 24px 26px; }
body:not(.home) article .ast-blog-featured-section { margin: 0 -24px 24px; }
body:not(.home) article .ast-blog-featured-section img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

body:not(.home) article:hover .ast-blog-featured-section img { transform: scale(1.025); }
body:not(.home) .ast-excerpt-container { color: #3d5963; }
body:not(.home) .ast-read-more-container .ast-button,
body:not(.home) .wp-block-button__link,
body:not(.home) input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  color: var(--cca-white) !important;
  background: var(--cca-turquoise) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(15, 119, 115, .17);
}

body:not(.home) .ast-read-more-container .ast-button:hover,
body:not(.home) .wp-block-button__link:hover,
body:not(.home) input[type="submit"]:hover {
  color: var(--cca-white) !important;
  background: var(--cca-coral) !important;
}

body:not(.home) .post-filter-buttons,
body:not(.home) .post-filters ul,
body:not(.home) .ast-post-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

body:not(.home) .post-filter-buttons a,
body:not(.home) .post-filters a,
body:not(.home) .ast-post-filter .ast-post-filter-single.ast-button {
  padding: 8px 13px;
  color: var(--cca-ink-deep);
  background: var(--cca-white);
  border: 1px solid var(--cca-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  box-shadow: none;
}

body:not(.home) .post-filter-buttons a:hover,
body:not(.home) .post-filters a:hover,
body:not(.home) .ast-post-filter .ast-post-filter-single.ast-button:hover {
  color: var(--cca-white);
  background: var(--cca-coral);
  border-color: var(--cca-coral);
}

body:not(.home) .ast-post-filter .ast-post-filter-single.ast-button.active {
  color: var(--cca-white) !important;
  background: var(--cca-coral) !important;
  border-color: var(--cca-coral) !important;
}

/* Barra lateral */
body:not(.home) #secondary { padding-left: 0; }
body:not(.home) #secondary .widget {
  margin: 0 0 18px;
  padding: 22px;
  background: var(--cca-white);
  border: 1px solid var(--cca-line);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(10, 36, 63, .06);
}

body:not(.home) #secondary .widget-title,
body:not(.home) #secondary h2 {
  margin: 0 0 14px;
  color: var(--cca-ink-deep);
  font-family: var(--cca-serif);
  font-size: 1.35rem;
}

body:not(.home) input[type="text"],
body:not(.home) input[type="search"],
body:not(.home) input[type="email"],
body:not(.home) textarea,
body:not(.home) select {
  min-height: 46px;
  color: var(--cca-ink-deep);
  background: var(--cca-white);
  border: 1px solid #bdd4d3;
  border-radius: 12px;
}

body:not(.home) input:focus,
body:not(.home) textarea:focus,
body:not(.home) select:focus {
  border-color: var(--cca-turquoise);
  box-shadow: 0 0 0 3px rgba(15, 119, 115, .12);
}

body:not(.home) .search-form { display: flex; align-items: stretch; }
body:not(.home) .search-form label { flex: 1; min-width: 0; }
body:not(.home) .search-form .search-field { width: 100%; border-radius: 12px 0 0 12px; }
body:not(.home) .search-form .search-submit {
  width: 76px;
  min-width: 76px;
  min-height: 46px;
  padding: 0 !important;
  font-size: 12px;
  border-radius: 0 12px 12px 0 !important;
  box-shadow: none !important;
}

/* Paginación y utilidades */
body:not(.home) .ast-pagination { margin-top: 28px; }
body:not(.home) .ast-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--cca-ink-deep);
  background: var(--cca-white);
  border: 1px solid var(--cca-line);
  border-radius: 50%;
}

body:not(.home) .ast-pagination .page-numbers.current,
body:not(.home) .ast-pagination a.page-numbers:hover {
  color: var(--cca-white);
  background: var(--cca-coral);
  border-color: var(--cca-coral);
}

body:not(.home) #ast-scroll-top {
  color: var(--cca-white);
  background: var(--cca-coral);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(240, 100, 73, .25);
}

/* Pie integrado: conserva sus tarjetas y logos */
body:not(.home) .site-footer {
  padding: 34px 0 0;
  color: var(--cca-ink-deep);
  background: #dff3f0;
  border-top: 5px solid var(--cca-yellow);
}

body:not(.home) .site-footer .footer-adv-overlay,
body:not(.home) .site-footer .ast-footer-overlay,
body:not(.home) .site-footer .ast-small-footer,
body:not(.home) .site-footer #block-23,
body:not(.home) .site-footer #block-14,
body:not(.home) .site-footer #block-17,
body:not(.home) .site-footer #block-6,
body:not(.home) .site-footer #block-7 {
  background-image: none !important;
}

body:not(.home) .site-footer #block-23 {
  background: var(--cca-turquoise) !important;
  border: 3px solid var(--cca-yellow) !important;
  border-radius: 28px !important;
  box-shadow: 0 14px 34px rgba(10, 36, 63, .14) !important;
}

body:not(.home) .site-footer #block-14 {
  background: var(--cca-coral) !important;
  border: 3px solid var(--cca-yellow) !important;
  border-radius: 24px !important;
}

body:not(.home) .site-footer .footer-links-grid a {
  background: var(--cca-white) !important;
  border-color: rgba(18, 53, 91, .12) !important;
  border-radius: 14px !important;
}

body:not(.home) .site-footer .footer-links-grid a:hover {
  color: var(--cca-ink-deep) !important;
  background: #fff7d9 !important;
  border-color: var(--cca-yellow) !important;
}

body:not(.home) .site-footer .ast-small-footer,
body:not(.home) .site-footer .ast-footer-overlay { background: var(--cca-ink-deep) !important; }
body:not(.home) .site-footer .ast-small-footer,
body:not(.home) .site-footer .ast-small-footer a { color: var(--cca-white); }

@media (max-width: 1180px) {
  body:not(.home) .main-header-bar .ast-container { width: min(100% - 24px, 980px); }
  body:not(.home) .cca-custom-logo { width: 185px; }
}

@media (max-width: 921px) {
  body:not(.home) #masthead { padding: 8px 0; }
  .admin-bar:not(.home) #masthead { top: 46px; }
  body:not(.home) .main-header-bar .ast-container { min-height: 72px; padding: 8px 16px; border-radius: 20px; }
  body:not(.home) .cca-custom-logo { width: 165px; max-height: 74px; }
  body:not(.home) .main-header-menu > .menu-item > .menu-link { border-radius: 12px; }
  body:not(.home) #content { padding-top: 26px; }
}

@media (max-width: 782px) {
  .admin-bar:not(.home) #masthead { top: 46px; }
}

@media (max-width: 544px) {
  body:not(.home) .main-header-bar .ast-container { width: calc(100% - 16px); }
  body:not(.home) .cca-custom-logo { width: 145px; }
  body:not(.home) #content { padding: 18px 0 42px; }
  body:not(.home) #content > .ast-container { padding: 0 12px; }
  body:not(.home) .ast-row > article,
  body:not(.home) article.ast-article-post,
  body:not(.home) article.ast-article-single { border-radius: 20px; }
  body:not(.home) article .post-content { padding: 0 18px 22px; }
  body:not(.home) article .ast-blog-featured-section { margin: 0 -18px 20px; }
  body:not(.home) #secondary .widget { padding: 18px; border-radius: 18px; }
  body:not(.home) .site-footer #block-23 { border-radius: 20px !important; }
}
:root {
  --cca-ink: #12355b;
  --cca-ink-deep: #0a243f;
  --cca-turquoise: #0f7773;
  --cca-turquoise-soft: #dff3f0;
  --cca-coral: #f06449;
  --cca-coral-soft: #fff0eb;
  --cca-yellow: #ffca3a;
  --cca-paper: #f4f9f8;
  --cca-white: #ffffff;
  --cca-muted: #607482;
  --cca-line: #d8e7e5;
  --cca-serif: Georgia, "Times New Roman", serif;
  --cca-sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cca-shadow: 0 18px 48px rgba(10, 36, 63, .09);
}

body:not(.home) {
  color: var(--cca-ink-deep);
  background: var(--cca-paper);
  font-family: var(--cca-sans);
  font-size: 16px;
  line-height: 1.7;
}

body:not(.home) a { color: var(--cca-turquoise); }
body:not(.home) a:hover { color: var(--cca-coral); }
body:not(.home) h1,
body:not(.home) h2,
body:not(.home) h3,
body:not(.home) h4 { color: var(--cca-ink-deep); }

/* Cabecera global */
body:not(.home) #masthead {
  position: sticky;
  top: 0;
  z-index: 99;
  padding: 12px 0;
  background: rgba(237, 244, 245, .94);
  backdrop-filter: blur(18px) saturate(1.2);
}

.admin-bar:not(.home) #masthead { top: 32px; }
body:not(.home) .ast-above-header-wrap,
body:not(.home) .ast-below-header-wrap { display: none !important; }
body:not(.home) .main-header-bar { border: 0; background: transparent; }
body:not(.home) .main-header-bar .ast-container {
  width: min(1460px, calc(100% - 30px));
  max-width: none;
  min-height: 84px;
  padding: 10px 22px;
  background: var(--cca-white);
  border: 1px solid rgba(255, 255, 255, .96);
  border-radius: 24px;
  box-shadow: 0 10px 34px rgba(10, 36, 63, .09);
}

body:not(.home) .site-branding { padding: 0; }
body:not(.home) .site-logo-img { padding: 0; }
body:not(.home) .cca-custom-logo-link { display: block; }
body:not(.home) .cca-custom-logo {
  width: 210px;
  max-height: 92px;
  object-fit: contain;
}

body:not(.home) .main-header-menu { gap: 2px; }
body:not(.home) .main-header-menu > .menu-item > .menu-link {
  min-height: 46px;
  padding: 0 11px;
  color: var(--cca-ink-deep);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.2;
  transition: color .2s, background .2s, transform .2s;
}

body:not(.home) .main-header-menu > .menu-item > .menu-link:hover,
body:not(.home) .main-header-menu > .current-menu-item > .menu-link,
body:not(.home) .main-header-menu > .current-menu-ancestor > .menu-link {
  color: var(--cca-white);
  background: var(--cca-turquoise);
  transform: translateY(-1px);
}

body:not(.home) .main-header-menu .sub-menu {
  padding: 10px;
  background: var(--cca-white);
  border: 1px solid var(--cca-line);
  border-radius: 18px;
  box-shadow: var(--cca-shadow);
}

body:not(.home) .main-header-menu .sub-menu .menu-link {
  padding: 10px 12px;
  color: var(--cca-ink-deep);
  border-radius: 10px;
  font-size: 13px;
}

body:not(.home) .main-header-menu .sub-menu .menu-link:hover {
  color: var(--cca-white);
  background: var(--cca-turquoise);
}

body:not(.home) .ast-header-break-point .main-header-menu,
body:not(.home) .ast-header-break-point .main-navigation { background: var(--cca-white); }
body:not(.home) .ast-button-wrap .menu-toggle {
  color: var(--cca-ink-deep);
  background: #fff7d9;
  border: 2px solid var(--cca-yellow);
  border-radius: 999px;
}

@media (min-width: 922px) {
  body:not(.home) .main-header-container {
    display: grid !important;
    grid-template-columns: 215px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
  }

  body:not(.home) .site-branding { grid-column: 1; width: auto; }
  body:not(.home) .ast-main-header-bar-alignment {
    grid-column: 2;
    width: 100%;
    margin: 0 !important;
  }

  body:not(.home) .main-header-menu {
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 2px;
  }
}

/* Contenido */
body:not(.home) #content { padding: 42px 0 64px; background: var(--cca-paper); }
body:not(.home) #content > .ast-container { max-width: 1240px; gap: 28px; }
body:not(.home) .content-area { min-width: 0; }

body:not(.home) .entry-title,
body:not(.home) .page-title,
body:not(.home) .ast-archive-title {
  font-family: var(--cca-serif);
  letter-spacing: -.025em;
  line-height: 1.08;
}

body:not(.home) .entry-title a { color: var(--cca-ink-deep); }
body:not(.home) .entry-title a:hover { color: var(--cca-coral); }
body:not(.home) .entry-meta,
body:not(.home) .entry-meta * { color: var(--cca-muted); }

body:not(.home) .ast-row > article,
body:not(.home) article.ast-article-post,
body:not(.home) article.ast-article-single {
  overflow: hidden;
  background: var(--cca-white);
  border: 1px solid var(--cca-line);
  border-radius: 26px;
  box-shadow: 0 12px 36px rgba(10, 36, 63, .07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.blog:not(.home) article.ast-article-post:hover,
body.archive:not(.home) article.ast-article-post:hover {
  border-color: rgba(15, 119, 115, .35);
  box-shadow: var(--cca-shadow);
  transform: translateY(-4px);
}

body:not(.home) article .post-content { padding: 0 24px 26px; }
body:not(.home) article .ast-blog-featured-section { margin: 0 -24px 24px; }
body:not(.home) article .ast-blog-featured-section img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}

body:not(.home) article:hover .ast-blog-featured-section img { transform: scale(1.025); }
body:not(.home) .ast-excerpt-container { color: #3d5963; }
body:not(.home) .ast-read-more-container .ast-button,
body:not(.home) .wp-block-button__link,
body:not(.home) input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  color: var(--cca-white) !important;
  background: var(--cca-turquoise) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(15, 119, 115, .17);
}

body:not(.home) .ast-read-more-container .ast-button:hover,
body:not(.home) .wp-block-button__link:hover,
body:not(.home) input[type="submit"]:hover {
  color: var(--cca-white) !important;
  background: var(--cca-coral) !important;
}

body:not(.home) .post-filter-buttons,
body:not(.home) .post-filters ul,
body:not(.home) .ast-post-filter ul {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

body:not(.home) .post-filter-buttons a,
body:not(.home) .post-filters a,
body:not(.home) .ast-post-filter .ast-post-filter-single.ast-button {
  padding: 8px 13px;
  color: var(--cca-ink-deep);
  background: var(--cca-white);
  border: 1px solid var(--cca-line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  box-shadow: none;
}

body:not(.home) .post-filter-buttons a:hover,
body:not(.home) .post-filters a:hover,
body:not(.home) .ast-post-filter .ast-post-filter-single.ast-button:hover {
  color: var(--cca-white);
  background: var(--cca-coral);
  border-color: var(--cca-coral);
}

body:not(.home) .ast-post-filter .ast-post-filter-single.ast-button.active {
  color: var(--cca-white) !important;
  background: var(--cca-coral) !important;
  border-color: var(--cca-coral) !important;
}

/* Barra lateral */
body:not(.home) #secondary { padding-left: 0; }
body:not(.home) #secondary .widget {
  margin: 0 0 18px;
  padding: 22px;
  background: var(--cca-white);
  border: 1px solid var(--cca-line);
  border-radius: 22px;
  box-shadow: 0 10px 28px rgba(10, 36, 63, .06);
}

body:not(.home) #secondary .widget-title,
body:not(.home) #secondary h2 {
  margin: 0 0 14px;
  color: var(--cca-ink-deep);
  font-family: var(--cca-serif);
  font-size: 1.35rem;
}

body:not(.home) input[type="text"],
body:not(.home) input[type="search"],
body:not(.home) input[type="email"],
body:not(.home) textarea,
body:not(.home) select {
  min-height: 46px;
  color: var(--cca-ink-deep);
  background: var(--cca-white);
  border: 1px solid #bdd4d3;
  border-radius: 12px;
}

body:not(.home) input:focus,
body:not(.home) textarea:focus,
body:not(.home) select:focus {
  border-color: var(--cca-turquoise);
  box-shadow: 0 0 0 3px rgba(15, 119, 115, .12);
}

body:not(.home) .search-form { display: flex; align-items: stretch; }
body:not(.home) .search-form label { flex: 1; min-width: 0; }
body:not(.home) .search-form .search-field { width: 100%; border-radius: 12px 0 0 12px; }
body:not(.home) .search-form .search-submit {
  width: 48px;
  min-width: 48px;
  min-height: 46px;
  padding: 0 !important;
  border-radius: 0 12px 12px 0 !important;
  box-shadow: none !important;
}

/* Paginación y utilidades */
body:not(.home) .ast-pagination { margin-top: 28px; }
body:not(.home) .ast-pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--cca-ink-deep);
  background: var(--cca-white);
  border: 1px solid var(--cca-line);
  border-radius: 50%;
}

body:not(.home) .ast-pagination .page-numbers.current,
body:not(.home) .ast-pagination a.page-numbers:hover {
  color: var(--cca-white);
  background: var(--cca-coral);
  border-color: var(--cca-coral);
}

body:not(.home) #ast-scroll-top {
  color: var(--cca-white);
  background: var(--cca-coral);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(240, 100, 73, .25);
}

/* Pie integrado: conserva sus tarjetas y logos */
body:not(.home) .site-footer {
  padding: 34px 0 0;
  color: var(--cca-ink-deep);
  background: #dff3f0;
  border-top: 5px solid var(--cca-yellow);
}

body:not(.home) .site-footer .footer-adv-overlay,
body:not(.home) .site-footer .ast-footer-overlay,
body:not(.home) .site-footer .ast-small-footer,
body:not(.home) .site-footer #block-23,
body:not(.home) .site-footer #block-14,
body:not(.home) .site-footer #block-17,
body:not(.home) .site-footer #block-6,
body:not(.home) .site-footer #block-7 {
  background-image: none !important;
}

body:not(.home) .site-footer #block-23 {
  background: var(--cca-turquoise) !important;
  border: 3px solid var(--cca-yellow) !important;
  border-radius: 28px !important;
  box-shadow: 0 14px 34px rgba(10, 36, 63, .14) !important;
}

body:not(.home) .site-footer #block-14 {
  background: var(--cca-coral) !important;
  border: 3px solid var(--cca-yellow) !important;
  border-radius: 24px !important;
}

body:not(.home) .site-footer .footer-links-grid a {
  background: var(--cca-white) !important;
  border-color: rgba(18, 53, 91, .12) !important;
  border-radius: 14px !important;
}

body:not(.home) .site-footer .footer-links-grid a:hover {
  color: var(--cca-ink-deep) !important;
  background: #fff7d9 !important;
  border-color: var(--cca-yellow) !important;
}

body:not(.home) .site-footer .ast-small-footer,
body:not(.home) .site-footer .ast-footer-overlay { background: var(--cca-ink-deep) !important; }
body:not(.home) .site-footer .ast-small-footer,
body:not(.home) .site-footer .ast-small-footer a { color: var(--cca-white); }

@media (max-width: 1180px) {
  body:not(.home) .main-header-bar .ast-container { width: min(100% - 24px, 980px); }
  body:not(.home) .cca-custom-logo { width: 185px; }
}

@media (max-width: 921px) {
  body:not(.home) #masthead { padding: 8px 0; }
  .admin-bar:not(.home) #masthead { top: 46px; }
  body:not(.home) .main-header-bar .ast-container { min-height: 72px; padding: 8px 16px; border-radius: 20px; }
  body:not(.home) .cca-custom-logo { width: 165px; max-height: 74px; }
  body:not(.home) .main-header-menu > .menu-item > .menu-link { border-radius: 12px; }
  body:not(.home) #content { padding-top: 26px; }
}

@media (max-width: 782px) {
  .admin-bar:not(.home) #masthead { top: 46px; }
}

@media (max-width: 544px) {
  body:not(.home) .main-header-bar .ast-container { width: calc(100% - 16px); }
  body:not(.home) .cca-custom-logo { width: 145px; }
  body:not(.home) #content { padding: 18px 0 42px; }
  body:not(.home) #content > .ast-container { padding: 0 12px; }
  body:not(.home) .ast-row > article,
  body:not(.home) article.ast-article-post,
  body:not(.home) article.ast-article-single { border-radius: 20px; }
  body:not(.home) article .post-content { padding: 0 18px 22px; }
  body:not(.home) article .ast-blog-featured-section { margin: 0 -18px 20px; }
  body:not(.home) #secondary .widget { padding: 18px; border-radius: 18px; }
  body:not(.home) .site-footer #block-23 { border-radius: 20px !important; }
}

/* Ajuste responsive: Entrevistas y Voluntariado */
body.page-id-6614 #post-6614 { width: 100%; padding: 0 !important; }
body.page-id-6614 #post-6614 .entry-content { width: 100%; max-width: none; }
body.page-id-6614 .entry-content > .entrevistas-page { box-sizing: border-box; width: 100% !important; max-width: 1180px !important; margin: 0 auto !important; padding: 24px 18px 76px !important; }
body.page-id-6614 .media-hero h1,
body.postid-16540 .vol-hero h1 { color: #fff !important; }
body.page-id-6614 .media-grid,
body.page-id-6614 .media-card,
body.page-id-6614 .media-card-featured,
body.postid-16540 .vol-grid,
body.postid-16540 .vol-card { min-width: 0; }
body.page-id-6614 .entrevistas-page img,
body.postid-16540 .vol-shell img { max-width: 100%; height: auto; }
body.postid-16540 #post-16540,
body.postid-16540 #post-16540 .entry-content { box-sizing: border-box; width: 100%; max-width: 100%; }
body.postid-16540 .vol-shell { box-sizing: border-box; width: calc(100vw - 32px) !important; max-width: 1480px !important; margin-right: auto !important; margin-left: calc(50% - 50vw + 16px) !important; }
body.page-id-6614 .media-hero h1,
body.page-id-6614 .media-card h3,
body.postid-16540 .vol-hero h1,
body.postid-16540 .vol-card strong,
body.postid-16540 .vol-body h1,
body.postid-16540 .vol-body h2,
body.postid-16540 .vol-body h3 { overflow-wrap: anywhere; word-break: normal; }
body.postid-16540 .vol-body iframe { width: 100% !important; max-width: 100%; }
body.postid-16540 .vol-body iframe.wp-embedded-content[style*="position: absolute"] { width: 1px !important; height: 1px !important; }
@media (max-width: 544px) {
  body.page-id-6614 .entry-content > .entrevistas-page { width: 100% !important; padding: 10px 10px 48px !important; }
  body.page-id-6614 .media-hero { padding: 36px 22px; border-radius: 20px; }
  body.page-id-6614 .media-hero h1 { font-size: clamp(34px, 11vw, 48px); }
  body.page-id-6614 .media-stats,
  body.page-id-6614 .media-grid { grid-template-columns: minmax(0, 1fr) !important; }
  body.postid-16540 .vol-shell { width: calc(100vw - 20px) !important; margin-left: calc(50% - 50vw + 10px) !important; }
  body.postid-16540 .vol-hero { min-height: 500px; padding: 34px 22px; border-radius: 22px; }
  body.postid-16540 .vol-hero h1 { font-size: clamp(38px, 12vw, 52px); }
  body.postid-16540 .vol-grid { grid-template-columns: minmax(0, 1fr) !important; }
  body.postid-16540 .vol-body iframe { max-width: 100%; }
}


/* Ajustes visuales responsive globales */
body:not(.home) article iframe.wp-embedded-content[style*="position: absolute"] { width: 1px !important; height: 1px !important; }
@media (max-width: 921px) {
  /* Respuesta compacta aunque Astra sirva inicialmente la clase de escritorio. */
  body:not(.home) .main-header-container { display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px; }
  body:not(.home) .site-branding { width: auto; min-width: 0; flex: 1 1 auto; }
  body:not(.home) .ast-mobile-menu-buttons { display: flex !important; align-items: center; margin-left: auto; }
  body:not(.home) .main-header-menu-toggle { width: 46px; min-width: 46px; height: 46px; display: inline-grid !important; place-items: center; padding: 0 !important; }
  body:not(.home) .ast-main-header-bar-alignment { width: 100%; flex: 1 0 100%; display: none !important; margin: 0 !important; }
  body:not(.home) .ast-mobile-menu-buttons:has(.main-header-menu-toggle[aria-expanded="true"]) + .ast-main-header-bar-alignment,
  body:not(.home) .ast-main-header-bar-alignment:has(.main-header-bar-navigation.toggle-on),
  body:not(.home) .ast-main-header-bar-alignment.toggle-on,
  body:not(.home) .ast-main-header-bar-alignment.toggled { display: block !important; }
  body:not(.home) .main-header-bar-navigation,
  body:not(.home) .main-navigation { width: 100%; }
  body:not(.home) .main-header-menu { width: 100%; display: flex !important; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 0 4px; }
  body:not(.home) .main-header-menu > .menu-item { position: relative; width: 100%; }
  body:not(.home) .main-header-menu > .menu-item > .menu-link { min-height: 48px; padding: 10px 48px 10px 12px; display: flex; align-items: center; }
  body:not(.home) .main-header-menu .ast-menu-toggle { position: absolute; top: 5px; right: 4px; width: 38px; height: 38px; display: grid !important; place-items: center; color: var(--cca-ink-deep); background: #fff7d9; border: 0; border-radius: 50%; }
  body:not(.home) .main-header-menu .sub-menu { position: static !important; width: 100%; margin: 0 0 8px; padding: 6px 0 6px 14px; display: none; border: 0; border-left: 2px solid var(--cca-coral); border-radius: 0; box-shadow: none; }
  body:not(.home) .main-header-menu .menu-item.ast-submenu-expanded > .sub-menu,
  body:not(.home) .main-header-menu .menu-item:focus-within > .sub-menu { display: block; }
}
@media (max-width: 544px) {
  body:not(.home) .cca-custom-logo { width: clamp(112px, 42vw, 145px); }
}

/* Allow hidden WordPress embed placeholders without constraining visible media. */
@media (max-width: 544px) {
  body:not(.home) .media-hero h1 { font-size: clamp(1.5rem, 7.5vw, 2rem) !important; overflow-wrap: normal; }
  body:not(.home) .comments-title { font-size: 1.5rem !important; overflow-wrap: anywhere; white-space: normal; }
}
body:not(.home) .entry-content { overflow-wrap: break-word; }
body:not(.home) .entry-content img,
body:not(.home) .entry-content video,
body:not(.home) .entry-content iframe { max-width: 100%; }
.cca-blog-heading { width: 100%; padding: 0 24px 24px; }
.cca-blog-heading h1 { font-family: var(--cca-serif); font-size: clamp(2rem, 4vw, 3.5rem); }
@media (max-width: 921px) {
  body:not(.home) .ast-main-header-bar-alignment { max-height: calc(100dvh - 160px); overflow-y: auto; overscroll-behavior: contain; }
}

/* Mobile media bounds, 21 September 2026. Preserve every image and link. */
@media (max-width: 544px) {
  body:not(.home) article.ast-article-post .ast-blog-featured-section {
    margin: 0 0 20px !important;
    width: 100%;
    max-width: 100%;
  }
  body:not(.home) article.ast-article-post .post-thumb-img-content {
    margin: 0 !important;
    width: 100%;
    max-width: 100%;
  }
  body:not(.home) .entry-content .tiled-gallery,
  body:not(.home) .entry-content .tiled-gallery .gallery-row,
  body:not(.home) .entry-content .tiled-gallery .gallery-group,
  body:not(.home) .entry-content .tiled-gallery .tiled-gallery-item {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    float: none !important;
    margin: 0 0 12px !important;
  }
  body:not(.home) .entry-content .tiled-gallery .gallery-row {
    display: block !important;
  }
  body:not(.home) .entry-content .tiled-gallery img {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }
}
@media (max-width: 767px) {
  .wplng-switcher.insert-auto.insert-bottom-right {
    position: static !important;
    inset: auto !important;
    width: fit-content;
    max-width: calc(100% - 24px);
    margin: 16px auto !important;
    float: none !important;
  }
}

/* Voluntariado: contain the layout inside the article, not the viewport. */
body.postid-16540 .vol-shell {
  box-sizing: border-box;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 18px clamp(16px, 3vw, 32px) 32px;
}
body.postid-16540 .vol-shell > p:empty { display: none; }
body.postid-16540 .vol-hero {
  box-sizing: border-box;
  min-height: 0;
  padding: clamp(28px, 4vw, 48px);
  align-items: center;
}
body.postid-16540 .vol-hero h1 { font-size: clamp(34px, 4.4vw, 60px) !important; line-height: 1.12 !important; overflow-wrap: normal !important; word-break: normal !important; }
body.postid-16540 .vol-hero p:last-child { margin-bottom: 0; }
body.postid-16540 .vol-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
body.postid-16540 .vol-card { box-sizing: border-box; padding: 22px; }
body.postid-16540 .vol-intro { margin: 28px auto; }
body.postid-16540 .vol-body { max-width: 100%; }
body.postid-16540 #guias { scroll-margin-top: 170px; }
@media (min-width: 1280px) {
  body.postid-16540 .main-header-container { grid-template-columns: 150px minmax(0, 1fr); gap: 8px; }
  body.postid-16540 .cca-custom-logo { width: 150px; }
  body.postid-16540 .main-header-menu { flex-wrap: nowrap; margin: 0; }
  body.postid-16540 .main-header-menu > .menu-item > .menu-link { padding-inline: 5px; font-size: 12.5px; white-space: nowrap; }
}
@media (min-width: 922px) and (max-width: 1279px) {
  body.postid-16540 .main-header-container { display: flex !important; flex-wrap: wrap; gap: 8px; }
  body.postid-16540 .site-branding { flex: 1; }
  body.postid-16540 .ast-mobile-menu-buttons { display: flex !important; margin-left: auto; }
  body.postid-16540 .main-header-menu-toggle { display: inline-flex !important; width: 46px; height: 46px; align-items: center; justify-content: center; }
  body.postid-16540 .ast-main-header-bar-alignment { width: 100%; flex: 1 0 100%; display: none !important; }
  body.postid-16540 .ast-main-header-bar-alignment:has(.main-header-bar-navigation.toggle-on),
  body.postid-16540 .ast-mobile-menu-buttons:has(.main-header-menu-toggle[aria-expanded="true"]) + .ast-main-header-bar-alignment { display: block !important; }
  body.postid-16540 .cca-custom-logo { width: 150px; }
  body.postid-16540 .main-header-menu { display: flex !important; flex-direction: column; align-items: stretch; width: 100%; margin: 0; }
  body.postid-16540 .main-header-bar-navigation,
  body.postid-16540 .main-navigation { width: 100%; }
  body.postid-16540 .main-header-menu > .menu-item { width: 100%; }
  body.postid-16540 .ast-main-header-bar-alignment { max-height: calc(100dvh - 180px); overflow-y: auto; }
  body.postid-16540 .main-header-menu > .menu-item > .menu-link { min-height: 44px; }
}
body.postid-16540 .vol-body .tiled-gallery,
body.postid-16540 .vol-body .gallery-row,
body.postid-16540 .vol-body .gallery-group,
body.postid-16540 .vol-body .tiled-gallery-item { width: 100% !important; height: auto !important; min-width: 0; float: none !important; }
body.postid-16540 .vol-body .gallery-row { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.postid-16540 .vol-body .tiled-gallery img { width: 100% !important; height: auto !important; margin: 0 !important; }
@media (max-width: 1100px) {
  body.postid-16540 .vol-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  body.postid-16540 .vol-body .gallery-row { grid-template-columns: minmax(0, 1fr); }
  body.postid-16540 .vol-grid { grid-template-columns: minmax(0, 1fr); }
  body.postid-16540 .vol-hero { padding: 28px 20px; }
  body.postid-16540 .vol-hero h1 { font-size: clamp(28px, 8vw, 40px) !important; }
}
