/* =============================================================================
   OTB THEME — MAIN STYLESHEET
   Component-based CSS. Global/shared components (header, footer, buttons,
   eyebrow, cards) are scoped to their own class. Page-specific sections are
   scoped under a unique page wrapper class (.otb-home, .otb-page-platform,
   .otb-page-rights, .otb-page-broadcast, .otb-page-about, .otb-page-contact)
   so nothing leaks between templates.
   Layout uses Bootstrap's grid (container/row/col-*) for structure only;
   all flex layout beyond the grid uses display:flex (never display:grid).
   ============================================================================= */

/* -----------------------------------------------------------------------
   0. SHARED / GLOBAL COMPONENTS
   ----------------------------------------------------------------------- */

.otb-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--otb-font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--otb-gold);
  margin-bottom: 18px;
}

.otb-gold-italic{
  font-family: var(--otb-font-serif);
  font-style: italic;
  color: var(--otb-gold-bright);
}

.otb-section-head{
  text-align:center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.otb-section-head h2{ font-size: clamp(28px, 4vw, 40px); }
.otb-section-head__sub{ color: var(--otb-text-muted); margin-top: 8px; }

/* Buttons — sharp corners (radius 0), exactly as in the mockup */
.otb-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 16px 30px;
  font-family: var(--otb-font-sans);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  border-radius: var(--otb-radius);
  transition: background var(--otb-transition), color var(--otb-transition), border-color var(--otb-transition), transform var(--otb-transition);
  white-space: nowrap;
}
.otb-btn--gold{
  background: var(--otb-gold);
  color: #191305;
}
.otb-btn--gold:hover{ background: var(--otb-gold-bright); transform: translateY(-2px); }
.otb-btn--outline{
  background: transparent;
  color: var(--otb-cream);
  border-color: rgba(255,255,255,0.25);
}
.otb-btn--outline:hover{ border-color: var(--otb-cream); transform: translateY(-2px); }
.otb-btn--sm{ padding: 11px 20px; font-size: 13px; }

.otb-btn-group{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  flex-wrap: wrap;
}

/* Star rating */
.otb-stars{ color: var(--otb-gold); letter-spacing: 3px; font-size: 14px; display:block; margin-bottom: 18px; }

/* -----------------------------------------------------------------------
   1. SITE HEADER
   ----------------------------------------------------------------------- */
.otb-site-header{
  position: sticky;
  top:0;
  z-index: 500;
  background: rgba(10,10,10,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--otb-border);
}
.otb-site-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height: 84px;
}
.otb-brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-family: var(--otb-font-serif);
  font-weight:700;
  font-size: 20px;
  color: var(--otb-cream);
}
.otb-brand img{ height:36px; width:36px; border-radius:50%; }
.otb-brand__mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px; height:36px;
  border:1px solid var(--otb-gold);
  border-radius:50%;
  font-family: var(--otb-font-serif);
  font-style: italic;
  font-size: 12px;
  color: var(--otb-gold);
}
.otb-primary-nav__list{
  display:flex;
  align-items:center;
  gap:36px;
}
.otb-primary-nav__list a{
  font-size: 15px;
  color: var(--otb-text);
  transition: color var(--otb-transition);
  position:relative;
}
.otb-primary-nav__list a:hover{ color: var(--otb-gold-bright); }
.otb-site-header__actions{ display:flex; align-items:center; gap:20px; }

/* Header icons — cart / my account (WooCommerce) */
.otb-header-icons{ display:flex; align-items:center; gap:6px; }
.otb-header-icon{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px; height:38px;
  border-radius:50%;
  color: var(--otb-text);
  transition: color var(--otb-transition), background var(--otb-transition);
}
.otb-header-icon:hover{ color: var(--otb-gold-bright); background: rgba(196,158,84,0.1); }
.otb-header-icon svg{ width:20px; height:20px; }
.otb-header-icon--cart{ margin-right: 4px; }
.otb-cart-count{
  position:absolute;
  top:2px; right:2px;
  min-width:16px; height:16px;
  padding: 0 3px;
  border-radius:50%;
  background: var(--otb-gold);
  color:#191305;
  font-family: var(--otb-font-mono);
  font-size:10px;
  font-weight:700;
  line-height:16px;
  text-align:center;
}
.otb-cart-count:empty,
.otb-cart-count[data-hide="1"]{ display:none; }

