/*
Theme Name: BOTWC Reimagined
Theme URI: https://www.becauseofthemwecan.com
Author: Because of Them We Can
Author URI: https://www.becauseofthemwecan.com
Description: A custom editorial theme for Because of Them We Can® — the home of Black excellence. Refined, warm, and built to make 12+ years of stories discoverable.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: botwc
Tags: editorial, magazine, blog, custom-logo, custom-menu, featured-images

Because of Them We Can® is the Internet's most inspiring platform for Black History and Excellence.
*/

/* ═══════════════════════════════════════════
   CSS RESET — Ensures theme works independently
   ═══════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ═══════════════════════════════════════════
   DESIGN SYSTEM — CSS CUSTOM PROPERTIES
   ═══════════════════════════════════════════ */

:root {
  /* Colors */
  --botwc-black: #0A0A0A;
  --botwc-off-black: #1A1A1A;
  --botwc-warm-black: #1E1B18;
  --botwc-gold: #C8A84E;
  --botwc-gold-light: #E8D59A;
  --botwc-cream: #F5F0E8;
  --botwc-warm-white: #FAF8F4;
  --botwc-warm-gray: #B8B0A4;
  --botwc-mid-gray: #6B6560;
  --botwc-rust: #A0522D;
  --botwc-deep-brown: #2C1810;
  --botwc-white: #FFFFFF;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Serif 4', Georgia, serif;
  --font-ui: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --space-5xl: 100px;

  /* Layout */
  --max-width: 1400px;
  --content-width: 760px;
  --sidebar-width: 280px;
  --nav-height: 68px;
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-pill: 32px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.9;
  color: var(--botwc-black);
  background: var(--botwc-warm-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--botwc-gold);
}

::selection {
  background: var(--botwc-gold-light);
  color: var(--botwc-black);
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--botwc-cream); }
::-webkit-scrollbar-thumb { background: var(--botwc-warm-gray); border-radius: 3px; }


/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--botwc-black);
}

h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: clamp(22px, 2.5vw, 28px); }
h4 { font-size: clamp(17px, 2vw, 20px); }

.accent-text {
  font-style: italic;
  color: var(--botwc-gold);
}

.label {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--botwc-gold);
}

.label-with-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.label-with-line::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--botwc-gold);
}

.body-text {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.9;
  color: var(--botwc-off-black);
}

.ui-text {
  font-family: var(--font-ui);
  font-size: 14px;
  line-height: 1.6;
  color: var(--botwc-mid-gray);
}

.category-tag {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--botwc-gold);
}

.topic-tag {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  background: var(--botwc-cream);
  color: var(--botwc-mid-gray);
  padding: 4px 14px;
  border-radius: var(--border-radius-pill);
  display: inline-block;
  transition: all var(--transition-fast);
}

.topic-tag:hover {
  background: var(--botwc-black);
  color: var(--botwc-warm-white);
}


/* ═══════════════════════════════════════════
   LAYOUT UTILITIES
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   ELEMENTOR CONFLICT OVERRIDES
   ═══════════════════════════════════════════ */

.botwc-wrap,
.botwc-wrap *,
.botwc-wrap *::before,
.botwc-wrap *::after {
  box-sizing: border-box;
}

.botwc-wrap img {
  max-width: 100%;
  height: auto;
}

.botwc-wrap a {
  text-decoration: none;
  color: inherit;
}

/* Reset Elementor container styles that leak through */
.botwc-wrap .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
}

.botwc-wrap .elementor-section,
.botwc-wrap .elementor-column {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Kill Elementor button/input overrides that create yellow blocks */
.site-nav button,
.site-nav input,
.botwc-wrap button:not(.btn-primary),
.botwc-wrap input[type="button"]:not(.btn-primary),
.botwc-wrap input[type="submit"]:not(.btn-primary) {
  background-color: transparent;
}

/* Override any plugin that forces gold/yellow on generic elements */
.elementor-button,
.e-button,
a.elementor-button {
  background-color: inherit !important;
}

/* ═══════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════ */

.container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 var(--space-2xl);
  width: 100%;
}

