/* ==========================================================================
   Helvetica Times — Main Stylesheet
   Swiss International Style · Precision Typography · Editorial Excellence
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;0,9..40,900;1,9..40,400;1,9..40,500&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */

:root {
  /* Light mode — warm parchment undertone */
  --background: 40 25% 97%;
  --foreground: 220 10% 8%;

  --card: 40 20% 96%;
  --card-foreground: 220 10% 8%;

  --popover: 40 25% 97%;
  --popover-foreground: 220 10% 8%;

  --primary: 220 10% 8%;
  --primary-foreground: 40 25% 97%;

  --secondary: 40 12% 93%;
  --secondary-foreground: 220 10% 8%;

  --muted: 40 8% 90%;
  --muted-foreground: 220 5% 46%;

  --accent: 0 82% 42%;
  --accent-foreground: 0 0% 100%;

  --destructive: 0 84% 60%;
  --destructive-foreground: 0 0% 100%;

  --border: 220 8% 12%;
  --input: 40 8% 88%;
  --ring: 220 10% 8%;

  --radius: 0px;

  /* Swiss Red — restrained, authoritative */
  --swiss-red: 0 82% 42%;
  --swiss-red-light: 0 72% 52%;
  --swiss-red-dark: 0 85% 34%;

  /* Surface elevation for layered UI */
  --surface-1: 40 20% 96%;
  --surface-2: 40 15% 93%;
  --surface-3: 40 10% 89%;
}

.dark {
  --background: 220 12% 7%;
  --foreground: 40 8% 92%;

  --card: 220 10% 10%;
  --card-foreground: 40 8% 92%;

  --popover: 220 10% 10%;
  --popover-foreground: 40 8% 92%;

  --primary: 40 8% 92%;
  --primary-foreground: 220 12% 7%;

  --secondary: 220 8% 13%;
  --secondary-foreground: 40 8% 92%;

  --muted: 220 6% 17%;
  --muted-foreground: 40 4% 56%;

  --accent: 0 78% 50%;
  --accent-foreground: 0 0% 100%;

  --border: 40 8% 92%;
  --input: 220 6% 20%;
  --ring: 40 8% 92%;

  --swiss-red: 0 78% 50%;
  --swiss-red-light: 0 70% 58%;
  --swiss-red-dark: 0 82% 40%;

  --surface-1: 220 10% 10%;
  --surface-2: 220 8% 14%;
  --surface-3: 220 6% 18%;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  border-color: hsl(var(--foreground) / 0.08);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-optical-sizing: auto;
  letter-spacing: -0.011em;
  line-height: 1.55;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

input, textarea {
  font: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

::selection {
  background-color: hsl(var(--swiss-red));
  color: white;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.font-editorial {
  font-family: 'Libre Baskerville', Georgia, serif;
  letter-spacing: -0.01em;
}

.text-display {
  font-size: 2.75rem;
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.text-display-sm {
  font-size: 1.875rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.text-headline {
  font-size: 1.375rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.text-headline-sm {
  font-size: 1.0625rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.text-body {
  font-size: 0.9375rem;
  line-height: 1.65;
  font-weight: 400;
}

.text-body-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  font-weight: 400;
}

.text-caption {
  font-size: 0.8125rem;
  line-height: 1.5;
  font-weight: 500;
}

.text-label {
  font-size: 0.6875rem;
  line-height: 1.4;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.text-micro {
  font-size: 0.625rem;
  line-height: 1.4;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }

/* ==========================================================================
   Colors (utility classes)
   ========================================================================== */

.text-swiss-red { color: hsl(var(--swiss-red)); }
.bg-swiss-red { background-color: hsl(var(--swiss-red)); }
.border-swiss-red { border-color: hsl(var(--swiss-red)); }

.bg-background { background-color: hsl(var(--background)); }
.text-foreground { color: hsl(var(--foreground)); }
.bg-foreground { background-color: hsl(var(--foreground)); }
.text-background { color: hsl(var(--background)); }

.bg-secondary { background-color: hsl(var(--secondary)); }
.text-secondary-foreground { color: hsl(var(--secondary-foreground)); }

.bg-muted { background-color: hsl(var(--muted)); }
.text-muted-foreground { color: hsl(var(--muted-foreground)); }

.bg-card { background-color: hsl(var(--card)); }
.text-card-foreground { color: hsl(var(--card-foreground)); }

/* ==========================================================================
   Component Classes
   ========================================================================== */

/* Swiss utilitarian rules */
.swiss-rule {
  border-top: 1px solid hsl(var(--foreground));
}

.swiss-rule-thin {
  border-top: 1px solid hsl(var(--foreground) / 0.15);
}

/* Category label — crisp Swiss typographic badge */
.category-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: hsl(var(--swiss-red));
  position: relative;
}

/* Timestamp — utilitarian precision */
.timestamp {
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: hsl(var(--muted-foreground));
}

/* Article link hover underline */
.article-link .article-title {
  position: relative;
  background-image: linear-gradient(hsl(var(--swiss-red)), hsl(var(--swiss-red)));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.article-link:hover .article-title {
  color: hsl(var(--swiss-red));
  background-size: 100% 1px;
}

/* Section header — bold Swiss divider treatment */
.section-header {
  position: relative;
  padding-bottom: 0.625rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid hsl(var(--foreground) / 0.06);
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background-color: hsl(var(--swiss-red));
}

/* Card — elevated with refined shadow */
.card-elevated {
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--foreground) / 0.06);
  box-shadow: 0 1px 2px rgba(0,0,0,0.03), 0 4px 16px rgba(0,0,0,0.04);
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
}

.card-elevated:hover {
  box-shadow: 0 2px 4px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  border-color: hsl(var(--foreground) / 0.1);
}

/* Subtle gradient overlay for images */
.img-gradient-overlay {
  position: relative;
  overflow: hidden;
}

.img-gradient-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0,0,0,0.05) 0%, transparent 30%);
}

/* Number badge — bold typographic marker */
.number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  font-size: 10px;
  font-weight: 800;
  background-color: hsl(var(--swiss-red));
  color: white;
  letter-spacing: -0.02em;
  position: relative;
}

.number-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  pointer-events: none;
}

