/* ============================================================
   TelegramTrading.net — MASTER CSS v6.8.7
   Child theme: telegramtrading-master.css
   Fonts: Plus Jakarta Sans (headings/UI) · Inter (body)
   ─────────────────────────────────────────────────────────────
   v6.8.7 patches:
   • Pagination — mobile (≤600px): page numbers and dots hidden;
     only Previous / Next buttons shown, labels centered inside
     wider buttons (min-width 130px, height 46px).
   • Pagination — all viewports: prev/next buttons get explicit
     justify-content:center so label is always visually centred.
   • Cards per page (9 instead of 10): set in WordPress Admin →
     Settings → Reading → "Blog pages show at most" = 9,
     OR add to functions.php:
       add_action('pre_get_posts', function($q){
         if(!is_admin() && $q->is_main_query() &&
            ($q->is_archive()||$q->is_home()||$q->is_category()||$q->is_tag()))
           $q->set('posts_per_page', 9);
       });
   ─────────────────────────────────────────────────────────────
   v6.8.5 patches:
   • __title: margin-top and margin-bottom set as separate !important
     declarations — beats .entry-content h3 { margin-top: 40px }
     definitively (shorthand was losing the specificity fight).
   ─────────────────────────────────────────────────────────────
   v6.8.4 patches:
   • tt-best-bot-block: removed inset box-shadow (caused top gap);
     richer gradient angle 160deg; stronger border opacity.
   • __title: !important on color/size/weight; clamp(24px,4.5vw,30px);
     padding-top 28px flush to stripe; margin-top 0 !important.
   • __select: 13.5px, taller padding, wider max-width 260px.
   • __result: gap 20px, padding bottom 30px.
   • __logo: 52px, rounded-rect (14px radius) instead of circle.
   • __name: 19px, color !important, tighter letter-spacing.
   • __cta: 14px, padding 11px 32px — beefier tap target.
   ─────────────────────────────────────────────────────────────
   v6.8.2 patches:
   • tt-best-bot-block__title: clamp(22px,4vw,28px), white-space:nowrap
     (single line on all viewports), tighter letter-spacing.
   • tt-best-bot-block__selector label: display:none — title is enough.
   • tt-best-bot-block__result: always flex-column; new __bot-row rule
     keeps logo+name side-by-side; CTA stacks below on all screens.
   ─────────────────────────────────────────────────────────────
   v6.8 patches:
   • Archive cards mobile: tiny extra padding inside entry-header
     and footer meta on ≤600px only. No change to post/page layout.
   • Date pill mobile: replaced gap approach with margin-bottom on
     first <time> element — reliably separates Posted / Updated rows.
   • tt-best-bot-block: new chain selector CTA block for comparison
     pages. Dark-navy gradient card, teal outline button, small
     circular bot logo, JS-toggled per chain. Replaces tt-cta-wrap
     after Key Takeaways on multi-bot comparison pages.
   ─────────────────────────────────────────────────────────────
   v6.3 patches:
   • tt-table: all data cells center-aligned; border-collapse changed
     to separate (supports border-bottom per-cell without bleed).
     table-layout: auto (no column clipping). Bot col left-aligned
     with more padding. Added .tt-cell-pills flex wrapper and .tt-pill
     class for all cell values. Yes/No pills use teal-pale/red-pale
     fills with ✓/✗ prefix. Featured row pills get richer tones.
     Legacy td.yes/td.no selectors preserved for backward compat.
   • tt-table-carousel: .tt-carousel-card-value now a flex-wrap
     container for pills. .tt-pill inside carousel matches desktop
     pill style. Featured card gets full teal border + teal glow shadow.
     Card header img bumped to 50×50px. Footer button max-width 280px.
   v6.2 patches:
   • REMOVED section 22 entirely — #tgb / .tbl-wrap / .mob-card
     was legacy dead code duplicating tt-table / tt-table-carousel.
     One table system now. No more #tgb anywhere.
   • tt-table: upgraded header to 10.5px / center-aligned with
     left-align for bot+features cols. Shadow upgraded to --tt-shadow-lg.
     Border-radius upgraded to --tt-r-lg. Added .featured row (teal
     left-accent + teal logo ring). Yes/No get ✓/✗ CSS icons.
     Logo figures bumped to 46×46px. tt-btn-primary in Start column
     sized to 13px / 8px 18px.
   • tt-table-carousel: .featured card gets teal top border.
     tt-carousel-card-value gets font-family var(--tt-head) + weight 600.
     Yes/No icons added. Footer bg uses --tt-off-white.
     max-width on footer button raised to 260px.
   • tt-table-small: header font-size aligned to 10.5px. Yes/No icons added.
   ─────────────────────────────────────────────────────────────
   v6.1 patches:
   • Fix 1 — tt-table bot logos too large: constrain figure/img
     inside td to 44×44px.
   • Fix 2 — tt-emoji-list beautified: clean single-line block list.
   ============================================================ */

/* Google Fonts loaded via functions.php (non-blocking) — removed @import */

/* ============================================================
   1. VARIABLES
   ============================================================ */
:root {
  --tt-blue:       #2A4E8E;
  --tt-blue-dark:  #1e3a6e;
  --tt-blue-bright:#4a9eff;
  --tt-blue-pale:  #e8effc;                  /* ↑ slightly deeper, richer */
  --tt-blue-ultra: #f3f6fd;                  /* ↑ a touch more colour */
  --tt-gold:       #F5C518;
  --tt-gold-dark:  #c8920a;
  --tt-gold-pale:  #fef8e3;
  --tt-teal:       #00DFB8;
  --tt-teal-dark:  #00b896;
  --tt-teal-pale:  #e4faf6;
  --tt-white:      #ffffff;
  --tt-off-white:  #f6f8fa;                  /* ↑ cooler, cleaner page bg */
  --tt-light:      #eef2f8;                  /* ↑ softer wash */
  --tt-border:     #dde4ef;                  /* ↑ slightly cooler */
  --tt-border-mid: #bfcde6;
  --tt-text:       #15203b;                  /* ↑ richer deep-navy */
  --tt-text-mid:   #475068;                  /* ↑ cool-grey */
  --tt-text-light: #6e7e9a;                  /* ↑ blue-tinted mid */
  --tt-shadow-sm:  0 1px 5px rgba(30,58,110,0.07);
  --tt-shadow:     0 4px 18px rgba(30,58,110,0.09);
  --tt-shadow-lg:  0 8px 36px rgba(30,58,110,0.13);
  --tt-r-sm:       6px;
  --tt-r:          12px;
  --tt-r-lg:       18px;
  --tt-ease:       0.18s ease;
  --tt-head:       'Plus Jakarta Sans', sans-serif;
  --tt-body:       'Inter', sans-serif;

  /* Nav sizing tokens — change in one place */
  --nav-h:         68px;
  --nav-h-mobile:  58px;
}

/* ============================================================
   2. BASE RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--tt-body);
  font-size: 17px;
  line-height: 1.86;
  letter-spacing: -0.01em;
  color: var(--tt-text);
  background: radial-gradient(ellipse at 50% 0%, #ffffff 0%, var(--tt-off-white) 72%);
  background-attachment: fixed;
}

/* 11. Subtle grain texture — invisible at a glance, removes plasticky flatness */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

img { max-width: 100%; height: auto; display: block; }
svg { overflow: visible; }
a { color: var(--tt-blue); text-decoration: none; transition: color var(--tt-ease); }
a:hover, a:focus, a:active { color: var(--tt-blue-dark); }
:focus-visible { outline: 3px solid var(--tt-blue); outline-offset: 3px; border-radius: 3px; }
::selection { background: rgba(47,80,139,0.14); color: var(--tt-text); }  /* ↑ softer tint */
.screen-reader-text { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* ============================================================
   3. GP LAYOUT
   ============================================================ */

.grid-container { max-width: 900px; }
.site-content { padding-top: 28px; padding-bottom: 60px; }

/* Article card */
.separate-containers .inside-article,
.separate-containers .page-header,
.separate-containers .paging-navigation {
  background: var(--tt-white);
  border-radius: var(--tt-r-lg);
  box-shadow: var(--tt-shadow-lg);
  border: 1px solid var(--tt-border);
}

.separate-containers .inside-article {
  padding: 48px 48px;
  overflow: hidden;
}

.separate-containers .page-header { padding: 0; overflow: hidden; }
.separate-containers .paging-navigation { padding: 16px 24px; }

/* ============================================================
   4. FEATURED IMAGE
   ============================================================ */

.featured-image.page-header-image-single {
  margin: -48px -48px 36px !important;
  width: calc(100% + 96px) !important;
  display: block;
}

.featured-image.page-header-image-single img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  box-shadow: none;
}

/* ============================================================
   5. NAVIGATION — DESKTOP
   ============================================================ */

/* ── Header shell ── */
#masthead,
.site-header {
  background: var(--tt-blue) !important;
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
  position: sticky;
  top: 0;
  z-index: 1000;
  overflow: visible !important;
}

.inside-header {
  display: flex;
  align-items: center;
  min-height: var(--nav-h);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  position: relative;
}

/* ── Logo ── */
.site-logo img.header-image,
.site-header .header-image {
  height: 64px !important;
  width: auto !important;
  max-width: none !important;
}

/* ── Nav container reset ── */
.main-navigation,
.main-navigation ul,
.main-navigation ul ul {
  background: transparent !important;
}

.inside-navigation {
  padding: 0 16px;
}

/* ── Top-level menu row ── */
.main-navigation .main-nav > ul,
.main-navigation .main-nav .sf-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ── Top-level links ── */
.main-navigation .main-nav > ul > li > a,
.main-navigation .main-nav .sf-menu > li > a {
  font-family: var(--tt-head) !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.80) !important;
  letter-spacing: 0.01em;
  padding: 10px 14px !important;
  border-radius: var(--tt-r-sm);
  display: flex;
  align-items: center;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease !important;
  white-space: nowrap;
}

.main-navigation .main-nav > ul > li > a:hover,
.main-navigation .main-nav > ul > li.sfHover > a {
  background: rgba(255,255,255,0.10) !important;
  color: #fff !important;
}

/* Active / current page */
.main-navigation .main-nav > ul > li[class*="current-menu-"] > a {
  background: rgba(255,255,255,0.10) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-bottom: 2px solid var(--tt-gold) !important;
  padding-bottom: 8px !important;
}

/* ── Dropdown: shown by SuperFish (sfHover) — must be explicit ── */
.main-navigation .main-nav ul li.sfHover > ul,
.main-navigation .main-nav ul li:hover > ul {
  display: block !important;
}

/* ── Dropdown styles ── */
/* FIX: margin-top creates a dead gap the cursor crosses → hover lost → menu closes.
   padding-top lives INSIDE the element so the hover zone is continuous. */
.main-navigation .main-nav ul ul {
  background: var(--tt-blue-dark) !important;
  border-radius: var(--tt-r-sm) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  border-top: 2px solid var(--tt-gold) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28) !important;
  padding: 8px 0 6px !important;
  min-width: 200px;
  margin-top: 0 !important;
}

.main-navigation .main-nav ul ul li {
  margin: 0 !important;
  padding: 0 !important;
}

.main-navigation .main-nav ul ul li > a {
  font-family: var(--tt-head) !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.75) !important;
  padding: 9px 18px !important;
  display: block !important;
  border-radius: 0 !important;
  transition: background 0.12s ease, color 0.12s ease !important;
  line-height: 1.35 !important;
}

.main-navigation .main-nav ul ul li > a:hover,
.main-navigation .main-nav ul ul li.sfHover > a {
  background: rgba(255,255,255,0.07) !important;
  color: var(--tt-gold) !important;
}

/* Remove all pseudo-element underlines/carets — using bg highlight instead */
.main-navigation .main-nav > ul > li > a::after,
.main-navigation .main-nav ul ul li > a::after {
  display: none !important;
}

/* ── Items with sub-menus: tighten right padding since caret is hidden ── */
.main-navigation .main-nav > ul > li.menu-item-has-children > a,
.main-navigation .main-nav .sf-menu > li.menu-item-has-children > a,
.main-navigation .main-nav > ul > li.sf-with-ul > a,
.main-navigation .main-nav .sf-menu > li.sf-with-ul > a {
  padding-right: 6px !important;
}

/* ── Gold pill CTA ── */
.main-navigation .main-nav > ul > li.nav-gold-pill,
.main-navigation .main-nav .sf-menu > li.nav-gold-pill {
  margin-left: 20px;
}

.main-navigation .main-nav > ul > li.nav-gold-pill > a,
.nav-gold-pill > a {
  background: var(--tt-gold) !important;
  color: #0d1b2e !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  border-radius: 50px !important;
  padding: 9px 20px !important;
  box-shadow: 0 2px 12px rgba(245,197,24,0.35);
  display: inline-flex !important;
  align-items: center;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease !important;
}

.main-navigation .main-nav > ul > li.nav-gold-pill > a:hover,
.nav-gold-pill > a:hover {
  background: #ffd000 !important;
  color: #0d1b2e !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245,197,24,0.45) !important;
}

/* ============================================================
   5b. NAVIGATION — MOBILE
   ============================================================ */

