/*
 * TechSite — Custom Design Override
 * Modern, clean tech news magazine
 */

/* ═══ CSS VARIABLES ═══ */
:root {
  --ts-bg: #ffffff;
  --ts-bg-alt: #f8f9fa;
  --ts-bg-card: #ffffff;
  --ts-text: #1a1a2e;
  --ts-text-secondary: #64748b;
  --ts-text-muted: #94a3b8;
  --ts-accent: #2563eb;
  --ts-accent-hover: #1d4ed8;
  --ts-accent-light: #eff6ff;
  --ts-border: #e2e8f0;
  --ts-border-light: #f1f5f9;
  --ts-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --ts-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --ts-shadow-lg: 0 10px 25px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
  --ts-radius: 12px;
  --ts-radius-sm: 8px;
  --ts-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ts-font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --ts-max-w: 1200px;
  --ts-header-h: 64px;
}

body.dark-mode {
  --ts-bg: #0f172a;
  --ts-bg-alt: #1e293b;
  --ts-bg-card: #1e293b;
  --ts-text: #f1f5f9;
  --ts-text-secondary: #94a3b8;
  --ts-text-muted: #64748b;
  --ts-accent: #3b82f6;
  --ts-accent-hover: #60a5fa;
  --ts-accent-light: #1e3a5f;
  --ts-border: #334155;
  --ts-border-light: #1e293b;
  --ts-shadow: 0 1px 3px rgba(0,0,0,0.3);
  --ts-shadow-md: 0 4px 6px rgba(0,0,0,0.3);
  --ts-shadow-lg: 0 10px 25px rgba(0,0,0,0.4);
}

/* ═══ RESET & BASE ═══ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--ts-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ts-text);
  background: var(--ts-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ts-font-display);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ts-text);
}

/* ═══ CONTAINER ═══ */
.container, .container-fluid {
  max-width: var(--ts-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ═══ SCROLL PROGRESS ═══ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--ts-accent);
  z-index: 10001;
  width: 0%;
  transition: width 0.1s;
}

/* ═══ HEADER — STICKY ═══ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: var(--ts-bg);
  border-bottom: 1px solid var(--ts-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
  height: var(--ts-header-h);
}

body.dark-mode .site-header {
  background: rgba(15,23,42,0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--ts-header-h);
  max-width: var(--ts-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.logo-wrapper {
  flex-shrink: 0;
}

.logo-wrapper .logo,
.logo-wrapper a.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--ts-text);
}

.logo-wrapper .logo img {
  height: 32px;
  width: auto;
}

/* ═══ NAVIGATION ═══ */
.primary-nav {
  display: flex;
  align-items: center;
}

.primary-nav .nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
}

.primary-nav .nav-menu li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ts-text-secondary);
  border-radius: var(--ts-radius-sm);
  transition: all 0.2s;
}

.primary-nav .nav-menu li a:hover,
.primary-nav .nav-menu li.current-menu-item a,
.primary-nav .nav-menu li.current_page_item a {
  color: var(--ts-accent);
  background: var(--ts-accent-light);
}

/* ═══ HEADER ACTIONS ═══ */
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--ts-radius-sm);
  color: var(--ts-text-secondary);
  transition: all 0.2s;
}

.icon-btn:hover {
  background: var(--ts-bg-alt);
  color: var(--ts-text);
}

.header-subscribe-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: var(--ts-accent);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--ts-radius-sm);
  transition: background 0.2s;
}

.header-subscribe-btn:hover {
  background: var(--ts-accent-hover);
}

.hamburger { display: none; }

/* ═══ TOP BAR ═══ */
.top-bar {
  background: var(--ts-accent);
  color: #fff;
  font-size: 12px;
  padding: 6px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--ts-max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.top-bar-date { font-weight: 500; }

.top-bar-tagline {
  opacity: 0.85;
}

.top-bar-social {
  display: flex;
  gap: 12px;
}

.top-bar-social a {
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.top-bar-social a:hover { opacity: 1; }

/* ═══ HERO SECTION ═══ */
.hero-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-bottom: 48px;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 48px;
  max-width: var(--ts-max-w);
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: end;
}

.hero-grid-full {
  grid-template-columns: 1fr;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ts-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.hero-excerpt {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  line-height: 1.6;
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ts-accent);
  color: #fff;
  padding: 10px 24px;
  border-radius: var(--ts-radius-sm);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.hero-cta:hover { background: var(--ts-accent-hover); }

.hero-cta svg {
  width: 16px;
  height: 16px;
}

.hero-meta-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.65);
  font-size: 13px;
}

.hero-meta-inline .dot {
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
}

/* ═══ SECTION HEADERS ═══ */
.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--ts-border);
}

.latest-stories-title {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ts-accent);
}

.section-bar-link:hover { color: var(--ts-accent-hover); }

