/*
Theme Name: NODO 23 — Versión 5.14 · Archivo editorial ampliado
Theme URI: https://nodo23.cl
Author: NODO 23
Description: Tema editorial desarrollado para NODO 23. Portada dinámica, categorías, noticias destacadas y espacios publicitarios.
Version: 5.14.0
Text Domain: nodo23
*/

/* Pop-up publicitario. No interviene en la estructura de la portada. */
.n23-popup {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(5, 12, 28, .78);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s ease, visibility .22s ease;
}
.n23-popup.is-visible { opacity: 1; visibility: visible; }
.n23-popup-content {
  position: relative;
  width: min(800px, calc(100vw - 56px));
  max-height: calc(100vh - 56px);
  overflow: auto;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .4);
}
.n23-popup-content .widget { margin: 0; }
.n23-popup-content img { width: 100%; height: auto; }
.n23-popup-content figure { margin: 0; }
.n23-popup-content a { display: block; }
.n23-popup-close {
  position: absolute;
  z-index: 2;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  width: 42px;
  height: 42px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #09285f;
  color: #fff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 14px rgba(0, 0, 0, .32);
}
body.n23-popup-open { overflow: hidden; }
@media (max-width: 640px) {
  .n23-popup { padding: 18px; }
  .n23-popup-content { width: calc(100vw - 36px); max-height: calc(100vh - 36px); }
  .n23-popup-close { top: 7px; right: 7px; width: 38px; height: 38px; font-size: 27px; }
}

