/* Chancay HOY: editorial hierarchy proposal. Uses existing fonts and identity. */
:root { --editorial-line: #e5e7eb; --editorial-muted: #64748b; }
.site-header { border-top: 3px solid var(--brand-red); background: #fff; }
.site-header .header-inner--centered { min-height: 72px; }
.editorial-header-search { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--brand-blue); flex-shrink: 0; }
.site-header .header-catbar { background: #fff; border-block: 1px solid var(--editorial-line); }
.site-header .nav-menu--bar a { color: var(--brand-ink); background: transparent; border-radius: 0; }
.site-header .nav-menu--bar .nav-link--accent { color: var(--brand-ink) !important; }
.site-header .nav-menu--bar a:hover, .site-header .nav-menu--bar a[aria-current] { color: var(--brand-blue) !important; text-decoration: underline; text-underline-offset: 5px; }
.site-header .header-catbar.open .nav-menu--bar a { color: var(--brand-ink); }
.editorial-mobile-cta { display: none; }
.editorial-edition { padding-top: 18px; padding-bottom: 16px; border-bottom: 1px solid var(--editorial-line); display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.editorial-edition h1 { font: 500 .875rem/1.5 var(--font); color: var(--brand-muted); margin: 0; max-width: 80ch; letter-spacing: 0; }
.editorial-edition h1 em { font-style: normal; }
.editorial-edition > p { white-space: nowrap; font-size: .75rem; color: var(--brand-muted); margin: 0; }
.editorial-front { padding-top: 22px; padding-bottom: 32px; }
.editorial-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.editorial-section-head h2 { font-family: var(--font); font-size: .875rem; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; margin: 0; color: var(--brand-blue); }
.editorial-section-head > a, .editorial-section-head > span { font: 500 .8125rem/1.4 var(--font); }
.editorial-section-head > span { color: var(--brand-muted); }
.editorial-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.editorial-grid a, .editorial-stream a, .editorial-desk a { color: inherit; }
.editorial-grid h3 a:hover, .editorial-stream h3 a:hover, .editorial-desk h3 a:hover { color: var(--brand-blue); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.editorial-kicker { font: 700 .6875rem/1.4 var(--font); letter-spacing: .07em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 8px; }
.editorial-lead h3 { font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1.09; letter-spacing: -.025em; font-weight: 700; margin-bottom: 20px; }
.editorial-lead-image { display: block; margin-bottom: 16px; }
.editorial-lead-image img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.editorial-dek { font-size: 1rem; line-height: 1.55; color: var(--brand-muted); margin-bottom: 12px; }
.editorial-time { display: block; font: 500 .75rem/1.5 var(--font); color: var(--brand-muted); font-variant-numeric: tabular-nums; }
.editorial-secondary { border-left: 1px solid var(--editorial-line); padding-left: 28px; }
.editorial-secondary-item { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 16px; border-bottom: 1px solid var(--editorial-line); padding: 0 0 20px; margin: 0 0 20px; align-items: start; }
.editorial-secondary-item:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.editorial-secondary-item h3 { font-size: 1.2rem; line-height: 1.23; letter-spacing: -.01em; font-weight: 700; margin-bottom: 8px; }
.editorial-thumb { display: block; }
.editorial-thumb img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.editorial-stream { padding-block: 28px; border-top: 2px solid var(--brand-blue); border-bottom: 1px solid var(--editorial-line); }
.editorial-stream-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; }
.editorial-stream-list li { border-left: 2px solid var(--editorial-line); padding-left: 14px; }
.editorial-stream-list time { font-size: .75rem; color: var(--brand-muted); display: block; margin-bottom: 7px; font-variant-numeric: tabular-nums; }
.editorial-stream-list h3 { font-size: 1.125rem; line-height: 1.25; font-weight: 600; margin: 0; }
.editorial-desk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-block: 40px; }
.editorial-desk { min-width: 0; }
.editorial-desk .editorial-section-head { border-top: 2px solid var(--brand-blue); padding-top: 14px; }
.editorial-desk-image { display: block; margin-bottom: 12px; }
.editorial-desk-image img { aspect-ratio: 16 / 9; width: 100%; height: auto; object-fit: cover; }
.editorial-desk-item { padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid var(--editorial-line); }
.editorial-desk-item h3 { font-size: 1.125rem; line-height: 1.3; }
.main .editorial-services { background: #f7f9fb; padding: 32px 0; color: var(--brand-ink); border-block: 1px solid var(--editorial-line); }
.editorial-services .hero-bg { display: none; }
.editorial-services .hero-content { max-width: var(--container-max); }
.editorial-services .hero-brand, .editorial-services .hero-eyebrow { color: var(--brand-blue); text-shadow: none; }
.editorial-services .hero-brand { display: none; }
.editorial-services .editorial-services-title { font-size: 1.75rem; color: var(--brand-ink); }
.editorial-services .lead, .editorial-services .geo-claims, .editorial-services .geo-claims strong { color: var(--brand-muted); max-width: 80ch; }
.editorial-services .hero-search { margin-top: 20px; border: 1px solid #a8b8c8; max-width: 640px; }
.editorial-services .hero-search input { min-height: 44px; }
.editorial-services .hero-tags a { color: var(--brand-blue); border-color: #b7c7d8; background: #fff; }
.editorial-services .hero-tags a:hover { background: #e8eff7; color: var(--brand-blue); }
.editorial-services .hero-search:focus-within { outline-color: var(--brand-blue); }
.editorial-services :is(a,button,input):focus-visible { outline-color: var(--brand-blue); }
.main .chz-compass-widget { border-width: 1px; border-color: var(--editorial-line); border-radius: 4px; }
.main .chz-anuncia-home-banner { background: #f2f5f8; color: var(--brand-blue); border: 1px solid var(--editorial-line); border-radius: 4px; }
.main .chz-anuncia-home-banner-cta { background: #fff; border: 1px solid #b7c7d8; }
.page-header:has(+ .article-body) .container { max-width: 960px; }
.page-header:has(+ .article-body) h1 { max-width: 24ch; font-size: clamp(2rem, 4vw, 3.5rem); }
.page-header:has(+ .article-body) .lead { max-width: 70ch; font-size: 1.125rem; line-height: 1.6; }
.article-body .content-prose { max-width: 76ch; font-size: 1.125rem; line-height: 1.75; }
.article-body .content-prose > figure { box-shadow: none !important; border-radius: 0 !important; }
.editorial-photo-caption { font: 400 .8125rem/1.5 var(--font); color: var(--brand-muted); padding-top: 10px; }
.article-body .article-toc { font-size: .9375rem; }
.ad-wrap:has(.adsbygoogle)::before { content: 'Publicidad'; display: block; text-align: center; color: var(--brand-muted); font-size: .6875rem; text-transform: uppercase; letter-spacing: .1em; }
body .chz-gamify-widget { position: relative; inset: auto !important; width: fit-content; margin: 20px 16px 20px auto; z-index: 10; }
@media (min-width: 1100px) {
  .site-header .header-catbar { display: block; overflow: visible; }
  .site-header .header-catbar .nav-menu--bar, .site-header .header-catbar.open .nav-menu--bar { display: flex; flex-direction: row; justify-content: center; gap: 0; padding: 0; }
  .site-header .header-catbar .nav-menu--bar a { font-size: .875rem; padding: 12px 16px; min-height: 44px; width: auto; }
  .site-header .nav-toggle { display: none; }
  .site-header.is-scrolled .header-inner--centered { min-height: 52px; padding-block: 4px; }
}
@media (max-width: 1099px) {
  .editorial-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
  .editorial-secondary { padding-left: 20px; }
  .editorial-secondary-item { grid-template-columns: minmax(0, 1fr) 86px; gap: 12px; }
  .editorial-secondary-item h3 { font-size: 1.0625rem; }
  .editorial-desk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editorial-edition > p { display: none; }
}
@media (max-width: 639px) {
  .site-header .header-inner--centered { min-height: 60px; }
  .site-header .header-cta-btn { display: none; }
  .site-header .editorial-mobile-cta { display: list-item; }
  .site-header .header-side--right { gap: 0; }
  .site-header .header-date { display: none; }
  .editorial-edition { padding-block: 12px; }
  .editorial-edition h1 { font-size: .75rem; line-height: 1.45; }
  .editorial-front { padding-top: 18px; padding-bottom: 20px; }
  .editorial-section-head { margin-bottom: 16px; }
  .editorial-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .editorial-lead h3 { font-size: clamp(1.875rem, 7.2vw, 2.5rem); margin-bottom: 16px; }
  .editorial-lead .editorial-kicker { margin-bottom: 8px; }
  .editorial-dek { font-size: .9375rem; }
  .editorial-secondary { padding-left: 0; border-left: 0; padding-top: 20px; border-top: 1px solid var(--editorial-line); }
  .editorial-secondary-item { grid-template-columns: minmax(0, 1fr) 104px; }
  .editorial-secondary-item h3 { font-size: 1.1875rem; }
  .editorial-stream-list { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .editorial-stream-list li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; padding-left: 0; border-left: 0; border-bottom: 1px solid var(--editorial-line); padding-bottom: 16px; }
  .editorial-stream-list time { font-size: .6875rem; }
  .editorial-desk-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-block: 28px; }
  .editorial-services .hero-search { flex-direction: row; padding: 4px; }
  .editorial-services .hero-search input { width: 0; padding-inline: 8px; font-size: .875rem; }
  .editorial-services .hero-search button { padding-inline: 12px; }
  .page-header:has(+ .article-body) h1 { font-size: clamp(2rem, 7.5vw, 2.5rem); }
  .article-body .content-prose { font-size: 1.125rem; }
}

.site-header .nav-menu--bar a.nav-pill { background: transparent !important; border: 0; border-radius: 0 !important; box-shadow: none; }

/* Dedicated news archive. */
.news-archive-header h1 { max-width: none; }
.news-archive-header .lead { max-width: 72ch; }
.news-archive-count { color: var(--brand-muted); font-size: .875rem; margin-top: 16px; margin-bottom: 0; }
.news-archive-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.news-archive-card .listing-card-body { display: flex; flex-direction: column; gap: 12px; }
.news-archive-card h2 { margin: 0; font-size: 1.35rem; line-height: 1.25; }
.news-archive-excerpt { color: var(--brand-muted); margin: 0; line-height: 1.55; font-size: .9375rem; }
.news-archive-card time { margin-top: auto; padding-top: 4px; }
.news-archive-pagination { flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 36px; }
.news-archive-pagination :is(a,span.active) { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 12px; }
.news-archive-pagination span.active { background: var(--brand-blue); color: #fff; border-radius: 6px; }
.news-pagination-gap { color: var(--brand-muted); padding: 8px; }
@media (min-width: 640px) { .news-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .news-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
