/* ═══════════════════════════════════════════════════════════
   TibetConnects Theme CSS — Navy & Gold Edition
   Palette: Deep Navy · Midnight Blue · Gold · Ice Blue
   Typography: Source Serif 4 (display) + DM Sans (UI)
   Tibetan script: Noto Serif Tibetan
═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ───────────────────────────────────────── */
:root {
  /* Navy palette */
  --tc-navy:         #0D1829;
  --tc-navy-mid:     #1A2F55;
  --tc-navy-light:   #243a68;
  --tc-navy-soft:    #E8F0FB;

  /* Gold palette */
  --tc-gold:         #C9972A;
  --tc-gold-bright:  #E8B84B;
  --tc-gold-soft:    #FDF6E3;
  --tc-gold-pale:    #F5EDD0;

  /* Keep these aliases so plugins using old names still work */
  --tc-crimson:      #1A2F55;
  --tc-crimson-dark: #0D1829;
  --tc-crimson-mid:  #243a68;
  --tc-crimson-soft: #E8F0FB;
  --tc-saffron:      #C9972A;
  --tc-saffron-soft: #FDF6E3;

  /* Neutral palette — cool-toned */
  --tc-ink:          #0D1829;
  --tc-slate:        #1E2D4A;
  --tc-mid:          #4A5568;
  --tc-muted:        #718096;
  --tc-border:       #DDE3EE;
  --tc-border-light: #EEF2F8;
  --tc-bg:           #F8F9FC;
  --tc-bg-warm:      #F0F4FA;
  --tc-white:        #FFFFFF;

  /* Semantic */
  --tc-green:        #2A6E3A;
  --tc-green-soft:   #E8F4EC;
  --tc-blue:         #185FA5;
  --tc-blue-soft:    #E6F1FB;
  --tc-error:        #C0392B;
  --tc-error-soft:   #FDE8E8;

  /* Typography */
  --font-display:  'Source Serif 4', Georgia, serif;
  --font-ui:       'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-tibetan:  'Noto Serif Tibetan', 'Microsoft Himalaya', serif;

  /* Layout */
  --tc-max-w:     1200px;
  --tc-max-w-sm:  900px;
  --tc-gap:       24px;
  --tc-radius:    10px;
  --tc-radius-sm: 6px;
  --tc-radius-lg: 16px;

  /* Shadows — cooler tones */
  --tc-shadow:    0 1px 12px rgba(13,24,41,.07);
  --tc-shadow-md: 0 4px 24px rgba(13,24,41,.11);
  --tc-shadow-lg: 0 12px 48px rgba(13,24,41,.16);

  --tc-ease: cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-ui);
  color: var(--tc-slate);
  background: var(--tc-bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--tc-navy-mid); text-decoration: none; transition: color .2s var(--tc-ease); }
a:hover { color: var(--tc-navy); }
a:focus-visible { outline: 2px solid var(--tc-gold); outline-offset: 3px; border-radius: 2px; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-ui); border: none; background: transparent; }
input, textarea, select { font-family: var(--font-ui); }

/* ── Skip link ───────────────────────────────────────────── */
.tc-skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: var(--tc-navy); color: #fff;
  padding: 8px 20px; border-radius: 0 0 8px 8px; z-index: 9999;
  font-weight: 600; transition: top .2s;
}
.tc-skip-link:focus { top: 0; color: #fff; }

/* ── Language */
.tc-en, .tc-bo { display: inline; }
body.lang-bo .tc-en { display: none; }
body:not(.lang-bo) .tc-bo { display: none; }

/* ═══════════════════════════════════════════════════════════
   TOP BAR
═══════════════════════════════════════════════════════════ */
.tc-topbar {
  background: var(--tc-navy);
  color: rgba(255,255,255,.6);
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tc-topbar-inner {
  max-width: var(--tc-max-w); margin: 0 auto;
  padding: 6px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.tc-topbar-tibet { font-family: var(--font-tibetan); font-size: 13px; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-topbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.tc-topbar-sep { opacity: .25; }
/* Topbar auth links — now hidden (auth is in main header only) */
.tc-topbar-link    { display: none; }
.tc-topbar-register{ display: none; }
.tc-topbar-user    { display: none; }
.tc-lang-btn { font-size: 11px; font-weight: 700; letter-spacing: .04em; color: rgba(255,255,255,.45); padding: 2px 6px; border-radius: 3px; transition: all .2s; text-transform: uppercase; }
.tc-lang-btn:hover { color: #fff; }
.tc-lang-btn.tc-lang-active { color: var(--tc-gold-bright); }
.tc-lang-tib { font-family: var(--font-tibetan); font-size: 12px; text-transform: none; }

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.tc-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--tc-white);
  border-bottom: 1px solid var(--tc-border);
  box-shadow: var(--tc-shadow);
}
.tc-header-inner {
  max-width: var(--tc-max-w); margin: 0 auto;
  padding: 0 24px; height: 64px;
  display: flex; align-items: center; gap: 28px;
}

/* Logo */
.tc-logo { flex-shrink: 0; }
.tc-logo-text { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.tc-logo-icon { font-size: 26px; line-height: 1; }
.tc-logo-name { font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1; color: var(--tc-navy); letter-spacing: -.01em; }
.tc-logo-tibet { color: var(--tc-gold); }
.tc-logo-connects { color: var(--tc-navy); }
.tc-logo-tib { font-family: var(--font-tibetan); font-size: 11px; color: var(--tc-muted); display: block; margin-top: 2px; }

/* Nav */
.tc-nav { flex: 1; }
.tc-nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.tc-nav-item { position: relative; }
.tc-nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: var(--tc-radius-sm);
  font-size: 14px; font-weight: 500; color: var(--tc-mid);
  transition: all .2s var(--tc-ease); white-space: nowrap; text-decoration: none;
}
.tc-nav-link:hover { color: var(--tc-navy); background: var(--tc-navy-soft); }
.tc-nav-item.tc-active > .tc-nav-link { color: var(--tc-navy); font-weight: 600; }
.tc-dropdown-arrow { font-size: 10px; transition: transform .2s; }
.tc-has-dropdown:hover .tc-dropdown-arrow { transform: rotate(180deg); }

.tc-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 200px; background: var(--tc-white);
  border: 1px solid var(--tc-border); border-radius: var(--tc-radius);
  box-shadow: var(--tc-shadow-md);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(-8px); transition: all .2s var(--tc-ease);
  list-style: none; padding: 6px;
}
.tc-has-dropdown:hover .tc-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }
.tc-nav-sub-link { display: block; padding: 8px 12px; border-radius: 6px; font-size: 14px; color: var(--tc-mid); text-decoration: none; }
.tc-nav-sub-link:hover { background: var(--tc-bg); color: var(--tc-navy); }

/* Header actions */
.tc-header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }

.tc-search-toggle {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--tc-mid); transition: all .2s;
}
.tc-search-toggle:hover { background: var(--tc-bg); color: var(--tc-navy); }

/* Logged-out buttons: Sign In (ghost) + Join Free (gold) */
.tc-btn-signin {
  display: inline-flex; align-items: center;
  padding: 7px 16px; border-radius: 6px;
  border: 1.5px solid var(--tc-border);
  font-size: 13px; font-weight: 600; color: var(--tc-mid) !important;
  text-decoration: none; transition: all .2s;
}
.tc-btn-signin:hover { border-color: var(--tc-navy); color: var(--tc-navy) !important; }

.tc-btn-join-free {
  display: inline-flex; align-items: center;
  padding: 7px 18px; border-radius: 6px;
  background: var(--tc-gold); color: var(--tc-navy) !important;
  font-size: 13px; font-weight: 700;
  text-decoration: none; transition: background .2s;
}
.tc-btn-join-free:hover { background: var(--tc-gold-bright); }

/* Logged-in: avatar + name chip */
.tc-header-user {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 10px 5px 5px;
  border-radius: 20px; border: 1.5px solid var(--tc-border);
  color: var(--tc-slate) !important; text-decoration: none;
  font-size: 13px; font-weight: 500; transition: border-color .2s;
}
.tc-header-user:hover { border-color: var(--tc-navy); }
.tc-header-user .tc-avatar-img {
  width: 28px; height: 28px; border-radius: 50%;
  object-fit: cover; display: block;
}
.tc-header-username {
  max-width: 120px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}

/* Logged-in: Post button */
.tc-btn-post {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 7px 16px; border-radius: 6px;
  background: var(--tc-navy); color: var(--tc-white) !important;
  font-size: 13px; font-weight: 600;
  text-decoration: none; transition: background .2s;
}
.tc-btn-post:hover { background: var(--tc-navy-mid); }

/* Hide old btn classes (keep for plugin compatibility) */
.tc-btn-submit { display: none !important; }
.tc-btn-join   { display: none !important; }

/* Header search */
.tc-header-search { border-top: 1px solid var(--tc-border); background: var(--tc-bg); overflow: hidden; max-height: 0; opacity: 0; transition: max-height .3s var(--tc-ease), opacity .3s var(--tc-ease); }
.tc-header-search.tc-search-open { max-height: 80px; opacity: 1; }
.tc-header-search-inner { max-width: var(--tc-max-w); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 12px; }
.tc-header-search .search-form { flex: 1; display: flex; gap: 8px; }
.tc-header-search .search-field { flex: 1; padding: 10px 16px; border-radius: 8px; border: 1px solid var(--tc-border); font-size: 14px; font-family: var(--font-ui); background: var(--tc-white); }
.tc-header-search .search-field:focus { outline: none; border-color: var(--tc-navy); box-shadow: 0 0 0 3px rgba(13,24,41,.1); }
.tc-header-search .search-submit { background: var(--tc-navy); color: #fff; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; }
.tc-search-close { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--tc-muted); font-size: 16px; transition: all .2s; flex-shrink: 0; }
.tc-search-close:hover { background: var(--tc-border); }

