.panorama-builder-news,.panorama-builder-headlines{margin:24px 0}.panorama-builder-news h2,.panorama-builder-headlines h2{font-size:1.5rem;border-left:4px solid #d71920;padding-left:12px}.panorama-builder-grid{display:grid;grid-template-columns:repeat(var(--panorama-cols),minmax(0,1fr));gap:20px}.panorama-builder-card{min-width:0}.panorama-builder-card img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}.panorama-builder-card a{color:inherit;text-decoration:none}.panorama-builder-card h3{font-size:1.1rem;line-height:1.3;margin:10px 0}.panorama-builder-card p{color:#666;font-size:.9rem}@media(max-width:767px){.panorama-builder-grid{grid-template-columns:1fr 1fr}}@media(max-width:480px){.panorama-builder-grid{grid-template-columns:1fr}}

.pan-builder-home>.pan-section,.pan-builder-home>.pan-leads,.pan-builder-home>.pan-four{margin-bottom:24px}

.pan-independent-block.pan-layout-list .panorama-builder-grid{grid-template-columns:1fr}
.pan-layout-list .panorama-builder-card{display:grid;grid-template-columns:minmax(110px,32%) minmax(0,1fr);gap:14px;align-items:start}
.pan-layout-list .panorama-builder-card a{display:contents}
.pan-layout-list .panorama-builder-card img{grid-row:span 2}
.pan-layout-feature .panorama-builder-card:first-child{grid-column:1/-1}
.pan-layout-feature .panorama-builder-card:first-child img{aspect-ratio:21/9}
.pan-layout-feature .panorama-builder-card:first-child h3{font-size:clamp(20px,2.4vw,32px)}
.pan-layout-compact .panorama-builder-grid{gap:10px}
.pan-layout-compact .panorama-builder-card h3{font-size:14px;margin:6px 0}
.pan-layout-compact .panorama-builder-card p{display:none}
@media(min-width:769px){.pan-device-mobile{display:none!important}}
@media(max-width:768px){.pan-device-desktop{display:none!important}}
@media(max-width:480px){.pan-layout-list .panorama-builder-card{grid-template-columns:minmax(95px,35%) minmax(0,1fr)}.pan-layout-feature .panorama-builder-card:first-child img{aspect-ratio:16/10}}

/* Stage 3 editorial headline templates */
.pan-home-hero.pan-hero-lead .panorama-builder-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pan-hero-lead .panorama-builder-card:first-child{grid-column:span 3;grid-row:span 2}
.pan-hero-lead .panorama-builder-card:first-child img{aspect-ratio:16/9}
.pan-hero-lead .panorama-builder-card:first-child h3{font-size:clamp(22px,2.4vw,34px)}
.pan-hero-split .panorama-builder-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.pan-hero-split .panorama-builder-card:nth-child(-n+2){grid-column:span 2}
.pan-hero-tiles .panorama-builder-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.pan-hero-tiles .panorama-builder-card:first-child{grid-column:span 2;grid-row:span 2}
.pan-hero-tiles .panorama-builder-card:first-child img{aspect-ratio:16/9}
.pan-hero-carousel .panorama-builder-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;gap:14px;padding-bottom:12px;scrollbar-width:thin}
.pan-hero-carousel .panorama-builder-card{flex:0 0 min(78%,740px);scroll-snap-align:start}
.pan-hero-carousel .panorama-builder-card img{aspect-ratio:16/9}
.pan-hero-carousel .panorama-builder-grid:focus-visible{outline:3px solid #c7192c;outline-offset:3px}
@media(max-width:767px){.pan-home-hero.pan-hero-lead .panorama-builder-grid,.pan-hero-split .panorama-builder-grid,.pan-hero-tiles .panorama-builder-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pan-hero-lead .panorama-builder-card:first-child,.pan-hero-tiles .panorama-builder-card:first-child{grid-column:1/-1;grid-row:auto}.pan-hero-split .panorama-builder-card:nth-child(-n+2){grid-column:auto}.pan-hero-carousel .panorama-builder-card{flex-basis:88%}}
@media(max-width:420px){.pan-home-hero.pan-hero-lead .panorama-builder-grid{grid-template-columns:1fr}.pan-hero-lead .panorama-builder-card:first-child{grid-column:auto}}

.pan-carousel-controls{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin:8px 0}
.pan-carousel-controls button{min-width:44px;min-height:44px;border:1px solid #d3d3d3;background:#fff;border-radius:5px;cursor:pointer;font-size:22px}
.pan-carousel-controls .pan-carousel-toggle{font-size:13px;padding:0 14px}
.pan-carousel-controls button:focus-visible{outline:3px solid #c7192c;outline-offset:2px}
.pan-hero-carousel .panorama-builder-grid{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){.pan-hero-carousel .panorama-builder-grid{scroll-behavior:auto}}

/* 1.9.9: Full-width editorial headline slider, title overlay, mobile-first. */
.pan-home-hero.pan-hero-carousel{position:relative;background:#fff}
.pan-home-hero.pan-hero-carousel>.panorama-builder-grid{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0;margin:0;border-radius:8px;background:#131b24}
.pan-home-hero.pan-hero-carousel>.panorama-builder-grid::-webkit-scrollbar{display:none}
.pan-home-hero.pan-hero-carousel .panorama-builder-card{position:relative;flex:0 0 100%;width:100%;min-width:100%;max-width:100%;scroll-snap-align:start;overflow:hidden;background:#17212a;min-height:360px}
.pan-home-hero.pan-hero-carousel .panorama-builder-card>a{position:relative;display:block;height:100%;min-height:360px;color:#fff;text-decoration:none}
.pan-home-hero.pan-hero-carousel .panorama-builder-card img{display:block;width:100%;height:clamp(360px,45vw,570px);object-fit:cover;aspect-ratio:auto}
.pan-home-hero.pan-hero-carousel .panorama-builder-card>a:after{content:'';position:absolute;inset:20% 0 0;background:linear-gradient(0deg,rgba(8,12,18,.93),rgba(8,12,18,.35) 48%,transparent);pointer-events:none}
.pan-home-hero.pan-hero-carousel .panorama-builder-card h3{position:absolute;bottom:35px;left:32px;right:32px;z-index:1;color:#fff;font-size:clamp(25px,3vw,43px);line-height:1.15;max-width:850px;margin:0;text-shadow:0 2px 5px rgba(0,0,0,.3)}
.pan-home-hero.pan-hero-carousel .pan-carousel-controls{display:flex;justify-content:flex-end;align-items:center;gap:7px;margin:0 0 10px}
.pan-home-hero.pan-hero-carousel .pan-carousel-controls button{border:1px solid #e1e4e8;background:#fff;color:#1a2028;min-width:42px;min-height:42px;border-radius:6px;cursor:pointer}
.pan-home-hero.pan-hero-carousel .pan-carousel-controls button:hover{background:#d71920;color:#fff}
.pan-home-hero.pan-hero-carousel .panorama-builder-card:focus-within{outline:3px solid #d71920;outline-offset:-3px}
@media(max-width:767px){.pan-home-hero.pan-hero-carousel .panorama-builder-card,.pan-home-hero.pan-hero-carousel .panorama-builder-card>a{min-height:260px}.pan-home-hero.pan-hero-carousel .panorama-builder-card img{height:clamp(260px,70vw,380px)}.pan-home-hero.pan-hero-carousel .panorama-builder-card h3{left:16px;right:16px;bottom:18px;font-size:clamp(21px,5vw,29px)}}