/* Fade-in animation for the panel (no translateY — that caused the jump) */
@keyframes tt-nav-open {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 768px) {

  :root { --nav-h-mobile: 76px; }

  /* ================================================================
     MOBILE HEADER
     GP puts .inside-header (logo) and nav.main-navigation (burger)
     as siblings inside #masthead. .inside-header is a .grid-container
     with max-width/margin:auto which fights flexbox.
     
     Simple solution: let GP keep its normal layout for the logo.
     Absolute-position the burger to the right edge of #masthead.
     Dropdown = fixed overlay below header.
     ================================================================ */

  /* 1. Header shell — just needs position:relative for the burger */
  #masthead,
  .site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    overflow: visible !important;
  }

  /* 2. Logo area — let GP do its thing, just set height */
  .inside-header {
    min-height: var(--nav-h-mobile) !important;
    display: flex !important;
    align-items: center !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  /* 3. Nav wrapper — collapsed, no layout impact */
  .main-navigation {
    position: static !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* 4. Burger — absolute, right edge, vertically centered */
  .menu-toggle,
  button.menu-toggle {
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 1001 !important;
    font-family: var(--tt-head) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(255,255,255,0.92) !important;
    background: rgba(255,255,255,0.10) !important;
    border: 1px solid rgba(255,255,255,0.20) !important;
    border-radius: var(--tt-r-sm) !important;
    padding: 7px 13px !important;
    margin: 0 !important;
    cursor: pointer !important;
    line-height: 1.3 !important;
    box-shadow: none !important;
    transition: background 0.15s ease !important;
    float: none !important;
    width: auto !important;
    height: auto !important;
  }

  .menu-toggle:hover,
  button.menu-toggle:hover {
    background: rgba(255,255,255,0.18) !important;
    transform: translateY(-50%) !important;
  }

  /* 5. Dropdown panel — fixed overlay below header */
  .main-navigation .main-nav {
    display: none;
    position: fixed !important;
    top: var(--nav-h-mobile) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: calc(100dvh - var(--nav-h-mobile)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    background: var(--tt-blue-dark) !important;
    border-top: 2px solid var(--tt-gold) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.42) !important;
    z-index: 9998 !important;
  }

  .main-navigation.toggled .main-nav {
    display: block !important;
    animation: tt-nav-open 0.22s ease forwards;
  }

  /* ── Menu list ── */
  .main-navigation .main-nav > ul,
  .main-navigation .main-nav .sf-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 8px 0 20px !important;
    background: transparent !important;
  }

  /* ── Top-level links ── */
  .main-navigation .main-nav > ul > li > a,
  .main-navigation .main-nav .sf-menu > li > a {
    font-family: var(--tt-head) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.85) !important;
    padding: 13px 20px !important;
    border-radius: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.07) !important;
    background: transparent !important;
    display: block !important;
    transition: background 0.12s ease, color 0.12s ease !important;
    white-space: normal !important;
  }

  .main-navigation .main-nav > ul > li > a:hover {
    background: rgba(255,255,255,0.07) !important;
    color: #fff !important;
  }

  /* ── Gold pill CTA — full width at top ── */
  .main-navigation .main-nav > ul > li.nav-gold-pill,
  .main-navigation .main-nav .sf-menu > li.nav-gold-pill {
    order: -1 !important;
    padding: 14px 16px 12px !important;
    border-bottom: 1px solid rgba(255,255,255,0.10) !important;
    margin-left: 0 !important;
  }

  .main-navigation .main-nav > ul > li.nav-gold-pill > a {
    background: var(--tt-gold) !important;
    color: #0d1b2e !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    border-radius: var(--tt-r-sm) !important;
    padding: 13px 20px !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    border-bottom: none !important;
    box-shadow: 0 3px 14px rgba(245,197,24,0.35) !important;
  }

  .main-navigation .main-nav > ul > li.nav-gold-pill > a:hover {
    background: #ffd000 !important;
    color: #0d1b2e !important;
  }

  /* ── Sub-menus: collapsed by default, shown via toggled-on ── */
  .main-navigation .main-nav ul ul {
    display: none !important;
    position: static !important;
    background: rgba(0,0,0,0.18) !important;
    border: none !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .main-navigation .main-nav li.toggled-on > ul {
    display: block !important;
  }

  .main-navigation .main-nav ul ul li > a {
    font-family: var(--tt-head) !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,0.70) !important;
    padding: 11px 20px 11px 36px !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    border-radius: 0 !important;
    display: block !important;
    transition: color 0.12s ease, background 0.12s ease !important;
  }

  .main-navigation .main-nav ul ul li > a:hover {
    color: var(--tt-gold) !important;
    background: rgba(255,255,255,0.04) !important;
  }

  /* ── Sub-menu toggle arrows ── */
  .main-navigation .main-nav .sub-menu-toggle,
  .main-navigation .main-nav .dropdown-menu-toggle {
    background: transparent !important;
    border: none !important;
    color: rgba(255,255,255,0.50) !important;
    padding: 13px 18px !important;
    cursor: pointer !important;
    position: absolute !important;
    right: 0 !important;
    top: 0 !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    transition: color 0.15s ease !important;
  }

  .main-navigation .main-nav .sub-menu-toggle:hover,
  .main-navigation .main-nav .dropdown-menu-toggle:hover {
    color: #fff !important;
  }

  .main-navigation .main-nav > ul > li {
    position: relative !important;
  }

  .main-navigation .main-nav > ul > li > a::after,
  .main-navigation .main-nav ul ul li > a::after {
    display: none !important;
  }
}

/* ============================================================
   6. TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--tt-head);
  color: var(--tt-text);
  line-height: 1.25;
  letter-spacing: -0.016em;                  /* ↑ fractionally tighter */
  margin-top: 0;
  margin-bottom: 0;
}

h1.entry-title, .entry-title {
  font-size: clamp(26px, 4.5vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.21;
  margin-bottom: 10px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

/* 13. Entry title link — smooth hover to blue */
.entry-title a { color: var(--tt-text); text-decoration: none; transition: color 0.22s ease; }
.entry-title a:hover { color: var(--tt-blue); text-decoration: none; }

.entry-content h2 {
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 700;
  color: var(--tt-blue-dark);
  margin-top: 56px;
  margin-bottom: 22px;
  padding-left: 15px;
  border-left: 3px solid var(--tt-blue-bright);
  line-height: 1.32;
  letter-spacing: -0.018em;
}

.entry-content h3 {
  font-size: clamp(17px, 2.5vw, 20px);
  font-weight: 700;                          /* ↑ from 600 */
  color: var(--tt-text);
  margin-top: 40px;
  margin-bottom: 14px;
  letter-spacing: -0.015em;
}

.entry-content h4 {
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 600;
  color: var(--tt-text-mid);
  margin-top: 24px;
  margin-bottom: 10px;
}

.entry-content h5, .entry-content h6 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tt-text-light);
  margin-top: 20px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.07em;                    /* ↑ slightly more spaced */
}

.entry-content p { font-size: 17px; line-height: 1.86; color: var(--tt-text); margin-top: 0; margin-bottom: 26px; }
.entry-content p:last-child { margin-bottom: 0; }

.entry-content a {
  color: var(--tt-blue);
  text-decoration: underline;
  text-decoration-thickness: 1px;           /* ↑ hairline — more refined */
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color var(--tt-ease);
}

.entry-content a:hover { color: var(--tt-blue-dark); }

/* Lists */
.entry-content ul { list-style: none; padding: 0; margin: 0 0 24px; }

.entry-content ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.79;
  color: var(--tt-text);
}

.entry-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 6px; height: 6px;                  /* ↑ fractionally smaller, more refined */
  background: var(--tt-blue);
  border-radius: 50%;
}

.entry-content ul ul { margin-top: 8px; margin-bottom: 8px; }
.entry-content ul ul li::before { background: transparent; border: 2px solid var(--tt-blue); }

.entry-content ol { list-style: none; padding-left: 0; counter-reset: ol-c; margin: 0 0 24px; }

.entry-content ol li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 10px;
  font-size: 17px;
  line-height: 1.79;
  color: var(--tt-text);
  counter-increment: ol-c;
}

.entry-content ol li::before {
  content: counter(ol-c);
  position: absolute; left: 0; top: 1px;
  width: 26px; height: 26px;
  background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-dark) 100%);
  color: #fff;
  font-family: var(--tt-head); font-size: 12px; font-weight: 800;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

.entry-content dl { margin: 0 0 24px; }
.entry-content dt { font-family: var(--tt-head); font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.entry-content dd { font-size: 16px; color: var(--tt-text-mid); margin-left: 16px; margin-bottom: 12px; padding-left: 12px; border-left: 2px solid var(--tt-border); }

/* Inline text */
.entry-content strong, .entry-content b { font-weight: 700; color: var(--tt-text); }
.entry-content em, .entry-content i { font-style: italic; color: var(--tt-text-mid); }
.entry-content mark { background: var(--tt-gold-pale); color: var(--tt-text); padding: 1px 4px; border-radius: 3px; }
.entry-content del, .entry-content s { color: var(--tt-text-light); text-decoration: line-through; }
.entry-content abbr[title] { text-decoration: underline dotted; cursor: help; color: var(--tt-text-mid); }
.entry-content sup, .entry-content sub { font-size: 12px; font-weight: 600; color: var(--tt-blue); }
.entry-content kbd { background: var(--tt-white); border: 1px solid var(--tt-border-mid); border-bottom-width: 3px; border-radius: 4px; padding: 2px 7px; font-family: var(--tt-head); font-size: 13px; font-weight: 700; color: var(--tt-text-mid); }

/* Blockquote */
.entry-content blockquote, .entry-content .wp-block-quote {
  margin: 32px 0; padding: 22px 26px 22px 30px;
  border-left: 3px solid transparent;
  border-image: linear-gradient(to bottom, var(--tt-blue), var(--tt-teal)) 1;
  background: var(--tt-blue-ultra);
  border-radius: 0 var(--tt-r) var(--tt-r) 0;
  font-size: 17px; color: var(--tt-text); line-height: 1.82;
}

.entry-content blockquote p, .entry-content .wp-block-quote p { margin-bottom: 8px; font-size: 17px; }

.entry-content blockquote cite, .entry-content .wp-block-quote cite {
  font-size: 13px; font-family: var(--tt-head); font-weight: 600;
  color: var(--tt-text-light); font-style: normal; display: block; margin-top: 10px;
}

.entry-content .wp-block-pullquote {
  text-align: center; padding: 32px 24px;
  border-top: 3px solid var(--tt-blue); border-bottom: 3px solid var(--tt-blue);
  margin: 36px 0; background: var(--tt-white);
}

.entry-content .wp-block-pullquote p {
  font-family: var(--tt-head); font-size: clamp(18px, 3vw, 24px);
  font-weight: 700; color: var(--tt-blue-dark); line-height: 1.4; margin: 0;
}

hr, .entry-content hr, .entry-content .wp-block-separator {
  border: none; border-top: 1px solid var(--tt-border); margin: 36px 0; /* ↑ 1px — lighter */
}

/* ============================================================
   7. CODE
   ============================================================ */

.entry-content code, .entry-content .wp-block-code code {
  font-size: 14px; background: var(--tt-light); border: 1px solid var(--tt-border);
  border-radius: 5px; padding: 2px 7px; color: var(--tt-blue-dark);
  font-family: 'JetBrains Mono','Fira Code','Courier New',monospace; word-break: break-word;
}

.entry-content pre, .entry-content .wp-block-code {
  background: #0f1e35;                       /* ↑ richer, blue-black tone */
  color: #dde6f5;                            /* ↑ cooler, more readable */
  border-radius: var(--tt-r);
  padding: 26px; overflow-x: auto; font-size: 14px; line-height: 1.72; margin: 28px 0;
  box-shadow: var(--tt-shadow-sm);           /* ↑ subtle depth */
}

.entry-content pre code { background: none; border: none; padding: 0; color: inherit; font-size: inherit; }

/* ============================================================
   8. IMAGES & MEDIA
   ============================================================ */

.entry-content img { max-width: 100%; height: auto; border-radius: var(--tt-r); display: block; }
.entry-content .aligncenter, .entry-content img.aligncenter { margin: 24px auto; display: block; }
.entry-content .alignleft, .entry-content img.alignleft { float: left; margin: 8px 24px 16px 0; border-radius: var(--tt-r-sm); }
.entry-content .alignright, .entry-content img.alignright { float: right; margin: 8px 0 16px 24px; border-radius: var(--tt-r-sm); }

.entry-content .alignwide { margin-left: -48px; margin-right: -48px; max-width: calc(100% + 96px); width: calc(100% + 96px); border-radius: var(--tt-r); }
.entry-content .alignfull { margin-left: -48px; margin-right: -48px; max-width: calc(100% + 96px); width: calc(100% + 96px); border-radius: 0; }

.entry-content figure, .entry-content .wp-block-image { margin: 32px 0; }
.entry-content figure img, .entry-content .wp-block-image img { box-shadow: var(--tt-shadow); width: 100%; border-radius: var(--tt-r); }

/* Image size variants — desktop only. Mobile always full-width. */
figure.tt-img-medium { max-width: 500px; margin-left: auto; margin-right: auto; }
figure.tt-img-medium img { width: 100%; height: auto; }
figure.tt-img-small  { max-width: 300px; margin-left: auto; margin-right: auto; }
figure.tt-img-small  img { width: 100%; height: auto; }
@media (max-width: 680px) {
  figure.tt-img-medium,
  figure.tt-img-small  { max-width: 100%; width: 100%; }
}

/* Centered figure — natural image size, horizontally centered. Use for logos and decorative images. */
figure.tt-img-center { display: flex; justify-content: center; margin: 1.2rem auto; }
figure.tt-img-center img { width: auto; height: auto; max-width: 100%; }

/* Drop cap — first letter of tt-intro paragraph. */
.tt-dropcap {
  float: left;
  font-size: 3.4em;
  line-height: 0.85;
  font-weight: 700;
  font-family: var(--tt-head);
  color: var(--tt-blue);
  margin: 0 6px 0 0;
  padding-top: 4px;
}
.entry-content figcaption, .entry-content .wp-element-caption, .entry-content .wp-caption-text { font-size: 13px; color: var(--tt-text-light); text-align: center; margin-top: 10px; font-family: var(--tt-head); font-style: italic; line-height: 1.5; }

.entry-content .wp-block-embed { margin: 28px 0; border-radius: var(--tt-r); overflow: hidden; }
.entry-content .wp-block-embed__wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.entry-content .wp-block-embed__wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.entry-content video { max-width: 100%; border-radius: var(--tt-r); display: block; margin: 0 auto; }
.entry-content audio { width: 100%; margin: 20px 0; }
.entry-content::after { content: ''; display: table; clear: both; }

/* ── Video component (tt-video) ── */
figure.tt-video {
  margin: 32px 0;
  border-radius: var(--tt-r);
  overflow: hidden;
  box-shadow: var(--tt-shadow);
}

/* YouTube / iframe — responsive 16:9 */
figure.tt-video .tt-video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--tt-r);
  background: #0f1e35;
}