/* Mobile toggle */
.tc-mobile-toggle { display: none; flex-direction: column; gap: 5px; width: 36px; height: 36px; padding: 8px; border-radius: 8px; transition: background .2s; }
.tc-mobile-toggle:hover { background: var(--tc-bg); }
.tc-mobile-toggle span { display: block; width: 100%; height: 2px; background: var(--tc-mid); border-radius: 2px; transition: all .3s var(--tc-ease); }
.tc-mobile-toggle.tc-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.tc-mobile-toggle.tc-open span:nth-child(2) { opacity: 0; }
.tc-mobile-toggle.tc-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU
═══════════════════════════════════════════════════════════ */
.tc-mobile-menu { position: fixed; top: 0; right: -100%; width: min(340px,100vw); height: 100vh; background: var(--tc-white); z-index: 99999; display: flex; flex-direction: column; box-shadow: -4px 0 32px rgba(13,24,41,.2); transition: right .3s cubic-bezier(.4,0,.2,1); overflow-y: auto; }
.tc-mobile-menu.tc-open { right: 0; }
.tc-mobile-overlay { position: fixed; inset: 0; background: rgba(13,24,41,.5); z-index: -1; opacity: 0; pointer-events: none; transition: opacity .3s; }
.tc-mobile-overlay.tc-visible { opacity: 1; z-index: 99998; pointer-events: auto; }
.tc-mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--tc-border); background: var(--tc-navy); }
.tc-mobile-logo { color: #fff; font-weight: 700; font-size: 16px; }
.tc-mobile-close { color: rgba(255,255,255,.7) !important; font-size: 20px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 6px; background: rgba(255,255,255,.1) !important; transition: background .15s; }
.tc-mobile-close:hover { background: rgba(255,255,255,.2) !important; color: #fff !important; }
.tc-mobile-logo { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--tc-navy); }
.tc-mobile-close { width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--tc-muted); }
.tc-mobile-menu-body { flex: 1; padding: 20px 16px; }
.tc-mobile-nav-list { list-style: none; padding: 0; margin: 0 0 20px; }
/* Both walker-class and native WordPress menu-item classes */
.tc-mobile-nav-list li,
.tc-mobile-nav-list .tc-nav-item,
.tc-mobile-nav-list .menu-item { border-bottom: 1px solid var(--tc-border-light); }
.tc-mobile-nav-list li > a,
.tc-mobile-nav-list .tc-nav-link,
.tc-mobile-nav-list .menu-item > a { display: block; padding: 15px 8px; font-size: 16px; font-weight: 600; color: var(--tc-slate); text-decoration: none; transition: color .15s, padding-left .15s; }
.tc-mobile-nav-list li > a:hover,
.tc-mobile-nav-list .tc-nav-link:hover { color: var(--tc-navy); padding-left: 12px; }
.tc-mobile-nav-list li:last-child { border-bottom: none; }
/* Active state */
.tc-mobile-nav-list .current-menu-item > a,
.tc-mobile-nav-list .tc-active > a { color: var(--tc-navy); font-weight: 700; }
.tc-mobile-auth { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.tc-mobile-auth-btn { display: block; text-align: center; padding: 12px; border-radius: 8px; border: 1.5px solid var(--tc-border); font-size: 15px; font-weight: 600; color: var(--tc-slate); text-decoration: none; transition: all .2s; }
.tc-mobile-auth-btn:hover { border-color: var(--tc-navy); color: var(--tc-navy); }
.tc-mobile-auth-join { background: var(--tc-gold); border-color: var(--tc-gold); color: var(--tc-navy) !important; }
.tc-mobile-auth-join:hover { background: var(--tc-gold-bright); border-color: var(--tc-gold-bright); }
.tc-mobile-auth-out { color: var(--tc-muted) !important; }

/* ═══════════════════════════════════════════════════════════
   HERO — Full-width, photo background, magazine style
═══════════════════════════════════════════════════════════ */
.tc-hero {
  position: relative;
  min-height: 580px;
  background: linear-gradient(135deg, #0D1829 0%, #1A2F55 50%, #0D2040 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Subtle depth layers */
.tc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 75% 35%, rgba(26,47,85,.9) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 10% 90%, rgba(201,151,42,.05) 0%, transparent 55%);
  pointer-events: none;
}

.tc-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.tc-hero-pattern { display: none; }
.tc-hero-gradient {
  position: absolute; inset: 0;
  /* Full coverage gradient — no photo, so cover fully */
  background: transparent;
}

/* Gold rule line at bottom of hero */
.tc-hero::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 60%; height: 3px;
  background: linear-gradient(90deg, var(--tc-gold), transparent);
}

.tc-hero-inner {
  position: relative; z-index: 1;
  max-width: var(--tc-max-w); margin: 0 auto;
  padding: 72px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 64px;
  align-items: center;
  width: 100%;
}

/* Content column */
.tc-hero-content {}

.tc-hero-eyebrow {
  display: inline-block;
  font-family: var(--font-tibetan);
  font-size: 14px;
  color: var(--tc-gold);
  letter-spacing: .04em;
  margin-bottom: 16px;
  border-left: 3px solid var(--tc-gold);
  padding-left: 12px;
}

.tc-hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: 20px;
}
.tc-hero-tibet    { color: var(--tc-gold); display: block; }
.tc-hero-connects { color: var(--tc-white); display: block; }

.tc-hero-tagline {
  font-size: clamp(15px, 1.8vw, 18px);
  color: rgba(255,255,255,.72);
  max-width: 440px;
  line-height: 1.65;
  margin-bottom: 36px;
  font-weight: 400;
}

.tc-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }

.tc-hero-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--tc-radius-sm);
  font-size: 14px; font-weight: 600;
  text-decoration: none; transition: all .2s var(--tc-ease);
  border: 2px solid transparent;
}
.tc-hero-btn-primary {
  background: var(--tc-gold); color: var(--tc-navy) !important;
  border-color: var(--tc-gold);
}
.tc-hero-btn-primary:hover { background: var(--tc-gold-bright); border-color: var(--tc-gold-bright); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(201,151,42,.4); }
.tc-hero-btn-ghost {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.9) !important;
  border-color: rgba(255,255,255,.3); backdrop-filter: blur(4px);
}
.tc-hero-btn-ghost:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.5); transform: translateY(-1px); }

/* Stats */
.tc-hero-stats { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.tc-hero-stat { text-align: left; }
.tc-hero-stat strong { display: block; font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--tc-gold); line-height: 1; letter-spacing: -.02em; }
.tc-hero-stat span { font-size: 11px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; margin-top: 3px; display: block; }
.tc-hero-stat-sep { width: 1px; height: 32px; background: rgba(255,255,255,.15); flex-shrink: 0; }

/* Nav cards — right column, magazine section grid */
.tc-hero-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-self: center;
}
.tc-hero-nav-card {
  display: flex; flex-direction: column;
  padding: 18px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--tc-radius);
  text-decoration: none;
  transition: all .25s var(--tc-ease);
  backdrop-filter: blur(8px);
}
.tc-hero-nav-card:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(201,151,42,.5);
  transform: translateY(-2px);
}
.tc-hero-nav-icon { font-size: 20px; line-height: 1; margin-bottom: 8px; }
.tc-hero-nav-label { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.9); line-height: 1.2; margin-bottom: 4px; }
.tc-hero-nav-desc { font-size: 11px; color: rgba(255,255,255,.45); line-height: 1.4; }

/* ═══════════════════════════════════════════════════════════
   HOMEPAGE CONTENT — magazine editorial
═══════════════════════════════════════════════════════════ */
.tc-home-content { padding: 0; background: var(--tc-bg); }
.tc-home-content-inner {
  max-width: var(--tc-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Widget grid: the 6-card homepage section grid ── */
.tcp-widget-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  padding: 40px 0 !important;
  max-width: var(--tc-max-w) !important;
  margin: 0 auto !important;
}

/* Card shell */
.tcp-widget-card {
  background: var(--tc-white) !important;
  border: 1px solid var(--tc-border) !important;
  border-radius: var(--tc-radius) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  box-shadow: var(--tc-shadow) !important;
  transition: box-shadow .25s var(--tc-ease), transform .25s var(--tc-ease) !important;
}
.tcp-widget-card:hover {
  box-shadow: var(--tc-shadow-md) !important;
  transform: translateY(-3px) !important;
}

/* Card header row — replace red underline with gold */
.tcp-widget-head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px 18px !important;
  border-bottom: 2px solid var(--tc-gold) !important;
  background: var(--tc-white) !important;
}
.tcp-widget-icon { font-size: 22px !important; }
.tcp-widget-title {
  font-family: var(--font-display) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--tc-navy) !important;
  margin: 0 !important;
  letter-spacing: -.01em !important;
}
.tcp-widget-tib {
  font-family: var(--font-tibetan) !important;
  font-size: 11px !important;
  color: var(--tc-muted) !important;
  margin: 2px 0 0 !important;
}

/* Card body — items list */
.tcp-widget-body {
  flex: 1 !important;
  padding: 8px 18px 12px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  min-height: 80px !important;
}
.tcp-widget-item {
  font-size: 13px !important;
  color: var(--tc-mid) !important;
  line-height: 1.45 !important;
  padding: 8px 0 !important;
  border-bottom: 1px solid var(--tc-border-light) !important;
  display: block !important;
  text-decoration: none !important;
  transition: color .2s !important;
}
.tcp-widget-item:last-child { border-bottom: none !important; }
.tcp-widget-item:hover { color: var(--tc-navy) !important; text-decoration: none !important; }
.tcp-widget-empty {
  font-size: 13px !important;
  color: var(--tc-muted) !important;
  font-style: italic !important;
  padding: 12px 0 !important;
  margin: 0 !important;
}

/* Card footer link */
.tcp-widget-footer {
  display: block !important;
  padding: 11px 18px !important;
  border-top: 1px solid var(--tc-border) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--tc-navy) !important;
  text-decoration: none !important;
  text-align: center !important;
  background: var(--tc-bg) !important;
  transition: background .2s, color .2s !important;
}
.tcp-widget-footer:hover {
  background: var(--tc-navy) !important;
  color: var(--tc-white) !important;
}