.otb-nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width: 28px; height: 22px;
  background:none;
  border:none;
  padding:0;
}
.otb-nav-toggle span{
  display:block;
  height:2px;
  width:100%;
  background: var(--otb-cream);
  transition: transform var(--otb-transition), opacity var(--otb-transition);
}
.otb-nav-toggle.is-active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.otb-nav-toggle.is-active span:nth-child(2){ opacity:0; }
.otb-nav-toggle.is-active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* -----------------------------------------------------------------------
   2. SITE FOOTER
   ----------------------------------------------------------------------- */
.otb-site-footer{
  background: var(--otb-black-soft);
  border-top: 1px solid var(--otb-border);
  padding: 80px 0 28px;
}
.otb-site-footer__top{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:22px;
}
.otb-brand--footer{ justify-content:center; }
.otb-site-footer__tagline{
  color: var(--otb-text-muted);
  max-width: 480px;
  font-size: 14px;
}
.otb-footer-nav__list{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:32px;
}
.otb-footer-nav__list a{ font-size:14px; color: var(--otb-text); }
.otb-footer-nav__list a:hover{ color: var(--otb-gold-bright); }

.otb-social-list{ display:flex; gap:14px; }
.otb-social-list a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:36px; height:36px;
  border-radius:50%;
  border: 1px solid var(--otb-border-soft);
  font-family: var(--otb-font-mono);
  font-size: 12px;
  color: var(--otb-gold);
}
.otb-social-list a:hover{ background: var(--otb-gold); color:#191305; }

.otb-site-footer__bottom{
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--otb-border);
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.otb-site-footer__copyright{ margin:0; font-size:13px; color: var(--otb-text-faint); }

/* -----------------------------------------------------------------------
   3. HOME PAGE  — .otb-home
   ----------------------------------------------------------------------- */
.otb-home section{ position: relative; }

/* --- Hero --- */
.otb-home .otb-hero{
  padding: 90px 0 0;
  text-align:center;
  overflow:hidden;
}
.otb-home .otb-hero__mark{
  width:80px; height:80px;
  margin: 0 auto 28px;
  border-radius:50%;
  border:1px solid var(--otb-gold);
  display:flex;
  align-items:center;
  justify-content:center;
}
.otb-home .otb-hero__mark span{
  font-family: var(--otb-font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--otb-gold);
}
.otb-home .otb-hero__heading{
  font-size: clamp(34px, 5.4vw, 58px);
  max-width: 900px;
  margin: 0 auto 24px;
}
.otb-home .otb-hero__subtext{
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--otb-text-muted);
  font-size: 17px;
}
.otb-home .otb-hero__media{ margin-top: 64px; }
.otb-home .otb-hero__frame{
  border: 1px solid var(--otb-border-soft);
  padding: 10px;
  will-change: transform;
}
.otb-home .otb-hero__frame img{ width:100%; height:auto; filter: saturate(1.05); }

/* --- Intro --- */
.otb-home .otb-intro{ padding: var(--otb-section-pad) 0 60px; text-align:center; }
.otb-home .otb-intro__inner{ max-width: 820px; }
.otb-home .otb-intro__text{ font-family: var(--otb-font-serif); font-size: clamp(19px, 2.4vw, 24px); color: var(--otb-cream); line-height:1.6; }

/* --- Stats --- */
.otb-home .otb-stats{ background: var(--otb-section-alt); border-top:1px solid var(--otb-border); border-bottom:1px solid var(--otb-border); }
.otb-home .otb-stat{
  text-align:center;
  padding: 44px 20px;
  border-right: 1px solid var(--otb-border);
}
.otb-home .row.g-0 > [class*="col-"]:last-child .otb-stat{ border-right:none; }
.otb-home .otb-stat__number{ display:block; font-family: var(--otb-font-serif); font-size: 34px; color: var(--otb-gold); margin-bottom:6px; }
.otb-home .otb-stat__label{ display:block; font-size: 13px; color: var(--otb-text-muted); }

/* --- Pillars --- */
.otb-home .otb-pillars{ padding: var(--otb-section-pad) 0; }
.otb-home .otb-pillars__row{ border-top: 1px solid var(--otb-border); }
.otb-home .otb-pillar{
  padding: 40px 32px;
  border-right: 1px solid var(--otb-border);
  height:100%;
}
.otb-home .otb-pillars__row > [class*="col-"]:last-child .otb-pillar{ border-right:none; }
.otb-home .otb-pillar__number{ display:block; font-family: var(--otb-font-mono); color: var(--otb-gold); font-size:12px; margin-bottom: 18px; }
.otb-home .otb-pillar h3{ font-size: 22px; margin-bottom: 12px; }
.otb-home .otb-pillar p{ color: var(--otb-text-muted); margin:0; font-size:15px; }