figure.tt-video .tt-video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Local / self-hosted video */
figure.tt-video video {
  width: 100%;
  max-width: 100%;
  display: block;
  border-radius: var(--tt-r);
  background: #0f1e35;
}

/* Caption under video */
figure.tt-video figcaption {
  font-size: 13px;
  color: var(--tt-text-light);
  text-align: center;
  margin-top: 10px;
  font-family: var(--tt-head);
  font-style: italic;
  line-height: 1.5;
  padding: 0 8px;
}

/* ============================================================
   9. TABLES
   ============================================================ */

.entry-content table:not(.tt-table) {
  width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 16px;
  border: 1px solid var(--tt-border); border-radius: var(--tt-r); overflow: hidden; box-shadow: var(--tt-shadow-sm);
}

.entry-content table:not(.tt-table) thead { background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-dark) 100%); }
.entry-content table:not(.tt-table) thead th { padding: 13px 16px; font-family: var(--tt-head); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.92); text-align: left; border: none; }
.entry-content table:not(.tt-table) tbody tr { border-bottom: 1px solid var(--tt-border); transition: background var(--tt-ease); }
.entry-content table:not(.tt-table) tbody tr:last-child { border-bottom: none; }
.entry-content table:not(.tt-table) tbody tr:nth-child(even) { background: var(--tt-blue-ultra); }
.entry-content table:not(.tt-table) tbody tr:hover { background: var(--tt-blue-pale); }
.entry-content table:not(.tt-table) tbody td { padding: 13px 16px; color: var(--tt-text); vertical-align: middle; border: none; font-size: 16px; line-height: 1.65; }

@media (max-width: 680px) {
  .entry-content table:not(.tt-table) { display: block; }
  .entry-content table:not(.tt-table) thead { display: none; }
  .entry-content table:not(.tt-table) tbody { display: block; }
  .entry-content table:not(.tt-table) tbody tr { display: block; margin-bottom: 14px; border: 1px solid var(--tt-border); border-radius: var(--tt-r); background: var(--tt-white) !important; overflow: hidden; }
  .entry-content table:not(.tt-table) tbody td { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 1px solid var(--tt-border); padding: 11px 14px; font-size: 15.5px; }
  .entry-content table:not(.tt-table) tbody td:last-child { border-bottom: none; }
  .entry-content table:not(.tt-table) tbody td::before { content: attr(data-label); font-family: var(--tt-head); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--tt-blue); flex-shrink: 0; min-width: 100px; padding-top: 1px; }
}

/* ============================================================
   10. FORMS
   ============================================================ */

input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="number"], input[type="tel"], textarea, select {
  font-family: var(--tt-body); font-size: 16px; color: var(--tt-text);
  background: var(--tt-white); border: 1.5px solid var(--tt-border-mid);
  border-radius: var(--tt-r-sm); padding: 11px 14px; width: 100%;
  transition: border-color var(--tt-ease), box-shadow var(--tt-ease);
  -webkit-appearance: none;
}

/* Restore native appearance for checkbox and radio — resetting them makes them invisible */
input[type="checkbox"],
input[type="radio"] {
  -webkit-appearance: auto;
  appearance: auto;
  width: auto;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

/* Custom select arrow — replaces the one stripped by -webkit-appearance: none */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e7e9a' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--tt-blue); box-shadow: 0 0 0 3px rgba(47,80,139,0.09); outline: none;
}

::placeholder {
  color: var(--tt-text-light);
  opacity: 1; /* Firefox reduces opacity by default */
}

label { font-family: var(--tt-head); font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tt-text-mid); display: block; margin-bottom: 6px; }

/* ── Search form / widget ──
   Careful: on archive grids these must span the full width, not sit in col 1 */
.widget_search,
.search-form {
  width: 100%;
}

/* Ensure search widget spans full grid width on archive pages.
   Targets any direct child of the grid that is NOT an article card
   and NOT pagination — covers .widget_search, .search-form, sidebars,
   and any wrapper GP might inject around them. */
.archive .site-main > *:not(article):not(.paging-navigation),
.blog .site-main > *:not(article):not(.paging-navigation),
.category .site-main > *:not(article):not(.paging-navigation),
.tag .site-main > *:not(article):not(.paging-navigation) {
  grid-column: 1 / -1;
}

.search-form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.search-form label {
  flex: 1;
  margin: 0;
  font-size: inherit;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0;
  color: inherit;
}

.search-form .search-field {
  width: 100%;
  font-family: var(--tt-body);
  font-size: 16px;
  color: var(--tt-text);
  background: var(--tt-white);
  border: 1.5px solid var(--tt-border-mid);
  border-radius: var(--tt-r-sm);
  padding: 11px 14px;
  transition: border-color var(--tt-ease), box-shadow var(--tt-ease);
  -webkit-appearance: none;
}

.search-form .search-field:focus {
  border-color: var(--tt-blue);
  box-shadow: 0 0 0 3px rgba(47,80,139,0.09);
  outline: none;
}

.search-form .search-field::placeholder {
  color: var(--tt-text-light);
  opacity: 1;
}

.search-form .search-submit {
  font-family: var(--tt-head);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-dark) 100%);
  border: none;
  border-radius: var(--tt-r-sm);
  padding: 11px 20px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: filter 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  box-shadow: 0 2px 8px rgba(47,80,139,0.22);
  -webkit-appearance: none;
}

.search-form .search-submit:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(47,80,139,0.32);
}

.search-form .search-submit:active {
  transform: translateY(0);
}

/* Widget title above search box */
.widget_search .widget-title,
.widget_search .widgettitle {
  font-family: var(--tt-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tt-blue);
  margin-bottom: 12px;
}

/* Search results page header */
.search .page-header {
  background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-dark) 100%);
  padding: 32px 40px;
  border-radius: 0;
  margin-bottom: 0;
  border: none;
}

.search .page-title {
  font-family: var(--tt-head);
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.search .page-title span {
  color: var(--tt-gold);
}

/* ============================================================
   11. POST HEADER (single post)
   ============================================================ */

.entry-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--tt-border); }

.entry-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13.5px; font-family: var(--tt-head); color: var(--tt-text-light); margin-top: 14px; }
.entry-meta a { color: inherit; font-weight: 600; text-decoration: none; }
.entry-meta .author-name { color: inherit; font-weight: 700; }
.entry-meta .cat-links, .entry-meta .tags-links { font-size: 0; display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }

/* ── Date pill ── */
.entry-meta .posted-on {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tt-blue-ultra);
  border: 1px solid var(--tt-border-mid);
  border-radius: 20px;
  padding: 6px 13px;
  font-family: var(--tt-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--tt-text-mid);
  line-height: 16px;
  vertical-align: middle;
}

.entry-meta .posted-on::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  width: 13px; height: 13px;
  background-color: var(--tt-blue);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1' y='2' width='14' height='13' rx='2' fill='none' stroke='currentColor' stroke-width='1.5'/%3E%3Cline x1='5' y1='1' x2='5' y2='4' stroke='currentColor' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='11' y1='1' x2='11' y2='4' stroke='currentColor' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='1' y1='6.5' x2='15' y2='6.5' stroke='currentColor' stroke-width='1.2'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Crect x='1' y='2' width='14' height='13' rx='2' fill='none' stroke='currentColor' stroke-width='1.5'/%3E%3Cline x1='5' y1='1' x2='5' y2='4' stroke='currentColor' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='11' y1='1' x2='11' y2='4' stroke='currentColor' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='1' y1='6.5' x2='15' y2='6.5' stroke='currentColor' stroke-width='1.2'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0.7;
}

.entry-meta .posted-on time {
  color: inherit;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* ── "Posted" / "Updated" prefixes on the two <time> elements ── */
.entry-meta .posted-on time:first-of-type::before {
  content: 'Updated\00a0';
  font-weight: 400;
  opacity: 0.70;
  font-size: 11px;
  letter-spacing: 0.04em;
}

.entry-meta .posted-on time + time::before {
  content: '\00a0|\00a0Posted\00a0';
  font-weight: 400;
  opacity: 0.55;
  font-size: 11px;
  letter-spacing: 0.04em;
}

/* FIX 2 — Date pill: stack Posted / Updated on two lines on mobile.
   Approach: flex-column + explicit margin-bottom on first time element
   so the two rows have clear visual separation without relying on gap
   (which collapses when ::before pseudo content is inline-flex). */
@media (max-width: 480px) {
  .entry-meta .posted-on {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    font-size: 11px;
    padding: 7px 12px;
    line-height: 1.4;
  }
  .entry-meta .posted-on::before {
    display: none;
  }
  .entry-meta .posted-on time {
    display: flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.4;
  }
  /* Push the first row (Updated) away from the second (Posted) */
  .entry-meta .posted-on time:first-of-type {
    margin-bottom: 4px;
  }
  .entry-meta .posted-on time:first-of-type::before {
    content: 'Updated\00a0';
    font-weight: 600;
    opacity: 0.70;
    font-size: 11px;
    letter-spacing: 0.04em;
  }
  .entry-meta .posted-on time + time::before {
    content: 'Posted\00a0';
    font-weight: 600;
    opacity: 0.55;
    font-size: 11px;
    letter-spacing: 0.04em;
  }
}

/* ── Author pill ── */
.entry-meta .byline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--tt-white);
  border: 1.5px solid var(--tt-border-mid);
  border-radius: 20px;
  padding: 6px 13px;
  font-family: var(--tt-head);
  font-size: 12px;
  font-weight: 600;
  color: var(--tt-text-mid);
  line-height: 16px;
  vertical-align: middle;
  transition: border-color var(--tt-ease), background var(--tt-ease);
}

.entry-meta .byline::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  width: 13px; height: 13px;
  background-color: var(--tt-blue);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='5' r='3' fill='currentColor'/%3E%3Cpath d='M2 13c0-3.3 2.7-5 6-5s6 1.7 6 5' fill='currentColor'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='5' r='3' fill='currentColor'/%3E%3Cpath d='M2 13c0-3.3 2.7-5 6-5s6 1.7 6 5' fill='currentColor'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0.65;
}

.entry-meta .byline a {
  color: var(--tt-blue) !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: color var(--tt-ease);
}

.entry-meta .byline:has(a:hover) {
  background: var(--tt-blue-pale);
  border-color: var(--tt-blue);
}

.entry-meta .byline a:hover { color: var(--tt-blue-dark) !important; }

footer.entry-meta, .entry-footer.entry-meta { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--tt-border); font-size: 13px; }

/* ── Category pills — post header ── */
.entry-meta .cat-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-dark) 100%);
  color: #fff !important;
  border: none;
  border-radius: 20px;
  padding: 0 13px;
  min-height: 24px;
  font-family: var(--tt-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  text-align: center;
  margin: 2px;
  box-shadow: 0 2px 8px rgba(47,80,139,0.22);
  transition: filter var(--tt-ease), transform 0.12s ease, box-shadow var(--tt-ease);
}

.entry-meta .cat-links a:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(47,80,139,0.32);
  color: #fff !important;
}

/* ── Tag pills — post header ── */
.entry-meta .tags-links a {
  display: inline-flex;
  align-items: center;
  background: var(--tt-white);
  color: var(--tt-text-mid) !important;
  border: 1.5px solid var(--tt-border-mid);
  border-radius: 6px;
  padding: 0 10px;
  min-height: 24px;
  font-family: var(--tt-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none !important;
  margin: 2px;
  transition: background var(--tt-ease), color var(--tt-ease), border-color var(--tt-ease);
}

.entry-meta .tags-links a:hover {
  background: var(--tt-blue-pale);
  color: var(--tt-blue) !important;
  border-color: var(--tt-blue);
}

.entry-meta .gp-icon svg { width: 13px; height: 13px; fill: currentColor; opacity: 0.5; }

/* ============================================================
   12. WP BLOCK ELEMENTS
   ============================================================ */

/* ── Gutenberg Button block ── */
.entry-content .wp-block-button { margin: 8px 0; }
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }

.entry-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tt-head);
  font-size: 15px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: filter 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: none;
  line-height: 1.2;
}

/* Default (fill) style */
.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-dark) 100%);
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(47,80,139,0.28);
}

.entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(47,80,139,0.36);
  color: #fff !important;
}

/* Outline style */
.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--tt-blue) !important;
  border: 2px solid var(--tt-blue);
  box-shadow: none;
  padding: 10px 24px;
}

.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--tt-blue);
  color: #fff !important;
  border-color: var(--tt-blue);
  transform: translateY(-1px);
}

/* Squared style */
.entry-content .wp-block-button.is-style-squared .wp-block-button__link {
  border-radius: var(--tt-r-sm);
}

.entry-content .wp-block-columns { display: flex; gap: 24px; margin: 28px 0; flex-wrap: wrap; }
.entry-content .wp-block-column { flex: 1 1 200px; min-width: 0; }

