/* Compact icon rows shared by homepage directories and platform entries. */
#home .cms-link-grid,#platforms{width:calc(100% - 32px);max-width:1180px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:24px auto;padding:0}
#home .cms-link,.platform-entry{box-sizing:border-box;min-height:60px;padding:8px 12px;display:flex;flex-direction:row;align-items:center;gap:12px;border:1px solid #fff;border-radius:8px;background:linear-gradient(#fff,#eef2f4);box-shadow:inset 0 0 0 3px #ffffffb0,0 4px 8px #33405b24;text-align:left;transition:box-shadow .15s,transform .15s}
#home .cms-link img,.platform-entry img{flex:0 0 38px;width:38px;height:38px;padding:2px;object-fit:contain;background:#fff9;border:1px solid #d7dee4;border-radius:7px}
#home .cms-link>span:not(.compact-arrow),.platform-entry>span:not(.compact-arrow){flex:1;min-width:0;overflow-wrap:anywhere;font-size:15px;color:#75839e;line-height:1.4}
.compact-arrow{flex:0 0 auto;font-size:16px;color:#99a5b6}
#home .cms-link:hover,.platform-entry:hover{transform:translateY(-2px);box-shadow:0 6px 14px #33405b28}.platform-entry:hover span{color:#3579e5}
#platforms .pt_box{display:block;width:auto;height:auto;margin:0;padding:0;background:none;border-radius:8px;overflow:visible;box-shadow:none}
#platform-tabs{max-width:1180px;display:flex;gap:16px;margin:24px auto 8px;height:auto;padding:0 16px}
#platform-tabs button{min-width:150px;border-radius:28px;background:linear-gradient(#fff,#f4f7ff);border:1px solid #e2e8f4;box-shadow:0 4px 9px #4357731b;color:#74819e;padding:13px 24px}
#platform-tabs button.pt_act{background:linear-gradient(#12c4f3,#2465f7);color:#fff;border-color:#68b9ff}
#home .bt_txt h2{font-size:clamp(24px,3vw,34px)}
.feature-hero.has-video{display:grid;grid-template-columns:minmax(0,1fr) 230px;column-gap:32px;min-height:350px;align-content:center;padding-right:32px}
.feature-hero.has-video>:not(.feature-hero-video){grid-column:1;position:relative;z-index:1}
.feature-hero.has-video .feature-meta{margin-top:24px}.feature-hero-video{grid-column:2;grid-row:1/6;align-self:center;position:relative;z-index:1;justify-self:end}
.feature-hero-video video{display:block;width:210px;max-height:300px;aspect-ratio:3/4;object-fit:contain;background:#141824;border-radius:15px;box-shadow:0 10px 28px #2c375f22}
.view-count{display:inline-flex;align-items:center;gap:5px;color:var(--accent)}.view-count strong{font-weight:600;font-variant-numeric:tabular-nums}
@media(max-width:950px){#home .cms-link-grid,#platforms{grid-template-columns:repeat(3,minmax(0,1fr))}.feature-hero.has-video{column-gap:20px;grid-template-columns:minmax(0,1fr) 175px}.feature-hero-video video{width:175px}}
@media(max-width:640px){#home .cms-link-grid,#platforms{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.platform-entry,#home .cms-link{padding:7px 9px;gap:8px;min-height:55px}.platform-entry img,#home .cms-link img{width:30px;height:30px;flex-basis:30px}.platform-entry>span:not(.compact-arrow),#home .cms-link>span:not(.compact-arrow){font-size:12px}#platform-tabs{gap:10px}#platform-tabs button{min-width:110px;font-size:13px;padding:10px 15px}.feature-hero.has-video{display:block;padding:26px 22px}.feature-hero-video{margin-top:22px}.feature-hero-video video{width:min(100%,250px);margin:auto;max-height:330px}.feature-hero h1{font-size:26px}}
#platforms>.empty-message{grid-column:1/-1}
@media(prefers-reduced-motion:reduce){#home .cms-link,.platform-entry{transition:none}}
/* Secondary-page shortcuts sit below content instead of covering the video. */
body:has(#feature-page) .floating-links{position:static;display:grid;grid-template-columns:1fr 1fr;width:calc(100% - 32px);max-width:420px;margin:16px auto 28px}
#platform-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100% - 32px);max-width:900px;gap:20px;padding:0}#platform-tabs button{min-width:0}
@media(max-width:640px){#platform-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

/* Hero contact image keeps the supplied QR pixels unchanged. */
.feature-hero.has-qr{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:0 24px;align-content:center;align-items:center}
.feature-hero.has-qr.has-video{grid-template-columns:minmax(0,1fr) 190px 180px}
.feature-hero.has-qr>:not(.feature-hero-video):not(.feature-hero-qr){grid-column:1;position:relative;z-index:1}
.feature-hero.has-qr .feature-hero-qr{grid-column:2;grid-row:1/6;margin:0;position:relative;z-index:1}
.feature-hero-qr img{display:block;width:100%;height:auto;border-radius:10px;background:white;box-shadow:0 8px 24px #2c375f14}
.feature-hero-qr a{display:block}.feature-hero-qr a:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.feature-hero.has-qr.has-video .feature-hero-video{grid-column:3}.feature-hero.has-qr.has-video video{width:180px}
#platforms .platform-entry>span:not(.compact-arrow){color:#c3324d;font-weight:600}
#platforms .platform-entry:hover>span:not(.compact-arrow){color:#a81f3a}
@media(max-width:1050px){.feature-hero.has-qr.has-video{grid-template-columns:minmax(0,1fr) 155px 150px;column-gap:18px;padding:32px 24px}.feature-hero.has-qr.has-video video{width:150px}.feature-hero.has-qr h1{font-size:28px}}
@media(max-width:760px){.feature-hero.has-qr,.feature-hero.has-qr.has-video{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:26px 22px}.feature-hero.has-qr>:not(.feature-hero-video):not(.feature-hero-qr){grid-column:1/-1}.feature-hero.has-qr .feature-hero-qr{grid-column:1;grid-row:auto;max-width:190px;justify-self:center}.feature-hero.has-qr.has-video .feature-hero-video{grid-column:2;grid-row:auto;margin:0;justify-self:center}.feature-hero.has-qr.has-video video{width:100%;max-width:180px}.feature-hero.has-qr .feature-meta{margin-top:6px}}

/* Original animated badges replace only the news heading's side rules. */
#home-news .announcement-heading{width:100%;max-width:1100px;gap:22px;margin:28px auto 18px}
#home-news .announcement-heading>img{display:block;flex:0 1 371px;width:calc((100% - 240px)/2);height:auto;min-width:0;object-fit:contain}
#home-news .announcement-heading .bt_txt{margin:0;flex:0 0 auto}
@media(max-width:640px){#home-news .announcement-heading{gap:8px}#home-news .announcement-heading>img{width:calc((100% - 112px)/2)}#home-news .announcement-heading .bt_txt h2{font-size:23px;letter-spacing:1px;line-height:1.4}}
