@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/*
  TNOI unified design layer
  Design source of truth: main TNOI landing page.
  This file intentionally does not alter link targets, forms or page logic.
*/
:root{
  --tnoi-ink:#292b3b;
  --tnoi-purple:#2a2866;
  --tnoi-teal:#29a4a7;
  --tnoi-muted:#68717b;
  --tnoi-light:#f7f7f9;
  --tnoi-line:#e7e7ec;
  --tnoi-dark:#292732;
  --tnoi-card-radius:6px;
  --tnoi-card-shadow:0 10px 28px rgba(41,43,59,.08);
  --tnoi-width:1170px;

  /* Map legacy section colour tokens onto the TNOI palette. */
  --ink:#292b3b;
  --purple:#2a2866;
  --teal:#29a4a7;
  --muted:#68717b;
  --light:#f7f7f9;
  --line:#e7e7ec;
  --blue:#2a2866;
  --gold:#29a4a7;
  --warm:#f7f7f9;
  --sage:#edf7f6;
}

body.tnoi-unified{
  color:var(--tnoi-ink);
  font-family:Poppins,Arial,sans-serif;
  font-size:16px;
  line-height:1.7;
}
body.tnoi-unified h1,
body.tnoi-unified h2,
body.tnoi-unified h3,
body.tnoi-unified h4{
  font-family:Poppins,Arial,sans-serif;
  letter-spacing:-.02em;
}
body.tnoi-unified h1{font-weight:600}
body.tnoi-unified h2{font-weight:600}
body.tnoi-unified h3{font-weight:600}

/* Shared widths */
body.tnoi-unified .container,
body.tnoi-unified .wrap,
body.tnoi-unified .narrow{
  width:min(var(--tnoi-width),calc(100% - 42px));
  max-width:none;
  margin-inline:auto;
}

