.home-hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(270px, .9fr); gap: 20px; align-items: stretch; }
.hero-lead { position: relative; height: 410px; min-height: 0; overflow: hidden; background: var(--color-primary-dark); }
.hero-lead img { width: 100%; height: 100%; min-height: 0; object-fit: cover; opacity: .78; }
.hero-lead::after { content: ""; position: absolute; inset: 25% 0 0; background: linear-gradient(0deg,rgba(5,19,28,.96),transparent); }
.hero-lead__body { position: absolute; z-index: 2; inset: auto 0 0; padding: clamp(22px,4vw,38px); color: #fff; }
.hero-lead h1 { color: #fff; font-size: clamp(1.65rem,3.3vw,2.75rem); margin: 9px 0; max-width: 830px; }
.hero-side { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 14px; height: 410px; }
.hero-side .news-card { display: grid; grid-template-columns: 38% 1fr; min-height: 0; }
.hero-side .news-card__media img { height: 100%; aspect-ratio: auto; }
.hero-side .news-card__body { padding: 11px 12px; overflow: hidden; }
.hero-side .news-card__title { display: -webkit-box; margin-block: 5px 4px; overflow: hidden; font-size: .88rem; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.hero-side .meta-row { margin-top: 2px; }
.category-strip { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
.editorial-panel { background: var(--color-primary-dark); color: #fff; padding: 26px; }
.editorial-panel h2, .editorial-panel h3 { color: #fff; }
.editorial-panel .compact-story { border-color: rgba(255,255,255,.14); }
.editorial-panel .compact-story h4 { color: #fff; }
.page-hero { padding: 34px; margin-bottom: 30px; background: var(--color-primary-dark); color: #d7e2e8; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 210px; height: 210px; border: 42px solid rgba(237,165,29,.13); border-radius: 50%; left: -50px; top: -100px; }
.page-hero h1 { color: #fff; font-size: clamp(1.65rem,3vw,2.5rem); margin-bottom: 8px; position: relative; z-index: 1; }
.page-hero p { max-width: 710px; margin-bottom: 0; position: relative; z-index: 1; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 19px; }
.view-switch { display: flex; gap: 5px; }
.view-switch button { width: 39px; height: 39px; border: 1px solid var(--color-border); background: #fff; cursor: pointer; }
.listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 21px; }
.listing-grid.is-list { display: block; }
.listing-grid.is-list .news-card { display: grid; grid-template-columns: 250px 1fr; margin-bottom: 18px; }
.listing-grid.is-list .news-card__media img { height: 100%; }
.timeline { position: relative; padding-right: 100px; }
.timeline::before { content: ""; position: absolute; right: 69px; top: 10px; bottom: 0; width: 1px; background: var(--color-border); }
.timeline-item { position: relative; padding: 0 22px 25px 0; }
.timeline-item::before { content: ""; position: absolute; right: -37px; top: 7px; width: 10px; height: 10px; background: var(--color-accent); border: 4px solid var(--color-background); box-shadow: 0 0 0 1px var(--color-accent); border-radius: 50%; }
.timeline-item time { position: absolute; right: -100px; top: -3px; width: 50px; color: var(--color-primary); font-weight: 850; }
.timeline-item__body { background: #fff; padding: 18px; border-right: 3px solid var(--color-primary); }
.timeline-item__body h2 { margin: 5px 0; font-size: 1.05rem; }
.archive-form { background: #fff; border-top: 3px solid var(--color-primary); padding: 23px; margin-bottom: 27px; }
.archive-form .form-grid { grid-template-columns: repeat(4, 1fr); }
.search-intro { background: #fff; padding: 25px; border-right: 4px solid var(--color-accent); margin-bottom: 25px; }
.search-intro form { display: grid; grid-template-columns: 1fr auto; gap: 9px; }
mark { background: #ffe6a8; color: inherit; padding-inline: 2px; }
.author-profile { display: grid; grid-template-columns: 140px 1fr; gap: 25px; background: #fff; padding: 26px; margin-bottom: 30px; border-top: 3px solid var(--color-accent); }
.author-profile img { width: 140px; height: 140px; object-fit: cover; }
.author-profile h1 { margin-bottom: 4px; }
.report-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 23px; }
.report-card { grid-column: span 6; background: #fff; }
.report-card:first-child { grid-column: span 8; }
.report-card:nth-child(2) { grid-column: span 4; }
.report-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.report-card__body { padding: 19px; }
.report-card h2 { font-size: 1.25rem; }
.media-card { position: relative; background: #fff; }
.media-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.media-card__type { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; display: grid; place-items: center; background: var(--color-accent); color: var(--color-primary-dark); font-weight: 900; }
.media-card__body { padding: 15px; }
.media-card h2, .media-card h3 { font-size: 1rem; margin-bottom: 8px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.gallery-item { position: relative; border: 0; padding: 0; background: #fff; text-align: right; cursor: pointer; overflow: hidden; }
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 350ms ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item__caption { display: block; padding: 12px 13px; font-weight: 750; }
.lightbox { position: fixed; inset: 0; z-index: 250; display: none; place-items: center; background: rgba(4,13,19,.94); padding: 30px 70px; color: #fff; }
.lightbox.is-open { display: grid; }
.lightbox__content { max-width: 1050px; width: 100%; text-align: center; }
.lightbox img { max-height: 76vh; margin: auto; }
.lightbox__caption { margin-top: 13px; }
.lightbox__close { position: absolute; left: 25px; top: 20px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.4); width: 44px; height: 44px; cursor: pointer; }
.lightbox__nav { position: absolute; top: 50%; width: 45px; height: 50px; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.lightbox__nav--next { right: 18px; }.lightbox__nav--prev { left: 18px; }
.article-page { display: grid; grid-template-columns: minmax(0,1fr) 300px; column-gap: 32px; align-items: start; }
.article-page > .breadcrumb, .article-page > .article-layout, .article-page > .section { grid-column: 1 / -1; }
.article-page > .article-header,
.article-page > .article-featured,
.article-page > .article-audio,
.article-page > .media-external-link { grid-column: 1; }
.article-header { max-width: none; margin: 0 0 27px; }
.article-header h1 { font-size: clamp(1.9rem,3.6vw,3.15rem); margin: 9px 0 13px; }
.article-lead { color: var(--color-muted); font-size: 1.1rem; line-height: 1.9; }
.article-featured { margin: 0 0 28px; }
.article-featured img, .article-featured video { width: 100%; aspect-ratio: 16/8.2; object-fit: cover; }
.article-audio { width: 100%; margin: 0 0 28px; }
.media-external-link { margin: 0 0 20px; }
figcaption { color: var(--color-muted); font-size: .75rem; margin-top: 7px; }
.article-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 14px 32px; align-items: start; }
.article-layout > .content-stack { grid-column: 1; grid-row: 1; min-width: 0; }
.article-aside { grid-column: 2; grid-row: 1; }
.article-content { background: #fff; padding: clamp(22px,4vw,46px); font-size: 1.04rem; line-height: 2.12; }
.article-content h2 { margin-top: 34px; font-size: 1.48rem; }
.article-content h3 { margin-top: 27px; font-size: 1.18rem; }
.article-content blockquote { margin: 30px 0; padding: 22px 26px; border-right: 4px solid var(--color-accent); background: var(--color-accent-soft); color: var(--color-primary-dark); font-size: 1.14rem; font-weight: 700; }
.article-content figure { margin: 30px 0; }
.article-content figure img { width: 100%; }
.article-content a { color: var(--color-primary); text-decoration: underline; text-decoration-color: var(--color-accent); }
.article-table { overflow-x: auto; margin: 26px 0; }
.article-table table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .85rem; }
.article-table th, .article-table td { border: 1px solid var(--color-border); padding: 10px; text-align: right; }
.article-table th { background: var(--color-primary-soft); }
.article-share-actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 0; border-block: 1px solid var(--color-border); margin-top: 28px; }
.article-share-actions__label { display: inline-flex; align-items: center; gap: 8px; color: var(--color-primary-dark); font-size: .9rem; }
.article-share-actions__buttons { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.article-content .article-share-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 8px 16px; color: #fff; font-size: .82rem; font-weight: 800; text-decoration: none; transition: transform var(--transition), filter var(--transition), box-shadow var(--transition); }
.article-content .article-share-button:hover { color: #fff; filter: brightness(.94); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.article-share-button--whatsapp { background: #168a45; }
.article-share-button--telegram { background: #168ac0; }
.attachment { display: flex; justify-content: space-between; gap: 15px; padding: 15px; background: #f5f7f8; border: 1px solid var(--color-border); }
.comment { padding: 18px; background: #fff; border-right: 2px solid var(--color-border); }
.comment + .comment { margin-top: 10px; }
.comment__head { display: flex; justify-content: space-between; color: var(--color-muted); font-size: .76rem; }
.about-values { display: grid; grid-template-columns: repeat(4,1fr); gap: 15px; }
.value-card { background: #fff; padding: 22px; border-top: 3px solid var(--color-accent); }
.stats { display: grid; grid-template-columns: repeat(4,1fr); background: var(--color-primary-dark); color: #fff; }
.stat { text-align: center; padding: 28px 15px; border-left: 1px solid rgba(255,255,255,.15); }
.stat strong { display: block; font-size: 2rem; color: var(--color-accent); }
.team-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.team-card { background: #fff; text-align: center; padding-bottom: 18px; }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.75); }
.team-card h2, .team-card h3 { margin: 14px 0 2px; font-size: 1rem; }
.contact-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 28px; }
.contact-form, .contact-info { background: #fff; padding: 26px; }
.map-placeholder { min-height: 245px; background: var(--color-primary-soft); position: relative; display: grid; place-items: center; color: var(--color-primary); border: 1px solid #cedbe3; }
.error-page { min-height: 68vh; display: grid; place-items: center; text-align: center; }
.error-code { font-size: clamp(5rem,18vw,11rem); font-weight: 900; color: var(--color-primary); line-height: 1; position: relative; }
.error-code span { color: var(--color-accent); }
.error-page .search-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }

/* Modern page surfaces */
.hero-lead { border-radius: var(--radius-lg); background: #dce1e5; box-shadow: var(--shadow-md); }
.hero-lead::after { inset: 30% 0 0; background: linear-gradient(0deg, rgba(30,35,41,.94), rgba(30,35,41,.06)); }
.hero-side { gap: 14px; }
.page-hero { border-radius: var(--radius-lg); background: var(--color-primary); box-shadow: var(--shadow-md); }
.page-hero::after { border-color: rgba(255,255,255,.1); }
.editorial-panel { border-radius: var(--radius-lg); background: var(--color-primary-dark); box-shadow: var(--shadow-md); }
.timeline-item__body { border-right: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.timeline-item::before { background: var(--color-primary); box-shadow: 0 0 0 1px var(--color-primary); }
.archive-form, .search-intro { border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.author-profile { border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.author-profile img { border-radius: 18px; }
.report-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.report-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.media-card { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.media-card__type { border-radius: 12px; background: #fff; color: var(--color-primary); box-shadow: var(--shadow-sm); }
.gallery-item { border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.lightbox { background: rgba(24,28,33,.94); backdrop-filter: blur(12px); }
.lightbox__close, .lightbox__nav { border-radius: 12px; }
.article-featured { overflow: hidden; border-radius: var(--radius-lg); }
.article-content { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.article-content blockquote { border-right-color: var(--color-primary); border-radius: 14px; }
.attachment { border: 0; border-radius: 14px; }
.comment { border: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.value-card { border: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.stats { border-radius: var(--radius-lg); overflow: hidden; background: var(--color-primary-dark); box-shadow: var(--shadow-md); }
.team-card { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.contact-form, .contact-info { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.map-placeholder { border: 0; border-radius: var(--radius-lg); background: #e1e5e8; color: var(--color-primary); }
.error-code { color: var(--color-primary); }
.error-code span { color: #aeb6be; }
.managed-page-content {
  margin-block: 1.5rem 2rem;
}

.managed-page-hero-image,
.managed-page-contact-image {
  overflow: hidden;
  margin: 1.5rem 0;
  border-radius: var(--radius-lg);
  background: var(--color-primary-soft);
  box-shadow: var(--shadow-sm);
}

.managed-page-hero-image img,
.managed-page-contact-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.managed-page-contact-image {
  margin: 0;
}

.managed-page-sidebar-content > :first-child {
  margin-top: 0;
}

.managed-page-sidebar-content > :last-child {
  margin-bottom: 0;
}
