/* =========================================================================
   GrowTude WordPress Theme — Design System
   Translated from globals.css (Tailwind v4) to pure CSS custom properties.
   All dynamic values are overridden by Customizer via :root in <head>.
   ========================================================================= */

/* ── Google Fonts are loaded via PHP enqueue in inc/enqueue.php ── */

/* ── 1. Design Tokens (CSS Custom Properties) ──────────────────────────────── */
:root {
  /* Brand colors — overridden by Customizer */
  --gt-color-primary:    #18184A;
  --gt-color-secondary:  #1A56DB;
  --gt-color-accent:     #E28A26;
  --gt-color-red:        #E8291C;
  --gt-color-gold:       #F59E0B;
  --gt-color-green:      #10B981;

  /* Text */
  --gt-color-text:       #111827;
  --gt-color-text-muted: #9CA3AF;
  --gt-color-heading:    #111827;

  /* Surfaces */
  --gt-color-bg:         #F5F6F8;
  --gt-color-card-bg:    #FFFFFF;
  --gt-color-border:     #E5E7EB;
  --gt-color-link:       #1A56DB;
  --gt-color-link-hover: #18184A;

  /* Header / Footer */
  --gt-color-header-bg:  #FFFFFF;
  --gt-color-footer-bg:  #0D1B2E;
  --gt-color-footer-text:#D1D5DB;
  --gt-color-nav-active: #E28A26;

  /* Fonts */
  --gt-font-body:        'Inter', sans-serif;
  --gt-font-heading:     'Outfit', sans-serif;
  --gt-font-nav:         'Inter', sans-serif;
  --gt-font-article:     'Merriweather', serif;
  --gt-font-size-base:   15px;

  /* Layout */
  --gt-site-width:       80rem;
  --gt-content-width:    48rem;
  --gt-section-gap:      2.5rem;
  --gt-card-gap:         1.5rem;
  --gt-radius:           0.75rem;
  --gt-header-height:    64px;

  /* Shadows */
  --gt-shadow-card:      0 1px 4px rgba(0,0,0,.06), 0 4px 16px rgba(0,0,0,.06);
  --gt-shadow-hover:     0 4px 12px rgba(0,0,0,.10), 0 16px 40px rgba(0,0,0,.08);
  --gt-shadow-header:    0 1px 3px rgba(0,0,0,.08);

  /* Category badge colors */
  --gt-cat-markets:  #1A56DB;
  --gt-cat-stocks:   #7C3AED;
  --gt-cat-economy:  #059669;
  --gt-cat-crypto:   #F59E0B;
  --gt-cat-ipo:      #E8291C;
  --gt-cat-mutual:   #0EA5E9;
  --gt-cat-personal: #EC4899;
}

/* ── 2. Reset & Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--gt-color-bg);
  color: var(--gt-color-text);
  font-family: var(--gt-font-body);
  font-size: var(--gt-font-size-base);
  font-weight: var(--gt-font-weight-body, 400);
  line-height: var(--gt-line-height-body, 1.6);
  letter-spacing: var(--gt-letter-spacing-body, 0);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gt-font-heading);
  font-weight: var(--gt-font-weight-heading, 700);
  line-height: var(--gt-line-height-heading, 1.25);
  letter-spacing: var(--gt-letter-spacing-heading, -0.01em);
  text-transform: var(--gt-text-transform-heading, none);
  color: var(--gt-color-heading);
}
h1 { font-size: var(--gt-font-h1, clamp(2rem,4vw,2.75rem)); }
h2 { font-size: var(--gt-font-h2, 1.6rem); }
h3 { font-size: var(--gt-font-h3, 1.3rem); }
h4 { font-size: var(--gt-font-h4, 1.1rem); }

a { color: var(--gt-color-link); text-decoration: none; }
a:hover { color: var(--gt-color-link-hover); }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── 3. Layout Utilities ─────────────────────────────────────────────────── */
.gt-container {
  max-width: var(--gt-site-width);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .gt-container { padding-inline: 1.5rem; } }

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

@media (max-width: 1023px) { .gt-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  { .gt-grid-2, .gt-grid-3, .gt-grid-4 { grid-template-columns: 1fr; } }

.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border-width:0; }

/* ── 4. Scrollbar ────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #c7d2e0; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* ── 5. HEADER ───────────────────────────────────────────────────────────── */
.gt-header {
  position: relative;
  background: var(--gt-color-header-bg);
  height: var(--gt-header-height);
  display: flex;
  align-items: center;
  z-index: 50;
  border-bottom: 1px solid var(--gt-color-border);
}
.gt-header--sticky { position: sticky; top: 0; }
.gt-header--shadow { box-shadow: var(--gt-shadow-header); }

/* 3-slot layout engine
 * auto 1fr auto: left & right shrink-wrap their content;
 * the 1fr center column absorbs all remaining space.
 * This means Logo (left) stays at far-left, Search (right) stays at far-right. */
.gt-header__slots {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
}
.gt-header__slot { display: flex; align-items: center; gap: 0.75rem; }
.gt-header__slot--left  { justify-content: flex-start; min-width: 0; }
.gt-header__slot--center { justify-content: center; min-width: 0; overflow: hidden; }
.gt-header__slot--right  { justify-content: flex-end; min-width: 0; }

/* When search is in the right slot, let it have a comfortable max-width */
.gt-header__slot--right .gt-header__search-wrap { max-width: 340px; width: 100%; }
.gt-header__slot--center .gt-header__search-wrap { max-width: 480px; width: 100%; flex:1; }

