/**
 * Trigun — Modern 2026 Editorial Platform & Dark Intelligence Theme
 * 
 * Complete unified design system for all public pages:
 * Homepage, Single Article, Category/Archive, Search, Static Pages (About, Contact, Legal), and 404.
 */

:root,
[data-theme="dark"] {
  --tr-bg-base: #070a11;
  --tr-bg-surface: #0c111d;
  --tr-bg-card: #0f172a;
  --tr-bg-card-alt: #131c31;
  --tr-bg-glass: rgba(15, 23, 42, 0.85);
  --tr-border: rgba(255, 255, 255, 0.08);
  --tr-border-highlight: rgba(59, 130, 246, 0.35);
  --tr-border-subtle: rgba(255, 255, 255, 0.04);
  
  --tr-text-primary: #f8fafc;
  --tr-text-secondary: #cbd5e1;
  --tr-text-muted: #94a3b8;
  --tr-text-subtle: #64748b;
  
  --tr-primary: #3b82f6;
  --tr-primary-hover: #2563eb;
  --tr-primary-glow: rgba(59, 130, 246, 0.3);
  --tr-indigo: #6366f1;
  --tr-purple: #8b5cf6;
  
  --tr-code-bg: #0d1322;
  --tr-code-text: #e2e8f0;
  --tr-blockquote-bg: rgba(59, 130, 246, 0.06);
  --tr-util-bg: #05080e;
  --tr-header-bg: rgba(8, 12, 20, 0.88);
  --tr-footer-bg: #05080e;
  --tr-hero-glow: radial-gradient(circle at 75% 35%, rgba(59, 130, 246, 0.14) 0%, rgba(99, 102, 241, 0.06) 30%, transparent 65%),
                  radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  --tr-nl-gradient: linear-gradient(135deg, rgba(30, 41, 59, 0.75) 0%, rgba(15, 23, 42, 0.95) 100%);
  
  --tr-radius-sm: 6px;
  --tr-radius-md: 10px;
  --tr-radius-lg: 14px;
  --tr-radius-pill: 9999px;
  
  --tr-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --tr-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --tr-bg-base: #f8fafc;
  --tr-bg-surface: #ffffff;
  --tr-bg-card: #ffffff;
  --tr-bg-card-alt: #f1f5f9;
  --tr-bg-glass: rgba(255, 255, 255, 0.92);
  --tr-border: #e2e8f0;
  --tr-border-highlight: rgba(37, 99, 235, 0.4);
  --tr-border-subtle: #f1f5f9;
  
  --tr-text-primary: #0f172a;
  --tr-text-secondary: #334155;
  --tr-text-muted: #64748b;
  --tr-text-subtle: #94a3b8;
  
  --tr-primary: #2563eb;
  --tr-primary-hover: #1d4ed8;
  --tr-primary-glow: rgba(37, 99, 235, 0.15);
  --tr-indigo: #4f46e5;
  --tr-purple: #7c3aed;
  
  --tr-code-bg: #f1f5f9;
  --tr-code-text: #0f172a;
  --tr-blockquote-bg: rgba(37, 99, 235, 0.04);
  --tr-util-bg: #f1f5f9;
  --tr-header-bg: rgba(255, 255, 255, 0.92);
  --tr-footer-bg: #0f172a;
  --tr-hero-glow: radial-gradient(circle at 75% 35%, rgba(59, 130, 246, 0.08) 0%, rgba(99, 102, 241, 0.04) 30%, transparent 65%);
  --tr-nl-gradient: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

/* 1. FULL-WIDTH VIEWPORT OVERRIDE FOR ASTRA CONTAINERS (Pure Single Window Scroll) */
html {
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  height: auto;
  min-height: 100%;
  background-color: var(--tr-bg-base) !important;
}

body {
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  min-height: 100vh;
  background-color: var(--tr-bg-base) !important;
  color: var(--tr-text-secondary) !important;
}

#page,
.site,
#content,
.site-content,
#primary,
#main,
.ast-container,
.entry-content,
.tr-platform-root {
  background-color: var(--tr-bg-base) !important;
  color: var(--tr-text-secondary) !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
}

/* Suppress Astra default headers, sidebars & footers across all templates */
.site-header,
.main-header-bar,
.ast-main-header-wrap,
.site-footer,
.ast-footer-builder-wrap,
#ast-scroll-top,
.ast-small-footer,
.ast-breadcrumbs-wrapper,
#secondary.widget-area {
  display: none !important;
}

/* Platform Wrapper & Centered Container */
.tr-platform-root {
  width: 100%;
  min-height: 100vh;
  background-color: var(--tr-bg-base);
  color: var(--tr-text-secondary);
  font-family: var(--tr-font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tr-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 2. Top Utility Header Bar */
.tr-util-bar {
  background: var(--tr-util-bg);
  border-bottom: 1px solid var(--tr-border);
  font-size: 11px;
  font-weight: 500;
  color: var(--tr-text-muted);
  padding: 8px 0;
  transition: background-color 0.3s ease;
}

.tr-util-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.tr-util-left {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.tr-date-badge {
  color: var(--tr-text-muted);
}

.tr-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--tr-primary);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 1px 7px;
  border-radius: var(--tr-radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tr-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--tr-primary);
  box-shadow: 0 0 8px var(--tr-primary);
  animation: trPulse 2s infinite;
}

@keyframes trPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.tr-time-val {
  color: var(--tr-text-secondary);
  font-weight: 600;
}

.tr-util-center {
  font-size: 12px;
  color: var(--tr-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tr-util-right {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.tr-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tr-social-icons a {
  color: var(--tr-text-subtle);
  transition: color 0.15s ease;
  display: flex;
  align-items: center;
}

.tr-social-icons a:hover {
  color: var(--tr-text-primary);
}

/* 3-State Theme Switcher */
.tr-theme-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.12);
  border: 1px solid var(--tr-border);
  padding: 2px;
  border-radius: var(--tr-radius-pill);
  gap: 2px;
}

[data-theme="light"] .tr-theme-switcher {
  background: rgba(0, 0, 0, 0.05);
}

.tr-theme-btn {
  background: transparent;
  border: none;
  color: var(--tr-text-muted);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: var(--tr-transition);
}

.tr-theme-btn:hover {
  color: var(--tr-text-primary);
}

.tr-theme-btn.is-active {
  background: var(--tr-primary);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(59, 130, 246, 0.4);
}

/* 3. Main Navigation Header */
.tr-header {
  background: var(--tr-header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--tr-border);
  position: sticky;
  top: 0;
  z-index: 999;
  transition: background-color 0.3s ease;
}

.tr-header-inner {
  display: flex;
  align-items: center;
  height: 70px;
  gap: 28px;
}

/* Brand Logo (Header & Global) */
.tr-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 24px;
}

.tr-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  user-select: none;
  transition: opacity 0.2s ease;
}

.tr-brand-logo:hover {
  text-decoration: none;
  opacity: 0.95;
}

.tr-brand-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.tr-brand-logo:hover .tr-brand-icon-wrap {
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 3px 10px rgba(99, 102, 241, 0.35));
}

.tr-brand-mark-svg {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8.5px;
}

.tr-brand-text {
  font-family: var(--tr-font-heading, inherit);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}

.tr-brand-name {
  color: #f8fafc;
  transition: color 0.2s ease;
}

.tr-brand-tld {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  letter-spacing: -0.02em;
}

[data-theme="light"] .tr-brand-name {
  color: #0f172a;
}

[data-theme="light"] .tr-header .tr-brand-mark-bg {
  fill: #f1f5f9;
  stroke: rgba(99, 102, 241, 0.22);
}

.tr-logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--tr-text-primary);
  text-decoration: none;
}

.tr-logo-dot {
  color: var(--tr-primary);
}

/* Primary Desktop Navigation */
.tr-nav {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.tr-nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tr-nav-list li a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--tr-text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 6px 2px;
  white-space: nowrap;
  transition: color 0.15s ease;
  position: relative;
}

.tr-nav-list li a:hover,
.tr-nav-list li a.active {
  color: var(--tr-primary);
}

.tr-nav-list li a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--tr-primary);
  border-radius: 2px;
}