.entry-content .wp-block-file { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--tt-light); border: 1px solid var(--tt-border); border-radius: var(--tt-r); margin: 20px 0; }
.entry-content .wp-block-file a { font-weight: 700; color: var(--tt-blue); }
.entry-content .wp-block-file .wp-block-file__button { background: var(--tt-blue); color: #fff !important; padding: 8px 16px; border-radius: 50px; font-family: var(--tt-head); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; flex-shrink: 0; }

.entry-content details { border: 1px solid var(--tt-border); border-radius: var(--tt-r); padding: 16px 20px; margin: 20px 0; }
.entry-content summary { font-family: var(--tt-head); font-weight: 700; font-size: 16px; cursor: pointer; color: var(--tt-blue-dark); list-style: none; display: flex; align-items: center; gap: 10px; }
.entry-content summary::before { content: '+'; font-size: 20px; line-height: 1; flex-shrink: 0; }
.entry-content details[open] summary::before { content: '−'; }
.entry-content details > *:not(summary) { margin-top: 14px; font-size: 16px; color: var(--tt-text-mid); line-height: 1.78; }

/* ============================================================
   13. ARCHIVE / CATEGORY / BLOG
   ============================================================ */

/* Page header banner */
.archive .page-header, .category .page-header, .tag .page-header {
  background: transparent;
  padding: 28px 40px 20px;
  border-radius: 0;
  margin-bottom: 0;
  border: none;
}

.archive .page-title, .category .page-title, .tag .page-title {
  font-family: var(--tt-head);
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 700;
  color: var(--tt-blue-dark);
  letter-spacing: -0.018em;
  margin-bottom: 6px;
  padding-left: 15px;
  border-left: 3px solid var(--tt-blue-bright);
  line-height: 1.32;
}

.taxonomy-description, .archive .page-description { font-size: 16px; color: var(--tt-text-mid); margin: 0; line-height: 1.6; padding-left: 18px; }
.taxonomy-description p { color: var(--tt-text-mid); margin: 0; font-size: 16px; }

/* ── 3-col grid ── */
.archive .site-main, .blog .site-main, .category .site-main, .tag .site-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

/* ── Card shell ── */
.archive article, .blog article, .category article, .tag article {
  background: var(--tt-white);
  border: 1px solid var(--tt-border);
  border-bottom: 2px solid transparent;
  border-radius: var(--tt-r-lg);
  overflow: hidden;
  margin-bottom: 0;
  box-shadow: var(--tt-shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.archive article:hover, .blog article:hover, .category article:hover, .tag article:hover {
  box-shadow: var(--tt-shadow-lg);
  transform: translateY(-4px);
  border-bottom-color: var(--tt-blue);
}

/* ── Kill GP's .separate-containers padding — double-class specificity beats GP ── */
.separate-containers.archive  .inside-article,
.separate-containers.blog     .inside-article,
.separate-containers.category .inside-article,
.separate-containers.tag      .inside-article,
.archive  .inside-article,
.blog     .inside-article,
.category .inside-article,
.tag      .inside-article {
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.archive article a, .blog article a,
.category article a, .tag article a { text-decoration: none !important; }

/* ── Featured image: natural height, no cropping ── */
.archive  .post-image, .blog     .post-image,
.category .post-image, .tag      .post-image {
  order: 1;
  flex-shrink: 0;
  overflow: hidden;
  width: 100%;
  height: auto;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0;
  background: var(--tt-light);
}

.archive  .post-image img, .blog     .post-image img,
.category .post-image img, .tag      .post-image img {
  width: 100% !important;
  height: auto !important;
  object-fit: unset;
  display: block;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: transform 0.38s ease;
}

.archive  article:hover .post-image img,
.blog     article:hover .post-image img,
.category article:hover .post-image img,
.tag      article:hover .post-image img { transform: scale(1.04); }

/* ── Entry header: flex:1 fills space, pins footer to bottom ── */
.archive  .inside-article .entry-header,
.blog     .inside-article .entry-header,
.category .inside-article .entry-header,
.tag      .inside-article .entry-header {
  order: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 14px 16px 10px !important;
  margin: 0 !important;
  border-bottom: none !important;
}

.archive .entry-header .entry-meta, .blog .entry-header .entry-meta,
.category .entry-header .entry-meta, .tag .entry-header .entry-meta { display: none !important; }

.archive .entry-title, .blog .entry-title,
.category .entry-title, .tag .entry-title {
  font-size: clamp(14px, 1.6vw, 17px);
  font-weight: 700;
  line-height: 1.38;
  letter-spacing: -0.012em;
  margin: 0;
  border: none;
  padding: 0;
}

.archive  .entry-title a, .blog     .entry-title a,
.category .entry-title a, .tag      .entry-title a {
  color: var(--tt-text); transition: color var(--tt-ease); display: block;
}
.archive  .entry-title a:hover, .blog     .entry-title a:hover,
.category .entry-title a:hover, .tag      .entry-title a:hover { color: var(--tt-blue); }

.archive  .entry-summary, .blog     .entry-summary,
.category .entry-summary, .tag      .entry-summary { display: none !important; }
.archive  .more-link,     .blog     .more-link     { display: none !important; }

/* ── Footer meta: pinned to bottom ── */
.archive  .inside-article footer.entry-meta,
.blog     .inside-article footer.entry-meta,
.category .inside-article footer.entry-meta,
.tag      .inside-article footer.entry-meta { order: 3; margin-top: auto; }

.archive  footer.entry-meta, .blog     footer.entry-meta,
.category footer.entry-meta, .tag      footer.entry-meta {
  display: flex !important;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  padding: 8px 14px 12px !important;
  border-top: 1px solid var(--tt-border);
}

.archive  footer.entry-meta .gp-icon,
.blog     footer.entry-meta .gp-icon,
.archive  footer.entry-meta .screen-reader-text,
.blog     footer.entry-meta .screen-reader-text { display: none !important; }

/* ── Category pills ── */
.archive  footer.entry-meta .cat-links,
.blog     footer.entry-meta .cat-links,
.category footer.entry-meta .cat-links,
.tag      footer.entry-meta .cat-links { display: flex !important; flex-wrap: wrap; gap: 4px; margin: 0; font-size: 0; }

.archive  footer.entry-meta .cat-links a,
.blog     footer.entry-meta .cat-links a,
.category footer.entry-meta .cat-links a,
.tag      footer.entry-meta .cat-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tt-head);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff !important;
  background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-dark) 100%);
  border: none;
  border-radius: 20px;
  padding: 0 11px;
  height: 22px;
  box-shadow: 0 1px 6px rgba(47,80,139,0.20);
  transition: filter 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
  white-space: nowrap;
}

.archive  footer.entry-meta .cat-links a:hover,
.blog     footer.entry-meta .cat-links a:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(47,80,139,0.30);
  color: #fff !important;
}

/* ── Tag pills ── */
.archive  footer.entry-meta .tags-links,
.blog     footer.entry-meta .tags-links,
.category footer.entry-meta .tags-links,
.tag      footer.entry-meta .tags-links { display: flex !important; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 0; }

.archive  footer.entry-meta .tags-links a,
.blog     footer.entry-meta .tags-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tt-head);
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--tt-text-mid) !important;
  background: var(--tt-white);
  border: 1.5px solid var(--tt-border);
  border-radius: 5px;
  padding: 0 8px;
  height: 22px;
  white-space: nowrap;
  transition: background var(--tt-ease), color var(--tt-ease), border-color var(--tt-ease);
  text-decoration: none !important;
}

.archive  footer.entry-meta .tags-links a:hover,
.blog     footer.entry-meta .tags-links a:hover {
  background: var(--tt-blue-pale);
  color: var(--tt-blue) !important;
  border-color: var(--tt-blue);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .archive .site-main, .blog .site-main, .category .site-main, .tag .site-main {
    grid-template-columns: repeat(2, 1fr); gap: 16px;
  }
  .archive .entry-title, .blog .entry-title,
  .category .entry-title, .tag .entry-title { font-size: 16px; }
  .archive  .post-image, .blog .post-image,
  .category .post-image, .tag .post-image { height: auto; }
}

@media (max-width: 600px) {
  .archive .site-main, .blog .site-main, .category .site-main, .tag .site-main {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .archive .entry-title, .blog .entry-title,
  .category .entry-title, .tag .entry-title { font-size: 17px; }
  .archive  .post-image, .blog .post-image,
  .category .post-image, .tag .post-image {
    height: auto;
  }
  .archive footer.entry-meta, .blog footer.entry-meta,
  .category footer.entry-meta, .tag footer.entry-meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
  }
  .archive footer.entry-meta .cat-links,  .blog footer.entry-meta .cat-links  { width: 100%; }
  .archive footer.entry-meta .tags-links, .blog footer.entry-meta .tags-links { width: 100%; }

  /* ── Archive cards: breathing room inside entry-header and footer ONLY.
     .inside-article itself stays at padding:0 so the thumbnail image
     always bleeds flush to the card edges — do NOT add padding there. ── */
  .archive  .inside-article .entry-header,
  .blog     .inside-article .entry-header,
  .category .inside-article .entry-header,
  .tag      .inside-article .entry-header {
    padding: 18px 20px 14px !important;
  }
  .archive  .inside-article footer.entry-meta,
  .blog     .inside-article footer.entry-meta,
  .category .inside-article footer.entry-meta,
  .tag      .inside-article footer.entry-meta {
    padding: 12px 20px 16px !important;
  }
}

@media (max-width: 380px) {
  .archive .entry-title, .blog .entry-title { font-size: 15px; }
  /* Intentionally no padding override here — 600px values hold at all widths.
     .inside-article stays at padding:0 (set in the 480px global block) so
     the flush image is never affected. Only entry-header / footer carry padding. */
}

/* ── Pagination spans full grid ── */
.archive .paging-navigation, .blog .paging-navigation,
.category .paging-navigation, .tag .paging-navigation { grid-column: 1 / -1; }