/* Swiss button — confident, tactile */
.btn-swiss {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: hsl(var(--swiss-red));
  color: white;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-swiss::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.btn-swiss:hover {
  background-color: hsl(var(--swiss-red-dark));
  transform: translateY(-1px);
  box-shadow: 0 4px 16px hsl(var(--swiss-red) / 0.35);
}

/* Live indicator pulse */
.live-pulse {
  position: relative;
}

.live-pulse::before {
  content: '';
  position: absolute;
  left: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: hsl(var(--swiss-red));
  animation: pulse-live 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Divider dot */
.divider-dot {
  display: inline-block;
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background-color: hsl(var(--swiss-red));
  margin: 0 0.5rem;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

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

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-4 {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-balance {
  text-wrap: balance;
}

/* Smooth image zoom — cinematic timing */
.img-zoom {
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.group:hover .img-zoom {
  transform: scale(1.04);
}

/* Scrollbar hide */
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */

@keyframes pulse-live {
  0%, 100% { opacity: 1; transform: translateY(-50%) scale(1); }
  50% { opacity: 0.5; transform: translateY(-50%) scale(1.5); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes fade-in {
  0% { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-fast {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slide-up {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes scale-in {
  0% { opacity: 0; transform: scale(0.97); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes stagger-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slide-in-from-bottom {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

.marquee-smooth {
  animation: marquee 40s linear infinite;
}

.marquee-fast {
  animation: marquee 12s linear infinite;
}

@media (max-width: 640px) {
  .marquee-fast {
    animation: marquee 6s linear infinite;
  }
}

.animate-fade-in {
  animation: fade-in 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-fade-in-fast {
  animation: fade-in-fast 0.25s ease-out forwards;
}

.animate-slide-up {
  animation: slide-up 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-scale-in {
  animation: scale-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.animate-slide-in-bottom {
  animation: slide-in-from-bottom 0.5s ease-out forwards;
}

/* Stagger animation */
.stagger-fade > * {
  opacity: 0;
  animation: stagger-in 0.5s ease-out forwards;
}

.stagger-fade > *:nth-child(1) { animation-delay: 0ms; }
.stagger-fade > *:nth-child(2) { animation-delay: 80ms; }
.stagger-fade > *:nth-child(3) { animation-delay: 160ms; }
.stagger-fade > *:nth-child(4) { animation-delay: 240ms; }
.stagger-fade > *:nth-child(5) { animation-delay: 320ms; }

/* Ping animation for breaking news */
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ==========================================================================
   Article Content Typography
   ========================================================================== */

.article-content {
  color: hsl(var(--foreground));
}

.article-content p {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 16.5px;
  line-height: 1.85;
  margin-bottom: 1.625rem;
  letter-spacing: 0.005em;
}

.article-content p.lead {
  font-size: 1.25rem;
  line-height: 1.65;
  color: hsl(var(--foreground) / 0.8);
  font-weight: 300;
  margin-bottom: 2rem;
  border-left: 4px solid hsl(var(--swiss-red));
  padding-left: 1.5rem;
}

.article-content h2 {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .article-content h2 {
    font-size: 1.875rem;
  }
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background-color: hsl(var(--foreground) / 0.02);
  border-left: 3px solid hsl(var(--swiss-red));
}

.dark .article-content blockquote {
  background-color: hsl(var(--foreground) / 0.04);
}

.article-content blockquote p {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.65;
  color: hsl(var(--foreground) / 0.9);
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .article-content blockquote p {
    font-size: 1.5rem;
  }
}

.article-content blockquote cite {
  display: block;
  margin-top: 1rem;
  font-size: 13px;
  font-family: 'DM Sans', sans-serif;
  font-style: normal;
  font-weight: 600;
  color: hsl(var(--muted-foreground));
}

.article-content figure {
  margin: 2.5rem -1rem;
}

@media (min-width: 768px) {
  .article-content figure {
    margin-left: 0;
    margin-right: 0;
  }
}

.article-content figure img {
  width: 100%;
}

.article-content figure figcaption {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  margin-top: 0.75rem;
  padding: 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .article-content figure figcaption {
    padding: 0;
  }
}

.article-content ul,
.article-content ol {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 16.5px;
  line-height: 1.85;
  margin-bottom: 0.75rem;
}

.article-content a {
  color: hsl(var(--swiss-red));
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: text-decoration 0.2s;
}

.article-content a:hover {
  text-decoration: none;
}

.article-content strong {
  font-weight: 600;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  border-bottom: 1px solid hsl(var(--foreground));
}

/* Market ticker bar */
.market-ticker-bar {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--background) / 0.1);
}

.market-ticker-bar .live-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: hsl(var(--swiss-red));
}

.market-item-change--up { color: #4ade80; }
.market-item-change--down { color: #f87171; }

/* Masthead — editorial authority */
.masthead {
  padding: 0.875rem 0;
}

@media (min-width: 768px) {
  .masthead {
    padding: 1.125rem 0;
  }
}

.logo-icon {
  width: 2.125rem;
  height: 2.125rem;
  background-color: hsl(var(--swiss-red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 0.8125rem;
  letter-spacing: -0.03em;
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
  pointer-events: none;
}

@media (min-width: 768px) {
  .logo-icon {
    width: 2.375rem;
    height: 2.375rem;
    font-size: 0.9375rem;
  }
}

.logo-text {
  font-size: 1.0625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .logo-text {
    font-size: 1.1875rem;
    letter-spacing: 0.03em;
  }
}

.logo-link:hover .logo-text {
  color: hsl(var(--swiss-red));
}

.logo-tagline {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: hsl(var(--muted-foreground));
  margin-top: 2px;
  font-weight: 500;
}

/* Desktop nav — restrained Swiss typographic bar */
.desktop-nav {
  border-top: 1px solid hsl(var(--foreground));
}

.desktop-nav a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.625rem 0.875rem;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
  position: relative;
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background-color: hsl(var(--swiss-red));
  transform: scaleX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: left;
}

.desktop-nav a:hover {
  color: hsl(var(--swiss-red));
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.desktop-nav .nav-arrow {
  width: 0.75rem;
  height: 0.75rem;
  opacity: 0;
  transform: translateX(-0.25rem);
  transition: opacity 0.2s, transform 0.2s;
}

.desktop-nav a:hover .nav-arrow {
  opacity: 1;
  transform: translateX(0);
}

.secondary-nav a {
  padding: 0.625rem 0.5rem;
  font-size: 10px;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
}

.secondary-nav a:hover {
  color: hsl(var(--foreground));
}

/* Mobile nav */
.mobile-nav {
  border-top: 1px solid hsl(var(--foreground));
}

.mobile-nav__primary {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
}

.mobile-nav__primary a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid hsl(var(--background) / 0.1);
  transition: background-color 0.2s ease;
}

.mobile-nav__primary a:hover {
  background-color: hsl(var(--swiss-red));
}

.mobile-nav__secondary {
  background-color: hsl(var(--secondary));
}

.mobile-nav__secondary a {
  display: block;
  padding: 0.625rem 1rem;
  font-size: 11px;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  border-bottom: 1px solid hsl(var(--foreground) / 0.05);
  transition: color 0.2s ease;
}

.mobile-nav__secondary a:hover {
  color: hsl(var(--foreground));
}

/* Header action buttons */
.header-action-btn {
  padding: 0.5rem;
  color: hsl(var(--foreground));
  transition: background-color 0.2s ease, color 0.2s ease;
}

.header-action-btn:hover {
  background-color: hsl(var(--secondary));
  color: hsl(var(--swiss-red));
}

.header-action-btn svg {
  width: 1rem;
  height: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 3px solid hsl(var(--foreground));
  background-color: hsl(var(--background));
}

.footer-heading {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 1.125rem;
  color: hsl(var(--muted-foreground));
}

.footer-link {
  font-size: 12.5px;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s ease;
  display: block;
  padding: 0.25rem 0;
}

.footer-link:hover {
  color: hsl(var(--swiss-red));
}

.footer-bottom {
  border-top: 1px solid hsl(var(--foreground) / 0.08);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

/* ==========================================================================
   Breaking News Ticker
   ========================================================================== */

.breaking-ticker {
  background-color: hsl(var(--swiss-red));
  color: hsl(var(--background));
  overflow: hidden;
  width: 100%;
}

.breaking-ticker__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1rem;
}

.breaking-ticker__label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.breaking-ticker__divider {
  width: 1px;
  height: 1rem;
  background-color: hsl(var(--background) / 0.3);
  flex-shrink: 0;
}

.breaking-ticker__scroll {
  overflow: hidden;
  flex: 1;
}

.breaking-ticker__items {
  display: flex;
  white-space: nowrap;
}

.breaking-ticker__item {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  padding: 0 2rem;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.breaking-ticker__item:hover {
  opacity: 0.7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breaking-ticker__dot {
  margin-left: 2rem;
  opacity: 0.5;
}

/* Ping dot */
.ping-dot {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
}

.ping-dot__ping {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: hsl(var(--background));
  opacity: 0.75;
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-dot__core {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: hsl(var(--background));
}

/* ==========================================================================
   Hero Carousel
   ========================================================================== */

.hero-carousel {
  position: relative;
}

.hero-carousel__slide-container {
  position: relative;
  aspect-ratio: 3/4;
  background-color: hsl(var(--foreground));
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero-carousel__slide-container {
    aspect-ratio: 16/9;
  }
}

@media (min-width: 768px) {
  .hero-carousel__slide-container {
    aspect-ratio: 2/1;
  }
}

@media (min-width: 1024px) {
  .hero-carousel__slide-container {
    aspect-ratio: auto;
    height: 440px;
  }
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  transition: opacity 0.7s ease;
}

.hero-carousel__slide--active { opacity: 1; }
.hero-carousel__slide--hidden { opacity: 0; }

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

.hero-carousel__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--foreground) / 0.92), hsl(var(--foreground) / 0.5), transparent 70%);
}

@media (min-width: 640px) {
  .hero-carousel__gradient {
    background: linear-gradient(135deg, hsl(var(--foreground) / 0.88) 0%, hsl(var(--foreground) / 0.45) 40%, transparent 75%);
  }
}

.hero-carousel__gradient-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--foreground) / 0.7) 0%, hsl(var(--foreground) / 0.15) 35%, transparent 60%);
}

@media (min-width: 640px) {
  .hero-carousel__gradient-bottom {
    background: linear-gradient(to top, hsl(var(--foreground) / 0.6) 0%, transparent 40%);
  }
}

.hero-carousel__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-carousel__content {
    align-items: center;
    padding-bottom: 0;
  }
}

.hero-carousel__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  transition: opacity 0.5s, transform 0.5s;
}

@media (min-width: 640px) {
  .hero-carousel__meta {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
}

.hero-carousel__category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  background-color: hsl(var(--swiss-red));
  color: white;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 640px) {
  .hero-carousel__category-badge {
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    font-size: 10px;
  }
}

.hero-carousel__time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: hsl(var(--background) / 0.7);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (min-width: 640px) {
  .hero-carousel__time {
    gap: 0.375rem;
    font-size: 10px;
  }
}

.hero-carousel__title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.375rem;
  color: hsl(var(--background));
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  transition: opacity 0.5s, transform 0.5s;
  transition-delay: 75ms;
  letter-spacing: -0.01em;
}

@media (min-width: 640px) {
  .hero-carousel__title { font-size: 1.75rem; line-height: 1.15; }
}
@media (min-width: 768px) {
  .hero-carousel__title { font-size: 2.125rem; letter-spacing: -0.015em; }
}
@media (min-width: 1024px) {
  .hero-carousel__title { font-size: 2.5rem; letter-spacing: -0.02em; }
}

.hero-carousel__excerpt {
  display: none;
  color: hsl(var(--background) / 0.8);
  font-size: 13px;
  margin-top: 0.75rem;
  line-height: 1.65;
  max-width: 36rem;
  transition: opacity 0.5s, transform 0.5s;
  transition-delay: 100ms;
}

@media (min-width: 640px) {
  .hero-carousel__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    margin-top: 1rem;
  }
}

.hero-carousel__author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  transition: opacity 0.5s, transform 0.5s;
  transition-delay: 150ms;
}

@media (min-width: 640px) {
  .hero-carousel__author {
    margin-top: 1.5rem;
  }
}

.hero-carousel__author-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: hsl(var(--background) / 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--background) / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--background));
  font-size: 11px;
  font-weight: 700;
}

@media (min-width: 640px) {
  .hero-carousel__author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 13px;
  }
}

.hero-carousel__author-name {
  color: hsl(var(--background));
  font-size: 11px;
  font-weight: 600;
}

@media (min-width: 640px) {
  .hero-carousel__author-name { font-size: 13px; }
}

.hero-carousel__author-role {
  color: hsl(var(--background) / 0.6);
  font-size: 9px;
  display: none;
}

@media (min-width: 640px) {
  .hero-carousel__author-role { display: block; font-size: 11px; }
}

.hero-carousel__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background-color: hsl(var(--swiss-red));
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.3s;
}

@media (min-width: 640px) {
  .hero-carousel__cta {
    gap: 0.5rem;
    padding: 0.625rem 1.5rem;
    font-size: 11px;
  }
}

.hero-carousel__cta:hover {
  background-color: hsl(var(--swiss-red-light));
}

/* Carousel nav arrows */
.hero-carousel__arrow {
  position: absolute;
  bottom: 4rem;
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  background: hsl(var(--background) / 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--background) / 0.2);
  color: hsl(var(--background));
  transition: background-color 0.2s;
}

@media (min-width: 768px) {
  .hero-carousel__arrow { display: flex; }
}

.hero-carousel__arrow:hover {
  background: hsl(var(--background) / 0.2);
}

.hero-carousel__arrow--prev { left: 1rem; }
.hero-carousel__arrow--next { right: 1rem; }

/* Slide indicators */
.hero-carousel__indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .hero-carousel__indicators {
    left: auto;
    transform: none;
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

.hero-carousel__indicator {
  height: 2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: hsl(var(--background) / 0.3);
  width: 1rem;
}

.hero-carousel__indicator:hover {
  background-color: hsl(var(--background) / 0.5);
}

.hero-carousel__indicator--active {
  width: 2rem;
  background-color: hsl(var(--swiss-red));
  height: 2px;
}

/* Progress bar */
.hero-carousel__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: hsl(var(--background) / 0.3);
}

@media (min-width: 640px) {
  .hero-carousel__progress { height: 4px; }
}

.hero-carousel__progress-bar {
  height: 100%;
  background-color: hsl(var(--swiss-red));
  transition: width 0.3s;
}

/* Carousel transitioning state */
.hero-carousel--transitioning .hero-carousel__meta,
.hero-carousel--transitioning .hero-carousel__title,
.hero-carousel--transitioning .hero-carousel__excerpt,
.hero-carousel--transitioning .hero-carousel__author {
  opacity: 0;
  transform: translateY(0.5rem);
}

/* ==========================================================================
   Article Card Variants
   ========================================================================== */

/* Compact card — contained, elevated Swiss treatment */
.article-card-compact {
  display: block;
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--foreground) / 0.07);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.article-card-compact:hover {
  border-color: hsl(var(--foreground) / 0.14);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.dark .article-card-compact {
  background-color: hsl(var(--surface-1));
  border-color: hsl(var(--foreground) / 0.06);
}

.dark .article-card-compact:hover {
  border-color: hsl(var(--foreground) / 0.12);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.2);
}

