
/* =========================================================
   TOBYTNT CORE v1.0.2
   Shared header / navigation / footer
   ========================================================= */

:root{
  --toby-logo-blue:#043665;
}

.tobytnt-site-chrome,
.tobytnt-footer,
.tobytnt-home-shell{
  font-family:"Poppins",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--toby-cocoa);
}

.tobytnt-site-chrome *,
.tobytnt-footer *,
.tobytnt-home-shell *{
  box-sizing:border-box;
}

.tobytnt-container{
  width:min(1180px,calc(100% - 40px));
  margin:0 auto;
}

/* Retired: old black TRINIDAD & TOBAGO strip. */
.tobytnt-topbar{
  display:none!important;
}

/* Main TobyTNT header */
.tobytnt-nav-wrap{
  position:relative;
  z-index:50;
  background:#fff;
  border-bottom:1px solid rgba(4,54,101,.10);
  box-shadow:none;
  backdrop-filter:none;
}

.tobytnt-nav{
  min-height:88px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}

/* Brand */
.tobytnt-brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:max-content;
  color:var(--toby-logo-blue);
  font-family:"Poppins",system-ui,sans-serif;
  text-decoration:none!important;
}

.tobytnt-brand:hover,
.tobytnt-brand:focus{
  color:var(--toby-logo-blue);
  text-decoration:none!important;
}

.tobytnt-brand img{
  display:block;
  max-height:60px;
  max-width:210px;
  width:auto;
}

.tobytnt-brand-word{
  font-family:"Poppins",system-ui,sans-serif;
  font-weight:800;
  font-size:31px;
  line-height:1;
  letter-spacing:-.045em;
  color:var(--toby-logo-blue);
}

.tobytnt-brand small{
  display:block;
  max-width:145px;
  font-family:"Poppins",system-ui,sans-serif;
  font-size:9px;
  line-height:1.25;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.12em;
  color:var(--toby-logo-blue);
  opacity:.72;
}

/* Navigation */
.tobytnt-nav-links{
  display:flex;
  align-items:center;
  gap:25px;
}

.tobytnt-nav-links a{
  position:relative;
  color:var(--toby-logo-blue)!important;
  font-family:"Poppins",system-ui,sans-serif;
  font-size:13px;
  line-height:1;
  font-weight:600;
  letter-spacing:.01em;
  text-decoration:none!important;
  border:0!important;
  box-shadow:none!important;
  transition:opacity .18s ease,transform .18s ease;
}

/* Explicitly remove old underline / pseudo underline behavior */
.tobytnt-nav-links a:before,
.tobytnt-nav-links a:after{
  display:none!important;
  content:none!important;
}

.tobytnt-nav-links a:hover,
.tobytnt-nav-links a:focus,
.tobytnt-nav-links a.is-active{
  color:var(--toby-logo-blue)!important;
  text-decoration:none!important;
  opacity:.68;
}

/* Primary navigation CTA uses the logo blue */
.tobytnt-nav-links .tobytnt-nav-cta{
  padding:13px 18px;
  border-radius:999px;
  background:var(--toby-logo-blue);
  color:#fff!important;
  font-weight:700;
}

.tobytnt-nav-links .tobytnt-nav-cta:hover,
.tobytnt-nav-links .tobytnt-nav-cta:focus{
  background:var(--toby-logo-blue);
  color:#fff!important;
  opacity:.88;
  transform:translateY(-1px);
}

/* Mobile trigger */
.tobytnt-nav-toggle{
  display:none;
  border:0;
  background:transparent;
  padding:8px;
}

.tobytnt-nav-toggle span{
  display:block;
  width:24px;
  height:2px;
  margin:5px 0;
  background:var(--toby-logo-blue);
}

/* Footer stays dark but now uses Poppins */
.tobytnt-footer{
  background:var(--toby-cocoa);
  color:#f8f1e8;
  padding:64px 0 22px;
}

.tobytnt-footer-grid{
  display:grid;
  grid-template-columns:2fr repeat(3,1fr);
  gap:42px;
}

.tobytnt-footer-brand{
  font-family:"Poppins",system-ui,sans-serif;
  font-weight:800;
  font-size:30px;
}

.tobytnt-footer h4{
  margin:0 0 14px;
  color:#fff;
  font-family:"Poppins",system-ui,sans-serif;
}

.tobytnt-footer p{
  max-width:470px;
  color:#c9beb2;
  line-height:1.7;
}

.tobytnt-footer a{
  display:block;
  color:#d8cec5;
  text-decoration:none!important;
  margin:8px 0;
}

.tobytnt-footer a:hover{
  color:#fff;
  text-decoration:none!important;
}

.tobytnt-footer-bottom{
  border-top:1px solid rgba(255,255,255,.14);
  margin-top:44px;
  padding-top:20px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#9e9186;
  font-size:12px;
}

/* =========================================================
   TOBYTNT APPLICATION / THEME CHROME RESET
   ========================================================= */

body.tobytnt-full-bleed{
  margin-top:0!important;
  padding-top:0!important;
}

body.tobytnt-full-bleed .wp-site-blocks{
  margin-top:0!important;
  padding-top:0!important;
  gap:0!important;
}

body.tobytnt-full-bleed .wp-site-blocks > header,
body.tobytnt-full-bleed #masthead,
body.tobytnt-full-bleed header.site-header{
  display:none!important;
  height:0!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
}

body.tobytnt-full-bleed .wp-site-blocks > footer,
body.tobytnt-full-bleed #colophon,
body.tobytnt-full-bleed footer.site-footer{
  display:none!important;
}

body.tobytnt-full-bleed .entry-title,
body.tobytnt-full-bleed .page-title{
  display:none!important;
}

body.tobytnt-full-bleed .site-main,
body.tobytnt-full-bleed main,
body.tobytnt-full-bleed .entry-content{
  max-width:none!important;
  margin-top:0!important;
  padding-top:0!important;
}

@media(max-width:900px){
  .tobytnt-nav{
    min-height:82px;
  }

  .tobytnt-nav-toggle{
    display:block;
  }

  .tobytnt-nav-links{
    display:none;
    position:absolute;
    top:82px;
    left:20px;
    right:20px;
    background:#fff;
    padding:22px;
    border:1px solid rgba(4,54,101,.10);
    border-radius:16px;
    box-shadow:0 20px 50px rgba(4,54,101,.12);
    flex-direction:column;
    align-items:flex-start;
  }

  .tobytnt-nav-links.is-open{
    display:flex;
  }

  .tobytnt-nav-links a{
    width:100%;
    padding:6px 0;
  }

  .tobytnt-nav-links .tobytnt-nav-cta{
    text-align:center;
    padding:13px 18px;
  }

  .tobytnt-footer-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:620px){
  .tobytnt-container{
    width:min(100% - 28px,1180px);
  }

  .tobytnt-brand-word{
    font-size:27px;
  }

  .tobytnt-brand small{
    display:none;
  }

  .tobytnt-footer-grid{
    grid-template-columns:1fr;
  }

  .tobytnt-footer-bottom{
    flex-direction:column;
  }
}