:root {
  --blue: #063994;
  --blue-dark: #09285f;
  --yellow: #eba600;
  --ink: #10131a;
  --muted: #6c7280;
  --line: #dce0e7;
  --paper: #ffffff;
  --soft: #f4f5f7;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.shell-wide { width: min(1540px, calc(100% - 28px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.top-strip { background: var(--yellow); color: var(--blue-dark); font-size: 11px; letter-spacing: .08em; }
.top-strip-inner { height: 32px; display: flex; align-items: center; justify-content: space-between; }
.socials { display: flex; gap: 7px; align-items: center; }
.socials a { width: 25px; height: 25px; border: 1px solid rgba(9,40,95,.35); border-radius: 50%; display: inline-grid; place-items: center; color: var(--blue-dark); transition: .18s ease; }
.socials svg, .single-share svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.socials .icon-fill, .single-share .icon-fill { fill: currentColor; stroke: none; }
.socials a:hover { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.socials a { font-size: 8px; font-weight: 900; text-transform: uppercase; }
.brand-band { background: var(--blue); }
.brand-row { height: 108px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.brand-logo { width: 340px; height: 96px; object-fit: contain; justify-self: center; }
.header-logo-link { display: block; grid-column: 2; line-height: 0; }
.header-logo { width: min(285px, 44vw); max-height: 76px; object-fit: contain; }
.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 5px; }
.menu-button, .search-button {
  width: 42px; height: 42px; border: 0; background: none; color: #fff;
  font-size: 25px; cursor: pointer;
}
.search-button { font-size: 34px; justify-self: end; transform: rotate(-15deg); }
.main-nav {
  background: var(--yellow);
  color: var(--blue-dark);
  border: 0;
}
.nav-scroll { height: 32px; min-height: 32px; display: flex; align-items: center; justify-content: center; gap: 27px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.nav-scroll::-webkit-scrollbar { display: none; }
.nav-scroll a { font-size: 12px; font-weight: 800; letter-spacing: .015em; }
.nav-scroll a:hover { color: #fff; }

.breaking { min-height: 54px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); }
.breaking strong { color: var(--blue); font-size: 12px; white-space: nowrap; }
.breaking span { font-family: Georgia, serif; font-size: 14px; }
.ad-leaderboard {
  margin-top: 28px; min-height: 118px; border: 0; background: #f7f8fa;
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: #7a808c;
}
.ad-leaderboard span { font-size: 9px; letter-spacing: .18em; }
.ad-leaderboard strong { margin-top: 8px; font-size: 18px; color: #505662; }
.ad-leaderboard small { margin-top: 5px; }

.media-home { padding: 22px 0 18px; }
.home-center { min-width: 0; }
.home-center > .ad-leaderboard {
  width: min(100%, 1120px);
  min-height: 0;
  margin: 0 auto;
  background: transparent;
}
.ad-leaderboard .widget,
.ad-leaderboard .wp-block-image,
.ad-leaderboard figure { width: 100%; margin: 0; }
.ad-leaderboard img { width: 100%; height: auto; }
.lower-home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; align-items: start; }
.ad-column {
  position: relative;
  display: grid;
  gap: 22px;
  align-content: start;
  padding-top: 25px;
}
.ad-column .ad-box { min-height: 250px; padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f5f6f8; border: 1px dashed #b8bec8; text-align: center; }
.ad-column .ad-box:nth-child(2) { background: linear-gradient(145deg, var(--blue-dark), var(--blue)); color: #fff; border: 0; }
.ad-column .ad-box:nth-child(3) { background: var(--yellow); color: var(--ink); border: 0; }
.ad-column .ad-box strong { font-size: 20px; line-height: 1.08; }
.ad-column .ad-box span { margin-top: 8px; font-size: 10px; letter-spacing: .08em; }
.ad-column .ad-creative { display: block; width: 100%; line-height: 0; background: #edf0f2; overflow: hidden; }
.ad-column .ad-creative img { display: block; width: 100%; height: auto; }
.ad-column .widget,
.ad-column .wp-block-image { width: 100%; margin: 0; }
.ad-column .widget + .widget { margin-top: 22px; }
.ad-column .wp-block-image a { display: block; line-height: 0; }
.ad-column .wp-block-image img { display: block; width: 100%; height: auto; }
.ad-rail { align-self: start; text-align: center; }
.ad-label {
  position: absolute;
  top: 8px;
  left: 0;
  display: block;
  color: #8a8f98;
  font-size: 9px;
  line-height: 1;
  letter-spacing: .08em;
}
.ad-rail img { width: 100%; height: auto; }
.rail-placeholder { min-height: 625px; padding: 24px 12px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; color: white; background: linear-gradient(180deg, #29106d 0%, #7d16bb 50%, #ff4f18 100%); }
.rail-placeholder strong { font-size: 22px; line-height: 1.05; writing-mode: vertical-rl; transform: rotate(180deg); }
.rail-placeholder span { color: var(--yellow); font-size: 16px; line-height: 1.1; font-weight: 900; }
.rail-placeholder-light { color: var(--blue-dark); background: linear-gradient(180deg, #f6ead4 0%, #f2f2ec 100%); }
.rol-hero { margin-top: 14px; grid-template-columns: 57% 43%; background: white; border-bottom: 1px solid var(--line); }
.rol-hero .hero-image-wrap { min-height: 0; aspect-ratio: 16 / 9; }
.rol-hero .hero-copy { padding: 20px 0 20px 24px; }
.rol-hero .hero-copy h1 { font-family: Arial, Helvetica, sans-serif; font-size: clamp(27px, 2.55vw, 41px); font-weight: 800; line-height: 1.07; letter-spacing: -.035em; }
.rol-hero .summary { font-family: Arial, Helvetica, sans-serif; }
.home-news { padding: 18px 0 0; }
.home-news .card-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 18px; align-items: start; }
.home-news .news-card h3 { max-width: 100%; min-height: 3.54em; margin-top: 0; font-family: Arial, Helvetica, sans-serif; font-size: 17px; font-weight: 800; line-height: 1.18; overflow: hidden; overflow-wrap: anywhere; }
.home-news .news-card h3 a { display: -webkit-box; max-width: 100%; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.home-news .news-card { min-width: 0; }
.home-news .card-image { display: block; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 11px; overflow: hidden; background: #eef0f3; }
.home-news .card-image img { width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: center; }

/* Portada editorial combinada 4.9 */
.n23-top-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 0 30px;
  border-bottom: 1px solid var(--line);
}
.n23-top-card { min-width: 0; }
.n23-top-image,
.n23-brief-image,
.n23-feature-image { display: block; overflow: hidden; background: #eef0f3; }
.n23-top-image { aspect-ratio: 16 / 9; margin-bottom: 10px; }
.n23-top-image img,
.n23-brief-image img,
.n23-feature-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.n23-top-card .eyebrow { margin-bottom: 6px; font-size: 9px; }
.n23-top-card h2 { margin: 0; font-size: 16px; line-height: 1.18; letter-spacing: -.02em; }

.n23-editorial-grid {
  display: grid;
  grid-template-columns: calc((100% - 54px) / 4) minmax(0, 1fr) 270px;
  gap: 18px;
  align-items: start;
  width: 100%;
  padding: 30px 0 20px;
}
.n23-briefs { display: grid; gap: 22px; align-content: start; }
.n23-brief-card { min-width: 0; overflow: hidden; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.n23-brief-image { aspect-ratio: 16 / 9; margin-bottom: 10px; }
.n23-brief-card .eyebrow { margin-bottom: 6px; font-size: 9px; }
.n23-brief-card h3 { max-width: 100%; margin: 0; font-size: 16px; line-height: 1.18; letter-spacing: -.02em; overflow-wrap: break-word; }
.n23-features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: start; min-width: 0; }
.n23-feature-card { display: grid; grid-template-columns: 44% minmax(0, 1fr); column-gap: 16px; align-items: start; min-width: 0; overflow: hidden; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.n23-feature-main { grid-column: auto; }
.n23-feature-image { grid-row: 1 / span 3; aspect-ratio: 16 / 9; margin: 0; }
.n23-feature-main { display: block; }
.n23-feature-main .n23-feature-image { aspect-ratio: 16 / 9; max-height: none; margin-bottom: 11px; }
.n23-feature-card .eyebrow { margin: 1px 0 6px; }
.n23-feature-card h2 { min-width: 0; max-width: 100%; margin: 0; font-size: 19px; line-height: 1.14; letter-spacing: -.02em; overflow-wrap: break-word; word-break: normal; }
.n23-feature-card h2 a { display: block; max-width: 100%; }
.n23-feature-main h2 { font-size: clamp(25px, 2vw, 31px); }
.n23-feature-summary { max-width: 760px; margin: 10px 0 0; color: #5f6570; font-size: 13px; line-height: 1.42; }
.n23-home-ads { padding-top: 17px; }
.n23-home-ads .ad-label { top: 1px; }

.hero { padding: 42px 0 52px; display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 32px; }
.hero-story { display: grid; grid-template-columns: 58% 42%; min-width: 0; background: var(--soft); }
.hero-image-wrap { position: relative; min-height: 470px; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.photo-tag { position: absolute; left: 0; bottom: 0; padding: 9px 13px; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 900; }
.hero-copy { padding: 34px 30px; align-self: center; }
.eyebrow { margin: 0 0 10px; color: var(--blue); font-size: 11px; line-height: 1.2; font-weight: 900; letter-spacing: .08em; }
.hero-copy h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(30px, 3vw, 47px); line-height: 1.04; letter-spacing: -.035em; }
.author { margin: 20px 0 0; color: var(--blue); font-size: 10px; font-weight: 900; }
.summary { margin: 18px 0 0; color: #555b67; font-family: Georgia, serif; font-size: 15px; line-height: 1.55; }
.hero-side { display: flex; flex-direction: column; gap: 24px; }
.side-ad { min-height: 225px; padding: 26px; display: flex; flex-direction: column; justify-content: center; background: var(--yellow); }
.side-ad span { font-size: 9px; letter-spacing: .15em; }
.side-ad strong { margin: 12px 0 22px; font-size: 24px; line-height: 1.06; }
.side-ad button { align-self: flex-start; padding: 11px 15px; border: 0; background: var(--blue-dark); color: white; font-size: 10px; font-weight: 900; cursor: pointer; }
.most-read { border-top: 5px solid var(--blue); padding-top: 18px; }
.most-read ol { margin: 0; padding: 0; list-style: none; }
.most-read li { display: grid; grid-template-columns: 39px 1fr; gap: 11px; padding: 13px 0; border-top: 1px solid var(--line); font-family: Georgia, serif; font-size: 14px; line-height: 1.28; }
.most-read li span { color: var(--yellow); font-family: Arial, sans-serif; font-size: 22px; font-weight: 900; }

.section-block { padding: 25px 0 65px; }
.section-heading { border-top: 6px solid var(--blue-dark); padding-top: 14px; margin-bottom: 24px; display: flex; justify-content: space-between; align-items: center; }
.section-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.03em; }
.section-heading a { color: var(--blue); font-size: 10px; font-weight: 900; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
.news-card { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 16px; }
.news-card h3 { margin: 0; font-family: Georgia, serif; font-size: 21px; line-height: 1.18; }
.date { margin: 16px 0 0; color: #9096a0; font-size: 9px; font-weight: 800; letter-spacing: .07em; }

.wide-band { background: var(--blue-dark); color: white; border-left: 14px solid var(--yellow); }
.band-grid { min-height: 255px; padding-block: 48px; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.eyebrow.light { color: var(--yellow); }
.band-grid h2 { max-width: 830px; margin: 0; font-family: Georgia, serif; font-size: clamp(28px, 4vw, 48px); line-height: 1.06; font-weight: 400; }
.band-grid > a { padding: 14px 18px; border: 1px solid white; font-size: 10px; font-weight: 900; }

.opinion-layout { padding: 65px 0; display: grid; grid-template-columns: 1fr 360px; gap: 55px; }
.opinion-list article { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.opinion-list article > span { color: var(--yellow); font-size: 28px; font-weight: 900; }
.opinion-list h3 { margin: 0; font-family: Georgia, serif; font-size: 22px; line-height: 1.2; }
.newsletter { padding: 35px; background: var(--blue); color: white; align-self: start; }
.newsletter h2 { margin: 0 0 15px; font-family: Georgia, serif; font-size: 33px; line-height: 1.05; }
.newsletter > p:not(.eyebrow) { color: #dce6fb; line-height: 1.5; }
.newsletter form { display: flex; margin-top: 28px; }
.newsletter input { width: 100%; min-width: 0; border: 0; padding: 13px; }
.newsletter button { border: 0; padding: 13px; background: var(--yellow); font-size: 9px; font-weight: 900; cursor: pointer; }

.category-archive { padding: 14px 0 72px; border-top: 1px solid var(--line); }
.archive-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.archive-intro .eyebrow { margin: 0; }
.archive-intro h2 { margin: 0; font-size: 26px; letter-spacing: -.025em; }
.category-module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 34px; align-items: start; }
.category-module { width: 100%; min-width: 0; padding-top: 13px; border-top: 5px solid var(--yellow); }
.category-module-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; }
.category-module-heading h3 { margin: 0; color: var(--blue-dark); font-size: 19px; line-height: 1.1; }
.category-module-heading a { flex: 0 0 auto; color: var(--blue); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.category-story-list { display: grid; gap: 0; }
.category-story { min-width: 0; padding: 12px 0; border-top: 1px solid var(--line); }
.category-story:first-child { border-top: 0; }
.category-story-lead { display: grid; grid-template-columns: minmax(180px, 44%) minmax(0, 1fr); gap: 18px; padding-top: 0; }
.category-story-brief { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: start; }
.category-story-image { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.category-story-image img,
.category-story-image span { display: block; width: 100%; height: 100%; object-fit: cover; }
.category-story h4 { margin: 0; font-size: 15px; line-height: 1.22; font-weight: 800; }
.category-story-lead h4 { font-size: 18px; line-height: 1.18; }
.category-story h4 a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.category-story p { margin: 8px 0 0; color: #9298a2; font-size: 9px; font-weight: 800; }
.category-empty { min-height: 78px; margin: 0; padding: 20px; background: var(--soft); color: var(--muted); font-size: 12px; line-height: 1.5; }

footer { padding-top: 50px; background: #0c1425; color: white; }
.footer-grid { display: grid; grid-template-columns: 250px 1fr 240px; gap: 48px; align-items: center; }
.footer-grid img { width: 220px; filter: brightness(1.06); }
.footer-grid p { margin: 0; color: #b8c0cf; font-family: Georgia, serif; line-height: 1.6; }
.footer-grid .footer-slogan { color: #fff; font-family: Arial, Helvetica, sans-serif; font-size: 17px; font-weight: 800; letter-spacing: .15em; }
.footer-grid div { display: flex; flex-direction: column; gap: 8px; font-size: 12px; }
.footer-grid strong { color: var(--yellow); margin-bottom: 5px; }
.copyright { margin-top: 45px; padding: 15px 0; border-top: 1px solid #273148; color: #a4abba; font-size: 10px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.copyright .ulki-footer-logo { width: 92px; height: 42px; object-fit: contain; filter: none; }

.custom-logo-link { display: block; justify-self: center; }
.custom-logo { width: 340px; height: 96px; object-fit: contain; }
.menu-toggle { display: none; }
.main-nav ul { margin: 0 auto; padding: 0; list-style: none; display: flex; align-items: center; justify-content: center; gap: 27px; }
.main-nav li { flex: 0 0 auto; }
.main-nav .current-menu-item > a,
.main-nav .current-cat > a { color: #fff; }
.ad-widget img { margin-inline: auto; }
.ad-widget a { display: block; }
.ad-widget .widget { margin: 0; }
.ad-widget p { margin: 0; }
.empty-ad { text-align: center; }
.archive-header { padding: 45px 0 20px; border-bottom: 1px solid var(--line); }
.archive-header h1 { margin: 0; font-family: Georgia, serif; font-size: clamp(34px, 5vw, 62px); }
.archive-description { color: var(--muted); max-width: 760px; line-height: 1.6; }
.content-grid { padding: 42px 0 70px; display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 45px; }
.post-list { display: grid; gap: 30px; }
.post-row { display: grid; grid-template-columns: 300px 1fr; gap: 25px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.post-row-image { display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--soft); }
.post-row img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.post-row h2 { margin: 6px 0 10px; font-family: Georgia, serif; font-size: 27px; line-height: 1.12; }
.post-row p { color: var(--muted); line-height: 1.5; }
.sidebar-stack { display: grid; gap: 24px; align-content: start; }
.single-main { border-top: 1px solid var(--line); }
.single-shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.single-breadcrumb { padding: 24px 0 0; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.single-breadcrumb a:hover { color: var(--blue); }
.single-header { max-width: 1040px; padding: 28px 0 31px; }
.single-header h1 { max-width: 1040px; margin: 8px 0 20px; font-family: Arial, Helvetica, sans-serif; font-size: clamp(38px, 4.25vw, 60px); line-height: 1.02; letter-spacing: -.04em; }
.single-excerpt { max-width: 950px; margin: 20px 0 24px; font-family: Arial, Helvetica, sans-serif; font-size: 21px; color: #505662; line-height: 1.46; }
.single-excerpt-list { padding: 0; list-style: none; }
.single-excerpt-list li { position: relative; margin: 10px 0; padding-left: 22px; }
.single-excerpt-list li::before { content: "•"; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 900; }
.single-byline { padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.single-author-meta { display: flex; align-items: center; gap: 11px; min-width: 0; }
.single-author-mark { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: #fff; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--yellow); font-size: 10px; font-weight: 900; letter-spacing: -.04em; }
.single-byline p { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.single-byline strong { color: var(--blue); }
.single-share { display: flex; align-items: center; justify-content: flex-end; gap: 8px; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.single-share .share-label { margin-right: 3px; }
.single-share .share-icon { width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; display: inline-grid; place-items: center; background: #fff; color: var(--blue); transition: .18s ease; }
.single-share .share-icon:hover, .single-share .share-icon:focus-visible { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-1px); }
.single-share .share-command { min-height: 32px; padding: 0 10px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--blue); font-size: 9px; font-weight: 800; letter-spacing: 0; cursor: pointer; white-space: nowrap; }
.single-share .share-command:hover, .single-share .share-command:focus-visible { background: var(--blue); color: #fff; border-color: var(--blue); }
.copy-confirmation { flex-basis: 100%; min-height: 12px; color: var(--blue); text-align: right; }

.n23-photo-gallery { min-width: 0; margin-top: 12px; padding-top: 20px; border-top: 5px solid var(--yellow); }
.n23-gallery-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 14px; margin-bottom: 14px; }
.n23-gallery-heading .eyebrow { grid-column: 1 / -1; margin: 0; }
.n23-gallery-heading h2 { margin: 0; font-size: 25px; line-height: 1; letter-spacing: -.035em; }
.n23-gallery-heading > span { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.n23-gallery-track, .n23-gallery-track .widget { min-width: 0; margin: 0; }
.n23-photo-gallery .widget-title { display: none; }
.n23-photo-gallery .wp-block-gallery { display: grid !important; grid-template-columns: none !important; grid-auto-flow: column; grid-auto-columns: minmax(260px, 74%); gap: 12px !important; margin: 0; padding: 0 0 10px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: thin; scrollbar-color: var(--yellow) #edf0f4; }
.n23-photo-gallery .wp-block-gallery.has-nested-images figure.wp-block-image, .n23-photo-gallery .blocks-gallery-item { width: auto !important; aspect-ratio: 16 / 9; margin: 0 !important; overflow: hidden; scroll-snap-align: start; background: #e9edf2; }
.n23-photo-gallery .wp-block-gallery img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform .35s ease; }
.n23-photo-gallery .wp-block-gallery figure:hover img { transform: scale(1.025); }
.n23-photo-gallery figcaption { padding: 18px 12px 9px !important; background: linear-gradient(transparent, rgba(0,0,0,.76)) !important; color: #fff !important; font-size: 11px !important; font-weight: 800; text-align: left !important; }
.single-featured { width: 100%; margin: 0 auto 42px; text-align: center; background: #fff; }
.single-featured img { width: 100%; height: auto; max-height: 630px; margin-inline: auto; object-fit: contain; }
.single-featured figcaption { max-width: 820px; margin: 9px auto 0; color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 1.45; text-align: left; }
.single-content-column { width: min(780px, calc(100% - 40px)); margin-inline: auto; padding-bottom: 68px; }
.single-content { font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.76; }
.single-content > :first-child { margin-top: 0; }
.single-content p { margin: 0 0 1.45em; }
.single-content h2, .single-content h3 { margin: 1.7em 0 .65em; font-family: Arial, sans-serif; line-height: 1.13; letter-spacing: -.025em; }
.single-content h2 { font-size: 29px; }
.single-content h3 { font-size: 23px; }
.single-content img { width: auto; max-width: 100%; height: auto; margin-inline: auto; }
.single-content figure { max-width: 100%; margin: 34px auto; }
.single-content figcaption { margin-top: 8px; color: var(--muted); font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 1.45; }
.single-inline-ad { margin: 42px 0 15px; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; }
.single-inline-ad-label { display: block; margin-bottom: 10px; color: var(--muted); font-size: 9px; letter-spacing: .14em; }

@media print {
  .site-header, .site-footer, .single-share, .single-inline-ad, .single-recirculation, .ad-widget { display: none !important; }
  .single-page, .single-shell, .single-content-column { width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; }
  .single-header h1 { font-size: 34pt; }
  a { color: #000 !important; text-decoration: none !important; }
}
.single-tags { margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.single-tags strong { margin-right: 5px; color: var(--muted); font-size: 9px; letter-spacing: .1em; }
.single-tags a { padding: 7px 10px; background: var(--soft); color: var(--blue-dark); font-size: 10px; font-weight: 800; }
.single-recirculation { padding: 44px 0 50px; border-top: 1px solid var(--line); }
.single-section-heading { margin-bottom: 23px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.single-section-heading .eyebrow { margin: 0; }
.single-section-heading h2 { margin: 0; font-size: 29px; line-height: 1.05; letter-spacing: -.035em; }
.single-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.single-story-card { min-width: 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.single-story-image { display: block; width: 100%; aspect-ratio: 16 / 9; margin-bottom: 13px; overflow: hidden; background: var(--soft); }
.single-story-image img, .single-story-image span { width: 100%; height: 100%; object-fit: cover; }
.single-story-card .eyebrow { margin-bottom: 7px; }
.single-story-card h3 { margin: 0; font-size: 19px; line-height: 1.16; letter-spacing: -.02em; }
.single-story-card .date { margin-top: 13px; }
.single-category-related { padding-bottom: 72px; }
.single-category-link { display: inline-block; margin-top: 23px; color: var(--blue); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination a, .pagination span { padding: 10px 13px; border: 1px solid var(--line); }
.pagination .current { background: var(--blue); color: white; }
.search-form { display: flex; }
.search-form label { flex: 1; }
.search-field { width: 100%; padding: 12px; border: 1px solid var(--line); }
.search-submit { border: 0; padding: 12px 16px; background: var(--yellow); font-weight: 800; }
.screen-reader-text { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.site-main-empty { min-height: 55vh; padding: 70px 0; text-align: center; }
.site-main-empty h1 { font-family: Georgia, serif; font-size: 48px; }
.widget-title { font-size: 12px; color: var(--blue); letter-spacing: .08em; }
.wp-caption, .wp-caption-text { max-width: 100%; }
.alignwide { width: min(1180px, 100vw - 40px); max-width: none; margin-left: 50%; transform: translateX(-50%); }

@media (max-width: 1100px) {
  .category-module-grid { gap: 32px 26px; }
  .category-story-lead { grid-template-columns: minmax(150px, 42%) minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .n23-top-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n23-editorial-grid { grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; }
  .n23-features { grid-column: 1; grid-row: 1; }
  .n23-briefs { grid-column: 1; grid-row: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .n23-home-ads { grid-column: 2; grid-row: 1 / span 2; }
  .shell { width: min(100% - 28px, 720px); }
  .brand-row { height: 90px; }
  .brand-logo { width: 270px; height: 78px; }
  .hero { grid-template-columns: 1fr; }
  .hero-side { display: grid; grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .opinion-layout { grid-template-columns: 1fr; }
  .category-module-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 210px 1fr; }
  .footer-grid > div { grid-column: 2; }
  .content-grid { grid-template-columns: 1fr; }
  .single-shell { width: min(100% - 34px, 850px); }
  .single-content-column { width: min(100% - 34px, 760px); }
  .custom-logo { width: 270px; height: 78px; }
  .header-logo { width: min(255px, 48vw); max-height: 70px; }
  .media-home { width: min(100% - 28px, 720px); }
  .lower-home-grid { grid-template-columns: 1fr; }
  .ad-rail { position: static; }
  .ad-column { grid-template-columns: repeat(2, 1fr); }
  .ad-column .ad-box { min-height: 190px; }
  .home-news .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .n23-top-row { grid-template-columns: 1fr; gap: 24px; }
  .n23-top-card h2 { font-size: 19px; }
  .n23-editorial-grid { display: flex; flex-direction: column; padding-top: 24px; }
  .n23-features,
  .n23-briefs,
  .n23-home-ads { width: 100%; }
  .n23-features,
  .n23-briefs { grid-template-columns: 1fr; }
  .n23-feature-main { grid-column: auto; }
  .n23-feature-card { display: block; }
  .n23-feature-card .n23-feature-image { margin-bottom: 11px; }
  .n23-feature-main .n23-feature-image { aspect-ratio: 16 / 9; max-height: none; }
  .n23-feature-main h2 { font-size: 25px; }
  .shell { width: calc(100% - 24px); }
  .top-strip-inner { height: 27px; font-size: 9px; }
  .socials { display: none; }
  .brand-row { height: 70px; }
  .brand-logo { width: 220px; height: 65px; }
  .menu-button, .search-button { width: 36px; height: 36px; }
  .main-nav { border: 0; }
  .nav-scroll { height: 27px; min-height: 27px; gap: 20px; }
  .nav-scroll a { font-size: 10px; }
  .nav-scroll { justify-content: flex-start; }
  .breaking { grid-template-columns: 1fr; gap: 5px; padding-block: 11px; }
  .ad-leaderboard { min-height: 76px; margin-top: 14px; padding: 12px; text-align: center; }
  .ad-leaderboard strong { font-size: 15px; }
  .ad-leaderboard small { font-size: 10px; }
  .hero { padding: 25px 0 35px; }
  .hero-story { display: block; }
  .hero-image-wrap { min-height: 250px; }
  .hero-copy { padding: 19px 16px 22px; }
  .hero-copy h1 { font-size: 26px; line-height: 1.08; }
  .hero-copy .summary { margin-top: 12px; font-size: 14px; line-height: 1.42; }
  .hero-side { display: block; }
  .most-read { margin-top: 25px; }
  .card-grid { grid-template-columns: 1fr; gap: 25px; }
  .section-block { padding-bottom: 40px; }
  .band-grid { grid-template-columns: 1fr; gap: 27px; padding-block: 38px; }
  .band-grid > a { justify-self: start; }
  .opinion-layout { padding: 45px 0; gap: 35px; }
  .category-archive { padding: 18px 0 48px; }
  .archive-intro { display: block; }
  .archive-intro .eyebrow { margin-bottom: 7px; }
  .category-module-grid { gap: 24px; }
  .category-story-lead,
  .category-story-brief { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .category-story-lead h4 { font-size: 16px; }
  .newsletter { padding: 28px 22px; }
  .newsletter form { display: block; }
  .newsletter button { width: 100%; margin-top: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-grid > div { grid-column: auto; }
  .copyright { align-items: flex-start; flex-direction: column; gap: 10px; }
  .copyright .ulki-footer-logo { width: 82px; height: 37px; }
  .custom-logo { width: 220px; height: 65px; }
  .header-logo { width: min(185px, 50vw); max-height: 53px; }
  .header-actions { gap: 0; }
  .post-row { grid-template-columns: 1fr; }
  .single-breadcrumb { padding-top: 17px; }
  .single-header { padding: 23px 0 22px; }
  .single-header h1 { font-size: 34px; line-height: 1.04; }
  .single-excerpt { margin: 16px 0; font-size: 17px; line-height: 1.45; }
  .single-byline { align-items: flex-start; flex-direction: column; gap: 15px; }
  .single-byline p { font-size: 9px; }
  .single-share { width: 100%; justify-content: flex-start; }
  .single-share .share-label { margin-right: 5px; }
  .n23-gallery-heading { grid-template-columns: 1fr; }
  .n23-gallery-heading > span { margin-top: 5px; }
  .n23-photo-gallery .wp-block-gallery { grid-auto-columns: 88%; }
  .single-featured { width: 100%; margin-bottom: 28px; }
  .single-featured img { max-height: none; }
  .single-content-column { width: calc(100% - 34px); padding-bottom: 48px; }
  .single-content { font-size: 17px; line-height: 1.68; }
  .single-content h2 { font-size: 25px; }
  .single-content h3 { font-size: 21px; }
  .single-recirculation { padding: 34px 0 40px; }
  .single-section-heading { display: block; }
  .single-section-heading .eyebrow { margin-bottom: 6px; }
  .single-section-heading h2 { font-size: 25px; }
  .single-story-grid { grid-template-columns: 1fr; gap: 25px; }
  .single-story-card h3 { font-size: 18px; }
  .main-nav ul { gap: 20px; }
  .rol-hero { display: block; }
  .rol-hero .hero-image-wrap { min-height: 0; aspect-ratio: 2 / 1; }
  .home-news .card-grid { grid-template-columns: 1fr; }
  .ad-column { grid-template-columns: 1fr; }
  .ad-column .ad-box { min-height: 180px; }
}