.article-card-compact__image {
  aspect-ratio: 3/2;
  background-color: hsl(var(--muted));
  overflow: hidden;
  position: relative;
}

.article-card-compact__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.06) 0%, transparent 30%);
  pointer-events: none;
}

.article-card-compact__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-compact__body {
  padding: 0.875rem 1rem 1rem;
}

.article-card-compact__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.article-card-compact__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.32;
  margin-top: 0.375rem;
  transition: color 0.3s ease;
  letter-spacing: -0.015em;
}

.article-card-compact:hover .article-card-compact__title {
  color: hsl(var(--swiss-red));
}

.article-card-compact__excerpt {
  font-size: 12.5px;
  color: hsl(var(--muted-foreground));
  margin-top: 0.375rem;
  line-height: 1.55;
}

/* Default horizontal card */
.article-card-default {
  display: flex;
  gap: 1rem;
}

.article-card-default__content {
  flex: 1;
  min-width: 0;
}

.article-card-default__image {
  flex-shrink: 0;
  width: 6rem;
  height: 6rem;
  background-color: hsl(var(--muted));
  overflow: hidden;
}

.article-card-default__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card-default__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 0.375rem;
  transition: color 0.3s;
}

.article-card-default__excerpt {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
  margin-top: 0.375rem;
  line-height: 1.6;
  display: none;
}