.tr-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Subscribe Pill Button in Header */
.tr-btn-subscribe-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.12);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tr-btn-subscribe-pill:hover {
  background: rgba(99, 102, 241, 0.22);
  border-color: rgba(99, 102, 241, 0.45);
  color: #a5b4fc;
  transform: translateY(-1px);
}

[data-theme="light"] .tr-btn-subscribe-pill {
  background: rgba(79, 70, 229, 0.08);
  color: #4f46e5;
  border-color: rgba(79, 70, 229, 0.2);
}

/* Mobile Hamburger Button */
.tr-mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 8px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: all 0.2s ease;
}

.tr-hamburger-bar {
  width: 18px;
  height: 2px;
  background-color: var(--tr-text-primary);
  border-radius: 2px;
  transition: all 0.25s ease;
}

[data-theme="light"] .tr-mobile-menu-btn {
  border-color: rgba(0, 0, 0, 0.12);
}

/* Mobile Navigation Drawer */
.tr-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.tr-mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tr-mobile-drawer-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 82%;
  max-width: 300px;
  height: 100%;
  background: var(--tr-bg-surface);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

[data-theme="light"] .tr-mobile-drawer-inner {
  background: #ffffff;
  border-left-color: rgba(0, 0, 0, 0.08);
}

.tr-mobile-drawer.is-open .tr-mobile-drawer-inner {
  transform: translateX(0);
}

.tr-mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .tr-mobile-drawer-header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.tr-mobile-menu-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--tr-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tr-mobile-close-btn {
  background: transparent;
  border: none;
  font-size: 26px;
  color: var(--tr-text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.tr-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.tr-mobile-nav-list li a {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--tr-text-secondary);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease;
}

.tr-mobile-nav-list li a:hover,
.tr-mobile-nav-list li a.active {
  background: rgba(99, 102, 241, 0.1);
  color: var(--tr-primary);
}

.tr-mobile-nav-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0;
}

[data-theme="light"] .tr-mobile-nav-divider {
  background: rgba(0, 0, 0, 0.08);
}

.tr-mobile-drawer-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .tr-mobile-drawer-footer {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.tr-mobile-nl-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Premium Dark-Glass AJAX Search Bar */
.tr-header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.tr-header-search-form {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--tr-radius-pill);
  padding: 0 10px 0 14px;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, width 0.25s ease;
  height: 38px;
  box-sizing: border-box;
}

[data-theme="light"] .tr-header-search-form {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.tr-header-search-form:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .tr-header-search-form:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(0, 0, 0, 0.06);
}

.tr-header-search.is-focused .tr-header-search-form,
.tr-header-search-form:focus-within {
  border-color: var(--tr-primary);
  background: rgba(15, 23, 42, 0.88);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25), 0 8px 20px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .tr-header-search.is-focused .tr-header-search-form,
[data-theme="light"] .tr-header-search-form:focus-within {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.tr-search-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tr-text-muted);
  margin-right: 8px;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.tr-header-search-form:focus-within .tr-search-icon-wrap {
  color: var(--tr-primary);
}

.tr-header-search-input {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  color: var(--tr-text-primary) !important;
  font-family: var(--tr-font-sans);
  font-size: 13px !important;
  font-weight: 500;
  width: 140px;
  padding: 0 !important;
  margin: 0 !important;
  line-height: normal;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-appearance: none;
}

.tr-header-search-input::-webkit-search-decoration,
.tr-header-search-input::-webkit-search-cancel-button,
.tr-header-search-input::-webkit-search-results-button,
.tr-header-search-input::-webkit-search-results-decoration {
  display: none;
}

.tr-header-search-input::placeholder {
  color: var(--tr-text-subtle);
  font-weight: 400;
  opacity: 0.85;
}

.tr-header-search-input:focus {
  width: 200px;
}

.tr-search-clear-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  padding: 0;
  margin: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tr-text-muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  flex-shrink: 0;
}

.tr-search-clear-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.tr-search-kbd-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--tr-text-subtle);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 2px 6px;
  margin-left: 8px;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.15s ease;
  white-space: nowrap !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  box-sizing: border-box;
  line-height: 1;
  flex-shrink: 0;
}

[data-theme="light"] .tr-search-kbd-badge {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

.tr-search-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-top-color: var(--tr-primary);
  border-radius: 50%;
  animation: trSpin 0.7s linear infinite;
  margin-left: 6px;
  flex-shrink: 0;
}

@keyframes trSpin {
  to { transform: rotate(360deg); }
}

/* AJAX Floating Dropdown Results */
.tr-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 380px;
  max-width: 90vw;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
  z-index: 1001;
  overflow: hidden;
  animation: trDropdownFade 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .tr-search-dropdown {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
}

@keyframes trDropdownFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tr-search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-bottom: 1px solid var(--tr-border);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tr-text-muted);
  background: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .tr-search-results-header {
  background: rgba(0, 0, 0, 0.02);
}

.tr-search-count-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--tr-radius-pill);
  background: rgba(59, 130, 246, 0.15);
  color: var(--tr-primary);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tr-search-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 6px;
  scrollbar-width: thin;
}

.tr-search-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}

.tr-search-item:hover,
.tr-search-item.is-selected {
  background: rgba(59, 130, 246, 0.12);
}

[data-theme="light"] .tr-search-item:hover,
[data-theme="light"] .tr-search-item.is-selected {
  background: rgba(59, 130, 246, 0.08);
}

.tr-search-item-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
}

.tr-search-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tr-search-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(139, 92, 246, 0.18));
  color: var(--tr-primary);
}

.tr-search-item-info {
  flex: 1;
  min-width: 0;
}

.tr-search-item-meta {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tr-primary);
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tr-search-item-date {
  color: var(--tr-text-muted);
  font-weight: 400;
  text-transform: none;
}

.tr-search-item-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--tr-text-primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tr-search-highlight {
  background: rgba(59, 130, 246, 0.25);
  color: #60a5fa;
  border-radius: 2px;
  padding: 0 2px;
  font-weight: 700;
}

[data-theme="light"] .tr-search-highlight {
  background: rgba(59, 130, 246, 0.18);
  color: var(--tr-primary);
}

.tr-search-item-arrow {
  color: var(--tr-text-muted);
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.tr-search-item:hover .tr-search-item-arrow,
.tr-search-item.is-selected .tr-search-item-arrow {
  opacity: 1;
  transform: translateX(2px);
  color: var(--tr-primary);
}

.tr-search-results-footer {
  padding: 9px 14px;
  border-top: 1px solid var(--tr-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  background: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .tr-search-results-footer {
  background: rgba(0, 0, 0, 0.02);
}

.tr-search-view-all {
  color: var(--tr-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.tr-search-view-all:hover {
  text-decoration: underline;
}

.tr-search-kbd-hint {
  color: var(--tr-text-muted);
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
}

.tr-search-kbd-hint kbd {
  padding: 1px 4px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: inherit;
  font-size: 9px;
  color: var(--tr-text-muted);
}

[data-theme="light"] .tr-search-kbd-hint kbd {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

.tr-search-empty {
  padding: 24px 16px;
  text-align: center;
  color: var(--tr-text-secondary);
}

.tr-search-empty-icon {
  margin-bottom: 8px;
  color: var(--tr-text-muted);
  display: inline-flex;
}

.tr-search-empty-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--tr-text-primary);
  margin-bottom: 4px;
}

.tr-search-empty-desc {
  font-size: 12px;
  color: var(--tr-text-muted);
  margin-bottom: 12px;
}

.tr-search-quick-tags {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tr-search-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--tr-radius-pill);
  background: rgba(59, 130, 246, 0.1);
  color: var(--tr-primary);
  border: 1px solid rgba(59, 130, 246, 0.25);
  text-decoration: none;
  transition: all 0.15s ease;
}

.tr-search-tag:hover {
  background: var(--tr-primary);
  color: #ffffff;
}

.tr-btn-subscribe-pill {
  background: var(--tr-primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: var(--tr-radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px var(--tr-primary-glow);
  transition: var(--tr-transition);
}

.tr-btn-subscribe-pill:hover {
  background: var(--tr-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px var(--tr-primary-glow);
  color: #ffffff;
}

/* 4. Common Elements: Breadcrumbs, Eyebrows & Buttons */
.tr-breadcrumbs {
  padding: 24px 0 16px;
  font-size: 12px;
  color: var(--tr-text-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tr-breadcrumbs a {
  color: var(--tr-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.tr-breadcrumbs a:hover {
  color: var(--tr-primary);
}

.tr-bc-sep {
  color: var(--tr-border);
}

.tr-bc-current {
  color: var(--tr-text-primary);
  font-weight: 600;
}

.tr-bar-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tr-primary);
  display: block;
  margin-bottom: 8px;
}

.tr-btn-primary {
  background: var(--tr-primary);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--tr-radius-pill);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px var(--tr-primary-glow);
  border: none;
  cursor: pointer;
  transition: var(--tr-transition);
}

.tr-btn-primary:hover {
  background: var(--tr-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--tr-primary-glow);
  color: #ffffff;
}

.tr-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--tr-text-primary);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--tr-radius-pill);
  border: 1px solid var(--tr-border);
  text-decoration: none;
  transition: var(--tr-transition);
}

[data-theme="light"] .tr-btn-secondary {
  background: #ffffff;
}

.tr-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--tr-border-highlight);
}

/* 5. SINGLE ARTICLE PAGE STYLING */
.tr-article-layout-wrap {
  padding-bottom: 70px;
}

.tr-article-header {
  padding: 8px 0 24px;
}

.tr-cat-pill {
  display: inline-block;
  background: rgba(59, 130, 246, 0.15);
  color: var(--tr-primary);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 14px;
}

.tr-article-title {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--tr-text-primary);
  margin: 0 0 16px;
  max-width: 900px;
}

.tr-article-deck {
  font-size: 18px;
  line-height: 1.6;
  color: var(--tr-text-muted);
  max-width: 820px;
  margin: 0 0 24px;
}

.tr-article-byline-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--tr-border);
  border-bottom: 1px solid var(--tr-border);
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.tr-byline-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tr-byline-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--tr-border);
}

