/* =====================================================================
   THINGDAILY THEME (Mobile-First Editorial AI + Tech Theme for Varient CI4)
   Dynamic Admin Colors: var(--vr-theme-color), var(--vr-block-color), var(--vr-mega-menu-color)
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --td-bg-page: #FAFAF8;
  --td-bg-surface: #FFFFFF;
  --td-bg-subtle: #F3F2EE;
  --td-bg-dark: var(--vr-block-color, #171717);
  --td-bg-dark-card: #222220;

  --td-text-main: #171717;
  --td-text-secondary: #52525B;
  --td-text-muted: #78716C;
  --td-text-on-dark: #FAFAF8;

  --td-accent: var(--vr-theme-color, #FF6B4A);
  --td-accent-deep: #B93A1C;
  --td-accent-soft: #FFE4DC;

  --td-green: #14532D;
  --td-green-soft: #E8F3EC;
  --td-amber: #7A5A00;
  --td-amber-soft: #FFF1CC;
  --td-purple: #581C87;
  --td-purple-soft: #F3E8FF;

  --td-border: #E5E4DF;
  --td-border-strong: #171717;

  --td-radius-sm: 10px;
  --td-radius-md: 16px;
  --td-radius-lg: 20px;
  --td-radius-xl: 24px;

  --td-shadow-sm: 0 2px 8px rgba(23, 23, 23, 0.04);
  --td-shadow-md: 0 12px 30px rgba(23, 23, 23, 0.07);
  --td-shadow-lg: 0 20px 44px rgba(23, 23, 23, 0.12);

  --td-font-display: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  --td-font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --td-font-mono: 'JetBrains Mono', monospace;
}

html[data-bs-theme="dark"], html[data-theme="dark"] {
  --td-bg-page: #0F1115;
  --td-bg-surface: #181B22;
  --td-bg-subtle: #1F232C;
  --td-bg-dark: #090A0D;
  --td-bg-dark-card: #181B22;

  --td-text-main: #F4F4F6;
  --td-text-secondary: #A1A1AA;
  --td-text-muted: #71717A;

  --td-accent-soft: rgba(255, 107, 74, 0.16);
  --td-accent-deep: #FF8B70;
  --td-green: #4ADE80;
  --td-green-soft: rgba(74, 222, 128, 0.14);
  --td-amber: #FBBF24;
  --td-amber-soft: rgba(251, 191, 36, 0.15);
  --td-purple: #C084FC;
  --td-purple-soft: rgba(192, 132, 252, 0.15);

  --td-border: #2A2E39;
  --td-border-strong: #3F4454;
}

/* ── GLOBAL ANTI-WORD-BREAK & OVERFLOW PROTECTION (Overrides Varient style-3.1.min.css) ── */
html, body {
  max-width: 100%;
  overflow-x: hidden !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

body {
  background-color: var(--td-bg-page) !important;
  color: var(--td-text-main) !important;
  font-family: var(--td-font-sans) !important;
  padding-bottom: 68px;
}
@media (min-width: 1024px) {
  body { padding-bottom: 0; }
}

.td-top-bar, .td-top-bar *,
.td-header, .td-header *,
.td-mobile-drawer, .td-mobile-drawer *,
.td-mobile-bottom-nav, .td-mobile-bottom-nav *,
.td-section, .td-section *,
.td-footer, .td-footer * {
  word-break: normal !important;
  overflow-wrap: break-word !important;
  hyphens: none !important;
  box-sizing: border-box;
}

/* Force single-line non-shrinking behavior on all nav links, logos, badges & buttons */
.td-brand-logo,
.td-brand-logo > span,
.td-brand-mark,
.td-brand-tag,
.td-nav-item,
.td-nav-badge,
.td-icon-btn,
.td-btn-primary,
.td-btn-dark,
.td-topic-pill,
.td-badge-pill,
.td-ai-tab,
.td-ai-chip,
.td-section-link,
.td-ticker-badge {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.td-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 14px;
}
@media (min-width: 768px) {
  .td-container { padding: 0 24px; }
}

/* ── TOP UTILITY BAR ── */
.td-top-bar {
  background: var(--td-bg-dark);
  color: #E5E5E0;
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.td-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 36px;
  gap: 12px;
}
.td-ticker-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.td-ticker-badge {
  background: var(--td-accent);
  color: #171717;
  font-weight: 800;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
}
.td-ticker-text {
  color: #F5F5F0 !important;
  text-decoration: none !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap !important;
  display: block;
}
.td-ticker-text:hover { color: var(--td-accent) !important; }
.td-top-right {
  display: none;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}
@media (min-width: 992px) {
  .td-top-right { display: flex; }
}
.td-top-social {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.td-top-social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #E5E5E0 !important;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.td-top-social a:hover {
  background: var(--td-accent) !important;
  color: #171717 !important;
}
.td-top-social a svg { width: 13px; height: 13px; fill: currentColor; }

/* ── STICKY HEADER & NAVIGATION (Mobile + Desktop Optimized) ── */
.td-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--td-border);
  width: 100%;
}
html[data-bs-theme="dark"] .td-header, html[data-theme="dark"] .td-header {
  background: rgba(15, 17, 21, 0.96);
}
.td-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 8px;
  flex-wrap: nowrap;
}
@media (min-width: 1024px) {
  .td-header-main {
    min-height: 64px;
    gap: 12px;
  }
}
.td-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 0;
}
.td-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--td-font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.03em;
  color: var(--td-text-main) !important;
  text-decoration: none !important;
}
@media (min-width: 640px) {
  .td-brand-logo { font-size: 20px; gap: 9px; }
}
@media (min-width: 1280px) {
  .td-brand-logo { font-size: 21px; }
}
.td-brand-mark {
  width: 32px;
  height: 32px;
  min-width: 32px;
  flex: 0 0 32px;
  border-radius: 9px;
  background: var(--td-text-main);
  color: var(--td-bg-page);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  position: relative;
}
@media (min-width: 1024px) {
  .td-brand-mark {
    width: 35px;
    height: 35px;
    min-width: 35px;
    flex: 0 0 35px;
    font-size: 17px;
  }
}
.td-brand-mark::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--td-accent);
}
/* Only show AI+TECH pill on wide desktop >=1380px so mobile & laptop nav never wraps */
.td-brand-tag {
  display: none !important;
  font-family: var(--td-font-sans);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--td-accent-soft);
  color: var(--td-accent-deep);
}
@media (min-width: 1380px) {
  .td-brand-tag { display: inline-flex !important; }
}