/* Responsive widget grid */
@media (max-width: 900px) {
  .tcp-widget-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 560px) {
  .tcp-widget-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════════════
   CTA STRIP
═══════════════════════════════════════════════════════════ */
.tc-cta-strip {
  background: var(--tc-navy);
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
.tc-cta-strip::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--tc-gold), var(--tc-gold-bright), transparent);
}
.tc-cta-strip-inner {
  max-width: var(--tc-max-w-sm); margin: 0 auto;
  display: flex; align-items: center; gap: 48px;
  flex-wrap: wrap; justify-content: space-between;
}
.tc-cta-text { flex: 1; min-width: 280px; }
.tc-cta-title { font-family: var(--font-display); font-size: clamp(22px,3vw,34px); font-weight: 600; color: var(--tc-white); line-height: 1.2; margin-bottom: 8px; letter-spacing: -.01em; }
.tc-cta-desc { color: rgba(255,255,255,.65); font-size: 16px; }
.tc-cta-actions { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.tc-cta-btn-primary { display: block; text-align: center; background: var(--tc-gold); color: var(--tc-navy) !important; padding: 14px 32px; border-radius: var(--tc-radius-sm); font-size: 15px; font-weight: 700; text-decoration: none; transition: background .2s; white-space: nowrap; }
.tc-cta-btn-primary:hover { background: var(--tc-gold-bright); }
.tc-cta-btn-ghost { display: block; text-align: center; color: rgba(255,255,255,.65) !important; font-size: 13px; text-decoration: none; transition: color .2s; }
.tc-cta-btn-ghost:hover { color: var(--tc-white) !important; }

/* ═══════════════════════════════════════════════════════════
   PAGE LAYOUTS
═══════════════════════════════════════════════════════════ */
.tc-main {
  flex: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.tc-page-fullwidth .tc-platform-content { max-width: 100%; }

.tc-page-sidebar {
  max-width: var(--tc-max-w); margin: 0 auto;
  padding: 40px 32px;
  display: grid; grid-template-columns: 1fr 300px;
  grid-template-rows: auto 1fr; gap: 40px;
}
.tc-page-header { grid-column: 1 / -1; padding-bottom: 16px; border-bottom: 2px solid var(--tc-border); }
.tc-page-header-inner { max-width: var(--tc-max-w); }
.tc-page-title { font-family: var(--font-display); font-size: clamp(28px,4vw,40px); font-weight: 600; color: var(--tc-navy); margin-top: 8px; letter-spacing: -.01em; }
.tc-breadcrumbs { font-size: 13px; color: var(--tc-muted); margin-bottom: 6px; }
.tc-breadcrumbs a { color: var(--tc-muted); }
.tc-breadcrumbs a:hover { color: var(--tc-navy); }
.tc-page-content-area { min-width: 0; }
.tc-page-article { max-width: 100%; }
.tc-page-body { font-size: 16px; line-height: 1.75; color: var(--tc-slate); }
.tc-page-body h2, .tc-page-body h3 { font-family: var(--font-display); margin: 28px 0 12px; color: var(--tc-navy); }
.tc-page-body p { margin-bottom: 16px; }
.tc-page-body a { color: var(--tc-navy-mid); text-decoration: underline; }
.tc-page-featured { margin-bottom: 28px; border-radius: var(--tc-radius); overflow: hidden; }
.tc-page-featured-img { width: 100%; border-radius: var(--tc-radius); }

/* ═══════════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════════ */
.tc-sidebar { min-width: 0; }

.tc-sidebar-cta {
  background: linear-gradient(145deg, var(--tc-navy) 0%, var(--tc-navy-mid) 100%);
  border-radius: var(--tc-radius-lg); padding: 28px 24px; text-align: center; color: var(--tc-white);
  margin-bottom: 24px;
}
.tc-sidebar-cta-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.tc-sidebar-cta-title { font-family: var(--font-display); font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.tc-sidebar-cta p { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.tc-sidebar-cta-btn { display: block; background: var(--tc-gold); color: var(--tc-navy) !important; padding: 11px; border-radius: 6px; font-size: 14px; font-weight: 700; text-decoration: none; transition: background .2s; margin-bottom: 10px; }
.tc-sidebar-cta-btn:hover { background: var(--tc-gold-bright); }
.tc-sidebar-cta-link { display: block; font-size: 13px; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.tc-sidebar-cta-link:hover { color: var(--tc-white); }

.tc-widget { margin-bottom: 24px; }
.tc-widget-title { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--tc-navy); padding-bottom: 10px; border-bottom: 2px solid var(--tc-gold); margin-bottom: 14px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   FOOTER (Split Layout)
═══════════════════════════════════════════════════════════ */
.tc-footer {
  background: var(--tc-navy);
  color: rgba(255,255,255,.6);
  font-family: var(--font-ui);
}

/* Main Split Area */
.tc-footer-main {
  max-width: var(--tc-max-w);
  margin: 0 auto;
  display: flex;
  padding: 72px 24px;
}

/* Left Side: Brand (approx 32% width) */
.tc-footer-brand-side {
  width: 32%;
  padding-right: 48px;
  border-right: 1px solid rgba(255,255,255,.08); /* The subtle vertical line */
  flex-shrink: 0;
}
.tc-footer-logo-text {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--tc-white); text-decoration: none; margin-bottom: 20px;
}
.tc-footer-logo-icon {
  font-size: 26px; color: var(--tc-gold);
}
.tc-footer-tagline {
  font-size: 15px; color: rgba(255,255,255,.6);
  line-height: 1.7; max-width: 300px; margin: 0;
}

/* Right Side: 4 Columns */
.tc-footer-links-side {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-left: 48px;
}
.tc-footer-col-title {
  font-size: 11px; font-weight: 700; color: var(--tc-gold);
  text-transform: uppercase; letter-spacing: .1em;
  margin: 0 0 24px 0;
}

/* Column Menu Links */
ul.tc-footer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex; flex-direction: column; gap: 18px; /* Adds airy spacing */
}
ul.tc-footer-links li {
  margin: 0 !important; padding: 0 !important; list-style: none !important;
}
ul.tc-footer-links a {
  font-size: 14px; color: rgba(255,255,255,.6);
  text-decoration: none; transition: color .2s;
}
ul.tc-footer-links a:hover {
  color: var(--tc-white);
}

/* Bottom Bar */
.tc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px;
}
.tc-footer-bottom-inner {
  max-width: var(--tc-max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.tc-copyright {
  font-size: 13px; color: rgba(255,255,255,.45);
}

/* Bottom Horizontal Menu */
ul.tc-footer-privacy-menu {
  display: flex; align-items: center; flex-wrap: wrap; gap: 24px;
  list-style: none; margin: 0; padding: 0;
}
ul.tc-footer-privacy-menu li {
  margin: 0; padding: 0; list-style: none;
}
ul.tc-footer-privacy-menu li a {
  font-size: 13px; color: rgba(255, 255, 255, 0.45);
  text-decoration: none; transition: color 0.2s;
}
ul.tc-footer-privacy-menu li a:hover {
  color: var(--tc-white);
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
  .tc-footer-main {
    flex-direction: column;
    padding: 48px 24px;
    gap: 48px;
  }
  .tc-footer-brand-side {
    width: 100%;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-bottom: 40px;
  }
  .tc-footer-links-side {
    padding-left: 0;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
}
@media (max-width: 560px) {
  .tc-footer-links-side {
    grid-template-columns: 1fr;
  }
  .tc-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  ul.tc-footer-privacy-menu {
    justify-content: center;
  }
}
/* ═══════════════════════════════════════════════════════════
   PLATFORM PLUGIN — override plugin variables + card styles
   The plugin sets its own :root vars (--tc-red etc).
   We override them here at higher specificity.
═══════════════════════════════════════════════════════════ */

/* Override plugin CSS custom properties at body level so they
   win over the plugin's :root declaration */
body {
  --tc-red:       #0D1829;
  --tc-red-dark:  #1A2F55;
  --tc-red-soft:  #E8F0FB;
  --tc-saffron:   #C9972A;
  --tc-gold:      #C9972A;
  --tc-gold-s:    #FDF6E3;
  --tc-border:    #DDE3EE;
  --tc-bg:        #F8F9FC;
  --tc-slate:     #1E2D4A;
  --tc-mid:       #4A5568;
  --tc-muted:     #718096;
  --r:            10px;
  --r-sm:         6px;
}
.tc-platform-content .tcp-section,
.tc-platform-content .tcp-widget-grid,
.tc-platform-content .tcf-wrap {
  max-width: 100%;
  font-family: var(--font-ui);
}
.tcp-section-title { font-family: var(--font-display) !important; font-size: 24px !important; color: var(--tc-navy) !important; letter-spacing: -.01em !important; }
.tcp-section-icon { font-size: 28px !important; }
.tcp-card { border-radius: var(--tc-radius) !important; border-color: var(--tc-border) !important; box-shadow: var(--tc-shadow) !important; transition: box-shadow .25s var(--tc-ease), transform .25s var(--tc-ease) !important; }
.tcp-card:hover { box-shadow: var(--tc-shadow-md) !important; transform: translateY(-3px) !important; }
.tcp-btn-primary { background: var(--tc-navy) !important; border-radius: 6px !important; font-family: var(--font-ui) !important; font-weight: 600 !important; }
.tcp-btn-primary:hover { background: var(--tc-navy-mid) !important; }
.tcp-event-date { background: var(--tc-navy) !important; border-radius: var(--tc-radius) 0 0 var(--tc-radius) !important; }
.tcp-badge { border-radius: 5px !important; font-family: var(--font-ui) !important; }
.tcp-badge-tibetan { background: var(--tc-gold-soft) !important; color: var(--tc-gold) !important; border-color: var(--tc-gold-pale) !important; }
.tcf-wrap { font-family: var(--font-ui) !important; }
.tcp-news-card { border-left-color: var(--tc-navy) !important; border-radius: var(--tc-radius) !important; }
.tcp-pill { border-radius: 20px !important; font-family: var(--font-ui) !important; }
.tcp-pill:hover, .tcp-pill.tcp-active { background: var(--tc-navy) !important; border-color: var(--tc-navy) !important; }
.tcp-search-input { border-radius: 6px !important; font-family: var(--font-ui) !important; }
.tcp-search-input:focus { border-color: var(--tc-navy) !important; box-shadow: 0 0 0 3px rgba(13,24,41,.1) !important; }
.tcp-btn-search { border-radius: 6px !important; background: var(--tc-navy) !important; }
.tcp-view-all { border-color: var(--tc-navy) !important; color: var(--tc-navy) !important; border-radius: 6px !important; font-family: var(--font-ui) !important; }
.tcp-view-all:hover { background: var(--tc-navy) !important; color: var(--tc-white) !important; }
.tcp-card-title a:hover { color: var(--tc-navy) !important; }
.tcp-read-more { color: var(--tc-navy) !important; }

/* Plugin CSS variable overrides */
.tcp-section, .tcp-widget-grid, .tcf-wrap, .tcp-news, .tcp-jobs, .tcp-events, .tcp-directory, .tcp-businesses, .tcp-resources {
  --tc-red:      var(--tc-navy);
  --tc-red-dark: var(--tc-navy-mid);
  --tc-red-soft: var(--tc-navy-soft);
  --tc-saffron:  var(--tc-gold);
  --tc-gold:     var(--tc-gold);
  width: 100%;
  max-width: 100%;
  padding-left: 32px;
  padding-right: 32px;
  box-sizing: border-box;
}

/* TCP inner content max-width — gives breathing room on wide screens */
.tcp-section > *, .tcp-news > *, .tcp-jobs > *, .tcp-events > * {
  max-width: var(--tc-max-w);
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════
   SEARCH RESULTS
═══════════════════════════════════════════════════════════ */
.tc-search-results-wrap { max-width: var(--tc-max-w); margin: 0 auto; padding: 40px 32px; }
.tc-search-results-title { font-family: var(--font-display); font-size: 28px; color: var(--tc-navy); margin-bottom: 24px; letter-spacing: -.01em; }
.tc-search-result { padding: 20px 0; border-bottom: 1px solid var(--tc-border); }
.tc-search-result-title a { font-size: 18px; font-weight: 600; color: var(--tc-navy); }
.tc-search-result-title a:hover { color: var(--tc-navy-mid); }
.tc-search-result-meta { font-size: 13px; color: var(--tc-muted); margin: 4px 0; }
.tc-search-result-excerpt { font-size: 14px; color: var(--tc-mid); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════════ */
.tc-pagination { display: flex; justify-content: center; margin: 32px 0; }
.tc-pagination .page-numbers { display: inline-flex; align-items: center; gap: 6px; }
.tc-pagination .page-numbers a,
.tc-pagination .page-numbers span { padding: 8px 14px; border-radius: 6px; font-size: 14px; font-weight: 500; border: 1px solid var(--tc-border); color: var(--tc-mid); text-decoration: none; transition: all .2s; }
.tc-pagination .current { background: var(--tc-navy); border-color: var(--tc-navy); color: var(--tc-white) !important; }
.tc-pagination a:hover { border-color: var(--tc-navy); color: var(--tc-navy); }

/* ── Homepage section label ─────────────────────────────── */
.tc-home-section-label {
  background: var(--tc-bg);
  padding: 32px 24px 0;
}
.tc-home-section-label-inner {
  max-width: var(--tc-max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
}
.tc-home-section-rule {
  flex: 1; height: 1px; background: var(--tc-border);
}
.tc-home-section-text {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--tc-muted);
  white-space: nowrap; flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .tc-hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 56px 24px 64px; }
  .tc-hero-nav { grid-template-columns: repeat(4,1fr); max-width: 560px; }
  .tc-hero-content { max-width: 560px; }
  .tc-topbar-tibet { display: none; }
  .tc-footer-cols-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .tc-header-inner { padding: 0 16px; height: 58px; gap: 10px; }
  .tc-nav { display: none; }
  .tc-mobile-toggle { display: flex; }
  .tc-btn-signin, .tc-btn-join-free, .tc-btn-post { display: none; }
  .tc-header-user .tc-header-username { display: none; }
  .tc-topbar-inner { padding: 6px 16px; }

  .tc-hero { min-height: 480px; }
  .tc-hero-inner { padding: 48px 16px 56px; }
  .tc-hero-title { font-size: clamp(38px,10vw,56px); }
  .tc-hero-nav { grid-template-columns: repeat(4,1fr); gap: 8px; }
  .tc-hero-nav-card { padding: 12px 8px; }
  .tc-hero-nav-desc { display: none; }
  .tc-hero-stats { gap: 16px; }
  .tc-hero-stat-sep { display: none; }

  .tc-page-sidebar { grid-template-columns: 1fr; padding: 20px 16px; }
  .tc-page-header { grid-column: 1; }
  .tc-sidebar { display: none; }

  .tc-cta-strip { padding: 48px 16px; }
  .tc-cta-strip-inner { flex-direction: column; gap: 24px; }

  .tc-footer-brand-inner { flex-direction: column; }
  .tc-footer-cols-inner { grid-template-columns: 1fr 1fr; }
  .tc-footer-stats { gap: 20px; }
}

@media (max-width: 480px) {
  .tc-hero-nav { grid-template-columns: repeat(4,1fr); }
  .tc-hero-nav-label { font-size: 10px; }
  .tc-footer-cols-inner { grid-template-columns: 1fr; }
  .tc-footer-bottom-inner { flex-direction: column; text-align: center; }
  .tc-topbar-link:not(.tc-topbar-register) { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   TIBETAN LANG MODE
═══════════════════════════════════════════════════════════ */
body.tc-lang-bo .tc-hero-tagline.tc-bo { display: block; }
body.tc-lang-bo .tc-hero-tagline.tc-en { display: none; }


/* ═══════════════════════════════════════════════════════════
   AUTH / PROFILE / FORUM — colour token overrides
   (all --tc-crimson refs now map to navy, saffron to gold)
═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   AUTH PAGES — Login / Register
═══════════════════════════════════════════════════════════ */


/* ── Auth pages: login + register ─────────────────────── */
/* ═══════════════════════════════════════════════════════════
   AUTH PAGES — Standalone split layout
   Both templates have their own HTML shell (no tc-main).
═══════════════════════════════════════════════════════════ */

/* Auth body — uses standard theme body/header */

/* Split is inside tc-main — fill full width and remaining height */
.tc-auth-split {
  display: flex;
  flex-direction: row;
  flex: 1;
  width: 100%;
  max-width: var(--tc-max-w); /* Limits it to the exact header width */
  margin: 40px auto; /* Centers it horizontally and adds space above/below */
  min-height: calc(100vh - 188px);
  border-radius: var(--tc-radius-lg); /* Gives the outer edges nice rounded corners */
  overflow: hidden; /* Keeps the navy background neatly inside the rounded corners */
  box-shadow: var(--tc-shadow-lg); /* Adds a subtle shadow so it floats off the background */
}

/* Left: white form side — exactly half */
.tc-auth-left {
  flex: 1 1 50%;
  min-width: 0;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 56px 40px 48px;
  background: var(--tc-white); border-right: 1px solid var(--tc-border);
  overflow-y: auto;
}
.tc-auth-left-scroll { align-items: flex-start; padding-top: 40px; }
.tc-auth-form-wrap { width: 100%; max-width: 400px; }

.tc-auth-heading {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  color: var(--tc-navy); margin: 0 0 8px; letter-spacing: -.01em;
}
.tc-auth-sub { font-size: 15px; color: var(--tc-muted); margin: 0 0 28px; line-height: 1.5; }

.tc-auth-alert { padding: 12px 16px; border-radius: 6px; font-size: 14px; line-height: 1.5; margin-bottom: 20px; }
.tc-auth-alert p { margin: 0 0 4px; } .tc-auth-alert p:last-child { margin: 0; }
.tc-auth-alert-err { background: var(--tc-error-soft); color: var(--tc-error); border: 1px solid #f0c0c0; }
.tc-auth-alert-ok  { background: var(--tc-green-soft); color: var(--tc-green); border: 1px solid #b8d8b8; }

.tc-auth-form { display: flex; flex-direction: column; gap: 18px; }
.tc-auth-field { display: flex; flex-direction: column; gap: 7px; }
.tc-auth-label-row { display: flex; align-items: center; justify-content: space-between; }
.tc-auth-field label { font-size: 13px; font-weight: 600; color: var(--tc-slate); display: flex; align-items: center; gap: 6px; }
.tc-auth-req { color: var(--tc-error); }
.tc-auth-opt { font-size: 11px; font-weight: 400; color: var(--tc-muted); background: var(--tc-bg); padding: 1px 7px; border-radius: 4px; border: 1px solid var(--tc-border); }
.tc-auth-forgot { font-size: 13px; font-weight: 600; color: var(--tc-gold); text-decoration: none; }
.tc-auth-forgot:hover { color: var(--tc-navy); text-decoration: underline; }

.tc-auth-input-wrap { position: relative; }
.tc-auth-input-wrap svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--tc-muted); pointer-events: none; }
.tc-auth-input-wrap input { padding-left: 40px !important; }

.tc-auth-field input {
  width: 100%; padding: 11px 14px; border-radius: 6px;
  border: 1.5px solid var(--tc-border); font-size: 14px; font-family: var(--font-ui);
  color: var(--tc-slate); background: var(--tc-white);
  transition: border-color .2s, box-shadow .2s; box-sizing: border-box; -webkit-appearance: none;
}
.tc-auth-field input:focus { outline: none; border-color: var(--tc-navy); box-shadow: 0 0 0 3px rgba(13,24,41,.1); }
.tc-auth-field input::placeholder { color: #b8c0cc; }

.tc-auth-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.tc-auth-remember { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--tc-mid); cursor: pointer; user-select: none; margin-top: -4px; }
.tc-auth-remember input[type=checkbox] { display: none; }
.tc-auth-checkbox { width: 18px; height: 18px; border-radius: 4px; border: 1.5px solid var(--tc-border); background: var(--tc-white); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; transition: all .2s; }
.tc-auth-remember input:checked + .tc-auth-checkbox { background: var(--tc-navy); border-color: var(--tc-navy); }
.tc-auth-remember input:checked + .tc-auth-checkbox::after { content: ''; display: block; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px,-1px); }

.tc-auth-submit { width: 100%; background: var(--tc-navy); color: var(--tc-white); border: none; border-radius: 6px; padding: 13px; font-size: 15px; font-weight: 700; font-family: var(--font-ui); cursor: pointer; transition: background .2s, transform .15s; margin-top: 4px; }
.tc-auth-submit:hover { background: var(--tc-navy-mid); transform: translateY(-1px); }

.tc-auth-footer-link { text-align: center; font-size: 14px; color: var(--tc-muted); margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--tc-border-light); }
.tc-auth-footer-link a { color: var(--tc-navy); font-weight: 600; margin-left: 4px; }

/* Right: navy brand side — exactly 50% */
.tc-auth-right {
  flex: 1 1 50%;
  min-width: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 48px 40px;
  background: linear-gradient(145deg, var(--tc-navy) 0%, var(--tc-navy-mid) 55%, #0d2545 100%);
  position: relative; overflow: hidden;
}
.tc-auth-right::before { content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: rgba(201,151,42,.06); top: -140px; right: -140px; }
.tc-auth-right::after  { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(201,151,42,.04); bottom: -80px; left: -80px; }
.tc-auth-brand-wrap { position: relative; z-index: 1; max-width: 380px; width: 100%; }

.tc-auth-brand-tag { display: inline-block; background: rgba(201,151,42,.18); color: var(--tc-gold-bright); border: 1px solid rgba(201,151,42,.3); border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 24px; }
.tc-auth-brand-heading { font-family: var(--font-display); font-size: clamp(26px,2.5vw,38px); font-weight: 600; color: var(--tc-white); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 32px; }

.tc-auth-features { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 14px; }
.tc-auth-features li { display: flex; align-items: center; gap: 14px; font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.4; }
.tc-auth-feat-icon { font-size: 16px; flex-shrink: 0; width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; }

.tc-auth-quote { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; padding: 20px 22px; margin: 0; }
.tc-auth-quote::before { content: '\201C'; display: block; font-family: var(--font-display); font-size: 36px; color: var(--tc-gold); line-height: 1; margin-bottom: 6px; }
.tc-auth-quote p { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.65; margin-bottom: 16px; font-style: italic; }
.tc-auth-quote footer { display: flex; align-items: center; gap: 12px; }
.tc-auth-quote-av { width: 38px; height: 38px; border-radius: 50%; background: var(--tc-gold); color: var(--tc-navy); font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tc-auth-quote footer strong { display: block; font-size: 14px; font-weight: 700; color: var(--tc-white); }
.tc-auth-quote footer span { font-size: 12px; color: rgba(255,255,255,.55); }

.tc-auth-stats { display: flex; gap: 28px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
.tc-auth-stat strong { display: block; font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--tc-gold-bright); line-height: 1; letter-spacing: -.02em; }
.tc-auth-stat span { font-size: 11px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .07em; margin-top: 4px; display: block; }
.tc-auth-stat-sep { width: 1px; background: rgba(255,255,255,.12); align-self: stretch; }

@media (max-width: 768px) {
  .tc-auth-split { flex-direction: column; }
  .tc-auth-left, .tc-auth-right { flex: none; width: 100%; }
  .tc-auth-right { display: none; }
  .tc-auth-left { padding: 32px 20px; }
  .tc-auth-row-2 { grid-template-columns: 1fr; }
}

      PROFILE PAGE
═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   PROFILE PAGE
═══════════════════════════════════════════════════════════ */
.tc-profile-wrap { max-width: 100%; }

/* Welcome banner */
.tc-welcome-banner { background: linear-gradient(90deg,var(--tc-green) 0%,#1a5a2a 100%); color:#fff; padding:14px 24px; }
.tc-welcome-banner-inner { max-width:var(--tc-max-w); margin:0 auto; display:flex; align-items:center; gap:14px; }
.tc-welcome-icon { font-size:24px; flex-shrink:0; }
.tc-welcome-banner-inner > div { flex:1; }
.tc-welcome-banner-inner strong { display:block; font-size:15px; }
.tc-welcome-banner-inner p { font-size:13px; opacity:.85; margin:2px 0 0; }
.tc-welcome-close { font-size:18px; color:rgba(255,255,255,.6); flex-shrink:0; background:none; border:none; cursor:pointer; padding:4px; transition:color .2s; }
.tc-welcome-close:hover { color:#fff; }

/* ── Hero ── */
.tc-profile-hero {
  background: linear-gradient(135deg,#1a0505 0%,#2d0d0d 50%,var(--tc-navy) 100%);
  color:#fff; padding:48px 24px;
}
.tc-profile-hero-admin { background: linear-gradient(135deg,#0d0d1a 0%,#1a1050 50%,var(--tc-navy) 100%); }
.tc-profile-hero-inner { max-width:var(--tc-max-w); margin:0 auto; display:flex; align-items:center; gap:28px; flex-wrap:wrap; }

.tc-profile-avatar-wrap { position:relative; flex-shrink:0; }
.tc-profile-avatar { width:108px; height:108px; border-radius:50%; object-fit:cover; border:3px solid rgba(255,255,255,.25); display:block; box-shadow:0 4px 20px rgba(0,0,0,.4); }
.tc-avatar-edit-btn { position:absolute; bottom:2px; right:2px; width:30px; height:30px; border-radius:50%; background:var(--tc-gold); display:flex; align-items:center; justify-content:center; font-size:13px; cursor:pointer; box-shadow:0 2px 8px rgba(0,0,0,.35); transition:transform .2s,background .2s; border:none; }
.tc-avatar-edit-btn:hover { transform:scale(1.1); background:var(--tc-gold-bright); }

.tc-profile-hero-info { flex:1; min-width:200px; }
.tc-profile-name { font-family:var(--font-display); font-size:clamp(22px,3vw,32px); font-weight:700; color:#fff; margin:0 0 6px; line-height:1.2; }
.tc-profile-tib-name { font-family:var(--font-tibetan); font-size:17px; color:var(--tc-gold-bright); margin:0 0 10px; }
.tc-profile-meta-row { display:flex; flex-wrap:wrap; gap:10px 16px; font-size:13px; color:rgba(255,255,255,.65); margin-bottom:12px; }
.tc-profile-meta-item { display:flex; align-items:center; gap:5px; }
.tc-profile-skills { display:flex; flex-wrap:wrap; gap:6px; margin-top:2px; }
.tc-skill-tag { background:rgba(255,255,255,.1); color:rgba(255,255,255,.88); border:1px solid rgba(255,255,255,.18); padding:3px 11px; border-radius:20px; font-size:12px; }
.tc-skill-tag-lg { background:var(--tc-gold-soft); color:var(--tc-gold); border-color:#e0c878; padding:5px 14px; font-size:13px; }

.tc-profile-hero-stats { display:flex; gap:0; margin-left:auto; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); border-radius:var(--tc-radius); overflow:hidden; flex-shrink:0; }
.tc-profile-stat { text-align:center; padding:18px 28px; }
.tc-profile-stat + .tc-profile-stat { border-left:1px solid rgba(255,255,255,.1); }
.tc-profile-stat strong { display:block; font-family:var(--font-display); font-size:30px; font-weight:800; color:var(--tc-gold-bright); line-height:1; }
.tc-profile-stat span { font-size:11px; color:rgba(255,255,255,.5); text-transform:uppercase; letter-spacing:.06em; margin-top:4px; display:block; }

/* Role badges */
.tc-role-badge { display:inline-flex; align-items:center; padding:4px 12px; border-radius:20px; font-size:11px; font-weight:700; letter-spacing:.04em; }
.tc-role-admin  { background:rgba(201,151,42,.2); color:var(--tc-gold-bright); border:1px solid rgba(201,151,42,.3); }
.tc-role-member { background:rgba(255,255,255,.1); color:rgba(255,255,255,.75); border:1px solid rgba(255,255,255,.15); }

/* ── Tabs bar ── */
.tc-profile-tabs-bar { background:var(--tc-white); border-bottom:2px solid var(--tc-border); position:sticky; top:68px; z-index:100; box-shadow:0 2px 8px rgba(0,0,0,.04); }
.tc-profile-tabs-inner { max-width:var(--tc-max-w); margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; gap:8px; }
.tc-profile-tabs { display:flex; gap:0; overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
.tc-profile-tabs::-webkit-scrollbar { display:none; }
.tc-profile-tab { display:flex; align-items:center; gap:5px; padding:15px 14px; font-size:13px; font-weight:600; color:var(--tc-muted); text-decoration:none !important; border-bottom:2px solid transparent; margin-bottom:-2px; transition:all .18s; white-space:nowrap; }
.tc-profile-tab:hover { color:var(--tc-navy); }
.tc-tab-active { color:var(--tc-navy) !important; border-bottom-color:var(--tc-navy) !important; }
.tc-tab-divider { color:var(--tc-border); padding:0 4px; align-self:center; font-size:18px; flex-shrink:0; }
.tc-tab-admin { }
.tc-tab-count { display:inline-flex; align-items:center; justify-content:center; background:var(--tc-red); color:#fff; border-radius:10px; font-size:10px; font-weight:700; min-width:17px; height:17px; padding:0 4px; margin-left:4px; }
.tc-profile-logout { font-size:13px; font-weight:500; color:var(--tc-muted); text-decoration:none; padding:8px 0; flex-shrink:0; transition:color .18s; }
.tc-profile-logout:hover { color:var(--tc-error); }

/* ── Content area ── */
.tc-profile-content { background:var(--tc-bg); min-height:60vh; }
.tc-profile-section { max-width:var(--tc-max-w); margin:0 auto; padding:32px 24px 64px; }
.tc-profile-section-narrow { max-width:600px; }
.tc-section-heading { font-family:var(--font-display); font-size:19px; font-weight:700; color:var(--tc-ink); margin-bottom:20px; padding-bottom:12px; border-bottom:2px solid var(--tc-border); }

/* ── Profile grid ── */
.tc-profile-grid { display:grid; grid-template-columns:1fr 280px; gap:24px; align-items:start; }
.tc-profile-main { display:flex; flex-direction:column; gap:18px; }
.tc-profile-sidebar { display:flex; flex-direction:column; gap:14px; }

/* ── Cards ── */
.tc-profile-card { background:var(--tc-white); border:1px solid var(--tc-border); border-radius:var(--tc-radius); padding:22px 24px; box-shadow:0 1px 4px rgba(0,0,0,.04); }
.tc-profile-card-title { font-size:14px; font-weight:700; color:var(--tc-ink); text-transform:uppercase; letter-spacing:.05em; margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--tc-border-light); }
.tc-profile-bio { font-size:15px; color:var(--tc-mid); line-height:1.75; margin:0; }
.tc-profile-skills-list { display:flex; flex-wrap:wrap; gap:8px; }
.tc-profile-info-list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px; font-size:14px; color:var(--tc-mid); }
.tc-profile-info-list li { display:flex; align-items:center; gap:8px; }
.tc-profile-info-list a { color:var(--tc-navy-mid); word-break:break-all; }
.tc-profile-card-tip { background:var(--tc-navy-soft); border-color:#c5d8f0; }
.tc-profile-card-tip p { font-size:13px; color:var(--tc-mid); line-height:1.5; margin-bottom:12px; }
.tc-btn-sm-red { display:inline-block; background:var(--tc-navy); color:#fff !important; padding:8px 18px; border-radius:6px; font-size:13px; font-weight:600; text-decoration:none !important; transition:background .2s; }
.tc-btn-sm-red:hover { background:var(--tc-navy-mid); }

/* ── Quick actions ── */
.tc-profile-actions-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.tc-profile-action-btn { display:flex; align-items:center; gap:9px; padding:13px 14px; border-radius:var(--tc-radius-sm); border:1.5px solid var(--tc-border); font-size:13px; font-weight:500; color:var(--tc-mid); text-decoration:none !important; transition:all .18s; background:var(--tc-white); }
.tc-profile-action-btn span { font-size:18px; flex-shrink:0; }
.tc-profile-action-btn:hover { border-color:var(--tc-navy); color:var(--tc-navy); background:var(--tc-navy-soft); }
.tc-action-admin { border-color:rgba(139,26,26,.25); color:var(--tc-red) !important; }
.tc-action-admin:hover { background:var(--tc-error-soft) !important; border-color:var(--tc-red) !important; }

/* ── Edit form ── */
.tc-edit-form { display:flex; flex-direction:column; }
.tc-edit-grid { display:grid; grid-template-columns:1fr 260px; gap:32px; align-items:start; }
.tc-edit-col { display:flex; flex-direction:column; gap:16px; }
.tc-form-footer { margin-top:28px; padding-top:20px; border-top:1px solid var(--tc-border); }

/* ── Avatar upload ── */
.tc-avatar-upload-area { width:100%; aspect-ratio:1; max-width:240px; border-radius:var(--tc-radius); overflow:hidden; cursor:pointer; position:relative; border:2px dashed var(--tc-border); transition:border-color .2s; background:var(--tc-bg); display:flex; align-items:center; justify-content:center; }
.tc-avatar-upload-area:hover { border-color:var(--tc-navy); }
.tc-avatar-upload-area img { width:100%; height:100%; object-fit:cover; }
.tc-avatar-upload-overlay { position:absolute; inset:0; background:rgba(13,24,41,.55); color:#fff; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; opacity:0; transition:opacity .2s; font-size:13px; font-weight:500; }
.tc-avatar-upload-overlay span:first-child { font-size:28px; }
.tc-avatar-upload-area:hover .tc-avatar-upload-overlay { opacity:1; }

/* ── Activity list ── */
.tc-activity-list { display:flex; flex-direction:column; margin:0; padding:0; list-style:none; }
.tc-activity-item { display:flex; align-items:center; justify-content:space-between; padding:11px 0; border-bottom:1px solid var(--tc-border-light); gap:12px; }
.tc-activity-item:last-child { border-bottom:none; padding-bottom:0; }
.tc-activity-title { font-size:14px; font-weight:500; color:var(--tc-ink); text-decoration:none !important; flex:1; line-height:1.4; }
.tc-activity-title:hover { color:var(--tc-navy); }
.tc-activity-meta { font-size:12px; color:var(--tc-muted); display:flex; align-items:center; gap:8px; white-space:nowrap; flex-shrink:0; }
.tc-activity-status { padding:2px 8px; border-radius:4px; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.03em; }
.tc-status-publish { background:var(--tc-green-soft); color:var(--tc-green); }
.tc-status-pending { background:var(--tc-gold-soft); color:#a07000; }
.tc-status-draft   { background:#f0f0f0; color:#666; }

/* ── Admin: stats grid ── */
.tc-admin-stats-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:14px; margin-bottom:16px; }
.tc-admin-stat-card { background:var(--tc-white); border:1px solid var(--tc-border); border-radius:var(--tc-radius); padding:20px 16px; display:flex; flex-direction:column; gap:3px; box-shadow:0 1px 4px rgba(0,0,0,.04); }
.tc-admin-stat-highlight { border-top:3px solid var(--tc-navy); }
.tc-admin-stat-icon { font-size:22px; margin-bottom:4px; }
.tc-admin-stat-card strong { font-size:30px; font-weight:800; color:var(--tc-ink); line-height:1; }
.tc-admin-stat-card span { font-size:11px; color:var(--tc-muted); text-transform:uppercase; letter-spacing:.05em; }

/* ── Admin: action buttons ── */
.tc-btn-admin-action { display:inline-flex; align-items:center; padding:5px 13px; border-radius:5px; font-size:12px; font-weight:600; text-decoration:none !important; border:1.5px solid var(--tc-border); color:var(--tc-mid) !important; background:var(--tc-white); transition:all .15s; white-space:nowrap; }
.tc-btn-admin-action:hover { border-color:var(--tc-navy); color:var(--tc-navy) !important; }
.tc-btn-review { border-color:var(--tc-red) !important; color:var(--tc-red) !important; }
.tc-btn-review:hover { background:var(--tc-red) !important; color:#fff !important; border-color:var(--tc-red) !important; }
.tc-member-avatar { width:36px !important; height:36px !important; border-radius:50% !important; object-fit:cover; flex-shrink:0; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .tc-profile-grid { grid-template-columns:1fr; }
  .tc-profile-sidebar { order:-1; flex-direction:row; flex-wrap:wrap; }
  .tc-profile-sidebar > * { flex:1 1 240px; }
  .tc-edit-grid { grid-template-columns:1fr; }
  .tc-avatar-upload-area { max-width:180px; }
  .tc-profile-hero-stats { margin-left:0; }
}
@media (max-width: 640px) {
  .tc-profile-hero { padding:32px 16px; }
  .tc-profile-hero-inner { gap:20px; }
  .tc-profile-hero-stats { width:100%; justify-content:stretch; }
  .tc-profile-stat { flex:1; padding:14px 12px; }
  .tc-profile-stat strong { font-size:24px; }
  .tc-profile-section { padding:24px 16px 48px; }
  .tc-profile-tabs-inner { padding:0 16px; }
  .tc-profile-actions-grid { grid-template-columns:1fr; }
  .tc-admin-stats-grid { grid-template-columns:repeat(2,1fr); }
}

/* ═══════════════════════════════════════════════════════════
   FORUM — Full styling for tcf-* classes output by the plugin
   Covers: index, category list, topic view, new topic form
═══════════════════════════════════════════════════════════ */

/* ── Outer wrapper ───────────────────────────────────────── */
.tcf-wrap {
  max-width: var(--tc-max-w);
  margin: 0 auto;
  padding: 32px 24px 64px;
  font-family: var(--font-ui);
  color: var(--tc-slate);
}
.tcf-wrap * { box-sizing: border-box; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.tcf-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--tc-muted); margin-bottom: 20px;
  flex-wrap: wrap;
}
.tcf-breadcrumb a { color: var(--tc-muted); text-decoration: none; transition: color .2s; }
.tcf-breadcrumb a:hover { color: var(--tc-navy); }
.tcf-breadcrumb span { opacity: .5; }

/* ── Page title + header row ─────────────────────────────── */
.tcf-page-title {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  color: var(--tc-ink); margin: 0;
}
.tcf-forum-header {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--tc-border);
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────────────── */
.tcf-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 600; font-family: var(--font-ui);
  text-decoration: none; cursor: pointer; border: 1.5px solid transparent;
  transition: all .2s var(--tc-ease);
}
.tcf-btn-new {
  background: var(--tc-navy); color: #fff !important;
  border-color: var(--tc-navy);
}
.tcf-btn-new:hover { background: var(--tc-navy); transform: translateY(-1px); }
.tcf-btn-ghost {
  background: transparent; color: var(--tc-mid) !important;
  border-color: var(--tc-border);
}
.tcf-btn-ghost:hover { border-color: var(--tc-navy); color: var(--tc-navy) !important; }


/* ═══════════════════════════════════════════════════════════
   FORUM — Clean modern table layout
═══════════════════════════════════════════════════════════ */

.tcf-wrap {
  max-width: var(--tc-max-w, 1200px); margin: 0 auto;
  padding: 36px 32px 64px; font-family: var(--font-ui);
}
/* New topic card */
.tcf-new-topic-card {
  background: var(--tc-white);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-lg);
  padding: 32px 36px;
  box-shadow: var(--tc-shadow);
  max-width: 780px;
}
.tcf-new-topic-card .tcf-form { gap: 20px; }
.tcf-new-topic-card .tcf-editor { min-height: 200px; }
.tcf-forum-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px; gap: 16px; flex-wrap: wrap;
}
.tcf-page-title {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  color: var(--tc-navy); margin: 0; letter-spacing: -.01em;
}
.tcf-breadcrumb {
  font-size: 13px; color: var(--tc-muted); margin-bottom: 16px;
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.tcf-breadcrumb a { color: var(--tc-muted); text-decoration: none; }
.tcf-breadcrumb a:hover { color: var(--tc-navy); }

/* New topic / join button */
.tcf-btn-new {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tc-navy); color: var(--tc-white) !important;
  padding: 9px 20px; border-radius: 6px; font-size: 13px; font-weight: 700;
  text-decoration: none; white-space: nowrap; transition: background .2s; flex-shrink: 0;
}
.tcf-btn-new:hover { background: var(--tc-navy-mid); }

/* ── CATEGORY TABLE ── */
.tcf-cats-table {
  background: var(--tc-white); border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius); overflow: hidden; box-shadow: var(--tc-shadow);
}
.tcf-cat-row {
  display: grid;
  grid-template-columns: 1fr 80px 220px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--tc-border-light);
  transition: background .15s;
}
.tcf-cat-row:last-child { border-bottom: none; }
.tcf-cat-row:hover { background: var(--tc-navy-soft); }

.tcf-cat-row-link {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none; min-width: 0;
}
.tcf-cat-icon {
  font-size: 20px; flex-shrink: 0; width: 42px; height: 42px;
  background: var(--tc-navy-soft); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.tcf-cat-info {
  display: flex; flex-direction: column; gap: 3px; min-width: 0;
}
.tcf-cat-name {
  font-size: 15px; font-weight: 600; color: var(--tc-navy); display: block;
}
.tcf-cat-row:hover .tcf-cat-name { color: var(--tc-gold); }
.tcf-cat-desc { font-size: 12px; color: var(--tc-muted); line-height: 1.4; display: block; }
.tcf-cat-count {
  font-size: 18px; font-weight: 700; color: var(--tc-navy); text-align: center;
}
.tcf-cat-last { display: flex; flex-direction: column; gap: 3px; padding-left: 16px; }
.tcf-last-title {
  font-size: 12px; font-weight: 600; color: var(--tc-navy); text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 190px; display: block;
}
.tcf-last-title:hover { color: var(--tc-gold); }
.tcf-last-meta { font-size: 11px; color: var(--tc-muted); display: block; }
.tcf-no-posts { font-size: 12px; color: var(--tc-muted); font-style: italic; }

/* ── TOPIC LIST ── */
.tcf-cat-description {
  font-size: 14px; color: var(--tc-mid); margin-bottom: 20px;
  padding: 12px 16px; background: var(--tc-navy-soft);
  border-radius: 6px; border-left: 3px solid var(--tc-navy);
}
.tcf-topic-list {
  background: var(--tc-white); border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius); overflow: hidden; box-shadow: var(--tc-shadow);
}
.tcf-topic-row {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  border-bottom: 1px solid var(--tc-border-light); transition: background .15s;
}
.tcf-topic-row:last-child { border-bottom: none; }
.tcf-topic-row:hover { background: var(--tc-bg); }
.tcf-topic-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--tc-navy-soft); display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 700; color: var(--tc-navy);
}
.tcf-topic-main { flex: 1; min-width: 0; }
.tcf-topic-title-link {
  display: block; font-size: 14px; font-weight: 600; color: var(--tc-navy);
  text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px;
}
.tcf-topic-title-link:hover { color: var(--tc-gold); }
.tcf-topic-by { font-size: 12px; color: var(--tc-muted); }
.tcf-topic-stats { display: flex; gap: 16px; flex-shrink: 0; font-size: 12px; color: var(--tc-muted); text-align: right; }

/* ── Badges ── */
.tcf-solved-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tc-green); color: #fff; font-size: 10px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%; margin-right: 4px; vertical-align: middle;
}
.tcf-pin { font-size: 12px; margin-right: 4px; }
.tcf-closed-tag {
  background: var(--tc-bg); color: var(--tc-muted); border: 1px solid var(--tc-border);
  border-radius: 4px; font-size: 10px; font-weight: 700; padding: 1px 5px; margin-right: 4px; vertical-align: middle;
}

/* ── Single topic ── */
.tcf-topic-post { margin-bottom: 0; }
.tcf-post {
  background: var(--tc-white); border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius); overflow: hidden; margin-bottom: 12px;
  box-shadow: var(--tc-shadow);
}
.tcf-post-sidebar {
  display: none; /* hidden — we show inline headers instead */
}
.tcf-post-body { padding: 20px 24px; }
.tcf-post-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--tc-border-light);
}
.tcf-post-author { font-weight: 700; font-size: 14px; color: var(--tc-navy); }
.tcf-post-role { font-size: 11px; color: var(--tc-muted); }
.tcf-post-count { font-size: 11px; color: var(--tc-muted); margin-left: 4px; }
.tcf-post-time { font-size: 12px; color: var(--tc-muted); margin-left: auto; }
.tcf-post-anchor { font-size: 12px; color: var(--tc-muted); text-decoration: none; margin-left: 8px; }
.tcf-topic-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--tc-navy); margin: 0 0 4px; letter-spacing: -.01em; }
.tcf-post-content { font-size: 15px; line-height: 1.75; color: var(--tc-mid); }
.tcf-post-content p { margin-bottom: 12px; } .tcf-post-content p:last-child { margin: 0; }
.tcf-post-actions { display: flex; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--tc-border-light); flex-wrap: wrap; }
.tcf-action-link { font-size: 12px; color: var(--tc-muted); text-decoration: none; padding: 4px 8px; border-radius: 4px; transition: all .15s; }
.tcf-action-link:hover { background: var(--tc-bg); color: var(--tc-navy); }
.tcf-replies-heading { font-size: 16px; font-weight: 600; color: var(--tc-navy); margin: 24px 0 12px; }
.tcf-solution-post { border-color: var(--tc-green); }
.tcf-solution-label { font-size: 12px; font-weight: 700; color: var(--tc-green); margin-right: auto; }

/* ── Reply + new topic forms ── */
.tcf-reply-form-wrap, .tcf-new-topic-view form {
  background: var(--tc-white); border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius); padding: 20px 24px; margin-top: 16px;
  box-shadow: var(--tc-shadow);
}
.tcf-reply-form-wrap h3 { font-size: 16px; font-weight: 600; color: var(--tc-navy); margin: 0 0 14px; }
.tcf-form { display: flex; flex-direction: column; gap: 16px; }
.tcf-form-row { display: flex; flex-direction: column; gap: 6px; }
.tcf-form-row label { font-size: 13px; font-weight: 600; color: var(--tc-slate); }
.tcf-input, .tcf-select, .tcf-editor, .tcf-textarea, .tcf-search-input {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--tc-border);
  border-radius: 6px; font-size: 14px; font-family: var(--font-ui);
  color: var(--tc-slate); background: var(--tc-white);
  transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
.tcf-input:focus,.tcf-select:focus,.tcf-editor:focus,.tcf-textarea:focus,.tcf-search-input:focus {
  outline: none; border-color: var(--tc-navy); box-shadow: 0 0 0 3px rgba(13,24,41,.1);
}
.tcf-editor, .tcf-textarea { resize: vertical; min-height: 120px; line-height: 1.65; }
.tcf-form-footer { display: flex; gap: 10px; align-items: center; }
.tcf-editor-toolbar { display: flex; gap: 6px; margin-top: 6px; }
.tcf-fmt-btn { padding: 4px 10px; border: 1px solid var(--tc-border); border-radius: 4px; background: var(--tc-white); font-size: 13px; cursor: pointer; color: var(--tc-mid); }
.tcf-fmt-btn:hover { background: var(--tc-navy-soft); color: var(--tc-navy); }
.req { color: var(--tc-error); }

/* ── Login prompt ── */
.tcf-login-prompt {
  background: var(--tc-navy-soft); border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius); padding: 20px 24px; text-align: center; margin-top: 16px;
}
.tcf-login-prompt p { color: var(--tc-mid); font-size: 14px; margin: 0 0 12px; }
.tcf-closed-notice { text-align:center; padding:16px; color:var(--tc-muted); background:var(--tc-bg); border-radius:6px; margin-top:12px; border:1px solid var(--tc-border); }

/* ── Shared buttons ── */
.tcf-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tc-navy); color: var(--tc-white) !important;
  padding: 9px 18px; border-radius: 6px; border: none; font-size: 14px;
  font-weight: 700; font-family: var(--font-ui); cursor: pointer; text-decoration: none; transition: background .2s;
}
.tcf-btn:hover { background: var(--tc-navy-mid); }
.tcf-btn-ghost {
  background: transparent !important; color: var(--tc-mid) !important;
  border: 1.5px solid var(--tc-border) !important;
}
.tcf-btn-ghost:hover { border-color: var(--tc-navy) !important; color: var(--tc-navy) !important; }
.tcf-like-btn { padding: 5px 10px; border-radius: 20px; border: 1px solid var(--tc-border); background: var(--tc-white); cursor: pointer; font-size: 13px; color: var(--tc-mid); transition: all .2s; }
.tcf-like-btn.tcf-liked { background: var(--tc-navy-soft); border-color: var(--tc-navy); color: var(--tc-navy); }
.tcf-subscribe-btn { padding: 5px 10px; border-radius: 20px; border: 1px solid var(--tc-border); background: var(--tc-white); cursor: pointer; font-size: 13px; color: var(--tc-mid); }