@media (min-width: 640px) {
  .article-card-default__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

.article-card-default__author {
  font-size: 10px;
  font-weight: 500;
  color: hsl(var(--foreground) / 0.7);
  margin-top: 0.5rem;
}

/* Minimal list item card */
.article-card-minimal {
  display: flex;
  gap: 0.75rem;
}

.article-card-minimal__content {
  flex: 1;
  min-width: 0;
}

.article-card-minimal__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 0.25rem;
  transition: color 0.3s;
}

.article-card-minimal__time {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  margin-top: 0.375rem;
}

.article-card-minimal__image {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  background-color: hsl(var(--muted));
  overflow: hidden;
}

.article-card-minimal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Category Section
   ========================================================================== */

.category-section {
  padding: 2rem 0;
  border-top: 1px solid hsl(var(--foreground) / 0.06);
}

@media (min-width: 768px) {
  .category-section { padding: 2rem 0; }
}

.category-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsl(var(--foreground) / 0.05);
}

.category-section__title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-section__accent {
  width: 0.25rem;
  height: 1.5rem;
  background-color: hsl(var(--swiss-red));
}

.category-section__title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

@media (min-width: 768px) {
  .category-section__title { font-size: 0.9375rem; }
}

.category-section__view-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.category-section__view-all:hover {
  color: hsl(var(--swiss-red));
}