/* ── Nothing Found / No-results page ── */
.no-results .inside-article {
  padding: 72px 48px !important;
  text-align: center !important;
  grid-column: 1 / -1;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* Big search icon above title */
.no-results .entry-header {
  margin-top: 24px;
  margin-bottom: 16px;
  padding-bottom: 0;
  border-bottom: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.no-results .entry-header::before {
  content: '';
  display: block;
  width: 56px; height: 56px;
  background-color: var(--tt-blue);
  opacity: 0.12;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M208 48c-88.366 0-160 71.634-160 160s71.634 160 160 160 160-71.634 160-160S296.366 48 208 48zM0 208C0 93.125 93.125 0 208 0s208 93.125 208 208c0 48.741-16.765 93.566-44.843 129.024l133.826 134.018c9.366 9.379 9.355 24.575-.025 33.941-9.379 9.366-24.575 9.355-33.941-.025L337.238 370.987C301.747 399.167 256.839 416 208 416 93.125 416 0 322.875 0 208z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M208 48c-88.366 0-160 71.634-160 160s71.634 160 160 160 160-71.634 160-160S296.366 48 208 48zM0 208C0 93.125 93.125 0 208 0s208 93.125 208 208c0 48.741-16.765 93.566-44.843 129.024l133.826 134.018c9.366 9.379 9.355 24.575-.025 33.941-9.379 9.366-24.575 9.355-33.941-.025L337.238 370.987C301.747 399.167 256.839 416 208 416 93.125 416 0 322.875 0 208z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.no-results .entry-title {
  font-size: clamp(24px, 4vw, 34px) !important;
  font-weight: 700 !important;
  color: var(--tt-text) !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 0 !important;
}

.no-results .entry-content {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.no-results .entry-content p {
  font-size: 16px !important;
  color: var(--tt-text-light) !important;
  line-height: 1.72 !important;
  margin-bottom: 28px !important;
  text-align: center !important;
}

/* ── Search pill ── */
.no-results .search-form {
  display: flex !important;
  gap: 0 !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  background: var(--tt-white) !important;
  border: 1.5px solid var(--tt-border-mid) !important;
  border-radius: var(--tt-r) !important;
  overflow: hidden !important;
  box-shadow: var(--tt-shadow) !important;
  transition: border-color var(--tt-ease), box-shadow var(--tt-ease) !important;
}

.no-results .search-form:focus-within {
  border-color: var(--tt-blue) !important;
  box-shadow: 0 0 0 3px rgba(47,80,139,0.09), var(--tt-shadow) !important;
}

/* GP wraps the input in a label — make it stretch */
.no-results .search-form label {
  flex: 1 !important;
  min-width: 0 !important;
  margin: 0 !important;
  font-size: inherit !important;
  font-weight: normal !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: inherit !important;
  display: block !important;
}

.no-results .search-form .search-field {
  width: 100% !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 15px 20px !important;
  font-family: var(--tt-body) !important;
  font-size: 15px !important;
  color: var(--tt-text) !important;
  background: transparent !important;
  -webkit-appearance: none !important;
}

.no-results .search-form .search-field::placeholder {
  color: var(--tt-text-light) !important;
  opacity: 1 !important;
}

/* The submit button — GP puts an SVG icon inside .gp-icon */
.no-results .search-form .search-submit {
  background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-dark) 100%) !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 22px !important;
  cursor: pointer !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: filter 0.15s ease !important;
  min-width: 56px !important;
}

.no-results .search-form .search-submit:hover {
  filter: brightness(1.14) !important;
}

/* The icon wrapper GP injects */
.no-results .search-form .search-submit .gp-icon,
.no-results .search-form .search-submit .icon-search {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.no-results .search-form .search-submit svg {
  width: 17px !important;
  height: 17px !important;
  fill: #fff !important;
  display: block !important;
}

@media (max-width: 480px) {
  .no-results .inside-article { padding: 48px 20px !important; }
  .no-results .search-form { max-width: 100% !important; }
}

@media (max-width: 768px) {
  /* FIX: WordPress puts .no-results on the <article>, NOT on <body>.
     The old selector "body.no-results …" never matched → white box stayed.
     Now we target the article directly and nuke the white card completely. */
  .separate-containers .no-results .inside-article,
  .separate-containers article.no-results .inside-article,
  .no-results.separate-containers .inside-article,
  .separate-containers .inside-article.no-results,
  article.no-results .inside-article {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 32px 16px !important;
  }

  /* Kill the white card on the page-header ONLY on search no-results pages */
  .search-no-results .separate-containers .page-header,
  .search .separate-containers .page-header,
  body.search .page-header {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 24px 16px !important;
  }
}

/* 404 */
.error404 .page-header { background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-dark) 100%); padding: 48px 40px; border-radius: var(--tt-r-lg); text-align: center; margin-bottom: 32px; }
.error404 .page-title { font-family: var(--tt-head); font-size: 80px; font-weight: 700; color: #fff; letter-spacing: -0.04em; line-height: 1; }
.error404 .page-content { text-align: center; padding: 32px; }
.error404 .page-content p { font-size: 18px; color: var(--tt-text-mid); margin-bottom: 24px; }

/* ============================================================
   14. PAGINATION
   ============================================================ */

.paging-navigation, .pagination { margin: 28px 0; }
.paging-navigation .nav-links, .pagination .nav-links { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }

.paging-navigation a, .paging-navigation span,
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px;
  border-radius: var(--tt-r-sm); font-family: var(--tt-head); font-size: 14.5px; font-weight: 600;
  transition: all var(--tt-ease); text-decoration: none;
}

.paging-navigation a, .pagination a { background: var(--tt-white); border: 1px solid var(--tt-border); color: var(--tt-blue); }
.paging-navigation a:hover, .pagination a:hover { background: var(--tt-blue); color: #fff; border-color: var(--tt-blue); }
.paging-navigation .current, .pagination .current { background: var(--tt-blue); color: #fff; border: 1px solid var(--tt-blue); }

/* ── Prev / Next buttons: always centered label ── */
.paging-navigation a.prev, .paging-navigation a.next,
.pagination a.prev, .pagination a.next,
.paging-navigation .nav-previous a, .paging-navigation .nav-next a,
.pagination .nav-previous a, .pagination .nav-next a {
  min-width: 110px;
  padding: 0 20px;
  justify-content: center;
  text-align: center;
}

/* ── Mobile: show only Previous / Next, hide all page numbers ── */
@media (max-width: 600px) {
  .paging-navigation .nav-links,
  .pagination .nav-links {
    gap: 12px;
  }

  /* Hide numbered page links and ellipsis dots */
  .paging-navigation .page-numbers:not(.prev):not(.next),
  .pagination .page-numbers:not(.prev):not(.next),
  .paging-navigation span.page-numbers:not(.prev):not(.next),
  .pagination span.page-numbers:not(.prev):not(.next),
  .paging-navigation .dots,
  .pagination .dots {
    display: none !important;
  }

  /* Make prev/next fill more width on small screens */
  .paging-navigation a.prev, .paging-navigation a.next,
  .pagination a.prev, .pagination a.next,
  .paging-navigation .page-numbers.prev, .paging-navigation .page-numbers.next,
  .pagination .page-numbers.prev, .pagination .page-numbers.next {
    min-width: 130px;
    height: 46px;
    font-size: 15px;
    justify-content: center;
    text-align: center;
  }
}

.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-navigation a { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; background: var(--tt-white); border: 1px solid var(--tt-border); border-radius: var(--tt-r); text-decoration: none; transition: box-shadow var(--tt-ease), border-color var(--tt-ease); }
.post-navigation a:hover { box-shadow: var(--tt-shadow); border-color: var(--tt-border-mid); }
.post-navigation .nav-subtitle { font-family: var(--tt-head); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tt-blue); }
.post-navigation .nav-title { font-size: 15px; font-weight: 600; color: var(--tt-text); line-height: 1.45; }
.post-navigation .nav-next { text-align: right; }

@media (max-width: 480px) { .post-navigation .nav-links { grid-template-columns: 1fr; } .post-navigation .nav-next { text-align: left; } }

/* ============================================================
   15. BREADCRUMBS
   ============================================================ */

.rank-math-breadcrumb, .breadcrumbs {
  font-family: var(--tt-head); font-size: 13px; color: var(--tt-text-light);
  margin-bottom: 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px;
}

.rank-math-breadcrumb a, .breadcrumbs a { color: var(--tt-blue); text-decoration: none; font-weight: 500; }
.rank-math-breadcrumb a:hover, .breadcrumbs a:hover { text-decoration: underline; }
.rank-math-breadcrumb .separator { color: var(--tt-text-light); }

/* ============================================================
   16. FOOTER
   ============================================================ */

.copyright-bar { display: none !important; }

.footer-widgets, .footer-widgets-container,
.footer-widgets .widget, .footer-widgets .widget:first-child,
.site-info .footer-bar > aside, .site-info .footer-bar > .widget,
.footer-bar .inner-padding, .footer-bar .widget_block, .footer-bar aside.widget {
  padding: 0 !important;
  margin: 0 !important;
}

/* The gradient lives on the outermost wrapper only — everything inside is transparent */
.site-footer, .site-info {
  background: radial-gradient(ellipse at 60% 0%, #3560a8 0%, var(--tt-blue-dark) 100%) !important;
  padding: 18px 0 0 !important;
  margin-top: 0 !important;
  border: none !important;
}

/* Strip any background GP adds to inner footer containers */
.footer-bar,
.site-info .footer-bar,
.inside-footer-widgets,
.footer-widgets-container,
.inside-site-info,
.footer-widget-area,
.footer-widgets,
.site-footer .footer-widgets,
.site-footer .footer-widgets-container,
.site-footer .widget-area,
.site-footer .inside-footer-widgets,
.site-footer [class*="footer"],
.generate-footer,
.generated-columns-container {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

.inside-site-info { padding: 0 !important; max-width: 100% !important; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 28px; }

.footer-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}

.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 32px; }
.footer-logo-name { font-size: 15px; font-weight: 500; color: #fff; letter-spacing: 0; line-height: 1.1; text-shadow: none; -webkit-font-smoothing: antialiased; }
.footer-logo-name span { color: var(--tt-gold); }
.footer-logo-sub { font-size: 9px; font-weight: 400; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.35); }

.footer-nav { list-style: none; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 36px; padding: 0; }
.footer-nav li { text-align: left; }
.footer-nav a { font-size: 14px; color: rgba(255,255,255,0.82); text-decoration: none; transition: color var(--tt-ease); display: inline-block; text-align: left; }
.footer-nav a:hover { color: #fff; }

.footer-social { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.footer-social a { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.78); text-decoration: none; transition: color var(--tt-ease); }
.footer-social a:hover { color: #fff; }

/* ── Language Links title: centered always ── */
.footer-flags-title {
  font-family: var(--tt-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 14px;
  text-align: center;
}

.footer-best-bots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 24px;
  row-gap: 0;
  margin-bottom: 20px;
}

/* ── Elegant language links ── */
.flag-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 9px 0;
  /* Emoji fonts FIRST so flag Regional Indicator chars resolve to colour glyphs.
     Browser font-matching is per-character: emoji font wins for flags,
     Plus Jakarta Sans wins for regular Latin text. */
  font-family: "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji","Twemoji Mozilla", var(--tt-head), sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  white-space: nowrap;
  width: 100%;
  letter-spacing: 0.015em;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.flag-pill:last-child {
  border-bottom: none;
}

/* Sliding underline on the text part */
.flag-pill::after {
  content: '';
  position: absolute;
  left: 28px;
  bottom: 8px;
  width: 0;
  height: 1px;
  background: rgba(255,255,255,0.5);
  transition: width 0.25s ease;
}

.flag-pill:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.14);
}

.flag-pill:hover::after {
  width: calc(100% - 32px);
}

.flag-pill > span:first-child, .flag-pill .flag-emoji {
  font-size: 17px;
  line-height: 1;
  flex-shrink: 0;
  display: inline-block;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.flag-pill:hover > span:first-child,
.flag-pill:hover .flag-emoji {
  opacity: 1;
  transform: scale(1.1);
}

.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; flex-wrap: wrap; gap: 10px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); font-weight: 300; white-space: nowrap; }

.footer-ai {
  font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,0.4); text-decoration: none;
  letter-spacing: 0.06em; border: 1px solid rgba(255,255,255,0.18); border-radius: 4px;
  padding: 4px 10px; font-family: var(--tt-head);
  transition: color var(--tt-ease), border-color var(--tt-ease);
}

.footer-ai:hover { color: #fff; border-color: rgba(255,255,255,0.45); }

@media (max-width: 640px) {
  .footer-inner { padding: 0 16px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 16px;
    text-align: center;
  }

  .footer-logo { justify-content: center; }

  .footer-nav { align-items: center; }
  .footer-nav li { text-align: center; }
  .footer-nav a { text-align: center; }

  .footer-social { justify-content: center; margin-top: 16px; margin-bottom: 8px; }

  /* More breathing room before language section */
  .footer-flags-title { margin-top: 8px; text-align: center; }

  .footer-best-bots {
    grid-template-columns: 1fr !important;
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4px;
  }

  .flag-pill {
    justify-content: center;
    padding: 7px 0;
    font-size: 14px;
    border-bottom-color: rgba(255,255,255,0.06);
  }

  .flag-pill::after { display: none; }

  /* Increase footer bar font sizes on mobile */
  .footer-nav a { font-size: 15.5px; }
  .footer-social a { font-size: 14px; }
  .footer-logo-name { font-size: 16px; }
  .footer-flags-title { font-size: 12px; }
  .footer-copy { font-size: 12px; }
  .footer-ai { font-size: 12px; }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 10px; /* reduced */
  }
  .footer-copy { white-space: normal; font-size: 11px; text-align: center; }
}

/* ============================================================
   17. EDITORIAL RATING
   ============================================================ */

.tt-rating {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--tt-blue-ultra) 0%, var(--tt-white) 100%);
  border: 1px solid var(--tt-border);
  border-left: 4px solid var(--tt-blue);
  border-radius: var(--tt-r);
  margin: 36px 0;
}

/* Left column: score number + stars, stacked & centered */
.tt-rating-score {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-family: var(--tt-head);
  font-size: 46px;
  font-weight: 900;
  color: var(--tt-blue);
  line-height: 1;
  letter-spacing: -0.03em;
}

/* Right content block */
.tt-rating > div:last-child {
  flex: 1 1 auto;
  min-width: 0;
}

.tt-rating-label {
  font-family: var(--tt-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tt-text-light);
  display: block;
  margin-bottom: 4px;
}

.tt-rating-text {
  font-size: 15.5px;
  color: var(--tt-text-mid);
  line-height: 1.62;
  margin: 0;
}

/* Stars sit inside .tt-rating-score div in updated HTML */
.tt-rating-stars {
  display: flex;
  gap: 3px;
  justify-content: center;
  align-items: center;
}

.tt-rating-stars span {
  color: var(--tt-gold);
  font-size: 17px;
  line-height: 1;
}