/* ── Flash + empty ── */
.tcf-flash { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.tcf-flash-success { background: var(--tc-green-soft); color: var(--tc-green); border: 1px solid #b8d8b8; }
.tcf-flash-error   { background: var(--tc-error-soft); color: var(--tc-error); border: 1px solid #f0c0c0; }
.tcf-empty { text-align:center; padding:40px 24px; background:var(--tc-white); border:1px dashed var(--tc-border); border-radius:var(--tc-radius); }
.tcf-empty p { color:var(--tc-muted); font-size:15px; } .tcf-empty a { color:var(--tc-navy); font-weight:600; }

/* ── Search ── */
.tcf-search-form { display: flex; gap: 10px; margin-bottom: 20px; }
.tcf-search-info { font-size: 14px; color: var(--tc-muted); margin-bottom: 16px; }
.tcf-search-result { padding: 14px 0; border-bottom: 1px solid var(--tc-border-light); }
.tcf-result-title { font-size: 15px; font-weight: 600; color: var(--tc-navy); text-decoration: none; display: block; margin-bottom: 4px; }
.tcf-result-title:hover { color: var(--tc-gold); }
.tcf-result-excerpt { font-size: 13px; color: var(--tc-mid); margin: 0 0 4px; }
.tcf-result-meta { font-size: 12px; color: var(--tc-muted); }

/* ── Pagination ── */
.tcf-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 20px; flex-wrap: wrap; }
.tcf-pagination a, .tcf-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 6px; border: 1.5px solid var(--tc-border); font-size: 13px; text-decoration: none; color: var(--tc-mid); transition: all .2s; }
.tcf-pagination a:hover { border-color: var(--tc-navy); color: var(--tc-navy); }
.tcf-pagination .current { background: var(--tc-navy); border-color: var(--tc-navy); color: var(--tc-white) !important; }

/* ── Modal (edit) ── */
.tcf-modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 9999; display: flex; align-items: center; justify-content: center; }
.tcf-modal-inner { background: var(--tc-white); border-radius: var(--tc-radius-lg); padding: 28px; width: 90%; max-width: 600px; box-shadow: var(--tc-shadow-lg); }