.tr-byline-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--tr-text-primary);
}

.tr-byline-date-row {
  font-size: 12px;
  color: var(--tr-text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tr-byline-dot {
  color: var(--tr-text-subtle);
}

.tr-share-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tr-share-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--tr-text-muted);
  margin-right: 4px;
}

.tr-share-btn {
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  color: var(--tr-text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: var(--tr-transition);
}

.tr-share-btn:hover {
  background: var(--tr-primary);
  border-color: var(--tr-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Featured Article Image */
.tr-article-lead-media {
  width: 100%;
  max-height: 520px;
  aspect-ratio: 16 / 9;
  border-radius: var(--tr-radius-md);
  border: 1px solid var(--tr-border);
  overflow: hidden;
  margin-bottom: 44px;
  background: var(--tr-bg-surface);
}

.tr-lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Article Main Grid (Content + Sidebar) */
.tr-article-main-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.tr-article-body-col {
  min-width: 0;
}

/* Article Typography (Prose) */
.tr-article-prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--tr-text-secondary);
}

.tr-article-prose p {
  margin: 0 0 24px;
}

.tr-article-prose h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tr-text-primary);
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tr-border);
}

.tr-article-prose h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--tr-text-primary);
  margin: 36px 0 14px;
}

.tr-article-prose h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--tr-text-primary);
  margin: 28px 0 12px;
}

.tr-article-prose ul,
.tr-article-prose ol {
  margin: 0 0 24px;
  padding-left: 28px;
}

.tr-article-prose li {
  margin-bottom: 8px;
}

.tr-article-prose a {
  color: var(--tr-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.tr-article-prose a:hover {
  color: var(--tr-primary-hover);
}

.tr-article-prose blockquote {
  background: var(--tr-blockquote-bg);
  border-left: 3px solid var(--tr-primary);
  margin: 32px 0;
  padding: 18px 24px;
  border-radius: 0 var(--tr-radius-sm) var(--tr-radius-sm) 0;
  font-style: italic;
  color: var(--tr-text-primary);
}

.tr-article-prose pre {
  background: var(--tr-code-bg);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius-md);
  padding: 20px;
  overflow-x: auto;
  margin: 28px 0;
}

.tr-article-prose code {
  background: var(--tr-code-bg);
  color: var(--tr-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 14px;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--tr-border-subtle);
}

.tr-article-prose pre code {
  color: var(--tr-code-text);
  background: transparent;
  border: none;
  padding: 0;
  font-size: 13px;
  line-height: 1.6;
}

.tr-article-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
}

.tr-article-prose th,
.tr-article-prose td {
  padding: 12px 16px;
  border: 1px solid var(--tr-border);
  text-align: left;
}

.tr-article-prose th {
  background: var(--tr-bg-surface);
  font-weight: 700;
  color: var(--tr-text-primary);
}

.tr-article-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--tr-radius-md);
  border: 1px solid var(--tr-border);
  margin: 24px 0;
}

/* Article Tags */
.tr-article-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 40px 0 32px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--tr-border);
}

.tr-tags-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--tr-text-muted);
}

.tr-tag-pill {
  font-size: 12px;
  font-weight: 600;
  color: var(--tr-text-secondary);
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  padding: 3px 10px;
  border-radius: var(--tr-radius-pill);
  text-decoration: none;
  transition: var(--tr-transition);
}

.tr-tag-pill:hover {
  border-color: var(--tr-primary);
  color: var(--tr-primary);
}

/* Author Bio Card */
.tr-author-bio-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  padding: 24px;
  border-radius: var(--tr-radius-md);
  margin: 36px 0;
}

.tr-bio-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.tr-bio-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tr-primary);
}

.tr-bio-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--tr-text-primary);
  margin: 2px 0 6px;
}

.tr-bio-desc {
  font-size: 13px;
  color: var(--tr-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* Post Navigation (Prev / Next) */
.tr-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
  padding: 24px 0;
  border-top: 1px solid var(--tr-border);
  border-bottom: 1px solid var(--tr-border);
}

.tr-nav-prev,
.tr-nav-next {
  display: flex;
  flex-direction: column;
}

.tr-nav-next {
  text-align: right;
  align-items: flex-end;
}

.tr-nav-dir {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tr-primary);
  margin-bottom: 4px;
}

.tr-nav-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--tr-text-primary);
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s ease;
}

.tr-nav-link:hover {
  color: var(--tr-primary);
}

/* Article Sidebar */
.tr-article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tr-sidebar-widget {
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius-md);
  padding: 24px;
}

.tr-widget-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tr-text-primary);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tr-border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tr-sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tr-sb-post-item {
  border-bottom: 1px solid var(--tr-border-subtle);
  padding-bottom: 12px;
}

.tr-sb-post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tr-sb-post-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
}

.tr-sb-post-title a {
  color: var(--tr-text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.tr-sb-post-title a:hover {
  color: var(--tr-primary);
}

.tr-sb-post-date {
  font-size: 11px;
  color: var(--tr-text-subtle);
}

.tr-widget-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tr-widget-cat-list li {
  margin-bottom: 8px;
}

.tr-widget-cat-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--tr-text-secondary);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid var(--tr-border-subtle);
  transition: color 0.15s ease;
}

.tr-widget-cat-list a:hover {
  color: var(--tr-primary);
}

.tr-cat-count {
  font-size: 12px;
  color: var(--tr-text-subtle);
}

/* Related Section */
.tr-related-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--tr-border);
}

/* 6. CATEGORY & ARCHIVE PAGE STYLING */
.tr-archive-layout-wrap {
  padding-bottom: 70px;
}

.tr-archive-hero {
  padding: 20px 0 32px;
  border-bottom: 1px solid var(--tr-border);
  margin-bottom: 28px;
}

.tr-archive-heading {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--tr-text-primary);
  margin: 0 0 10px;
}

.tr-archive-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--tr-text-muted);
  max-width: 720px;
  margin: 0;
}

.tr-cat-filter-strip {
  margin-bottom: 36px;
}

.tr-cat-pill-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tr-filter-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--tr-text-secondary);
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  padding: 6px 14px;
  border-radius: var(--tr-radius-pill);
  text-decoration: none;
  transition: var(--tr-transition);
}

