:root{
  --ink:#142033;--muted:#667085;--line:#e7eaf0;--blue:#0b67c2;--blue-dark:#07529b;
  --paper:#fff;--wash:#f6f8fb;--max:1180px;
}
*{box-sizing:border-box}html{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper)}
body{margin:0;line-height:1.45}img{display:block;max-width:100%;height:auto}a{color:inherit;text-decoration:none}button,input{font:inherit}
.wrap{width:min(var(--max),calc(100% - 36px));margin:auto}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.utility{border-bottom:1px solid var(--line);font-size:13px;background:#fbfcfe}.utility .wrap{min-height:34px;display:flex;gap:20px;align-items:center;white-space:nowrap;overflow-x:auto;scrollbar-width:none}.utility .wrap::-webkit-scrollbar{display:none}.utility strong{font-weight:650}.utility-slot{color:var(--muted)}.radio{margin-left:auto;color:var(--blue);font-weight:700}
.header{border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:20}.header .wrap{height:72px;display:flex;align-items:center;gap:34px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:22px;color:#0a4d94;letter-spacing:-.02em}.logo-mark{width:32px;height:38px;position:relative}.logo-mark:before,.logo-mark:after{content:"";position:absolute;bottom:0;width:7px;background:#0b67c2;border-radius:4px 4px 0 0}.logo-mark:before{left:4px;height:22px;box-shadow:10px -8px 0 #0b67c2,20px 5px 0 #0b67c2}.logo-mark:after{left:15px;height:34px;background:#46a6e8}
.nav{display:flex;gap:26px;font-weight:650}.nav a{padding:25px 0 22px;border-bottom:3px solid transparent}.nav a:hover{color:var(--blue);border-bottom-color:var(--blue)}.search{margin-left:auto;color:var(--muted);font-size:20px}.menu{display:none;margin-left:auto;border:0;background:none;font-size:24px}
main{padding:30px 0 54px}.page-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:4px 0 28px;padding-bottom:18px;border-bottom:1px solid var(--line)}.page-head h1{font-size:clamp(36px,5vw,58px);line-height:1;letter-spacing:-.045em;margin:0}.page-head p{margin:0;max-width:560px;color:var(--muted);font-size:15px}
.hero{display:block;position:relative;min-height:480px;border-radius:18px;overflow:hidden;background:#222;margin-bottom:34px}.hero:focus-visible{outline:3px solid var(--blue);outline-offset:4px}.hero>img,.hero>.image-placeholder{width:100%;height:100%;position:absolute;object-fit:cover;inset:0}.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(4,12,22,.82),rgba(4,12,22,.08) 67%)}.hero-copy{position:absolute;z-index:2;left:36px;bottom:32px;max-width:760px;color:#fff}.kicker{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;color:var(--blue);margin-bottom:8px}.hero .kicker{background:#fff;color:var(--blue);padding:5px 9px;border-radius:999px}.hero h1{font-size:clamp(32px,4vw,54px);line-height:1.03;margin:7px 0 12px;letter-spacing:-.035em}.meta{font-size:13px;color:var(--muted);display:flex;gap:14px;flex-wrap:wrap}.hero .meta{color:#e8eef6}
.section-head{display:flex;align-items:end;justify-content:space-between;margin:32px 0 16px}.section-head h2{margin:0;font-size:26px;letter-spacing:-.025em}.section-head a{font-size:13px;color:var(--blue);font-weight:700}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.story{border-top:1px solid var(--line);padding-top:14px}.story img,.story .image-placeholder{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:10px;margin-bottom:12px}.story h3{font-size:18px;line-height:1.22;margin:5px 0 9px;letter-spacing:-.015em}.story p{margin:0;color:var(--muted);font-size:14px}
.news-list{border-top:1px solid var(--line)}.news-row{display:grid;grid-template-columns:150px 1fr auto;gap:20px;padding:17px 0;border-bottom:1px solid var(--line);align-items:start}.news-row time{font-size:13px;color:var(--muted)}.news-row h3{margin:0;font-size:18px;line-height:1.3}.news-row .tag{font-size:12px;color:var(--blue);font-weight:700}
.tv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.video-card .thumb{position:relative;border-radius:12px;overflow:hidden;background:#111;display:block}.video-card img,.video-card .image-placeholder{width:100%;aspect-ratio:16/9;object-fit:cover}.play{position:absolute;left:18px;bottom:16px;width:50px;height:50px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;color:#111;font-size:20px}.video-card h3{font-size:18px;line-height:1.25;margin:10px 0 5px}.video-card .meta{font-size:12px}.pinned-block{margin-bottom:30px;padding-bottom:26px;border-bottom:1px solid var(--line)}
.footer{border-top:1px solid var(--line);padding:28px 0 46px;background:#fafbfc}.footer .wrap{display:flex;justify-content:space-between;gap:30px;color:var(--muted);font-size:13px}.footer strong{color:var(--ink)}.footer [data-editorial-contact]{border-bottom:1px dotted currentColor;cursor:pointer}
.article-shell{max-width:900px;margin:0 auto}.breadcrumbs{font-size:12px;color:var(--muted);margin-bottom:18px}.article-title{font-size:clamp(34px,5vw,58px);line-height:1.04;letter-spacing:-.045em;margin:0 0 12px}.article-deck{font-size:20px;color:#4c576a;max-width:760px;margin:0 0 14px}.article-hero{margin:28px -80px 26px}.article-hero img{width:100%;max-height:620px;object-fit:cover;border-radius:16px}.article-body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:19px;line-height:1.72;color:#202738}.article-body p{margin:0 0 1.25em}.article-body>figure{margin:30px -80px}.article-body figure img{width:100%;height:auto;border-radius:12px}.article-body>.wp-block-gallery{display:flex;gap:12px;margin:30px 0;padding:0 0 8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:thin}.article-body>.wp-block-gallery>figure{flex:0 0 calc((100% - 24px)/3);width:auto!important;margin:0!important;scroll-snap-align:start;cursor:zoom-in}.article-body>.wp-block-gallery>figure img{width:100%;aspect-ratio:4/3;object-fit:cover}.article-body figcaption{font-family:Inter,system-ui,sans-serif;font-size:12px;color:var(--muted);margin-top:8px}.rub-lightbox{position:fixed;inset:0;z-index:100000;background:rgba(6,12,22,.92);display:grid;grid-template-columns:64px minmax(0,1fr) 64px;grid-template-rows:64px minmax(0,1fr);align-items:center}.rub-lightbox[hidden]{display:none}.rub-lightbox-image{grid-column:2;grid-row:2;max-width:100%;max-height:calc(100vh - 96px);margin:auto;object-fit:contain}.rub-lightbox button{border:0;background:rgba(255,255,255,.12);color:#fff;border-radius:999px;width:46px;height:46px;font-size:26px;cursor:pointer}.rub-lightbox-close{grid-column:3;grid-row:1;justify-self:center}.rub-lightbox-prev{grid-column:1;grid-row:2;justify-self:center}.rub-lightbox-next{grid-column:3;grid-row:2;justify-self:center}
.article-video{margin:36px 0 0;padding-top:22px;border-top:1px solid var(--line)}
.article-video h2{font:700 23px/1.25 Inter,system-ui,sans-serif;margin:0 0 15px}
.tv-lead{max-width:1040px;margin:0 auto}.tv-lead h1{font-size:clamp(34px,5vw,54px);line-height:1.06;letter-spacing:-.04em;margin:0 0 12px}.player{position:relative;margin:26px 0 18px;border-radius:16px;overflow:hidden;background:#111;aspect-ratio:16/9}
.article-video .player{margin:0}.player img,.player .image-placeholder{width:100%;aspect-ratio:16/9;object-fit:cover;opacity:.86}.player .play{left:50%;bottom:50%;transform:translate(-50%,50%);width:76px;height:76px;font-size:28px}
.image-placeholder{display:block;background:linear-gradient(135deg,#e9eef5,#d9e2ee)}
.search-form-large{display:flex;gap:10px;max-width:760px;margin-bottom:30px}.search-form-large input{flex:1;border:1px solid var(--line);border-radius:10px;padding:12px 14px}.search-form-large button{border:0;border-radius:10px;background:var(--blue);color:#fff;padding:12px 20px;font-weight:700}.search-result{padding:20px 0;border-bottom:1px solid var(--line)}.search-result h2{margin:5px 0;font-size:24px}.search-result p{margin:8px 0 0;color:var(--muted)}
.nav-links{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:28px}.nav-links .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:42px;min-height:42px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;line-height:1;text-decoration:none}.nav-links .page-numbers.current{background:var(--blue);border-color:var(--blue);color:#fff}
@media(max-width:900px){.grid{grid-template-columns:repeat(2,1fr)}.tv-grid{grid-template-columns:repeat(2,1fr)}.article-hero,.article-body>figure{margin-left:0;margin-right:0}.article-body>.wp-block-gallery>figure{flex-basis:calc((100% - 12px)/2)}.hero{min-height:420px}}
@media(max-width:700px){.header .wrap{position:relative;gap:18px}.nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border:1px solid var(--line);border-top:0;box-shadow:0 12px 28px rgba(20,32,51,.10);padding:8px 18px 12px;flex-direction:column;gap:0}.header.menu-open .nav{display:flex}.nav a{padding:12px 0;border-bottom:1px solid var(--line)}.nav a:last-child{border-bottom:0}.search{display:none}.menu{display:block;cursor:pointer}}
@media(max-width:620px){.article-body>.wp-block-gallery>figure{flex-basis:86%}.wrap{width:min(100% - 24px,var(--max))}.utility .wrap{min-height:31px;gap:16px}.utility .radio{margin-left:0}.header .wrap{height:62px}.logo{font-size:19px}.logo-mark{transform:scale(.88);transform-origin:left center}main{padding-top:18px}.hero{min-height:400px;border-radius:12px;margin-bottom:26px}.hero-copy{left:18px;right:18px;bottom:20px}.hero h1{font-size:33px}.grid,.tv-grid{grid-template-columns:1fr}.story{display:grid;grid-template-columns:118px 1fr;gap:14px}.story img,.story .image-placeholder{margin:0;aspect-ratio:1.25}.story .copy h3{font-size:17px;margin-top:2px}.story p{display:none}.section-head{margin-top:27px}.section-head h2{font-size:23px}.news-row{grid-template-columns:82px 1fr}.news-row .tag{display:none}.news-row h3{font-size:16px}.article-title{font-size:36px}.article-deck{font-size:18px}.article-body{font-size:18px}.article-hero{margin-top:20px}.footer .wrap{flex-direction:column}.search-form-large{display:grid}}

.utility-weather,.utility-rates{color:var(--muted)}
.utility-weather strong,.utility-rates strong{color:var(--ink)}
@media(max-width:620px){
  .utility .wrap{scroll-snap-type:x proximity}
  .utility .wrap>*{scroll-snap-align:start}
}

.utility-weather,.utility-rates{
  display:inline-flex;
  align-items:baseline;
  gap:.35rem;
  white-space:nowrap;
}
.data-stamp{
  color:#98a2b3;
  font-size:11px;
  font-variant-numeric:tabular-nums;
}
@media(max-width:900px){
  .data-stamp{display:none}
}
@media(max-width:760px){
  [data-weather-next]{display:none}
}

.newspaper-card .thumb{
  aspect-ratio:16/9;
  background:#f2f4f7;
  display:grid;
  place-items:center;
}
.newspaper-card .thumb img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.newspaper-card .thumb .image-placeholder{
  width:100%;
  height:100%;
}

.newspaper-lead .pdf-viewer{
  height:min(78vh,900px);
  min-height:520px;
  margin:26px 0 14px;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background:#eef2f7;
}
.pdf-preview{
  position:relative;
  width:100%;
  height:100%;
  padding:0;
  border:0;
  background:#eef2f7;
  display:grid;
  place-items:center;
  cursor:zoom-in;
}
.pdf-preview img{
  width:100%;
  height:100%;
  object-fit:contain;
}
.pdf-preview .image-placeholder{
  width:100%;
  height:100%;
}
.pdf-preview-action{
  position:absolute;
  left:50%;
  bottom:24px;
  transform:translateX(-50%);
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:var(--ink);
  font:700 14px/1 Inter,system-ui,sans-serif;
  box-shadow:0 6px 22px rgba(20,32,51,.14);
  white-space:nowrap;
}
.pdf-viewer.is-open{
  background:#fff;
}
.pdf-actions{
  display:flex;
  justify-content:flex-end;
  gap:18px;
  flex-wrap:wrap;
  margin:0 0 18px;
  font-size:14px;
  font-weight:700;
}
.pdf-actions a{color:var(--blue)}
@media(max-width:620px){
  .newspaper-lead .pdf-viewer{
    min-height:430px;
    height:72vh;
    border-radius:12px;
  }
  .pdf-actions{
    justify-content:flex-start;
    gap:14px;
  }
}

.pdf-image-viewer{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin:26px 0 14px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#eef2f7;
}
.pdf-page{
  margin:0 auto;
  width:min(100%,980px);
  background:#fff;
  box-shadow:0 8px 28px rgba(20,32,51,.10);
}
.pdf-page img{
  display:block;
  width:100%;
  height:auto;
}
@media(max-width:620px){
  .pdf-image-viewer{
    padding:8px;
    gap:10px;
    border-radius:12px;
  }
}

.pdf-auto-cover{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  background:#eef2f7;
  overflow:hidden;
}
.pdf-auto-cover canvas{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
/* PDF.js sets height:auto inline after drawing, which made the portrait
 * 522px canvas overflow the 212px landscape Gazette card and crop its top.
 * Constrain only card previews; full-page PDF reading stays unmodified. */
.newspaper-card .pdf-auto-cover{
  position:relative;
}
.newspaper-card .pdf-auto-cover canvas{
  /* Absolute positioning removes the portrait intrinsic height from the
   * grid track's min-content sizing; otherwise 100% can resolve to 522px. */
  position:absolute;
  inset:0;
  width:100%;
  height:100% !important;
  object-fit:contain;
}
.pdf-auto-cover.is-unavailable::after{
  content:"PDF";
  color:var(--muted);
  font-weight:800;
  letter-spacing:.08em;
}
.pdf-js-viewer{
  margin:26px 0 14px;
}
.pdf-js-viewer .pdf-preview{
  min-height:520px;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
}
.pdf-js-viewer .pdf-auto-cover{
  min-height:520px;
}
.pdf-loading{
  padding:22px;
  color:var(--muted);
  text-align:center;
}
@media(max-width:620px){
  .pdf-js-viewer .pdf-preview,
  .pdf-js-viewer .pdf-auto-cover{
    min-height:430px;
  }
}