@media (max-width: 680px) {
  .tcf-wrap { padding: 20px 12px 40px; }
  .tcf-cats-thead { display: none; }
  .tcf-cat-row { grid-template-columns: 1fr; gap: 8px; }
  .tcf-cat-count, .tcf-cat-last { display: none; }
  .tcf-topic-stats { display: none; }
  .tcf-topic-avatar { display: none; }
}


/* Header row */
.tcf-forum-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; gap: 16px; flex-wrap: wrap;
}
.tcf-page-title {
  font-family: var(--font-display); font-size: 26px; font-weight: 600;
  color: var(--tc-navy); margin: 0; letter-spacing: -.01em;
}
.tcf-breadcrumb {
  font-size: 13px; color: var(--tc-muted); margin-bottom: 20px;
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
}
.tcf-breadcrumb a { color: var(--tc-muted); text-decoration: none; }
.tcf-breadcrumb a:hover { color: var(--tc-navy); }

/* New topic button */
.tcf-btn-new {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tc-navy); color: var(--tc-white) !important;
  padding: 9px 18px; border-radius: 6px; font-size: 13px; font-weight: 700;
  text-decoration: none; white-space: nowrap; transition: background .2s; flex-shrink: 0;
}
.tcf-btn-new:hover { background: var(--tc-navy-mid); }