.category-section__view-all svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: transform 0.2s;
}

.category-section__view-all:hover svg {
  transform: translateX(0.25rem);
}

/* Featured layout (1 large + side list) */
.category-section--featured .category-section__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .category-section--featured .category-section__grid {
    grid-template-columns: 3fr 2fr;
  }
}

.category-section--featured .category-section__main {
  /* main article styling */
}

.category-section--featured .category-section__sidebar {
  border-left: none;
  padding-left: 0;
}

@media (min-width: 1024px) {
  .category-section--featured .category-section__sidebar {
    border-left: 1px solid hsl(var(--foreground) / 0.05);
    padding-left: 1.5rem;
  }
}

/* Grid layout */
.category-section--grid .category-section__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .category-section--grid .category-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* List layout */
.category-section--list .category-section__grid {
  display: grid;
  gap: 0 2.5rem;
}

@media (min-width: 1024px) {
  .category-section--list .category-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-section--list .category-section__item {
  border-bottom: 1px solid hsl(var(--foreground) / 0.1);
  padding: 1.25rem 0;
}

.category-section--list .category-section__item:first-child {
  padding-top: 0;
}

.category-section--list .category-section__item:last-child {
  border-bottom: 0;
}

/* ==========================================================================
   Newsletter Section
   ========================================================================== */

.newsletter-section {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 3rem 0;
  margin-top: 2rem;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: 'HT';
  position: absolute;
  right: -2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18rem;
  font-weight: 900;
  opacity: 0.02;
  letter-spacing: -0.05em;
  pointer-events: none;
  line-height: 1;
}

@media (min-width: 768px) {
  .newsletter-section { padding: 3.5rem 0; }
}

.newsletter-section__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background-color: hsl(var(--swiss-red));
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.newsletter-section__title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .newsletter-section__title { font-size: 1.875rem; }
}

.newsletter-section__text {
  font-size: 13px;
  color: hsl(var(--background) / 0.7);
  margin-top: 0.75rem;
  line-height: 1.65;
}

.newsletter-section__form {
  margin-top: 1.5rem;
  display: flex;
  gap: 0;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-section__input {
  flex: 1;
  padding: 0.75rem 1rem;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 13px;
  border: none;
  outline: none;
}

.newsletter-section__input::placeholder {
  color: hsl(var(--muted-foreground));
}

.newsletter-section__input:focus {
  box-shadow: inset 0 0 0 2px hsl(var(--swiss-red));
}

.newsletter-section__submit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background-color: hsl(var(--swiss-red));
  color: hsl(var(--background));
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: none;
  transition: background-color 0.3s;
}

.newsletter-section__submit:hover {
  background-color: hsl(var(--swiss-red-light));
}

.newsletter-section__disclaimer {
  font-size: 10px;
  color: hsl(var(--background) / 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

/* ==========================================================================
   Search Modal
   ========================================================================== */

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
}

.search-modal--open {
  display: block;
}

.search-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: hsl(var(--foreground) / 0.95);
  backdrop-filter: blur(4px);
}

.search-modal__container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

.search-modal__inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2rem 1rem;
}

@media (min-width: 768px) {
  .search-modal__inner { padding: 4rem 1rem; }
}

.search-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  color: hsl(var(--background) / 0.6);
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .search-modal__close { top: 2rem; right: 2rem; }
}

.search-modal__close:hover {
  color: hsl(var(--background));
}

