/* BZY Card System — v9.4.7
   One canonical card geometry and one canonical hover interaction for Blog + History.
   History differs only by numbered badge/year; Blog uses cyan status dot/meta. */
:root{--bzy-card-w:264px;--bzy-card-h:330px;--bzy-card-gap:12px;--bzy-card-radius:22px;--bzy-card-x:18px}

/* ===== Canonical physical card ===== */
.bzy-shared-post-card,
.history-section .bzy-home-history-card,
.bzy-history-static-card{
 box-sizing:border-box!important;position:relative!important;display:block!important;
 width:var(--bzy-card-w)!important;min-width:var(--bzy-card-w)!important;max-width:var(--bzy-card-w)!important;
 height:var(--bzy-card-h)!important;min-height:var(--bzy-card-h)!important;max-height:var(--bzy-card-h)!important;
 flex:0 0 var(--bzy-card-w)!important;margin:0!important;padding:0!important;overflow:hidden!important;
 border:1px solid rgba(255,255,255,.25)!important;border-radius:var(--bzy-card-radius)!important;
 background:linear-gradient(145deg,rgba(23,49,122,.72),rgba(25,113,151,.34))!important;color:#fff!important;
 transform:translateY(0)!important;filter:none!important;box-shadow:none!important;aspect-ratio:auto!important;
 transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease,background .24s ease!important;
}
.bzy-shared-post-card:hover,.bzy-shared-post-card:focus-within,
.history-section .bzy-home-history-card:hover,.history-section .bzy-home-history-card:focus-within,
.bzy-history-static-card:hover,.bzy-history-static-card:focus-within{
 transform:translateY(-4px)!important;border-color:rgba(190,235,255,.48)!important;
 background:linear-gradient(145deg,rgba(27,57,139,.78),rgba(31,126,164,.42))!important;
 box-shadow:0 14px 34px rgba(4,18,60,.20),0 0 0 1px rgba(160,225,255,.08)!important;
}
/* A restrained glass sheen shared by both components. */
.bzy-shared-post-card::after,.history-section .bzy-home-history-card::after,.bzy-history-static-card::after{
 content:""!important;display:block!important;pointer-events:none!important;position:absolute!important;z-index:1!important;
 inset:-35% auto -35% -55%!important;width:46%!important;height:auto!important;
 background:linear-gradient(105deg,transparent,rgba(255,255,255,.075),transparent)!important;
 opacity:0!important;transform:translateX(0) rotate(8deg)!important;transition:opacity .24s ease,transform .48s ease!important;
}
.bzy-shared-post-card:hover::after,.bzy-shared-post-card:focus-within::after,
.history-section .bzy-home-history-card:hover::after,.history-section .bzy-home-history-card:focus-within::after,
.bzy-history-static-card:hover::after,.bzy-history-static-card:focus-within::after{opacity:1!important;transform:translateX(430%) rotate(8deg)!important}

