/* ZAS Ahora Mobile First — no frameworks, no external fonts. */
:root {
  --zas-accent: #e30613;
  --zas-dark: #101010;
  --zas-text: #16181d;
  --zas-muted: #68707c;
  --zas-bg: #ffffff;
  --zas-soft: #f3f4f6;
  --zas-border: #e4e7eb;
  --zas-radius: 14px;
  --zas-logo-width: 154px;
  --zas-shadow: 0 12px 34px rgba(16, 24, 40, .08);
  --zas-shell: 1180px;
  --zas-header-height: 62px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--zas-bg);
  color: var(--zas-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body.has-mobile-bottom-nav { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
svg { display: block; width: 22px; height: 22px; fill: currentColor; }
.site-shell { width: min(100% - 28px, var(--zas-shell)); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus, .skip-link:focus {
  position: fixed !important; z-index: 99999; top: 8px; left: 8px; width: auto; height: auto;
  padding: 10px 14px; clip: auto; background: #fff; color: #000; border-radius: 6px;
}

/* Header */
.site-header { position: sticky; z-index: 1000; top: 0; background: #fff; box-shadow: 0 1px 0 rgba(16, 24, 40, .08); }
.admin-bar .site-header { top: 46px; }
.header-main { min-height: var(--zas-header-height); display: grid; grid-template-columns: 42px 1fr 42px; align-items: center; gap: 6px; }
.site-branding { min-width: 0; display: flex; justify-content: center; align-items: center; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { width: min(var(--zas-logo-width), 100%); max-height: 48px; object-fit: contain; }
.text-logo { display: inline-flex; align-items: baseline; gap: 4px; font-weight: 900; letter-spacing: -.05em; font-size: 1.45rem; }
.text-logo strong { color: var(--zas-accent); }
.text-logo span { color: var(--zas-dark); }
.icon-button, .mobile-bottom-nav button {
  appearance: none; border: 0; background: transparent; padding: 0; cursor: pointer;
}
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; }
.icon-button:active { background: var(--zas-soft); }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }
.desktop-nav-shell, .desktop-navigation, .header-actions, .desktop-menu-button, .theme-toggle { display: none; }
.header-search, .mobile-menu { border-top: 1px solid var(--zas-border); background: #fff; }
.header-search .site-shell { padding-block: 12px; }
.mobile-menu { max-height: calc(100vh - 64px); overflow-y: auto; }
.mobile-menu nav { padding-block: 12px 22px; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--zas-border); font-weight: 750; }
.mobile-menu .sub-menu { padding-left: 16px; }
.search-form { display: flex; gap: 8px; width: 100%; }
.search-form label { flex: 1; }
.search-field {
  width: 100%; min-height: 44px; padding: 10px 13px; border: 1px solid var(--zas-border);
  border-radius: 10px; background: #fff; color: var(--zas-text); outline: none;
}
.search-field:focus { border-color: var(--zas-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--zas-accent) 15%, transparent); }
.search-submit, .button-primary {
  display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 16px;
  border: 0; border-radius: 10px; background: var(--zas-accent); color: #fff; font-weight: 800; cursor: pointer;
}
.has-compact-header { --zas-header-height: 54px; }
.has-compact-header .custom-logo { max-height: 40px; }

/* Breaking news */
.breaking-bar { background: var(--zas-dark); color: #fff; overflow: hidden; }
.breaking-inner { min-height: 36px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; }
.breaking-label { align-self: stretch; display: inline-flex; align-items: center; padding-inline: 10px; margin-left: -14px; background: var(--zas-accent); font-size: .68rem; font-weight: 900; letter-spacing: .04em; white-space: nowrap; }
.breaking-track { position: relative; display: flex; align-items: center; gap: 26px; overflow: hidden; scrollbar-width: none; white-space: nowrap; mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); }
.breaking-track::-webkit-scrollbar { display: none; }
.breaking-dot { width: 8px; height: 8px; border-radius: 999px; background: #fff; opacity: .65; margin-right: 7px; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.ticker-live-button { display: none; }
.breaking-track a { flex: 0 0 auto; max-width: 82vw; overflow: hidden; text-overflow: ellipsis; font-size: .78rem; font-weight: 700; }
.breaking-track a.is-clone { pointer-events: none; }

/* Homepage */
.site-main { min-height: 50vh; }
.home-main, .archive-main { padding-block: 18px 44px; }
.lead-story { display: grid; gap: 14px; margin-bottom: 28px; }
.lead-media { position: relative; overflow: hidden; border-radius: var(--zas-radius); background: var(--zas-dark); aspect-ratio: 16 / 10; }
.lead-media img { height: 100%; object-fit: cover; }
.lead-placeholder, .card-placeholder { height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #161616, #343434); color: #fff; font-weight: 800; }
.lead-placeholder strong, .card-placeholder strong { color: var(--zas-accent); }
.lead-content h1 { margin: 8px 0 8px; font-size: clamp(1.75rem, 7vw, 2.55rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 900; }
.lead-content h1 a:hover, .card-title a:hover { color: var(--zas-accent); }
.lead-excerpt { color: var(--zas-muted); font-size: .98rem; }
.lead-excerpt p, .card-excerpt p { margin: 0; }
.category-badge { display: inline-flex; width: fit-content; color: var(--zas-accent); font-size: .72rem; font-weight: 900; letter-spacing: .045em; text-transform: uppercase; }
.post-meta { display: flex; align-items: center; gap: 7px; color: var(--zas-muted); font-size: .76rem; }
.section-heading { display: flex; align-items: center; gap: 12px; margin: 30px 0 16px; }
.section-heading h2 { margin: 0; font-size: 1.25rem; line-height: 1.1; font-weight: 900; letter-spacing: -.02em; white-space: nowrap; }
.heading-line { height: 4px; flex: 1; background: linear-gradient(to right, var(--zas-accent) 0 64px, var(--zas-border) 64px); border-radius: 999px; }
.news-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.news-card { min-width: 0; }
.card-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--zas-radius); background: var(--zas-soft); }
.card-media img { height: 100%; object-fit: cover; transition: transform .25s ease; }
.card-body { padding-top: 11px; }
.card-title { margin: 6px 0 7px; font-size: 1.18rem; line-height: 1.16; letter-spacing: -.025em; font-weight: 850; }
.card-excerpt { margin-top: 8px; color: var(--zas-muted); font-size: .9rem; }
.home-more { display: flex; justify-content: center; margin-top: 30px; }

/* Card variants */
.zas-card-compact .news-grid { gap: 16px; }
.zas-card-compact .news-card { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 12px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid var(--zas-border); }
.zas-card-compact .card-media { aspect-ratio: 1 / .78; }
.zas-card-compact .card-body { padding-top: 0; }
.zas-card-compact .card-title { margin-top: 4px; font-size: 1rem; }
.zas-card-compact .card-excerpt { display: none; }
.zas-card-overlay .news-card { position: relative; overflow: hidden; border-radius: var(--zas-radius); background: var(--zas-dark); }
.zas-card-overlay .card-media { border-radius: 0; aspect-ratio: 4 / 3; }
.zas-card-overlay .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.9), transparent 66%); }
.zas-card-overlay .card-body { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 44px 15px 15px; color: #fff; }
.zas-card-overlay .card-title { margin-bottom: 3px; }
.zas-card-overlay .post-meta { color: rgba(255,255,255,.78); }
.zas-card-overlay .card-excerpt { display: none; }

/* Stream mode */
.zas-home-stream .lead-story { display: block; margin-inline: -14px; }
.zas-home-stream .lead-media { border-radius: 0; }
.zas-home-stream .lead-content { padding: 14px; }
.zas-home-stream .news-grid { margin-inline: -14px; gap: 12px; }
.zas-home-stream .news-card { background: #fff; border-block: 1px solid var(--zas-border); padding-bottom: 15px; }
.zas-home-stream .news-card .card-media { border-radius: 0; }
.zas-home-stream .news-card .card-body { padding-inline: 14px; }

/* Archive */
.archive-header { margin-bottom: 22px; }
.archive-header h1 { margin: 0; font-size: clamp(1.7rem, 7vw, 2.4rem); line-height: 1.05; font-weight: 900; letter-spacing: -.035em; }
.archive-description { margin-top: 8px; color: var(--zas-muted); }
.navigation.pagination { margin-top: 30px; }
.nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; }
.page-numbers { min-width: 40px; min-height: 40px; display: grid; place-items: center; padding: 5px 10px; border: 1px solid var(--zas-border); border-radius: 8px; font-weight: 750; }
.page-numbers.current { border-color: var(--zas-accent); background: var(--zas-accent); color: #fff; }

/* Article */
.single-main { padding-block: 24px 52px; }
.article-shell { max-width: 760px; }
.article-width-narrow .article-shell { max-width: 680px; }
.article-width-wide .article-shell { max-width: 860px; }
.article-header h1 { margin: 8px 0 10px; font-size: clamp(2rem, 9vw, 3.65rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 900; }
.article-deck { color: #4f5660; font-size: 1.08rem; line-height: 1.5; }
.article-deck p { margin: 0; }
.article-meta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 14px; }
.reading-time { color: var(--zas-muted); font-size: .76rem; }
.article-featured { margin-top: 18px; margin-bottom: 0; }
.article-featured img { border-radius: var(--zas-radius); aspect-ratio: 16 / 10; object-fit: cover; }
.article-featured figcaption { margin-top: 7px; color: var(--zas-muted); font-size: .76rem; }
.article-layout { display: grid; gap: 30px; margin-top: 18px; }
.article-content { font-size: 1.08rem; line-height: 1.74; }
.article-content > *:first-child { margin-top: 0; }
.article-content p { margin-block: 0 1.3em; }
.article-content h2, .article-content h3 { margin: 1.65em 0 .65em; line-height: 1.15; letter-spacing: -.025em; }
.article-content h2 { font-size: 1.55rem; }
.article-content h3 { font-size: 1.25rem; }
.article-content a { color: var(--zas-accent); text-decoration: underline; text-underline-offset: 3px; }
.article-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--zas-accent); color: #343941; font-size: 1.15em; font-weight: 650; }
.article-content iframe, .article-content video { max-width: 100%; border-radius: var(--zas-radius); }
.article-content .wp-block-embed { margin-inline: 0; }
.article-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-content th, .article-content td { padding: 10px; border: 1px solid var(--zas-border); }
.share-bar { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 10px 0 16px; scrollbar-width: none; }
.share-bar::-webkit-scrollbar { display: none; }
.share-label { font-size: .8rem; font-weight: 850; }
.share-button { flex: 0 0 auto; min-height: 36px; display: inline-flex; align-items: center; padding: 7px 11px; border: 1px solid var(--zas-border); border-radius: 999px; background: #fff; color: var(--zas-text); font-size: .78rem; font-weight: 750; cursor: pointer; }
.share-button:hover { border-color: var(--zas-accent); color: var(--zas-accent); }
.post-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 24px; }
.post-tags a { padding: 6px 10px; border-radius: 999px; background: var(--zas-soft); font-size: .78rem; font-weight: 700; }
.article-sidebar { display: none; }
.widget { padding: 18px; border: 1px solid var(--zas-border); border-radius: var(--zas-radius); }
.widget-title { margin: 0 0 12px; font-size: 1.05rem; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li + li { margin-top: 9px; }
.related-posts { margin-top: 42px; padding: 24px 0 6px; border-top: 1px solid var(--zas-border); }
.related-posts .section-heading { margin-top: 0; margin-bottom: 18px; }
.related-grid { grid-template-columns: 1fr; gap: 14px; }
.related-grid .news-card {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 0 0 14px; border-bottom: 1px solid var(--zas-border);
}
.related-grid .news-card:last-child { padding-bottom: 0; border-bottom: 0; }
.related-grid .card-media { aspect-ratio: 1 / .78; border-radius: 12px; }
.related-grid .card-body { min-width: 0; padding-top: 0; }
.related-grid .category-badge { margin-bottom: 6px; }
.related-grid .card-title {
  margin-top: 4px; font-size: 1rem; line-height: 1.2; word-break: normal; overflow-wrap: break-word;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.related-grid .card-excerpt { display: none; }
.related-grid .post-meta { display: none; }
.zas-card-overlay .related-grid .news-card {
  position: static; overflow: visible; border-radius: 0; background: transparent;
}
.zas-card-overlay .related-grid .card-media { border-radius: 12px; position: relative; }
.zas-card-overlay .related-grid .card-media::after { display: none; }
.zas-card-overlay .related-grid .card-body { position: static; right: auto; bottom: auto; left: auto; padding: 0; color: inherit; }
.reading-progress { position: fixed; z-index: 2000; top: 0; right: 0; left: 0; height: 3px; background: transparent; pointer-events: none; }
.admin-bar .reading-progress { top: 46px; }
.reading-progress span { display: block; width: 0; height: 100%; background: var(--zas-accent); }

/* Pages, comments, footer */
.page-main { padding-block: 28px 50px; }
.page-article .article-header h1 { margin-top: 0; }
.comments-area { padding-block: 24px 44px; }
.comment-list { padding-left: 20px; }
.comment-body { padding: 14px 0; border-bottom: 1px solid var(--zas-border); }
.comment-form input:not([type="submit"]), .comment-form textarea { width: 100%; padding: 10px; border: 1px solid var(--zas-border); border-radius: 8px; }
.form-submit input { min-height: 42px; border: 0; border-radius: 8px; padding: 8px 14px; background: var(--zas-accent); color: #fff; font-weight: 800; }
.no-results, .error-inner { max-width: 620px; margin: 40px auto; text-align: center; }
.error-code { color: var(--zas-accent); font-size: 5rem; line-height: 1; font-weight: 950; }
.error-inner .search-form { margin: 20px 0; }
.site-footer {
  background: var(--zas-footer-bg, #0b0b0c); color: var(--zas-footer-text, #fff);
  padding: 42px 0 24px; overflow: hidden;
}
.footer-shell { display: grid; gap: 24px; }
.footer-brand-panel { padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-logo { margin-bottom: 22px; }
.footer-logo { display: flex; justify-content: flex-start; text-align: var(--zas-footer-logo-align, left); }
.footer-logo .custom-logo-link, .footer-custom-logo-link, .footer-text-logo { justify-content: inherit; }
:root{--zas-footer-logo-align:left;}
.footer-logo[style]{}
.footer-logo .custom-logo-link { display: inline-flex; }
.footer-logo .custom-logo { width: min(var(--zas-footer-logo-width, 148px), 100%); max-height: 72px; object-fit: contain; object-position: left center; }
.footer-custom-logo-link { display: inline-flex; align-items: center; }
.footer-custom-logo { display: block; width: min(var(--zas-footer-logo-width, 148px), 100%); max-height: 84px; object-fit: contain; object-position: left center; }
.footer-text-logo { display: inline-flex; flex-direction: column; align-items: flex-start; line-height: .8; letter-spacing: -.05em; }
.footer-text-logo span { color: var(--zas-footer-text); font-size: 2.25rem; font-weight: 950; }
.footer-text-logo strong { margin-top: 8px; color: var(--zas-accent); font-size: 1.05rem; letter-spacing: .18em; }
.footer-title { max-width: 620px; font-size: clamp(1.35rem, 6vw, 2.05rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 900; }
.footer-accent { display: block; width: 64px; height: 4px; margin-top: 18px; border-radius: 999px; background: var(--zas-accent); }
.footer-tagline { max-width: 620px; margin: 18px 0 0; color: var(--zas-footer-muted, #a7a7ad); font-size: .96rem; line-height: 1.55; }
.footer-content-panel { display: grid; gap: 14px; }
.footer-link-card, .footer-social-card {
  overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 18px;
  background: var(--zas-footer-card, #171719); box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.footer-link-row {
  min-height: 66px; display: grid; grid-template-columns: 34px minmax(0, 1fr) 20px; align-items: center; gap: 12px;
  padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,.1); color: var(--zas-footer-text, #fff);
  transition: background-color .2s ease, color .2s ease;
}
.footer-link-row:last-child { border-bottom: 0; }
.footer-link-row:focus-visible { outline: 2px solid var(--zas-accent); outline-offset: -3px; }
.footer-link-icon { width: 32px; height: 32px; display: grid; place-items: center; color: var(--zas-accent); }
.footer-link-icon svg { width: 28px; height: 28px; }
.site-footer svg { fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.site-footer .footer-icon-fill { fill: currentColor; stroke: none; }
.site-footer .footer-icon-play { fill: var(--zas-footer-card, #171719); stroke: none; }
.footer-link-label { min-width: 0; font-size: .96rem; line-height: 1.25; font-weight: 760; }
.footer-link-arrow { color: var(--zas-footer-muted, #a7a7ad); }
.footer-link-arrow svg { width: 19px; height: 19px; stroke-width: 2.3; }
.footer-instagram-icon { color: #ff3b6b; }
.footer-youtube-icon { color: #ff193d; }
.footer-widgets { display: grid; gap: 18px; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: var(--zas-footer-card, #171719); }
.footer-widget-title { margin: 0 0 10px; font-size: 1rem; }
.footer-widget, .footer-widget a { color: var(--zas-footer-muted, #a7a7ad); }
.footer-widget ul { margin: 0; padding-left: 18px; }
.footer-bottom { display: grid; justify-items: center; gap: 8px; margin-top: 4px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); text-align: center; }
.footer-bottom p { margin: 0; color: var(--zas-footer-muted, #a7a7ad); font-size: .78rem; }
.footer-bolt { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; color: var(--zas-accent); }
.footer-bolt svg { width: 25px; height: 25px; }
.footer-bolt-link { text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease; }
.footer-bolt-link:hover { color: var(--zas-accent); background: rgba(227,6,19,.12); box-shadow: 0 0 0 7px rgba(227,6,19,.04); transform: translateY(-2px) scale(1.06); }
.footer-bolt-link:focus-visible { outline: 3px solid var(--zas-accent); outline-offset: 4px; }
.footer-bolt-link:active { transform: scale(.96); }

/* Mobile bottom navigation */
.mobile-bottom-nav {
  position: fixed; z-index: 1200; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  min-height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid var(--zas-border); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); box-shadow: 0 -8px 24px rgba(16,24,40,.08);
}
.mobile-bottom-nav a, .mobile-bottom-nav button { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 3px; color: #454a52; font-size: .66rem; font-weight: 750; }
.mobile-bottom-nav svg { width: 21px; height: 21px; }
.mobile-bottom-nav a:first-child { color: var(--zas-accent); }

@media (hover: hover) {
  .news-card:hover .card-media img, .lead-media:hover img { transform: scale(1.025); }
  .footer-link-row:hover { background: rgba(255,255,255,.055); }
  .footer-link-row:hover .footer-link-arrow { color: var(--zas-footer-text, #fff); transform: translateX(2px); }
}

@media (min-width: 560px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zas-card-compact .news-grid { grid-template-columns: 1fr; }
  .lead-story { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); align-items: center; }
  .zas-home-stream .lead-story { display: grid; margin-inline: 0; }
  .zas-home-stream .lead-media { border-radius: var(--zas-radius); }
  .zas-home-stream .lead-content { padding: 0; }
  .zas-home-stream .news-grid { margin-inline: 0; }
  .zas-home-stream .news-card { border: 0; padding-bottom: 0; }
  .zas-home-stream .news-card .card-media { border-radius: var(--zas-radius); }
  .zas-home-stream .news-card .card-body { padding-inline: 0; }
}

@media (min-width: 783px) {
  body.has-mobile-bottom-nav { padding-bottom: 0; }
  .admin-bar .site-header { top: 32px; }
  .admin-bar .reading-progress { top: 32px; }
  .mobile-bottom-nav { display: none; }
  .site-header { border-top: 2px solid var(--zas-accent); }
  .header-main { min-height: 84px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; }
  .site-branding { justify-content: flex-start; }
  .custom-logo { max-height: 58px; }
  .menu-toggle { display: none; }
  .desktop-nav-shell { display: block; min-width: 0; }
  .desktop-navigation { display: block; padding: 5px 10px; border: 1px solid #e2e3e7; border-radius: 999px; background: #fff; box-shadow: 0 12px 26px rgba(16,24,40,.12); }
  .desktop-navigation ul { list-style: none; display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0; margin: 0; }
  .desktop-navigation li { position: relative; white-space: nowrap; }
  .desktop-navigation a { display: block; padding: 11px 15px; border-radius: 999px; font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
  .desktop-navigation a:hover { color: var(--zas-accent); background: #f5f5f7; }
  .desktop-navigation .current-menu-item > a, .desktop-navigation .current_page_item > a { color: #fff; background: linear-gradient(135deg, #ff2020, #ff5a1f); box-shadow: 0 8px 18px rgba(227,6,19,.28); }
  .header-actions { display: flex; align-items: center; gap: 8px; }
  .header-actions .icon-button { display: grid; width: 44px; height: 44px; border: 1px solid #dedfe4; background: #fafafa; border-radius: 13px; }
  .header-actions .icon-button:hover { background: #f0f1f3; }
  .header-actions .theme-toggle { color: #ff8a00; }
  .desktop-menu-button, .theme-toggle { display: grid; }
  .desktop-navigation .sub-menu { position: absolute; top: 100%; left: -14px; min-width: 210px; display: none; padding: 9px 14px; background: #fff; border: 1px solid var(--zas-border); border-radius: 10px; box-shadow: var(--zas-shadow); }
  .desktop-navigation li:hover > .sub-menu { display: block; }
  .desktop-navigation .sub-menu a { padding: 8px 0; }
  .breaking-bar { background: linear-gradient(90deg, #f7bfc3, #d6d6d9); color: #24242a; }
  .breaking-inner { min-height: 56px; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .breaking-label { align-self: auto; min-height: 32px; margin-left: 0; padding-inline: 14px; border-radius: 9px; color: #fff; font-size: .72rem; }
  .breaking-track { background: rgba(255,255,255,.72); padding: 10px 16px; border-radius: 10px; mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent); }
  .breaking-track a { max-width: 620px; font-size: .78rem; text-transform: uppercase; }
  .breaking-track a + a::before { content: '•'; color: var(--zas-accent); margin-right: 18px; }
  .ticker-live-button { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 7px 13px; border: 1px solid rgba(227,6,19,.4); border-radius: 12px; background: rgba(255,255,255,.32); color: var(--zas-accent); font-size: .72rem; white-space: nowrap; }
  .ticker-live-button span { color: #696b73; font-weight: 800; }

  .home-main, .archive-main { padding-top: 28px; }
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px 20px; }
  .zas-home-magazine .news-grid .news-card:first-child { grid-column: span 2; }
  .zas-home-magazine .news-grid .news-card:first-child .card-title { font-size: 1.55rem; }
  .zas-card-compact .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
  .related-grid .news-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 14px; align-items: start; padding-bottom: 18px; }
  .related-grid .card-media { aspect-ratio: 1.2 / 1; }
  .related-grid .card-body { padding-top: 0; }
  .related-grid .card-title { font-size: 1.08rem; -webkit-line-clamp: 3; }
  .article-featured { margin-top: 24px; }
  .footer-shell { grid-template-columns: minmax(250px, .8fr) minmax(440px, 1.2fr); column-gap: 52px; align-items: start; }
  .footer-brand-panel { padding: 10px 0 0; border-bottom: 0; }
  .footer-content-panel { gap: 16px; }
  .footer-link-card, .footer-social-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-link-card .footer-link-row, .footer-social-card .footer-link-row { border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer-link-card .footer-link-row:nth-child(odd), .footer-social-card .footer-link-row:first-child { border-right: 1px solid rgba(255,255,255,.1); }
  .footer-link-card .footer-link-row:nth-last-child(-n+2), .footer-social-card .footer-link-row { border-bottom: 0; }
  .footer-widgets, .footer-bottom { grid-column: 1 / -1; }
  .footer-widgets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-bottom { margin-top: 8px; }
}

@media (min-width: 1024px) {
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 28px; }
  .related-grid .news-card { grid-template-columns: 180px minmax(0, 1fr); }
  .related-grid .card-title { font-size: 1.12rem; }
  .lead-story { grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr); gap: 28px; }
  .lead-content h1 { font-size: clamp(2.2rem, 3.3vw, 3.35rem); }
  .article-layout:has(.article-sidebar) { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .article-layout:has(.article-sidebar) .article-primary { max-width: 760px; margin-inline: 0; }
  .article-sidebar { display: grid; gap: 16px; position: sticky; top: 116px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

html.zas-dark-mode body { --zas-bg:#111214; --zas-text:#f6f7f8; --zas-soft:#1e2024; --zas-border:#30333a; background:#111214; }
html.zas-dark-mode .site-header, html.zas-dark-mode .header-search, html.zas-dark-mode .mobile-menu { background:#17181b; color:#fff; }
html.zas-dark-mode .desktop-navigation { background:#202226; border-color:#34373d; }
html.zas-dark-mode .desktop-navigation a:hover { background:#2a2d32; }
html.zas-dark-mode .header-actions .icon-button { background:#202226; border-color:#34373d; color:#fff; }
html.zas-dark-mode .news-card, html.zas-dark-mode .zas-home-stream .news-card { background:#111214; }

/* Homepage category sections and advertising — v1.3 */
.home-sections-wrap { display: grid; gap: 22px; margin-top: 28px; }
.home-category-section { padding: 14px; border: 1px solid var(--zas-border); border-radius: 18px; background: #fff; box-shadow: var(--zas-shadow); }
.home-section-header { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--zas-border); }
.home-section-header h2 { margin: 0; font-size: 1rem; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
.home-section-header h2::before { content:""; display:inline-block; width:4px; height:20px; margin-right:10px; border-radius:5px; background:var(--zas-accent); vertical-align:middle; }
.home-section-header h2 span { margin-right: 7px; color: #ff6a00; }
.home-section-header > a { flex: 0 0 auto; padding: 7px 11px; border: 1px solid var(--zas-border); border-radius: 9px; color: var(--zas-muted); font-size: .72rem; font-weight: 800; }
.home-section-posts { display: grid; grid-template-columns: 1fr; gap: 14px; }
.home-section-layout-list .news-card { display:grid; grid-template-columns:112px minmax(0,1fr); gap:11px; align-items:start; padding:9px; border:1px solid var(--zas-border); border-radius:13px; }
.home-section-layout-list .card-media { aspect-ratio: 1.35 / 1; border-radius: 10px; }
.home-section-layout-list .card-body { min-width:0; padding:0; }
.home-section-layout-list .card-title { font-size:.92rem; margin:4px 0; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.home-section-layout-list .card-excerpt, .home-section-layout-list .post-meta { display:none; }
.home-section-layout-mixed .news-card:not(:first-child) { display:grid; grid-template-columns:105px minmax(0,1fr); gap:10px; }
.home-section-layout-mixed .news-card:not(:first-child) .card-media { aspect-ratio:1.3/1; }
.home-section-layout-mixed .news-card:not(:first-child) .card-body { padding-top:0; }
.home-section-layout-mixed .news-card:not(:first-child) .card-title { font-size:.92rem; }
.home-section-layout-mixed .card-excerpt { display:none; }
.zas-ad { width:min(100% - 28px, var(--zas-shell)); margin:20px auto; text-align:center; overflow:visible; min-width:0; }
.site-shell > .zas-ad { width:100%; }
.zas-ad-label { display:block; margin-bottom:5px; color:var(--zas-muted); font-size:.62rem; letter-spacing:.08em; text-transform:uppercase; }
.zas-ad img { width:100%; max-height:250px; object-fit:contain; border-radius:12px; background:var(--zas-soft); }
.zas-ad-article_sidebar { width:100%; margin:0 0 16px; }
.zas-ad-article_sidebar img { max-height:none; }
.zas-ad-code iframe { max-width:100%; }
@media (min-width: 620px) {
 .home-section-layout-grid .home-section-posts { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .home-section-layout-list .home-section-posts { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .home-section-layout-mixed .home-section-posts { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .home-section-layout-mixed .news-card:first-child { grid-row:span 3; }
}
@media (min-width: 900px) {
 .home-category-section { padding:16px; }
 .home-section-layout-grid .home-section-posts { grid-template-columns:repeat(3,minmax(0,1fr)); }
 .home-section-layout-list .home-section-posts { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .home-section-layout-mixed .home-section-posts { grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(0,1fr)); }
 .home-section-layout-mixed .news-card:first-child { grid-row:span 3; }
 .zas-ad-below_header { margin-top:14px; }
}


/* Hero principal compacto con sidebar publicitario — v1.4.2 */
.home-hero-row {
  width: 100%; display: grid; gap: 18px; margin: 8px 0 30px; align-items: stretch;
}
.home-hero-row .lead-story { margin: 0; }
.home-hero-overlay-sidebar .lead-story {
  position: relative !important; display: block !important; overflow: hidden;
  min-width: 0; min-height: 340px; aspect-ratio: 16 / 9;
  border-radius: 20px; background: var(--zas-dark); box-shadow: var(--zas-shadow);
}
.home-hero-overlay-sidebar .lead-media {
  position: absolute !important; inset: 0; width: 100%; height: 100%;
  aspect-ratio: auto; border-radius: 0;
}
.home-hero-overlay-sidebar .lead-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.home-hero-overlay-sidebar .lead-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(3,7,14,.03) 18%, rgba(3,7,14,.36) 52%, rgba(3,7,14,.94) 100%);
}
.home-hero-overlay-sidebar .lead-content {
  position: relative !important; z-index: 2; width: 100%; min-height: 340px;
  display: flex !important; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 20px; color: #fff;
}
.home-hero-overlay-sidebar .lead-kicker {
  display: flex; align-items: center; flex-wrap: wrap; gap: 9px;
}
.home-hero-overlay-sidebar .category-badge {
  padding: 6px 10px; border-radius: 8px; background: var(--zas-accent); color: #fff;
}
.home-hero-overlay-sidebar .post-meta { color: rgba(255,255,255,.82); font-size: .76rem; }
.home-hero-overlay-sidebar .lead-content h1 {
  max-width: 690px; margin: 11px 0 13px; color: #fff;
  font-size: clamp(1.38rem, 3.9vw, 2.08rem); line-height: 1.04; letter-spacing: -.035em;
  text-shadow: 0 3px 18px rgba(0,0,0,.5);
}
.home-hero-overlay-sidebar .lead-content h1 a:hover { color: #fff; opacity: .94; }
.home-hero-overlay-sidebar .lead-excerpt { display: none; }
.lead-read-more {
  display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 10px 16px;
  border-radius: 11px; background: linear-gradient(135deg, var(--zas-accent), #ff5a1f); color: #fff;
  font-size: .8rem; font-weight: 900; box-shadow: 0 10px 22px rgba(227,6,19,.25);
}
.home-hero-split .lead-read-more { margin-top: 14px; }
.home-hero-sidebar {
  min-width: 0; overflow: hidden; border: 1px solid var(--zas-border);
  border-radius: 20px; background: #fff; box-shadow: var(--zas-shadow);
}
.home-hero-sidebar .zas-ad {
  width: 100%; height: 100%; min-height: 340px; margin: 0; display: flex; flex-direction: column;
}
.home-hero-sidebar .zas-ad-label {
  flex: 0 0 auto; margin: 0; padding: 7px 12px 0; text-align: left;
}
.home-hero-sidebar .zas-ad > a {
  flex: 1; min-height: 0; display: grid; place-items: center; padding: 10px;
}
.home-hero-sidebar .zas-ad img {
  width: 100%; height: 100%; min-height: 0; max-height: none; object-fit: contain;
  border: 0; border-radius: 14px; box-shadow: none; background: #fff;
}
.home-hero-sidebar .zas-ad-code { flex: 1; min-height: 0; padding: 10px; }
.home-hero-sidebar .zas-ad-code > * { max-width: 100%; max-height: 100%; }

@media (min-width: 783px) {
  .home-hero-row.has-hero-ad {
    grid-template-columns: minmax(0, 2.15fr) minmax(280px, .78fr);
    gap: 22px; align-items: stretch;
  }
  .home-hero-overlay-sidebar .lead-story,
  .home-hero-overlay-sidebar .lead-content,
  .home-hero-sidebar .zas-ad { min-height: 405px; height: 405px; }
  .home-hero-overlay-sidebar .lead-content { padding: 25px; }
  .home-hero-overlay-sidebar .lead-content h1 {
    max-width: 620px; font-size: clamp(1.72rem, 2.1vw, 2.28rem);
  }
}

@media (min-width: 1180px) {
  .home-hero-row.has-hero-ad {
    grid-template-columns: minmax(0, 2.25fr) 340px;
    gap: 24px;
  }
  .home-hero-overlay-sidebar .lead-story,
  .home-hero-overlay-sidebar .lead-content,
  .home-hero-sidebar .zas-ad { min-height: 430px; height: 430px; }
  .home-hero-overlay-sidebar .lead-content { padding: 28px; }
}

@media (max-width: 782px) {
  .home-hero-overlay-sidebar .lead-story {
    min-height: 390px;
    aspect-ratio: 4 / 5;
    border-radius: 18px;
  }
  .home-hero-overlay-sidebar .lead-media img {
    object-position: center top;
  }
  .home-hero-overlay-sidebar .lead-content {
    min-height: 390px;
    padding: 18px;
  }
  .home-hero-overlay-sidebar .lead-content h1 {
    max-width: none;
    font-size: clamp(1.38rem, 6.6vw, 1.95rem);
    line-height: 1.03;
  }
  .home-hero-sidebar { border-radius: 16px; }
  .home-hero-sidebar .zas-ad { min-height: 0; }
  .home-hero-sidebar .zas-ad > a { min-height: 250px; }
  .home-hero-sidebar .zas-ad img { height: auto; max-height: 420px; }
}

/* Article and page layouts — v1.5 */
.article-layout-style-card-sidebar { background: var(--zas-soft); }
.article-layout-style-card-sidebar .single-article { padding-top: 22px; }
.article-layout-style-card-sidebar .article-header,
.article-layout-style-card-sidebar .article-featured,
.article-layout-style-card-sidebar .article-layout { width: min(100% - 28px, var(--zas-shell)); }
.article-layout-style-card-sidebar .article-header,
.article-layout-style-card-sidebar .article-featured,
.article-layout-style-card-sidebar .article-primary {
  border: 1px solid var(--zas-border); background: var(--zas-bg); box-shadow: var(--zas-shadow);
}
.article-layout-style-card-sidebar .article-header { max-width: none; padding: 22px 22px 8px; border-radius: 18px 18px 0 0; border-bottom: 0; }
.article-layout-style-card-sidebar .article-featured { margin-top: 0; padding: 0 22px; border-width: 0 1px; border-radius: 0; box-shadow: none; }
.article-layout-style-card-sidebar .article-featured img { aspect-ratio: 16 / 9; }
.article-layout-style-card-sidebar .article-layout { margin-top: 0; align-items: start; }
.article-layout-style-card-sidebar .article-primary { max-width: none; padding: 20px 22px 28px; border-radius: 0 0 18px 18px; border-top: 0; }
.article-layout-style-card-sidebar .article-sidebar { padding-top: 0; }

.article-layout-style-card-sidebar .article-header-card { padding-bottom: 12px; }
.article-layout-style-card-sidebar .article-top-pills,
.article-layout-style-card-sidebar .article-author-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.article-layout-style-card-sidebar .article-top-pills { margin-bottom: 12px; }
.article-layout-style-card-sidebar .category-badge,
.article-layout-style-card-sidebar .meta-pill {
  display: inline-flex; align-items: center; min-height: 30px; padding: 6px 12px;
  border: 1px solid var(--zas-border); border-radius: 10px; background: #f4f6f8; color: #667085;
  font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
}
.article-layout-style-card-sidebar .category-badge { color: #69707b; background: #f4f6f8; }
.article-layout-style-card-sidebar .meta-pill-reading::before { content: '◔'; margin-right: 6px; font-size: .8rem; opacity: .7; }
.article-layout-style-card-sidebar .article-header h1 {
  margin: 0 0 10px; font-size: clamp(1.9rem, 3.5vw, 3rem); line-height: 1; letter-spacing: -.045em;
}
.article-layout-style-card-sidebar .article-deck-card { margin: 0 0 12px; color: #4f5660; font-size: 1rem; line-height: 1.45; }
.article-layout-style-card-sidebar .article-author-row { margin-bottom: 14px; color: var(--zas-muted); font-size: .87rem; font-weight: 700; }
.article-layout-style-card-sidebar .article-author-row .author-chip,
.article-layout-style-card-sidebar .article-author-row .comments-chip { display: inline-flex; align-items: center; gap: 6px; }
.article-layout-style-card-sidebar .share-bar { gap: 10px; padding: 0; }
.article-layout-style-card-sidebar .share-label { display: none; }
.article-layout-style-card-sidebar .share-button {
  min-height: 40px; padding: 9px 14px; border-radius: 12px; border: 0; color: #fff; font-weight: 800;
  box-shadow: 0 10px 20px rgba(17,24,39,.08);
}
.article-layout-style-card-sidebar .share-button:hover { color: #fff; filter: brightness(.96); }
.article-layout-style-card-sidebar .share-facebook { background: #2d77ff; }
.article-layout-style-card-sidebar .share-whatsapp { background: #22c55e; }
.article-layout-style-card-sidebar .share-copy { background: #3b82f6; }
.article-layout-style-card-sidebar .article-featured { overflow: hidden; }
.article-layout-style-card-sidebar .article-featured img { border-radius: 18px; }
.article-layout-style-card-sidebar .article-featured img { display: block; width: 100%; }
.article-layout-style-card-sidebar .article-content { font-size: 1.04rem; line-height: 1.8; }
.article-layout-style-card-sidebar .article-sidebar { align-self: start; }
.article-layout-style-card-sidebar .article-sidebar .zas-ad,
.article-layout-style-card-sidebar .article-sidebar .widget {
  margin: 0; padding: 14px; border: 1px solid var(--zas-border); border-radius: 18px;
  background: var(--zas-bg); box-shadow: var(--zas-shadow);
}
.article-layout-style-card-sidebar .article-sidebar .zas-ad img { border-radius: 14px; }


.article-layout-style-card-sidebar .single-article { padding-top: 22px; }
.article-layout-style-card-sidebar .article-layout-card {
  display: grid; gap: 22px; align-items: start; width: min(100% - 28px, var(--zas-shell));
}
.article-layout-style-card-sidebar .article-main-card {
  overflow: hidden; border: 1px solid var(--zas-border); border-radius: 20px;
  background: var(--zas-bg); box-shadow: var(--zas-shadow);
}
.article-layout-style-card-sidebar .article-layout-card > .article-sidebar { min-width: 0; }
.article-layout-style-card-sidebar .article-header,
.article-layout-style-card-sidebar .article-featured,
.article-layout-style-card-sidebar .article-primary {
  width: auto; max-width: none; border: 0; box-shadow: none; background: transparent; margin: 0;
}
.article-layout-style-card-sidebar .article-header { padding: 18px 18px 10px; }
.article-layout-style-card-sidebar .article-featured { padding: 0 18px; }
.article-layout-style-card-sidebar .article-primary { padding: 16px 18px 22px; }
.article-layout-style-card-sidebar .article-featured img { aspect-ratio: 16 / 9; border-radius: 18px; display: block; width: 100%; }
.article-layout-style-card-sidebar .article-header h1 { margin: 0 0 10px; font-size: clamp(1.85rem, 3.1vw, 2.85rem); line-height: 1.02; letter-spacing: -.045em; }
.article-layout-style-card-sidebar .article-top-pills,
.article-layout-style-card-sidebar .article-author-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.article-layout-style-card-sidebar .article-top-pills { margin-bottom: 12px; }
.article-layout-style-card-sidebar .category-badge,
.article-layout-style-card-sidebar .meta-pill {
  display: inline-flex; align-items: center; min-height: 30px; padding: 6px 12px;
  border: 1px solid var(--zas-border); border-radius: 10px; background: #f4f6f8; color: #667085;
  font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
}
.article-layout-style-card-sidebar .category-badge { color: #69707b; background: #f4f6f8; }
.article-layout-style-card-sidebar .meta-pill-reading::before { content: '◔'; margin-right: 6px; font-size: .8rem; opacity: .7; }
.article-layout-style-card-sidebar .article-deck-card { margin: 0 0 12px; color: #4f5660; font-size: 1rem; line-height: 1.45; }
.article-layout-style-card-sidebar .article-author-row { margin-bottom: 14px; color: var(--zas-muted); font-size: .87rem; font-weight: 700; }
.article-layout-style-card-sidebar .article-author-row .author-chip,
.article-layout-style-card-sidebar .article-author-row .comments-chip { display: inline-flex; align-items: center; gap: 6px; }
.article-layout-style-card-sidebar .share-bar { gap: 10px; padding: 0; }
.article-layout-style-card-sidebar .share-label { display: none; }
.article-layout-style-card-sidebar .share-button {
  flex: 0 0 auto; min-height: 40px; padding: 9px 14px; border-radius: 12px; border: 0; color: #fff; font-weight: 800;
  box-shadow: 0 10px 20px rgba(17,24,39,.08);
}
.article-layout-style-card-sidebar .share-button:hover { color: #fff; filter: brightness(.96); }
.article-layout-style-card-sidebar .share-facebook { background: #2d77ff; }
.article-layout-style-card-sidebar .share-whatsapp { background: #22c55e; }
.article-layout-style-card-sidebar .share-copy { background: #3b82f6; }
.article-layout-style-card-sidebar .article-content { font-size: 1.04rem; line-height: 1.8; }
.article-layout-style-card-sidebar .article-sidebar {
  display: grid; gap: 16px; align-self: start;
}
.article-layout-style-card-sidebar .article-sidebar .zas-ad,
.article-layout-style-card-sidebar .article-sidebar .widget {
  margin: 0; padding: 14px; border: 1px solid var(--zas-border); border-radius: 18px;
  background: var(--zas-bg); box-shadow: var(--zas-shadow);
}
.article-layout-style-card-sidebar .article-sidebar .zas-ad img { border-radius: 14px; width: 100%; display: block; }
.article-layout-style-full-width .article-shell { max-width: none; }
.article-layout-style-full-width .article-header,
.article-layout-style-full-width .article-primary { max-width: 1080px; }
.article-layout-style-full-width .article-layout { display: block; }
.article-layout-style-full-width .article-sidebar { display: none !important; }
.article-layout-style-full-width .article-content { font-size: 1.05rem; }

.article-cinematic { position: relative; overflow: hidden; min-height: min(68vh, 680px); margin-top: 22px; border-radius: 22px; background: #101010; box-shadow: var(--zas-shadow); }
.article-cinematic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-cinematic::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.04) 20%,rgba(0,0,0,.9) 100%); }
.article-cinematic-overlay { position: relative; z-index: 2; min-height: inherit; display:flex; flex-direction:column; justify-content:flex-end; padding: clamp(22px,5vw,54px); color:#fff; }
.article-cinematic-overlay h1 { max-width: 980px; margin: 12px 0; font-size: clamp(2rem,6vw,4.8rem); line-height: .98; letter-spacing: -.05em; }
.article-cinematic-overlay .post-meta,
.article-cinematic-overlay .reading-time { color: rgba(255,255,255,.78); }
.article-layout-style-cinematic .article-layout { margin-top: 28px; }

.page-layout { display:grid; gap:30px; align-items:start; }
.page-template-zas-full-width .wide-shell { max-width: var(--zas-shell); }
.page-template-zas-full-width .article-header h1 { max-width: 1050px; font-size: clamp(2rem,7vw,4.2rem); }
.page-template-zas-full-width .article-content { max-width: none; }

@media (min-width: 1024px) {
  .article-layout-style-card-sidebar.has-article-sidebar .single-article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 0 22px;
    align-items: start;
    width: min(100% - 28px, var(--zas-shell));
    margin-inline: auto;
  }
  .article-layout-style-card-sidebar .article-header,
  .article-layout-style-card-sidebar .article-featured,
  .article-layout-style-card-sidebar .article-layout {
    width: auto;
    max-width: none;
  }
  .article-layout-style-card-sidebar .article-header { grid-column: 1; margin: 0; }
  .article-layout-style-card-sidebar .article-featured { grid-column: 1; margin: 0; }
  .article-layout-style-card-sidebar .article-layout {
    display: contents;
  }
  .article-layout-style-card-sidebar .article-primary {
    grid-column: 1;
    margin-inline: 0;
  }
  .article-layout-style-card-sidebar .article-sidebar {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: grid;
    gap: 16px;
    align-self: start;
    position: sticky;
    top: 116px;
  }
  .page-layout:has(.article-sidebar) { grid-template-columns:minmax(0,1fr) 320px; }
  .page-layout:has(.article-sidebar) .page-article { max-width:none; }
}

@media (max-width: 782px) {
  .article-layout-style-card-sidebar .article-header,
  .article-layout-style-card-sidebar .article-featured,
  .article-layout-style-card-sidebar .article-layout { width: min(100% - 20px, var(--zas-shell)); }
  .article-layout-style-card-sidebar .article-header { padding: 18px 16px 8px; }
  .article-layout-style-card-sidebar .article-featured { padding: 0 16px; }
  .article-layout-style-card-sidebar .article-primary { padding: 16px 16px 24px; }
  .article-layout-style-card-sidebar .article-header h1 { font-size: clamp(1.95rem, 10vw, 2.7rem); }
  .article-layout-style-card-sidebar .share-bar { gap: 8px; }
  .article-layout-style-card-sidebar .share-button { min-height: 38px; padding: 8px 12px; font-size: .76rem; }
  .article-cinematic { min-height: 520px; margin-top: 12px; border-radius: 16px; }
}


@media (min-width: 1024px) {
  .article-layout-style-card-sidebar .article-layout-card {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .article-layout-style-card-sidebar.has-article-sidebar .single-article { display: block; width: auto; margin: 0; }
  .article-layout-style-card-sidebar .article-layout-card > .article-sidebar {
    position: sticky; top: 116px;
  }
}

@media (max-width: 782px) {
  .article-layout-style-card-sidebar .article-layout-card { width: min(100% - 20px, var(--zas-shell)); gap: 16px; }
  .article-layout-style-card-sidebar .article-header { padding: 18px 16px 8px; }
  .article-layout-style-card-sidebar .article-featured { padding: 0 16px; }
  .article-layout-style-card-sidebar .article-primary { padding: 16px 16px 24px; }
  .article-layout-style-card-sidebar .article-header h1 { font-size: clamp(1.95rem, 10vw, 2.7rem); }
  .article-layout-style-card-sidebar .share-bar { gap: 8px; }
  .article-layout-style-card-sidebar .share-button { min-height: 38px; padding: 8px 12px; font-size: .76rem; }
}


/* v1.5.4 final card-sidebar fix + hide page title */
.article-layout-style-card-sidebar .article-layout-card > .article-sidebar,
.article-layout-style-card-sidebar .article-layout-card > .article-main-card {
  min-width: 0;
}
.article-layout-style-card-sidebar .article-main-card {
  border-radius: 20px !important;
  overflow: hidden !important;
}
.article-layout-style-card-sidebar .article-main-card .article-header,
.article-layout-style-card-sidebar .article-main-card .article-featured,
.article-layout-style-card-sidebar .article-main-card .article-primary {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.article-layout-style-card-sidebar .article-main-card .article-header h1 {
  font-size: clamp(1.85rem, 3vw, 2.7rem) !important;
  line-height: 1.03 !important;
  max-width: 14ch;
}
.article-layout-style-card-sidebar .article-main-card .article-featured,
.article-layout-style-card-sidebar .article-main-card .article-primary,
.article-layout-style-card-sidebar .article-main-card .article-header {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
}
.article-layout-style-card-sidebar .article-main-card .article-featured img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.article-layout-style-card-sidebar .article-layout-card {
  margin-inline: auto;
}
.page-article.is-title-hidden > .article-header,
.site-main .is-title-hidden > .article-header { display: none !important; }

@media (min-width: 1024px) {
  .article-layout-style-card-sidebar .article-layout-card {
    grid-template-columns: minmax(0, 1fr) 280px !important;
    gap: 22px !important;
    width: min(100% - 28px, 1120px) !important;
  }
  .article-layout-style-card-sidebar .article-layout-card > .article-sidebar {
    position: sticky !important;
    top: 110px !important;
    display: grid !important;
    gap: 16px !important;
  }
}

@media (max-width: 1023px) {
  .article-layout-style-card-sidebar .article-layout-card {
    grid-template-columns: 1fr !important;
    width: min(100% - 20px, var(--zas-shell)) !important;
  }
}

/* =========================================================
   ZAS Single templates + related layouts — v1.6.0
   ========================================================= */
.zas-single-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.zas-single-card {
  overflow: hidden;
  border: 1px solid var(--zas-border);
  border-radius: 20px;
  background: var(--zas-bg);
  box-shadow: var(--zas-shadow);
}
.zas-single-header { padding: 20px 20px 12px; }
.zas-single-header h1 {
  max-width: 18ch;
  margin: 10px 0;
  font-size: clamp(2rem, 5.7vw, 3.2rem);
  line-height: 1.01;
  letter-spacing: -.045em;
}
.zas-single-featured { margin: 0; padding: 0 20px; }
.zas-single-featured img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px;
}
.zas-single-featured figcaption { margin-top: 7px; color: var(--zas-muted); font-size: .75rem; }
.zas-single-content { padding: 18px 20px 26px; }
.zas-single-sidebar { display: grid; gap: 16px; }
.zas-single-sidebar .zas-ad,
.zas-single-sidebar .widget {
  width: 100%; margin: 0; padding: 12px;
  border: 1px solid var(--zas-border);
  border-radius: 18px;
  background: var(--zas-bg);
  box-shadow: var(--zas-shadow);
}
.zas-single-sidebar .zas-ad img { width: 100%; max-height: none; border-radius: 13px; }

/* Related posts selectable layouts */
.related-posts .related-items { display: grid; gap: 14px; }
.related-item { min-width: 0; }
.related-copy { min-width: 0; }
.related-copy h3 { margin: 4px 0 6px; font-size: 1rem; line-height: 1.18; letter-spacing: -.02em; }
.related-copy time { color: var(--zas-muted); font-size: .72rem; }
.related-thumb { display: block; overflow: hidden; border-radius: 12px; background: var(--zas-soft); }
.related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-excerpt { color: var(--zas-muted); font-size: .85rem; line-height: 1.45; }
.related-excerpt p { margin: 0; }

.related-style-simple-list .related-item {
  padding: 0 0 12px;
  border-bottom: 1px solid var(--zas-border);
}
.related-style-simple-list .related-item:last-child { border-bottom: 0; }
.related-style-simple-list .related-copy h3 { font-size: 1.05rem; }

.related-style-horizontal-compact .related-item,
.related-style-horizontal-detailed .related-item,
.related-style-mini-horizontal .related-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 10px;
  border: 1px solid var(--zas-border);
  border-radius: 14px;
  background: var(--zas-bg);
}
.related-style-horizontal-compact .related-thumb { aspect-ratio: 1.25 / 1; }
.related-style-horizontal-detailed .related-thumb { aspect-ratio: 1.3 / 1; }
.related-style-mini-horizontal .related-item { grid-template-columns: 82px minmax(0, 1fr); padding: 8px; }
.related-style-mini-horizontal .related-thumb { aspect-ratio: 1 / 1; border-radius: 10px; }
.related-style-mini-horizontal .related-copy h3 { font-size: .9rem; -webkit-line-clamp: 3; }
.related-style-horizontal-compact .related-copy h3,
.related-style-mini-horizontal .related-copy h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-style-horizontal-compact .related-copy h3 { -webkit-line-clamp: 3; }

.related-style-grid-vertical .related-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.related-style-grid-vertical .related-item {
  overflow: hidden;
  border: 1px solid var(--zas-border);
  border-radius: 15px;
  background: var(--zas-bg);
}
.related-style-grid-vertical .related-thumb { aspect-ratio: 16 / 10; border-radius: 0; }
.related-style-grid-vertical .related-copy { padding: 11px 12px 13px; }
.related-style-grid-vertical .related-copy h3 { font-size: .96rem; }

@media (min-width: 760px) {
  .related-style-horizontal-compact .related-items,
  .related-style-mini-horizontal .related-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related-style-grid-vertical .related-items { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .zas-single-grid.has-sidebar,
  .has-article-sidebar .zas-single-grid { grid-template-columns: minmax(0, 1fr) 300px; }
  .zas-single-sidebar { position: sticky; top: 110px; }
  .zas-single-header h1 { font-size: clamp(2.25rem, 3.2vw, 3.35rem); }
}

/* Dark mode repaired */
html.zas-dark-mode {
  color-scheme: dark;
  --zas-bg: #111317;
  --zas-text: #f5f7fa;
  --zas-muted: #a9b0ba;
  --zas-soft: #1b1f25;
  --zas-border: #303640;
  --zas-dark: #08090b;
  --zas-shadow: 0 14px 36px rgba(0,0,0,.35);
}
html.zas-dark-mode body,
html.zas-dark-mode .site-main,
html.zas-dark-mode .article-layout-style-card-sidebar,
html.zas-dark-mode .home-main,
html.zas-dark-mode .archive-main { background: #111317; color: var(--zas-text); }
html.zas-dark-mode .site-header,
html.zas-dark-mode .header-search,
html.zas-dark-mode .mobile-menu,
html.zas-dark-mode .mobile-bottom-nav { background: rgba(17,19,23,.96); color: var(--zas-text); border-color: var(--zas-border); }
html.zas-dark-mode .desktop-navigation,
html.zas-dark-mode .header-actions .icon-button,
html.zas-dark-mode .news-card,
html.zas-dark-mode .home-category-section,
html.zas-dark-mode .zas-single-card,
html.zas-dark-mode .zas-single-sidebar .zas-ad,
html.zas-dark-mode .zas-single-sidebar .widget,
html.zas-dark-mode .related-item,
html.zas-dark-mode .widget,
html.zas-dark-mode .share-button,
html.zas-dark-mode .article-main-card { background: #181b20; color: var(--zas-text); border-color: var(--zas-border); }
html.zas-dark-mode .article-deck,
html.zas-dark-mode .article-deck-card,
html.zas-dark-mode .article-content blockquote,
html.zas-dark-mode .archive-description { color: #c2c7cf; }
html.zas-dark-mode .article-content,
html.zas-dark-mode .article-content p,
html.zas-dark-mode .article-content li,
html.zas-dark-mode .card-title,
html.zas-dark-mode .related-copy h3 { color: var(--zas-text); }
html.zas-dark-mode .category-badge,
html.zas-dark-mode .meta-pill {
  background: #222730;
  color: #d7dbe1;
  border-color: #363d48;
}
html.zas-dark-mode input,
html.zas-dark-mode textarea,
html.zas-dark-mode select,
html.zas-dark-mode .search-field { background: #181b20; color: #fff; border-color: #363d48; }
html.zas-dark-mode .share-facebook,
html.zas-dark-mode .share-whatsapp,
html.zas-dark-mode .share-copy { color: #fff; }
html.zas-dark-mode .site-footer { background: #07080a; }


/* =========================================================
   ZAS Pro title + definitive dark mode — v1.6.1
   ========================================================= */
.zas-single-header h1,
.article-layout-style-card-sidebar .zas-single-header h1 {
  width: 100%;
  max-width: none !important;
  margin: 12px 0 10px;
  font-size: clamp(1.9rem, 3.2vw, 3rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -.04em;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: balance;
}

@media (min-width: 1024px) {
  .has-article-sidebar .zas-single-header h1 {
    font-size: clamp(2rem, 2.65vw, 2.8rem) !important;
  }
}

@media (max-width: 782px) {
  .zas-single-header h1,
  .article-layout-style-card-sidebar .zas-single-header h1 {
    font-size: clamp(1.8rem, 8.5vw, 2.45rem) !important;
    line-height: 1.05 !important;
  }
}

html.zas-dark-mode,
body.zas-dark-mode-active {
  color-scheme: dark;
  --zas-bg: #111317;
  --zas-text: #f5f7fa;
  --zas-muted: #aeb5bf;
  --zas-soft: #1b1f25;
  --zas-border: #343b46;
  --zas-dark: #08090b;
  --zas-shadow: 0 14px 36px rgba(0,0,0,.4);
}

html.zas-dark-mode body,
body.zas-dark-mode-active,
html.zas-dark-mode #page,
html.zas-dark-mode .site,
html.zas-dark-mode .site-main,
html.zas-dark-mode .single-main,
html.zas-dark-mode .page-main,
html.zas-dark-mode .home-main,
html.zas-dark-mode .archive-main,
html.zas-dark-mode .article-layout-style-card-sidebar {
  background: #111317 !important;
  color: #f5f7fa !important;
}

html.zas-dark-mode .zas-single-card,
html.zas-dark-mode .article-main-card,
html.zas-dark-mode .page-article,
html.zas-dark-mode .news-card,
html.zas-dark-mode .home-category-section,
html.zas-dark-mode .related-item,
html.zas-dark-mode .widget,
html.zas-dark-mode .zas-ad,
html.zas-dark-mode .article-sidebar .widget,
html.zas-dark-mode .article-sidebar .zas-ad {
  background: #181b20 !important;
  color: #f5f7fa !important;
  border-color: #343b46 !important;
}

html.zas-dark-mode .zas-single-header h1,
html.zas-dark-mode .article-header h1,
html.zas-dark-mode .article-content,
html.zas-dark-mode .article-content p,
html.zas-dark-mode .article-content h2,
html.zas-dark-mode .article-content h3,
html.zas-dark-mode .article-content h4,
html.zas-dark-mode .article-content li,
html.zas-dark-mode .card-title,
html.zas-dark-mode .card-title a,
html.zas-dark-mode .related-copy h3,
html.zas-dark-mode .related-copy h3 a,
html.zas-dark-mode .widget-title,
html.zas-dark-mode .site-title,
html.zas-dark-mode .page-title {
  color: #f5f7fa !important;
}

html.zas-dark-mode .article-deck,
html.zas-dark-mode .article-author-row,
html.zas-dark-mode .post-meta,
html.zas-dark-mode .reading-time,
html.zas-dark-mode .related-copy time,
html.zas-dark-mode .related-excerpt,
html.zas-dark-mode figcaption {
  color: #aeb5bf !important;
}

html.zas-dark-mode .site-header,
html.zas-dark-mode .header-search,
html.zas-dark-mode .mobile-menu,
html.zas-dark-mode .mobile-bottom-nav,
html.zas-dark-mode .desktop-navigation,
html.zas-dark-mode .header-actions .icon-button {
  background: #171a1f !important;
  color: #f5f7fa !important;
  border-color: #343b46 !important;
}

html.zas-dark-mode .desktop-navigation a,
html.zas-dark-mode .mobile-menu a,
html.zas-dark-mode .mobile-bottom-nav a,
html.zas-dark-mode .mobile-bottom-nav button {
  color: #e9edf2 !important;
}

html.zas-dark-mode .desktop-navigation a:hover,
html.zas-dark-mode .header-actions .icon-button:hover {
  background: #252a32 !important;
}

html.zas-dark-mode .category-badge,
html.zas-dark-mode .meta-pill,
html.zas-dark-mode .post-tags a {
  background: #242a33 !important;
  color: #dce2e9 !important;
  border-color: #3b4350 !important;
}

html.zas-dark-mode .share-button:not(.share-facebook):not(.share-whatsapp):not(.share-copy) {
  background: #242a33 !important;
  color: #f5f7fa !important;
  border-color: #3b4350 !important;
}

html.zas-dark-mode input,
html.zas-dark-mode textarea,
html.zas-dark-mode select,
html.zas-dark-mode .search-field {
  background: #181b20 !important;
  color: #fff !important;
  border-color: #3b4350 !important;
}

html.zas-dark-mode .article-content blockquote {
  color: #d5dae1 !important;
  background: #171a1f;
}


/* Dark mode ticker and advertising polish — v1.6.2 */
html.zas-dark-mode .breaking-bar {
  background: #12151a !important;
  color: #f5f7fa !important;
  border-top: 1px solid #2c333d;
  border-bottom: 1px solid #2c333d;
}
html.zas-dark-mode .breaking-inner {
  background: transparent !important;
}
html.zas-dark-mode .breaking-track {
  background: #1b1f25 !important;
  color: #eef2f6 !important;
  border: 1px solid #303743;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.015);
}
html.zas-dark-mode .breaking-track a {
  color: #eef2f6 !important;
}
html.zas-dark-mode .breaking-track a + a::before {
  color: #ff4b55 !important;
}
html.zas-dark-mode .breaking-label {
  background: linear-gradient(135deg, #e30613, #ff3b30) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(227,6,19,.22);
}
html.zas-dark-mode .breaking-dot {
  background: #fff !important;
}
html.zas-dark-mode .ticker-live-button {
  background: #1b1f25 !important;
  color: #ff5a63 !important;
  border-color: #7a3038 !important;
}
html.zas-dark-mode .ticker-live-button span {
  color: #c3cad3 !important;
}
html.zas-dark-mode .zas-ad-label {
  color: #aeb5bf !important;
}
html.zas-dark-mode .zas-ad img {
  background: #181b20 !important;
}

.footer-logo, .footer-brand-panel .footer-logo { justify-content: flex-start; }
html body .footer-logo { justify-content: flex-start; }
:root[style*='--zas-footer-logo-align:center'], body[style*='--zas-footer-logo-align:center'] {}
.site-footer{--_footer-logo-justify:flex-start;}
:root{ }
.site-footer .footer-logo{justify-content:var(--_footer-logo-justify);}

.footer-logo.footer-logo-align-center{justify-content:center;}
.footer-logo.footer-logo-align-right{justify-content:flex-end;}
.footer-logo.footer-logo-align-left{justify-content:flex-start;}
.footer-logo.footer-logo-align-center .footer-text-logo{align-items:center;text-align:center;}
.footer-logo.footer-logo-align-right .footer-text-logo{align-items:flex-end;text-align:right;}

/* v1.6.6 hero title balance */
.home-hero-overlay-sidebar .lead-content h1 { line-height: 1.02; max-width: 16ch; }
@media (max-width: 782px) { .home-hero-overlay-sidebar .lead-content h1 { max-width: 15ch; } }


/* v1.6.7 editorial hero card */
.home-hero-editorial-card .lead-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(190px, .78fr);
  gap: 0;
  min-height: 420px;
  overflow: hidden;
  border-radius: 22px;
  background: #111827;
  box-shadow: var(--zas-shadow);
}
.home-hero-editorial-card .lead-media,
.home-hero-editorial-card .lead-side-story {
  position: relative;
  display: block;
  min-height: 420px;
}
.home-hero-editorial-card .lead-media img,
.home-hero-editorial-card .lead-side-story img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-hero-editorial-card .lead-side-story { border-left: 1px solid rgba(255,255,255,.12); }
.home-hero-editorial-card .lead-media::after,
.home-hero-editorial-card .lead-side-story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 10%, rgba(0,0,0,.2) 55%, rgba(0,0,0,.52) 100%);
}
.home-hero-editorial-card .lead-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 26px;
  color: #fff;
  background: linear-gradient(180deg, rgba(5,7,12,0) 0%, rgba(5,7,12,.76) 52%, rgba(5,7,12,.96) 100%);
}
.home-hero-editorial-card .lead-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.home-hero-editorial-card .lead-kicker .post-meta { color: rgba(255,255,255,.84); font-size: .84rem; }
.home-hero-editorial-card .category-badge { background: var(--zas-accent); color: #fff; border-radius: 999px; padding: 8px 13px; }
.home-hero-editorial-card .lead-content h1 {
  max-width: 20ch;
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.02;
  letter-spacing: -.045em;
  text-shadow: 0 6px 24px rgba(0,0,0,.42);
}
.home-hero-editorial-card .lead-content h1 a:hover { color: #fff; opacity: .95; }
.home-hero-editorial-card .lead-excerpt { display: none; }
.home-hero-editorial-card .lead-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--zas-accent), #ff6f1f);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(227,6,19,.24);
}
.home-hero-editorial-card .lead-read-more:hover { color: #fff; filter: brightness(.97); }

@media (max-width: 782px) {
  .home-hero-editorial-card .lead-story {
    grid-template-columns: minmax(0, 1.55fr) minmax(108px, .8fr);
    min-height: 340px;
    border-radius: 18px;
  }
  .home-hero-editorial-card .lead-media,
  .home-hero-editorial-card .lead-side-story { min-height: 340px; }
  .home-hero-editorial-card .lead-content {
    padding: 18px;
    background: linear-gradient(180deg, rgba(5,7,12,0) 8%, rgba(5,7,12,.7) 50%, rgba(5,7,12,.96) 100%);
  }
  .home-hero-editorial-card .lead-content h1 {
    max-width: 12ch;
    font-size: clamp(1.55rem, 6.8vw, 2.15rem);
    margin-bottom: 12px;
  }
  .home-hero-editorial-card .category-badge { padding: 7px 11px; }
  .home-hero-editorial-card .lead-kicker .post-meta { font-size: .78rem; }
  .home-hero-editorial-card .lead-read-more { min-height: 42px; padding: 10px 16px; }
}

@media (min-width: 1180px) {
  .home-hero-editorial-card .lead-story {
    grid-template-columns: minmax(0, 2fr) minmax(235px, .82fr);
    min-height: 450px;
  }
  .home-hero-editorial-card .lead-media,
  .home-hero-editorial-card .lead-side-story { min-height: 450px; }
  .home-hero-editorial-card .lead-content { padding: 30px; }
}


/* v1.6.8 editorial hero title correction */
.home-hero-editorial-card .lead-content {
  padding: 24px 26px 26px;
}
.home-hero-editorial-card .lead-content h1 {
  max-width: min(76%, 760px);
  font-size: clamp(1.75rem, 2.65vw, 2.55rem);
  line-height: 1.02;
  margin-bottom: 14px;
}
.home-hero-editorial-card:not(.has-hero-ad) .lead-content h1 {
  max-width: min(72%, 760px);
}
.home-hero-editorial-card .lead-kicker {
  margin-bottom: 8px;
}

@media (max-width: 782px) {
  .home-hero-editorial-card .lead-content {
    padding: 16px 18px 18px;
  }
  .home-hero-editorial-card .lead-content h1,
  .home-hero-editorial-card:not(.has-hero-ad) .lead-content h1 {
    max-width: 92%;
    font-size: clamp(1.42rem, 6vw, 1.9rem);
    line-height: 1.04;
  }
  .home-hero-editorial-card .lead-story {
    min-height: 360px;
  }
  .home-hero-editorial-card .lead-media,
  .home-hero-editorial-card .lead-side-story {
    min-height: 360px;
  }
}


/* v1.6.9 — functional hero layouts and balanced titles */
.home-hero-row .lead-content h1 {
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

/* Overlay + optional advertising sidebar */
.home-hero-overlay-sidebar .lead-content h1 {
  width: min(100%, var(--zas-hero-title-width, 620px));
  max-width: none;
  font-size: clamp(1.55rem, 2.4vw, var(--zas-hero-title-size, 30px));
  line-height: 1.08;
  letter-spacing: -.032em;
}

/* Editorial composite card */
.home-hero-editorial-card .lead-content h1,
.home-hero-editorial-card:not(.has-hero-ad) .lead-content h1 {
  width: min(100%, var(--zas-hero-title-width, 620px));
  max-width: none;
  font-size: clamp(1.55rem, 2.4vw, var(--zas-hero-title-size, 30px));
  line-height: 1.08;
  letter-spacing: -.032em;
}

/* Image and text separated */
.home-hero-split {
  align-items: stretch;
}
.home-hero-split .lead-story {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(290px, .8fr);
  gap: 24px;
  align-items: center;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--zas-border);
  border-radius: 20px;
  background: var(--zas-bg);
  box-shadow: var(--zas-shadow);
}
.home-hero-split .lead-media {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
}
.home-hero-split .lead-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-hero-split .lead-content {
  position: static;
  min-height: 0;
  padding: 0;
  color: var(--zas-text);
}
.home-hero-split .lead-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.home-hero-split .lead-content h1 {
  width: 100%;
  max-width: var(--zas-hero-title-width, 620px);
  margin: 12px 0;
  color: var(--zas-text);
  font-size: clamp(1.65rem, 2.6vw, var(--zas-hero-title-size, 30px));
  line-height: 1.06;
  letter-spacing: -.035em;
  text-shadow: none;
}
.home-hero-split .lead-excerpt {
  display: block;
  color: var(--zas-muted);
  font-size: .98rem;
  line-height: 1.55;
}
.home-hero-split .lead-read-more {
  margin-top: 16px;
}

/* Sidebar ad works with every selected layout instead of forcing overlay. */
.home-hero-row.has-hero-ad {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  align-items: stretch;
}
.home-hero-row.has-hero-ad .lead-story,
.home-hero-row.has-hero-ad .home-hero-sidebar {
  min-width: 0;
}
.home-hero-split.has-hero-ad .lead-story {
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, .75fr);
}

@media (max-width: 1023px) {
  .home-hero-row.has-hero-ad {
    grid-template-columns: 1fr;
  }
  .home-hero-split .lead-story,
  .home-hero-split.has-hero-ad .lead-story {
    grid-template-columns: 1fr;
  }
  .home-hero-split .lead-content {
    padding: 2px 2px 4px;
  }
}

@media (max-width: 782px) {
  .home-hero-overlay-sidebar .lead-content h1,
  .home-hero-editorial-card .lead-content h1,
  .home-hero-editorial-card:not(.has-hero-ad) .lead-content h1 {
    width: 100%;
    max-width: 94%;
    font-size: clamp(1.45rem, 6.8vw, 2rem);
    line-height: 1.06;
  }
  .home-hero-split .lead-story {
    padding: 12px;
    gap: 15px;
    border-radius: 17px;
  }
  .home-hero-split .lead-media {
    aspect-ratio: 16 / 10;
    border-radius: 14px;
  }
  .home-hero-split .lead-content h1 {
    max-width: 100%;
    font-size: clamp(1.55rem, 7.2vw, 2.08rem);
  }
  .home-hero-split .lead-excerpt {
    display: none;
  }
}

html.zas-dark-mode .home-hero-split .lead-story,
body.zas-dark-mode .home-hero-split .lead-story {
  background: #17191d;
  border-color: #30343b;
}
html.zas-dark-mode .home-hero-split .lead-content h1,
body.zas-dark-mode .home-hero-split .lead-content h1 {
  color: #f7f8fa;
}


/* v1.7.0 editorial card fix */
.home-hero-editorial-card .lead-story {
  grid-template-columns: minmax(0, 1fr);
  background: #111827;
}
.home-hero-editorial-card .lead-story.has-secondary-story {
  grid-template-columns: minmax(0, 1.7fr) minmax(190px, .78fr);
}
.home-hero-editorial-card .lead-content {
  padding: 22px 24px 24px;
}
.home-hero-editorial-card .lead-content h1,
.home-hero-editorial-card:not(.has-hero-ad) .lead-content h1 {
  width: min(100%, 720px);
  max-width: 78%;
  font-size: clamp(1.68rem, 2.35vw, 2.35rem);
  line-height: 1.04;
  margin-bottom: 14px;
}
.home-hero-editorial-card .lead-story:not(.has-secondary-story) .lead-content h1 {
  max-width: 68%;
}
.home-hero-editorial-card .lead-story:not(.has-secondary-story) .lead-media,
.home-hero-editorial-card .lead-story:not(.has-secondary-story) .lead-media img {
  min-height: 420px;
}
.home-hero-editorial-card .lead-story:not(.has-secondary-story) .lead-side-story {
  display: none;
}
@media (min-width: 1180px) {
  .home-hero-editorial-card .lead-story.has-secondary-story {
    grid-template-columns: minmax(0, 2fr) minmax(235px, .82fr);
  }
  .home-hero-editorial-card .lead-story:not(.has-secondary-story) .lead-media,
  .home-hero-editorial-card .lead-story:not(.has-secondary-story) .lead-media img {
    min-height: 450px;
  }
}
@media (max-width: 782px) {
  .home-hero-editorial-card .lead-story,
  .home-hero-editorial-card .lead-story.has-secondary-story {
    grid-template-columns: minmax(0, 1fr);
    min-height: 360px;
  }
  .home-hero-editorial-card .lead-side-story {
    display: none;
  }
  .home-hero-editorial-card .lead-content {
    padding: 16px 18px 18px;
  }
  .home-hero-editorial-card .lead-content h1,
  .home-hero-editorial-card:not(.has-hero-ad) .lead-content h1,
  .home-hero-editorial-card .lead-story:not(.has-secondary-story) .lead-content h1 {
    max-width: 94%;
    width: 94%;
    font-size: clamp(1.36rem, 5.5vw, 1.82rem);
    line-height: 1.05;
  }
}


/* v1.7.1 — portada hover animation inspired by zasviral-mejorado */
.home-hero-row .lead-media img,
.home-hero-row .lead-side-story img {
  transition: transform .6s cubic-bezier(.4,0,.2,1), filter .35s ease;
  will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
  .home-hero-row .lead-story:hover .lead-media img {
    transform: scale(1.04);
  }
  .home-hero-row .lead-side-story:hover img {
    transform: scale(1.04);
  }
  .home-hero-row .lead-story:hover .lead-content h1 a {
    text-shadow: 0 6px 24px rgba(0,0,0,.58);
  }
  .home-hero-row .lead-read-more {
    transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
  }
  .home-hero-row .lead-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(227,6,19,.42);
    color: #fff;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-row .lead-media img,
  .home-hero-row .lead-side-story img,
  .home-hero-row .lead-read-more {
    transition: none !important;
    transform: none !important;
  }
}


/* Protected content login + reliable editor image alignment — v1.8.0 */
.article-content img:not(.avatar):not(.emoji),
.entry-content img:not(.avatar):not(.emoji) {
  width: auto;
  max-width: 100%;
  height: auto;
}

.entry-content figure,
.article-content figure {
  max-width: 100%;
}

/* Gutenberg image blocks, Classic Editor images and legacy captions. */
.entry-content .aligncenter,
.article-content .aligncenter,
.entry-content figure.aligncenter,
.article-content figure.aligncenter,
.entry-content .wp-block-image.aligncenter,
.article-content .wp-block-image.aligncenter,
.entry-content .wp-block-image .aligncenter,
.article-content .wp-block-image .aligncenter,
.entry-content .wp-caption.aligncenter,
.article-content .wp-caption.aligncenter {
  margin-left: auto !important;
  margin-right: auto !important;
}

.entry-content img.aligncenter,
.article-content img.aligncenter,
.entry-content a > img.aligncenter,
.article-content a > img.aligncenter {
  display: block;
}

.entry-content figure.aligncenter,
.article-content figure.aligncenter,
.entry-content .wp-block-image.aligncenter,
.article-content .wp-block-image.aligncenter,
.entry-content .wp-block-image .aligncenter,
.article-content .wp-block-image .aligncenter,
.entry-content .wp-caption.aligncenter,
.article-content .wp-caption.aligncenter {
  display: table;
  width: fit-content;
  max-width: 100%;
  text-align: center;
}

.entry-content figure.aligncenter > img,
.article-content figure.aligncenter > img,
.entry-content .wp-block-image.aligncenter img,
.article-content .wp-block-image.aligncenter img,
.entry-content .wp-block-image .aligncenter img,
.article-content .wp-block-image .aligncenter img,
.entry-content .wp-caption.aligncenter img,
.article-content .wp-caption.aligncenter img {
  margin-left: auto;
  margin-right: auto;
}

/* Center images placed inside a centered paragraph in either editor. */
.entry-content p.has-text-align-center > img,
.article-content p.has-text-align-center > img,
.entry-content p[style*="text-align: center"] > img,
.article-content p[style*="text-align: center"] > img,
.entry-content p[style*="text-align:center"] > img,
.article-content p[style*="text-align:center"] > img {
  display: inline-block;
  width: auto;
  max-width: 100%;
}

.entry-content .alignleft,
.article-content .alignleft {
  float: left;
  margin: .35em 1.35em 1em 0;
}

.entry-content .alignright,
.article-content .alignright {
  float: right;
  margin: .35em 0 1em 1.35em;
}

.entry-content::after,
.article-content::after {
  content: "";
  display: table;
  clear: both;
}

.entry-content figcaption,
.article-content figcaption,
.entry-content .wp-caption-text,
.article-content .wp-caption-text {
  margin-top: 8px;
  color: var(--zas-muted);
  font-size: .78rem;
  line-height: 1.45;
  text-align: center;
}

/* Branded password gate. */
.post-password-required .article-content,
.post-password-required .entry-content {
  width: 100%;
}

.zas-password-gate {
  position: relative;
  width: min(100%, 590px);
  margin: clamp(24px, 5vw, 58px) auto;
  overflow: hidden;
  border: 1px solid var(--zas-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--zas-accent) 10%, transparent), transparent 34%),
    #fff;
  box-shadow: 0 24px 70px rgba(16, 24, 40, .13);
  color: var(--zas-text);
}

.zas-password-gate__accent {
  height: 7px;
  background: linear-gradient(90deg, var(--zas-accent), #ff5a16 55%, #ffbd00);
}

.zas-password-gate__inner {
  padding: clamp(24px, 5vw, 44px);
  text-align: center;
}

.zas-password-gate__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.zas-password-gate__badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--zas-accent) 22%, var(--zas-border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--zas-accent) 7%, #fff);
  color: var(--zas-accent);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .07em;
}

.zas-password-gate__icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border: 1px solid color-mix(in srgb, var(--zas-accent) 18%, var(--zas-border));
  border-radius: 24px;
  background: linear-gradient(145deg, #fff, color-mix(in srgb, var(--zas-accent) 8%, #fff));
  color: var(--zas-accent);
  box-shadow: 0 14px 35px color-mix(in srgb, var(--zas-accent) 16%, transparent);
  transform: rotate(-3deg);
}

.zas-password-gate__icon svg {
  width: 36px;
  height: 36px;
}

.zas-password-gate h2 {
  margin: 0;
  font-size: clamp(1.65rem, 5vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 950;
}

.zas-password-gate__description {
  max-width: 440px;
  margin: 13px auto 24px !important;
  color: var(--zas-muted);
  font-size: .98rem;
  line-height: 1.6;
}

.zas-password-form {
  text-align: left;
}

.zas-password-form > label {
  display: block;
  margin-bottom: 8px;
  color: var(--zas-text);
  font-size: .82rem;
  font-weight: 850;
}

.zas-password-form__field {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 56px;
  overflow: hidden;
  border: 1px solid #d8dce2;
  border-radius: 14px;
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(16, 24, 40, .03);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.zas-password-form__field:focus-within {
  border-color: var(--zas-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--zas-accent) 13%, transparent);
}

.zas-password-form__field-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 50px;
  color: #8a9099;
}

.zas-password-form__field-icon svg {
  width: 20px;
  height: 20px;
}

.zas-password-form input[type="password"],
.zas-password-form input[type="text"] {
  min-width: 0;
  flex: 1;
  height: 54px;
  padding: 0 8px 0 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--zas-text);
  font-size: 1rem;
}

.zas-password-form input::placeholder {
  color: #9aa0a9;
}

.zas-password-toggle {
  flex: 0 0 auto;
  align-self: stretch;
  min-width: 82px;
  padding: 0 14px;
  border: 0;
  border-left: 1px solid #e4e7eb;
  background: #f7f8f9;
  color: #555c66;
  font-size: .76rem;
  font-weight: 850;
  cursor: pointer;
}

.zas-password-toggle:hover {
  background: #eff1f3;
  color: var(--zas-accent);
}

.zas-password-toggle__hide {
  display: none;
}

.zas-password-toggle[aria-pressed="true"] .zas-password-toggle__show {
  display: none;
}

.zas-password-toggle[aria-pressed="true"] .zas-password-toggle__hide {
  display: inline;
}

.zas-password-submit {
  width: 100%;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--zas-accent), #b7000b);
  color: #fff;
  box-shadow: 0 13px 28px color-mix(in srgb, var(--zas-accent) 28%, transparent);
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.zas-password-submit svg {
  width: 20px;
  height: 20px;
  transition: transform .18s ease;
}

.zas-password-submit:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--zas-accent) 34%, transparent);
}

.zas-password-submit:hover svg {
  transform: translateX(3px);
}

.zas-password-form.is-submitting .zas-password-submit {
  pointer-events: none;
  opacity: .78;
}

.zas-password-gate__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 18px 0 0 !important;
  color: #747b85;
  font-size: .76rem;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .entry-content .alignleft,
  .article-content .alignleft,
  .entry-content .alignright,
  .article-content .alignright {
    float: none;
    display: block;
    margin: 1.1em auto;
  }

  .zas-password-gate {
    border-radius: 19px;
  }

  .zas-password-gate__inner {
    padding: 25px 18px 27px;
  }

  .zas-password-gate__icon {
    width: 66px;
    height: 66px;
    border-radius: 20px;
  }

  .zas-password-toggle {
    min-width: 72px;
    padding-inline: 10px;
  }
}

html.zas-dark-mode .zas-password-gate {
  border-color: #34373d;
  background:
    radial-gradient(circle at 100% 0, color-mix(in srgb, var(--zas-accent) 18%, transparent), transparent 35%),
    #191b1f;
  color: #f6f7f8;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

html.zas-dark-mode .zas-password-gate__badge {
  border-color: color-mix(in srgb, var(--zas-accent) 35%, #34373d);
  background: color-mix(in srgb, var(--zas-accent) 14%, #191b1f);
}

html.zas-dark-mode .zas-password-gate__icon {
  border-color: #3a3d44;
  background: linear-gradient(145deg, #23262b, #191b1f);
}

html.zas-dark-mode .zas-password-form > label,
html.zas-dark-mode .zas-password-form input[type="password"],
html.zas-dark-mode .zas-password-form input[type="text"] {
  color: #f6f7f8;
}

html.zas-dark-mode .zas-password-form__field {
  border-color: #3b3f46;
  background: #15171a;
}

html.zas-dark-mode .zas-password-toggle {
  border-left-color: #3b3f46;
  background: #23262b;
  color: #d2d5da;
}

html.zas-dark-mode .zas-password-toggle:hover {
  background: #2a2d33;
  color: #fff;
}

html.zas-dark-mode .zas-password-gate__description,
html.zas-dark-mode .zas-password-gate__note {
  color: #aeb3bb;
}

/* Publicidad y Google AdSense — v1.8.3 */
.article-primary > .zas-ad-article_before_content,
.zas-single-content > .zas-ad-article_before_content {
  width: 100%; max-width: 100%; margin: 6px auto 28px; clear: both;
}
.entry-content .zas-ad-article_inside_1,
.entry-content .zas-ad-article_inside_2 {
  width: 100%; max-width: 100%; margin: 30px auto; padding: 16px 0;
  clear: both; border-top: 1px solid var(--zas-border); border-bottom: 1px solid var(--zas-border);
}
.entry-content .zas-ad img,
.article-primary > .zas-ad img,
.zas-single-content > .zas-ad img {
  display: block; width: auto; max-width: 100%; height: auto; max-height: 360px; margin: 0 auto; object-fit: contain;
}
.zas-ad-code { width: 100%; max-width: 100%; min-width: 0; overflow: visible; text-align: center; }
.zas-ad-code iframe,
.zas-ad-code ins,
.zas-ad-code > div { max-width: 100%; margin-inline: auto; }
.zas-ad-code--adsense { width: 100%; min-width: 0; }
.zas-ad-code--adsense .adsbygoogle { display: block; width: 100%; min-width: 0; max-width: 100%; }
.zas-ad-code--adsense > script { display: none !important; }
@media (max-width: 619px) {
  .entry-content .zas-ad-article_inside_1,
  .entry-content .zas-ad-article_inside_2 { margin: 24px auto; padding: 13px 0; }
}
