/* TOTOBOARD Home Hero v3.3.0 | 2026-11 | Homepage only
   CSS-only, no markup or data mutations. Preserves existing hero photograph. */
:root{--tb330-gold:#e7c07a;--tb330-navy:#061b31}

/* Header enhancement is scoped to a page actually containing the home hero. */
body:has(.tb-v2-hero) .tb-v2-header{
  height:70px!important;min-height:70px!important;
  border-bottom:1px solid rgba(200,164,100,.30)!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 8px 28px rgba(6,27,49,.065)!important;
}
body:has(.tb-v2-hero) .tb-v2-navbar{gap:22px}
body:has(.tb-v2-hero) .tb-v2-logo{font-size:28px;gap:10px}
body:has(.tb-v2-hero) .tb-v2-logo img{width:42px;height:42px;object-fit:contain;flex:none}
body:has(.tb-v2-hero) .tb-v2-nav{gap:22px}
body:has(.tb-v2-hero) .tb-v2-nav a{
  font-size:14px;letter-spacing:-.025em;font-weight:800;padding:3px 1px 0;
  border-bottom-width:3px;transition:color .22s ease,border-color .22s ease;
}
body:has(.tb-v2-hero) .tb-v2-nav a:hover,
body:has(.tb-v2-hero) .tb-v2-nav a.is-active{border-bottom-color:#c99a52;color:#092746!important}
body:has(.tb-v2-hero) .tb-v2-header-search{
  height:42px;max-width:310px;border-radius:24px;
  background:#f7f9fc;border:1px solid #dce5ef;padding:0 8px 0 16px;
  transition:border-color .2s,box-shadow .2s;
}
body:has(.tb-v2-hero) .tb-v2-header-search:focus-within{
  border-color:#c79b56;box-shadow:0 0 0 3px rgba(219,174,100,.15)
}
body:has(.tb-v2-hero) .tb-v2-header-search input{font-size:12px}
body:has(.tb-v2-hero) .tb-v2-adminlink{padding:11px 16px;font-size:12px}

/* Distinct editorial hero, balanced left panel and unaltered photo. */
.tb-v2-hero.tb-hero{
  height:478px!important;min-height:478px!important;
  background:#06192c!important;overflow:hidden;isolation:isolate;
  border-bottom:3px solid #bc955b!important;
}
.tb-v2-hero.tb-hero .tb-v2-hero-art{
  inset:0 0 0 14%;
  background-size:cover;background-position:62% 43%;
  opacity:1;transform:scale(1);transform-origin:70% 45%;
  transition:transform 1s cubic-bezier(.2,.8,.2,1);
  will-change:auto;
}
.tb-v2-hero.tb-hero:hover .tb-v2-hero-art{transform:scale(1.025)}
.tb-v2-hero.tb-hero::before{
  content:"";display:block!important;position:absolute;inset:0;z-index:2;
  background:linear-gradient(90deg,
    #06192b 0%,#081e34 25%,rgba(8,26,45,.97) 37%,
    rgba(9,27,43,.80) 44%,rgba(8,23,38,.25) 62%,
    rgba(6,14,25,.04) 80%,rgba(6,15,27,.22) 100%),
    linear-gradient(0deg,rgba(6,19,34,.34),transparent 42%)!important;
  border:0!important;pointer-events:none;
}
.tb-v2-hero.tb-hero::after{
  content:"";position:absolute;z-index:3;top:55px;bottom:54px;left:47.2%;
  width:1px;height:auto!important;transform:none;
  background:linear-gradient(to bottom,transparent,rgba(228,184,108,.30),transparent);
  border:0!important;border-radius:0!important;pointer-events:none;
}
.tb-v2-hero.tb-hero .tb-v2-hero-inner{
  width:min(1220px,calc(100% - 74px));max-width:1220px;
  height:100%;padding:0 10px;margin-inline:auto;
  justify-content:center;align-items:flex-start;
  box-sizing:border-box;
}
.tb-v2-hero.tb-hero .tb-v2-hero-content{
  width:51%;max-width:565px;min-width:0;
  margin:-67px 0 0;color:#fff;position:relative;
}
.tb-v2-hero.tb-hero .tb-v2-hero-kicker{
  display:inline-flex;align-items:center;gap:10px;
  font-size:11px;font-weight:800;letter-spacing:.22em;
  line-height:1.5;color:#e6c184;margin:0 0 14px;
}
.tb-v2-hero.tb-hero .tb-v2-hero-kicker::before{
  content:"";width:25px;height:2px;background:#e4bd7c;display:inline-block;
  box-shadow:0 0 12px rgba(228,189,124,.55)
}
.tb-v2-hero.tb-hero .tb-v2-wordmark{
  font-size:clamp(63px,6.1vw,84px)!important;line-height:1.03!important;
  margin:0 0 18px!important;letter-spacing:-.075em;
  font-weight:950!important;color:#fff!important;
  text-shadow:0 8px 20px rgba(0,0,0,.12)
}
.tb-v2-hero.tb-hero .tb-v2-wordmark span{
  color:#eac27c!important;
  background:linear-gradient(145deg,#f5dfac 0%,#e6b76a 60%,#c89048 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
}
.tb-v2-hero.tb-hero h2{
  font-size:clamp(19px,1.85vw,25px)!important;
  line-height:1.45!important;letter-spacing:-.045em;font-weight:850;
  color:#fff!important;margin:0 0 11px!important;
}
.tb-v2-hero.tb-hero p{
  color:#d0dfed!important;font-size:13px!important;
  line-height:1.8!important;letter-spacing:-.015em;
  margin:0 0 20px!important;font-weight:500;
}
.tb-v2-hero.tb-hero .tb-v2-hero-btn{
  min-height:47px;box-sizing:border-box;gap:27px;
  padding:12px 19px 12px 22px;border-radius:9px;
  border:1px solid #f5dcaa;
  background:linear-gradient(115deg,#f3dca5,#dfb26a);
  color:#13283a!important;font-size:13px!important;font-weight:850;
  box-shadow:0 11px 30px rgba(0,0,0,.22);
  transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;
}
.tb-v2-hero.tb-hero .tb-v2-hero-btn span{font-size:19px;line-height:1}
.tb-v2-hero.tb-hero .tb-v2-hero-btn:hover{
  transform:translateY(-3px);box-shadow:0 15px 35px rgba(0,0,0,.28);filter:brightness(1.045)
}
.tb-v2-hero.tb-hero .tb-v2-hero-btn:focus-visible{
  outline:3px solid #fff;outline-offset:3px;
}
.tb-v2-hero.tb-hero .tb-v2-hero-points{
  position:absolute;z-index:5;left:10px;right:auto;bottom:25px;
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  width:min(610px,56%);max-width:610px;gap:9px;
  padding:0;margin:0;
}
.tb-v2-hero.tb-hero .tb-v2-hero-points>div{
  min-height:63px;box-sizing:border-box;
  display:flex;align-items:center;gap:11px;
  border:1px solid rgba(207,164,91,.30);border-radius:10px;
  background:rgba(7,27,45,.78);padding:9px 12px;
  box-shadow:0 8px 22px rgba(0,0,0,.13);
  backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);
}
.tb-v2-hero.tb-hero .tb-v2-hero-points>div:last-child{border:1px solid rgba(207,164,91,.30)}
.tb-v2-hero.tb-hero .tb-v2-point-icon{
  width:37px;height:37px;min-width:37px;border-radius:9px;
  border:1px solid rgba(238,197,120,.65);
  background:rgba(220,173,91,.09);color:#f0c87b;
  font-size:19px;line-height:1;
}
.tb-v2-hero.tb-hero .tb-v2-hero-points strong{
  font-size:12px!important;line-height:1.3;font-weight:850;color:#fff;
  white-space:nowrap;
}
.tb-v2-hero.tb-hero .tb-v2-hero-points small{
  font-size:10px!important;line-height:1.5;color:#b8cadb;white-space:nowrap;
}

/* Comfortable tablet layout; photograph keeps its subject visible. */
@media(max-width:1120px){
  body:has(.tb-v2-hero) .tb-v2-navbar{gap:15px}
  body:has(.tb-v2-hero) .tb-v2-logo{font-size:25px}
  body:has(.tb-v2-hero) .tb-v2-nav{gap:13px}
  body:has(.tb-v2-hero) .tb-v2-nav a{font-size:12px}
  body:has(.tb-v2-hero) .tb-v2-header-search{max-width:230px}
  .tb-v2-hero.tb-hero .tb-v2-hero-inner{width:calc(100% - 44px)}
  .tb-v2-hero.tb-hero .tb-v2-hero-content{width:56%}
  .tb-v2-hero.tb-hero .tb-v2-hero-points{width:min(565px,62%)}
}
@media(max-width:790px){
  body:has(.tb-v2-hero) .tb-v2-header{height:64px!important;min-height:64px!important}
  body:has(.tb-v2-hero) .tb-v2-navbar{gap:12px}
  body:has(.tb-v2-hero) .tb-v2-logo img{width:36px;height:36px}
  body:has(.tb-v2-hero) .tb-v2-logo{font-size:23px}
  body:has(.tb-v2-hero) .tb-v2-nav{display:none}
  body:has(.tb-v2-hero) .tb-v2-header-search{max-width:230px;height:38px}
  body:has(.tb-v2-hero) .tb-v2-mobile-menu:not([hidden]){top:64px}
  .tb-v2-hero.tb-hero{height:480px!important;min-height:480px!important}
  .tb-v2-hero.tb-hero .tb-v2-hero-art{inset:0 0 0 6%;background-position:47% 40%}
  .tb-v2-hero.tb-hero::before{background:linear-gradient(90deg,#06192b 0%,rgba(7,24,42,.98) 27%,rgba(7,24,42,.77) 55%,rgba(6,17,33,.06) 100%)!important}
  .tb-v2-hero.tb-hero::after{display:none}
  .tb-v2-hero.tb-hero .tb-v2-hero-inner{width:calc(100% - 34px);padding:0 5px}
  .tb-v2-hero.tb-hero .tb-v2-hero-content{width:64%;max-width:440px;margin:-76px 0 0}
  .tb-v2-hero.tb-hero .tb-v2-wordmark{font-size:60px!important;margin-bottom:12px!important}
  .tb-v2-hero.tb-hero h2{font-size:19px!important}
  .tb-v2-hero.tb-hero p{font-size:12px!important}
  .tb-v2-hero.tb-hero .tb-v2-hero-points{width:min(620px,100%);left:5px;right:5px;bottom:18px;gap:7px}
  .tb-v2-hero.tb-hero .tb-v2-hero-points>div{padding:9px 8px;gap:7px}
  .tb-v2-hero.tb-hero .tb-v2-hero-points strong{font-size:11px!important}
  .tb-v2-hero.tb-hero .tb-v2-hero-points small{font-size:9px!important}
}
@media(max-width:530px){
  body:has(.tb-v2-hero) .tb-v2-header{height:62px!important;min-height:62px!important}
  body:has(.tb-v2-hero) .tb-v2-navbar{gap:8px}
  body:has(.tb-v2-hero) .tb-v2-logo{font-size:21px;gap:5px}
  body:has(.tb-v2-hero) .tb-v2-logo img{width:33px;height:33px}
  body:has(.tb-v2-hero) .tb-v2-header-search{height:34px;max-width:150px;min-width:0;padding:0 7px 0 10px}
  body:has(.tb-v2-hero) .tb-v2-header-search input{font-size:10px}
  body:has(.tb-v2-hero) .tb-v2-mobile-menu:not([hidden]){top:62px}
  .tb-v2-hero.tb-hero{height:635px!important;min-height:635px!important}
  .tb-v2-hero.tb-hero .tb-v2-hero-art{
    inset:0 0 auto 0!important;height:360px;
    background-position:52% 18%;background-size:cover;
    background-repeat:no-repeat;opacity:1;
  }
  .tb-v2-hero.tb-hero::before{
    background:linear-gradient(0deg,#06192c 0%,#06192c 41%,rgba(6,25,44,.94) 50%,rgba(6,25,44,.35) 66%,rgba(6,25,44,.06) 100%)!important;
  }
  .tb-v2-hero.tb-hero .tb-v2-hero-inner{width:calc(100% - 28px);padding:0 0 0;justify-content:flex-end;align-items:stretch}
  .tb-v2-hero.tb-hero .tb-v2-hero-content{
    width:100%;max-width:none;margin:0 0 143px 0;
  }
  .tb-v2-hero.tb-hero .tb-v2-hero-kicker{font-size:9px;letter-spacing:.17em;margin-bottom:8px}
  .tb-v2-hero.tb-hero .tb-v2-hero-kicker::before{width:18px}
  .tb-v2-hero.tb-hero .tb-v2-wordmark{font-size:53px!important;line-height:1.04!important;margin:0 0 8px!important}
  .tb-v2-hero.tb-hero h2{font-size:17px!important;line-height:1.45!important;margin:0 0 8px!important}
  .tb-v2-hero.tb-hero p{font-size:11px!important;line-height:1.6!important;margin:0 0 13px!important}
  .tb-v2-hero.tb-hero .tb-v2-hero-btn{font-size:12px!important;padding:10px 14px;min-height:42px;gap:18px}
  .tb-v2-hero.tb-hero .tb-v2-hero-points{
    position:absolute;bottom:16px;left:0;right:0;width:100%;
    grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;
  }
  .tb-v2-hero.tb-hero .tb-v2-hero-points>div{
    display:flex;flex-direction:column;justify-content:center;gap:3px;
    min-height:82px;padding:7px 3px;border-radius:9px;text-align:center;
    background:rgba(11,35,56,.9);
  }
  .tb-v2-hero.tb-hero .tb-v2-point-icon{
    width:27px;height:27px;min-width:27px;font-size:15px;border-radius:7px;
  }
  .tb-v2-hero.tb-hero .tb-v2-hero-points strong{font-size:10px!important;white-space:normal}
  .tb-v2-hero.tb-hero .tb-v2-hero-points small{font-size:8px!important;white-space:normal}
}
@media(max-width:360px){
  body:has(.tb-v2-hero) .tb-v2-header-search{max-width:105px}
  .tb-v2-hero.tb-hero{height:650px!important;min-height:650px!important}
  .tb-v2-hero.tb-hero .tb-v2-wordmark{font-size:46px!important}
  .tb-v2-hero.tb-hero .tb-v2-hero-content{margin-bottom:148px}
}
@media(prefers-reduced-motion:reduce){
  .tb-v2-hero.tb-hero .tb-v2-hero-art,
  .tb-v2-hero.tb-hero .tb-v2-hero-btn{transition:none!important;transform:none!important}
}

/* v3.3.1 hotfix: remove the unwanted vertical decorative rule over the photograph.
   Do not change the image, overlay gradient, hover, layout or other page sections. */
.tb-v2-hero.tb-hero::after {
  content: none !important;
  display: none !important;
}

/* v3.3.3: Mobile background photo shifted right visually (~20–30px),
   identical hero typography, overlays, geometry, buttons and 3 info cards.
   v3.3.2 stacked-layout rules intentionally NOT present. */

/* v3.3.4: Galaxy Fold inner screen + tablet intermediate widths */
@media (min-width:531px) and (max-width:960px) {
  .tb-v2-hero.tb-hero .tb-v2-hero-art {
    inset:0 0 0 20% !important;
    background-size:auto 100% !important;
    background-position:left center !important;
    background-repeat:no-repeat !important;
  }
  .tb-v2-hero.tb-hero::before {
    background:linear-gradient(90deg,
      #06192b 0%, rgba(6,25,44,.98) 20%,rgba(6,25,44,.92) 39%,
      rgba(6,25,44,.58) 52%,rgba(6,25,44,.11) 74%,rgba(6,25,44,.09) 100%),
      linear-gradient(0deg,rgba(6,19,34,.26),transparent 45%) !important;
  }
}