/* ===== Blog card content ===== */
.bzy-shared-post-card::before{content:""!important;display:block!important;position:absolute!important;z-index:4!important;top:18px!important;left:18px!important;width:12px!important;height:12px!important;border-radius:50%!important;background:#22c8ff!important;box-shadow:0 0 0 6px rgba(34,200,255,.12),0 0 16px 4px rgba(34,200,255,.40)!important}
.bzy-shared-post-card .bzy-news-card-main-link{position:absolute!important;inset:0!important;z-index:2!important}
.bzy-shared-post-card .news-meta{position:absolute!important;z-index:3!important;top:17px!important;left:50px!important;right:18px!important;height:18px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:0!important;padding:0!important;color:#b8efff!important;font-size:9px!important;line-height:1.1!important;font-weight:900!important;letter-spacing:.10em!important;text-transform:uppercase!important;opacity:1!important;visibility:visible!important;transform:none!important}
.bzy-shared-post-card h3.bzy-post-card-title{position:absolute!important;z-index:3!important;top:68px!important;left:18px!important;right:18px!important;margin:0!important;padding:0!important;font-size:17px!important;line-height:1.02!important;letter-spacing:-.025em!important;color:#fff!important;opacity:1!important;visibility:visible!important;transform:none!important}
.bzy-shared-post-card>p{position:absolute!important;z-index:3!important;top:145px!important;left:18px!important;right:18px!important;bottom:16px!important;margin:0!important;padding:0!important;display:block!important;max-height:none!important;overflow:hidden!important;font-size:10px!important;line-height:1.28!important;color:rgba(255,255,255,.88)!important;opacity:1!important;visibility:visible!important;transform:none!important;filter:none!important;-webkit-line-clamp:unset!important}
.bzy-shared-post-card .news-actions{display:none!important}

/* ===== Homepage History content: same coordinates as Blog ===== */
.history-section .bzy-home-history-card.is-major-milestone,.history-section .bzy-home-history-card.is-red-event-card,.history-section .bzy-home-history-card.is-operator-event-card{background:linear-gradient(145deg,rgba(23,49,122,.72),rgba(25,113,151,.34))!important;border-color:rgba(255,255,255,.25)!important}
.history-section .bzy-home-history-card>.bzy-airport-card-link{position:absolute!important;inset:0!important;z-index:2!important;width:auto!important;height:auto!important;padding:0!important;margin:0!important;color:inherit!important;text-decoration:none!important}
.history-section .bzy-history-home-head{position:absolute!important;z-index:4!important;top:17px!important;left:18px!important;right:18px!important;height:36px!important;display:flex!important;align-items:center!important;gap:14px!important;margin:0!important;padding:0!important}
.history-section .bzy-history-home-number{display:grid!important;place-items:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important;border-radius:50%!important;background:#f7fbff!important;color:#10204a!important;font-size:11px!important;font-weight:800!important;line-height:1!important;box-shadow:0 0 0 6px rgba(93,192,255,.10),0 0 18px rgba(93,192,255,.22)!important}
.history-section .bzy-home-history-card.is-major-milestone .bzy-history-home-number,.history-section .bzy-home-history-card.is-red-event-card .bzy-history-home-number,.history-section .bzy-home-history-card.is-operator-event-card .bzy-history-home-number{background:#f7fbff!important;color:#10204a!important;box-shadow:0 0 0 6px rgba(93,192,255,.10),0 0 18px rgba(93,192,255,.22)!important}
.history-section .bzy-history-home-year{min-width:0!important;margin:0!important;padding:0!important;color:#b8efff!important;font-size:9px!important;line-height:1.1!important;font-weight:900!important;letter-spacing:.10em!important;text-transform:uppercase!important}
.history-section .bzy-history-home-copy{position:absolute!important;z-index:3!important;inset:0!important;display:block!important;margin:0!important;padding:0!important;overflow:hidden!important}
.history-section .bzy-history-home-copy h2{position:absolute!important;top:68px!important;left:18px!important;right:18px!important;margin:0!important;padding:0!important;font-size:17px!important;line-height:1.02!important;letter-spacing:-.025em!important;color:#fff!important}
.history-section .bzy-history-home-copy p{position:absolute!important;top:145px!important;left:18px!important;right:18px!important;bottom:16px!important;margin:0!important;padding:0!important;display:block!important;max-height:none!important;overflow:hidden!important;font-size:10px!important;line-height:1.28!important;color:rgba(255,255,255,.88)!important}

/* ===== Dedicated History: clean static component, same card + hover ===== */
.bzy-history-static-grid{display:grid!important;grid-template-columns:repeat(5,var(--bzy-card-w))!important;grid-auto-rows:var(--bzy-card-h)!important;gap:var(--bzy-card-gap)!important;align-items:start!important;justify-content:start!important;margin:0!important;padding:0!important}
.bzy-history-static-link{position:absolute!important;inset:0!important;z-index:2!important;display:block!important;color:inherit!important;text-decoration:none!important}
.bzy-history-static-head{position:absolute!important;z-index:4!important;top:17px!important;left:18px!important;right:18px!important;height:36px!important;display:flex!important;align-items:center!important;gap:14px!important;margin:0!important;padding:0!important}
.bzy-history-static-number{display:grid!important;place-items:center!important;flex:0 0 36px!important;width:36px!important;height:36px!important;border-radius:50%!important;background:#f7fbff!important;color:#10204a!important;font-size:11px!important;font-weight:800!important;line-height:1!important;box-shadow:0 0 0 6px rgba(93,192,255,.10),0 0 18px rgba(93,192,255,.22)!important}
.bzy-history-static-year{min-width:0!important;color:#b8efff!important;font-size:9px!important;line-height:1.1!important;font-weight:900!important;letter-spacing:.10em!important;text-transform:uppercase!important}
.bzy-history-static-copy{position:absolute!important;z-index:3!important;top:68px!important;left:18px!important;right:18px!important;bottom:16px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:12px!important;margin:0!important;padding:0!important;overflow:hidden!important;opacity:1!important;visibility:visible!important;transform:none!important;background:none!important}
.bzy-history-static-copy h2{position:static!important;flex:0 0 auto!important;margin:0!important;padding:0!important;color:#fff!important;font-size:17px!important;line-height:1.02!important;letter-spacing:-.025em!important;opacity:1!important;visibility:visible!important;transform:none!important}
.bzy-history-static-copy p{position:static!important;flex:0 1 auto!important;display:block!important;margin:0!important;padding:0!important;max-height:none!important;overflow:hidden!important;color:rgba(255,255,255,.88)!important;font-size:10px!important;line-height:1.28!important;opacity:1!important;visibility:visible!important;transform:none!important;-webkit-line-clamp:unset!important}

/* ===== Tracks / fixed geometry ===== */
.history-section .history-carousel,.news-section .bzy-press-wall-shell{position:relative!important}
.history-section .history-carousel-grid,.history-section .bzy-home-history-track,.news-section .bzy-news-index-grid,.news-section .bzy-news-history-grid{display:flex!important;flex-flow:row nowrap!important;align-items:flex-start!important;justify-content:flex-start!important;gap:var(--bzy-card-gap)!important;min-width:0}
.history-section .history-carousel-grid,.news-section .bzy-press-wall-viewport{overflow:hidden!important}
.news-section .bzy-press-wall-viewport{padding:8px 0 18px!important}
.news-section .bzy-press-wall-viewport .bzy-news-index-grid,.news-section .bzy-press-wall-viewport .bzy-news-history-grid{width:max-content!important;min-width:max-content!important;margin:0!important;padding:0!important;overflow:visible!important;grid-template-columns:none!important;grid-template-rows:none!important;grid-auto-columns:auto!important;grid-auto-flow:row!important}
.bzy-news-index .bzy-news-index-grid{display:grid!important;grid-template-columns:repeat(5,var(--bzy-card-w))!important;gap:var(--bzy-card-gap)!important;align-items:start!important;justify-content:start!important}

/* No History connector lines or legacy pseudo decorations. */
.history-section .history-carousel-card::before{content:none!important;display:none!important}

/* ===== Responsive dedicated grids ===== */
@media(max-width:1400px){.bzy-history-static-grid,.bzy-news-index .bzy-news-index-grid{grid-template-columns:repeat(4,var(--bzy-card-w))!important}}
@media(max-width:1150px){.bzy-history-static-grid,.bzy-news-index .bzy-news-index-grid{grid-template-columns:repeat(3,var(--bzy-card-w))!important}}
@media(max-width:880px){.bzy-history-static-grid,.bzy-news-index .bzy-news-index-grid{grid-template-columns:repeat(2,var(--bzy-card-w))!important}}
@media(max-width:590px){.bzy-history-static-grid,.bzy-news-index .bzy-news-index-grid{grid-template-columns:var(--bzy-card-w)!important}.history-section .history-carousel-grid,.news-section .bzy-news-index-grid{overflow-x:auto!important;scroll-snap-type:x proximity}.bzy-home-history-card,.bzy-shared-post-card{scroll-snap-align:start}}

/* Exactly four History cards visible on desktop. */
@media(min-width:901px){
 .history-section .history-carousel,.news-section .bzy-press-wall-shell{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin-left:auto!important;margin-right:auto!important;padding-left:64px!important;padding-right:64px!important;overflow:visible!important}
 .history-section .history-carousel-grid,.history-section .bzy-home-history-track{width:calc((var(--bzy-card-w) * 4) + (var(--bzy-card-gap) * 3))!important;max-width:calc((var(--bzy-card-w) * 4) + (var(--bzy-card-gap) * 3))!important;margin-left:auto!important;margin-right:auto!important}
 .news-section .bzy-press-wall-viewport{width:100%!important;margin:0 auto!important;overflow:hidden!important}
 .news-section .bzy-press-wall-viewport .bzy-news-index-grid,.news-section .bzy-press-wall-viewport .bzy-news-history-grid{margin-left:auto!important;margin-right:auto!important}
 .history-section .history-carousel-arrow.history-carousel-prev,.news-section .bzy-press-arrow.bzy-press-prev{left:0!important}
 .history-section .history-carousel-arrow.history-carousel-next,.news-section .bzy-press-arrow.bzy-press-next{right:0!important}
}

@media(prefers-reduced-motion:reduce){.bzy-shared-post-card,.history-section .bzy-home-history-card,.bzy-history-static-card,.bzy-shared-post-card::after,.history-section .bzy-home-history-card::after,.bzy-history-static-card::after{transition:none!important}.bzy-shared-post-card:hover,.history-section .bzy-home-history-card:hover,.bzy-history-static-card:hover{transform:none!important}}

/* v9.4.7 — Homepage Blog carousel: one horizontal row, never a vertical stack.
   Keep the same canonical 264 × 330 card geometry used by History. */
.news-section .bzy-press-wall-viewport > .bzy-news-index-grid[data-bzy-news-history-grid],
.news-section .bzy-press-wall-viewport > .bzy-news-history-grid[data-bzy-news-history-grid]{
 display:grid!important;
 grid-template-rows:var(--bzy-card-h)!important;
 grid-template-columns:none!important;
 grid-auto-flow:column!important;
 grid-auto-columns:var(--bzy-card-w)!important;
 align-items:start!important;
 justify-content:start!important;
 column-gap:var(--bzy-card-gap)!important;
 row-gap:0!important;
 width:max-content!important;
 min-width:max-content!important;
 max-width:none!important;
 margin:0 auto!important;
 padding:0!important;
 overflow:visible!important;
}
.news-section .bzy-press-wall-viewport > [data-bzy-news-history-grid] > .bzy-shared-post-card{
 grid-row:1!important;
 width:var(--bzy-card-w)!important;
 min-width:var(--bzy-card-w)!important;
 max-width:var(--bzy-card-w)!important;
 height:var(--bzy-card-h)!important;
 min-height:var(--bzy-card-h)!important;
 max-height:var(--bzy-card-h)!important;
}

/* v9.4.7 — definitive shared hover interaction.
   Loaded after site.css and intentionally overrides legacy History rules that disabled motion. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .history-section .history-carousel-card.bzy-home-history-card,
 .history-section .history-carousel-card.bzy-home-history-card:hover,
 .history-section .history-carousel-card.bzy-home-history-card:focus-within,
 .bzy-shared-post-card,
 .bzy-shared-post-card:hover,
 .bzy-shared-post-card:focus-within,
 .bzy-history-static-card,
 .bzy-history-static-card:hover,
 .bzy-history-static-card:focus-within{
   transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease,background .24s ease!important;
   translate:none!important;scale:1!important;filter:none!important;
 }
 .history-section .history-carousel-card.bzy-home-history-card:hover,
 .history-section .history-carousel-card.bzy-home-history-card:focus-within,
 .bzy-shared-post-card:hover,.bzy-shared-post-card:focus-within,
 .bzy-history-static-card:hover,.bzy-history-static-card:focus-within{
   transform:translateY(-4px)!important;
   border-color:rgba(190,235,255,.48)!important;
   background:linear-gradient(145deg,rgba(27,57,139,.78),rgba(31,126,164,.42))!important;
   box-shadow:0 14px 34px rgba(4,18,60,.20),0 0 0 1px rgba(160,225,255,.08)!important;
 }
 .history-section .history-carousel-card.bzy-home-history-card::after,
 .bzy-shared-post-card::after,.bzy-history-static-card::after{
   content:""!important;display:block!important;pointer-events:none!important;position:absolute!important;z-index:5!important;
   inset:-35% auto -35% -55%!important;width:46%!important;height:auto!important;
   background:linear-gradient(105deg,transparent,rgba(255,255,255,.075),transparent)!important;
   opacity:0!important;transform:translateX(0) rotate(8deg)!important;
   transition:opacity .24s ease,transform .48s ease!important;
 }
 .history-section .history-carousel-card.bzy-home-history-card:hover::after,
 .history-section .history-carousel-card.bzy-home-history-card:focus-within::after,
 .bzy-shared-post-card:hover::after,.bzy-shared-post-card:focus-within::after,
 .bzy-history-static-card:hover::after,.bzy-history-static-card:focus-within::after{
   opacity:1!important;transform:translateX(430%) rotate(8deg)!important;
 }
}