/* Mobile: single column, everything centered */
@media (max-width: 540px) {
  .tt-rating {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }
  .tt-rating-score {
    align-items: center;
  }
  .tt-rating > div:last-child {
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   18. ARTICLE COMPONENTS (tt-*)
   ============================================================ */

.tt-intro { font-size: 17.5px; line-height: 1.84; color: var(--tt-text-mid); margin-bottom: 36px; }

.tt-definition { background: var(--tt-blue-ultra); border-left: 3px solid var(--tt-blue-bright); border-radius: 0 var(--tt-r-sm) var(--tt-r-sm) 0; padding: 15px 20px; font-size: 16px; color: var(--tt-text); margin: 24px 0; line-height: 1.78; }

.tt-quick-answer { background: var(--tt-teal-pale); border: 1px solid rgba(0,223,184,0.28); border-radius: var(--tt-r); padding: 20px 24px; font-size: 16px; color: var(--tt-text); margin: 32px 0; }

/* FIX 3 — Quick answer: render the label as simple bold text */
.tt-quick-answer strong {
  display: block;
  color: inherit;
  font-family: var(--tt-head);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* Key Takeaways */
.tt-takeaways { background: linear-gradient(135deg, #f3f6fd 0%, #fff 100%); border: 1px solid var(--tt-border); border-top: 3px solid var(--tt-blue-bright); border-radius: var(--tt-r); padding: 24px 28px; margin: 36px 0; box-shadow: var(--tt-shadow-sm); }

.tt-takeaways h3, .tt-takeaways-title {
  font-family: var(--tt-head) !important;
  font-size: 11px !important;                /* ↑ tighter label */
  font-weight: 800 !important;
  letter-spacing: 0.16em;                    /* ↑ fractionally more spread */
  text-transform: uppercase;
  color: var(--tt-blue) !important;
  display: block; margin-bottom: 18px; border: none !important; padding: 0 !important; margin-top: 0 !important;
}

.tt-takeaways ul { list-style: none; padding: 0; margin: 0; }

.tt-takeaways ul li { display: flex !important; align-items: flex-start !important; gap: 12px; font-size: 15.5px; font-weight: 500; color: var(--tt-text); line-height: 1.65; padding: 10px 0 !important; padding-left: 0 !important; border-bottom: 1px solid var(--tt-border); margin: 0 !important; position: static !important; }
.tt-takeaways ul li:first-child { padding-top: 0; }
.tt-takeaways ul li:last-child { border-bottom: none; padding-bottom: 0; }
.tt-takeaways ul li::before { content: '✓'; position: static; width: auto; height: auto; background: none; border-radius: 0; color: var(--tt-teal-dark); font-weight: 800; font-size: 13px; flex-shrink: 0; margin-top: 2px; }

/* CTA */
.tt-cta-wrap { margin: 36px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.tt-cta-wrap p, .tt-cta-wrap > span { font-size: 15.5px; color: var(--tt-text-mid); margin: 0; }

/* Prevents button label from wrapping on narrow screens — add to the anchor tag */
.tt-cta-nowrap { white-space: nowrap; }

.tt-btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, #ff6b2b 0%, #e8420e 100%);
  color: #ffffff !important;
  font-family: var(--tt-head); font-size: 15.5px; font-weight: 700;
  padding: 14px 30px; border-radius: 50px; text-decoration: none !important;
  box-shadow: 0 4px 22px rgba(232,66,14,0.38); white-space: nowrap; cursor: pointer; border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  letter-spacing: 0.02em;
}

.tt-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(232,66,14,0.52); filter: brightness(1.07); color: #ffffff !important; }
.tt-btn-primary:active { transform: translateY(0); }

/* tt-btn-center: centers button on all screen sizes including desktop */
.tt-btn-center { display: flex; justify-content: center; }

@media (max-width: 640px) {
  .tt-btn-center { width: 100%; }
  .tt-btn-center .tt-btn-primary { width: 100%; max-width: 360px; }
  .tt-cta-wrap { margin-bottom: 52px; }
  .tt-cta-card { margin-bottom: 52px; }
}

.tt-cta-card { background: var(--tt-blue-ultra); border: 1px solid var(--tt-border); border-left: 4px solid var(--tt-teal); border-radius: var(--tt-r); padding: 20px 24px; margin: 36px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.tt-cta-card p { font-size: 15.5px; color: var(--tt-text-mid); margin: 0; }
.tt-cta-card .tt-btn-primary { align-self: center; }

@media (max-width: 640px) { .tt-cta-card { padding: 16px; } .tt-cta-card .tt-btn-primary { align-self: stretch; text-align: center; } }

/* ============================================================
   BEST BOT PER CHAIN — Interactive chain selector block
   Usage: <div class="tt-best-bot-block"> ... </div>
   Replaces the CTA after Key Takeaways on comparison pages.
   JS toggles data-chain attribute; CSS hides/shows per chain.
   ============================================================ */

.tt-best-bot-block {
  margin: 36px 0;
  background: linear-gradient(160deg, #152444 0%, #1a3460 50%, #0f2040 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-top: 3px solid var(--tt-teal);
  border-radius: var(--tt-r-lg);
  box-shadow: 0 8px 40px rgba(15,30,53,0.50);
  overflow: hidden;
  position: relative;
}

/* Subtle teal accent stripe at top — handled by border-top above */
.tt-best-bot-block::before {
  display: none;
}

/* ── Header label ── */
.tt-best-bot-block__eyebrow {
  font-family: var(--tt-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tt-teal);
  display: block;
  text-align: center;
  padding: 20px 20px 0;
  margin: 0;
}

/* ── Main title ── */
.tt-best-bot-block__title {
  font-family: var(--tt-head);
  font-size: clamp(22px, 4.5vw, 30px) !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-align: center;
  margin-top: 0 !important;
  margin-bottom: 20px !important;
  padding: 28px 24px 0;
  letter-spacing: -0.025em;
  line-height: 1.15;
  white-space: nowrap;
}

/* ── Chain selector row ── */
.tt-best-bot-block__selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px 22px;
  flex-wrap: wrap;
}

.tt-best-bot-block__selector label {
  display: none;
}

.tt-best-bot-block__select {
  font-family: var(--tt-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--tt-text);
  background: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 9px 36px 9px 16px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e7e9a' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.30);
  transition: box-shadow 0.15s ease;
  max-width: 260px;
  width: 100%;
}

.tt-best-bot-block__select:focus {
  outline: 2px solid var(--tt-teal);
  outline-offset: 2px;
}

/* ── Bot result area — always column: logo+name row then CTA below ── */
.tt-best-bot-block__result {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 6px 24px 30px;
}

/* Logo + name side by side */
.tt-best-bot-block__bot-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Bot logo — small circle */
.tt-best-bot-block__logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.15);
  box-shadow: 0 4px 16px rgba(0,0,0,0.40);
  flex-shrink: 0;
  display: block;
  background: rgba(255,255,255,0.06);
}

/* Bot name */
.tt-best-bot-block__name {
  font-family: var(--tt-head);
  font-size: 19px;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -0.018em;
}

/* CTA button — outline style, teal */
.tt-best-bot-block__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--tt-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--tt-teal) !important;
  background: transparent;
  border: 2px solid var(--tt-teal);
  border-radius: 50px;
  padding: 11px 32px;
  text-decoration: none !important;
  transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease, transform 0.12s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 rgba(0,223,184,0);
}

.tt-best-bot-block__cta:hover,
.tt-best-bot-block__cta:focus {
  background: var(--tt-teal) !important;
  color: #0f1e35 !important;
  box-shadow: 0 4px 20px rgba(0,223,184,0.35);
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* Hidden state for JS toggling */
.tt-best-bot-block__logo[hidden],
.tt-best-bot-block__name[hidden],
.tt-best-bot-block__cta[hidden] {
  display: none !important;
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .tt-best-bot-block__result {
    padding: 6px 20px 26px;
    gap: 18px;
  }
  .tt-best-bot-block__cta {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  .tt-best-bot-block__select {
    max-width: 100%;
  }
}

/* TOC */
.tt-toc { background: var(--tt-white); border: 1px solid var(--tt-border); border-top: 3px solid var(--tt-blue-bright); border-radius: var(--tt-r); padding: 22px 26px; margin: 36px 0; box-shadow: var(--tt-shadow-sm); }

.tt-toc h3, .tt-toc-title, .tt-toc > strong {
  font-family: var(--tt-head) !important;
  font-size: 11px !important;               /* ↑ matched to takeaways */
  font-weight: 800 !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tt-blue) !important;
  display: block; margin-bottom: 16px; border: none !important; padding: 0 !important; margin-top: 0 !important;
}

.tt-toc ol, .tt-toc ul { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.tt-toc ol li, .tt-toc ul li { counter-increment: toc; display: flex; align-items: baseline; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--tt-border); margin: 0; }
.tt-toc ol li:last-child, .tt-toc ul li:last-child { border-bottom: none; }
.tt-toc ul li::before, .tt-toc ol li::before { content: counter(toc, decimal-leading-zero); position: static; width: auto; height: auto; background: none; border-radius: 0; font-family: var(--tt-head); font-size: 11px; font-weight: 700; color: var(--tt-text-light); flex-shrink: 0; min-width: 22px; }
.tt-toc a { font-size: 15px; font-weight: 500; color: var(--tt-text); text-decoration: none; transition: color var(--tt-ease); line-height: 1.5; }
.tt-toc a:hover { color: var(--tt-blue); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FIX 1 — FEATURE LIST (tt-features)
   Replaces the broken two-column "LABEL : description" layout.
   Use: <div class="tt-features"> wrapping <div class="tt-feature-item">
        each containing a .tt-feature-icon span, a .tt-feature-body div
        with a <strong> title and <p> description.
   ============================================================ */

.tt-features {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 28px 0;
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-r-lg);
  overflow: hidden;
  box-shadow: var(--tt-shadow-sm);
}

.tt-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: var(--tt-white);
  border-bottom: 1px solid var(--tt-border);
}

.tt-feature-item:last-child {
  border-bottom: none;
}

.tt-feature-item:nth-child(even) {
  background: var(--tt-blue-ultra);
}

/* Icon cell */
.tt-feature-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
  width: 32px;
  text-align: center;
}

/* Text column */
.tt-feature-body {
  flex: 1;
  min-width: 0;
}

.tt-feature-body strong {
  display: block;
  font-family: var(--tt-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--tt-blue-dark);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.tt-feature-body p {
  font-size: 15px !important;
  color: var(--tt-text-mid) !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* Mobile — tighten padding only; card is already full-width */
@media (max-width: 480px) {
  .tt-feature-item {
    padding: 14px 16px;
    gap: 12px;
  }
  .tt-feature-icon {
    font-size: 20px;
    width: 26px;
  }
  .tt-feature-body strong {
    font-size: 13.5px;
  }
  .tt-feature-body p {
    font-size: 14.5px !important;
  }
}

/* ============================================================
   COMPARISON TABLE — desktop (tt-table)
   v6.5: 4 columns only (Bot, Chains, Features, Fee, Start).
   Bot name never wraps. No truncation anywhere. Per-column
   pill colours. Features stack vertically (up to 4). Featured
   = teal top border. table-layout:fixed, never overflows.
   ============================================================ */

table.tt-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--tt-body);
  font-size: 14px;
  background: var(--tt-white);
  box-shadow: var(--tt-shadow-lg);
  border-radius: var(--tt-r-lg);
  overflow: hidden;
  margin: 28px 0;
  table-layout: fixed;
}

/* ── Column widths (4 data cols + Start) ── */
table.tt-table col.col-bot      { width: 18%; }
table.tt-table col.col-chains   { width: 16%; }
table.tt-table col.col-features { width: 32%; }
table.tt-table col.col-fee      { width: 14%; }
table.tt-table col.col-start    { width: 20%; }

/* ── Header ── */
table.tt-table thead {
  background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-dark) 100%);
}
table.tt-table thead th {
  padding: 14px 12px;
  font-family: var(--tt-head);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-align: center;
  white-space: nowrap;
  border: none;
  line-height: 1.3;
}

/* ── Body rows ── */
table.tt-table tbody tr {
  border-bottom: 1px solid var(--tt-border);
  transition: background var(--tt-ease);
}
table.tt-table tbody tr:last-child td { border-bottom: none; }
table.tt-table tbody tr:nth-child(even) { background: var(--tt-blue-ultra); }
table.tt-table tbody tr:hover { background: var(--tt-blue-pale); cursor: pointer; }

/* ── Featured row: teal top border, no left bar ── */
table.tt-table tbody tr.featured { background: var(--tt-blue-pale) !important; }
table.tt-table tbody tr.featured td { border-top: 2px solid var(--tt-teal-dark); }
table.tt-table tbody tr.featured:hover { filter: brightness(0.97); }

/* ── All cells ── */
table.tt-table tbody td {
  padding: 16px 10px;
  color: var(--tt-text);
  vertical-align: middle;
  border: none;
  border-bottom: 1px solid var(--tt-border);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

/* ── Bot column ── */
table.tt-table tbody td:first-child {
  text-align: center;
  padding: 16px 10px;
}

/* ── Bot logo ── */
table.tt-table td figure {
  width: 46px !important;
  max-width: 46px !important;
  margin: 0 auto 7px auto !important;
  box-shadow: none !important;
  border-radius: 50% !important;
}
table.tt-table td figure img {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(30,58,110,0.12) !important;
  border: 2px solid var(--tt-border) !important;
  object-fit: cover;
  display: block;
  margin: 0 auto !important;
}
table.tt-table tbody tr.featured td figure img {
  border-color: var(--tt-teal-dark) !important;
  box-shadow: 0 0 0 2px var(--tt-teal-pale), 0 2px 8px rgba(0,184,150,0.20) !important;
}

/* ── Bot name: one line, never wraps ── */
table.tt-table tbody td strong {
  font-family: var(--tt-head);
  font-weight: 700;
  color: var(--tt-blue-dark);
  display: block;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Multi-pill wrapper ── */
table.tt-table tbody td .tt-cell-pills {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}

/* ── Base pill — gold default (col 3 = Features, any language) ── */
table.tt-table tbody td .tt-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 11px;
  border-radius: 50px;
  font-family: var(--tt-head);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  background: var(--tt-gold-pale);
  color: var(--tt-gold-dark);
  border: 1px solid rgba(197,147,10,0.35);
}

/* ── Col 2 = Chains — purple ── */
table.tt-table tbody td:nth-child(2) .tt-pill {
  background: #eeeeff;
  color: #3a35a0;
  border-color: rgba(83,74,183,0.3);
}

/* ── Col 4 = Fee — grey-blue ── */
table.tt-table tbody td:nth-child(4) .tt-pill {
  background: var(--tt-light);
  color: var(--tt-text-mid);
  border-color: var(--tt-border-mid);
}

/* ── Yes pill — teal ── */
table.tt-table tbody td .tt-pill.yes {
  background: var(--tt-teal-pale);
  color: #006b57;
  border-color: rgba(0,184,150,0.5);
}
table.tt-table tbody td .tt-pill.yes::before { content: '\2713\00A0'; }

/* ── No pill — red ── */
table.tt-table tbody td .tt-pill.no {
  background: #fde8e8;
  color: #8b1a1a;
  border-color: rgba(163,32,32,0.35);
}
table.tt-table tbody td .tt-pill.no::before { content: '\2717\00A0'; }

/* ── Start button ── */
table.tt-table .tt-btn-primary {
  font-size: 13px;
  padding: 8px 18px;
  white-space: nowrap;
}

/* ── Hide on mobile ── */
@media (max-width: 680px) {
  table.tt-table { display: none; }
}

/* ============================================================
   COMPARISON CAROUSEL — mobile (tt-table-carousel)
   v6.5: shows all features (no 3-5 word truncation). Per-col
   pill colours match desktop. Premium spacing.
   ============================================================ */

.tt-table-carousel { display: none; }

@media (max-width: 680px) {
  .tt-table-carousel {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 4px 24px;
    margin: 0 0 28px;
  }
  .tt-table-carousel::-webkit-scrollbar { display: none; }

  .tt-carousel-card {
    flex: 0 0 88%;
    scroll-snap-align: start;
    background: var(--tt-white);
    border: 1.5px solid var(--tt-border-mid);
    border-radius: var(--tt-r-lg);
    overflow: hidden;
    box-shadow: var(--tt-shadow-lg);
    display: flex;
    flex-direction: column;
  }
  .tt-carousel-card.featured {
    border-color: var(--tt-teal-dark);
    border-top-width: 3px;
    box-shadow: 0 8px 32px rgba(0,184,150,0.18), var(--tt-shadow-lg);
  }

  /* Card header */
  .tt-carousel-card-header {
    background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-dark) 100%);
    padding: 18px 20px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .tt-carousel-card-header img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  }
  .tt-carousel-card-header strong {
    font-family: var(--tt-head);
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .tt-carousel-card-header span {
    font-family: var(--tt-head);
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.05em;
    display: block;
    margin-top: 3px;
  }

  /* Card rows — label on top, all centered */
  .tt-carousel-card-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--tt-border);
    background: var(--tt-white);
    text-align: center;
  }
  .tt-carousel-card-row:nth-child(even) { background: var(--tt-blue-ultra); }
  .tt-carousel-card-row:last-child { border-bottom: none; }

  .tt-carousel-card-label {
    font-family: var(--tt-head);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--tt-blue);
    line-height: 1.3;
    width: 100%;
    text-align: center;
  }

  /* Value area: centered, flex-wrap supports up to 4 pills */
  .tt-carousel-card-value {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  /* Base pill in carousel — gold default (row 2 = Features, any language) */
  .tt-carousel-card-value .tt-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 11px;
    border-radius: 50px;
    font-family: var(--tt-head);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    background: var(--tt-gold-pale);
    color: var(--tt-gold-dark);
    border: 1px solid rgba(197,147,10,0.35);
  }

  /* Chains row — purple (data-field is always English per content spec) */
  .tt-carousel-card-row[data-field="Chains"] .tt-pill {
    background: #eeeeff;
    color: #3a35a0;
    border-color: rgba(83,74,183,0.3);
  }

  /* Fee row — grey-blue */
  .tt-carousel-card-row[data-field="Fee"] .tt-pill {
    background: var(--tt-light);
    color: var(--tt-text-mid);
    border-color: var(--tt-border-mid);
  }

  /* Yes / No in carousel */
  .tt-carousel-card-value .tt-pill.yes {
    background: var(--tt-teal-pale);
    color: #006b57;
    border-color: rgba(0,184,150,0.5);
  }
  .tt-carousel-card-value .tt-pill.yes::before { content: '\2713\00A0'; }
  .tt-carousel-card-value .tt-pill.no {
    background: #fde8e8;
    color: #8b1a1a;
    border-color: rgba(163,32,32,0.35);
  }
  .tt-carousel-card-value .tt-pill.no::before { content: '\2717\00A0'; }

  /* Card footer */
  .tt-carousel-card-footer {
    padding: 12px 16px;
    background: var(--tt-off-white);
    border-top: 1px solid var(--tt-border);
    display: flex;
    justify-content: center;
  }
  .tt-carousel-card-footer .tt-btn-primary {
    width: 100%;
    max-width: 220px;
    font-size: 12px;
    padding: 8px 16px;
    text-align: center;
  }
}

