/* Best in Class theme, October 2026.
   Loaded after each page's inline styles so the whole site shares one look:
   deep blue base, gold for CTAs and the emphasised word, red for small accents only.
   The new homepage carries its own full stylesheet and does not load this file. */

html:root {
  --navy: #0B1D3A;
  --navy-light: #13294F;
  --gold: #E3B23C;
  --gold-text: #B8860B;
  --red: #C4342B;
  --yellow: #E3B23C;
  --yellow-soft: #FBF1D6;
  --off-white: #F8F6F1;
  --warm-gray: #F2EEE6;
  --border: #E6E1D8;
  --text-body: #2E3442;
  --text-light: #626A7A;
  --font-display: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Libre Franklin', 'Helvetica Neue', Arial, sans-serif;
}

body { font-family: var(--font-body); }

/* DM Serif Display sits larger than the old serif faces: scale headings down to the same visual size */
h1, h2, h3, h4, blockquote,
[class*="__title"], [class*="__heading"], [class*="-title"], [class*="-heading"] {
  font-family: var(--font-display);
  font-size-adjust: 0.42;
  letter-spacing: -0.015em;
}
h1, h2, h3, [class*="__title"], [class*="__heading"] { font-weight: 400; }
h1 em, h2 em, h3 em, [class*="__title"] em, [class*="__heading"] em { font-style: normal; color: var(--gold-text); }
[class*="hero"] h1 em, [class*="hero"] h2 em, [class*="header"] h1 em, [class*="cta"] h2 em,
[class*="banner"] h2 em, [class*="dark"] h2 em, [class*="navy"] h2 em { color: var(--gold); }

/* One CTA colour: gold with deep blue text */
.btn-primary, a.btn-primary, button.btn-primary, .nav .btn-primary {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--navy) !important;
  border-radius: 0;
  font-weight: 600;
}
.btn-primary:hover { background: #F0C24F !important; border-color: #F0C24F !important; box-shadow: 0 8px 24px rgba(227,178,60,0.35) !important; }
.btn, .btn-outline, .btn-outline--light { border-radius: 0; }

/* Content is always visible: no scroll-reveal hiding (playbook rule 7) */
.fade-up, .js-loaded .fade-up, .js .fade-up { opacity: 1 !important; transform: none !important; }

/* Best in Class pointer used on topic landing pages and the speaking page */
.bic-link { display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; background: var(--navy); color: #fff; border-radius: 2px; padding: 1.3rem 1.6rem; margin: 2.5rem 0; text-decoration: none; }
.bic-link__seal { width: 64px; height: 64px; border-radius: 0; background: var(--gold); color: var(--navy); display: grid; place-items: center; text-align: center; font-family: var(--font-display); font-weight: 400; font-size: 0.62rem; line-height: 1.05; }
.bic-link__text b { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 400; color: #fff; }
.bic-link__text span { font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.bic-link__arrow { color: var(--gold); font-size: 1.3rem; }

/* Stat + awareness-day blocks shared with the keynote pages */
.bic-stat { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; background: var(--navy); color: #fff; border-radius: 2px; padding: 1.6rem 1.8rem; margin: 2rem 0; }
.bic-stat__num { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 4.4vw, 3.4rem); color: var(--gold); line-height: 1; }
.bic-stat p { margin: 0; color: rgba(255,255,255,0.88); font-size: 0.98rem; line-height: 1.55; }
.bic-stat p strong { color: #fff; }
.bic-stat small { display: block; margin-top: 0.45rem; font-size: 0.76rem; color: rgba(255,255,255,0.55); }
.bic-stat small a { color: inherit; text-decoration: underline; }
.bic-days { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.bic-days { gap: 0; flex-direction: column; border-top: 1px solid var(--border); }
.bic-days li { font-size: 0.92rem; color: var(--text-body); padding: 0.55rem 0; border-bottom: 1px solid var(--border); }
.bic-photo { width: 100%; height: auto; border-radius: 2px; margin: 2.2rem 0; object-fit: cover; aspect-ratio: 16/9; }
@media (max-width: 640px) {
  .bic-stat { grid-template-columns: 1fr; gap: 0.5rem; }
  .bic-link { grid-template-columns: auto 1fr; }
  .bic-link__arrow { display: none; }
}

/* Editorial shapes on the older pages: no pills, no soft rounded cards */
[class*="card"], [class*="badge"], [class*="pill"], [class*="chip"], [class*="tag"], [class*="filter"] button,
[class*="__label"], [class*="cert"], [class*="stat"], [class*="box"], [class*="aside"], iframe, input, select, textarea, button {
  border-radius: 0 !important;
}
.btn, a.btn { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; font-weight: 600; }
h1 em, h2 em { font-style: italic; }
[class*="image"], [class*="photo"], [class*="img"], [class*="portrait"], [class*="gallery"],
[class*="image"] img, [class*="photo"] img, [class*="img"] img, [class*="portrait"] img, [class*="gallery"] img,
section img:not([class*="logo"]):not([class*="avatar"]) {
  border-radius: 0 !important;
}