.section {
  padding: var(--space-4xl) var(--space-2xl);
}

.section-dark {
  background: var(--botwc-black);
  color: var(--botwc-warm-white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--botwc-warm-white);
}

.section-gradient h1,
.section-gradient h2,
.section-gradient h3,
.section-gradient h4 {
  color: var(--botwc-warm-white);
}

.section-cream {
  background: var(--botwc-cream);
}

.section-gradient {
  background: linear-gradient(135deg, var(--botwc-deep-brown) 0%, var(--botwc-black) 100%);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-height);
  padding: 0 var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: all var(--transition-smooth);
}

.site-nav.scrolled {
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--botwc-cream);
}

.site-nav__logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.site-nav__links {
  display: flex;
  gap: 28px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-nav__links li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.site-nav__links a {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--botwc-mid-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition-base);
}

.site-nav__links li.mobile-only-link {
  display: none;
}

.site-nav__links a:hover,
.site-nav__links a.active {
  color: var(--botwc-gold);
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav__search {
  width: 34px;
  height: 34px;
  border-radius: 50% !important;
  border: 1px solid var(--botwc-warm-gray) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent !important;
  color: var(--botwc-black) !important;
  transition: all var(--transition-base);
  padding: 0 !important;
  min-width: 34px;
}

.site-nav__search:hover {
  background: var(--botwc-black) !important;
  border-color: var(--botwc-black) !important;
  color: var(--botwc-warm-white) !important;
}

.site-nav__search svg {
  width: 13px;
  height: 13px;
}


/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */

.btn {
  font-family: var(--font-ui);
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  font-size: 14px;
  background: var(--botwc-black);
  color: var(--botwc-warm-white);
  padding: 14px 32px;
  border-radius: var(--border-radius-pill);
}

.btn-primary:hover {
  background: var(--botwc-off-black);
  transform: translateY(-1px);
  color: var(--botwc-warm-white);
}

.btn-outline {
  font-size: 14px;
  background: transparent !important;
  color: var(--botwc-black) !important;
  padding: 14px 32px;
  border-radius: var(--border-radius-pill);
  border: 1.5px solid var(--botwc-black) !important;
}

.btn-outline:hover {
  background: var(--botwc-black) !important;
  color: var(--botwc-warm-white) !important;
}

/* Nuclear: kill any gold/yellow on nav buttons */
.site-nav .btn-outline,
.site-nav a.btn-outline {
  background: transparent !important;
  background-color: transparent !important;
}

.btn-small {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 22px;
  border-radius: var(--border-radius-pill);
}

.btn-gold {
  background: var(--botwc-gold);
  color: var(--botwc-black);
}

.btn-gold:hover {
  background: var(--botwc-gold-light);
  color: var(--botwc-black);
}


/* ═══════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════ */

.story-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.story-card:hover {
  transform: translateY(-4px);
}

.story-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.story-card:hover .story-card__image {
  transform: scale(1.04);
}

.story-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.3) 50%, transparent 100%);
}

.story-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px;
  z-index: 2;
}

.story-card__title {
  font-family: var(--font-heading);
  color: var(--botwc-white);
  line-height: 1.2;
  margin-top: 12px;
}

.story-card__excerpt {
  font-family: var(--font-ui);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 400px;
}

/* Minimal card (grid style, no overlay) */
.story-card-minimal {
  cursor: pointer;
  transition: transform var(--transition-base);
}

.story-card-minimal:hover {
  transform: translateY(-4px);
}

.story-card-minimal__image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.story-card-minimal__image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.story-card-minimal:hover .story-card-minimal__image img {
  transform: scale(1.04);
}

.story-card-minimal__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: var(--space-sm);
}

.story-card-minimal__topics {
  display: flex;
  gap: 6px;
  margin-top: var(--space-sm);
  flex-wrap: wrap;
}

/* Editor's Pick badge */
.badge-pick {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--botwc-gold);
  color: var(--botwc-black);
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  z-index: 3;
}