.tr-filter-btn:hover,
.tr-filter-btn.is-active {
  background: var(--tr-primary);
  color: #ffffff;
  border-color: var(--tr-primary);
  box-shadow: 0 2px 8px var(--tr-primary-glow);
}

.tr-archive-main {
  position: relative;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
  min-height: 300px;
}

.tr-archive-main.is-loading {
  opacity: 0.35;
  filter: blur(1.5px);
  pointer-events: none;
}

.tr-pagination-wrap {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.tr-pagination-wrap .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tr-pagination-wrap .page-numbers {
  font-size: 13px;
  font-weight: 700;
  color: var(--tr-text-secondary);
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  padding: 8px 14px;
  border-radius: var(--tr-radius-sm);
  text-decoration: none;
  transition: var(--tr-transition);
}

.tr-pagination-wrap .page-numbers.current,
.tr-pagination-wrap .page-numbers:hover {
  background: var(--tr-primary);
  color: #ffffff;
  border-color: var(--tr-primary);
}

/* Empty State Box */
.tr-empty-state-box {
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius-md);
  padding: 56px 32px;
  text-align: center;
  max-width: 600px;
  margin: 40px auto;
}

.tr-empty-icon {
  font-size: 36px;
  color: var(--tr-text-subtle);
  margin-bottom: 16px;
}

.tr-empty-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--tr-text-primary);
  margin: 0 0 10px;
}

.tr-empty-desc {
  font-size: 14px;
  color: var(--tr-text-muted);
  line-height: 1.6;
  margin: 0 0 24px;
}

/* 7. STATIC PAGES (ABOUT, CONTACT, LEGAL) */
.tr-static-page-wrap {
  padding-bottom: 70px;
}

.tr-page-header {
  padding: 16px 0 32px;
  border-bottom: 1px solid var(--tr-border);
  margin-bottom: 36px;
}

.tr-page-title {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--tr-text-primary);
  margin: 0;
}

.tr-page-main-content {
  max-width: 860px;
}

.tr-page-prose {
  font-size: 16px;
  line-height: 1.75;
  color: var(--tr-text-secondary);
}

.tr-page-prose .tr-lead-p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--tr-text-primary);
  margin-bottom: 28px;
}

.tr-page-prose h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--tr-text-primary);
  margin: 36px 0 14px;
}

.tr-page-prose h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--tr-text-primary);
  margin: 24px 0 10px;
}

.tr-page-prose ul,
.tr-page-prose ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.tr-page-prose li {
  margin-bottom: 8px;
}

.tr-page-prose a {
  color: var(--tr-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tr-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.tr-contact-box {
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius-md);
  padding: 24px;
}

.tr-contact-box h3 {
  margin-top: 0;
}

.tr-contact-email {
  font-size: 15px;
  font-weight: 700;
  color: var(--tr-primary);
  text-decoration: none !important;
}

/* 8. SEARCH RESULTS PAGE */
.tr-search-page-wrap {
  padding-bottom: 70px;
}

.tr-search-hero {
  padding: 20px 0 32px;
  border-bottom: 1px solid var(--tr-border);
  margin-bottom: 36px;
}

.tr-search-heading {
  font-size: 34px;
  font-weight: 900;
  color: var(--tr-text-primary);
  margin: 0 0 6px;
}

.tr-search-keyword {
  color: var(--tr-primary);
}

.tr-search-count {
  font-size: 13px;
  color: var(--tr-text-muted);
  margin: 0 0 24px;
}

.tr-search-bar-inline {
  display: flex;
  gap: 10px;
  max-width: 520px;
}

.tr-search-input-lg {
  flex-grow: 1;
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  color: var(--tr-text-primary);
  padding: 11px 16px;
  border-radius: var(--tr-radius-pill);
  font-size: 14px;
  outline: none;
}

.tr-search-input-lg:focus {
  border-color: var(--tr-primary);
}

/* 9. 404 PAGE */
.tr-404-wrap {
  padding: 80px 0;
}

.tr-404-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  padding: 56px 40px;
  border-radius: var(--tr-radius-lg);
}

.tr-404-code {
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--tr-primary);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}

.tr-404-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--tr-text-primary);
  margin: 0 0 12px;
}

.tr-404-desc {
  font-size: 15px;
  color: var(--tr-text-muted);
  line-height: 1.6;
  margin: 0 0 28px;
}

.tr-404-box .tr-search-bar-inline {
  margin: 0 auto 28px;
}

.tr-404-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
}

/* 10. HOMEPAGE HERO, TOPICS, FEATURED, LATEST & NEWSLETTER (PRESERVED 1:1) */
.tr-hero {
  position: relative;
  padding: 64px 0 76px;
  background: var(--tr-hero-glow);
  border-bottom: 1px solid var(--tr-border);
  overflow: hidden;
}

.tr-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.tr-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--tr-primary);
  margin-bottom: 16px;
}

.tr-slash {
  color: var(--tr-text-subtle);
}

.tr-hero-heading {
  font-size: 46px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--tr-text-primary);
  margin: 0 0 18px;
}

.tr-gradient-text {
  background: linear-gradient(135deg, var(--tr-primary) 0%, var(--tr-indigo) 50%, var(--tr-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tr-hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--tr-text-muted);
  max-width: 520px;
  margin: 0 0 28px;
}

.tr-hero-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tr-hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 1px solid var(--tr-border);
  padding-top: 24px;
}

.tr-feature-pill {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tr-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--tr-radius-sm);
  background: rgba(59, 130, 246, 0.12);
  color: var(--tr-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tr-feature-text {
  display: flex;
  flex-direction: column;
}

.tr-feature-text strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--tr-text-primary);
}

.tr-feature-text span {
  font-size: 11px;
  color: var(--tr-text-muted);
}

.tr-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.tr-hero-visual-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: var(--tr-radius-md);
  border: 1px solid var(--tr-border);
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4), 0 0 30px var(--tr-primary-glow);
  background: var(--tr-bg-surface);
}

.tr-hero-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.tr-hero-visual-frame:hover .tr-hero-mockup-img {
  transform: scale(1.02);
}

.tr-hero-overlay-card {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--tr-bg-glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius-sm);
  padding: 14px 18px;
}

.tr-screen-brand {
  font-size: 16px;
  font-weight: 900;
  color: var(--tr-text-primary);
  letter-spacing: -0.02em;
}

.tr-screen-sub {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--tr-primary);
  margin-bottom: 2px;
}

.tr-screen-msg {
  font-size: 12px;
  color: var(--tr-text-secondary);
  margin: 0;
}

.tr-hero-slider-nums {
  position: absolute;
  right: -24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--tr-text-subtle);
}

.tr-hero-slider-nums span.active {
  color: var(--tr-primary);
}

.tr-hero-floating-tags {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.tr-hero-floating-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--tr-text-muted);
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  padding: 3px 10px;
  border-radius: var(--tr-radius-pill);
}

.tr-scroll-explore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--tr-text-subtle);
  text-decoration: none;
  margin-top: 16px;
  transition: color 0.15s ease;
}

.tr-scroll-explore:hover {
  color: var(--tr-primary);
}

/* Topic Section */
.tr-topics-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--tr-border);
}

.tr-section-heading-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}

.tr-section-main-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tr-text-primary);
  margin: 0;
}

.tr-link-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--tr-primary);
  text-decoration: none;
  transition: var(--tr-transition);
}

.tr-link-more:hover {
  color: var(--tr-primary-hover);
  transform: translateX(2px);
}

.tr-topics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tr-topic-card {
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--tr-transition);
}

.tr-topic-card:hover {
  transform: translateY(-4px);
  border-color: var(--tr-border-highlight);
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, 0.3), 0 0 16px var(--tr-primary-glow);
}

.tr-topic-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tr-bg-card-alt);
}

.tr-topic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.tr-topic-card:hover .tr-topic-media img {
  transform: scale(1.05);
}

.tr-topic-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tr-topic-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.tr-topic-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.tr-topic-title a {
  color: var(--tr-text-primary);
  text-decoration: none;
}

.tr-topic-title a:hover {
  color: var(--tr-primary);
}

.tr-topic-arrow {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--tr-border);
  color: var(--tr-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--tr-transition);
}