/* ============================================================
   SMALL TABLE — desktop + mobile stacked (tt-table-small)
   For 2–4 row quick-reference tables. No carousel needed.
   Mobile: CSS stacks each row into a labeled card automatically.
   ============================================================ */

table.tt-table-small {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--tt-body);
  font-size: 15px;
  background: var(--tt-white);
  box-shadow: var(--tt-shadow);
  border-radius: var(--tt-r);
  overflow: hidden;
  margin: 28px 0;
  max-width: 100%;
}
table.tt-table-small thead { background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-dark) 100%); }
table.tt-table-small thead th { padding: 13px 18px; font-family: var(--tt-head); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.92); text-align: left; border: none; white-space: nowrap; }
table.tt-table-small tbody tr { border-bottom: 1px solid var(--tt-border); transition: background var(--tt-ease); }
table.tt-table-small tbody tr:last-child { border-bottom: none; }
table.tt-table-small tbody tr:nth-child(even) { background: var(--tt-blue-ultra); }
table.tt-table-small tbody tr:hover { background: var(--tt-blue-pale); }
table.tt-table-small tbody td { padding: 13px 18px; color: var(--tt-text); vertical-align: middle; border: none; font-size: 15px; line-height: 1.55; }
table.tt-table-small tbody td strong { font-family: var(--tt-head); font-weight: 700; color: var(--tt-blue-dark); }
table.tt-table-small .yes { color: var(--tt-teal-dark); font-weight: 700; }
table.tt-table-small .yes::before { content: '✓ '; font-size: 0.85em; }
table.tt-table-small .no  { color: #e03e3e; font-weight: 700; }
table.tt-table-small .no::before  { content: '✗ '; font-size: 0.85em; }

@media (max-width: 680px) {
  table.tt-table-small { display: block; }
  table.tt-table-small thead { display: none; }
  table.tt-table-small tbody { display: block; }
  table.tt-table-small tbody tr {
    display: block;
    margin-bottom: 12px;
    border: 1px solid var(--tt-border);
    border-radius: var(--tt-r);
    overflow: hidden;
    box-shadow: var(--tt-shadow-sm);
    background: var(--tt-white) !important;
  }
  /* Override entry-content flex two-column — full stack only */
  table.tt-table-small tbody td,
  .entry-content table.tt-table-small tbody td {
    display: block !important;
    flex-direction: unset !important;
    justify-content: unset !important;
    align-items: unset !important;
    gap: unset !important;
    padding: 8px 14px !important;
    border-bottom: 1px solid var(--tt-border) !important;
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    background: var(--tt-white) !important;
    text-align: center !important;
  }
  table.tt-table-small tbody td:nth-child(odd),
  .entry-content table.tt-table-small tbody td:nth-child(odd) { background: var(--tt-blue-ultra) !important; }
  table.tt-table-small tbody td:nth-child(even),
  .entry-content table.tt-table-small tbody td:nth-child(even) { background: var(--tt-white) !important; }
  table.tt-table-small tbody td:last-child,
  .entry-content table.tt-table-small tbody td:last-child { border-bottom: none !important; }
  /* Label stacks above value */
  table.tt-table-small tbody td::before,
  .entry-content table.tt-table-small tbody td::before {
    content: attr(data-label);
    display: block !important;
    flex-shrink: unset !important;
    min-width: unset !important;
    font-family: var(--tt-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tt-blue);
    margin-bottom: 2px;
    padding-top: 2px;
    text-align: center !important;
  }
}

/* How-to */
.tt-howto { margin: 32px 0; display: flex; flex-direction: column; gap: 14px; }

.tt-howto-step {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--tt-white);
  border: 1px solid var(--tt-border);
  border-left: 3px solid var(--tt-blue);
  border-radius: var(--tt-r);
  padding: 20px 24px;
  box-shadow: var(--tt-shadow-sm);
  opacity-left: 0.25; /* CSS custom approach — use filter on border instead */
  transition: box-shadow 0.22s ease, border-color 0.22s ease, border-left-color 0.22s ease;
  /* Simulate faint accent at rest via a semi-transparent colour */
  --step-accent: rgba(42,78,142,0.22);
  border-left-color: var(--step-accent);
}
.tt-howto-step:hover {
  box-shadow: var(--tt-shadow);
  border-color: var(--tt-border-mid);
  border-left-color: var(--tt-blue);
}

.tt-step-num { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--tt-blue) 0%, var(--tt-blue-dark) 100%); color: #fff; font-family: var(--tt-head); font-size: 16px; font-weight: 800; box-shadow: 0 2px 8px rgba(47,80,139,0.28); }
.tt-step-body { flex: 1; min-width: 0; }
.tt-step-body h3, .tt-step-body > strong:first-child { font-family: var(--tt-head) !important; font-size: 16.5px !important; font-weight: 700 !important; color: var(--tt-text) !important; margin-bottom: 6px; display: block; border: none !important; padding: 0 !important; margin-top: 0 !important; }
.tt-step-body p { font-size: 15.5px; color: var(--tt-text-mid); line-height: 1.76; margin: 0; }

@media (max-width: 480px) { .tt-howto-step { flex-direction: column; gap: 12px; padding: 16px; } .tt-step-num { width: 36px; height: 36px; font-size: 14px; } }

/* FAQ */
.tt-faq { margin: 32px 0; border: 1px solid var(--tt-border); border-radius: var(--tt-r); overflow: hidden; box-shadow: var(--tt-shadow-sm); }
.tt-faq-item { border-bottom: 1px solid var(--tt-border); background: var(--tt-white); }
.tt-faq-item:last-child { border-bottom: none; }
.tt-faq-q { font-family: var(--tt-head); font-size: 15.5px; font-weight: 700; color: var(--tt-text); padding: 18px 22px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: background var(--tt-ease); user-select: none; } /* ↑ 0.5px smaller — crisper */
.tt-faq-q:hover { background: var(--tt-blue-ultra); }
.tt-faq-q::after { content: '+'; font-size: 22px; font-weight: 400; color: var(--tt-blue); flex-shrink: 0; line-height: 1; }
.tt-faq-item.open .tt-faq-q { background: var(--tt-blue-ultra); color: var(--tt-blue-dark); border-bottom: 1px solid var(--tt-border); }
.tt-faq-item.open .tt-faq-q::after { content: '−'; }
.tt-faq-a { font-size: 15.5px; color: var(--tt-text-mid); line-height: 1.84; padding: 16px 22px; background: var(--tt-blue-ultra); display: none; }
.tt-faq-item.open .tt-faq-a { display: block; }
.tt-faq-a p { margin: 0; font-size: 15.5px; }
.no-js .tt-faq-a { display: block; }

/* Related articles */
.tt-related { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.tt-related-item { display: flex; flex-direction: column; background: var(--tt-white); border: 1px solid var(--tt-border); border-radius: var(--tt-r); overflow: hidden; text-decoration: none !important; box-shadow: var(--tt-shadow-sm); transition: box-shadow var(--tt-ease), transform var(--tt-ease), border-color var(--tt-ease); }
.tt-related-item:hover { box-shadow: var(--tt-shadow); transform: translateY(-2px); border-color: var(--tt-border-mid); }
.tt-related-cover { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.tt-related-body { padding: 14px 16px; flex: 1; }
.tt-related-body h3, .tt-related-body strong { font-family: var(--tt-head) !important; font-size: 15px !important; font-weight: 700 !important; color: var(--tt-text) !important; display: block; margin-bottom: 6px; line-height: 1.45; transition: color var(--tt-ease); border: none !important; padding: 0 !important; margin-top: 0 !important; }
.tt-related-item:hover .tt-related-body h3, .tt-related-item:hover .tt-related-body strong { color: var(--tt-blue) !important; }
.tt-related-body p { font-size: 13.5px; color: var(--tt-text-light); line-height: 1.6; margin: 0; }
.tt-related-cat { font-family: var(--tt-head); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tt-blue); margin-bottom: 6px; display: block; }

@media (max-width: 540px) { .tt-related { grid-template-columns: 1fr; } }

/* Resources */
.tt-resources { margin: 28px 0; background: var(--tt-light); border: 1px solid var(--tt-border); border-radius: var(--tt-r); padding: 22px 26px; }
.tt-resources ul { list-style: none; padding: 0; margin: 0; }
.tt-resources ul li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--tt-border); font-size: 15.5px; margin: 0; }
.tt-resources ul li:first-child { padding-top: 0; }
.tt-resources ul li:last-child { border-bottom: none; padding-bottom: 0; }
.tt-resources ul li::before { content: '→'; position: static; width: auto; height: auto; background: none; border-radius: 0; color: var(--tt-blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.tt-resources a { color: var(--tt-blue); font-weight: 600; text-decoration: none; transition: color var(--tt-ease); }
.tt-resources a:hover { color: var(--tt-blue-dark); text-decoration: underline; text-underline-offset: 3px; }

/* Emoji list — v6.9 glassmorphism floating cards */
.entry-content ul.tt-emoji-list { list-style: none; padding: 0; margin: 24px 0; display: flex; flex-direction: column; gap: 8px; }
.entry-content ul.tt-emoji-list li { display: block; padding: 13px 18px 13px 20px; margin: 0; background: rgba(255,255,255,0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(0,223,184,0.22); border-left: 4px solid var(--tt-teal); border-radius: var(--tt-r); box-shadow: 0 4px 16px rgba(30,58,110,0.08), inset 0 1px 0 rgba(255,255,255,0.90); font-size: 15px; line-height: 1.65; color: var(--tt-text); transition: box-shadow var(--tt-ease), transform var(--tt-ease); }
.entry-content ul.tt-emoji-list li:hover { box-shadow: 0 8px 28px rgba(0,223,184,0.15), inset 0 1px 0 rgba(255,255,255,0.95); transform: translateY(-1px); }
.entry-content ul.tt-emoji-list li::before { display: none; content: none; position: static; background: none; }
.entry-content ul.tt-emoji-list li strong { font-family: var(--tt-head); font-size: 14px; font-weight: 800; color: var(--tt-blue-dark); letter-spacing: -0.01em; }
@media (max-width: 680px) {
  .entry-content ul.tt-emoji-list { margin: 16px 0; gap: 5px; }
  .entry-content ul.tt-emoji-list li { font-size: 14px; padding: 10px 13px; border-radius: var(--tt-r-sm); backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--tt-white); }
  .entry-content ul.tt-emoji-list li:hover { transform: none; }
}

/* Inline disclaimer */
.entry-content .tt-disclaimer, article .tt-disclaimer { background: var(--tt-light); border: 1px solid var(--tt-border); border-left: 3px solid var(--tt-text-light); border-radius: 0 var(--tt-r-sm) var(--tt-r-sm) 0; padding: 14px 18px; font-size: 13.5px; color: var(--tt-text-light); line-height: 1.75; margin: 28px 0; }
.entry-content .tt-disclaimer strong { color: var(--tt-text-mid); font-weight: 700; }

/* ============================================================
   19. POST BOTTOM PATTERN
   ============================================================ */

.tt-post-bottom {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  background: var(--tt-white);
  border-radius: var(--tt-r-lg);
  border: 1px solid var(--tt-border);
  box-shadow: var(--tt-shadow);
  overflow: hidden;
}

.tt-post-bottom > * {
  padding: 36px 36px;
}

.tt-post-bottom > * + * {
  border-top: 1px solid var(--tt-border);
}

.tt-post-bottom .tt-disclaimer {
  background: var(--tt-off-white);
  border: none;
  border-left: none;
  border-radius: 0;
  padding: 28px 36px;
  font-size: 13.5px;
  color: var(--tt-text-light);
  line-height: 1.88;                        /* ↑ slightly airier for dense legal text */
  margin: 0;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.tt-post-bottom .tt-disclaimer strong { color: var(--tt-text-mid); font-weight: 700; }

/* Author */
.tt-author { display: flex !important; flex-direction: row !important; gap: 28px; align-items: center; width: 100%; }

.tt-author-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; object-position: center top; border: 3px solid var(--tt-blue); flex-shrink: 0; display: block; box-shadow: var(--tt-shadow-sm); }

.tt-author-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }

.tt-author-name { font-family: var(--tt-head) !important; font-size: 17px !important; font-weight: 800 !important; color: var(--tt-text) !important; display: block !important; line-height: 1.2 !important; margin: 0 !important; letter-spacing: -0.015em; } /* ↑ 800 weight — crisper */

.tt-author-role { font-family: var(--tt-head); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tt-blue); display: block; }