/* ═══════════════════════════════════════════
   COLLECTION CARDS
   ═══════════════════════════════════════════ */

.collection-card {
  position: relative;
  height: 280px;
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.collection-card__image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(40%);
  transition: transform 0.7s ease, filter var(--transition-slow);
}

.collection-card:hover .collection-card__image {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.collection-card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
}

.collection-card__content {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 2;
}

.collection-card__count {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 500;
  color: var(--botwc-gold-light);
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition-smooth);
}

.collection-card:hover .collection-card__count {
  opacity: 1;
  transform: translateY(0);
}

.collection-card__title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--botwc-white);
  line-height: 1.2;
  margin-bottom: 4px;
}

.collection-card__subtitle {
  font-family: var(--font-ui);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}


/* ═══════════════════════════════════════════
   TOPIC PILLS
   ═══════════════════════════════════════════ */

.topic-pill {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: var(--border-radius-pill);
  border: 1.5px solid var(--botwc-warm-gray);
  color: var(--botwc-mid-gray);
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-block;
}

.topic-pill:hover,
.topic-pill.active {
  background: var(--botwc-black);
  color: var(--botwc-warm-white);
  border-color: var(--botwc-black);
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════════
   TRENDING LIST
   ═══════════════════════════════════════════ */

.trending-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 14px;
  border-bottom: 1px solid rgba(184, 176, 164, 0.25);
  cursor: pointer;
  transition: all var(--transition-base);
}

.trending-item:hover {
  background: var(--botwc-cream);
  padding-left: 24px;
  border-radius: var(--border-radius-sm);
}

.trending-item__number {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--botwc-gold);
  min-width: 32px;
  line-height: 1;
}

.trending-item__tag {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--botwc-rust);
  margin-bottom: 5px;
}

.trending-item__title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

.trending-item__meta {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--botwc-warm-gray);
  margin-top: 5px;
}


/* ═══════════════════════════════════════════
   SINGLE ARTICLE
   ═══════════════════════════════════════════ */

.article-hero {
  height: 420px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center 30%;
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.7) 0%, transparent 60%);
}

.article-container {
  max-width: var(--content-width);
  margin: -80px auto 0;
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.article-inner {
  background: var(--botwc-warm-white);
  border-radius: 20px 20px 0 0;
  padding: var(--space-2xl) 56px 0;
}

.article-meta {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--botwc-warm-gray);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.article-meta .category-tag {
  color: var(--botwc-gold);
}

.article-title {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  max-width: 600px;
}

.article-excerpt {
  font-family: var(--font-ui);
  font-size: 18px;
  color: var(--botwc-mid-gray);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: var(--space-xl);
}

/* ═══ FONT OVERRIDES (high specificity to beat Elementor) ═══ */
body .article-body,
body .article-body p,
body .article-body li,
body .article-body span {
  font-family: 'Source Serif 4', Georgia, serif !important;
}

body h1, body h2, body h3, body h4, body h5, body h6,
body .story-card__title,
body .article-title,
body .collection-card__title {
  font-family: 'Playfair Display', Georgia, serif !important;
}

body .category-tag,
body .label,
body .ui-text,
body .topic-tag,
body .btn,
body .trending-item__tag {
  font-family: 'DM Sans', -apple-system, sans-serif !important;
}

.article-body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 19px;
  line-height: 1.9;
  color: var(--botwc-dark-gray);
}

.article-body p {
  margin-bottom: var(--space-lg);
}

.article-body blockquote {
  border-left: 3px solid var(--botwc-gold);
  margin: 40px 0;
  padding: 8px 0 8px 32px;
}

.article-body blockquote p {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  color: var(--botwc-black);
  margin: 0;
}

.article-body blockquote cite {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--botwc-warm-gray);
  font-style: normal;
  display: block;
  margin-top: 12px;
}

.article-share {
  display: flex;
  gap: 10px;
  align-items: center;
}

.article-share__btn {
  width: 36px;
  height: 36px;
  border-radius: 50% !important;
  background: var(--botwc-cream) !important;
  color: var(--botwc-black) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  border: none !important;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  padding: 0 !important;
}