/* --- Services --- */
.otb-home .otb-services,
.otb-inner-page .otb-services{ background: var(--otb-section-alt); padding: var(--otb-section-pad) 0; }
.otb-service-card{
  background: var(--otb-card-bg);
  border: 1px solid var(--otb-border);
  padding: 40px 32px;
  height:100%;
  transition: border-color var(--otb-transition), transform var(--otb-transition);
}
.otb-service-card:hover{ border-color: var(--otb-border-soft); transform: translateY(-4px); }
.otb-service-card__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px; height:44px;
  border: 1px solid var(--otb-gold);
  color: var(--otb-gold);
  margin-bottom: 24px;
}
.otb-service-card__icon svg{ width:20px; height:20px; }
.otb-service-card h3{ font-size:19px; margin-bottom:10px; }
.otb-service-card p{ color: var(--otb-text-muted); font-size:14px; margin:0; }

/* --- CTA strip --- */
.otb-cta-strip{
  background: var(--otb-black-soft);
  border-top:1px solid var(--otb-border);
  border-bottom:1px solid var(--otb-border);
  padding: 56px 0;
}
.otb-cta-strip__inner{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.otb-cta-strip__text{ font-family: var(--otb-font-serif); font-size: 22px; color: var(--otb-cream); max-width: 640px; margin:0; }
.otb-cta-strip .otb-btn{ flex-shrink:0; }

/* --- Mission --- */
.otb-home .otb-mission{ padding: var(--otb-section-pad) 0; }
.otb-home .otb-mission__content h2{ font-size: clamp(28px,4vw,38px); }
.otb-home .otb-mission__content p{ color: var(--otb-text-muted); max-width: 480px; }
.otb-home .otb-mission__points{ margin-top: 24px; display:flex; flex-wrap:wrap; }
.otb-home .otb-mission__points li{ list-style:none; padding: 10px 0; font-size: 14px; color: var(--otb-text); }
.otb-home .otb-mission__media{
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1/1;
  max-width: 560px;
  margin: 40px auto 0;
  will-change: transform;
}
.otb-home .otb-mission__media img{ width:100%; height:100%; object-fit:cover; }

/* --- Channels --- */
.otb-home .otb-channels{ padding: var(--otb-section-pad) 0; }
.otb-channel-card{
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  height: 320px;
  background-size: cover;
  background-position:center;
  padding: 24px;
  position:relative;
  border: 1px solid var(--otb-border);
}
.otb-channel-card::before{
  content:'';
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.05));
}
.otb-channel-card__label,
.otb-channel-card__title{ position:relative; z-index:1; color: var(--otb-cream); }
.otb-channel-card__label{ display:block; font-family: var(--otb-font-mono); font-size: 12px; color: var(--otb-gold-bright); margin-bottom:6px; }
.otb-channel-card__title{ display:block; font-family: var(--otb-font-serif); font-size: 22px; font-weight:700; }

/* --- Reasons --- */
.otb-home .otb-reasons{ background: var(--otb-section-alt); padding: var(--otb-section-pad) 0; }
.otb-reason{ text-align:center; padding: 12px; }
.otb-reason h3{ font-size:18px; margin-bottom:6px; }
.otb-reason p{ font-size:13px; color: var(--otb-text-muted); margin:0; }

/* --- Testimonials --- */
.otb-home .otb-testimonials{ padding: var(--otb-section-pad) 0; }
.otb-testimonial{ text-align:center; padding: 0 12px; border-top: 1px solid var(--otb-border); padding-top: 32px; }
.otb-testimonial__quote{ font-family: var(--otb-font-serif); font-style: italic; font-size: 18px; color: var(--otb-cream); margin-bottom: 24px; }
.otb-testimonial__author{ display:flex; align-items:center; justify-content:center; gap:12px; }
.otb-testimonial__avatar{ width:44px; height:44px; border-radius:50%; object-fit:cover; border: 1px solid var(--otb-border-soft); }
.otb-testimonial__author span{ display:flex; flex-direction:column; text-align:left; font-size:13px; }
.otb-testimonial__author strong{ color: var(--otb-cream); font-weight:600; }
.otb-testimonial__author small{ color: var(--otb-text-faint); }

