/* STEP 03-B: exclusively hero/support imagery. Header, rankings and lower sections are untouched. */
body[data-page="home"] #hero.tc-hero-slider{position:relative;min-width:0;border-radius:9px;overflow:hidden;background:#17191c;isolation:isolate}
body[data-page="home"] #hero .tc-hero-stage{position:relative;width:100%;aspect-ratio:1.95;min-height:300px;overflow:hidden;border-radius:9px;background:#17191c;touch-action:pan-y}
body[data-page="home"] #hero .tc-hero-stage .hero-card.tc-hero-slide{position:absolute;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;border-radius:9px;display:block;padding:0;background:#17191c;opacity:0;pointer-events:none;transition:opacity .3s ease;overflow:hidden}
body[data-page="home"] #hero .tc-hero-slide.is-active{opacity:1!important;pointer-events:auto!important}
body[data-page="home"] #hero .hero-card img,body[data-page="home"] #support .support-card img{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:contain;object-position:center}
body[data-page="home"] #hero .hero-card:after,body[data-page="home"] #support .support-card:after{content:"";position:absolute;inset:auto 0 0;height:72%;background:linear-gradient(0deg,rgba(0,0,0,.95),rgba(0,0,0,.56) 48%,transparent);opacity:0;pointer-events:none;transition:opacity .3s ease;z-index:0}
body[data-page="home"] #hero .hero-card .card-copy,body[data-page="home"] #support .support-card .card-copy{position:absolute;left:0;right:0;bottom:0;z-index:1;display:grid;gap:8px;margin:0;padding:20px 23px 54px;max-height:100%;overflow:hidden;background:none!important;pointer-events:none;transition:opacity .3s ease,transform .3s ease}
body[data-page="home"] #hero .hero-card h1,body[data-page="home"] #support .support-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;text-overflow:ellipsis;margin:0;color:#fff;line-height:1.32;word-break:normal;overflow-wrap:anywhere;letter-spacing:-.8px}
body[data-page="home"] #hero .hero-card h1{font-size:clamp(24px,2.2vw,35px)}
body[data-page="home"] #hero .hero-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:1.45;margin:0;color:#eee}
body[data-page="home"] #hero .tag,body[data-page="home"] #support .tag{justify-self:start;width:max-content;max-width:100%;margin:0;padding:5px 9px;border-radius:5px;background:#ff694b;color:white;font-size:12px;line-height:1.2}
body[data-page="home"] #support{min-width:0;min-height:0}
body[data-page="home"] #support .support-card{position:relative;min-height:0;height:100%;overflow:hidden;border-radius:9px;isolation:isolate}
body[data-page="home"] #support .support-card .card-copy{padding:13px 15px;gap:5px}
body[data-page="home"] #support .support-card h3{font-size:clamp(16px,1.4vw,22px);letter-spacing:-.4px}
body[data-page="home"] #support .news-empty:after{display:none!important}
body[data-page="home"] #support .news-empty{background:#f5f0e9}
.tc-hero-controls{position:absolute;left:14px;right:14px;bottom:12px;display:grid;grid-template-columns:28px minmax(0,1fr) 68px;align-items:center;gap:10px;z-index:5}
.tc-hero-controls[hidden]{display:none!important}
.tc-hero-controls button{display:grid;place-items:center;padding:0;border:1px solid #ffffff90;background:#15191c70;color:#fff;cursor:pointer;border-radius:50%;min-width:28px;height:28px;line-height:1;font-family:Arial,sans-serif}
.tc-hero-controls button:hover{background:#ff694b;border-color:#ff694b}
.tc-hero-controls button:focus-visible{outline:3px solid #ff694b;outline-offset:3px}
.tc-hero-toggle{font-size:12px}
.tc-hero-controls button:disabled{opacity:.5;cursor:default}
.tc-hero-arrows{display:flex;justify-content:flex-end;gap:7px}
.tc-hero-arrows button{font-size:26px;line-height:1}
.tc-hero-indicators{display:flex;align-items:center;justify-content:center;gap:5px;min-width:0}
.tc-hero-indicators .tc-hero-dot{height:7px;min-width:0;width:7px;border:0;border-radius:5px;background:#a2a2a2;transition:background .3s ease,width .3s ease}
.tc-hero-indicators .tc-hero-dot.is-current{width:19px;background:#ff694b}
.tc-hero-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
body[data-page="home"] #hero .tc-hero-mobile-copy{display:none}
.tc-hero-empty{display:grid;place-items:center;min-height:260px;padding:24px;background:#f5f0e9;color:#8d8277;font-size:14px;border:1px dashed #e1d5c8}
@media(hover:hover) and (pointer:fine) and (min-width:901px){
 body[data-page="home"] #hero .hero-card .card-copy,body[data-page="home"] #support .support-card .card-copy{opacity:0!important;transform:translateY(12px)}
 body[data-page="home"] #hero:hover .hero-card.is-active .card-copy,body[data-page="home"] #hero:focus-within .hero-card.is-active .card-copy,body[data-page="home"] #hero:not(.tc-hero-slider) .hero-card:hover .card-copy,body[data-page="home"] #support .support-card:hover .card-copy,body[data-page="home"] #support .support-card:focus-visible .card-copy{opacity:1!important;transform:translateY(0)}
 body[data-page="home"] #hero:hover .hero-card.is-active:after,body[data-page="home"] #hero:focus-within .hero-card.is-active:after,body[data-page="home"] #hero:not(.tc-hero-slider) .hero-card:hover:after,body[data-page="home"] #support .support-card:hover:after,body[data-page="home"] #support .support-card:focus-visible:after{opacity:1!important}
}
@media(hover:none),(pointer:coarse),(max-width:900px){
 body[data-page="home"] #hero .tc-hero-stage{min-height:0;aspect-ratio:1.8}
 body[data-page="home"] #hero .hero-card .card-copy,body[data-page="home"] #hero .hero-card:after{display:none!important}
 body[data-page="home"] #hero .tc-hero-mobile-copy{display:grid;gap:8px;padding:14px;background:white;color:#20252b;text-decoration:none}
 body[data-page="home"] #hero .tc-hero-mobile-copy h2{font-size:21px;line-height:1.4;letter-spacing:-.5px;margin:0;overflow-wrap:anywhere;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
 body[data-page="home"] #support .support-card:not(.news-empty){display:flex;flex-direction:column;height:auto;background:white;aspect-ratio:auto}
 body[data-page="home"] #support .support-card img{position:relative;aspect-ratio:1.9;height:auto;width:100%;object-fit:contain;background:#f2ede7}
 body[data-page="home"] #support .support-card:after{display:none!important}
 body[data-page="home"] #support .support-card .card-copy{position:relative;left:auto;right:auto;bottom:auto;display:grid;opacity:1!important;transform:none;padding:12px 14px;background:white!important}
 body[data-page="home"] #support .support-card h3{color:#20252b;font-size:18px}
 body[data-page="home"] #support .news-empty{min-height:120px}
}
@media(prefers-reduced-motion:reduce){
 body[data-page="home"] #hero .tc-hero-slide,body[data-page="home"] #hero .hero-card:after,body[data-page="home"] #hero .card-copy,body[data-page="home"] #support .support-card:after,body[data-page="home"] #support .card-copy,.tc-hero-dot{transition:none!important;transform:none!important}
}

/* STEP 03-B sizing: reference image proportions, PC pointer layout only. */
@media(min-width:1000px) and (hover:hover) and (pointer:fine){
 body[data-page="home"]{min-width:0}
 body[data-page="home"] #main.wrap{width:calc(100% - 64px);max-width:1480px;min-width:0;margin-left:auto;margin-right:auto;margin-top:28px}
 body[data-page="home"] #home-view{display:grid;grid-template-columns:minmax(0,42fr) minmax(0,27fr) minmax(0,29fr);column-gap:clamp(14px,1.4vw,22px);row-gap:28px;align-items:stretch}
 body[data-page="home"] #home-view>.top-grid{display:contents}
 body[data-page="home"] #hero.tc-hero-slider{grid-column:1;grid-row:1;display:grid;place-items:center;align-self:stretch;width:100%;min-width:0;min-height:0;padding:12px 0;background:transparent;overflow:visible;box-sizing:border-box}
 body[data-page="home"] #hero .tc-hero-stage{width:92%;max-width:620px;min-height:0;aspect-ratio:1.95;justify-self:center;align-self:center}
 body[data-page="home"] #support{grid-column:2;grid-row:1;display:grid;grid-template-rows:repeat(2,minmax(0,1fr));gap:12px;align-self:stretch;min-width:0;min-height:0}
 body[data-page="home"] #support .support-card{min-width:0;min-height:0;height:100%;box-sizing:border-box}
 body[data-page="home"] #home-view>.top-grid>.popular{grid-column:3;grid-row:1/span 2;min-width:0}
 body[data-page="home"] #home-view>.lower-grid{grid-column:1/span 2;grid-row:2;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr) minmax(0,.87fr);min-width:0;margin-top:0}
 body[data-page="home"] #home-view>.lower-grid>*{min-width:0}
}

/* STEP 03-B balance: independent lower news columns and natural footer flow. */
body[data-page="home"]{display:flex;flex-direction:column;min-height:100vh;min-height:100svh;min-width:0}
body[data-page="home"]>header,body[data-page="home"]>nav,body[data-page="home"]>footer{flex-shrink:0}
body[data-page="home"] #main.wrap{flex:1 0 auto;margin-bottom:32px}
body[data-page="home"]>footer{margin-top:auto;position:static}
body[data-page="home"] #home-view>.top-grid>.popular{align-self:start;height:auto;min-height:0}
body[data-page="home"] #ranking .rank-empty{padding:24px 8px}
body[data-page="home"] #home-view>.lower-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:start;min-width:0}
body[data-page="home"] .lower-grid>section{min-width:0}
body[data-page="home"] .lower-grid .section-heading{min-height:38px;margin-bottom:16px;align-items:center}
body[data-page="home"] .lower-grid .section-heading h2{font-size:22px;line-height:1.4}
body[data-page="home"] .lower-grid .section-heading>a{font-size:12px}
body[data-page="home"] .lower-grid .latest-item{grid-template-columns:clamp(120px,10vw,150px) minmax(0,1fr);gap:14px;margin-bottom:20px;padding-bottom:18px;align-items:start}
body[data-page="home"] .lower-grid .latest-item img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
body[data-page="home"] .lower-grid .latest-item h3,body[data-page="home"] .lower-grid .video-news-card h3{font-size:16px;line-height:1.55;-webkit-line-clamp:3;overflow-wrap:anywhere;margin:0 0 8px}
body[data-page="home"] .lower-grid .news-meta{font-size:12px;line-height:1.65;gap:6px}
body[data-page="home"] .lower-grid .section-note{font-size:12px;line-height:1.5;margin:-8px 0 12px}
body[data-page="home"] .lower-grid .video-news-card h3{margin-top:10px}
body[data-page="home"] .lower-grid .empty-state{padding:24px 16px;font-size:14px;line-height:1.7;min-height:0}
@media(min-width:1000px) and (hover:hover) and (pointer:fine){
 body[data-page="home"] #home-view>.top-grid>.popular{grid-row:1}
}
@media(min-width:701px) and (max-width:1100px){
 body[data-page="home"] #home-view>.lower-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
 body[data-page="home"] #home-view>.lower-grid{grid-template-columns:minmax(0,1fr);gap:26px}
 body[data-page="home"] .lower-grid .latest-item{grid-template-columns:108px minmax(0,1fr);gap:12px}
 body[data-page="home"] .lower-grid .section-heading h2{font-size:21px}
 body[data-page="home"] .lower-grid .latest-item h3{font-size:15px}
 body[data-page="home"] .lower-grid .news-meta{font-size:12px}
}

/* STEP 03-B FINAL lower readability: desktop/tablet section internals only. */
@media(min-width:701px){
 body[data-page="home"] .lower-grid .section-heading h2{font-size:23px;line-height:1.4}
 body[data-page="home"] .lower-grid .latest-item{grid-template-columns:min(180px,42%) minmax(0,1fr);gap:14px;margin-bottom:24px;padding-bottom:22px}
 body[data-page="home"] .lower-grid .latest-item h3,body[data-page="home"] .lower-grid .video-news-card h3{font-size:17px;line-height:1.55;-webkit-line-clamp:3}
 body[data-page="home"] .lower-grid .news-meta{font-size:13px;line-height:1.65}
 body[data-page="home"] .lower-grid .section-note{font-size:13px}
 body[data-page="home"] .lower-grid .video-news-card{padding:24px 0 28px;margin-bottom:20px}
 body[data-page="home"] .lower-grid .video-thumbnail{aspect-ratio:16/9}
 body[data-page="home"] .lower-grid .video-play{width:44px;height:44px;font-size:18px}
 body[data-page="home"] .lower-grid .empty-state{padding:32px 18px}
}