.article-share__btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.article-share__btn:hover {
  background: var(--botwc-black) !important;
  color: var(--botwc-warm-white) !important;
}

.article-share__btn:hover svg {
  stroke: var(--botwc-warm-white);
  fill: var(--botwc-warm-white);
}


/* ═══════════════════════════════════════════
   TRAILBLAZER CARD (in-article)
   ═══════════════════════════════════════════ */

.trailblazer-inline {
  background: var(--botwc-cream);
  border-radius: var(--border-radius);
  padding: 28px;
  margin: 40px 0;
  display: flex;
  gap: 20px;
  align-items: center;
}

.trailblazer-inline__avatar {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.trailblazer-inline__label {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--botwc-gold);
  margin-bottom: 4px;
}

.trailblazer-inline__name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
}

.trailblazer-inline__field {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--botwc-mid-gray);
}


/* ═══════════════════════════════════════════
   NEWSLETTER CTA
   ═══════════════════════════════════════════ */

.newsletter {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter__input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius-pill);
  padding: 12px 22px;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--botwc-warm-gray);
  outline: none;
}

.newsletter__input:focus {
  border-color: var(--botwc-gold);
}

.newsletter__form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}


/* ═══════════════════════════════════════════
   LEARNING HUB PROMO
   ═══════════════════════════════════════════ */

.hub-promo {
  background: linear-gradient(135deg, var(--botwc-cream) 0%, #EDE5D8 100%);
  border-radius: 20px;
  padding: 56px;
  display: flex;
  gap: 56px;
  align-items: center;
}

.hub-promo__image {
  width: 340px;
  height: 280px;
  border-radius: var(--border-radius);
  object-fit: cover;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.site-footer {
  padding: 64px var(--space-2xl) 40px;
  background: var(--botwc-black);
}

.site-footer__grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.site-footer__logo img {
  height: 48px;
  filter: brightness(0) invert(1);
  margin-bottom: 14px;
}

.site-footer__desc {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--botwc-warm-gray);
  line-height: 1.7;
}

.site-footer__col-title {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--botwc-gold);
  margin-bottom: 18px;
}

.site-footer__links {
  list-style: none;
}

.site-footer__links li {
  margin-bottom: 12px;
}

.site-footer__links a {
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--botwc-warm-gray);
  transition: color var(--transition-fast);
}

.site-footer__links a:hover {
  color: var(--botwc-warm-white);
}

.site-footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
}

.site-footer__copyright {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--botwc-mid-gray);
}

.site-footer__legal {
  display: flex;
  gap: 20px;
}

.site-footer__legal a {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--botwc-mid-gray);
}


/* ═══════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════ */

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.pagination__item {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--botwc-mid-gray);
  border: 1px solid var(--botwc-cream);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.pagination__item:hover,
.pagination__item.active {
  background: var(--botwc-black);
  color: var(--botwc-warm-white);
  border-color: var(--botwc-black);
  font-weight: 700;
}


/* ═══════════════════════════════════════════
   BREADCRUMBS
   ═══════════════════════════════════════════ */

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-lg);
  font-family: var(--font-ui);
  font-size: 12px;
}

.breadcrumbs a {
  color: var(--botwc-warm-gray);
  font-weight: 500;
}

.breadcrumbs a:hover {
  color: var(--botwc-gold);
}

.breadcrumbs__separator {
  color: var(--botwc-warm-gray);
  font-size: 10px;
}

.breadcrumbs__current {
  color: var(--botwc-black);
  font-weight: 500;
}


/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.animate-in {
  animation: fadeInUp 0.7s ease both;
}

.animate-in-delay-1 { animation-delay: 0.15s; }
.animate-in-delay-2 { animation-delay: 0.3s; }
.animate-in-delay-3 { animation-delay: 0.45s; }


/* ═══════════════════════════════════════════
   SEARCH OVERLAY
   ═══════════════════════════════════════════ */

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.95);
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
}

.search-overlay.active {
  display: flex;
}