.tr-topic-card:hover .tr-topic-arrow {
  background: var(--tr-primary);
  border-color: var(--tr-primary);
  color: #ffffff;
}

.tr-topic-desc {
  font-size: 11px;
  line-height: 1.45;
  color: var(--tr-text-muted);
  margin: 0;
}

/* Featured & Trending Section */
.tr-featured-trending-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--tr-border);
}

.tr-ft-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 36px;
}

.tr-ft-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.tr-carousel-arrows {
  display: flex;
  gap: 6px;
}

.tr-arrow-btn {
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  color: var(--tr-text-muted);
  width: 28px;
  height: 28px;
  border-radius: var(--tr-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--tr-transition);
}

.tr-arrow-btn:hover {
  border-color: var(--tr-border-highlight);
  color: var(--tr-text-primary);
}

.tr-featured-card {
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  transition: var(--tr-transition);
}

.tr-featured-card:hover {
  border-color: var(--tr-border-highlight);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.4), 0 0 20px var(--tr-primary-glow);
}

.tr-featured-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tr-card-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(59, 130, 246, 0.15);
  color: var(--tr-primary);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.tr-featured-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.tr-featured-title a {
  color: var(--tr-text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.tr-featured-title a:hover {
  color: var(--tr-primary);
}

.tr-featured-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--tr-text-muted);
  margin: 0 0 20px;
}

.tr-read-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--tr-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  transition: var(--tr-transition);
}

.tr-read-link:hover {
  gap: 10px;
  color: var(--tr-primary-hover);
}

.tr-card-author-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--tr-text-subtle);
  border-top: 1px solid var(--tr-border);
  padding-top: 14px;
}

.tr-author-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.tr-featured-media {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: var(--tr-bg-card-alt);
}

.tr-featured-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.tr-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tr-trending-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--tr-text-primary);
}

.tr-fire-icon {
  color: #f97316;
}

.tr-trending-list {
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}

.tr-trending-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--tr-border);
}

.tr-trending-row:first-child {
  padding-top: 0;
}

.tr-trending-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.tr-trending-index {
  font-size: 14px;
  font-weight: 800;
  color: var(--tr-primary);
  min-width: 22px;
}

.tr-trending-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--tr-radius-sm);
  overflow: hidden;
  background: var(--tr-bg-card-alt);
  flex-shrink: 0;
}

.tr-trending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tr-trending-details {
  flex-grow: 1;
}

.tr-trending-item-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
}

.tr-trending-item-title a {
  color: var(--tr-text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.tr-trending-item-title a:hover {
  color: var(--tr-primary);
}

.tr-trending-time {
  font-size: 11px;
  color: var(--tr-text-subtle);
}

/* Latest Articles Grid */
.tr-latest-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--tr-border);
}

.tr-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.tr-latest-card {
  background: var(--tr-bg-surface);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--tr-transition);
}

.tr-latest-card:hover {
  transform: translateY(-4px);
  border-color: var(--tr-border-highlight);
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.3);
}

.tr-latest-media {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tr-bg-card-alt);
}

.tr-latest-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.tr-latest-card:hover .tr-latest-media img {
  transform: scale(1.03);
}

.tr-latest-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tr-category-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--tr-primary);
  margin-bottom: 8px;
}

.tr-latest-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 10px;
}

.tr-latest-title a {
  color: var(--tr-text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.tr-latest-title a:hover {
  color: var(--tr-primary);
}

.tr-latest-excerpt {
  font-size: 13px;
  line-height: 1.55;
  color: var(--tr-text-muted);
  margin: 0 0 16px;
  flex-grow: 1;
}

.tr-latest-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--tr-text-subtle);
  border-top: 1px solid var(--tr-border);
  padding-top: 12px;
}

.tr-author-img-sm {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* Newsletter Section */
.tr-newsletter-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--tr-border);
}

.tr-newsletter-box {
  background: var(--tr-nl-gradient);
  border: 1px solid var(--tr-border-highlight);
  border-radius: var(--tr-radius-lg);
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4), 0 0 30px var(--tr-primary-glow);
}

.tr-stay-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--tr-primary);
  margin-bottom: 8px;
  display: block;
}

.tr-newsletter-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin: 0 0 10px;
}

.tr-newsletter-sub {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

.tr-nl-form {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}

.tr-nl-input {
  flex-grow: 1;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--tr-border);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: var(--tr-radius-pill);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s ease;
}

.tr-nl-input:focus {
  border-color: var(--tr-primary);
}

.tr-nl-subtext {
  font-size: 11px;
  color: #94a3b8;
}

/* Footer */
.tr-footer {
  background: var(--tr-footer-bg);
  padding: 60px 0 32px;
}

.tr-footer-top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 48px;
}

.tr-footer-brand-wrap {
  margin-bottom: 14px;
}

.tr-footer-brand-wrap .tr-brand-logo {
  display: inline-flex;
}

.tr-footer-brand-wrap .tr-brand-name {
  color: #ffffff !important;
}

.tr-footer-brand-wrap .tr-brand-mark-bg {
  fill: #0b0f19 !important;
  stroke: rgba(99, 102, 241, 0.35) !important;
}

.tr-footer-logo {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--tr-text-primary);
  margin-bottom: 12px;
}

[data-theme="light"] .tr-footer-logo {
  color: #ffffff;
}

.tr-footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--tr-text-muted);
  margin: 0 0 18px;
  max-width: 320px;
}

.tr-footer-socials {
  display: flex;
  gap: 12px;
}

.tr-footer-socials a {
  color: var(--tr-text-subtle);
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}

.tr-footer-socials a:hover {
  color: var(--tr-text-primary);
}

.tr-footer-heading {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 16px;
}

.tr-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tr-footer-links li {
  margin-bottom: 10px;
}

.tr-footer-links a {
  font-size: 13px;
  color: var(--tr-text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.tr-footer-links a:hover {
  color: var(--tr-primary);
}

.tr-footer-globe-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--tr-border);
  border-radius: var(--tr-radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  align-self: start;
}

.tr-globe-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.tr-globe-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tr-globe-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.4;
}

.tr-globe-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--tr-primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 14px;
  flex-shrink: 0;
  transition: var(--tr-transition);
}

.tr-globe-arrow:hover {
  background: var(--tr-primary-hover);
  transform: scale(1.08);
}

.tr-footer-bottom {
  border-top: 1px solid var(--tr-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--tr-text-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   ABOUT PAGE STYLES (Matches Trigun Premium Editorial Reference)
   ========================================================================== */
.tr-about-page-wrap {
  padding: 24px 0 60px;
}

.tr-about-eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.tr-about-eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #818cf8;
  display: inline-block;
}

.tr-eyebrow-accent-line {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #818cf8, transparent);
  display: inline-block;
  border-radius: 2px;
}

/* About Hero Grid */
.tr-about-hero-section {
  margin: 12px 0 48px;
}

.tr-about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.tr-about-hero-title {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--tr-text-primary);
  margin: 14px 0 20px;
}

.tr-gradient-purple {
  background: linear-gradient(135deg, #60a5fa 0%, #a855f7 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tr-about-hero-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--tr-text-muted);
  margin: 0 0 32px;
  max-width: 480px;
}

.tr-about-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tr-btn-primary-purple {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--tr-radius-pill);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tr-btn-primary-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 26px rgba(139, 92, 246, 0.6);
  color: #ffffff !important;
}

.tr-btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--tr-text-primary) !important;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: var(--tr-radius-pill);
  text-decoration: none;
  transition: all 0.2s ease;
}

[data-theme="light"] .tr-btn-secondary-glass {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

.tr-btn-secondary-glass:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Hero Mockup Frame */
.tr-about-mockup-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
  background: #090d16;
}

.tr-about-mockup-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