/* Logo */
.gt-logo-wrap { flex-shrink: 0; }
.gt-logo { display: flex; align-items: center; text-decoration: none; }
.gt-logo__img-wrap img,
.gt-logo .custom-logo { max-width: 140px; height: auto; display: block; }
.gt-logo__text {
  font-family: var(--gt-font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--gt-color-primary);
  white-space: nowrap;
}
.gt-logo__tagline {
  font-size: 10px;
  color: var(--gt-color-text-muted);
  display: block;
}

/* Top Bar */
.gt-topbar {
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.gt-topbar .gt-container { width: 100%; }
.gt-topbar__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.gt-topbar__left, .gt-topbar__right { display: flex; align-items: center; gap: 0.75rem; }
.gt-topbar__date, .gt-topbar__text { font-size: 12px; opacity: 0.8; }
.gt-topbar__menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 0; }
.gt-topbar__menu li a { font-size: 12px; padding: 0 0.75rem; color: inherit; opacity: 0.8; text-decoration: none; }
.gt-topbar__menu li a:hover { opacity: 1; }

/* Social in header */
.gt-social--header { display: flex; align-items: center; gap: 0.5rem; }
.gt-social--header .gt-social__link { color: inherit; opacity: 0.7; display: flex; align-items: center; transition: opacity 0.15s; }
.gt-social--header .gt-social__link:hover { opacity: 1; }