/* ── CATEGORY INDEX — flat list of cards ── */
.tcf-index-view .tcf-cat-group { margin: 0; }
.tcf-index-view .tcf-cat-group-title { display: none; } /* no group labels needed */
.tcf-cat-list { display: flex; flex-direction: column; gap: 2px; }

.tcf-cat-row {
  display: flex; align-items: center; gap: 16px;
  background: var(--tc-white); border: 1px solid var(--tc-border);
  border-radius: 0; padding: 16px 20px; text-decoration: none;
  transition: background .15s, border-color .15s; cursor: pointer;
}
/* Round first and last */
.tcf-cat-list > .tcf-cat-row:first-child { border-radius: var(--tc-radius) var(--tc-radius) 0 0; }
.tcf-cat-list > .tcf-cat-row:last-child  { border-radius: 0 0 var(--tc-radius) var(--tc-radius); }
.tcf-cat-list > .tcf-cat-row:only-child  { border-radius: var(--tc-radius); }
/* Collapse borders between rows */
.tcf-cat-list > .tcf-cat-row + .tcf-cat-row { border-top: none; }
.tcf-cat-row:hover { background: var(--tc-navy-soft); border-color: var(--tc-gold); z-index: 1; position: relative; }

.tcf-cat-icon {
  font-size: 22px; flex-shrink: 0; width: 44px; height: 44px;
  background: var(--tc-navy-soft); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.tcf-cat-info { flex: 1; min-width: 0; }
.tcf-cat-name {
  display: block; font-size: 15px; font-weight: 600; color: var(--tc-navy);
  text-decoration: none; margin-bottom: 3px;
}
.tcf-cat-row:hover .tcf-cat-name { color: var(--tc-navy); }
.tcf-cat-desc { font-size: 13px; color: var(--tc-muted); margin: 0; line-height: 1.4; }
.tcf-cat-stats {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
  font-size: 12px; color: var(--tc-muted); flex-shrink: 0; text-align: right;
}
.tcf-cat-stats span { white-space: nowrap; }

/* ── TOPIC LIST ── */
.tcf-cat-description {
  font-size: 14px; color: var(--tc-mid); margin-bottom: 20px;
  padding: 12px 16px; background: var(--tc-navy-soft);
  border-radius: 6px; border-left: 3px solid var(--tc-navy);
}
.tcf-topic-list {
  background: var(--tc-white); border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius); overflow: hidden;
}
.tcf-topic-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-bottom: 1px solid var(--tc-border-light);
  transition: background .15s;
}
.tcf-topic-row:last-child { border-bottom: none; }
.tcf-topic-row:hover { background: var(--tc-bg); }
.tcf-topic-avatar {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  background: var(--tc-navy-soft); display: flex; align-items: center;
  justify-content: center; font-size: 13px; font-weight: 700; color: var(--tc-navy);
  overflow: hidden;
}
.tcf-topic-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tcf-topic-main { flex: 1; min-width: 0; }
.tcf-topic-title-link {
  display: block; font-size: 14px; font-weight: 600; color: var(--tc-navy);
  text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 2px;
}
.tcf-topic-title-link:hover { color: var(--tc-gold); }
.tcf-topic-by { font-size: 12px; color: var(--tc-muted); }
.tcf-topic-stats { display: flex; gap: 16px; flex-shrink: 0; font-size: 12px; color: var(--tc-muted); }
.tcf-solved-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--tc-green); color: #fff; font-size: 10px; font-weight: 700;
  width: 16px; height: 16px; border-radius: 50%; margin-right: 4px; vertical-align: middle;
}
.tcf-pin { font-size: 11px; margin-right: 4px; }
.tcf-closed-tag {
  background: var(--tc-bg); color: var(--tc-muted); border: 1px solid var(--tc-border);
  border-radius: 4px; font-size: 10px; font-weight: 700; padding: 1px 5px; margin-right: 4px; vertical-align: middle;
}