.td-desktop-nav {
  display: none;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.td-desktop-nav::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) {
  .td-desktop-nav { display: flex; }
}
@media (min-width: 1280px) {
  .td-desktop-nav { gap: 4px; }
}
.td-nav-item {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--td-text-main) !important;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
@media (min-width: 1280px) {
  .td-nav-item {
    padding: 7px 12px;
    font-size: 13.5px;
  }
}
.td-nav-item:hover, .td-nav-item.active {
  background: var(--td-bg-subtle);
  color: var(--td-accent) !important;
}
.td-nav-badge {
  display: none;
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 99px;
  background: var(--td-accent-soft);
  color: var(--td-accent-deep);
  text-transform: uppercase;
}
@media (min-width: 1200px) {
  .td-nav-badge { display: inline-block; }
}

.td-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
@media (min-width: 1200px) {
  .td-header-actions { gap: 8px; }
}
.td-icon-btn {
  width: 36px;
  height: 36px;
  min-width: 36px;
  flex: 0 0 36px;
  border-radius: 999px;
  border: 1px solid var(--td-border);
  background: var(--td-bg-surface);
  color: var(--td-text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}
@media (min-width: 1024px) {
  .td-icon-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex: 0 0 38px;
  }
}
.td-icon-btn:hover { border-color: var(--td-text-main); }