.section-bar-link svg {
  width: 14px;
  height: 14px;
}

/* ═══ BENTO GRID / FEED ═══ */
.bento-section {
  padding: 0 0 48px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feed-layout-bento .post-card:first-child {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

/* ═══ POST CARDS ═══ */
.post-card {
  background: var(--ts-bg-card);
  border-radius: var(--ts-radius);
  overflow: hidden;
  border: 1px solid var(--ts-border-light);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ts-shadow-lg);
}

.post-card > a {
  display: block;
}

.post-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.feed-layout-bento .post-card:first-child img {
  height: 100%;
  min-height: 300px;
}

.post-card-body {
  padding: 20px;
}

.post-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ts-accent);
  margin-bottom: 8px;
}

.post-card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-excerpt {
  font-size: 14px;
  color: var(--ts-text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ts-text-muted);
}

.post-card-meta img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

/* ═══ SINGLE POST ═══ */
.layout-container {
  max-width: var(--ts-max-w);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.layout-container.layout-no-hero {
  padding-top: 40px;
}

.layout-container.layout-has-sidebar {
  grid-template-columns: 1fr 320px;
}

.layout-main {
  min-width: 0;
}

.single-content {
  max-width: 720px;
}

.single-content .post-card-tag {
  margin-bottom: 16px;
}

.single-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ts-border);
}

.single-meta img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.single-meta .author-name {
  font-weight: 600;
  font-size: 14px;
}

.single-meta span {
  font-size: 13px;
  color: var(--ts-text-secondary);
}

.meta-separator {
  display: inline-block;
  width: 3px;
  height: 3px;
  background: var(--ts-text-muted);
  border-radius: 50%;
  vertical-align: middle;
}

/* ═══ SINGLE BODY CONTENT ═══ */
.single-body {
  font-size: 17px;
  line-height: 1.8;
}

.single-body p {
  margin-bottom: 20px;
}

.single-body h2 {
  font-size: 24px;
  margin: 40px 0 16px;
}

.single-body h3 {
  font-size: 20px;
  margin: 32px 0 12px;
}

.single-body blockquote {
  border-left: 3px solid var(--ts-accent);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--ts-accent-light);
  border-radius: 0 var(--ts-radius-sm) var(--ts-radius-sm) 0;
  font-style: italic;
  color: var(--ts-text-secondary);
}

.single-body img {
  border-radius: var(--ts-radius);
  margin: 24px 0;
}

.single-body a {
  color: var(--ts-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.single-body a:hover {
  color: var(--ts-accent-hover);
}

.single-body ul, .single-body ol {
  margin: 16px 0;
  padding-left: 24px;
}

.single-body li {
  margin-bottom: 8px;
}

.single-body code {
  background: var(--ts-bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.single-body pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 20px;
  border-radius: var(--ts-radius-sm);
  overflow-x: auto;
  margin: 24px 0;
}

.single-body pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* ═══ POST TAGS ═══ */
.post-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--ts-border);
}

.post-tags-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ts-text-secondary);
}

.post-tags-wrap a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--ts-bg-alt);
  border-radius: 20px;
  font-size: 12px;
  color: var(--ts-text-secondary);
  border: 1px solid var(--ts-border);
  transition: all 0.2s;
}

.post-tags-wrap a:hover {
  color: var(--ts-accent);
  border-color: var(--ts-accent);
  background: var(--ts-accent-light);
}

/* ═══ POST NAVIGATION ═══ */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--ts-border);
}

.post-nav-prev, .post-nav-next {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  background: var(--ts-bg-alt);
  border-radius: var(--ts-radius-sm);
  border: 1px solid var(--ts-border-light);
  transition: all 0.2s;
}

.post-nav-next {
  text-align: right;
}

.post-nav-prev:hover, .post-nav-next:hover {
  border-color: var(--ts-accent);
  background: var(--ts-accent-light);
}

.post-nav-label {
  font-size: 12px;
  color: var(--ts-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-nav-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

/* ═══ SIDEBAR ═══ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--ts-bg-card);
  border: 1px solid var(--ts-border-light);
  border-radius: var(--ts-radius);
  padding: 24px;
}

.widget-author {
  text-align: center;
}

.widget-author-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 3px solid var(--ts-accent);
}

.widget-author-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-author h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.widget-author-role {
  font-size: 12px;
  color: var(--ts-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.widget-author p {
  font-size: 13px;
  color: var(--ts-text-secondary);
  margin-top: 8px;
}

.widget-author-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.subscribe-widget h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.subscribe-desc {
  font-size: 13px;
  color: var(--ts-text-secondary);
  margin-bottom: 16px;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.subscribe-form input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-sm);
  font-size: 14px;
  background: var(--ts-bg);
  color: var(--ts-text);
  outline: none;
  transition: border 0.2s;
}

.subscribe-form input[type="email"]:focus {
  border-color: var(--ts-accent);
}

.subscribe-btn {
  width: 100%;
  padding: 10px;
  background: var(--ts-accent);
  color: #fff;
  border: none;
  border-radius: var(--ts-radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.subscribe-btn:hover {
  background: var(--ts-accent-hover);
}

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--ts-bg-alt);
  border-top: 1px solid var(--ts-border);
  padding: 48px 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--ts-max-w);
  margin: 0 auto;
}

.footer-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--ts-text);
}

.footer-copy {
  font-size: 13px;
  color: var(--ts-text-muted);
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--ts-text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--ts-accent);
}

/* ═══ SEARCH OVERLAY ═══ */
.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 10002;
  backdrop-filter: blur(4px);
}

.search-overlay.is-active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20vh;
}