/* --- FAQ --- */
.otb-home .otb-faq,
.otb-inner-page .otb-faq{ background: var(--otb-section-alt); padding: var(--otb-section-pad) 0; }
.otb-faq__list{ max-width: 780px; margin:0 auto; }
.otb-faq__item{ border-bottom: 1px solid var(--otb-border); }
.otb-faq__question{
  width:100%;
  display:flex;
  align-items:baseline;
  gap:20px;
  background:none;
  border:none;
  color: var(--otb-cream);
  font-family: var(--otb-font-serif);
  font-size: 19px;
  text-align:left;
  padding: 28px 0;
}
.otb-faq__index{ font-family: var(--otb-font-mono); font-size:12px; color: var(--otb-gold); flex-shrink:0; }
.otb-faq__answer{
  max-height:0;
  overflow:hidden;
  transition: max-height var(--otb-transition);
}
.otb-faq__answer p{ color: var(--otb-text-muted); padding-bottom: 26px; padding-left: 38px; max-width: 620px; margin:0; }
.otb-faq__item.is-open .otb-faq__answer{ max-height: 300px; }
.otb-faq__item.is-open .otb-faq__question{ color: var(--otb-gold-bright); }

/* --- Final CTA --- */
.otb-final-cta{
  background-size: cover;
  background-position:center;
  background-attachment: fixed;
  padding: 140px 0;
  text-align:center;
  position: relative;
  overflow: hidden;
}
.otb-final-cta::before{ content:''; position:absolute; inset:0; background: rgba(6,6,6,0.72); }
.otb-final-cta__inner{ position:relative; z-index:1; }
.otb-final-cta .otb-hero__mark{ width:70px; height:70px; margin:0 auto 24px; border-radius:50%; border:1px solid var(--otb-gold); display:flex; align-items:center; justify-content:center; }
.otb-final-cta .otb-hero__mark span{ font-family: var(--otb-font-serif); font-style: italic; color: var(--otb-gold); }
.otb-final-cta h2{ font-size: clamp(30px,5vw,46px); margin-bottom: 18px; }
.otb-final-cta p{ color: var(--otb-text); max-width: 520px; margin: 0 auto 32px; }

/* -----------------------------------------------------------------------
   4. INNER PAGES (Platform / Rights / Broadcast / About)  — .otb-inner-page
   ----------------------------------------------------------------------- */
.otb-inner-page .otb-page-header{
  background-size: cover;
  background-position:center;
  background-attachment: fixed;
  padding: 160px 0 100px;
  text-align:center;
  position: relative;
  overflow: hidden;
}
.otb-inner-page .otb-page-header::before{ content:''; position:absolute; inset:0; background: rgba(8,8,8,0.78); }
.otb-inner-page .otb-page-header__inner{ position:relative; z-index:1; max-width: 720px; margin:0 auto; }
.otb-inner-page .otb-page-header h1{ font-size: clamp(32px,5vw,50px); }
.otb-inner-page .otb-page-header p{ color: var(--otb-text); font-size:17px; }

.otb-inner-page .otb-page-intro{ padding: 90px 0 80px; text-align:center; background: var(--otb-section-alt); border-bottom: 1px solid var(--otb-border); }
.otb-inner-page .otb-page-intro__inner{ max-width: 780px; margin:0 auto; }
.otb-inner-page .otb-page-intro__inner p{ font-family: var(--otb-font-serif); font-size: clamp(18px,2.2vw,22px); color: var(--otb-cream); }

.otb-inner-page .otb-feature-block-section{ padding: 80px 0; background: var(--otb-black); border-bottom: 1px solid var(--otb-border); }
.otb-inner-page .otb-feature-block-section--alt{ background: var(--otb-section-alt); }
.otb-inner-page .otb-feature-block--reverse .col-lg-6:first-child{ order:2; }
.otb-inner-page .otb-feature-block__media{ overflow:hidden; will-change: transform; border: 1px solid var(--otb-border); }
.otb-inner-page .otb-feature-block__media img{ width:100%; height:100%; object-fit:cover; aspect-ratio: 4/3; }
.otb-inner-page .otb-feature-block__content{ padding: 0 12px; }
.otb-inner-page .otb-feature-block__content h2{ font-size: clamp(24px,3vw,32px); }
.otb-inner-page .otb-feature-block__content p{ color: var(--otb-text-muted); }

.otb-inner-page .otb-page-native-content{ padding: 40px 0 100px; color: var(--otb-text-muted); }