.tr-mockup-screen-overlay {
  position: absolute;
  top: 14%;
  left: 20%;
  width: 58%;
  height: 54%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.tr-mockup-screen-inner {
  text-align: center;
  background: rgba(10, 15, 30, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 18px 24px;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.tr-screen-earth-glow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #60a5fa 20%, #3b82f6 60%, transparent 80%);
  margin: 0 auto 6px;
  box-shadow: 0 0 16px #60a5fa;
}

.tr-screen-brand-title {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.tr-screen-sub-badges {
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

.tr-mockup-topic-tags {
  position: absolute;
  top: 36%;
  right: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 3;
}

.tr-topic-pill-dark {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* 3. Four Core Pillars Feature Bar */
.tr-about-pillars-section {
  margin: 40px 0 60px;
}

.tr-about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 28px;
}

[data-theme="light"] .tr-about-pillars-grid {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.tr-pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tr-pillar-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tr-pillar-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.tr-pillar-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.tr-pillar-indigo {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.tr-pillar-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.tr-pillar-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--tr-text-primary);
  margin: 0 0 4px;
}

.tr-pillar-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--tr-text-muted);
  margin: 0;
}

/* 4. Why TRIGUN Exists Section */
.tr-about-purpose-section {
  margin: 64px 0;
}

.tr-about-purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.tr-about-section-heading {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tr-text-primary);
  margin: 10px 0 16px;
}

.tr-about-body-text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--tr-text-muted);
  margin: 0 0 28px;
}

.tr-about-mv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.tr-mv-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="light"] .tr-mv-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.tr-mv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5), 0 0 20px rgba(139, 92, 246, 0.15);
}

.tr-icon-glow-blue {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
}

.tr-icon-glow-purple {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.3);
}

.tr-mv-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--tr-text-primary);
  margin: 0 0 10px;
}

.tr-mv-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--tr-text-muted);
  margin: 0;
}

/* 5. Topics We Focus On (6-Card Grid) */
.tr-about-topics-section {
  margin: 64px 0;
}

.tr-about-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.tr-about-topics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.tr-about-topic-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="light"] .tr-about-topic-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.tr-about-topic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 14px 28px -6px rgba(0, 0, 0, 0.5), 0 0 16px rgba(59, 130, 246, 0.15);
}

.tr-about-topic-thumb {
  width: 100%;
  height: 110px;
  overflow: hidden;
}

.tr-about-topic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.tr-about-topic-card:hover .tr-about-topic-thumb img {
  transform: scale(1.06);
}

.tr-about-topic-content {
  padding: 14px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tr-topic-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.tr-about-topic-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--tr-text-primary);
  margin: 0;
  line-height: 1.3;
}

.tr-about-topic-arrow {
  font-size: 13px;
  color: var(--tr-text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.tr-about-topic-card:hover .tr-about-topic-arrow {
  color: var(--tr-primary);
  transform: translateX(3px);
}

.tr-about-topic-sub {
  font-size: 11px;
  line-height: 1.45;
  color: var(--tr-text-muted);
  margin: 0;
}

/* 6. How We Approach Content Section */
.tr-about-approach-section {
  margin: 64px 0;
}

.tr-about-approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 18px;
}

.tr-approach-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

[data-theme="light"] .tr-approach-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.tr-approach-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 14px 30px -6px rgba(0, 0, 0, 0.4);
}

.tr-approach-ai-card {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.7) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.15);
}

[data-theme="light"] .tr-approach-ai-card {
  background: linear-gradient(135deg, #f5f3ff 0%, #eff6ff 100%);
  border-color: rgba(168, 85, 247, 0.3);
}

.tr-approach-ai-card:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5), 0 0 28px rgba(168, 85, 247, 0.25);
}

.tr-approach-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.tr-icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.tr-icon-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.tr-icon-indigo {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.tr-icon-purple-glow {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.35);
}

.tr-approach-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tr-text-primary);
  margin: 0 0 8px;
}

.tr-approach-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--tr-text-muted);
  margin: 0;
}

/* 7. Editorial Standards Section */
.tr-about-standards-section {
  margin: 64px 0;
}

.tr-about-standards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.tr-standard-card {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

[data-theme="light"] .tr-standard-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
}

.tr-standard-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59, 130, 246, 0.3);
}

.tr-standard-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tr-std-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.tr-std-indigo {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
}

.tr-std-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
}

.tr-std-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.tr-standard-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--tr-text-primary);
  margin: 0 0 4px;
}

.tr-standard-desc {
  font-size: 11px;
  line-height: 1.5;
  color: var(--tr-text-muted);
  margin: 0;
}

/* 8. Our Story Section */
.tr-about-story-section {
  margin: 70px 0 48px;
}

.tr-about-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
}

.tr-story-img-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7);
  background: #090d16;
}

.tr-story-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.tr-story-earth-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--tr-radius-pill);
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.tr-story-earth-glow {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 10px #60a5fa;
}

.tr-screen-quote-text {
  font-size: 11px;
  color: #cbd5e1;
  font-style: italic;
  margin: 6px 0 0;
  line-height: 1.4;
}

/* 11. SCROLL REVEAL ANIMATIONS (IntersectionObserver) */
[data-tr-animate="fade-up"] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-tr-animate="fade-in"] {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

[data-tr-animate].tr-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.tr-stagger-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.tr-stagger-item.tr-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   12. Document Pages (Editorial Policy, Legal, etc.)
   ========================================================================== */
.tr-doc-page-wrap {
  padding: 36px 0 90px;
}

.tr-doc-article {
  max-width: 820px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 48px 52px;
  box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .tr-doc-article {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.tr-doc-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .tr-doc-header {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.tr-doc-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--tr-text-primary);
  margin: 0;
}

.tr-doc-body {
  color: var(--tr-text-secondary);
  font-size: 15.5px;
  line-height: 1.75;
}

.tr-doc-body h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--tr-text-primary);
  margin: 32px 0 14px;
}

.tr-doc-body p {
  margin: 0 0 16px;
}

.tr-doc-body p:last-child {
  margin-bottom: 0;
}

.tr-doc-body a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.tr-doc-body a:hover {
  color: #93c5fd;
}

[data-theme="light"] .tr-doc-body a {
  color: #2563eb;
}

[data-theme="light"] .tr-doc-body a:hover {
  color: #1d4ed8;
}

.tr-doc-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 30px 0;
}

[data-theme="light"] .tr-doc-divider {
  border-top-color: rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   14. Contact Page Styles (Matching Reference)
   ========================================================================== */
.tr-contact-page-wrap {
  padding: 24px 0 60px;
}

/* Hero Section */
.tr-contact-hero {
  margin-bottom: 30px;
}

.tr-contact-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.tr-contact-eyebrow-wrap {
  margin-bottom: 8px;
}

.tr-contact-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #60a5fa;
  text-transform: uppercase;
}

.tr-contact-hero-title {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--tr-text-primary);
  margin: 0 0 12px;
}

.tr-contact-hero-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--tr-text-muted);
  max-width: 560px;
  margin: 0;
}

/* Floating 3D Vector Visual Container */
.tr-contact-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.tr-contact-visual-glow {
  position: absolute;
  width: 240px;
  height: 180px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, rgba(168, 85, 247, 0.2) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.tr-contact-visual-art {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
}

.tr-hero-art-svg {
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.5));
}

/* Ambient Floating Animation */
.tr-art-float-1 {
  animation: trFloatSlow 5s ease-in-out infinite alternate;
}
.tr-art-float-2 {
  animation: trFloatSlow 6s ease-in-out 1s infinite alternate;
}
.tr-art-float-3 {
  animation: trFloatSlow 5.5s ease-in-out 0.5s infinite alternate;
}
.tr-art-plane {
  animation: trPlaneBob 4s ease-in-out infinite alternate;
}

@keyframes trFloatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

@keyframes trPlaneBob {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-6px) rotate(-2deg); }
}

/* Main 2-Column Grid (Form on Left + Channels on Right) */
.tr-contact-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}

.tr-contact-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 26px 28px 22px;
  box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .tr-contact-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.tr-contact-form-card {
  display: flex;
  flex-direction: column;
}

.tr-contact-info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tr-card-header {
  margin-bottom: 16px;
}

.tr-card-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--tr-text-primary);
  margin: 0 0 4px;
}

.tr-card-sub {
  font-size: 13px;
  color: var(--tr-text-muted);
  margin: 0;
}

/* Contact Form Elements - High Specificity to Prevent WP/Astra Overrides */
.tr-contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.tr-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.tr-form-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--tr-text-primary);
  margin: 0;
}

.tr-req {
  color: #f43f5e;
}