.search-overlay__inner {
  width: 100%;
  max-width: 700px;
  padding: 0 32px;
}

.search-overlay__form {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--botwc-gold);
  padding-bottom: 12px;
  gap: 16px;
}

.search-overlay__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--botwc-warm-white);
  caret-color: var(--botwc-gold);
}

.search-overlay__input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.search-overlay__close {
  background: transparent;
  border: none;
  color: var(--botwc-warm-white);
  cursor: pointer;
  padding: 8px;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.search-overlay__close:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════════
   MOBILE HAMBURGER
   ═══════════════════════════════════════════ */

.site-nav__hamburger {
  display: none;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.site-nav__hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--botwc-black);
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   TRAILBLAZER DIRECTORY — Gold Portrait Treatment
   Applied only on archive grid, not interior profiles
   ═══════════════════════════════════════════ */
.trailblazer-grid .card-img-wrap {
  position: relative;
}
.trailblazer-grid .card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(200,168,78,0.35) 0%, rgba(170,138,48,0.55) 100%);
  mix-blend-mode: multiply;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.trailblazer-grid .card-img-wrap img {
  filter: saturate(55%) contrast(112%) brightness(105%);
  transition: transform 0.6s ease, filter 0.5s ease;
}
.trailblazer-grid .card:hover .card-img-wrap::after {
  opacity: 0;
}
.trailblazer-grid .card:hover .card-img-wrap img {
  filter: saturate(100%) contrast(100%) brightness(100%);
  transform: scale(1.04);
}

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .hub-promo { flex-direction: column; }
  .hub-promo__image { width: 100%; height: 240px; }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 24px;
    --space-4xl: 48px;
    --space-5xl: 64px;
    --nav-height: 60px;
  }

  /* Mobile nav: hide links, show hamburger */
  .site-nav__links {
    display: none !important;
  }
  .site-nav__links.mobile-open {
    display: flex !important;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--botwc-warm-white);
    flex-direction: column;
    padding: 12px 32px 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 999;
    gap: 0;
    border-bottom: 1px solid var(--botwc-cream);
  }
  .site-nav__links.mobile-open li {
    border-bottom: 1px solid var(--botwc-cream);
  }
  .site-nav__links.mobile-open li:last-child {
    border-bottom: none;
  }
  .site-nav__links.mobile-open a {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--botwc-mid-gray);
    padding: 14px 0;
    display: block;
  }
  .site-nav__links.mobile-open li.mobile-only-link {
    display: block;
  }
  .site-nav__links.mobile-open a:hover,
  .site-nav__links.mobile-open a.active {
    color: var(--botwc-gold);
  }
  .site-nav__hamburger { display: flex; }

  /* Shrink action buttons, hide Shop on mobile */
  .site-nav__actions .btn { font-size: 11px; padding: 8px 14px; }
  .site-nav__actions .btn-outline { display: none !important; }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .article-inner { padding: var(--space-lg) var(--space-lg) 0; }
  .article-hero { height: 300px; }
  .site-footer__bottom { flex-direction: column; gap: 12px; }

  .story-card__content { padding: 24px; }
  .story-card__title { font-size: 22px; }

  .search-overlay__input { font-size: 24px; }
  .search-overlay { padding-top: 80px; }

  /* Collections: 2 columns on tablet */
  .collection-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .article-title { font-size: 28px; }
  .hub-promo { padding: 32px; }
  .site-nav__actions .btn-outline { display: none; }
  .site-nav__actions { gap: 12px; }
  .site-nav__actions .btn { font-size: 10px; padding: 7px 12px; }

  /* Collections: single column on phone */
  .collection-grid { grid-template-columns: 1fr !important; }
}