/* ---------- Global TNOI shell used on One on One and Ozsky ---------- */
.tnoi-global-topbar{
  background:#353238;
  color:#fff;
  font-size:12px;
}
.tnoi-global-topbar .tnoi-global-container{
  width:min(var(--tnoi-width),calc(100% - 42px));
  min-height:40px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.tnoi-global-topbar .tnoi-global-contacts{
  display:flex;
  gap:24px;
  flex-wrap:wrap;
}
.tnoi-global-topbar a{color:inherit;text-decoration:none}
.tnoi-global-topbar a:hover{color:#8fe1df}

.tnoi-global-header{
  background:#fff;
  position:relative;
  z-index:30;
  border-bottom:1px solid #eee;
}
.tnoi-global-header-inner{
  width:min(var(--tnoi-width),calc(100% - 42px));
  min-height:124px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.tnoi-global-brand{display:block;flex:0 0 auto}
.tnoi-global-brand img{
  display:block;
  width:260px;
  max-width:100%;
  height:auto;
}
.tnoi-global-nav{
  display:flex;
  align-items:center;
  gap:13px;
  font-size:12px;
  font-weight:600;
}
.tnoi-global-nav a{color:inherit;text-decoration:none}
.tnoi-global-nav a:hover,
.tnoi-global-nav a[aria-current="page"]{color:var(--tnoi-teal)}
.tnoi-global-contact{
  border:2px solid var(--tnoi-purple);
  color:var(--tnoi-purple)!important;
  padding:10px 18px;
  font-weight:600;
  white-space:nowrap;
}
.tnoi-global-contact:hover{background:var(--tnoi-purple);color:#fff!important}
.tnoi-global-menu{
  display:none;
  border:0;
  background:transparent;
  color:var(--tnoi-purple);
  font-size:30px;
  cursor:pointer;
}

/* ---------- Secondary brand navigation ---------- */
body.tnoi-one .section-context{
  background:var(--tnoi-light);
  border-bottom:1px solid var(--tnoi-line);
  color:var(--tnoi-muted);
  font-size:12px;
}
body.tnoi-one .section-context .wrap{
  min-height:36px;
  padding:6px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
}
body.tnoi-one .section-context a{color:var(--tnoi-purple)}

body.tnoi-one .section-header,
body.tnoi-ozsky .section-header{
  background:#fff;
  position:relative;
  z-index:20;
  border-bottom:1px solid var(--tnoi-line);
}
body.tnoi-one .section-header>.wrap,
body.tnoi-ozsky .section-header>.header-inner{
  width:min(var(--tnoi-width),calc(100% - 42px));
  min-height:76px;
  margin-inline:auto;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
body.tnoi-one .section-header .brand,
body.tnoi-ozsky .section-header .brand{
  color:var(--tnoi-purple);
  font:600 17px/1.25 Poppins,Arial,sans-serif;
  letter-spacing:-.01em;
}
body.tnoi-one .section-header .brand small{
  display:block;
  margin-top:2px;
  color:var(--tnoi-muted);
  font:500 11px/1.3 Poppins,Arial,sans-serif;
  letter-spacing:.03em;
}
body.tnoi-ozsky .section-header .brand img{
  width:150px;
  max-height:54px;
  object-fit:contain;
}
body.tnoi-one .section-header .nav,
body.tnoi-ozsky .section-header .nav{
  display:flex;
  align-items:center;
  gap:16px;
  font-size:12px;
  font-weight:600;
}
body.tnoi-one .section-header .nav a,
body.tnoi-ozsky .section-header .nav a{padding:8px 0}
body.tnoi-one .section-header .nav a:hover,
body.tnoi-one .section-header .nav a[aria-current="page"],
body.tnoi-ozsky .section-header .nav a:hover,
body.tnoi-ozsky .section-header .nav a[aria-current="page"]{color:var(--tnoi-teal)}
body.tnoi-one .section-header .nav .return,
body.tnoi-ozsky .section-header .nav .return{
  border:1px solid var(--tnoi-purple);
  color:var(--tnoi-purple);
  padding:8px 12px;
}
body.tnoi-one .section-header .menu,
body.tnoi-ozsky .section-header .menu{
  display:none;
  border:0;
  background:transparent;
  color:var(--tnoi-purple);
  font-size:28px;
}

/* ---------- Typography and section rhythm for imported sections ---------- */
body.tnoi-one h1,
body.tnoi-ozsky h1{font-size:clamp(39px,5vw,64px);line-height:1.18}
body.tnoi-one h2,
body.tnoi-ozsky h2{font-size:clamp(30px,3vw,42px);line-height:1.25}
body.tnoi-one h3,
body.tnoi-ozsky h3{font-size:23px;line-height:1.35}

body.tnoi-one .page{padding:40px 0 80px}
body.tnoi-one .section{padding:70px 0}
body.tnoi-one .section:first-child{padding:70px 0}
body.tnoi-one .mast{padding:42px 0;background:var(--tnoi-light);border-bottom:1px solid var(--tnoi-line)}
body.tnoi-one .mast p{color:var(--tnoi-muted)}

body.tnoi-ozsky .services,
body.tnoi-ozsky .category,
body.tnoi-ozsky .honours,
body.tnoi-ozsky .advantages,
body.tnoi-ozsky .text-page,
body.tnoi-ozsky .detail{padding-top:70px;padding-bottom:70px}
body.tnoi-ozsky .advantages{background:var(--tnoi-light)}
body.tnoi-ozsky .eyebrow{color:var(--tnoi-teal)}
body.tnoi-ozsky .bar{background:var(--tnoi-teal)}

/* ---------- Consistent button language ---------- */
body.tnoi-unified .button,
body.tnoi-unified .pill,
body.tnoi-unified .enrol button{
  display:inline-block;
  border:2px solid var(--tnoi-purple);
  border-radius:0;
  background:var(--tnoi-purple);
  color:#fff;
  padding:10px 20px;
  min-height:44px;
  font:600 13px/1.5 Poppins,Arial,sans-serif;
  text-align:center;
  text-decoration:none;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
body.tnoi-unified .button:hover,
body.tnoi-unified .pill:hover,
body.tnoi-unified .enrol button:hover{
  background:#2a2866;
  border-color:#2a2866;
}
body.tnoi-unified .outline,
body.tnoi-unified .outline-button{
  display:inline-block;
  border:2px solid currentColor;
  border-radius:0;
  padding:10px 24px;
  min-height:44px;
  font:600 13px/1.5 Poppins,Arial,sans-serif;
  text-align:center;
}

/* ---------- Consistent card treatment ---------- */
body.tnoi-unified .service,
body.tnoi-unified .partner-card,
body.tnoi-unified .course-card,
body.tnoi-unified .school-card,
body.tnoi-unified .info-card,
body.tnoi-unified .photo-card,
body.tnoi-unified .advantages-grid article,
body.tnoi-unified .detail-grid article,
body.tnoi-unified .honour-grid>*{
  border-radius:var(--tnoi-card-radius);
  box-shadow:var(--tnoi-card-shadow);
  overflow:hidden;
}
body.tnoi-unified .course-card,
body.tnoi-unified .school-card,
body.tnoi-unified .info-card,
body.tnoi-unified .advantages-grid article,
body.tnoi-unified .detail-grid article,
body.tnoi-unified .honour-grid>*{
  border-color:var(--tnoi-line);
  background:#fff;
}
body.tnoi-unified .photo-card{transition:transform .2s ease,box-shadow .2s ease}
body.tnoi-unified .photo-card:hover{transform:translateY(-3px);box-shadow:0 14px 34px rgba(41,43,59,.13)}

/* Form appearance only. Existing form behaviour is intentionally untouched. */
body.tnoi-unified input:not([type="checkbox"]):not([type="radio"]),
body.tnoi-unified textarea,
body.tnoi-unified select{
  border-radius:0;
  border-color:#d9d9df;
}

/* ---------- Section-specific contact strip; old links retained ---------- */
.section-contact-strip{
  background:var(--tnoi-light);
  color:var(--tnoi-ink);
  border-top:1px solid var(--tnoi-line);
  padding:28px 0;
  font-size:13px;
}
.section-contact-strip>.wrap{
  display:flex;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}
.section-contact-strip a{color:var(--tnoi-purple)}
.section-contact-strip a:hover{text-decoration:underline}
body.tnoi-ozsky .section-contact-strip{text-align:center}
body.tnoi-ozsky .section-contact-strip>div{width:min(var(--tnoi-width),calc(100% - 42px));margin-inline:auto}
body.tnoi-ozsky .section-contact-strip>div+div{margin-top:8px}

/* ---------- One global footer ---------- */
.tnoi-global-footer{
  background:var(--tnoi-dark);
  color:#eee;
  padding:44px 0 20px;
  font-size:14px;
}
.tnoi-global-footer .tnoi-global-container{
  width:min(var(--tnoi-width),calc(100% - 42px));
  margin-inline:auto;
}
.tnoi-global-footer-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:35px;
}
.tnoi-global-footer p{margin:.35em 0 1em}
.tnoi-global-footer a{color:inherit;text-decoration:none}
.tnoi-global-footer a:hover{color:#8fe1df}
.tnoi-global-footer small{display:block;margin-top:18px;color:#b9b7c0}

/* ---------- Mobile behaviour ---------- */
@media(max-width:1050px){
  .tnoi-global-header-inner{min-height:90px}
  .tnoi-global-brand img{width:205px}
  .tnoi-global-menu{display:block}
  .tnoi-global-nav{
    display:none;
    position:absolute;
    top:100%;left:0;right:0;
    background:#fff;
    padding:20px 24px;
    box-shadow:0 18px 26px rgba(0,0,0,.1);
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }
  .tnoi-global-nav.open{display:flex}
  .tnoi-global-nav a{padding:8px 0}

  body.tnoi-one .section-header>.wrap,
  body.tnoi-ozsky .section-header>.header-inner{min-height:66px}
  body.tnoi-one .section-header .menu,
  body.tnoi-ozsky .section-header .menu{display:block}
  body.tnoi-one .section-header .nav,
  body.tnoi-ozsky .section-header .nav{
    display:none;
    position:absolute;
    top:100%;left:0;right:0;
    background:#fff;
    padding:18px 24px;
    box-shadow:0 16px 24px rgba(0,0,0,.1);
    flex-direction:column;
    align-items:stretch;
    gap:5px;
  }
  body.tnoi-one .section-header .nav.open,
  body.tnoi-ozsky .section-header .nav.open{display:flex}
}

@media(max-width:600px){
  body.tnoi-unified .container,
  body.tnoi-unified .wrap,
  body.tnoi-unified .narrow,
  .tnoi-global-topbar .tnoi-global-container,
  .tnoi-global-header-inner,
  .tnoi-global-footer .tnoi-global-container,
  body.tnoi-one .section-header>.wrap,
  body.tnoi-ozsky .section-header>.header-inner{
    width:min(100% - 30px,var(--tnoi-width));
  }
  .tnoi-global-topbar .tnoi-global-container{justify-content:center}
  .tnoi-global-topbar .tnoi-global-contacts{gap:4px 14px;justify-content:center}
  .tnoi-global-topbar .tnoi-global-social{display:none}
  .tnoi-global-header-inner{min-height:77px}
  .tnoi-global-brand img{width:180px}
  body.tnoi-one .section-context .wrap{display:block;text-align:center;padding:7px 0}
  body.tnoi-one .section-context .wrap span{display:block}
  body.tnoi-one .section-header .brand{font-size:15px}
  body.tnoi-ozsky .section-header .brand img{width:125px}
  body.tnoi-one .page{padding:20px 0 55px}
  body.tnoi-one .section,
  body.tnoi-one .section:first-child,
  body.tnoi-ozsky .services,
  body.tnoi-ozsky .category,
  body.tnoi-ozsky .honours,
  body.tnoi-ozsky .advantages,
  body.tnoi-ozsky .text-page,
  body.tnoi-ozsky .detail{padding-top:55px;padding-bottom:55px}
  .tnoi-global-footer-grid{grid-template-columns:1fr}
}

@media(prefers-reduced-motion:reduce){
  body.tnoi-unified *,body.tnoi-unified *::before,body.tnoi-unified *::after{transition:none!important;scroll-behavior:auto!important}
}

/* ==========================================================================\n   V2 — compact parent-site navigation for One on One and Ozsky\n   The section brand is intentionally dominant; TNOI becomes the parent shell.\n   ========================================================================== */
.tnoi-global-header--compact{
  background:#353238;
  color:#fff;
  border-bottom:0;
  position:relative;
  z-index:40;
}
.tnoi-global-header--compact .tnoi-global-header-inner{
  width:min(1440px,calc(100% - 42px));
  min-height:52px;
  margin-inline:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.tnoi-global-header--compact .tnoi-global-brand{
  flex:0 0 auto;
  line-height:0;
}
.tnoi-global-header--compact .tnoi-global-brand img{
  width:122px;
  height:auto;
  filter:brightness(0) invert(1);
  opacity:.88;
}
.tnoi-global-header--compact .tnoi-global-panel{
  min-width:0;
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:18px;
}
.tnoi-global-header--compact .tnoi-global-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:15px;
  color:#fff;
  font-size:10.5px;
  font-weight:500;
  white-space:nowrap;
}
.tnoi-global-header--compact .tnoi-global-nav a{
  color:#fff;
  padding:4px 0;
}
.tnoi-global-header--compact .tnoi-global-nav a:hover,
.tnoi-global-header--compact .tnoi-global-nav a[aria-current="page"]{
  color:#8fe1df;
}
.tnoi-global-header--compact .tnoi-global-contact{
  border:0;
  background:transparent;
  color:#fff!important;
  padding:4px 0;
  min-height:0;
}
.tnoi-global-header--compact .tnoi-global-contact:hover{
  background:transparent;
  color:#8fe1df!important;
}
.tnoi-global-header--compact .tnoi-global-utility{
  display:flex;
  align-items:center;
  gap:12px;
  padding-left:16px;
  border-left:1px solid rgba(255,255,255,.2);
  color:#e6e4e9;
  font-size:10px;
  white-space:nowrap;
}
.tnoi-global-header--compact .tnoi-global-contacts,
.tnoi-global-header--compact .tnoi-global-social{
  display:flex;
  align-items:center;
  gap:10px;
}
.tnoi-global-header--compact .tnoi-global-utility a{
  color:inherit;
  text-decoration:none;
}
.tnoi-global-header--compact .tnoi-global-utility a:hover{color:#8fe1df}
.tnoi-global-header--compact .tnoi-global-menu{
  display:none;
  margin-left:auto;
  border:0;
  background:transparent;
  color:#fff;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}

/* Let the actual One on One / Ozsky identity lead the page. */
body.tnoi-one .section-header>.wrap,
body.tnoi-ozsky .section-header>.header-inner{
  min-height:88px;
}
body.tnoi-one .section-header .brand{
  font-size:20px;
  font-weight:600;
}
body.tnoi-one .section-header .brand small{
  margin-top:3px;
  font-size:11.5px;
}
body.tnoi-ozsky .section-header .brand img{
  width:178px;
  max-height:62px;
}
body.tnoi-one .section-header .nav .return,
body.tnoi-ozsky .section-header .nav .return{
  border:0;
  padding:8px 0;
  color:var(--tnoi-muted);
  font-size:10.5px;
  font-weight:500;
}
body.tnoi-one .section-header .nav .return:hover,
body.tnoi-ozsky .section-header .nav .return:hover{color:var(--tnoi-purple)}

@media(max-width:1180px){
  .tnoi-global-header--compact .tnoi-global-header-inner{
    width:min(var(--tnoi-width),calc(100% - 42px));
    min-height:52px;
  }
  .tnoi-global-header--compact .tnoi-global-brand img{width:116px}
  .tnoi-global-header--compact .tnoi-global-menu{display:block}
  .tnoi-global-header--compact .tnoi-global-panel{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    background:#353238;
    padding:18px max(24px,calc((100% - var(--tnoi-width))/2));
    box-shadow:0 16px 28px rgba(0,0,0,.18);
  }
  .tnoi-global-header--compact .tnoi-global-panel.open{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:16px;
  }
  .tnoi-global-header--compact .tnoi-global-nav{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px 20px;
    justify-content:stretch;
    white-space:normal;
    font-size:12px;
  }
  .tnoi-global-header--compact .tnoi-global-nav a{padding:6px 0}
  .tnoi-global-header--compact .tnoi-global-utility{
    border-left:0;
    border-top:1px solid rgba(255,255,255,.18);
    padding:13px 0 0;
    justify-content:space-between;
    white-space:normal;
    font-size:11px;
  }
}

@media(max-width:720px){
  .tnoi-global-header--compact .tnoi-global-header-inner{
    width:min(100% - 30px,var(--tnoi-width));
    min-height:50px;
  }
  .tnoi-global-header--compact .tnoi-global-brand img{width:108px}
  .tnoi-global-header--compact .tnoi-global-nav{grid-template-columns:1fr 1fr}
  .tnoi-global-header--compact .tnoi-global-utility{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
  }
  .tnoi-global-header--compact .tnoi-global-contacts,
  .tnoi-global-header--compact .tnoi-global-social{
    flex-wrap:wrap;
    gap:7px 12px;
  }
  body.tnoi-one .section-header>.wrap,
  body.tnoi-ozsky .section-header>.header-inner{min-height:74px}
  body.tnoi-one .section-header .brand{font-size:17px}
  body.tnoi-ozsky .section-header .brand img{width:145px}
}

/* Neutralise the V1 mobile-nav positioning inside the V2 compact parent panel. */
@media(max-width:1050px){
  .tnoi-global-header--compact .tnoi-global-nav{
    position:static;
    inset:auto;
    background:transparent;
    padding:0;
    box-shadow:none;
    align-items:initial;
  }
}

/* ---------- Persistent back-to-top control ---------- */
.tnoi-back-to-top{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:9999;
  width:48px;
  height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:2px solid var(--tnoi-purple);
  border-radius:50%;
  background:var(--tnoi-purple);
  color:#fff;
  box-shadow:0 8px 24px rgba(41,43,59,.22);
  font:600 24px/1 Poppins,Arial,sans-serif;
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,color .18s ease;
}
.tnoi-back-to-top:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(41,43,59,.28);
}
.tnoi-back-to-top:focus-visible{
  outline:3px solid rgba(42,40,102,.28);
  outline-offset:3px;
}
@media (max-width:700px){
  .tnoi-back-to-top{
    right:16px;
    bottom:16px;
    width:44px;
    height:44px;
    font-size:22px;
  }
}


/* Footer consistency pass */

.tnoi-global-footer-grid>div:last-child{text-align:right}
.tnoi-global-footer small{
  border-top:1px solid rgba(255,255,255,.16);
  padding-top:17px;
  margin-top:26px;
}
.tnoi-global-footer small a{
  text-decoration:underline;
  text-underline-offset:3px;
}
@media(max-width:600px){
  .tnoi-global-footer-grid>div:last-child{text-align:left}
}

/* ==========================================================================
   Mobile hardening pass
   ========================================================================== */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}

/* Prevent the legacy Ozsky back-to-top control duplicating the global one. */
body.tnoi-ozsky .return-top{display:none!important}

/* Make long contact details and navigation labels wrap safely. */
.tnoi-global-footer-grid>*{min-width:0}
.tnoi-global-footer a,
.tnoi-global-footer p,
.tnoi-global-nav a,
body.tnoi-one .section-header .nav a,
body.tnoi-ozsky .section-header .nav a{
  overflow-wrap:anywhere;
}

/* Comfortable touch targets for both global and section navigation. */
.tnoi-global-menu,
body.tnoi-one .section-header .menu,
body.tnoi-ozsky .section-header .menu{
  min-width:44px;
  min-height:44px;
  align-items:center;
  justify-content:center;
}
.tnoi-global-menu{padding:6px}
body.tnoi-one .section-header .menu,
body.tnoi-ozsky .section-header .menu{padding:6px}

@media(max-width:1180px){
  .tnoi-global-header--compact .tnoi-global-nav a{
    display:flex;
    align-items:center;
    min-height:44px;
  }
}

@media(max-width:720px){
  body.tnoi-one .section-header .brand,
  body.tnoi-ozsky .section-header .brand{
    min-width:0;
    max-width:calc(100% - 58px);
    overflow-wrap:anywhere;
  }

  body.tnoi-one .section-header .nav a,
  body.tnoi-ozsky .section-header .nav a{
    display:flex;
    align-items:center;
    min-height:44px;
    padding:9px 0;
  }

  .tnoi-global-footer small{
    line-height:1.85;
    overflow-wrap:anywhere;
  }

  .tnoi-back-to-top{
    bottom:calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

/* A two-column navigation becomes cramped on small phones. */
@media(max-width:480px){
  .tnoi-global-header--compact .tnoi-global-nav{
    grid-template-columns:1fr;
    gap:3px;
  }

  body.tnoi-one .button{
    width:100%;
    margin-right:0;
  }

  body.tnoi-ozsky .advantages-grid,
  body.tnoi-ozsky .honour-grid{
    grid-template-columns:1fr;
  }
}

/* Keep the homepage utility/language strip usable instead of leaving an
   empty black strip on narrow screens. */
@media(max-width:600px){
  body.tnoi-core .topbar .social{
    display:flex!important;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:3px 8px;
    font-size:11px;
    line-height:1.5;
    text-align:center;
  }
  body.tnoi-core .topbar .container{
    min-height:36px;
    padding:6px 0;
  }
}



/* ========================================================================
   TNOI site-wide edge alignment (2026-10-17)
   Only global top strips, primary headers and footers expand to viewport.
   Content sections intentionally retain the original ~1170px max width.
   ======================================================================== */
:root { --tnoi-shell-edge-gap: 40px; }

/* Legacy white-shell pages: right-aligned social group, full-width logo/nav. */
body.tnoi-unified .topbar > .container,
body.tnoi-unified .header > .container.header-inner {
  width: calc(100% - 2 * var(--tnoi-shell-edge-gap));
  max-width: none;
  margin-inline: auto;
}
body.tnoi-unified .topbar > .container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
body.tnoi-unified .topbar .social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  margin-left: auto;
}
body.tnoi-unified .header > .container.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body.tnoi-unified .header .nav { margin-left: auto; }

/* Compact Ozsky / One on One shell: separate right-aligned social top strip. */
body.tnoi-unified .tnoi-global-topbar--wide .tnoi-global-container,
body.tnoi-unified .tnoi-global-header--compact .tnoi-global-header-inner,
body.tnoi-unified .tnoi-global-footer > .tnoi-global-container {
  width: calc(100% - 2 * var(--tnoi-shell-edge-gap));
  max-width: none;
  margin-inline: auto;
}
body.tnoi-unified .tnoi-global-topbar--wide .tnoi-global-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 32px;
}
body.tnoi-unified .tnoi-global-topbar--wide .tnoi-global-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  text-align: right;
  margin-left: auto;
  gap: 0 5px;
}
body.tnoi-unified .tnoi-global-header--compact .tnoi-global-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body.tnoi-unified .tnoi-global-header--compact .tnoi-global-panel {
  margin-left: auto;
}

/* Shared footer: office locations hard left, contact information hard right. */
body.tnoi-unified .tnoi-global-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 40px;
}
body.tnoi-unified .tnoi-global-footer-grid > :first-child { text-align: left; }
body.tnoi-unified .tnoi-global-footer-grid > :last-child { text-align: right; }

@media (max-width: 767px) {
  :root { --tnoi-shell-edge-gap: 16px; }
  body.tnoi-unified .topbar .social {
    justify-content: flex-end !important;
    text-align: right !important;
  }
  body.tnoi-unified .tnoi-global-topbar--wide .tnoi-global-container {
    justify-content: flex-end;
    padding-block: 6px;
    min-height: 36px;
  }
  body.tnoi-unified .tnoi-global-topbar--wide .tnoi-global-social {
    justify-content: flex-end;
    line-height: 1.5;
    font-size: 11px;
  }
  body.tnoi-unified .tnoi-global-footer-grid { grid-template-columns: 1fr; gap: 18px; }
  body.tnoi-unified .tnoi-global-footer-grid > :last-child { text-align: left; }
}