/* Form Inputs & Select - Rock-Solid Dark Surface Styling */
.tr-contact-form input[type="text"].tr-form-input,
.tr-contact-form input[type="email"].tr-form-input,
.tr-contact-form select.tr-form-select,
.tr-contact-form textarea.tr-form-textarea,
.tr-form-input,
.tr-form-select,
.tr-form-textarea {
  width: 100% !important;
  background: #090e1a !important;
  background-color: #090e1a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 9px 14px !important;
  font-size: 13.5px !important;
  color: #f8fafc !important;
  outline: none !important;
  font-family: inherit !important;
  line-height: 1.45 !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.tr-contact-form input[type="text"].tr-form-input,
.tr-contact-form input[type="email"].tr-form-input {
  height: 42px !important;
}

.tr-contact-form input[type="text"].tr-form-input::placeholder,
.tr-contact-form input[type="email"].tr-form-input::placeholder,
.tr-contact-form textarea.tr-form-textarea::placeholder,
.tr-form-input::placeholder,
.tr-form-textarea::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

.tr-contact-form input[type="text"].tr-form-input:focus,
.tr-contact-form input[type="email"].tr-form-input:focus,
.tr-contact-form select.tr-form-select:focus,
.tr-contact-form textarea.tr-form-textarea:focus,
.tr-form-input:focus,
.tr-form-select:focus,
.tr-form-textarea:focus {
  border-color: #6366f1 !important;
  background: #0d1527 !important;
  background-color: #0d1527 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25) !important;
  color: #ffffff !important;
}

[data-theme="light"] .tr-contact-form input[type="text"].tr-form-input,
[data-theme="light"] .tr-contact-form input[type="email"].tr-form-input,
[data-theme="light"] .tr-contact-form select.tr-form-select,
[data-theme="light"] .tr-contact-form textarea.tr-form-textarea,
[data-theme="light"] .tr-form-input,
[data-theme="light"] .tr-form-select,
[data-theme="light"] .tr-form-textarea {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.12) !important;
  color: #0f172a !important;
}

[data-theme="light"] .tr-contact-form input[type="text"].tr-form-input:focus,
[data-theme="light"] .tr-contact-form input[type="email"].tr-form-input:focus,
[data-theme="light"] .tr-contact-form select.tr-form-select:focus,
[data-theme="light"] .tr-contact-form textarea.tr-form-textarea:focus,
[data-theme="light"] .tr-form-input:focus,
[data-theme="light"] .tr-form-select:focus,
[data-theme="light"] .tr-form-textarea:focus {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #4f46e5 !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
  color: #0f172a !important;
}

.tr-select-wrap {
  position: relative;
  width: 100%;
}

.tr-form-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px !important;
  cursor: pointer;
  height: 42px !important;
}

.tr-form-select option {
  background: #0f172a;
  color: #ffffff;
}

[data-theme="light"] .tr-form-select option {
  background: #ffffff;
  color: #0f172a;
}

.tr-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--tr-text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.tr-form-textarea {
  resize: vertical;
  min-height: 90px !important;
  height: 90px !important;
}

.tr-counter-row {
  display: flex;
  justify-content: flex-end;
  margin-top: -2px;
}

.tr-char-counter {
  font-size: 11px;
  font-family: var(--tr-font-mono, monospace);
  color: var(--tr-text-muted);
}

/* Submit Button */
.tr-form-submit-row {
  margin-top: 2px;
}

.tr-btn-submit-contact {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 50%, #8b5cf6 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px -4px rgba(99, 102, 241, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tr-btn-submit-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -4px rgba(99, 102, 241, 0.6);
  filter: brightness(1.06);
}

.tr-btn-submit-contact:active {
  transform: translateY(0);
}

.tr-form-disclaimer {
  font-size: 11.5px;
  color: var(--tr-text-muted);
  text-align: center;
  margin: 4px 0 0;
}

.tr-form-disclaimer a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tr-form-feedback {
  margin-top: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.tr-feedback-success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}

[data-theme="light"] .tr-feedback-success {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.3);
  color: #065f46;
}

.tr-feedback-error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
}

[data-theme="light"] .tr-feedback-error {
  background: #fef2f2;
  border-color: rgba(239, 68, 68, 0.3);
  color: #991b1b;
}

.tr-spin {
  animation: trSpinAnim 1s linear infinite;
}

@keyframes trSpinAnim {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Global Toast Notifications */
.tr-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.tr-toast.tr-toast-show {
  opacity: 1;
  transform: translateY(0);
}

.tr-toast-success {
  background: #0f172a;
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.tr-toast-error {
  background: #0f172a;
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

[data-theme="light"] .tr-toast-success {
  background: #ecfdf5;
  color: #065f46;
  border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="light"] .tr-toast-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: rgba(239, 68, 68, 0.3);
}


/* Right Column: Other Ways to Contact */
.tr-channels-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex-grow: 1;
  margin-bottom: 18px;
}

.tr-channel-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tr-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tr-ch-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.15);
}

.tr-ch-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.15);
}

.tr-ch-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.15);
}

.tr-channel-content {
  flex: 1;
}

.tr-channel-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--tr-text-primary);
  margin: 0 0 2px;
}

.tr-channel-desc {
  font-size: 12px;
  line-height: 1.45;
  color: var(--tr-text-muted);
  margin: 0 0 3px;
}

.tr-channel-link {
  font-size: 12.5px;
  font-weight: 600;
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tr-channel-link:hover {
  color: #93c5fd;
}

/* Response Time Box */
.tr-response-time-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: auto;
}

[data-theme="light"] .tr-response-time-card {
  background: #eff6ff;
  border-color: rgba(59, 130, 246, 0.25);
}

.tr-response-icon {
  color: #60a5fa;
  flex-shrink: 0;
  margin-top: 1px;
}

.tr-response-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--tr-text-primary);
  margin: 0 0 3px;
}

.tr-response-desc {
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--tr-text-muted);
  margin: 0;
}

/* Common Reasons Section (Full Width Card) */
.tr-reasons-section {
  margin-top: 24px;
}

.tr-reasons-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 26px 28px 22px;
  box-shadow: 0 14px 36px -10px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .tr-reasons-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.tr-reasons-header {
  margin-bottom: 18px;
}

.tr-reasons-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--tr-text-primary);
  margin: 0 0 4px;
}

.tr-reasons-sub {
  font-size: 13px;
  color: var(--tr-text-muted);
  margin: 0;
}

.tr-reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tr-reason-col {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.tr-reason-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tr-r-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.tr-r-purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}

.tr-r-teal {
  background: rgba(20, 184, 166, 0.15);
  color: #2dd4bf;
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.tr-r-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.tr-reason-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--tr-text-primary);
  margin: 0 0 3px;
}

.tr-reason-desc {
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--tr-text-muted);
  margin: 0;
}

/* ==========================================================================
   15. HTML Sitemap Page Styles
   ========================================================================== */
.tr-sitemap-page-wrap {
  padding: 36px 0 80px;
}

.tr-sitemap-hero {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}

.tr-sitemap-hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--tr-text-primary);
  margin: 14px 0 16px;
}

.tr-sitemap-hero-desc {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--tr-text-muted);
  margin: 0;
}

.tr-sitemap-section {
  margin-bottom: 32px;
}

.tr-sitemap-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 34px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .tr-sitemap-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.tr-sitemap-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

[data-theme="light"] .tr-sitemap-card-header {
  border-bottom-color: rgba(0, 0, 0, 0.07);
}

.tr-sitemap-header-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tr-sitemap-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--tr-text-primary);
  margin: 0 0 3px;
}

.tr-sitemap-sub {
  font-size: 12.5px;
  color: var(--tr-text-muted);
}

.tr-sitemap-grid.tr-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tr-sitemap-grid.tr-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tr-sitemap-link-card {
  display: flex;
  flex-direction: column;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 18px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

[data-theme="light"] .tr-sitemap-link-card {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.06);
}

.tr-sitemap-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(15, 23, 42, 0.9);
}

[data-theme="light"] .tr-sitemap-link-card:hover {
  background: #ffffff;
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.tr-sm-link-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--tr-text-primary);
  margin-bottom: 2px;
}