.search-modal__input-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.search-modal__input-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: hsl(var(--background) / 0.4);
}

.search-modal__input-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

@media (min-width: 768px) {
  .search-modal__input-icon svg { width: 2rem; height: 2rem; }
}

.search-modal__input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid hsl(var(--background) / 0.2);
  padding: 1rem 1rem 1rem 2.5rem;
  color: hsl(var(--background));
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.25rem;
  outline: none;
  transition: border-color 0.3s;
}

@media (min-width: 768px) {
  .search-modal__input {
    padding-left: 3.5rem;
    font-size: 1.875rem;
  }
}

.search-modal__input::placeholder {
  color: hsl(var(--background) / 0.3);
}

.search-modal__input:focus {
  border-color: hsl(var(--swiss-red));
}

.search-modal__count {
  color: hsl(var(--background) / 0.5);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.search-modal__results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-modal__result {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  margin: 0 -1rem;
  transition: background-color 0.2s;
}

.search-modal__result:hover {
  background-color: hsl(var(--background) / 0.05);
}

.search-modal__result-image {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .search-modal__result-image { width: 6rem; height: 6rem; }
}

.search-modal__result-content {
  flex: 1;
  min-width: 0;
}

.search-modal__result-category {
  color: hsl(var(--swiss-red));
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-modal__result-time {
  color: hsl(var(--background) / 0.5);
  font-size: 10px;
}

.search-modal__result-title {
  color: hsl(var(--background));
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 0.375rem;
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .search-modal__result-title { font-size: 1.125rem; }
}

.search-modal__result:hover .search-modal__result-title {
  color: hsl(var(--swiss-red));
}

.search-modal__result-excerpt {
  display: none;
  color: hsl(var(--background) / 0.6);
  font-size: 0.875rem;
  margin-top: 0.375rem;
}

@media (min-width: 768px) {
  .search-modal__result-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

.search-modal__result-arrow {
  color: hsl(var(--background) / 0.3);
  flex-shrink: 0;
  margin-top: 0.5rem;
  transition: color 0.2s, transform 0.2s;
}

.search-modal__result:hover .search-modal__result-arrow {
  color: hsl(var(--swiss-red));
  transform: translateX(0.25rem);
}

.search-modal__empty {
  text-align: center;
  padding: 3rem 0;
}

.search-modal__empty-title {
  color: hsl(var(--background) / 0.4);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.search-modal__empty-text {
  color: hsl(var(--background) / 0.6);
  font-size: 0.75rem;
}

/* ==========================================================================
   Cookie Consent
   ========================================================================== */

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.875rem 1rem;
  max-width: 100%;
  box-sizing: border-box;
  display: none;
}

.cookie-consent--visible {
  display: block;
  animation: slide-in-from-bottom 0.5s ease-out forwards;
}

.cookie-consent__inner {
  max-width: 42rem;
  margin: 0 auto;
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--foreground) / 0.08);
  box-shadow: 0 2px 4px rgba(0,0,0,0.02), 0 8px 24px rgba(0,0,0,0.06);
  padding: 1rem;
}

@media (min-width: 768px) {
  .cookie-consent__inner { padding: 1.25rem; }
}

.cookie-consent__text {
  font-size: 0.875rem;
  color: hsl(var(--foreground));
  line-height: 1.65;
}

.cookie-consent__link {
  color: hsl(var(--foreground));
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.cookie-consent__link:hover {
  color: hsl(var(--foreground) / 0.8);
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cookie-consent__accept {
  padding: 0.375rem 0.75rem;
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  font-size: 0.75rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.cookie-consent__accept:hover {
  opacity: 0.9;
}

.cookie-consent__decline {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

.cookie-consent__decline:hover {
  color: hsl(var(--foreground));
}

.cookie-consent__close-mobile {
  display: block;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s;
}

@media (min-width: 768px) {
  .cookie-consent__close-mobile { display: none; }
}

.cookie-consent__close-mobile:hover {
  color: hsl(var(--foreground));
}

/* ==========================================================================
   Sidebar Widgets
   ========================================================================== */

.sidebar-widget {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--foreground) / 0.1);
}

.sidebar-widget:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.sidebar-widget__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid hsl(var(--foreground) / 0.06);
}

.sidebar-widget__header-icon {
  width: 0.875rem;
  height: 0.875rem;
  color: hsl(var(--swiss-red));
}

.sidebar-widget__header-title {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* Most Read list — editorial ranking */
.most-read__item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid hsl(var(--foreground) / 0.06);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.most-read__item:hover {
  transform: translateX(2px);
}

.most-read__item:last-child {
  border-bottom: none;
}

.most-read__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.38;
  transition: color 0.25s ease;
  letter-spacing: -0.008em;
}

.most-read__item:hover .most-read__title {
  color: hsl(var(--swiss-red));
}

/* Market Widget — data-dense Swiss precision */
.market-widget__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.375rem;
}

.market-widget__card {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 0.75rem;
  position: relative;
  overflow: hidden;
}

.market-widget__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, hsl(var(--background) / 0.06), hsl(var(--background) / 0.12), hsl(var(--background) / 0.06));
}

.market-widget__label {
  font-size: 8.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.5;
  font-weight: 600;
}