.search-overlay-inner {
  background: var(--ts-bg-card);
  border-radius: var(--ts-radius);
  padding: 32px;
  width: 90%;
  max-width: 560px;
  box-shadow: var(--ts-shadow-lg);
  position: relative;
}

.search-close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  color: var(--ts-text-muted);
  background: none;
  border: none;
  cursor: pointer;
}

/* ═══ COMMENTS ═══ */
.comments-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--ts-border);
}

/* ═══ ARCHIVE / CATEGORY ═══ */
.archive-header {
  padding: 48px 0 32px;
  text-align: center;
}

.archive-header h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.archive-header p {
  font-size: 15px;
  color: var(--ts-text-secondary);
}

/* ═══ WIDGET AREAS ═══ */
.widget-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--ts-accent);
}

/* ═══ PAGINATION ═══ */
.pagination, .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 48px 0;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: var(--ts-bg-card);
  border: 1px solid var(--ts-border);
  border-radius: var(--ts-radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--ts-text-secondary);
  transition: all 0.2s;
}

.page-numbers:hover, .page-numbers.current {
  background: var(--ts-accent);
  border-color: var(--ts-accent);
  color: #fff;
}

/* ═══ ANIMATIONS ═══ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.anim-up {
  animation: fadeInUp 0.5s ease forwards;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 32px; }
  .layout-container.layout-has-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .bento-grid { grid-template-columns: 1fr; }
  .feed-layout-bento .post-card:first-child { grid-column: 1; grid-row: auto; }
  .primary-nav { display: none; }
  .hamburger { display: flex; }
  .hero-section { min-height: 350px; }
  .hero-content { padding: 24px; }
  .hero-title { font-size: 26px; }
  .single-title { font-size: 28px; }
  .top-bar-tagline { display: none; }
  .post-nav { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 16px; }
  .container { padding: 0 16px; }
  .hero-title { font-size: 22px; }
  .single-title { font-size: 24px; }
  .single-body { font-size: 16px; }
}

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ═══ HIDE PRO ELEMENTS ═══ */
.navid-preloader { display: none !important; }

/* ═══ EDITOR PICKS SIDEBAR ═══ */
.hero-side-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-side-col .hero-side-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--ts-radius-sm);
  transition: background 0.2s;
}

.hero-side-col .hero-side-card:hover {
  background: rgba(255,255,255,0.15);
}

.hero-side-col .hero-side-card img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-side-col .hero-side-card h3 {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

.hero-side-col .hero-side-card .hero-side-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ═══ MOBILE DRAWER ═══ */
.drawer-footer {
  display: none;
}

@media (max-width: 768px) {
  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--ts-bg);
    z-index: 10003;
    padding: 80px 24px 24px;
  }
  .primary-nav.is-open .nav-menu {
    flex-direction: column;
    width: 100%;
  }
  .primary-nav.is-open .nav-menu li a {
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--ts-border-light);
  }
  .drawer-footer {
    display: block;
    margin-top: auto;
    padding-top: 24px;
  }
}

/* ═══ MARQUEE / TICKER ═══ */
.marquee-section {
  background: var(--ts-accent);
  color: #fff;
  overflow: hidden;
  padding: 10px 0;
  margin-bottom: 48px;
}

.marquee-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.marquee-label {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}

.marquee-content {
  overflow: hidden;
}

.marquee-content a {
  white-space: nowrap;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

/* ═══ INTERLUDE / QUOTE SECTION ═══ */
.interlude-section {
  padding: 64px 24px;
  text-align: center;
  background: var(--ts-bg-alt);
}

.interlude-section blockquote {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
  color: var(--ts-text);
}

/* ═══ NEWSLETTER SECTION ═══ */
.newsletter-section {
  padding: 64px 24px;
  text-align: center;
  background: var(--ts-accent);
  color: #fff;
}

.newsletter-section h2 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 8px;
}

.newsletter-section p {
  font-size: 15px;
  opacity: 0.85;
  margin-bottom: 24px;
}