/* ── 6. NAVBAR ───────────────────────────────────────────────────────────── */
.gt-navbar {
  background: #fff;
  border-bottom: 1px solid var(--gt-color-border);
  position: sticky;
  top: var(--gt-header-height);
  z-index: 40;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.gt-navbar__inner {
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0;
}
.gt-navbar__inner::-webkit-scrollbar { display: none; }

.gt-nav-link {
  flex-shrink: 0;
  padding: 0.875rem var(--gt-nav-item-padding, 1rem);
  height: var(--gt-nav-height, auto);
  display: inline-flex;
  align-items: center;
  font-family: var(--gt-font-nav);
  font-size: var(--gt-font-size-nav, 13px);
  font-weight: var(--gt-font-weight-nav, 600);
  letter-spacing: var(--gt-letter-spacing-nav, 0);
  text-transform: var(--gt-text-transform-nav, none);
  white-space: nowrap;
  color: var(--gt-color-nav-text, #4B5563);
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
  text-decoration: none;
  position: relative;
  gap: var(--gt-nav-item-gap, 0px);
}
.gt-nav-link:hover { color: var(--gt-color-nav-hover, var(--gt-color-primary)); border-bottom-color: var(--gt-color-nav-hover, #E28A26); }
.gt-nav-link.active { color: var(--gt-color-nav-active); border-bottom-color: var(--gt-color-nav-active); font-weight: 700; }

/* Nav dropdown support */
.gt-nav-item { position: relative; display: inline-block; }
.gt-nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--gt-dd-bg, #fff);
  border: 1px solid var(--gt-color-border);
  border-radius: var(--gt-dd-radius, 8px);
  box-shadow: var(--gt-shadow-hover);
  z-index: 200;
  padding: 0.5rem 0;
}
.gt-nav-item:hover .gt-nav-dropdown,
.gt-nav-item:focus-within .gt-nav-dropdown { display: block; }
.gt-nav-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 13px;
  color: var(--gt-dd-text, var(--gt-color-text));
  text-decoration: none;
  transition: background .12s, color .12s;
}
.gt-nav-dropdown a:hover { background: var(--gt-dd-hover-bg, #F0F7FF); color: var(--gt-dd-hover-text, var(--gt-color-secondary)); }
.gt-nav-dropdown__divider { height: 1px; background: var(--gt-color-border); margin: 0.25rem 0; }

/* ── 7. SEARCH BAR ───────────────────────────────────────────────────────── */
.gt-search {
  position: relative;
  flex: 1;
  max-width: 28rem;
}
.gt-search__input {
  width: 100%;
  height: 38px;
  padding: 0 2.5rem 0 0.875rem;
  border: 1.5px solid var(--gt-color-border);
  border-radius: 8px;
  font-family: var(--gt-font-body);
  font-size: 13px;
  background: #F9FAFB;
  color: var(--gt-color-text);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.gt-search__input:focus { border-color: var(--gt-color-secondary); box-shadow: 0 0 0 3px rgba(26,86,219,.15); background: #fff; }
.gt-search__btn {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 38px; display: flex; align-items: center; justify-content: center;
  color: #9CA3AF; border-radius: 0 8px 8px 0;
}
.gt-search__btn:hover { color: var(--gt-color-secondary); }

.gt-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #fff;
  border: 1px solid var(--gt-color-border);
  border-radius: 10px;
  box-shadow: var(--gt-shadow-hover);
  z-index: 100;
  overflow: hidden;
  display: none;
}
.gt-search-dropdown.open,
.gt-search-dropdown.is-active { display: block; }
.gt-search-result,
.gt-search-dropdown__item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  text-decoration: none;
  transition: background .15s;
  border-bottom: 1px solid #F3F4F6;
  color: inherit;
}
.gt-search-result:last-child,
.gt-search-dropdown__item:last-child { border-bottom: none; }
.gt-search-result:hover,
.gt-search-dropdown__item:hover,
.gt-search-dropdown__item.is-selected { background: #F0F7FF; }
.gt-search-result__img,
.gt-search-dropdown__thumb { width: 48px; height: 36px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: #F3F4F6; }
.gt-search-result__img img,
.gt-search-dropdown__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gt-search-result__title,
.gt-search-dropdown__title { font-size: 13px; font-weight: 600; color: var(--gt-color-text); line-height: 1.35; }
.gt-search-result__meta,
.gt-search-dropdown__meta { font-size: 11px; color: var(--gt-color-text-muted); margin-bottom: 2px; display: flex; align-items: center; gap: 0.5rem; }
.gt-search-dropdown__cat { font-weight: 700; color: var(--gt-color-secondary); font-size: 10px; text-transform: uppercase; letter-spacing: 0.05em; }
.gt-search-viewall,
.gt-search-dropdown__footer {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  text-align: center; padding: 0.65rem;
  font-size: 12px; font-weight: 700; color: var(--gt-color-secondary);
  background: #F0F7FF; border-top: 1px solid var(--gt-color-border);
  text-decoration: none;
  transition: background .15s;
}
.gt-search-viewall:hover,
.gt-search-dropdown__footer:hover { background: #DBEAFE; }
.gt-search-empty,
.gt-search-dropdown__empty,
.gt-search-dropdown__loading { padding: 1.25rem; text-align: center; font-size: 13px; color: var(--gt-color-text-muted); }

/* ── 8. CATEGORY BADGE ───────────────────────────────────────────────────── */
.growtude-badge {
  display: inline-block;
  font-family: var(--gt-font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1.6;
}
.growtude-badge--markets  { background: #EFF6FF; color: #1D4ED8; }
.growtude-badge--stocks   { background: #F5F3FF; color: #6D28D9; }
.growtude-badge--economy  { background: #ECFDF5; color: #065F46; }
.growtude-badge--crypto   { background: #FFFBEB; color: #92400E; }
.growtude-badge--ipo      { background: #FEF2F2; color: #991B1B; }
.growtude-badge--mutual   { background: #F0F9FF; color: #075985; }
.growtude-badge--personal { background: #FDF4FF; color: #86198F; }
.growtude-badge--default  { background: #F3F4F6; color: #374151; }

/* Keep old badge-* classes for backwards compat */
.badge-markets   { background:#EFF6FF; color:#1D4ED8; }
.badge-stocks    { background:#F5F3FF; color:#6D28D9; }
.badge-economy   { background:#ECFDF5; color:#065F46; }
.badge-crypto    { background:#FFFBEB; color:#92400E; }
.badge-ipo       { background:#FEF2F2; color:#991B1B; }
.badge-mutual    { background:#F0F9FF; color:#075985; }
.badge-personal  { background:#FDF4FF; color:#86198F; }

/* ── 9. NEWS CARDS ───────────────────────────────────────────────────────── */
.gt-card {
  background: var(--gt-color-card-bg);
  border-radius: var(--gt-radius);
  overflow: hidden;
  box-shadow: var(--gt-shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
  text-decoration: none;
  color: inherit;
}
.gt-card:hover { box-shadow: var(--gt-shadow-hover); transform: translateY(-2px); }

.gt-card__img-wrap { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: #F3F4F6; }
.gt-card__img-wrap--ratio-43 { aspect-ratio: 4/3; }
.gt-card__img-wrap--ratio-11 { aspect-ratio: 1/1; }
.gt-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gt-card:hover .gt-card__img { transform: scale(1.05); }

.gt-card__body { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.gt-card__title { font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--gt-color-heading); }
.gt-card:hover .gt-card__title { color: var(--gt-color-secondary); }
.gt-card__excerpt { font-size: 0.875rem; color: #4B5563; line-height: 1.5; }
.gt-card__meta { display: flex; align-items: center; gap: 0.5rem; font-size: 11px; color: var(--gt-color-text-muted); flex-wrap: wrap; margin-top: auto; padding-top: 0.5rem; border-top: 1px solid var(--gt-color-border); }
.gt-card__author { font-weight: 600; color: #374151; }
.gt-card__sep { color: #D1D5DB; }

/* Compact card (horizontal) */
.gt-card--horizontal {
  flex-direction: row;
  padding: 0.875rem;
  gap: 1rem;
  align-items: flex-start;
}
.gt-card--horizontal .gt-card__img-wrap { width: 7rem; min-width: 7rem; height: 4.5rem; aspect-ratio: unset; flex-shrink: 0; border-radius: 8px; }
.gt-card--horizontal .gt-card__body { padding: 0; }
.gt-card--horizontal .gt-card__title { font-size: 0.875rem; }

/* List/compact card */
.gt-card--compact {
  flex-direction: row;
  padding: 0.75rem 0;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid var(--gt-color-border);
  gap: 0.75rem;
  align-items: center;
  background: transparent;
}
.gt-card--compact:last-child { border-bottom: none; }
.gt-card--compact:hover { transform: none; box-shadow: none; }
.gt-card--compact .gt-card__img-wrap { width: 5rem; min-width: 5rem; height: 3.5rem; aspect-ratio: unset; border-radius: 6px; }
.gt-card--compact .gt-card__body { padding: 0; }
.gt-card--compact .gt-card__title { font-size: 0.8125rem; }

/* Breaking label */
.gt-breaking {
  position: absolute; top: 0.75rem; left: 0.75rem;
  display: inline-flex; align-items: center; gap: 0.375rem;
  background: var(--gt-color-red);
  color: #fff; font-size: 10px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 2px;
}
.gt-live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #EF4444; display: inline-block;
  animation: gt-blink 1s ease-in-out infinite;
}

/* ── 10. HERO SECTION ─────────────────────────────────────────────────────── */
.gt-hero {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--gt-radius);
  overflow: hidden;
  box-shadow: var(--gt-shadow-card);
  background: #fff;
  margin-bottom: var(--gt-section-gap);
}
@media (min-width: 1024px) { .gt-hero { grid-template-columns: 2fr 1fr; } }

.gt-hero__main { position: relative; min-height: 420px; display: block; text-decoration: none; }
.gt-hero__img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; transition: transform .5s ease; }
.gt-hero__main:hover .gt-hero__img { transform: scale(1.02); }
.gt-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,24,46,.97) 0%, rgba(10,24,46,.82) 40%, rgba(10,24,46,.35) 75%, transparent 100%);
}
.gt-hero__content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1.5rem 2rem 2rem;
}
.gt-hero__title {
  font-size: clamp(1.3rem, 3vw, 1.875rem);
  font-weight: 800; color: #fff; line-height: 1.25;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 6px rgba(0,0,0,.85), 0 1px 2px rgba(0,0,0,.7);
  transition: color .2s;
}
.gt-hero__main:hover .gt-hero__title { color: #BFDBFE; }
.gt-hero__excerpt {
  font-size: 0.9rem; color: rgba(255,255,255,.85); line-height: 1.6;
  margin-bottom: 0.875rem;
  text-shadow: 0 1px 4px rgba(0,0,0,.8);
  display: none;
}
@media (min-width: 640px) { .gt-hero__excerpt { display: block; } }
.gt-hero__meta { display: flex; align-items: center; gap: 0.5rem; font-size: 11px; color: rgba(255,255,255,.75); flex-wrap: wrap; text-shadow: 0 1px 4px rgba(0,0,0,.8); }

.gt-hero__side { display: flex; flex-direction: column; border-left: 1px solid var(--gt-color-border); }
.gt-hero__side-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--gt-color-border);
  flex: 1;
  text-decoration: none; color: inherit;
  transition: background .15s;
}
.gt-hero__side-item:last-child { border-bottom: none; }
.gt-hero__side-item:hover { background: #F9FAFB; }
.gt-hero__side-img { width: 6rem; height: 5rem; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: #F3F4F6; }
.gt-hero__side-title { font-size: 0.875rem; font-weight: 700; line-height: 1.35; color: var(--gt-color-heading); }
.gt-hero__side-item:hover .gt-hero__side-title { color: var(--gt-color-secondary); }

/* ── 11. SECTION HEADER ──────────────────────────────────────────────────── */
.gt-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem; padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gt-color-border);
}
.gt-section-header__left { display: flex; align-items: center; gap: 0.75rem; }
.gt-section-header__bar { width: 4px; height: 1.5rem; border-radius: 2px; background: var(--gt-color-accent); flex-shrink: 0; }
.gt-section-header__title { font-family: var(--gt-font-heading); font-size: 1.125rem; font-weight: 800; color: var(--gt-color-heading); letter-spacing: -.01em; }
.gt-section-header__viewall { font-size: 12px; font-weight: 700; color: var(--gt-color-secondary); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; transition: color .15s; white-space: nowrap; display: flex; align-items: center; gap: 4px; }
.gt-section-header__viewall:hover { color: var(--gt-color-primary); }

/* ── 12. HOMEPAGE SECTION ────────────────────────────────────────────────── */
.gt-home-section { margin-bottom: var(--gt-section-gap); }

/* ── 13. CATEGORY SECTION (large+side) ──────────────────────────────────── */
.gt-cat-section { display: grid; grid-template-columns: 1fr; gap: var(--gt-card-gap); }
@media (min-width: 768px) { .gt-cat-section { grid-template-columns: 1.5fr 1fr; } }
@media (min-width: 1024px) { .gt-cat-section { grid-template-columns: 2fr 1fr; } }
.gt-cat-section__side { display: flex; flex-direction: column; }

/* ── 14. LATEST SIDEBAR ──────────────────────────────────────────────────── */
.gt-latest { display: flex; flex-direction: column; gap: 0; }
.gt-latest__item {
  display: flex; align-items: flex-start; gap: 0.875rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--gt-color-border);
  text-decoration: none; color: inherit;
  transition: background .15s;
}
.gt-latest__item:last-child { border-bottom: none; }
.gt-latest__item:hover .gt-latest__title { color: var(--gt-color-secondary); }
.gt-latest__rank { font-family: var(--gt-font-heading); font-size: 1.5rem; font-weight: 900; color: #E5E7EB; min-width: 1.75rem; line-height: 1; padding-top: 2px; }
.gt-latest__title { font-size: 0.875rem; font-weight: 700; line-height: 1.35; color: var(--gt-color-heading); transition: color .15s; }
.gt-latest__meta { font-size: 11px; color: var(--gt-color-text-muted); margin-top: 4px; }

/* ── 15. ARTICLE PAGE ────────────────────────────────────────────────────── */
.gt-article-wrap { max-width: var(--gt-site-width); margin-inline: auto; padding-inline: 1rem; padding-top: 2rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .gt-article-wrap { padding-inline: 1.5rem; } }

.gt-article-hero { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--gt-radius); margin-bottom: 2rem; }
.gt-article-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 1.5rem; font-size: 12px; color: var(--gt-color-text-muted); }
.gt-article-meta__author { font-weight: 700; color: #374151; }
.gt-article-meta__sep { color: #D1D5DB; }
.gt-article-title { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 900; line-height: 1.2; margin-bottom: 1rem; }

/* Article body — from globals.css, preserving all Gutenberg block styles */
.gt-article-body {
  font-family: var(--gt-font-article);
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--gt-color-text);
  max-width: var(--gt-content-width);
}
.gt-article-body p, .gt-article-body .wp-block-paragraph { margin-bottom: 1.6em; }
.gt-article-body h1, .gt-article-body h2, .gt-article-body h3,
.gt-article-body h4, .gt-article-body h5, .gt-article-body h6 {
  font-family: var(--gt-font-heading); font-weight: 800; line-height: 1.3;
  color: var(--gt-color-heading); margin-top: 2.25em; margin-bottom: 0.75em;
}
.gt-article-body h2 { font-size: 1.55rem; }
.gt-article-body h3 { font-size: 1.3rem; }
.gt-article-body h4 { font-size: 1.1rem; }
.gt-article-body > *:first-child { margin-top: 0; }
.gt-article-body ul, .gt-article-body ol { padding-left: 1.6em; margin-bottom: 1.6em; }
.gt-article-body ul { list-style-type: disc; }
.gt-article-body ol { list-style-type: decimal; }
.gt-article-body li { margin-bottom: 0.5em; line-height: 1.7; }
.gt-article-body a { color: var(--gt-color-link); text-decoration: underline; text-underline-offset: 3px; transition: color .15s; }
.gt-article-body a:hover { color: var(--gt-color-link-hover); }
.gt-article-body blockquote { border-left: 4px solid var(--gt-color-red); margin: 2em 0; padding: 1em 1.5em; background: #FFF7F7; border-radius: 0 8px 8px 0; font-style: italic; color: #4B5563; }
.gt-article-body blockquote p:last-child { margin-bottom: 0; }
.gt-article-body code { font-family: 'Courier New', monospace; background: #F3F4F6; border-radius: 4px; font-size: 0.875em; padding: 0.15em 0.4em; color: #c62a2a; }
.gt-article-body pre { background: #1E2D3E; color: #E2E8F0; border-radius: 10px; padding: 1.25em 1.5em; overflow-x: auto; margin-bottom: 1.75em; font-size: 0.875rem; line-height: 1.65; }
.gt-article-body pre code { background: transparent; color: inherit; padding: 0; }
.gt-article-body img { max-width: 100%; height: auto; border-radius: 10px; margin: 1.75em 0; }
.gt-article-body figure { margin: 2em 0; }
.gt-article-body figcaption { text-align: center; font-size: 0.82rem; color: var(--gt-color-text-muted); font-style: italic; font-family: var(--gt-font-body); margin-top: 0.6em; }
.gt-article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.75em; font-size: 0.9rem; font-family: var(--gt-font-body); }
.gt-article-body th, .gt-article-body td { border: 1px solid var(--gt-color-border); padding: 0.65em 0.9em; text-align: left; }
.gt-article-body th { background: #F5F6F8; font-weight: 700; }
.gt-article-body tr:nth-child(even) td { background: #FAFAFA; }
.gt-article-body hr { border: none; height: 2px; background: var(--gt-color-border); margin: 2.5em 0; border-radius: 2px; }
.gt-article-body strong { font-weight: 700; }
.gt-article-body em { font-style: italic; }

/* Lead paragraph highlight */
.gt-article-body--lead-highlight > p:first-of-type { border-left: 3px solid var(--gt-color-accent); padding-left: 1rem; font-size: 1.1rem; font-weight: 500; color: #374151; }

/* Tags */
.gt-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.gt-tag { display: inline-block; padding: 4px 12px; border-radius: 100px; background: #F3F4F6; font-size: 12px; color: #4B5563; font-weight: 500; transition: background .15s; text-decoration: none; }
.gt-tag:hover { background: #E5E7EB; color: var(--gt-color-primary); }

/* Related posts */
.gt-related { margin-top: 2.5rem; }
.gt-related__grid { display: grid; grid-template-columns: 1fr; gap: var(--gt-card-gap); }
@media (min-width: 640px) { .gt-related__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gt-related__grid { grid-template-columns: repeat(3, 1fr); } }

/* Prev/Next */
.gt-prevnext { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.gt-prevnext__btn { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem; border: 1px solid var(--gt-color-border); border-radius: var(--gt-radius); background: #fff; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
.gt-prevnext__btn:hover { box-shadow: var(--gt-shadow-card); transform: translateY(-1px); }
.gt-prevnext__label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gt-color-text-muted); }
.gt-prevnext__title { font-size: 0.875rem; font-weight: 700; color: var(--gt-color-heading); line-height: 1.35; }

/* ── 16. CATEGORY PAGE ───────────────────────────────────────────────────── */
.gt-cat-banner {
  border-radius: var(--gt-radius);
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  color: #fff;
}
.gt-cat-banner h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.gt-cat-banner p { color: rgba(255,255,255,.85); font-size: 1rem; }

/* ── 17. SEARCH PAGE ─────────────────────────────────────────────────────── */
.gt-search-banner {
  border-radius: var(--gt-radius);
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #0A2342 0%, #1A56DB 100%);
  color: #fff;
}
.gt-search-banner h1 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.gt-search-empty-state { background: #fff; border-radius: var(--gt-radius); border: 1px solid var(--gt-color-border); padding: 3rem 2rem; text-align: center; max-width: 32rem; margin-inline: auto; }

/* ── 18. FOOTER ──────────────────────────────────────────────────────────── */
.gt-footer { background: var(--gt-color-footer-bg); color: var(--gt-color-footer-text); }
.gt-footer__main { padding: 3rem 0; }
.gt-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px)  { .gt-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .gt-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.gt-footer__brand { }
.gt-footer__tagline { font-size: 14px; color: #9CA3AF; line-height: 1.7; margin: 1rem 0 1.5rem; max-width: 24rem; }
.gt-footer__contact { display: flex; flex-direction: column; gap: 0.625rem; font-size: 12px; }
.gt-footer__contact-item { display: flex; align-items: center; gap: 0.5rem; color: var(--gt-color-footer-text); }
.gt-footer__contact-item a { color: var(--gt-color-footer-text); text-decoration: none; transition: color .15s; }
.gt-footer__contact-item a:hover { color: #fff; }
.gt-footer__contact-icon { color: var(--gt-color-accent); flex-shrink: 0; }

.gt-footer__col-heading { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 1rem; font-family: var(--gt-font-heading); }
.gt-footer__col-links { display: flex; flex-direction: column; gap: 0.625rem; }
.gt-footer__col-link { font-size: 14px; color: var(--gt-color-footer-text); text-decoration: none; transition: color .15s; line-height: 1.4; }
.gt-footer__col-link:hover { color: #fff; }

.gt-footer__bar { border-top: 1px solid rgba(255,255,255,.08); }
.gt-footer__bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 1.25rem 0; font-size: 12px; color: #9CA3AF; }
.gt-footer__bar-link { color: #9CA3AF; text-decoration: none; transition: color .15s; }
.gt-footer__bar-link:hover { color: #fff; }
.gt-footer__bar-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.gt-footer__disclaimer { font-style: italic; color: #6B7280; }

/* Social icons */
.gt-social { display: flex; align-items: center; gap: 0.625rem; }
.gt-social__link { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--gt-color-footer-text); font-size: 14px; transition: background .15s, color .15s; text-decoration: none; }
.gt-social__link:hover { background: var(--gt-color-accent); color: #fff; }

/* ── 19. AD SLOTS ─────────────────────────────────────────────────────────── */
.gt-ad-container {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.75rem;
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
}
.gt-ad-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 0.5rem;
}
.gt-ad-content { display: flex; align-items: center; justify-content: center; }

/* ── 20. MOBILE MENU ─────────────────────────────────────────────────────── */
.gt-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.gt-mobile-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.gt-mobile-menu {
  position: fixed;
  top: 0; bottom: 0; left: 0;
  width: 85%;
  max-width: 340px;
  z-index: 200;
  color: #fff;
  transform: translateX(-110%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  box-shadow: 4px 0 32px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.gt-mobile-menu.is-open { transform: translateX(0); }
.gt-mobile-menu__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(255,255,255,.1); color: #fff;
  cursor: pointer; border: none;
  transition: background .15s;
}
.gt-mobile-menu__close:hover { background: rgba(255,255,255,.2); }
.gt-mobile-menu__search {
  padding: 3.5rem 1.25rem 1rem;
}
.gt-mobile-menu__search form { display: flex; align-items: center; background: rgba(255,255,255,.12); border-radius: 8px; overflow: hidden; }
.gt-mobile-menu__search-input { flex: 1; background: transparent; border: none; outline: none; padding: 0.75rem 1rem; font-size: 14px; color: #fff; }
.gt-mobile-menu__search-input::placeholder { color: rgba(255,255,255,.5); }
.gt-mobile-menu__search button { padding: 0.75rem 1rem; color: rgba(255,255,255,.7); background: transparent; border: none; cursor: pointer; }
.gt-mobile-menu__nav { flex: 1; padding: 0 1rem; }
.gt-mobile-menu__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.125rem; }
.gt-mobile-menu__link { display: block; padding: 0.875rem 1rem; font-size: 1rem; font-weight: 600; color: rgba(255,255,255,.85); border-radius: 8px; text-decoration: none; transition: background .15s, color .15s; }
.gt-mobile-menu__link:hover, .gt-mobile-menu__link.active { background: rgba(255,255,255,.12); color: #fff; }
.gt-mobile-menu__social { padding: 1.25rem; display: flex; gap: 0.75rem; }
.gt-mobile-menu__social .gt-social--header { flex-wrap: wrap; }
.gt-mobile-menu__social .gt-social__link { color: rgba(255,255,255,.75); }
.gt-mobile-menu__social .gt-social__link:hover { color: #fff; opacity: 1; }

/* Menu toggle button (hamburger) */
.gt-menu-toggle {
  display: none; /* hidden on desktop */
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px; height: 40px;
  padding: 0;
  border: none; background: none; cursor: pointer;
}
.gt-menu-toggle__bar { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s, opacity .3s; }
.gt-header--scrolled { box-shadow: 0 4px 16px rgba(0,0,0,.08) !important; }

@media (max-width: 1023px) {
  .gt-menu-toggle { display: flex; }
}

/* ── 20b. FOOTER ─────────────────────────────────────────────────────────── */
.gt-footer {
  border-top: 1px solid rgba(255,255,255,0.05);
}
.gt-footer__main {
  padding: 3rem 0 2rem;
}
.gt-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.gt-footer__grid--cols-2 { grid-template-columns: 2fr 1fr; }
.gt-footer__grid--cols-3 { grid-template-columns: 1.8fr 1fr 1fr; }
.gt-footer__grid--cols-4 { grid-template-columns: 1.8fr 1fr 1fr 1fr; }
.gt-footer__grid--cols-5 { grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; }

.gt-footer__brand { display: flex; flex-direction: column; gap: 1.25rem; }
.gt-footer__logo-link { display: inline-block; text-decoration: none; }
.gt-footer__logo-text { font-family: var(--gt-font-heading); font-weight: 800; font-size: 1.5rem; color: #fff; }
.gt-footer__tagline { font-size: 13px; line-height: 1.7; opacity: 0.7; max-width: 28rem; }

.gt-footer__contact { display: flex; flex-direction: column; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.gt-footer__contact li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 13px; opacity: 0.75; line-height: 1.5; }
.gt-footer__contact li svg { flex-shrink: 0; margin-top: 2px; opacity: 0.8; }
.gt-footer__contact a { color: inherit; text-decoration: none; }
.gt-footer__contact a:hover { opacity: 1; text-decoration: underline; }

.gt-footer__social { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.gt-footer__social-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: inherit;
  opacity: 0.8;
  transition: background .15s, opacity .15s;
  text-decoration: none;
}
.gt-footer__social-link:hover { background: rgba(255,255,255,.18); opacity: 1; }

.gt-footer__col { display: flex; flex-direction: column; gap: 0; }
.gt-footer__col-heading, .gt-footer-widget .gt-footer__col-heading {
  font-family: var(--gt-font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.875rem;
  color: #fff;
  opacity: 0.9;
}
.gt-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.gt-footer__links li a, .gt-footer-widget a {
  display: block;
  padding: 0.3rem 0;
  font-size: 13px;
  opacity: 0.65;
  text-decoration: none;
  color: inherit;
  transition: opacity .15s, padding-left .15s;
}
.gt-footer__links li a:hover, .gt-footer-widget a:hover { opacity: 1; padding-left: 4px; }
.gt-footer__widget-hint { font-size: 12px; opacity: 0.4; font-style: italic; }

/* Footer bottom bar */
.gt-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 1rem 0;
}
.gt-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.gt-footer__copyright { font-size: 12px; opacity: 0.55; }
.gt-footer__disclaimer { font-size: 11px; opacity: 0.4; }
.gt-footer__legal-links { display: flex; align-items: center; gap: 0.5rem; }
.gt-footer__legal-links a { font-size: 12px; opacity: 0.55; color: inherit; text-decoration: none; }
.gt-footer__legal-links a::after { content: '|'; margin-left: 0.5rem; }
.gt-footer__legal-links a:last-child::after { display: none; }
.gt-footer__legal-links a:hover { opacity: 1; }

/* Footer responsive */
@media (max-width: 1023px) {
  .gt-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .gt-footer__grid { grid-template-columns: 1fr; }
  .gt-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ── 21. PAGINATION ─────────────────────────────────────────────────────── */
.gt-pagination { display: flex; align-items: center; justify-content: center; gap: 0.375rem; padding: 2rem 0; flex-wrap: wrap; }
.gt-pagination a, .gt-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 0.75rem; border-radius: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.gt-pagination a { background: #fff; border: 1px solid var(--gt-color-border); color: var(--gt-color-text); }
.gt-pagination a:hover { background: #F0F7FF; color: var(--gt-color-secondary); border-color: #BFDBFE; }
.gt-pagination .current { background: var(--gt-color-secondary); color: #fff; border: 1px solid var(--gt-color-secondary); }

/* ── 22. DISCLAIMER BANNER ───────────────────────────────────────────────── */
.gt-disclaimer {
  background: rgba(0,0,0,.04);
  border: 1px solid var(--gt-color-border);
  border-radius: 8px;
  padding: 0.875rem 1.25rem;
  font-size: 12px;
  color: var(--gt-color-text-muted);
  line-height: 1.6;
  margin-top: var(--gt-section-gap);
  text-align: center;
}

/* ── 23. SIDEBAR ─────────────────────────────────────────────────────────── */
.gt-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }
.gt-widget { background: #fff; border-radius: var(--gt-radius); padding: 1.25rem; border: 1px solid var(--gt-color-border); }
.gt-widget-title { font-size: 0.875rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--gt-color-heading); margin-bottom: 0.875rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--gt-color-accent); }

/* ── 24. 404 PAGE ────────────────────────────────────────────────────────── */
.gt-404 { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 4rem 1.5rem; }
.gt-404__code { font-size: 8rem; font-weight: 900; color: #E5E7EB; line-height: 1; font-family: var(--gt-font-heading); }
.gt-404__title { font-size: 1.5rem; font-weight: 800; color: var(--gt-color-heading); margin: 1rem 0 0.5rem; }
.gt-404__desc { font-size: 1rem; color: var(--gt-color-text-muted); margin-bottom: 2rem; max-width: 28rem; }
.gt-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 700; font-size: 0.875rem; text-decoration: none; transition: opacity .15s; }
.gt-btn--primary { background: var(--gt-color-secondary); color: #fff; }
.gt-btn--primary:hover { opacity: 0.9; }
.gt-btn--outline { background: transparent; border: 2px solid var(--gt-color-border); color: var(--gt-color-text); }
.gt-btn--outline:hover { border-color: var(--gt-color-secondary); color: var(--gt-color-secondary); }

/* ── 25. ANIMATIONS ──────────────────────────────────────────────────────── */
@keyframes gt-blink { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes gt-fadein { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.gt-fadein { animation: gt-fadein .45s ease both; }

/* ── 26. RESPONSIVE UTILITIES ────────────────────────────────────────────── */
.gt-hide-mobile  { display: none; }
.gt-show-mobile  { display: block; }
@media (min-width: 768px) {
  .gt-hide-mobile  { display: block; }
  .gt-show-mobile  { display: none; }
}
.gt-hide-desktop { }
@media (min-width: 1024px) {
  .gt-hide-desktop { display: none; }
}

/* ── 27. TRENDING SECTION ────────────────────────────────────────────────── */
.gt-trending { background: #fff; border-radius: var(--gt-radius); padding: 1.25rem; border: 1px solid var(--gt-color-border); box-shadow: var(--gt-shadow-card); }
.gt-trending__list { display: flex; flex-direction: column; gap: 0; }
.gt-trending__item { display: flex; align-items: flex-start; gap: 0.875rem; padding: 0.875rem 0; border-bottom: 1px solid var(--gt-color-border); text-decoration: none; color: inherit; transition: background .15s; }
.gt-trending__item:last-child { border-bottom: none; }
.gt-trending__item:hover .gt-trending__title { color: var(--gt-color-secondary); }
.gt-trending__rank { font-family: var(--gt-font-heading); font-size: 1.5rem; font-weight: 900; color: #E5E7EB; min-width: 2rem; line-height: 1; }
.gt-trending__img { width: 4rem; height: 3rem; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.gt-trending__title { font-size: 0.8125rem; font-weight: 700; line-height: 1.35; color: var(--gt-color-heading); transition: color .15s; }
.gt-trending__date { font-size: 11px; color: var(--gt-color-text-muted); margin-top: 3px; }

/* ── 28. MAIN CONTENT AREA LAYOUTS ──────────────────────────────────────── */
.gt-page-wrap { max-width: var(--gt-site-width); margin-inline: auto; padding-inline: 1rem; padding-top: 2rem; padding-bottom: 3rem; }
@media (min-width: 640px) { .gt-page-wrap { padding-inline: 1.5rem; } }
.gt-content-with-sidebar { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 1024px) { .gt-content-with-sidebar { grid-template-columns: 1fr 300px; } }
.gt-content-with-sidebar--left { }
@media (min-width: 1024px) { .gt-content-with-sidebar--left { grid-template-columns: 300px 1fr; } }

/* ── 29. SKIP LINK (Accessibility) ──────────────────────────────────────── */
.skip-link { position: absolute; left: -999rem; top: 0; z-index: 9999; padding: 0.5rem 1rem; background: var(--gt-color-primary); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { left: 0; }

/* ── 30. HOMEPAGE LOWER-RIGHT WIDGET SECTION ─────────────────────────────── */
.gt-hp-lower-right {
  background: #fff;
  border-radius: var(--gt-radius);
}
.gt-hp-lower-right--border {
  border: 1px solid var(--gt-color-border);
}
.gt-hp-lower-right--shadow {
  box-shadow: var(--gt-shadow-card);
}
.gt-hp-lower-right .gt-widget-title {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gt-color-heading);
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gt-color-accent);
}
.gt-hp-lower-right__hint {
  font-size: 12px;
  color: var(--gt-color-text-muted);
  text-align: center;
  padding: 1rem;
  font-style: italic;
}
/* Responsive visibility (set via Customizer) */
.gt-hp-lower-right-wrap.gt-hide-on-mobile  { display: none; }
.gt-hp-lower-right-wrap.gt-hide-on-tablet  { display: none; }
@media (min-width: 768px) {
  .gt-hp-lower-right-wrap.gt-hide-on-mobile { display: block; }
}
@media (min-width: 1024px) {
  .gt-hp-lower-right-wrap.gt-hide-on-tablet { display: block; }
}

/* ── 31. FOOTER LOGO ALIGNMENT ───────────────────────────────────────────── */
.gt-footer__logo-link { display: flex; text-decoration: none; }
.gt-footer__logo-img { display: inline-block; }
.gt-footer__logo-img img { height: auto; display: block; }

/* ── 32. HEADER ELEMENT SLOTS — RESPONSIVE ───────────────────────────────── */
@media (max-width: 1023px) {
  /* On mobile, slots collapse to: [logo] [flex-grow spacer] [hamburger] */
  .gt-header__slots {
    grid-template-columns: auto 1fr auto;
  }
  /* Hide search bar in center/right slots on mobile unless explicitly shown */
  .gt-header__slot--center .gt-header__search-wrap:not(.gt-show-mobile-search),
  .gt-header__slot--right  .gt-header__search-wrap:not(.gt-show-mobile-search) {
    display: none;
  }
}

/* ── 33. NAV BAR ALIGNMENT VARIANTS ─────────────────────────────────────── */
.gt-navbar__inner--left    { justify-content: flex-start; }
.gt-navbar__inner--center  { justify-content: center; }
.gt-navbar__inner--right   { justify-content: flex-end; }