/* Legal pages (Privacy Policy, Terms of Use, etc.) — long-form content
   gets its own readable column width and an alt background stripe so it
   doesn't sit as a flat wall of black under the header banner. */
.otb-page-legal .otb-page-native-content--legal{
  background: var(--otb-section-alt);
  padding: 80px 0 110px;
}
.otb-page-legal .otb-page-native-content--legal .otb-container{
  max-width: 820px;
}
.otb-page-legal .otb-page-native-content--legal h2,
.otb-page-legal .otb-page-native-content--legal h3{
  margin-top: 48px;
}
.otb-page-legal .otb-page-native-content--legal > .otb-container > *:first-child,
.otb-page-legal .otb-page-native-content--legal h2:first-child,
.otb-page-legal .otb-page-native-content--legal h3:first-child{
  margin-top: 0;
}
.otb-page-legal .otb-page-native-content--legal p{
  line-height: 1.8;
}

/* -----------------------------------------------------------------------
   Defensive overrides for pasted / block-editor content
   -----------------------------------------------------------------------
   Content pasted into the block editor from Word, Google Docs, or a web
   page often carries inline `style="color:#000000"` (and sometimes a
   white/light inline background) baked directly onto the text. Inline
   styles normally beat theme CSS, so on a dark theme that content becomes
   near-invisible. `!important` here is intentional and necessary: it's
   the only way a stylesheet rule can out-rank an inline style, and this
   scope is narrow (only inside rendered post/page content).
   ----------------------------------------------------------------------- */
.otb-page-native-content p,
.otb-page-native-content li,
.otb-page-native-content span,
.otb-page-native-content div,
.otb-page-native-content strong,
.otb-page-native-content em,
.otb-page-native-content blockquote{
  color: var(--otb-text-muted) !important;
  background: none !important;
}
.otb-page-native-content h1,
.otb-page-native-content h2,
.otb-page-native-content h3,
.otb-page-native-content h4,
.otb-page-native-content h5,
.otb-page-native-content h6{
  color: var(--otb-cream) !important;
  background: none !important;
}
.otb-page-native-content a{
  color: var(--otb-gold-bright) !important;
  text-decoration: underline;
}
.otb-page-native-content ul,
.otb-page-native-content ol{
  padding-left: 22px;
  margin-bottom: 16px;
}
.otb-page-native-content ul{ list-style: disc; }
.otb-page-native-content ol{ list-style: decimal; }

/* Contact page specifics — .otb-page-contact */
.otb-page-contact .otb-contact-main{ padding: var(--otb-section-pad) 0; }
.otb-page-contact .otb-contact-info{
  background: var(--otb-card-bg);
  border: 1px solid var(--otb-border);
  padding: 36px;
  height:100%;
}
.otb-page-contact .otb-contact-info h3{ font-size:19px; margin-bottom: 22px; }
.otb-page-contact .otb-contact-info ul{ display:flex; flex-direction:column; gap:20px; }
.otb-page-contact .otb-contact-info__label{ display:block; font-family: var(--otb-font-mono); font-size:11px; letter-spacing:2px; text-transform:uppercase; color: var(--otb-gold); margin-bottom:6px; }
.otb-page-contact .otb-contact-info a,
.otb-page-contact .otb-contact-info span{ color: var(--otb-text); font-size:15px; }
.otb-page-contact .otb-contact-info a:hover{ color: var(--otb-gold-bright); }

.otb-page-contact .otb-contact-form-wrap{
  background: var(--otb-card-bg);
  border: 1px solid var(--otb-border);
  padding: 40px;
  margin-top: 24px;
}
.otb-page-contact .otb-contact-form-wrap h3{ font-size:19px; margin-bottom:24px; }

@media (min-width: 992px){
  .otb-page-contact .otb-contact-form-wrap{ margin-top:0; }
}

/* CXM embed wrapper — no padding/border by default so the embedded form
   sits flush inside .otb-contact-form-wrap without a double box. The
   dashed placeholder box only applies when no embed code has been added
   yet (see .otb-cxm-embed--empty, set in functions.php). */
.otb-cxm-embed{
  padding: 0;
}
.otb-cxm-embed--empty{
  border: 1px dashed var(--otb-border-soft);
  padding: 32px;
  min-height: 220px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.otb-cxm-placeholder{ color: var(--otb-text-faint); font-size:14px; margin:0; }
.otb-cxm-placeholder code{ color: var(--otb-gold); background:none; }