/* Accessibility widget - brand color override */
.pojo-a11y-toolbar-toggle,
div.pojo-a11y-toolbar-toggle,
.pojo-a11y-toolbar-toggle-link,
#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle,
.a11y-toggle-btn,
[class*="accessibility"] button,
[class*="accessibility"] .toggle {
    background: var(--botwc-off-black, #1A1A1A) !important;
    border-color: var(--botwc-off-black, #1A1A1A) !important;
}

/* ═══════════════════════════════════════════
   BOTWC RESPONSIVE FIXES — February 8, 2026
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
  .trailblazer-grid,
  .tb-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
    padding: 0 16px;
  }
  .tb-name {
    font-size: 15px;
    margin-bottom: 2px;
  }
  .tb-field {
    font-size: 10px;
  }
  .tb-excerpt {
    font-size: 12px;
    margin-top: 4px;
    -webkit-line-clamp: 2;
  }
  .tb-portrait {
    aspect-ratio: 3/4;
    margin-bottom: 10px;
  }
  .alpha-bar,
  .alphabet-filter {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .alpha-bar::-webkit-scrollbar,
  .alphabet-filter::-webkit-scrollbar {
    display: none;
  }
  .alpha-letter {
    font-size: 13px;
    padding: 6px 10px;
    display: inline-block;
  }
}

@media (max-width: 380px) {
  .trailblazer-grid,
  .tb-grid {
    gap: 12px !important;
    padding: 0 12px;
  }
  .tb-name {
    font-size: 14px;
  }
  .tb-portrait {
    border-radius: 8px;
  }
}


/* --- HOMEPAGE MOBILE --- */
@media (max-width: 768px) {
  .collections-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .collection-card {
    height: 200px !important;
  }
  .collection-card h3 {
    font-size: 16px !important;
  }
  .story-grid,
  .stories-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .editors-grid {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  .editors-grid__main {
    height: 280px !important;
  }
  .editors-grid__sidebar {
    flex-direction: column !important;
  }
  .editors-grid__sidebar-item {
    height: 200px !important;
  }
  .home-trending-grid {
    grid-template-columns: 1fr !important;
  }
  .trailblazer-mini-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .trailblazer-mini-grid .tb-portrait,
  .trailblazer-mini-grid .card-img-wrap {
    height: 180px !important;
  }
  .home-section {
    padding: 40px 0 !important;
  }
  .section-header {
    margin-bottom: 24px !important;
  }
  .container,
  .site-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* --- SINGLE TRAILBLAZER PROFILE MOBILE --- */
@media (max-width: 768px) {
  .tb-profile-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .tb-profile-portrait {
    position: relative !important;
    top: auto !important;
    max-width: 100% !important;
  }
  .tb-profile-portrait img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
  }
  .tb-timeline-item {
    padding-left: 24px !important;
  }
  .tb-timeline-year {
    font-size: 13px !important;
  }
  .tb-timeline-text {
    font-size: 14px !important;
  }
  .tb-facts-grid {
    grid-template-columns: 1fr !important;
  }
  .tb-quote {
    font-size: 20px !important;
    padding: 24px !important;
  }
  .more-trailblazers-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .more-trailblazers-grid .card-img-wrap {
    height: 200px !important;
  }
}

/* --- WATCH PAGE MOBILE --- */
@media (max-width: 768px) {
  .watch-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .watch-featured {
    grid-template-columns: 1fr !important;
  }
  .watch-filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    scrollbar-width: none;
  }
  .watch-filters::-webkit-scrollbar {
    display: none;
  }
}

/* --- COLLECTION & LEARN PAGES MOBILE --- */
@media (max-width: 768px) {
  .collection-stories-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .collection-hero {
    padding: 40px 16px !important;
    min-height: auto !important;
  }
  .collection-hero h1 {
    font-size: 28px !important;
  }
  .learn-hero {
    padding: 40px 16px !important;
  }
  .learn-grid {
    grid-template-columns: 1fr !important;
  }
  .learn-video-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- NAV MOBILE --- */
@media (max-width: 768px) {
  .site-nav {
    padding: 0 16px !important;
    height: 60px !important;
  }
  .nav-logo img {
    height: 36px !important;
  }
  .nav-subscribe {
    display: none !important;
  }
}
@media (max-width: 480px) {
  .site-nav {
    height: 56px !important;
  }
}

/* --- ACCESSIBILITY WIDGET OVERRIDE --- */
.accessibility-widget,
div[class*="accessibility"],
#accessibility-widget {
  bottom: 16px !important;
  right: 16px !important;
  z-index: 90 !important;
}

/* --- GENERAL MOBILE TYPOGRAPHY --- */
@media (max-width: 768px) {
  h1, .page-title {
    font-size: 28px !important;
  }
  h2, .section-title {
    font-size: 22px !important;
  }
  h3 {
    font-size: 18px !important;
  }
  .story-content p,
  .tb-bio p {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }
}

/* --- TABLET (769px - 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
  .trailblazer-grid,
  .tb-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }
  .editors-grid {
    grid-template-columns: 1fr !important;
  }
  .story-grid,
  .stories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .more-trailblazers-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}


/* --- FIELD LABEL WRAPPING FIX --- */
.tb-field,
.tb-card .tb-field,
.story-card-cat,
.pb-card-cat {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
@media (max-width: 768px) {
  .tb-field,
  .tb-card .tb-field {
    font-size: 9px;
    letter-spacing: 0.08em;
  }
}


/* --- FIELD LABEL MOBILE FIX (inline style override) --- */
@media (max-width: 768px) {
  .trailblazer-grid span[style*="text-transform: uppercase"][style*="letter-spacing"],
  .tb-grid span[style*="text-transform: uppercase"][style*="letter-spacing"] {
    font-size: 9px !important;
    letter-spacing: 0.04em !important;
  }
}


/* --- LIFT EVERY VOICE FULL-WIDTH FIX --- */
.page-template-page-lift-every-voice .botwc-wrap {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.page-template-page-lift-every-voice .botwc-wrap > .lev-hero,
.page-template-page-lift-every-voice .botwc-wrap > .lev-verses,
.page-template-page-lift-every-voice .botwc-wrap > .lev-story,
.page-template-page-lift-every-voice .botwc-wrap > .lev-timeline,
.page-template-page-lift-every-voice .botwc-wrap > .lev-authors,
.page-template-page-lift-every-voice .botwc-wrap > .lev-download,
.page-template-page-lift-every-voice .botwc-wrap > .lev-closing {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}
.page-template-page-lift-every-voice #newsletter {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}


/* --- LEV FULL-WIDTH FIX v2 --- */
.page-template-page-lift-every-voice .botwc-wrap {
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
}
.page-template-page-lift-every-voice .lev-hero,
.page-template-page-lift-every-voice .lev-verses,
.page-template-page-lift-every-voice .lev-story,
.page-template-page-lift-every-voice .lev-timeline,
.page-template-page-lift-every-voice .lev-authors,
.page-template-page-lift-every-voice .lev-download,
.page-template-page-lift-every-voice .lev-closing {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    width: 100vw !important;
    max-width: 100vw !important;
}


/* --- LEV CENTERING FIX --- */
.page-template-page-lift-every-voice .lev-verses,
.page-template-page-lift-every-voice .lev-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.page-template-page-lift-every-voice .lev-verses > * {
    width: 100%;
    max-width: 800px;
    padding-left: 32px;
    padding-right: 32px;
}
.page-template-page-lift-every-voice .lev-timeline > * {
    width: 100%;
    max-width: 720px;
    padding-left: 32px;
    padding-right: 32px;
}
.page-template-page-lift-every-voice .lev-hero-content,
.page-template-page-lift-every-voice .lev-story-inner,
.page-template-page-lift-every-voice .lev-authors-inner,
.page-template-page-lift-every-voice .lev-download-inner {
    margin-left: auto;
    margin-right: auto;
}
.page-template-page-lift-every-voice .lev-gold-divider {
    align-self: center;
}


/* --- FOOTER LOGO FIX --- */
.site-footer__logo img {
    filter: invert(1);
    max-height: 60px;
    width: auto;
}


/* Field filter pills - horizontal scroll on mobile */
.field-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
@media (max-width: 768px) {
  .field-filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .field-filter-pills::-webkit-scrollbar {
    display: none;
  }
  .field-filter-pills .topic-pill {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