.tt-author-bio {
  font-size: 15px !important;
  color: var(--tt-text-mid) !important;
  line-height: 1.80 !important;
  margin: 0 !important;
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.tt-author-links { display: flex; gap: 16px; margin-top: 4px; }
.tt-author-link { font-family: var(--tt-head); font-size: 13px; font-weight: 700; color: var(--tt-blue); text-decoration: none; transition: color var(--tt-ease); }
.tt-author-link:hover { color: var(--tt-blue-dark); text-decoration: underline; }

.tt-ai-explore {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tt-ai-label {
  font-family: var(--tt-head); font-size: 10.5px; font-weight: 700;   /* ↑ consistent with other labels */
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--tt-text-light);
  display: block;
  text-align: center;
}

.tt-ai-pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.tt-ai-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tt-blue-ultra); border: 1px solid var(--tt-border-mid);
  border-radius: 50px; padding: 9px 18px;
  font-family: var(--tt-head); font-size: 13.5px; font-weight: 600;
  color: var(--tt-blue); text-decoration: none !important; white-space: nowrap;
  transition: background var(--tt-ease), color var(--tt-ease), border-color var(--tt-ease), transform 0.1s ease;
}

.tt-ai-pill:hover {
  background: var(--tt-blue); border-color: var(--tt-blue);
  color: #fff !important; text-decoration: none !important;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .tt-post-bottom > * { padding: 24px 20px; }
  .tt-post-bottom .tt-disclaimer { padding: 20px; }

  .tt-author { flex-direction: column !important; align-items: center; gap: 16px; text-align: center; }
  .tt-author-bio {
    text-align: left !important;
  }
  .tt-author-links { justify-content: center; }

  .tt-ai-pill { font-size: 13px; padding: 8px 14px; }
}

/* ============================================================
   20. UTILITIES
   ============================================================ */

.tt-badge { display: inline-block; font-family: var(--tt-head); font-size: 11px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; padding: 3px 11px; border-radius: 20px; background: var(--tt-blue-pale); color: var(--tt-blue); border: 1px solid var(--tt-border-mid); }
.tt-badge.gold { background: var(--tt-gold-pale); color: var(--tt-gold-dark); border-color: rgba(245,197,24,0.28); }
.tt-badge.teal { background: var(--tt-teal-pale); color: var(--tt-teal-dark); border-color: rgba(0,223,184,0.28); }

/* ============================================================
   21. RESPONSIVE (global)
   ============================================================ */

@media (max-width: 960px) {
  .separate-containers .inside-article { padding: 32px 36px; }
  .grid-container { padding-left: 20px; padding-right: 20px; }
  .featured-image.page-header-image-single { margin: -32px -36px 28px !important; width: calc(100% + 72px) !important; }
  .entry-content .alignwide, .entry-content .alignfull { margin-left: -36px; margin-right: -36px; max-width: calc(100% + 72px); width: calc(100% + 72px); }
}

@media (max-width: 768px) {
  .separate-containers .inside-article { padding: 28px 20px; }
  .featured-image.page-header-image-single { margin: -28px -20px 28px !important; width: calc(100% + 40px) !important; }
  .entry-content h2 { font-size: 20px; margin-top: 40px; padding-left: 12px; }
  .entry-content h3 { font-size: 17px; margin-top: 30px; }
  .entry-content p, .entry-content ul li, .entry-content ol li { font-size: 16.5px; }
  .entry-header { margin-bottom: 24px; padding-bottom: 20px; }
  .entry-meta { gap: 8px; }
  .entry-meta .cat-links, .entry-meta .tags-links { display: flex; flex-wrap: wrap; gap: 4px; }
  .entry-meta .cat-links a, .entry-meta .tags-links a { margin: 0; }
  .entry-content .alignleft, .entry-content img.alignleft,
  .entry-content .alignright, .entry-content img.alignright { float: none; margin: 20px auto; display: block; }
  .entry-content .alignwide, .entry-content .alignfull { margin-left: -20px; margin-right: -20px; max-width: calc(100% + 40px); width: calc(100% + 40px); }
}

@media (max-width: 480px) {
  .grid-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .separate-containers .inside-article { padding: 22px 16px; }

  /* Archive cards must never get padding — the global rule above would break the image flush */
  .archive .inside-article, .blog .inside-article,
  .category .inside-article, .tag .inside-article {
    padding: 0 !important;
  }

  .featured-image.page-header-image-single {
    margin: -20px -26px 22px !important;   /* escapes article padding (16px) + grid-container padding (10px) */
    width: calc(100% + 52px) !important;
    display: block;
  }

  .tt-toc { padding: 16px 18px; }
  .tt-takeaways { padding: 16px 18px; }

  .entry-content .alignwide, .entry-content .alignfull {
    margin-left: -16px;
    margin-right: -16px;
    max-width: calc(100% + 32px);
    width: calc(100% + 32px);
    border-radius: 0;
  }
}

@media (min-width: 681px) {
  .entry-content ul.tt-emoji-list li { margin-left: 0; }
}

.post-navigation {
  display: none !important;
}

/* ============================================================
   LIMIT TO 2 + SHOW +X (FINAL OVERRIDE)
   ============================================================ */

/* ── Hide everything after 2 (categories + tags) ── */
.archive footer.entry-meta .cat-links a:nth-of-type(n+3),
.blog footer.entry-meta .cat-links a:nth-of-type(n+3),
.category footer.entry-meta .cat-links a:nth-of-type(n+3),
.tag footer.entry-meta .cat-links a:nth-of-type(n+3),
.archive footer.entry-meta .tags-links a:nth-of-type(n+3),
.blog footer.entry-meta .tags-links a:nth-of-type(n+3),
.category footer.entry-meta .tags-links a:nth-of-type(n+3),
.tag footer.entry-meta .tags-links a:nth-of-type(n+3) {
  display: none !important;
}

/* ============================================================
   SHOW "+" ONLY IF MORE THAN 2 EXIST
   ============================================================ */

/* Categories */
.archive footer.entry-meta .cat-links:has(a:nth-of-type(3))::after,
.blog footer.entry-meta .cat-links:has(a:nth-of-type(3))::after,
.category footer.entry-meta .cat-links:has(a:nth-of-type(3))::after,
.tag footer.entry-meta .cat-links:has(a:nth-of-type(3))::after {
  content: '+';
  font-size: 10px;
  font-weight: 700;
  color: var(--tt-text-light);
  margin-left: 4px;
  align-self: center;
}

/* Tags */
.archive footer.entry-meta .tags-links:has(a:nth-of-type(3))::after,
.blog footer.entry-meta .tags-links:has(a:nth-of-type(3))::after,
.category footer.entry-meta .tags-links:has(a:nth-of-type(3))::after,
.tag footer.entry-meta .tags-links:has(a:nth-of-type(3))::after {
  content: '+';
  font-size: 10px;
  font-weight: 700;
  color: var(--tt-text-light);
  margin-left: 4px;
  align-self: center;
}


/* ============================================================
   BOT LOGO BEFORE CTA — review articles (no comparison table)
   ============================================================ */
figure.tt-logo-cta {
  display: flex;
  justify-content: center;
  margin: 1.2rem auto;
}

figure.tt-logo-cta img {
  width: 120px !important;   /* enforce width */
  height: auto !important;   /* enforce height */
  display: block;
  border-radius: 50%;        /* makes it fully circular */
  object-fit: cover;         /* ensures the image fills the circle nicely */
}

/* ============================================================
   PROS & CONS
   Strategy: grid layout on <li> so the icon column is a true
   fixed cell — no absolute positioning, no z-index fights,
   no pseudo-element collisions with theme globals.
   list-style bullets are killed at every specificity level.
============================================================ */

/* ── Wrapper ── */
.tt-pros-cons {
  margin: 36px 0;
  background: var(--tt-white);
  border: 1px solid var(--tt-border);
  border-radius: var(--tt-r-lg);
  box-shadow: var(--tt-shadow);
  overflow: hidden;
}

/* ── Title bar ── */
.tt-pros-cons__title {
  font-family: var(--tt-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--tt-blue);
  text-align: center;
  margin: 0 !important;
  padding: 18px 20px;
  line-height: 1.2;
  border-bottom: 1px solid var(--tt-border);
  background: linear-gradient(135deg, var(--tt-blue-ultra) 0%, #fff 100%);
}

/* ── Two-column grid (stacks on mobile) ── */
.tt-pros-cons__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.tt-pros-cons__col--pros {
  border-right: 1px solid var(--tt-border);
}

/* ── Column header ── */
.tt-pros-cons__col-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-family: var(--tt-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 16px;
  margin: 0;
}

.tt-pros-cons__col--pros .tt-pros-cons__col-header {
  background: rgba(0, 184, 150, 0.10);
  color: #00705a;
}

.tt-pros-cons__col--cons .tt-pros-cons__col-header {
  background: rgba(192, 57, 43, 0.08);
  color: #9a2020;
}

.tt-pros-cons__col-icon {
  font-size: 15px;
  line-height: 1;
}

/* ── Kill ALL native bullet rendering ── */
ul.tt-pros-cons__list,
.entry-content ul.tt-pros-cons__list,
.tt-pros-cons ul.tt-pros-cons__list {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Kill ::after (theme sometimes uses it) ── */
ul.tt-pros-cons__list li::after,
.entry-content ul.tt-pros-cons__list li::after,
.tt-pros-cons ul.tt-pros-cons__list li::after {
  display: none !important;
  content: none !important;
}

/* ── List items: display:grid turns ::before into a real fixed-
   width first column — no absolute positioning, never cropped ── */
ul.tt-pros-cons__list li,
.entry-content ul.tt-pros-cons__list li,
.tt-pros-cons ul.tt-pros-cons__list li {
  display: grid !important;
  grid-template-columns: 22px 1fr !important;
  align-items: start !important;
  column-gap: 10px !important;
  padding: 13px 18px !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--tt-border);
  font-size: 13px;
  line-height: 1.55;
  color: var(--tt-text);
  background: transparent !important;
  list-style: none !important;
}

ul.tt-pros-cons__list li:last-child,
.entry-content ul.tt-pros-cons__list li:last-child {
  border-bottom: none;
}

/* ── Icon via ::before — sits in grid column 1.
   These selectors (.tt-pros-cons__col--pros/cons .list li::before)
   are more specific than any generic theme li::before rule,
   so they always win without needing a "kill first" block. ── */
.tt-pros-cons__col--pros .tt-pros-cons__list li::before,
.tt-pros-cons__col--pros ul.tt-pros-cons__list li::before {
  content: '✓' !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: #fff !important;
  background: #00b896 !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
}

.tt-pros-cons__col--cons .tt-pros-cons__list li::before,
.tt-pros-cons__col--cons ul.tt-pros-cons__list li::before {
  content: '✕' !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  border-radius: 50% !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  color: #fff !important;
  background: #d94f3d !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
}

/* ── Subtle zebra on pros ── */
.tt-pros-cons__col--pros ul.tt-pros-cons__list li:nth-child(even) {
  background: rgba(0, 184, 150, 0.04) !important;
}

/* ── Subtle zebra on cons ── */
.tt-pros-cons__col--cons ul.tt-pros-cons__list li:nth-child(even) {
  background: rgba(192, 57, 43, 0.04) !important;
}

/* ── Mobile: single column ── */
@media (max-width: 680px) {
  .tt-pros-cons__grid {
    grid-template-columns: 1fr !important;
  }
  .tt-pros-cons__col--pros {
    border-right: none !important;
    border-bottom: 1px solid var(--tt-border) !important;
  }
}

/* ── Remove previous / next post block ── */
nav#nav-below.post-navigation {
  display: none !important;
}