/* TTTFIC site-wide header & footer */
.i{display:inline-block;width:1em;height:1em;flex:none;vertical-align:-.125em}
/* ===== Shared site header & footer (same on every page) ===== */
.sc{width:min(1200px,calc(100% - 32px));margin:0 auto}
.s-top{height:26px;background:#05284c;color:#e9eef5;font:400 12px/1 'Roboto',Arial,sans-serif}
.s-top .sc{height:100%;display:flex;justify-content:flex-end;align-items:center;gap:22px}
.s-top a{display:flex;align-items:center;gap:7px;transition:color .2s}
.s-top a:hover{color:#9cc4ff}
.s-top .i{font-size:12px}
.s-head{position:sticky;top:0;z-index:50;height:60px;background:#fff;box-shadow:0 1px 4px rgba(10,40,80,.09);font-family:'Roboto',Arial,sans-serif}
.s-head .sc{height:100%;display:flex;align-items:center;justify-content:space-between}
.s-logo{font:700 30px/1 'Roboto',Arial,sans-serif;color:#0d2b62;letter-spacing:-.2px;white-space:nowrap}
.s-nav{display:flex;height:100%;gap:8px;margin-right:-14px}
.s-nav a{position:relative;display:flex;align-items:center;padding:0 14px;font-size:14px;font-weight:500;color:#0f2a5f;text-transform:uppercase;letter-spacing:.1px;white-space:nowrap;transition:color .2s}
.s-nav a:hover{color:#1a64e4}
.s-nav a.active{color:#0f2a5f}
.s-nav a.active::after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;background:#e3060c}
.s-toggle{display:none;align-items:center;justify-content:center;width:44px;height:44px;margin-right:-10px;font-size:22px;color:#0f2a5e;background:none;border:0;cursor:pointer}

.s-foot{background:#062a4d;color:#e6ecf3;font-family:'Roboto',Arial,sans-serif}
.s-cols{display:grid;grid-template-columns:310px 280px 250px 1fr;column-gap:24px;padding:30px 0 26px}
.s-foot h4{font-size:14px;font-weight:700;letter-spacing:.3px;text-transform:uppercase;color:#fff;margin:0 0 14px;line-height:1}
.s-row{display:grid;grid-template-columns:16px 1fr;column-gap:12px;font-size:13.5px;line-height:21px}
.s-row + .s-row{margin-top:8px}
.s-row .i{font-size:14px;margin-top:3.5px;color:#fff;justify-self:center}
.s-gap{display:block;height:6px}
.s-links li{display:grid;grid-template-columns:16px 1fr;column-gap:12px;font-size:13.5px;line-height:21px;text-transform:uppercase}
.s-links li + li{margin-top:4px}
.s-links .i{font-size:11px;margin-top:5px;justify-self:center}
.s-foot a{transition:color .2s}
.s-foot a:hover{color:#9cc4ff}
.s-bottom{border-top:1px solid rgba(255,255,255,.16)}
.s-bottom .sc{min-height:56px;display:flex;align-items:center;flex-wrap:wrap;gap:8px 0;font-size:13px}
.s-bottom .sep{margin:0 14px;opacity:.7}
.s-bottom .right{margin-left:auto;display:flex;align-items:center}
.s-bottom .ic{display:flex;padding:0 0 0 18px;font-size:17px}
.s-bottom .vbar{width:1px;height:26px;background:rgba(255,255,255,.35);margin:0 18px}

@media (max-width:1000px){
  .s-head{height:56px}.s-logo{font-size:24px}
  .s-toggle{display:flex}
  .s-nav{display:none;position:absolute;top:100%;left:0;right:0;margin:0;height:auto;flex-direction:column;gap:0;padding:6px 0 10px;background:#fff;border-top:1px solid #e6ebf2;box-shadow:0 12px 24px rgba(10,40,80,.14)}
  .s-nav.open{display:flex}
  .s-nav a{padding:13px 20px;font-size:14px;font-weight:600;border-bottom:1px solid #f0f3f7}
  .s-nav a:last-child{border-bottom:0}
  .s-nav a.active{color:#d8121c}
  .s-nav a.active::after{left:0;right:auto;top:10px;bottom:10px;width:3px;height:auto}
  .s-cols{grid-template-columns:1fr 1fr;row-gap:28px}
}
@media (max-width:600px){
  .s-cols{grid-template-columns:1fr;row-gap:24px;padding:28px 0 22px}
  .s-bottom .sc{padding:14px 0;gap:12px 0}
  .s-bottom .right{margin-left:0;flex-basis:100%}
  .s-bottom .ic{padding:0 18px 0 0}.s-bottom .vbar{margin:0 18px 0 0}
}

/* ---- data-driven extras (logo image, hotline, dropdown, social) ---- */
.s-top .s-top-in{justify-content:space-between}
.s-top-l,.s-top-r{display:flex;align-items:center;gap:22px;height:100%}
.s-top-r{margin-left:auto}
.s-top .s-soc{display:flex;gap:12px}
.s-top .s-soc a .i{font-size:12px}
.s-logo img{display:block;height:46px;width:auto;max-width:260px;object-fit:contain}
.s-nav .s-item{position:relative;display:flex;height:100%}
.s-nav .s-item > a .i{font-size:10px;margin-left:6px}
.s-sub{position:absolute;top:100%;left:0;min-width:240px;margin:0;padding:8px 0;list-style:none;background:#fff;border-top:3px solid #e3060c;box-shadow:0 12px 28px rgba(10,40,80,.16);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .18s,transform .18s,visibility .18s;z-index:60}
.s-nav .s-item:hover > .s-sub,.s-nav .s-item:focus-within > .s-sub{opacity:1;visibility:visible;transform:none}
.s-sub li{margin:0;padding:0}
.s-sub a{display:block;height:auto!important;padding:10px 18px!important;font-size:13.5px;font-weight:500;text-transform:none;color:#0f2a5f;white-space:nowrap}
.s-sub a::after{display:none!important}
.s-sub a:hover,.s-sub a.active{background:#f2f6fb;color:#1a64e4}
.s-bottom .s-soc{display:flex;gap:14px;margin-right:4px}
.s-bottom .s-soc a{display:flex;font-size:15px}
@media (max-width:1280px) and (min-width:1001px){.s-nav{gap:2px}.s-nav a{padding:0 11px;font-size:13px}.s-nav a.active::after{left:11px;right:11px}}
@media (max-width:1000px){
  .s-logo img{height:38px;max-width:200px}
  .s-top-l{display:none}
  .s-nav .s-item{display:block;height:auto}
  .s-nav .s-item > a .i{display:none}
  .s-sub{position:static;opacity:1;visibility:visible;transform:none;box-shadow:none;border-top:0;padding:0 0 6px;min-width:0}
  .s-sub a{padding:9px 20px 9px 34px!important;font-size:13.5px!important;font-weight:500!important;border-bottom:0!important;white-space:normal}
}
/* ---- isolation from legacy theme CSS (pages that still use the old templates) ---- */
.s-top,.s-head,.s-foot{box-sizing:border-box;text-align:left;letter-spacing:normal;text-transform:none;-webkit-font-smoothing:antialiased}
.s-top *,.s-head *,.s-foot *,.s-top *::before,.s-head *::before,.s-foot *::before,.s-top *::after,.s-head *::after,.s-foot *::after{box-sizing:border-box}
.s-head,.s-foot{font-family:'Roboto',Arial,Helvetica,sans-serif}
.s-top a,.s-head a,.s-foot a{color:inherit;text-decoration:none;background:none;box-shadow:none;border:0}
.s-head a.s-logo{color:#0d2b62}
.s-head .s-nav a{color:#0f2a5f}
.s-head .s-nav a:hover{color:#1a64e4}
.s-top ul,.s-head ul,.s-foot ul{list-style:none;margin:0;padding:0}
.s-top li,.s-head li,.s-foot li{margin:0;padding:0;list-style:none}
.s-foot h4{font-family:'Roboto',Arial,sans-serif}
.s-foot p{margin:0}
.s-top img,.s-head img,.s-foot img{max-width:none;border:0}
.s-top .i,.s-head .i,.s-foot .i{display:inline-block;width:1em;height:1em;flex:none;vertical-align:-.125em;fill:currentColor}
.s-head button{font:inherit;line-height:1;text-transform:none;letter-spacing:0;min-height:0;margin:0;padding:0;box-shadow:none}
.s-head .s-toggle{background:none}
.s-bottom .s-soc{margin-right:4px}
@media (max-width:600px){.s-bottom .s-soc{margin-right:18px}}
@media (min-width:601px){.s-bottom .s-soc + .ic{padding-left:18px}}
@media (min-width:1001px){
  .s-sub{display:none}
  .s-nav .s-item:hover > .s-sub,.s-nav .s-item:focus-within > .s-sub{display:block}
  .s-nav .s-item:last-child > .s-sub,.s-nav .s-item:nth-last-child(2) > .s-sub{left:auto;right:0}
}

/* ---- WordPress integration guards ---- */
html{margin-top:0}
body.tttfic-page{margin:0}
body.tttfic-page .container,body.tttfic-page .container-n{max-width:none}
body.admin-bar .s-head{top:32px}
@media screen and (max-width:782px){body.admin-bar .s-head{top:46px}}
@media screen and (max-width:600px){body.admin-bar .s-head{top:0}}
.tt-notice{margin:0 0 12px;padding:10px 12px;border-radius:3px;font-size:14px;line-height:1.45}
.tt-notice.ok{background:#e7f6ec;color:#1d6b35;border:1px solid #b9e2c6}
.tt-notice.err{background:#fdecec;color:#a11b22;border:1px solid #f3c0c3}
.tt-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