.td-btn-primary {
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 0;
  background: var(--td-accent);
  color: #171717 !important;
  font-weight: 800;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.td-btn-dark {
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--td-bg-dark);
  color: #FAFAF8 !important;
  font-weight: 700;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none !important;
  border: 1px solid var(--td-border-strong);
  cursor: pointer;
}
@media (min-width: 1200px) {
  .td-btn-primary, .td-btn-dark {
    height: 39px;
    padding: 0 15px;
    font-size: 13px;
  }
}
.td-hide-mobile { display: none !important; }
@media (min-width: 768px) {
  .td-hide-mobile { display: inline-flex !important; }
}
.td-hide-xs { display: none !important; }
@media (min-width: 576px) {
  .td-hide-xs { display: inline !important; }
}
@media (min-width: 1024px) {
  .td-mobile-menu-btn { display: none !important; }
}

/* ── QUICK TOPICS HORIZONTAL BAR ── */
.td-quick-bar {
  background: var(--td-bg-surface);
  border-top: 1px solid var(--td-border);
  padding: 6px 0;
}
.td-quick-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.td-quick-inner::-webkit-scrollbar { display: none; }
.td-topic-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--td-border);
  background: var(--td-bg-page);
  font-size: 12px;
  font-weight: 700;
  color: var(--td-text-secondary) !important;
  text-decoration: none !important;
  transition: all 0.15s ease;
}
@media (min-width: 768px) {
  .td-topic-pill { padding: 6px 13px; font-size: 12.5px; }
}
.td-topic-pill:hover, .td-topic-pill.active {
  background: var(--td-text-main);
  color: var(--td-bg-page) !important;
  border-color: var(--td-text-main);
}

/* ── SECTIONS & TYPOGRAPHY ── */
.td-section { padding: 20px 0; }
@media (min-width: 768px) { .td-section { padding: 34px 0; } }
.td-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--td-border-strong);
}
.td-eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--td-accent-deep);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  line-height: 1.35;
}
@media (min-width: 768px) {
  .td-eyebrow { font-size: 11.5px; letter-spacing: 0.07em; }
}
.td-title {
  font-family: var(--td-font-display);
  font-weight: 800;
  font-size: clamp(21px, 3vw, 31px);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 3px 0 0;
  color: var(--td-text-main);
}
.td-subtitle {
  font-size: 13.5px;
  color: var(--td-text-secondary);
  margin: 4px 0 0;
  line-height: 1.45;
}
.td-section-link {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--td-text-main) !important;
  text-decoration: none !important;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--td-border);
  background: var(--td-bg-surface);
}
.td-section-link:hover {
  border-color: var(--td-text-main);
  background: var(--td-bg-subtle);
}