.market-widget__value {
  font-size: 15px;
  font-weight: 800;
  margin-top: 0.1875rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.market-widget__change {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.25rem;
  font-size: 10px;
  font-weight: 500;
}

.market-widget__change--up { color: #4ade80; }
.market-widget__change--down { color: #f87171; }

/* Opinion widget — editorial voice */
.opinion-widget__quote {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  color: hsl(var(--foreground) / 0.85);
  transition: color 0.3s;
  cursor: pointer;
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid hsl(var(--swiss-red) / 0.3);
}

.opinion-widget__quote:hover {
  color: hsl(var(--swiss-red));
  border-left-color: hsl(var(--swiss-red));
}

.opinion-widget__author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.opinion-widget__avatar {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: hsl(var(--muted));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
}

.opinion-widget__name {
  font-size: 11px;
  font-weight: 600;
}

/* ==========================================================================
   Article Page
   ========================================================================== */

.article-hero {
  position: relative;
  aspect-ratio: 21/9;
  background-color: hsl(var(--foreground));
  overflow: hidden;
}

@media (min-width: 768px) {
  .article-hero { aspect-ratio: 3/1; }
}

.article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

.article-hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--foreground)), hsl(var(--foreground) / 0.3), transparent);
}

.article-hero__back {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: hsl(var(--background) / 0.1);
  backdrop-filter: blur(4px);
  border: 1px solid hsl(var(--background) / 0.2);
  color: hsl(var(--background));
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.2s;
}

@media (min-width: 768px) {
  .article-hero__back { top: 1.5rem; left: 1.5rem; }
}

.article-hero__back:hover {
  background: hsl(var(--background) / 0.2);
}

/* Article meta card */
.article-meta-card {
  position: relative;
  margin-top: -5rem;
  background-color: hsl(var(--background));
  padding: 1.75rem;
  border-top: 4px solid hsl(var(--swiss-red));
}

@media (min-width: 768px) {
  .article-meta-card {
    margin-top: -7rem;
    padding: 2rem;
  }
}

.article-meta-card__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.article-meta-card__category {
  padding: 0.25rem 0.625rem;
  background-color: hsl(var(--swiss-red));
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-meta-card__time {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-meta-card__read-time {
  font-size: 11px;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-meta-card__title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.18;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .article-meta-card__title { font-size: 2.25rem; line-height: 1.1; }
}

@media (min-width: 1024px) {
  .article-meta-card__title { font-size: 2.75rem; }
}

.article-meta-card__excerpt {
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
  margin-top: 1rem;
  line-height: 1.65;
  font-weight: 300;
}

@media (min-width: 768px) {
  .article-meta-card__excerpt { font-size: 1.25rem; }
}

/* Article author bar */
.article-author-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--foreground) / 0.1);
}

@media (min-width: 640px) {
  .article-author-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.article-author-bar__info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.article-author-bar__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.article-author-bar__name {
  font-size: 14px;
  font-weight: 600;
}

.article-author-bar__role {
  font-size: 12px;
  color: hsl(var(--muted-foreground));
}

/* Share buttons */
.share-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-btn {
  padding: 0.625rem;
  border: 1px solid hsl(var(--foreground) / 0.1);
  transition: background-color 0.2s;
}

.dark .share-btn {
  border-color: hsl(var(--foreground) / 0.08);
}

.share-btn:hover {
  background-color: hsl(var(--secondary));
}

.share-btn svg {
  width: 1rem;
  height: 1rem;
}

.share-divider {
  width: 1px;
  height: 1.5rem;
  background-color: hsl(var(--foreground) / 0.1);
  margin: 0 0.25rem;
}

/* Tags */
.article-tags {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--foreground) / 0.1);
}

.article-tags__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.article-tags__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
  margin-right: 0.5rem;
}

.article-tag {
  padding: 0.25rem 0.75rem;
  background-color: hsl(var(--secondary));
  font-size: 11px;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.article-tag:hover {
  background-color: hsl(var(--foreground));
  color: hsl(var(--background));
}

/* Author bio box */
.author-bio {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background-color: hsl(var(--secondary));
  border: 1px solid hsl(var(--foreground) / 0.05);
}

.author-bio__inner {
  display: flex;
  gap: 1rem;
}

.author-bio__avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: hsl(var(--muted));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.author-bio__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--muted-foreground));
}

.author-bio__name {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.author-bio__text {
  font-size: 13px;
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
  line-height: 1.65;
}

.author-bio__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 11px;
  font-weight: 600;
  color: hsl(var(--swiss-red));
  margin-top: 0.75rem;
}

.author-bio__link:hover {
  text-decoration: underline;
}

/* Related articles */
.related-articles {
  margin-top: 3rem;
  border-top: 1px solid hsl(var(--foreground) / 0.06);
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .related-articles { padding: 3.5rem 0; }
}

.related-articles__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .related-articles__grid { grid-template-columns: repeat(3, 1fr); }
}

.related-article {
  display: block;
}

.related-article__image {
  aspect-ratio: 16/10;
  background-color: hsl(var(--muted));
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.related-article__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.related-article:hover .related-article__image img {
  transform: scale(1.05);
}

.related-article__title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 0.375rem;
  transition: color 0.2s;
}

.related-article:hover .related-article__title {
  color: hsl(var(--swiss-red));
}

.related-article__time {
  font-size: 10px;
  color: hsl(var(--muted-foreground));
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
  display: block;
}

/* ==========================================================================
   Archive / Category Page
   ========================================================================== */

.archive-header {
  border-bottom: 1px solid hsl(var(--foreground) / 0.1);
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .archive-header { padding: 3rem 0; }
}

.archive-header__back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.archive-header__back:hover {
  color: hsl(var(--swiss-red));
}

.archive-header__title-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.archive-header__accent {
  width: 0.25rem;
  height: 3rem;
  background-color: hsl(var(--swiss-red));
}

.archive-header__title {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-style: italic;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .archive-header__title { font-size: 3rem; }
}

