/* Current network overrides: clearer hero photos, lighter overlay, headline sized to leave the photo visible */
.hero-carousel .hc-slide img{opacity:1}
.hero-carousel .hero-t{background:linear-gradient(to bottom,rgba(0,0,0,0) 0,rgba(0,0,0,.6) 38%,rgba(0,0,0,.88) 100%);text-shadow:0 1px 3px rgba(0,0,0,.6)}
.hero-carousel .hero-t p:last-child{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(min-width:988px){.hero-carousel .hero-t h1{font-size:clamp(1.55rem,2.05vw,2.25rem);line-height:1.14}}
@media(max-width:987px){.hero-carousel .hero-t p:last-child{-webkit-line-clamp:2}}
.ev-list{list-style:none;margin:0;padding:0}
.ev-day h2{font:700 1.05rem/1.2 Inter,sans-serif;margin:26px 0 8px;padding-bottom:6px;border-bottom:2px solid var(--red)}
.ev-item{padding:12px 0;border-bottom:1px solid #e3e3e3}
.ev-item h3{margin:.1em 0 .25em;font-size:1.15rem}
.ev-item p{margin:.15em 0;font:400 .95rem/1.45 Inter,sans-serif;color:#333}
.ev-item .ev-src{font-size:.82rem;color:#555}
.ev-item .ev-src a{color:#555}
.ev-home{display:grid;gap:14px;grid-template-columns:1fr}
@media(min-width:768px){.ev-home{grid-template-columns:1fr 1fr}}
@media(min-width:1200px){.ev-home{grid-template-columns:repeat(4,1fr)}}
.ev-card{border:1px solid #ddd;border-top:4px solid var(--red);padding:12px 14px;background:#fff}
.ev-card h3{margin:.2em 0;font-size:1.05rem}
.ev-card p{margin:.15em 0;font:400 .88rem/1.4 Inter,sans-serif;color:#444}
.ev-when{font:700 .8rem/1.3 Inter,sans-serif!important;color:#111!important;text-transform:uppercase;letter-spacing:.03em}
.ev-towns{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:10px 0 0}
.ev-towns a{display:inline-block;padding:5px 10px;border:1px solid #ccc;border-radius:999px;font:600 .85rem Inter,sans-serif;color:#111;text-decoration:none}
@media(max-width:987px){.hero-carousel .hero-t{min-height:13.6rem;box-sizing:border-box}}

/* Original-5 preview polish: photos, ads, mobile nav. */
.story-lead, .story-photo { margin: 0 0 1.1rem; }
.story-lead img, .story-photo img { width: 100%; height: auto; aspect-ratio: 5/3; object-fit: cover; display: block; }
.story-lead .cred, .story-photo figcaption { margin: .4rem 0 0; font: 700 .8rem Inter, sans-serif; color: #555; }
.hero-carousel .hcred { margin: .45em 0 0; font: 700 .8rem Inter, sans-serif; color: #ffd200; text-transform: uppercase; letter-spacing: .04em; }
.ad.sad.nc-slot { margin: 0 0 1.2rem; }
.nc-ph { background: #f4f1ea; color: #1a1a1a; padding: 1.1rem 1rem; border: 1px solid #ddd4c4; }
.nc-ph-kicker { margin: 0; font: 700 .72rem Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #555; }
.nc-ph-head { margin: .25rem 0 .5rem; font: 700 1.15rem Merriweather, serif; color: #111; }
.nc-ph-cta, .nc-ph-cta a { color: #1a1a1a; }
.nc-ph-cta a { text-decoration: underline; }
.section.dark .nc-ph, .dark .nc-ph { background: #ece8df; color: #1a1a1a; }
.section.dark .nc-ph a, .dark .nc-ph a { color: #111; }
.ad-mid { margin: 0 auto 1.5rem; max-width: 1100px; padding: 0 16px; }
@media (max-width: 680px) {
  .pnav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pnav ul { flex-wrap: nowrap; white-space: nowrap; }
}

/* Visual fix 2026-11-26: show the full city name in the weather picker. */
.hwx-town{max-width:none;width:auto;min-width:7rem;}

/* Visual fix 2026-11-26: hide raw source URL text on Tea cards (NEBC-style clean cards). */
.tea-card .tea-card-src,
.tea-card .slang-src,
.tea-item .src,
.tea-item .slang-src{display:none;}

/* Cutover 2026-11-27: long paper names must not collide with footer nav at tablet widths (768–1099px). Stack until 1100px, then 3-column with wrapping nav. */
.foot .f-in{grid-template-columns:1fr}
.foot .f-logo,.foot .logo,.foot .wt{min-width:0;max-width:100%}
.foot .f-nav{min-width:0}
.foot .f-sign{grid-column:1/-1}
@media (min-width:1100px){
  .foot .f-in{grid-template-columns:auto minmax(0,1fr) 300px;align-items:start}
  .foot .f-sign{grid-column:auto}
  .foot .f-logo{padding-right:20px;border-right:1px solid #333}
}

/* NEBC alignment 2026-11-27: Environment Canada opens the full forecast; hide hero 'Read story' chip. */
a.hwx-c, a.hwx-c:visited { color:#fff; text-decoration:underline; }
.hero-carousel .hc-read { display:none; }

/* Stick the 10-link section bar on tablet/phone the same way .nav sticks on desktop. */
@media (max-width:987px){
  .pnav{
    position:sticky;
    top:0;
    z-index:1200;
    background:var(--bg);
    box-shadow:0 1px 0 #e6e6e6;
  }
}
.hcap:empty{display:none}

/* Original Current serif C mark (floppy tail, red wrap-around accent) — not the CSS Inter C + fixed triangle. */
.mark{background:transparent;overflow:visible}
.mark::before,.mark::after{content:none!important;border:0!important;background:none!important;width:0!important;height:0!important;display:none!important}
.mark>span{display:none!important}
.mark img,.mark>img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;pointer-events:none}
.logo .mark,.foot .mark,.f-logo .mark{flex:none}

/* Hide the live-story slot when no extra D1 cards were injected. */
#slate-live:empty{display:none}
