/* TKG v143.25 STAGING — selected HOME design; scoped to front page only. */
body.tkg14324-home {background:#fff;color:#153d2c;overflow-x:hidden}
body.tkg14324-home:has(.tkg14324-masthead) header,body.tkg14324-home:has(.tkg14324-masthead) .site-header,body.tkg14324-home:has(.tkg14324-masthead) .wp-block-template-part:has(header){display:none!important}
body.tkg14324-home.tkg51-clean-home .tkg51-home-actions{
 max-width:1120px!important;width:100%!important;min-height:0!important;margin:0 auto 22px!important;
 padding:10px 18px 26px!important;gap:15px!important;overflow:visible;font-family:system-ui,-apple-system,'Noto Sans Thai',sans-serif;
}
body.tkg14324-home .tkg51-home-actions,body.tkg14324-home .tkg51-home-actions *{box-sizing:border-box}
body.tkg14324-home .tkg51-home-actions :is(a,button,select,summary):focus-visible{outline:3px solid #ddad58!important;outline-offset:3px}

/* Unified mobile masthead: logo + existing official social links + same language control. */
body.tkg14324-home .tkg14324-masthead{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:68px;width:100%;margin:0;padding:3px 1px 7px;border-bottom:1px solid #e5ece6}
body.tkg14324-home .tkg14324-brand{display:flex;align-items:center;flex:0 1 145px;min-width:0;max-width:145px;padding:0;text-decoration:none!important}
body.tkg14324-home .tkg14324-brand img{display:block;width:100%;max-width:135px;height:auto;max-height:62px;object-fit:contain;object-position:left center}
body.tkg14324-home .tkg14324-controls{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex:0 1 auto;min-width:0;white-space:nowrap}
body.tkg14324-home.tkg51-clean-home .tkg14324-controls .tkg121-social{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;width:auto!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;background:transparent!important;position:static!important;flex:0 0 auto!important}
body.tkg14324-home.tkg51-clean-home .tkg14324-controls .tkg121-social a{width:33px!important;height:33px!important;min-width:33px!important;flex:0 0 33px!important;border:1px solid #d1e1d6!important;box-shadow:none!important;color:#246643!important}
body.tkg14324-home.tkg51-clean-home .tkg14324-controls .tkg121-social a[aria-label="LINE OA"]{width:40px!important;min-width:40px!important;flex-basis:40px!important;background:#06c755!important;color:white!important;border-color:#06c755!important;border-radius:13px!important}
body.tkg14324-home .tkg14324-controls .tkg90-language{position:static!important;transform:none!important;inset:auto!important;display:inline-flex!important;align-items:center!important;flex:0 1 auto!important;min-width:0!important;margin:0!important;padding:5px 6px!important;border:1px solid #d2e0d6!important;border-radius:16px!important;background:#fff!important;box-shadow:none!important;gap:2px!important;z-index:auto!important;color:#246643!important}
body.tkg14324-home .tkg14324-controls .tkg90-language>span{font-size:14px;line-height:1}
body.tkg14324-home .tkg14324-controls .tkg90-language select{max-width:105px!important;min-height:25px!important;height:27px!important;padding:0 1px!important;border:0!important;outline-offset:0!important;font-size:13px!important;color:#214c33!important;background:transparent!important}

/* Compact dual weather entrances with explicit, persistent lightning caution. */
body.tkg14324-home .tkg14324-weather-card{border:1px solid #c6e1cf;border-radius:17px;background:linear-gradient(135deg,#e9f5ed,#fbfdfb);box-shadow:0 3px 13px #1953310b;padding:10px 12px 8px;width:100%;margin:0}
body.tkg14324-home .tkg14324-weather-choices{display:grid;grid-template-columns:1fr 1fr;gap:0;min-width:0}
body.tkg14324-home .tkg14324-weather-choice{appearance:none!important;display:flex;align-items:center;gap:9px;min-width:0;width:100%;margin:0;padding:6px 10px!important;border:0!important;border-right:1px solid #c4dccb!important;border-radius:0!important;background:transparent!important;color:#125b39!important;text-align:left!important;cursor:pointer;font-family:inherit;box-shadow:none!important}
body.tkg14324-home .tkg14324-weather-choice:last-child{border-right:0!important}
body.tkg14324-home .tkg14324-weather-icon{font-size:23px;line-height:1.1;flex:none}
body.tkg14324-home .tkg14324-weather-title{font-size:clamp(11px,1.7vw,15px);font-weight:750;line-height:1.35;overflow-wrap:anywhere}
body.tkg14324-home .tkg14324-weather-title small{display:block;font-size:10px;font-weight:450;color:#577d65;letter-spacing:0;line-height:1.3}
body.tkg14324-home .tkg14324-weather-arrow{font-size:24px;font-weight:750;margin-left:auto;flex:none}
body.tkg14324-home .tkg14324-safety-note{font-size:11px!important;line-height:1.45!important;color:#805900!important;margin:5px 9px 2px!important;padding-top:7px;border-top:1px solid #d2e4d6;overflow-wrap:anywhere}
body.tkg14324-home .tkg14324-weather-detail{width:100%;margin:8px 0 0}
body.tkg14324-home .tkg14324-weather-detail>summary{cursor:pointer;font-size:12px;line-height:1.45;color:#275f40;font-weight:650;list-style:revert;padding:7px 9px 4px}
body.tkg14324-home.tkg51-clean-home .tkg14324-weather-detail .tkg125-home-weather{margin:8px 0 4px!important;padding:0!important;max-width:none!important;width:100%}
body.tkg14324-home .tkg14324-weather-detail .tkg126-weather{background:#fff;border:1px solid #d8e8dc;border-radius:12px;padding:17px}

/* The original season photos remain in the Royal Trophy carousel. */
body.tkg14324-home.tkg51-clean-home .tkg107-royal{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.95fr);align-items:stretch;width:100%;min-height:236px;padding:0!important;margin:0!important;border-radius:17px!important;background:linear-gradient(110deg,#073d2a 4%,#0a5439 65%,#bc9044 150%)!important;box-shadow:0 5px 22px #0e49351c;overflow:hidden}
body.tkg14324-home.tkg51-clean-home .tkg107-royal-heading{align-self:center;text-align:left;padding:23px 13px 23px 22px!important;min-width:0;position:relative;z-index:1}
body.tkg14324-home.tkg51-clean-home .tkg107-royal-heading span{font-size:10px!important;letter-spacing:.13em!important;color:#efcd81!important}
body.tkg14324-home.tkg51-clean-home .tkg107-royal-heading h2{font-size:clamp(22px,3.6vw,38px)!important;line-height:1.15!important;margin:8px 0 10px!important;color:#f0d292!important;text-wrap:balance}
body.tkg14324-home.tkg51-clean-home .tkg107-royal-heading h2 em{font-size:.49em!important;letter-spacing:.05em!important;color:#fff!important;margin-top:5px!important}
body.tkg14324-home.tkg51-clean-home .tkg107-royal-heading p{font-size:clamp(10px,1.2vw,13px)!important;line-height:1.55!important;margin:0!important;color:#e7f2e8!important;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
body.tkg14324-home.tkg51-clean-home .tkg118-viewport{width:100%!important;min-width:0!important;min-height:220px;margin:0!important;overflow:hidden!important;align-self:stretch;display:flex;align-items:center;background:#d2bc85}
body.tkg14324-home.tkg51-clean-home .tkg118-track{gap:0!important;height:100%!important;align-items:stretch;animation-duration:120s!important}
body.tkg14324-home.tkg51-clean-home .tkg118-tile{margin:0!important;width:clamp(230px,33vw,430px)!important;min-height:220px;align-self:stretch;border:0!important;border-radius:0!important;background:#ddd0a6!important}
body.tkg14324-home.tkg51-clean-home .tkg119-tile img{display:block;width:100%;height:100%!important;min-height:220px;max-height:340px;object-fit:cover!important;object-position:center!important}
body.tkg14324-home.tkg51-clean-home .tkg119-photo-caption{position:absolute;bottom:0;left:0;right:0;min-height:34px!important;font-size:13px!important;padding:5px 8px!important;background:linear-gradient(0deg,#003d2fcc,transparent)!important}
body.tkg14324-home.tkg51-clean-home .tkg119-photo-cup{font-size:18px!important}
/* Main Royal Trophy photograph now slides smoothly right-to-left, seamlessly.
   Both track sets contain real TKG photographs; the second is aria-hidden. */
body.tkg14324-home.tkg51-clean-home .tkg118-viewport.tkg14325-royal-window{grid-column:2;grid-row:1;display:block!important;align-self:stretch!important;justify-self:stretch!important;width:100%!important;height:100%!important;min-height:236px!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#9ab390}
body.tkg14324-home .tkg14325-royal-track{display:flex;align-items:stretch;width:max-content;height:100%;min-height:236px;gap:0;animation:tkg14325-royal-left 120s linear infinite;will-change:transform}
body.tkg14324-home .tkg14325-royal-set{display:flex;align-items:stretch;flex:0 0 auto;height:100%;gap:0}
body.tkg14324-home .tkg14325-royal-slide{position:relative;display:block;margin:0!important;padding:0!important;flex:0 0 var(--tkg14325-slide-width, 250px);width:var(--tkg14325-slide-width, 250px);height:100%;min-height:236px;overflow:hidden;background:#7da280}
body.tkg14324-home .tkg14325-royal-slide img{display:block;width:100%;height:100%;min-height:236px;max-height:350px;object-fit:cover;object-position:55% center}
body.tkg14324-home .tkg14325-royal-window:hover .tkg14325-royal-track,body.tkg14324-home .tkg14325-royal-window:focus-within .tkg14325-royal-track{animation-play-state:paused}
@keyframes tkg14325-royal-left{from{transform:translateX(0)}to{transform:translateX(-50%)}}
body.tkg14324-home .tkg107-brand-footer{display:none!important}

/* Featured Northern Ranking #4: tournament facts + unaltered event photo gallery. */
body.tkg14324-home.tkg51-clean-home .tkg125-scholarship{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:stretch;gap:0!important;border:1px solid #d5e7da;background:#f8fcf9;border-radius:17px;margin:0!important;padding:0!important;overflow:hidden;min-height:185px;box-shadow:0 3px 14px #174d330d}
body.tkg14324-home .tkg14324-northern-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px;padding:17px 15px 17px 22px;min-width:0}
body.tkg14324-home .tkg14324-northern-copy h3{font-size:clamp(17px,2.6vw,26px)!important;font-weight:850!important;line-height:1.2!important;letter-spacing:-.02em;margin:0!important;color:#0a462b!important}
body.tkg14324-home .tkg14324-northern-copy p{font-size:clamp(11px,1.5vw,14px)!important;line-height:1.55!important;margin:0!important;color:#406653!important}
body.tkg14324-home .tkg14324-tournament-link{display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid #b6d3c0;border-radius:99px;color:#0a5837!important;font-weight:750;font-size:12px;line-height:1.4;padding:7px 12px;text-decoration:none!important;max-width:100%}
body.tkg14324-home .tkg14324-tournament-link:hover{background:#e8f3e9}
body.tkg14324-home.tkg51-clean-home .tkg125-scholarship .tkg125-gallery{overflow:hidden!important;width:100%;min-width:0;height:100%;min-height:185px;margin:0!important;padding:0!important;border-radius:0!important}
body.tkg14324-home .tkg125-scholarship .tkg126-gallery-belt{height:100%;gap:0}
body.tkg14324-home .tkg125-scholarship .tkg125-gallery-track{height:100%;gap:0;padding:0}
body.tkg14324-home .tkg125-scholarship .tkg125-gallery-track img{display:block;height:100%;min-height:185px;max-height:250px;width:clamp(270px,43vw,480px);max-width:none;object-fit:cover;border-radius:0;background:#cadfcf}

/* Approved 3 + 2 mobile service grid, with persistent original destinations. */
body.tkg14324-home.tkg51-clean-home .tkg53-subtitle{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap;border:0!important}
body.tkg14324-home.tkg51-clean-home .tkg51-action-links{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;max-width:100%!important;width:100%!important;gap:11px!important;margin:0!important}
body.tkg14324-home.tkg51-clean-home .tkg51-action-links a,body.tkg14324-home.tkg51-clean-home .tkg51-action-links a.tkg109-home-action{grid-column:span 2;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:9px!important;width:100%!important;min-width:0!important;height:120px!important;min-height:0!important;aspect-ratio:auto!important;padding:12px 9px!important;margin:0!important;background:#086340!important;background-image:linear-gradient(145deg,#126c48,#00452c)!important;color:#fff!important;border:1px solid #0a5437!important;border-radius:17px!important;box-shadow:0 4px 11px #073a2a19!important;font-size:clamp(13px,2.1vw,17px)!important;line-height:1.3!important;font-weight:700!important;text-align:center!important;text-wrap:balance!important;text-decoration:none!important}
body.tkg14324-home.tkg51-clean-home .tkg51-action-links a:nth-child(n+4){grid-column:span 3;height:99px!important;flex-direction:row!important}
body.tkg14324-home .tkg51-action-links a svg{display:block;flex:0 0 auto;width:31px;height:31px;color:#fff}
body.tkg14324-home .tkg51-action-links a:nth-child(n+4) svg{width:34px;height:34px}
body.tkg14324-home .tkg14324-action-label{display:block;min-width:0;overflow-wrap:break-word}
body.tkg14324-home.tkg51-clean-home .tkg51-action-links a:hover{transform:translateY(-2px);box-shadow:0 8px 21px #0d4f3333!important}

/* Scholarship: use all supplied athlete photos and caption, in a light editorial card. */
body.tkg14324-home.tkg51-clean-home .tkg106-scholarship{display:flex;flex-direction:column;gap:0;max-width:100%;margin:0!important;padding:0!important;background:linear-gradient(120deg,#eaf4ed 0%,#fff 55%,#f7eeee 100%)!important;border:1px solid #dae6db;border-radius:17px;overflow:hidden;color:#15452e!important}
body.tkg14324-home.tkg51-clean-home .tkg106-scholarship-copy{padding:20px 22px 12px!important;position:relative;isolation:isolate}
body.tkg14324-home.tkg51-clean-home .tkg106-scholarship-copy:after{content:'★ ★ ★';position:absolute;right:12px;top:0;font-size:clamp(43px,9vw,92px);line-height:1;color:#c9d8e5;opacity:.38;z-index:-1;letter-spacing:-.08em;transform:rotate(-12deg)}
body.tkg14324-home.tkg51-clean-home .tkg106-scholarship h2{font-size:clamp(25px,3.5vw,37px)!important;color:#0c5737!important;line-height:1.15!important;margin:5px 0 6px!important}
body.tkg14324-home.tkg51-clean-home .tkg106-scholarship h2 em{font-style:normal;color:#c29347!important}
body.tkg14324-home.tkg51-clean-home .tkg106-scholarship-copy p{font-size:14px!important;color:#315a45!important;margin:0!important}
body.tkg14324-home.tkg51-clean-home .tkg106-kicker{color:#638778!important;font-size:11px!important}
body.tkg14324-home.tkg51-clean-home .tkg106-scholarship .tkg125-gallery{padding:0 12px 17px!important;margin:0!important;min-width:0;width:100%;overflow:hidden}
body.tkg14324-home.tkg51-clean-home .tkg106-scholarship .tkg125-gallery h3{font-size:15px!important;color:#236044!important;padding:0 8px!important;margin:0 0 3px!important}
body.tkg14324-home.tkg51-clean-home .tkg106-scholarship .tkg125-gallery p{font-size:12px!important;color:#64806d!important;padding:0 8px!important;margin:0 0 10px!important}
body.tkg14324-home .tkg106-scholarship .tkg125-gallery-track img{height:190px;width:145px;max-width:45vw;object-fit:cover;border:1px solid #d5e4d9;border-radius:12px;background:#e8f3ea;box-shadow:0 2px 8px #173f2811}

/* Existing sponsor order and seamless marquee are unchanged; light strip as shown. */
body.tkg14324-home.tkg51-clean-home .tkg53-sponsors{display:block!important;position:relative!important;width:100%;margin:0!important;padding:7px 0!important;min-height:78px!important;background:#fbfdfb!important;border:1px solid #deeadf;border-radius:17px!important;box-shadow:none!important;overflow:hidden!important}
body.tkg14324-home.tkg51-clean-home .tkg54-sponsor-track{animation-duration:90s!important}
body.tkg14324-home.tkg51-clean-home .tkg53-sponsors .tkg54-sponsor-set img{height:60px!important;width:142px!important;max-width:none!important;object-fit:contain!important}
body.tkg14324-home.tkg51-clean-home .tkg54-sponsor-set{gap:25px!important;padding:0 13px!important}

@media (max-width:650px){
 body.tkg14324-home.tkg51-clean-home .tkg51-home-actions{padding:4px 11px 20px!important;gap:10px!important}
 body.tkg14324-home .tkg14324-masthead{min-height:58px;gap:7px;padding:4px 1px 5px}
 body.tkg14324-home .tkg14324-brand{flex:0 1 84px;max-width:84px}
 body.tkg14324-home .tkg14324-brand img{max-width:82px;max-height:46px}
 body.tkg14324-home .tkg14324-controls{gap:7px}
 body.tkg14324-home.tkg51-clean-home .tkg14324-controls .tkg121-social{gap:5px!important}
 body.tkg14324-home.tkg51-clean-home .tkg14324-controls .tkg121-social a{width:30px!important;height:30px!important;min-width:30px!important;flex-basis:30px!important}
 body.tkg14324-home.tkg51-clean-home .tkg14324-controls .tkg121-social a[aria-label="LINE OA"]{width:37px!important;min-width:37px!important;flex-basis:37px!important}
 body.tkg14324-home.tkg51-clean-home .tkg14324-controls .tkg121-social svg{width:18px;height:18px}
 body.tkg14324-home .tkg14324-controls .tkg90-language{padding:3px 4px!important;border-radius:12px!important}
 body.tkg14324-home .tkg14324-controls .tkg90-language select{font-size:11px!important;max-width:69px!important;min-height:25px!important}
 body.tkg14324-home .tkg14324-weather-card{padding:7px 7px 6px;border-radius:13px}
 body.tkg14324-home .tkg14324-weather-choice{padding:5px 6px!important;gap:5px!important}
 body.tkg14324-home .tkg14324-weather-icon{font-size:18px}
 body.tkg14324-home .tkg14324-weather-title{font-size:clamp(9px,2.55vw,12px)}
 body.tkg14324-home .tkg14324-weather-title small{font-size:9px}
 body.tkg14324-home .tkg14324-weather-arrow{font-size:18px}
 body.tkg14324-home .tkg14324-safety-note{font-size:10px!important;margin:4px 5px 0!important;padding-top:5px}
 body.tkg14324-home.tkg51-clean-home .tkg107-royal{grid-template-columns:minmax(0,1fr) minmax(0,.98fr);min-height:180px;border-radius:14px!important}
 body.tkg14324-home.tkg51-clean-home .tkg107-royal-heading{padding:14px 8px 14px 13px!important}
 body.tkg14324-home.tkg51-clean-home .tkg107-royal-heading span{font-size:8px!important;letter-spacing:.06em!important}
 body.tkg14324-home.tkg51-clean-home .tkg107-royal-heading h2{font-size:clamp(15px,4.35vw,22px)!important;margin:5px 0 5px!important}
 body.tkg14324-home.tkg51-clean-home .tkg107-royal-heading h2 em{font-size:.57em!important;letter-spacing:.01em!important}
 body.tkg14324-home.tkg51-clean-home .tkg107-royal-heading p{font-size:9px!important;line-height:1.4!important;-webkit-line-clamp:4}
 body.tkg14324-home.tkg51-clean-home .tkg118-viewport,body.tkg14324-home.tkg51-clean-home .tkg118-tile{min-height:180px}
 body.tkg14324-home.tkg51-clean-home .tkg118-viewport.tkg14325-royal-window{min-height:180px!important}
 body.tkg14324-home .tkg14325-royal-track,body.tkg14324-home .tkg14325-royal-slide,body.tkg14324-home .tkg14325-royal-slide img{min-height:180px}
 body.tkg14324-home .tkg14325-royal-slide img{max-height:235px}
 body.tkg14324-home.tkg51-clean-home .tkg118-tile{width:clamp(155px,48vw,240px)!important}
 body.tkg14324-home.tkg51-clean-home .tkg119-tile img{min-height:180px;max-height:230px}
 body.tkg14324-home.tkg51-clean-home .tkg125-scholarship{grid-template-columns:minmax(0,1fr) minmax(0,.95fr);min-height:165px;border-radius:14px}
 body.tkg14324-home .tkg14324-northern-copy{padding:11px 8px 10px 11px;gap:6px}
 body.tkg14324-home .tkg14324-northern-copy h3{font-size:clamp(12px,3.4vw,17px)!important}
 body.tkg14324-home .tkg14324-northern-copy p{font-size:10px!important;line-height:1.5!important}
 body.tkg14324-home .tkg14324-tournament-link{font-size:10px;padding:6px 8px;line-height:1.35}
 body.tkg14324-home .tkg125-scholarship .tkg125-gallery-track img{height:100%;min-height:165px;max-height:190px;width:clamp(160px,47vw,250px)}
 body.tkg14324-home.tkg51-clean-home .tkg51-action-links{gap:6px!important}
 body.tkg14324-home.tkg51-clean-home .tkg51-action-links a,body.tkg14324-home.tkg51-clean-home .tkg51-action-links a.tkg109-home-action{height:107px!important;gap:6px!important;padding:8px 4px!important;border-radius:12px!important;font-size:clamp(10px,2.9vw,13px)!important}
 body.tkg14324-home.tkg51-clean-home .tkg51-action-links a:nth-child(n+4){height:72px!important;gap:10px!important;padding:8px!important}
 body.tkg14324-home .tkg51-action-links a svg{width:25px;height:25px}
 body.tkg14324-home .tkg51-action-links a:nth-child(n+4) svg{width:27px;height:27px}
 body.tkg14324-home.tkg51-clean-home .tkg106-scholarship{border-radius:14px}
 body.tkg14324-home.tkg51-clean-home .tkg106-scholarship-copy{padding:12px 12px 8px!important}
 body.tkg14324-home.tkg51-clean-home .tkg106-scholarship h2{font-size:clamp(20px,5.4vw,26px)!important}
 body.tkg14324-home.tkg51-clean-home .tkg106-scholarship-copy p{font-size:11px!important}
 body.tkg14324-home.tkg51-clean-home .tkg106-scholarship .tkg125-gallery{padding:0 9px 10px!important}
 body.tkg14324-home .tkg106-scholarship .tkg125-gallery-track img{height:155px;width:120px;max-width:38vw}
 body.tkg14324-home.tkg51-clean-home .tkg106-scholarship .tkg125-gallery h3{font-size:12px!important}
 body.tkg14324-home.tkg51-clean-home .tkg106-scholarship .tkg125-gallery p{font-size:10px!important}
 body.tkg14324-home.tkg51-clean-home .tkg53-sponsors{min-height:61px!important;padding:5px 0!important;border-radius:13px!important}
 body.tkg14324-home.tkg51-clean-home .tkg53-sponsors .tkg54-sponsor-set img{width:115px!important;height:49px!important}
 body.tkg14324-home.tkg51-clean-home .tkg54-sponsor-set{gap:18px!important;padding:0 10px!important}
}
@media (max-width:360px){
 body.tkg14324-home .tkg14324-brand{flex-basis:68px;max-width:68px}
 body.tkg14324-home .tkg14324-brand img{max-width:68px}
 body.tkg14324-home .tkg14324-controls{gap:4px}
 body.tkg14324-home.tkg51-clean-home .tkg14324-controls .tkg121-social{gap:3px!important}
 body.tkg14324-home.tkg51-clean-home .tkg14324-controls .tkg121-social a{width:28px!important;min-width:28px!important;flex-basis:28px!important}
 body.tkg14324-home.tkg51-clean-home .tkg14324-controls .tkg121-social a[aria-label="LINE OA"]{width:34px!important;min-width:34px!important;flex-basis:34px!important}
 body.tkg14324-home .tkg14324-controls .tkg90-language select{max-width:60px!important}
}
@media (min-width:851px){
 body.tkg14324-home.tkg51-clean-home .tkg51-action-links{grid-template-columns:repeat(5,minmax(0,1fr))!important}
 body.tkg14324-home.tkg51-clean-home .tkg51-action-links a,body.tkg14324-home.tkg51-clean-home .tkg51-action-links a:nth-child(n+4){grid-column:span 1!important;height:125px!important;flex-direction:column!important}
}
@media(prefers-reduced-motion:reduce){
 body.tkg14324-home .tkg118-track,body.tkg14324-home .tkg14325-royal-track,body.tkg14324-home .tkg126-gallery-belt,body.tkg14324-home .tkg54-sponsor-track{animation:none!important}
 body.tkg14324-home .tkg125-gallery{overflow-x:auto!important}
}

/* QA RC5.41: Home vertical rhythm */
body.tkg14324-home.tkg51-clean-home .tkg51-home-actions{--tkg-home-section-gap:24px;gap:var(--tkg-home-section-gap)!important;margin-bottom:0!important;padding-bottom:0!important}
body.tkg14324-home.tkg51-clean-home .tkg51-home-actions > :is(.tkg14324-masthead,.tkg14324-weather-card,.tkg107-royal,.tkg51-action-links,.tkg125-scholarship,.tkg106-scholarship,.tkg53-sponsors){margin-top:0!important;margin-bottom:0!important}
@media(max-width:850px){body.tkg14324-home.tkg51-clean-home .tkg51-home-actions{--tkg-home-section-gap:16px;padding-bottom:0!important}}

body.tkg14324-home.tkg51-clean-home .tkg51-action-links{grid-template-columns:repeat(3,minmax(0,1fr))!important}body.tkg14324-home.tkg51-clean-home .tkg51-action-links a,body.tkg14324-home.tkg51-clean-home .tkg51-action-links a:nth-child(n+4){grid-column:span 1!important;flex-direction:column!important;height:110px!important}@media(min-width:1024px){body.tkg14324-home.tkg51-clean-home .tkg51-action-links{grid-template-columns:repeat(6,minmax(0,1fr))!important}}

.tkg14324-controls .tkg96-organisers{position:relative;right:auto;top:auto;order:-1}

/* RC5.58.1.12 compact responsive layout */
body.tkg14324-home .tkg14324-controls{flex-wrap:wrap;white-space:normal}body.tkg14324-home .tkg107-royal-heading p{display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important}body.tkg14324-home .tkg106-scholarship .tkg125-gallery p{color:#e4eee8!important}@media(max-width:600px){body.tkg14324-home.tkg51-clean-home .tkg51-home-actions{padding:8px 10px 16px!important;gap:12px!important}body.tkg14324-home .tkg14324-masthead{min-height:52px}body.tkg14324-home .tkg14324-controls{gap:5px}body.tkg14324-home.tkg51-clean-home .tkg51-action-links a{height:96px!important}}