.archive-header__count {
  color: hsl(var(--muted-foreground));
  margin-top: 0.5rem;
}

.archive-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (min-width: 1024px) {
  .archive-grid { grid-template-columns: repeat(3, 1fr); }
}

.archive-grid__item {
  border-bottom: 1px solid hsl(var(--foreground) / 0.1);
  padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .archive-grid__item { border-bottom: none; padding-bottom: 0; }
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.page-404 {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  background-color: hsl(var(--muted));
}

.page-404__title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-404__text {
  font-size: 1.25rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.page-404__link {
  color: hsl(var(--foreground));
  text-decoration: underline;
}

.page-404__link:hover {
  color: hsl(var(--foreground) / 0.9);
}

/* ==========================================================================
   Search Results Page
   ========================================================================== */

.search-results-header {
  border-bottom: 1px solid hsl(var(--foreground) / 0.1);
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .search-results-header { padding: 3rem 0; }
}

/* ==========================================================================
   Hero Sidebar (Latest News)
   ========================================================================== */

.hero-sidebar {
  background-color: hsl(var(--surface-1));
  padding: 1rem;
}

@media (min-width: 1024px) {
  .hero-sidebar { padding: 1.25rem 1.5rem; }
}

.hero-sidebar__item {
  padding: 0.875rem 0;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.hero-sidebar__item:hover {
  transform: translateX(2px);
}

.hero-sidebar__item + .hero-sidebar__item {
  border-top: 1px solid hsl(var(--foreground) / 0.06);
}

.hero-sidebar__title {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.38;
  transition: color 0.25s ease;
  letter-spacing: -0.01em;
}

.hero-sidebar__item:hover .hero-sidebar__title {
  color: hsl(var(--swiss-red));
}

/* ==========================================================================
   Responsive Grid Helpers
   ========================================================================== */

.grid { display: grid; }
.flex { display: flex; }
.hidden { display: none; }
.block { display: block; }
.inline-flex { display: inline-flex; }
.inline-block { display: inline-block; }

.items-center { align-items: center; }
.items-start { align-items: start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.flex-col { flex-direction: column; }
.flex-1 { flex: 1; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-wrap { flex-wrap: wrap; }
.min-w-0 { min-width: 0; }

.gap-0 { gap: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { inset: 0; }

.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

.text-center { text-align: center; }
.text-left { text-align: left; }

.whitespace-nowrap { white-space: nowrap; }

.pointer-events-none { pointer-events: none; }
.cursor-pointer { cursor: pointer; }

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }

.rounded-full { border-radius: 50%; }

.object-cover { object-fit: cover; }

.transition-colors { transition: color 0.2s, background-color 0.2s; }
.transition-transform { transition: transform 0.2s; }
.transition-all { transition: all 0.3s; }
.transition-opacity { transition: opacity 0.3s; }

/* Spacing utilities */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.ml-auto { margin-left: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }

.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pl-6 { padding-left: 1.5rem; }

.border-t { border-top: 1px solid; }
.border-b { border-bottom: 1px solid; }
.border-l { border-left: 1px solid; }
.border-r { border-right: 1px solid; }
.border { border: 1px solid; }

.border-t-2 { border-top-width: 2px; }
.border-t-4 { border-top-width: 4px; }

.space-y-2 > * + * { margin-top: 0.5rem; }

.z-50 { z-index: 50; }

/* Base utilities */
.hidden { display: none; }

/* Responsive display — !important to override inline styles used as mobile defaults */
@media (min-width: 640px) {
  .sm\:flex { display: flex !important; }
  .sm\:block { display: block !important; }
  .sm\:hidden { display: none !important; }
  .sm\:inline { display: inline !important; }
}

@media (min-width: 768px) {
  .md\:flex { display: flex !important; }
  .md\:block { display: block !important; }
  .md\:hidden { display: none !important; }
  .md\:grid { display: grid !important; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
  .md\:grid-cols-5 { grid-template-columns: repeat(5, 1fr) !important; }
  .md\:py-4 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
  .md\:py-8 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .md\:py-12 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
  .md\:py-14 { padding-top: 3.5rem !important; padding-bottom: 3.5rem !important; }
  .md\:col-span-2 { grid-column: span 2 !important; }
  .md\:text-left { text-align: left !important; }
  .md\:flex-none { flex: none !important; }
  .md\:flex-row { flex-direction: row !important; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex !important; }
  .lg\:block { display: block !important; }
  .lg\:hidden { display: none !important; }
  .lg\:grid { display: grid !important; }
  .lg\:flex-row { flex-direction: row !important; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr) !important; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, 1fr) !important; }
  .lg\:col-span-4 { grid-column: span 4 !important; }
  .lg\:col-span-8 { grid-column: span 8 !important; }
  .lg\:col-span-3 { grid-column: span 3 !important; }
  .lg\:col-span-2 { grid-column: span 2 !important; }
  .lg\:col-span-5 { grid-column: span 5 !important; }
  .lg\:w-3\/4 { width: 75% !important; }
  .lg\:w-1\/4 { width: 25% !important; }
  .lg\:border-r { border-right: 1px solid hsl(var(--foreground) / 0.14) !important; }
  .lg\:border-l { border-left: 1px solid hsl(var(--foreground) / 0.1) !important; }
  .lg\:pl-6 { padding-left: 1.5rem !important; }
  .lg\:p-6 { padding: 1.5rem !important; }
  .lg\:gap-8 { gap: 2rem !important; }
}

/* WP-specific: Admin bar offset */
body.admin-bar .fixed {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .fixed {
    top: 46px;
  }
}