/* ── HERO SECTION (AI FINDER + BENTO) ── */
.td-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.td-hero-grid > * { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
  .td-hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 20px; }
}
.td-hero-ai-card {
  background: var(--td-bg-surface);
  border: 1px solid var(--td-border);
  border-radius: var(--td-radius-lg);
  padding: 18px 16px;
  box-shadow: var(--td-shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}
@media (min-width: 768px) {
  .td-hero-ai-card { padding: 30px; border-radius: var(--td-radius-xl); gap: 18px; }
}
.td-hero-h1 {
  font-family: var(--td-font-display);
  font-weight: 800;
  font-size: clamp(26px, 5vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  margin: 6px 0 8px;
  color: var(--td-text-main);
}
.td-ai-widget {
  background: var(--td-bg-page);
  border: 1px solid var(--td-border);
  border-radius: var(--td-radius-md);
  padding: 12px;
}
@media (min-width: 768px) { .td-ai-widget { padding: 14px; } }
.td-ai-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  background: var(--td-bg-subtle);
  padding: 5px;
  border-radius: 12px;
}
@media (min-width: 576px) {
  .td-ai-tabs { grid-template-columns: repeat(4, 1fr); }
}
.td-ai-tab {
  min-height: 38px;
  padding: 6px 8px;
  border: 0;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 700;
  background: transparent;
  color: var(--td-text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.td-ai-tab.active {
  background: var(--td-bg-dark);
  color: #FAFAF8;
}
.td-ai-chips {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 6px;
  margin: 10px 0;
  padding-bottom: 2px;
}
.td-ai-chips::-webkit-scrollbar { display: none; }
@media (min-width: 640px) {
  .td-ai-chips { flex-wrap: wrap; overflow-x: visible; gap: 8px; }
}
.td-ai-chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--td-border);
  background: var(--td-bg-surface);
  font-size: 12px;
  font-weight: 600;
  color: var(--td-text-main);
  cursor: pointer;
}
.td-ai-chip:hover {
  border-color: var(--td-accent);
  background: var(--td-accent-soft);
  color: var(--td-accent-deep);
}
.td-ai-input-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.td-ai-input {
  min-width: 0;
  min-height: 46px !important;
  height: 46px !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--td-border) !important;
  background: var(--td-bg-surface) !important;
  color: var(--td-text-main) !important;
  padding: 0 15px !important;
  font-size: 14.5px !important;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.td-ai-input:focus {
  border-color: var(--td-accent) !important;
  box-shadow: 0 0 0 3px var(--td-accent-soft) !important;
  outline: none !important;
}
@media (min-width: 576px) {
  .td-ai-input-row { flex-direction: row; gap: 10px; }
  .td-ai-input-row .td-ai-input { flex: 1; }
}

/* ── NEWSLETTER INPUT BOX (Card 3 & Footer) ── */
.td-email-field-wrap {
  position: relative;
  width: 100%;
}
.td-email-field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--td-text-muted);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.td-email-field {
  width: 100% !important;
  min-height: 48px !important;
  height: 48px !important;
  padding: 0 16px 0 42px !important;
  border-radius: 12px !important;
  border: 1.5px solid var(--td-border) !important;
  background: var(--td-bg-page) !important;
  color: var(--td-text-main) !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03) !important;
  transition: all 0.2s ease !important;
}
.td-email-field::placeholder {
  color: var(--td-text-muted) !important;
  opacity: 0.85;
}
.td-email-field:focus {
  border-color: var(--td-accent) !important;
  background: var(--td-bg-surface) !important;
  box-shadow: 0 0 0 4px var(--td-accent-soft) !important;
  outline: none !important;
}
.td-hero-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.td-hero-bento > * { min-width: 0; }
@media (min-width: 600px) {
  .td-hero-bento { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
.td-bento-main {
  grid-column: 1 / -1;
  background: var(--td-bg-dark);
  color: #FAFAF8 !important;
  border-radius: var(--td-radius-lg);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  text-decoration: none !important;
}
@media (min-width: 768px) {
  .td-bento-main { padding: 24px; border-radius: var(--td-radius-xl); min-height: 230px; }
}
.td-bento-sub {
  background: var(--td-bg-surface);
  border: 1px solid var(--td-border);
  border-radius: var(--td-radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none !important;
  color: var(--td-text-main) !important;
}
.td-score-badge {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 13px;
  background: #22C55E;
  color: #052E16;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--td-font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}
.td-score-badge small { font-size: 9.5px; font-weight: 700; }

/* ── GRIDS & CARDS ── */
.td-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.td-two-col > * { min-width: 0; max-width: 100%; }
@media (min-width: 1024px) {
  .td-two-col { grid-template-columns: 1fr 340px; gap: 24px; }
}
.td-stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.td-stories-grid > * { min-width: 0; }
@media (min-width: 640px) {
  .td-stories-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
.td-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.td-reviews-grid > * { min-width: 0; }
@media (min-width: 768px) {
  .td-reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1120px) {
  .td-reviews-grid { grid-template-columns: repeat(3, 1fr); }
}
.td-card {
  background: var(--td-bg-surface);
  border: 1px solid var(--td-border);
  border-radius: var(--td-radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 0;
}
@media (min-width: 768px) {
  .td-card { padding: 20px; gap: 14px; }
}
.td-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--td-shadow-md);
}
.td-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
}
.td-subscores {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  background: var(--td-bg-page);
  padding: 11px;
  border-radius: 12px;
  border: 1px solid var(--td-border);
}
.td-bar-track {
  height: 6px;
  border-radius: 99px;
  background: var(--td-border);
  overflow: hidden;
  margin-top: 3px;
}
.td-bar-fill {
  height: 100%;
  border-radius: 99px;
  background: var(--td-accent);
}
.td-pros-cons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  font-size: 12.5px;
}
@media (min-width: 420px) {
  .td-pros-cons { grid-template-columns: 1fr 1fr; }
}
.td-pros-list, .td-cons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.td-pros-list li::before { content: '✓ '; color: #16A34A; font-weight: 800; }
.td-cons-list li::before { content: '✕ '; color: #DC2626; font-weight: 800; }

/* ── COMPARE CENTER TABLES (Clean Mobile & Desktop Layout) ── */
.td-compare-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.td-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
@media (min-width: 768px) {
  .td-compare-table { font-size: 13.5px; }
}
.td-compare-table th,
.td-compare-table td {
  padding: 9px 8px;
  border-bottom: 1px solid var(--td-border);
  vertical-align: top;
  line-height: 1.35;
  text-align: left;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
.td-compare-table th {
  font-weight: 800;
  color: var(--td-text-main);
  background: var(--td-bg-subtle);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.td-compare-table th:first-child { border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
.td-compare-table th:last-child { border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
.td-compare-table td:first-child {
  font-weight: 700;
  color: var(--td-text-secondary);
  width: 28%;
}
.td-compare-table tbody tr:last-child td { border-bottom: 0; }

/* ── BUYING GUIDES RESPONSIVE TABLE (Stacked Cards on Mobile <768px, Full Table >=768px) ── */
.td-buying-table {
  width: 100%;
  border-collapse: collapse;
}
.td-buying-table th,
.td-buying-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--td-border);
  vertical-align: middle;
  text-align: left;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
.td-buying-table th {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--td-text-secondary);
  background: var(--td-bg-subtle);
  white-space: nowrap !important;
}
@media (max-width: 767.98px) {
  .td-buying-table,
  .td-buying-table tbody {
    display: block;
    width: 100%;
  }
  .td-buying-table thead {
    display: none !important;
  }
  .td-buying-table tbody tr {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
    margin-top: 12px;
    border: 1px solid var(--td-border);
    border-radius: 14px;
    background: var(--td-bg-page);
  }
  .td-buying-table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: 0;
    width: 100%;
    font-size: 13.5px;
  }
  .td-buying-table tbody td.td-buy-desc {
    display: block;
    color: var(--td-text-secondary);
    line-height: 1.4;
    padding: 4px 0;
  }
  .td-buying-table tbody td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--td-text-muted);
    margin-right: 8px;
  }
  .td-buying-table tbody td.td-buy-no-label::before,
  .td-buying-table tbody td.td-buy-desc::before {
    display: none;
  }
}

/* ── AI HUB DARK SECTION ── */
.td-ai-hub-wrap {
  background: var(--vr-mega-menu-color, #141413);
  color: #FAFAF8;
  border-radius: var(--td-radius-lg);
  padding: 22px 16px;
  margin: 8px 0;
}
@media (min-width: 768px) {
  .td-ai-hub-wrap { padding: 38px 34px; border-radius: var(--td-radius-xl); }
}
.td-ai-tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.td-ai-tools-grid > * { min-width: 0; }
@media (min-width: 640px) { .td-ai-tools-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .td-ai-tools-grid { grid-template-columns: repeat(4, 1fr); } }
.td-ai-tool-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  color: #FAFAF8;
}

/* ── MOBILE DRAWER & FIXED BOTTOM BAR ── */
.td-mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 62px;
  background: var(--td-bg-surface);
  border-top: 1px solid var(--td-border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 99;
  padding: 4px 6px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.05);
}
@media (min-width: 1024px) {
  .td-mobile-bottom-nav { display: none; }
}
.td-mob-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--td-text-secondary) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.td-mob-btn.active, .td-mob-btn:hover { color: var(--td-accent) !important; }
.td-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1050;
  display: none;
}
.td-drawer-backdrop.open { display: block; }
.td-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(310px, 85vw);
  background: var(--td-bg-surface);
  z-index: 1051;
  padding: 18px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.td-mobile-drawer.open { transform: translateX(0); }

/* ── FOOTER ── */
.td-footer {
  background: #141413;
  color: #D1D5DB;
  margin-top: 32px;
  border-top: 1px solid #2A2D35;
}
.td-footer a { color: #D1D5DB; text-decoration: none; }
.td-footer a:hover { color: var(--td-accent); }
