/* v1.6.2: keep the Gutenberg homepage aligned with the original theme layout. */
body.home .tms-page-home{width:100%;overflow:hidden}
body.home .tms-page-home>.wp-block-group,body.home .tms-page-home>.wp-block-shortcode,body.home .tms-page-home>.wp-block-columns{margin-block-start:0;margin-block-end:0}
body.home .tms-page-home .tms-home-hero{width:100%;max-width:100%!important;margin:0!important;min-height:735px;position:relative;display:flex;align-items:stretch;isolation:isolate;background:#061b3b;overflow:hidden}
body.home .tms-page-home .tms-home-hero>.wp-block-group__inner-container{width:100%;max-width:none!important}
body.home .tms-page-home .tms-home-hero .tms-hero-editor{box-sizing:border-box;width:100%;max-width:1500px!important;margin:0 auto!important;padding:210px 7% 155px!important;position:relative;z-index:5}
body.home .tms-page-home .tms-home-hero .tms-hero-editor>*{max-width:100%}
body.home .tms-page-home .tms-home-hero h1{font-family:'Barlow Condensed',Impact,sans-serif!important;font-weight:900!important;font-size:clamp(82px,10vw,165px)!important;line-height:.86!important;letter-spacing:-.035em!important;font-style:italic;margin:25px 0 24px!important;color:#fff;max-width:950px}
body.home .tms-page-home .tms-home-hero h1 span{color:#00e6ef}
body.home .tms-page-home .tms-home-hero .eyebrow{font-size:13px;letter-spacing:.25em;color:#00e6ef;font-weight:800}
body.home .tms-page-home .tms-home-hero .hero-subtitle{font-size:clamp(14px,1.5vw,20px);letter-spacing:.28em;color:#fff}
body.home .tms-page-home .tms-home-hero .tms-event-details{font-size:16px;color:#fff;margin:28px 0 20px}
body.home .tms-page-home .tms-home-hero .hero-intro{color:#d8e9ff;font-size:16px;max-width:590px}
body.home .tms-page-home .tms-home-hero .wp-block-buttons{margin-top:24px}
body.home .tms-page-home .tms-home-hero .tms-hero-button .wp-block-button__link{display:inline-block;background:#00e6ef;color:#041b38;font-weight:900;padding:17px 28px;border-radius:8px}
body.home .tms-page-home .tms-home-hero>.hero-slideshow{z-index:0!important}
body.home .tms-page-home .tms-home-hero>.hero-grid,body.home .tms-page-home .tms-home-hero>.track{z-index:1;pointer-events:none}
body.home .tms-page-home .tms-home-hero .hero-slideshow{position:absolute;inset:0;pointer-events:none}
body.home .tms-page-home .tms-home-hero .hero-slide{background-repeat:no-repeat}
body.home .tms-page-home .tms-home-hero:after{content:'';position:absolute;bottom:-100px;left:-5%;width:110%;height:170px;background:#edf4fc;transform:rotate(-2deg);z-index:6;pointer-events:none}
body.home .tms-page-home .news-section{width:100%;margin:0;padding:75px 0 95px}
body.home .tms-page-home .news-section .section-container{width:100%;max-width:1450px;margin:0 auto;padding:0 6%}
body.home .tms-page-home .news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
body.home .tms-page-home .news-card-link{height:190px}
body.home .tms-page-home .tms-home-info{width:100%;max-width:100%!important;margin:0!important;background:#08224a;color:#fff;padding:85px max(6%,calc((100vw - 1280px)/2))!important}
body.home .tms-page-home .tms-home-info .wp-block-columns{max-width:1280px!important;margin:0 auto!important;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
body.home .tms-page-home .tms-home-info h2{font:italic 900 clamp(42px,6vw,75px)/1 'Barlow Condensed',Impact,sans-serif;color:#fff}
body.home .tms-page-home .sponsors-section{width:100%;margin:0}
@media(max-width:760px){body.home .tms-page-home .tms-home-hero{min-height:670px}body.home .tms-page-home .tms-home-hero .tms-hero-editor{padding:165px 7% 120px!important}body.home .tms-page-home .tms-home-hero h1{font-size:clamp(66px,15vw,105px)!important}body.home .tms-page-home .news-grid{grid-template-columns:1fr}body.home .tms-page-home .tms-home-info{padding:65px 7%!important}body.home .tms-page-home .tms-home-info .wp-block-columns{grid-template-columns:1fr;gap:15px}}

/* v1.6.4: independent stage slideshow, never reliant on Gutenberg block hooks */
.tms-page-home .tms-home-stage{position:relative;isolation:isolate;background:#061b3b}
.tms-page-home .tms-home-stage>.tms-stage-slides{position:absolute;top:0;left:0;right:0;height:735px;z-index:1;overflow:hidden;pointer-events:none}
.tms-page-home .tms-home-stage>.tms-stage-slides .hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1.2s ease;background-repeat:no-repeat;background-color:transparent}
.tms-page-home .tms-home-stage>.tms-stage-slides .hero-slide.is-active{opacity:1}
.tms-page-home .tms-home-stage>.tms-stage-slides:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,14,37,.68),rgba(3,14,37,.28));pointer-events:none}
.tms-page-home .tms-home-stage>.tms-home-hero{position:relative;z-index:2;background:transparent!important;isolation:auto!important}
.tms-page-home .tms-home-stage>.tms-home-hero>.hero-slideshow{display:none!important}
.tms-page-home .tms-home-stage>.tms-home-hero .tms-hero-editor{position:relative;z-index:3}
.tms-page-home .tms-slides-notice{position:absolute;z-index:20;top:115px;right:15px;max-width:360px;padding:12px 15px;background:#fff4c4;color:#28210b;border-radius:8px;font-size:13px}
@media(max-width:760px){.tms-page-home .tms-home-stage>.tms-stage-slides{height:670px}}

/* 1.7: Old ACF slider and new media library images share this stage. */
body.home .tms-page-home .tms-home-stage{background:transparent}
body.home .tms-page-home .tms-home-stage>.tms-stage-slides{display:block!important;visibility:visible!important;opacity:1!important;z-index:1!important;height:735px}
body.home .tms-page-home .tms-home-stage>.tms-stage-slides .hero-slide:first-child{opacity:1}
body.home .tms-page-home .tms-home-stage>.tms-stage-slides .hero-slide{background-color:transparent;will-change:opacity}
body.home .tms-page-home .tms-home-stage>.tms-home-hero{z-index:2!important;background:transparent!important}
body.home .tms-page-home .tms-home-stage>.tms-stage-slides:after{background:linear-gradient(90deg,rgba(3,14,37,.70),rgba(3,14,37,.20))}
@media(max-width:760px){body.home .tms-page-home .tms-home-stage>.tms-stage-slides{height:670px}}