.tr-sm-link-path {
  font-size: 11.5px;
  font-family: var(--tr-font-mono, monospace);
  color: #60a5fa;
}

.tr-sitemap-cat-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

[data-theme="light"] .tr-sitemap-cat-card {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.06);
}

.tr-sitemap-cat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.4);
  background: rgba(15, 23, 42, 0.9);
}

[data-theme="light"] .tr-sitemap-cat-card:hover {
  background: #ffffff;
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.tr-sm-cat-info {
  flex: 1;
}

.tr-sm-cat-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--tr-text-primary);
  margin: 0 0 2px;
}

.tr-sm-cat-desc {
  font-size: 12px;
  line-height: 1.45;
  color: var(--tr-text-muted);
  margin: 0;
}

.tr-sm-cat-count {
  font-size: 11.5px;
  font-weight: 700;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

[data-theme="light"] .tr-sm-cat-count {
  color: #7c3aed;
  background: #f5f3ff;
  border-color: rgba(168, 85, 247, 0.25);
}

/* Published Articles List */
.tr-sitemap-articles-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 6px;
}

.tr-sitemap-article-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 12px 18px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

[data-theme="light"] .tr-sitemap-article-item {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.05);
}

.tr-sitemap-article-item:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(59, 130, 246, 0.3);
}

[data-theme="light"] .tr-sitemap-article-item:hover {
  background: #ffffff;
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.tr-sm-art-main {
  flex: 1;
}

.tr-sm-art-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--tr-text-primary);
  text-decoration: none;
  line-height: 1.4;
  display: block;
  transition: color 0.15s ease;
}

.tr-sm-art-title:hover {
  color: #60a5fa;
}

.tr-sm-art-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--tr-text-muted);
  margin-top: 4px;
}

.tr-sm-art-cat {
  color: #a855f7;
  font-weight: 600;
}

[data-theme="light"] .tr-sm-art-cat {
  color: #7c3aed;
}

.tr-sm-art-dot {
  color: var(--tr-border);
}

.tr-sm-art-arrow {
  color: var(--tr-text-subtle);
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: color 0.15s, transform 0.15s;
}

.tr-sitemap-article-item:hover .tr-sm-art-arrow {
  color: #60a5fa;
  transform: translateX(3px);
}

.tr-sm-cat-view-link {
  font-size: 12px;
  font-weight: 700;
  color: #60a5fa;
  text-decoration: none;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 5px 12px;
  border-radius: var(--tr-radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.tr-sm-cat-view-link:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: #60a5fa;
  color: #93c5fd;
}

[data-theme="light"] .tr-sm-cat-view-link {
  color: #2563eb;
  background: #eff6ff;
  border-color: rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .tr-sm-cat-view-link:hover {
  background: #dbeafe;
  color: #1d4ed8;
}

.tr-sitemap-empty-cat {
  padding: 16px 18px;
  background: rgba(2, 6, 23, 0.3);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 10px;
}

[data-theme="light"] .tr-sitemap-empty-cat {
  background: #f8fafc;
  border-color: rgba(0, 0, 0, 0.08);
}


/* 13. RESPONSIVE BREAKPOINTS (Desktop 1440px+, Tablet 768-1024px, Mobile <768px) */
@media (max-width: 1200px) {
  .tr-topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tr-footer-top {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .tr-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tr-hero-visual {
    align-items: center;
  }
  .tr-ft-grid {
    grid-template-columns: 1fr;
  }
  .tr-featured-card {
    grid-template-columns: 1fr;
  }
  .tr-article-main-grid {
    grid-template-columns: 1fr;
  }
  .tr-article-title {
    font-size: 32px;
  }
  .tr-latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tr-newsletter-box {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px;
  }
  .tr-about-hero-grid,
  .tr-about-purpose-grid,
  .tr-about-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .tr-about-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px 24px;
  }
  .tr-about-topics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tr-about-approach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tr-about-standards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tr-doc-article {
    padding: 40px 36px;
  }
  .tr-contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tr-contact-main-grid {
    grid-template-columns: 1fr;
  }
  .tr-reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tr-sitemap-grid.tr-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .tr-footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .tr-header-inner {
    gap: 16px;
  }
  .tr-logo-wrap {
    margin-right: 16px;
  }
  .tr-nav-list {
    gap: 14px;
  }
  .tr-nav-list li a {
    font-size: 12.5px;
  }
  .tr-btn-subscribe-pill {
    display: none;
  }
}

@media (max-width: 900px) {
  .tr-nav#tr-desktop-nav {
    display: none !important;
  }
  .tr-mobile-menu-btn {
    display: flex !important;
  }
  .tr-logo-wrap {
    margin-right: 0;
  }
  .tr-header-actions {
    margin-left: auto;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .tr-util-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .tr-header-inner {
    height: 60px;
    padding: 0 16px;
    justify-content: space-between;
    gap: 8px;
  }
  .tr-brand-icon-wrap {
    width: 28px;
    height: 28px;
  }
  .tr-brand-text {
    font-size: 18px;
  }
  .tr-header-actions {
    gap: 8px;
  }
  .tr-header-search {
    max-width: 160px;
  }
  .tr-header-search-form {
    width: 100%;
  }
  .tr-header-search-input {
    width: 100% !important;
    font-size: 12px;
    padding: 6px 10px 6px 30px;
  }
  .tr-search-kbd-badge {
    display: none !important;
  }
  .tr-search-dropdown {
    position: fixed;
    top: 100px;
    left: 12px;
    right: 12px;
    width: calc(100% - 24px);
    max-width: none;
  }
  .tr-hero-heading {
    font-size: 32px;
  }
  .tr-hero-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .tr-topics-grid {
    grid-template-columns: 1fr;
  }
  .tr-latest-grid {
    grid-template-columns: 1fr;
  }
  .tr-article-title {
    font-size: 26px;
  }
  .tr-article-deck {
    font-size: 16px;
  }
  .tr-archive-heading,
  .tr-page-title,
  .tr-search-heading {
    font-size: 28px;
  }
  .tr-about-hero-title {
    font-size: 32px;
  }
  .tr-about-pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 18px;
  }
  .tr-about-mv-cards {
    grid-template-columns: 1fr;
  }
  .tr-about-topics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .tr-about-approach-grid {
    grid-template-columns: 1fr;
  }
  .tr-about-standards-grid {
    grid-template-columns: 1fr;
  }
  .tr-about-mockup-img,
  .tr-story-img {
    height: 260px;
  }
  .tr-story-earth-badge {
    left: 12px;
    bottom: 12px;
    padding: 5px 12px;
  }
  .tr-contact-hero-title {
    font-size: 32px;
  }
  .tr-sitemap-hero-title {
    font-size: 30px;
  }
  .tr-sitemap-card {
    padding: 22px 18px;
    border-radius: 14px;
  }
  .tr-sitemap-card-header {
    flex-wrap: wrap;
    gap: 12px;
  }
  .tr-sitemap-grid.tr-grid-3,
  .tr-sitemap-grid.tr-grid-2 {
    grid-template-columns: 1fr;
  }
  .tr-sitemap-cat-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .tr-sitemap-article-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .tr-sm-art-arrow {
    display: none;
  }
  .tr-contact-card,
  .tr-reasons-card {
    padding: 24px 20px;
  }
  .tr-reasons-grid {
    grid-template-columns: 1fr;
  }
  .tr-post-navigation {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tr-nav-next {
    text-align: left;
    align-items: flex-start;
  }
  .tr-doc-article {
    padding: 26px 20px;
    border-radius: 14px;
  }
  .tr-doc-title {
    font-size: 28px;
  }
  .tr-doc-body h2 {
    font-size: 19px;
    margin-top: 24px;
    margin-bottom: 10px;
  }
  .tr-doc-body {
    font-size: 14.5px;
    line-height: 1.7;
  }
  .tr-doc-divider {
    margin: 22px 0;
  }
  .tr-nl-form {
    flex-direction: column;
  }
  .tr-search-bar-inline {
    flex-direction: column;
  }
  .tr-footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* 13. Accessibility Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  [data-tr-animate],
  .tr-stagger-item {
    opacity: 1 !important;
    transform: none !important;
  }
}