/* ── Single topic posts ── */
.tcf-post {
  background: var(--tc-white); border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius); padding: 20px 24px; margin-bottom: 12px;
}
.tcf-post-header {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  padding-bottom: 12px; border-bottom: 1px solid var(--tc-border-light);
}
.tcf-post-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--tc-navy-soft);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--tc-navy); overflow: hidden;
}
.tcf-post-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tcf-post-author { font-weight: 700; font-size: 14px; color: var(--tc-navy); }
.tcf-post-role { font-size: 11px; color: var(--tc-muted); display: block; }
.tcf-post-time { font-size: 12px; color: var(--tc-muted); margin-left: auto; }
.tcf-post-body { font-size: 15px; line-height: 1.75; color: var(--tc-mid); }
.tcf-post-body p { margin-bottom: 12px; } .tcf-post-body p:last-child { margin: 0; }
.tcf-post-actions { display: flex; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--tc-border-light); }

/* ── Reply box / new topic form ── */
.tcf-reply-box {
  background: var(--tc-white); border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius); padding: 20px 24px; margin-top: 16px;
}
.tcf-reply-box h3 { font-size: 15px; font-weight: 600; color: var(--tc-navy); margin: 0 0 14px; }
.tcf-form { display: flex; flex-direction: column; gap: 14px; }
.tcf-form-group { display: flex; flex-direction: column; gap: 6px; }
.tcf-form-group label { font-size: 13px; font-weight: 600; color: var(--tc-slate); }
.tcf-input, .tcf-textarea {
  width: 100%; padding: 10px 14px; border: 1.5px solid var(--tc-border);
  border-radius: 6px; font-size: 14px; font-family: var(--font-ui);
  color: var(--tc-slate); background: var(--tc-white); transition: border-color .2s, box-shadow .2s;
}
.tcf-input:focus, .tcf-textarea:focus { outline: none; border-color: var(--tc-navy); box-shadow: 0 0 0 3px rgba(13,24,41,.1); }
.tcf-textarea { resize: vertical; min-height: 120px; line-height: 1.65; }

