/*
Theme Name: JTFS Command
Theme URI: https://jtfs.co.uk/
Author: JTFS
Description: JTFS Command website matching the approved JTFS homepage design.
Version: 6.0.0
*/
:root{--bg:#071018;--panel:#0b151e;--line:#34434d;--green:#8bd342;--text:#e9edf0;--muted:#b5c0c7;--max:1520px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.4 Arial,Helvetica,sans-serif;background-image:radial-gradient(ellipse at 0 45%,rgba(31,54,65,.22),transparent 35%),radial-gradient(ellipse at 100% 70%,rgba(31,54,65,.15),transparent 30%)}a{color:inherit;text-decoration:none}a:hover{color:var(--green)}img{max-width:100%;height:auto}.wrap{width:min(var(--max),calc(100% - 8.8%));margin:0 auto}
.site-header{height:70px;background:rgba(6,13,19,.98);border-bottom:1px solid #34434d;position:relative;z-index:20}.head{height:100%;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:13px;flex:0 0 350px;min-width:0;color:#fff}.brand img{width:62px;height:62px;object-fit:contain;display:block}.brand-copy{display:flex;flex-direction:column;line-height:1}.brand-copy strong{font-size:31px;letter-spacing:.04em}.brand-copy small{font-size:10px;letter-spacing:.19em;color:#c3cbd0;margin-top:5px;white-space:nowrap}.nav{margin-left:auto}.nav ul{display:flex;gap:clamp(20px,3.2vw,55px);align-items:center;list-style:none;padding:0;margin:0}.nav a{font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#e6eaed;white-space:nowrap}.nav .sub-menu{display:none;position:absolute;background:#0c1720;padding:14px;min-width:190px;border:1px solid var(--line)}.nav li:hover>.sub-menu{display:block}.nav .sub-menu li{padding:8px}.discord-link{font-size:24px;margin-left:12px}.portal-link{border:1px solid var(--green);padding:9px 22px;font-size:12px;letter-spacing:.1em;white-space:nowrap;display:flex;gap:9px;align-items:center}.toggle{display:none}
.hero{height:302px;position:relative;overflow:hidden;border-bottom:1px solid #44515a;background:#111c26}.hero-bg{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(4,10,15,.90) 0%,rgba(4,10,15,.48) 42%,rgba(4,10,15,.05) 75%),url('assets/hero-ops.jpg');background-size:cover;background-position:center 43%;}.hero-inner{height:100%;position:relative;display:flex;align-items:center;justify-content:space-between}.hero-copy{max-width:470px;padding-left:2.4%;position:relative;z-index:1}.eyebrow{font-size:15px;letter-spacing:.17em;color:#e5e9eb}.eyebrow span{color:var(--green);font-weight:900;font-size:20px;margin-right:7px}.hero h1{font-size:clamp(39px,4vw,53px);line-height:.91;letter-spacing:-.035em;margin:7px 0 7px;color:#fff;font-weight:900}.hero p{max-width:410px;color:#e1e6e9;font-size:14px;line-height:1.25;margin:0}.actions{display:flex;gap:18px;margin-top:18px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-width:166px;padding:10px 24px;font-size:16px;text-align:center}.btn.primary{background:var(--green);color:#08100a;font-weight:900}.btn.secondary{border:1px solid #aeb8be;color:#fff;background:rgba(4,10,15,.32)}.hero-node{position:absolute;right:1%;top:27px;text-align:center;border-left:2px solid var(--green);border-right:2px solid var(--green);padding:7px 15px;color:#e5e8e9;font-size:12px;letter-spacing:.08em}.hero-node:before,.hero-node:after{content:"";position:absolute;width:14px;height:14px;border-top:1px solid var(--green);top:0}.hero-node:before{left:0}.hero-node:after{right:0}.hero-node small{display:block;color:#c1cbd0;margin-top:5px;font-size:10px}
.stats-strip{border-bottom:1px solid #46545c;background:#0a131b}.stats{height:60px;display:grid;grid-template-columns:repeat(5,1fr);align-items:center}.stats>div{height:34px;display:flex;align-items:center;gap:17px;border-right:1px solid var(--green);padding-left:clamp(10px,2.3vw,35px)}.stats>div:last-child{border:0}.stats i{font-style:normal;font-size:27px;color:#e1e7e9;width:42px;text-align:center}.stats span{display:flex;flex-direction:column}.stats b{font-size:15px;line-height:1.1;white-space:nowrap}.stats small{font-size:10px;color:#b8c0c5;letter-spacing:.08em;white-space:nowrap}
.units-section{padding:11px 0 12px}.section-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px}.section-top h2{font-size:19px;margin:0;font-weight:800;letter-spacing:.04em}.section-top h2 em{font-style:normal;color:var(--green);margin-right:6px}.section-top>a{font-size:10px;letter-spacing:.1em;color:#d1d7da;white-space:nowrap}.unit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.unit-card{height:126px;border:1px solid #53616a;background-size:cover;background-position:center;display:flex;align-items:end;padding:17px 20px;gap:17px;position:relative;overflow:hidden}.unit-card:after{content:"";position:absolute;left:0;bottom:0;width:48px;height:4px;background:var(--green)}.unit-one{background-image:linear-gradient(90deg,rgba(5,12,17,.76),rgba(5,12,17,.12)),url('assets/hero-ops.jpg');background-position:27% 58%}.unit-two{background-image:linear-gradient(90deg,rgba(5,12,17,.66),rgba(5,12,17,.08)),url('assets/hero-ops.jpg');background-position:57% 44%}.unit-three{background-image:linear-gradient(90deg,rgba(5,12,17,.74),rgba(5,12,17,.12)),url('assets/jtfs-winter-banner.png');background-position:88% 50%}.unit-symbol{font-size:31px;text-shadow:0 1px 5px #000}.unit-label b{display:block;font-size:14px}.unit-label small{display:block;color:#c4cbd0;font-size:11px}
.lower{display:grid;grid-template-columns:1fr 1.18fr 1fr;gap:20px;padding:0 0 14px}.lower-panel{border-top:1px solid #3a4851;padding-top:7px;min-width:0}.lower-panel .section-top h2{font-size:17px}.lower-panel .section-top>a{font-size:9px}.news-feature{display:grid;grid-template-columns:48% 1fr;gap:12px;border-top:1px solid #273740;padding-top:8px}.news-image,.news-image img,.news-image span{display:block;width:100%;height:126px;object-fit:cover;background:linear-gradient(130deg,#263945,#0d1821)}.news-image span,.default-news{background-image:linear-gradient(90deg,rgba(5,12,17,.1),rgba(5,12,17,.1)),url('assets/jtfs-winter-banner.png');background-size:cover;background-position:center}.news-feature h3{font-size:14px;line-height:1.25;margin:4px 0 7px;text-transform:uppercase}.news-feature small{font-size:10px;color:#c0c8cc}.news-feature p{font-size:12px;line-height:1.35;color:#c4cbd0;margin:7px 0}.operation-preview{border-top:1px solid #273740;min-height:126px}.operation-preview article,.operation-preview li{border-bottom:1px solid #273740;padding:9px 6px}.gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.gallery-grid a{height:66px;border:1px solid #43515a;background-size:cover;background-position:center}.gallery-grid .g1{background-image:url('assets/hero-ops.jpg');background-position:28% 60%}.gallery-grid .g2{background-image:url('assets/hero-ops.jpg');background-position:60% 35%}.gallery-grid .g3{background-image:url('assets/jtfs-winter-banner.png');background-position:20% center}.gallery-grid .g4{background-image:url('assets/hero-ops.jpg');background-position:85% center}.gallery-grid .play{display:grid;place-items:center;font-size:22px;text-shadow:0 2px 8px #000}
.site-footer{border-top:1px solid #43515b;background:linear-gradient(120deg,#101c25,#070e14);padding:17px 0 8px}.foot{display:grid;grid-template-columns:1.55fr repeat(6,1fr) .9fr;gap:18px;align-items:start}.foot>div{display:flex;flex-direction:column;gap:3px}.foot-brand{display:flex;align-items:center;gap:12px;border-right:1px solid #52606a;min-height:70px;padding-right:14px}.foot-brand img{width:66px;height:66px;object-fit:contain;flex:none}.foot-brand span{display:flex;flex-direction:column}.foot-brand b{font-size:26px;letter-spacing:.08em}.foot-brand small{font-size:9px;letter-spacing:.17em;white-space:nowrap}.foot>div:not(.foot-brand) b{font-size:11px;color:#fff}.foot a{font-size:10px;color:#b8c1c6}.socials{border-left:1px solid #52606a;padding-left:18px;display:flex;flex-direction:row!important;gap:14px!important;align-items:center;min-height:70px}.socials a{font-size:20px;color:white}.copyright{text-align:center;color:#84919a;font-size:10px;padding-top:9px}
.pagehero{padding:55px 0;background:linear-gradient(110deg,#162631,#0a121a);border-bottom:1px solid var(--line)}.pagehero h1{font-size:42px;text-transform:uppercase;margin:8px 0}.content{padding:42px 0;min-height:400px}.content h2{font-size:28px}.content p{color:#c1cbd1}.content a{color:var(--green)}
@media(max-width:1150px){.brand{flex-basis:250px}.head{gap:18px}.nav ul{gap:18px}.nav a{font-size:10px}.foot{grid-template-columns:repeat(4,1fr)}.foot-brand{border:0}.socials{border:0;padding:0}}
@media(max-width:760px){.site-header{height:auto;min-height:66px}.head{min-height:66px;flex-wrap:wrap;padding:5px 0}.brand{flex:1 1 auto}.brand img{width:48px;height:48px}.brand-copy strong{font-size:23px}.brand-copy small{font-size:8px}.toggle{display:block;margin-left:auto;background:none;border:1px solid var(--line);color:#fff;padding:7px 10px}.nav{display:none;width:100%;order:5}.nav.open{display:block}.nav ul{display:flex;flex-direction:column;align-items:flex-start;gap:0;padding:8px 0}.nav li{padding:9px 0}.discord-link{margin-left:0}.portal-link{padding:7px 12px}.hero{height:360px}.hero-bg{background-position:61% center}.hero-node{display:none}.hero-copy{padding-left:0;max-width:90%}.hero h1{font-size:42px}.hero p{font-size:13px}.actions{gap:9px}.btn{min-width:0;padding:10px 14px;font-size:13px}.stats{height:auto;grid-template-columns:1fr 1fr;padding:12px 0;gap:12px}.stats>div{padding-left:8px;border:0;gap:8px}.stats>div:last-child{grid-column:1/-1}.stats b{font-size:12px}.stats small{font-size:9px}.unit-grid,.lower{grid-template-columns:1fr}.unit-card{height:115px}.foot{grid-template-columns:1fr 1fr;gap:16px}.foot-brand{grid-column:1/-1}.news-feature{grid-template-columns:42% 1fr}.socials{grid-column:1/-1}.wrap{width:calc(100% - 32px)}}


/* JTFS v5 layout lock: explicit sizing prevents WordPress/Elementor defaults leaking into the theme */
html,body{width:100%;max-width:100%;overflow-x:hidden!important}
body{margin:0!important;padding:0!important;background:#071018!important;color:#e9edf0!important}
body.home #page,body.home .site,body.home #content,body.home .site-content{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important}
.site-header{height:70px!important;min-height:70px!important;width:100%!important;margin:0!important;padding:0!important;position:relative!important;z-index:100!important;background:rgba(6,13,19,.98)!important}
.site-header .head{height:70px!important;min-height:70px!important;width:min(1520px,calc(100% - 8.8%))!important;max-width:1520px!important;margin:0 auto!important;padding:0!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:26px!important}
.site-header .brand{display:flex!important;flex:0 0 350px!important;width:350px!important;max-width:350px!important;min-width:0!important;height:70px!important;align-items:center!important;justify-content:flex-start!important;gap:13px!important;margin:0!important;padding:0!important;overflow:hidden!important}
.site-header .brand img{display:block!important;width:55px!important;height:55px!important;max-width:55px!important;max-height:55px!important;min-width:55px!important;object-fit:contain!important;margin:0!important;padding:0!important;border:0!important}
.site-header .brand-copy{display:flex!important;flex-direction:column!important;line-height:1!important;white-space:nowrap!important}
.site-header .brand-copy strong{font-size:29px!important;line-height:1!important;letter-spacing:.04em!important;color:#fff!important;margin:0!important;padding:0!important}
.site-header .brand-copy small{font-size:9px!important;line-height:1.2!important;letter-spacing:.16em!important;color:#c3cbd0!important;margin-top:5px!important}
.site-header .nav{display:block!important;flex:1 1 auto!important;width:auto!important;margin:0!important;padding:0!important;min-width:0!important}
.site-header .nav ul{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:clamp(16px,2.7vw,48px)!important;list-style:none!important;margin:0!important;padding:0!important}
.site-header .nav li{list-style:none!important;margin:0!important;padding:0!important;white-space:nowrap!important}
.site-header .nav a{display:inline-block!important;font-size:12px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important;color:#e6eaed!important;text-decoration:none!important}
.site-header .discord-link{display:flex!important;flex:0 0 30px!important;align-items:center!important;justify-content:center!important;margin:0 0 0 4px!important;font-size:23px!important;color:#fff!important;text-decoration:none!important}
.site-header .portal-link{display:flex!important;flex:0 0 130px!important;width:130px!important;height:38px!important;align-items:center!important;justify-content:center!important;gap:9px!important;margin:0!important;padding:0 12px!important;border:1px solid var(--green)!important;font-size:12px!important;line-height:1!important;letter-spacing:.1em!important;color:#fff!important;text-decoration:none!important;white-space:nowrap!important}
.hero{display:block!important;position:relative!important;width:100%!important;height:302px!important;min-height:302px!important;max-height:302px!important;margin:0!important;padding:0!important;overflow:hidden!important;background:#111c26!important}
.hero-bg{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;background-image:linear-gradient(90deg,rgba(4,10,15,.90) 0%,rgba(4,10,15,.48) 42%,rgba(4,10,15,.05) 75%),url('assets/hero-ops.jpg')!important;background-size:cover!important;background-position:center 43%!important}
.hero-inner{display:flex!important;position:relative!important;height:100%!important;max-width:1520px!important;width:min(1520px,calc(100% - 8.8%))!important;margin:0 auto!important;padding:0!important;align-items:center!important;justify-content:space-between!important}
.hero-copy{display:block!important;max-width:470px!important;width:470px!important;padding:0 0 0 2.4%!important;margin:0!important;position:relative!important;z-index:2!important}
.hero h1{font-size:clamp(39px,4vw,53px)!important;line-height:.91!important;letter-spacing:-.035em!important;margin:7px 0!important;color:#fff!important;font-weight:900!important}
.hero p{max-width:410px!important;color:#e1e6e9!important;font-size:14px!important;line-height:1.25!important;margin:0!important}
.stats-strip{display:block!important;width:100%!important;margin:0!important;padding:0!important}
.stats{height:60px!important;max-width:1520px!important;width:min(1520px,calc(100% - 8.8%))!important;margin:0 auto!important;padding:0!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;align-items:center!important}
.units-section{display:block!important;max-width:1520px!important;width:min(1520px,calc(100% - 8.8%))!important;margin:0 auto!important;padding:11px 0 12px!important}
.unit-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:20px!important}
.lower{display:grid!important;max-width:1520px!important;width:min(1520px,calc(100% - 8.8%))!important;margin:0 auto!important;padding:0 0 14px!important;grid-template-columns:minmax(0,1fr) minmax(0,1.18fr) minmax(0,1fr)!important;gap:20px!important}
.site-footer{display:block!important;width:100%!important;margin:0!important;padding:17px 0 8px!important}
.site-footer .foot{display:grid!important;max-width:1520px!important;width:min(1520px,calc(100% - 8.8%))!important;margin:0 auto!important;padding:0!important;grid-template-columns:1.55fr repeat(6,minmax(0,1fr)) .9fr!important;gap:18px!important;align-items:start!important}
.site-footer .foot-brand{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;min-height:70px!important;max-width:none!important;width:auto!important;padding:0 14px 0 0!important;margin:0!important;border-right:1px solid #52606a!important;overflow:hidden!important}
.site-footer .foot-brand img{display:block!important;width:66px!important;height:66px!important;min-width:66px!important;max-width:66px!important;max-height:66px!important;object-fit:contain!important;margin:0!important;padding:0!important}
.site-footer .foot-brand span{display:flex!important;flex-direction:column!important;white-space:nowrap!important}
.site-footer .foot-brand b{font-size:26px!important;line-height:1!important}
.site-footer .foot-brand small{font-size:9px!important;letter-spacing:.17em!important}
.site-footer .foot>div:not(.foot-brand){display:flex!important;flex-direction:column!important;gap:3px!important;min-width:0!important}
.site-footer .foot>div:not(.foot-brand) b{font-size:11px!important;color:#fff!important}
.site-footer .foot a{font-size:10px!important;line-height:1.35!important;color:#b8c1c6!important;text-decoration:none!important}
.site-footer .socials{display:flex!important;flex-direction:row!important;align-items:center!important;gap:14px!important;min-height:70px!important;border-left:1px solid #52606a!important;padding-left:18px!important}
.site-footer .copyright{font-size:10px!important;text-align:center!important;padding-top:9px!important}
@media(max-width:1200px){.site-header .head{gap:14px!important}.site-header .brand{flex-basis:235px!important;width:235px!important}.site-header .nav ul{gap:16px!important}.site-header .nav a{font-size:10px!important}.site-footer .foot{grid-template-columns:repeat(4,minmax(0,1fr))!important}.site-footer .foot-brand{border:0!important}}
@media(max-width:760px){.site-header,.site-header .head{height:auto!important;min-height:66px!important}.site-header .head{width:calc(100% - 32px)!important;flex-wrap:wrap!important;padding:5px 0!important}.site-header .brand{flex:1 1 auto!important;width:auto!important;max-width:none!important;height:54px!important}.site-header .brand img{width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important}.site-header .brand-copy strong{font-size:23px!important}.site-header .brand-copy small{font-size:8px!important}.site-header .toggle{display:block!important;margin-left:auto!important;background:none!important;border:1px solid var(--line)!important;color:#fff!important;padding:7px 10px!important}.site-header .nav{display:none!important;flex:1 1 100%!important;width:100%!important;order:5!important}.site-header .nav.open{display:block!important}.site-header .nav ul{flex-direction:column!important;align-items:flex-start!important;gap:0!important;padding:8px 0!important}.site-header .nav li{padding:9px 0!important}.site-header .discord-link{display:none!important}.site-header .portal-link{flex-basis:105px!important;width:105px!important}.hero{height:360px!important;min-height:360px!important;max-height:360px!important}.hero-bg{background-position:61% center!important}.hero-inner,.stats,.units-section,.lower,.site-footer .foot{width:calc(100% - 32px)!important}.hero-copy{width:90%!important;max-width:90%!important;padding:0!important}.hero h1{font-size:42px!important}.hero p{font-size:13px!important}.hero-node{display:none!important}.stats{height:auto!important;grid-template-columns:1fr 1fr!important;padding:12px 0!important;gap:12px!important}.stats>div{padding-left:8px!important;border:0!important;gap:8px!important}.stats>div:last-child{grid-column:1/-1!important}.stats b{font-size:12px!important}.stats small{font-size:9px!important}.unit-grid,.lower{grid-template-columns:1fr!important}.unit-card{height:115px!important}.site-footer .foot{grid-template-columns:1fr 1fr!important;gap:16px!important}.site-footer .foot-brand{grid-column:1/-1!important}.site-footer .socials{grid-column:1/-1!important;border:0!important;padding:0!important}.news-feature{grid-template-columns:42% 1fr!important}}


/* JTFS Command v6 — reference-template navigation and layout refinements */
.site-header{height:70px!important;min-height:70px!important;background:rgba(6,13,19,.97)!important}
.site-header .head{width:min(1520px,calc(100% - 8.8%))!important;max-width:1520px!important;gap:22px!important}
.site-header .brand{flex:0 0 350px!important;width:350px!important;overflow:visible!important}
.site-header .brand img{width:62px!important;height:62px!important;max-width:62px!important;max-height:62px!important}
.site-header .nav{margin-left:auto!important;flex:1 1 auto!important;min-width:0!important}
.site-header .nav ul{display:flex!important;flex-direction:row!important;justify-content:space-between!important;gap:clamp(15px,2.1vw,36px)!important}
.site-header .nav li{position:relative!important;padding:0!important;margin:0!important}
.site-header .nav>div>ul>li>a,.site-header .nav>ul>li>a{display:flex!important;align-items:center!important;gap:8px!important;padding:25px 0!important}
.site-header .nav li.menu-item-has-children>a:after{content:"";display:inline-block;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:1px;opacity:.9}
.site-header .nav .sub-menu{display:none!important;position:absolute!important;top:100%!important;left:-15px!important;z-index:1000!important;min-width:220px!important;padding:9px 0!important;margin:0!important;background:rgba(8,17,25,.99)!important;border:1px solid #43515b!important;border-top:2px solid var(--green)!important;box-shadow:0 14px 28px rgba(0,0,0,.45)!important;flex-direction:column!important;align-items:stretch!important;gap:0!important}
.site-header .nav li:hover>.sub-menu,.site-header .nav li:focus-within>.sub-menu,.site-header .nav li.submenu-open>.sub-menu{display:flex!important}
.site-header .nav .sub-menu li{display:block!important;width:100%!important;padding:0!important;white-space:normal!important}
.site-header .nav .sub-menu a{display:block!important;padding:11px 17px!important;font-size:11px!important;line-height:1.25!important;letter-spacing:.07em!important;text-transform:uppercase!important;color:#dce3e7!important}
.site-header .nav .sub-menu a:hover,.site-header .nav .sub-menu a:focus{background:#14232d!important;color:var(--green)!important}
.site-header .nav .sub-menu .sub-menu{top:-2px!important;left:100%!important}
.site-header .discord-link{margin-left:10px!important;flex:0 0 36px!important}
.site-header .portal-link{flex:0 0 130px!important;width:130px!important}
@media(max-width:1200px) and (min-width:761px){.site-header .head{gap:12px!important}.site-header .brand{flex-basis:260px!important;width:260px!important}.site-header .brand img{width:54px!important;height:54px!important}.site-header .brand-copy strong{font-size:25px!important}.site-header .brand-copy small{font-size:8px!important}.site-header .nav ul{gap:13px!important}.site-header .nav a{font-size:10px!important}.site-header .discord-link{display:none!important}.site-header .portal-link{flex-basis:105px!important;width:105px!important;padding:0 8px!important}}
@media(max-width:760px){.site-header .nav{display:none!important}.site-header .nav.open{display:block!important}.site-header .nav ul{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important}.site-header .nav>div>ul>li>a,.site-header .nav>ul>li>a{padding:12px 8px!important;width:100%!important;justify-content:space-between!important}.site-header .nav .sub-menu{position:static!important;box-shadow:none!important;border:0!important;border-left:2px solid var(--green)!important;margin:0 0 6px 12px!important;padding:0!important;min-width:0!important;background:#0b151e!important}.site-header .nav li:hover>.sub-menu{display:none!important}.site-header .nav li.submenu-open>.sub-menu,.site-header .nav li:focus-within>.sub-menu{display:flex!important}.site-header .nav .sub-menu a{padding:10px 14px!important}.site-header .head{width:calc(100% - 32px)!important}.site-header .brand{flex:1 1 auto!important;width:auto!important}.site-header .discord-link{display:none!important}}

/* v6.1 WordPress compatibility and dropdown positioning fixes */
.nav ul.jtfs-fallback-menu{display:flex;align-items:center;gap:clamp(20px,3.2vw,55px)}
.nav .jtfs-fallback-menu>li{position:relative;height:70px;display:flex;align-items:center}
.nav .jtfs-fallback-menu>li>.sub-menu{display:none;position:absolute;top:100%;left:0;z-index:100;background:#0c1720;border:1px solid #34434d;min-width:220px;padding:8px 0;margin:0;box-shadow:0 12px 24px rgba(0,0,0,.4);flex-direction:column;align-items:stretch;gap:0}
.nav .jtfs-fallback-menu>li:hover>.sub-menu,.nav .jtfs-fallback-menu>li:focus-within>.sub-menu,.nav .jtfs-fallback-menu>li.submenu-open>.sub-menu{display:flex}
.nav .jtfs-fallback-menu .sub-menu li{display:block;padding:0;margin:0;width:100%}
.nav .jtfs-fallback-menu .sub-menu a{display:block;padding:10px 16px;font-size:11px;letter-spacing:.06em;white-space:normal}
.nav .jtfs-fallback-menu .sub-menu a:hover{background:#172630;color:var(--green)}
@media(max-width:1100px){.brand{flex-basis:260px}.nav ul.jtfs-fallback-menu{gap:18px}.nav a{font-size:11px}.portal-link{padding:8px 14px}}
@media(max-width:760px){.nav ul.jtfs-fallback-menu{display:flex;flex-direction:column;align-items:stretch;gap:0}.nav .jtfs-fallback-menu>li{height:auto;display:block}.nav .jtfs-fallback-menu>li>.sub-menu{position:static;box-shadow:none;border:0;border-left:2px solid var(--green);margin:0 0 8px 12px}.nav .jtfs-fallback-menu>li:hover>.sub-menu{display:none}.nav .jtfs-fallback-menu>li.submenu-open>.sub-menu,.nav .jtfs-fallback-menu>li:focus-within>.sub-menu{display:flex}}

/* Publish-ready interior pages */
.content{min-height:55vh;padding-bottom:54px}.pagehero{padding:48px 0 28px;border-bottom:1px solid #35434d;margin-bottom:28px;background:linear-gradient(90deg,rgba(12,25,35,.95),rgba(7,16,24,.2))}.pagehero h1{font-size:clamp(34px,4vw,52px);line-height:1.02;margin:12px 0;color:#f5f7f8;letter-spacing:.02em;text-transform:uppercase}.pagehero .page-intro{max-width:760px;color:#c5cdd2;font-size:16px;margin:0}.jtfs-page-content{max-width:1120px;color:#dce3e7;font-size:15px;line-height:1.75}.jtfs-page-content h2{font-size:24px;line-height:1.2;text-transform:uppercase;border-left:3px solid var(--green);padding-left:13px;margin:34px 0 14px}.jtfs-page-content h3{font-size:17px;text-transform:uppercase;color:#fff;margin:22px 0 8px}.jtfs-page-content p{color:#c6d0d6}.jtfs-page-content ul{padding-left:22px;color:#c6d0d6}.jtfs-page-content li{padding:4px 0}.jtfs-info-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0}.jtfs-info-card{background:linear-gradient(140deg,#12212c,#09131b);border:1px solid #394a55;padding:20px;min-height:150px}.jtfs-info-card strong{display:block;color:#fff;font-size:16px;text-transform:uppercase;margin-bottom:8px}.jtfs-info-card p{margin:0;font-size:14px}.jtfs-callout{border:1px solid #52616a;border-left:3px solid var(--green);background:#0c1821;padding:18px 22px;margin:24px 0}.jtfs-button{display:inline-block;background:var(--green);color:#08100a!important;padding:11px 20px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin:8px 10px 8px 0}.jtfs-data-table{width:100%;border-collapse:collapse;margin:20px 0;background:#0b151e}.jtfs-data-table th,.jtfs-data-table td{padding:12px 14px;text-align:left;border:1px solid #34434d}.jtfs-data-table th{background:#15232e;color:#fff;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.jtfs-data-table td{color:#cbd4d9}.jtfs-record-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.jtfs-record{background:#0d1922;border:1px solid #34434d;padding:18px}.jtfs-record h3{margin-top:0}.jtfs-record small{color:#aab8c1}.jtfs-tag{display:inline-block;border:1px solid #739d43;color:#a5e15e;padding:3px 8px;font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin:3px}.jtfs-empty{padding:20px;border:1px dashed #50606b;color:#b8c4cb}@media(max-width:760px){.jtfs-info-grid,.jtfs-record-grid{grid-template-columns:1fr}.pagehero{padding:32px 0 22px}.jtfs-data-table{font-size:12px;display:block;overflow-x:auto}}

/* JTFS fit-and-proportion refinement — v7 */
@media (min-width: 761px){
  .site-header .head,
  .hero-inner,
  .stats,
  .units-section,
  .lower,
  .site-footer .foot{
    width: min(1680px, 94vw) !important;
    max-width: 1680px !important;
  }
  .site-header .head{gap:clamp(18px,2vw,34px)!important}
  .site-header .brand{flex-basis:clamp(260px,21vw,350px)!important;width:clamp(260px,21vw,350px)!important}
  .site-header .nav ul{gap:clamp(18px,2.35vw,42px)!important}
  .site-header .nav a{font-size:clamp(11px,.78vw,13px)!important}
  .hero{height:clamp(310px,21vw,370px)!important;min-height:clamp(310px,21vw,370px)!important;max-height:370px!important}
  .hero-inner{padding:0 1.8vw!important}
  .hero-copy{max-width:540px!important;width:540px!important;padding-left:0!important}
  .hero h1{font-size:clamp(48px,3.6vw,62px)!important;line-height:.92!important}
  .hero p{font-size:clamp(14px,.95vw,16px)!important;max-width:470px!important;line-height:1.35!important}
  .eyebrow{font-size:16px!important}
  .actions{margin-top:22px!important}
  .btn{min-width:176px!important;padding:12px 26px!important;font-size:16px!important}
  .stats{height:68px!important}
  .stats>div{height:40px!important;gap:20px!important;padding-left:clamp(12px,2vw,34px)!important}
  .stats i{font-size:29px!important;width:44px!important}
  .stats b{font-size:clamp(15px,.95vw,17px)!important}
  .stats small{font-size:11px!important}
  .units-section{padding:15px 0 16px!important}
  .section-top{margin-bottom:11px!important}
  .section-top h2{font-size:21px!important}
  .section-top>a{font-size:11px!important}
  .unit-grid{gap:22px!important}
  .unit-card{height:clamp(132px,9vw,158px)!important;padding:19px 22px!important;gap:19px!important}
  .unit-symbol{font-size:34px!important}
  .unit-label b{font-size:16px!important}
  .unit-label small{font-size:12px!important}
  .lower{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr) minmax(0,1fr)!important;gap:24px!important;padding-bottom:18px!important}
  .lower-panel{padding-top:9px!important}
  .lower-panel .section-top h2{font-size:18px!important}
  .lower-panel .section-top>a{font-size:10px!important}
  .news-feature{grid-template-columns:minmax(0,48%) minmax(0,1fr)!important;gap:14px!important;padding-top:10px!important}
  .news-image,.news-image img,.news-image span{height:clamp(136px,9.2vw,160px)!important}
  .news-feature h3{font-size:15px!important}
  .news-feature small{font-size:11px!important}
  .news-feature p{font-size:13px!important;line-height:1.4!important}
  .operation-preview{min-height:150px!important}
  .operation-preview article,.operation-preview li{padding:11px 8px!important}
  .gallery-grid{gap:8px!important}
  .gallery-grid a{height:clamp(70px,4.8vw,86px)!important}
  .site-footer{padding:20px 0 10px!important}
  .site-footer .foot{gap:clamp(12px,1.25vw,22px)!important;grid-template-columns:1.65fr repeat(6,minmax(0,1fr)) .8fr!important}
  .site-footer .foot-brand{gap:14px!important;min-height:76px!important}
  .site-footer .foot-brand img{width:70px!important;height:70px!important;min-width:70px!important;max-width:70px!important}
  .site-footer .foot-brand b{font-size:28px!important}
  .site-footer .foot>div:not(.foot-brand) b{font-size:12px!important}
  .site-footer .foot a{font-size:11px!important;line-height:1.45!important}
  .site-footer .socials{gap:12px!important;padding-left:12px!important}
}
@media (min-width:761px) and (max-width:1250px){
  .site-header .brand{flex-basis:220px!important;width:220px!important}
  .site-header .brand img{width:50px!important;height:50px!important;min-width:50px!important}
  .site-header .brand-copy strong{font-size:24px!important}
  .site-header .brand-copy small{font-size:8px!important}
  .site-header .nav ul{gap:12px!important}
  .site-header .nav a{font-size:10px!important}
  .site-header .discord-link{display:none!important}
  .site-footer .foot{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .site-footer .foot-brand{border:0!important}
}
@media (max-width:760px){
  .hero{height:390px!important;min-height:390px!important;max-height:390px!important}
  .hero h1{font-size:clamp(38px,10vw,48px)!important}
  .stats{width:calc(100% - 32px)!important}
  .units-section,.lower,.site-footer .foot{width:calc(100% - 32px)!important}
  .unit-card{height:132px!important}
  .lower{gap:18px!important}
  .news-image,.news-image img,.news-image span{height:130px!important}
  .gallery-grid a{height:90px!important}
}