/* ── Login prompt ── */
.tcf-login-prompt {
  background: var(--tc-navy-soft); border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius); padding: 20px 24px; text-align: center; margin-top: 16px;
}
.tcf-login-prompt p { color: var(--tc-mid); font-size: 14px; margin: 0 0 12px; }
.tcf-login-prompt a { color: var(--tc-navy); font-weight: 700; }

/* ── Buttons ── */
.tcf-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tc-navy); color: var(--tc-white) !important;
  padding: 9px 18px; border-radius: 6px; border: none; font-size: 14px;
  font-weight: 700; font-family: var(--font-ui); cursor: pointer; text-decoration: none; transition: background .2s;
}
.tcf-btn:hover { background: var(--tc-navy-mid); }
.tcf-btn-ghost { background: transparent !important; color: var(--tc-mid) !important; border: 1.5px solid var(--tc-border) !important; }
.tcf-btn-ghost:hover { border-color: var(--tc-navy) !important; color: var(--tc-navy) !important; }
.tcf-btn-danger { background: var(--tc-error) !important; }

/* ── Flash + empty ── */
.tcf-flash { padding: 12px 16px; border-radius: 6px; margin-bottom: 16px; font-size: 14px; }
.tcf-flash-success { background: var(--tc-green-soft); color: var(--tc-green); border: 1px solid #b8d8b8; }
.tcf-flash-error   { background: var(--tc-error-soft); color: var(--tc-error); border: 1px solid #f0c0c0; }
.tcf-empty { text-align: center; padding: 40px 24px; background: var(--tc-white); border: 1px dashed var(--tc-border); border-radius: var(--tc-radius); }
.tcf-empty p { color: var(--tc-muted); font-size: 15px; } .tcf-empty a { color: var(--tc-navy); font-weight: 600; }

/* ── Pagination ── */
.tcf-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
.tcf-pagination a, .tcf-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 10px; border-radius: 6px; border: 1.5px solid var(--tc-border); font-size: 13px; text-decoration: none; color: var(--tc-mid); transition: all .2s; }
.tcf-pagination a:hover { border-color: var(--tc-navy); color: var(--tc-navy); }
.tcf-pagination .current { background: var(--tc-navy); border-color: var(--tc-navy); color: var(--tc-white) !important; }

@media (max-width: 680px) {
  .tcf-wrap { padding: 20px 12px 40px; }
  .tcf-topic-stats { display: none; }
  .tcf-topic-avatar { display: none; }
  .tcf-cat-row { padding: 12px 14px; }
  .tcf-cat-stats { display: none; }
}



/* ═══════════════════════════════════════════════════════════
   BUSINESS DIRECTORY PLUGIN — THEME INTEGRATION OVERRIDES
   Applied when tc-business-directory plugin is active.
   Ensures single business pages and listing pages inherit
   the site header/footer and layout correctly.
═══════════════════════════════════════════════════════════ */

/* Single business page: tcbiz-single-wrap sits inside tc-main */
.tc-single-business #tc-main { background: var(--tc-bg); }
.tc-single-business .tcbiz-single-wrap { padding-top: 32px; }

/* Business listing page rendered as tc-platform-content */
.tc-page-fullwidth .tcbiz-wrap {
  max-width: 100%;          /* let the inner max-width handle sizing */
  padding-left: 0;
  padding-right: 0;
}

/* Claim page — render with some breathing room */
.tc-page-claim-business .tcbiz-claim-wrap { padding-top: 40px; }

/* Ensure business card hover transitions respect theme ease */
.tcbiz-card { transition-timing-function: var(--tc-ease); }

/* Star colours from theme saffron token */
.tcbiz-star-full, .tcbiz-stars-lg .tcbiz-star-full { color: var(--tc-gold); }

/* Make "Add Your Business" button in listing match theme primary btn exactly */
.tcbiz-header .tcbiz-add-btn {
  background: var(--tc-navy);
  border-color: var(--tc-navy);
  border-radius: var(--tc-radius-sm);
  font-family: var(--font-ui);
  font-size: 14px; font-weight: 700;
  padding: 10px 20px;
}

/* Businesses page on homepage widget grid — tighten spacing */
.tc-platform-content .tcbiz-wrap { padding: 32px 0; }


/* ═══════════════════════════════════════════════════════════
   FORCE SIDE-BY-SIDE AUTH LAYOUT
═══════════════════════════════════════════════════════════ */
.tc-auth-split.tc-auth-no-stack {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
}
.tc-auth-split.tc-auth-no-stack .tc-auth-left,
.tc-auth-split.tc-auth-no-stack .tc-auth-right {
    display: flex !important;
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
}

/* Adjust padding on smaller screens so the 50/50 split remains readable */
@media (max-width: 768px) {
    .tc-auth-split.tc-auth-no-stack .tc-auth-left,
    .tc-auth-split.tc-auth-no-stack .tc-auth-right {
        padding: 32px 20px !important;
    }
    .tc-auth-split.tc-auth-no-stack .tc-auth-brand-heading {
        font-size: 22px !important;
        margin-bottom: 20px !important;
    }
    .tc-auth-split.tc-auth-no-stack .tc-auth-features li {
        font-size: 12px !important;
    }
}

@media (max-width: 768px) {
  .tc-auth-split {
    margin: 0 auto !important;
    border-radius: 0 !important;
    min-height: calc(100vh - 108px) !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   FOOTER WORDPRESS MENU FIXES
═══════════════════════════════════════════════════════════ */

/* Remove default list styles from the columns */
.tc-footer-links li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Force the bottom privacy menu to lay out horizontally */
ul.tc-footer-privacy-menu {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.tc-footer-privacy-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}

ul.tc-footer-privacy-menu li a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s;
}

ul.tc-footer-privacy-menu li a:hover {
    color: var(--tc-gold-bright);
}