/*
Theme Name: PixelTip
Theme URI: https://pixeltip.pl
Description: PixelTip — futurystyczny motyw newsowy z cyjanowymi akcentami, glassmorphism i neonową estetyką
Author: PixelTip Team
Version: 2.0.0
Text Domain: pixeltip
*/

/* =============================================================================
   CSS CUSTOM PROPERTIES — PixelTip Design System
   ============================================================================= */

:root {
  /* Background & Surface */
  --background: #0e0e13;
  --surface: #0e0e13;
  --surface-container-low: #131318;
  --surface-container: #19191f;
  --surface-container-high: #1f1f26;
  --surface-container-highest: #25252c;
  --surface-bright: #2c2b33;

  /* Primary — Cyan/Teal */
  --primary: #8ff5ff;
  --primary-dim: #00deec;
  --primary-fixed: #00eefc;
  --primary-on: #005d63;
  --primary-glow: rgba(143, 245, 255, 0.4);

  /* Secondary — Violet */
  --secondary: #ac89ff;
  --secondary-dim: #874cff;
  --secondary-container: #7000ff;

  /* Tertiary — Magenta/Pink */
  --tertiary: #ff59e3;
  --tertiary-dim: #ff68e3;
  --tertiary-glow: rgba(255, 89, 227, 0.4);

  /* Text */
  --on-surface: #f8f5fd;
  --on-surface-variant: #acaab1;
  --on-background: #f8f5fd;

  /* Outline */
  --outline: #76747b;
  --outline-variant: #48474d;

  /* Error */
  --error: #ff716c;

  /* Fonts */
  --font-headline: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --container-max: 1440px;
  --gap: 2rem;

  /* Radii */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;
}

/* =============================================================================
   RESET & BASE
   ============================================================================= */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  background-image:
    linear-gradient(rgba(14, 14, 19, 0.62), rgba(14, 14, 19, 0.62)),
    url("assets/images/site-bg.png");
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center top;
  background-size: cover, cover;
  background-attachment: fixed, fixed;
  color: var(--on-surface);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: rgba(143, 245, 255, 0.3);
  color: var(--on-surface);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

input, textarea {
  font-family: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

.font-headline {
  font-family: var(--font-headline);
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-tertiary { color: var(--tertiary); }
.text-muted { color: var(--on-surface-variant); }

.text-glow {
  text-shadow: 0 0 15px var(--primary-glow);
}

.glass-card {
  background: rgba(37, 37, 44, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pulse-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.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;
}

/* =============================================================================
   HEADER / NAVIGATION
   ============================================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(14, 14, 19, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
}

/* Offset for WP Admin Bar */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 0;
  }
}

.admin-bar .hero-section,
.admin-bar .article-hero {
  margin-top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .hero-section,
  .admin-bar .article-hero {
    margin-top: 46px;
  }
}

.admin-bar .search-overlay,
.admin-bar .mobile-nav-overlay {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .search-overlay,
  .admin-bar .mobile-nav-overlay {
    top: 46px;
  }
}

.admin-bar .fb-feed-panel {
  top: 32px;
}

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

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.site-branding .site-title-link,
.site-branding a {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #00F0FF;
  text-decoration: none;
}

.site-branding .custom-logo {
  height: 32px;
  width: auto;
}

/* Nav Menu */
.nav-menu {
  display: none;
  gap: 2rem;
}

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

.nav-menu li a {
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #9ca3af;
  padding: 0.25rem 0;
  transition: all 0.3s ease;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
  color: #00F0FF;
}

.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
  border-bottom: 2px solid #00F0FF;
  padding-bottom: 0.25rem;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-toggle,
.dark-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: #00F0FF;
  transition: background 0.3s ease;
}

.search-toggle:hover,
.dark-mode-toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dark-mode-toggle .icon-light-mode {
  display: none;
}

.subscribe-btn {
  display: none;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-on);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: transform 0.2s ease;
}

.subscribe-btn:hover {
  transform: scale(1.05);
}

@media (min-width: 768px) {
  .subscribe-btn {
    display: inline-flex;
  }
}

/* Hamburger */
.hamburger-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--on-surface);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .hamburger-toggle {
    display: none;
  }
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--background);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-inner {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.mobile-nav-logo {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 900;
  color: #00F0FF;
}

.mobile-nav-close {
  color: var(--on-surface);
  padding: 0.5rem;
}

.mobile-nav-menu li {
  border-bottom: 1px solid rgba(72, 71, 77, 0.3);
}

.mobile-nav-menu li a {
  display: block;
  padding: 1.25rem 0;
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--on-surface-variant);
  transition: color 0.3s ease;
}

.mobile-nav-menu li a:hover {
  color: var(--primary);
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(14, 14, 19, 0.95);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.search-overlay-inner {
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  position: relative;
}

.search-overlay-close {
  position: absolute;
  top: -3rem;
  right: 0;
  color: var(--on-surface-variant);
  font-size: 2rem;
}

.search-overlay-label {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form .search-field {
  flex: 1;
  background: var(--surface-container-highest);
  border: 1px solid rgba(72, 71, 77, 0.3);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
  color: var(--on-surface);
  outline: none;
  transition: box-shadow 0.3s ease;
}

.search-form .search-field:focus {
  box-shadow: 0 0 15px var(--primary-glow);
  border-color: var(--primary);
}

.search-form .search-submit {
  background: var(--primary);
  color: var(--primary-on);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  transition: opacity 0.3s ease;
}

.search-form .search-submit:hover {
  opacity: 0.9;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

/* Header auto-hide on scroll down */
.site-header {
  transition: transform 0.35s ease, background 0.3s ease;
}

.site-header--hidden {
  transform: translateY(-100%);
}

.admin-bar .site-header--hidden {
  transform: translateY(calc(-100% - 32px));
}

.hero-section {
  position: relative;
  height: 90vh;
  min-height: 600px;
  max-height: 700px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

/* =============================================================================
   SCROLL-DRIVEN VIDEO SECTION
   ============================================================================= */

.scroll-video-section {
  position: relative;
  height: 300vh; /* scroll space — the longer, the slower the animation */
  background: #000;
}

.scroll-video-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.scroll-video-sticky video,
.scroll-video-sticky canvas {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
}

/* Small bento cards with images */
.bento-card--small-img {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
}

.bento-card--small-img:hover {
  background: var(--surface-container-highest);
}

.bento-small__image {
  height: 140px;
  overflow: hidden;
  flex-shrink: 0;
}

.bento-small__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bento-card--small-img:hover .bento-small__image img {
  transform: scale(1.1);
}

.bento-small__content {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bento-small__content .bento-card__title {
  font-size: 0.9375rem;
  margin-top: 0.5rem;
}

.bento-small__content .bento-card__meta {
  margin-top: auto;
  padding-top: 0.75rem;
}

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

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

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,19,0) 0%, rgba(14,14,19,0.8) 70%, rgba(14,14,19,1) 100%);
}

.hero-inner {
  position: relative;
  z-index: 10;
  padding-bottom: 6rem;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tertiary);
  animation: pulse-glow 2s ease-in-out infinite;
  box-shadow: 0 0 8px var(--tertiary-glow);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-label-text {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  font-weight: 700;
}

.hero-heading {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(1.75rem, 4.5vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  max-width: 800px;
  color: var(--on-surface);
}

.hero-subtitle {
  margin-top: 2rem;
  color: var(--on-surface-variant);
  max-width: 560px;
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  color: var(--primary-on);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: transform 0.2s ease;
  font-size: 0.9375rem;
}

.hero-cta:hover {
  transform: scale(1.05);
  color: var(--primary-on);
}

/* =============================================================================
   TRENDING BENTO GRID
   ============================================================================= */

.section-trending {
  padding: 6rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.section-title-bar {
  display: block;
  width: 3rem;
  height: 4px;
  background: var(--primary);
  margin-top: 0.5rem;
  border-radius: 2px;
}

.see-all-link {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-dim);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.see-all-link:hover {
  gap: 1rem;
  color: var(--primary);
}

/* Bento grid */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
  }
}

.bento-large {
  grid-column: span 1;
  grid-row: span 1;
}

@media (min-width: 768px) {
  .bento-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 400px;
  }
}

.bento-wide {
  grid-column: span 1;
}

@media (min-width: 768px) {
  .bento-wide {
    grid-column: span 2;
  }
}

.bento-small {
  grid-column: span 1;
  grid-row: span 1;
}

.bento-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-2px);
}

/* Large bento card */
.bento-card--large {
  position: relative;
  height: 100%;
  min-height: 320px;
  display: block;
}

.bento-card--large .bento-card__image {
  position: absolute;
  inset: 0;
}

.bento-card--large .bento-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.bento-card--large:hover .bento-card__image img {
  transform: scale(1.1);
}

.bento-card--large .bento-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface) 0%, transparent 60%);
}

.bento-card--large .bento-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}

/* Wide bento card */
.bento-card--wide {
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 640px) {
  .bento-card--wide {
    flex-direction: row;
  }
}

.bento-card--wide .bento-card__image {
  height: 200px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .bento-card--wide .bento-card__image {
    width: 50%;
    height: auto;
  }
}

.bento-card--wide .bento-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.bento-card--wide:hover .bento-card__image img {
  transform: scale(1.1);
}

.bento-card--wide .bento-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 640px) {
  .bento-card--wide .bento-card__content {
    width: 50%;
  }
}

/* Small bento cards */
.bento-card--small {
  padding: 1.5rem;
  transition: background 0.3s ease;
}

.bento-card--small:hover {
  background: var(--surface-container-highest);
}

/* Card components */
.bento-card__badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
}

.badge--tertiary {
  color: var(--tertiary);
  background: rgba(255, 89, 227, 0.1);
}

.badge--primary {
  color: var(--primary);
}

.badge--secondary {
  color: var(--secondary);
}

.bento-card__title {
  font-family: var(--font-headline);
  font-weight: 700;
  margin-top: 0.75rem;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.bento-card:hover .bento-card__title {
  color: var(--primary);
}

.bento-card__excerpt {
  color: var(--on-surface-variant);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bento-card__meta {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bento-card__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
}

.bento-card__time {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
}

/* =============================================================================
   LATEST REVIEWS (Tonal Shift)
   ============================================================================= */

.section-reviews {
  padding: 6rem 0;
  background: transparent;
}

.section-reviews .section-header {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 768px) {
  .section-reviews .section-header {
    flex-direction: row;
    align-items: center;
  }
}

.section-subtitle {
  color: var(--on-surface-variant);
  margin-top: 0.5rem;
}

.reviews-nav {
  display: flex;
  gap: 1rem;
}

.reviews-nav-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--outline-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-variant);
  transition: all 0.3s ease;
}

.reviews-nav-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

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

.review-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-card__image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.review-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.5s ease;
  transform: scale(1.05);
}

.review-card:hover .review-card__image img {
  filter: grayscale(0%);
  transform: scale(1);
}

.review-card__rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.review-card__title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.review-card:hover .review-card__title {
  color: var(--primary);
}

.review-card__desc {
  margin-top: 1rem;
  color: var(--on-surface-variant);
  line-height: 1.7;
}

/* =============================================================================
   POSTS GRID (for archive, category, etc.)
   ============================================================================= */

.posts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* Post Card */
.post-card {
  background: var(--surface-container);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(72, 71, 77, 0.15);
  transition: all 0.3s ease;
}

.post-card:hover {
  border-color: rgba(143, 245, 255, 0.2);
  box-shadow: 0 8px 30px rgba(143, 245, 255, 0.05);
  transform: translateY(-3px);
}

.card-image {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-image__img,
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .card-image__img,
.post-card:hover .card-image img {
  transform: scale(1.05);
}

.card-image__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-container-high);
  color: var(--outline-variant);
}

.card-category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--primary-on);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.card-content {
  padding: 1.25rem 1.5rem 1.5rem;
}

.card-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.card-title a {
  transition: color 0.3s ease;
}

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

.card-excerpt {
  color: var(--on-surface-variant);
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--on-surface-variant);
}

.card-meta__item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

/* =============================================================================
   EDITOR'S CHOICE + NEWSLETTER
   ============================================================================= */

.section-newsletter {
  padding: 6rem 0;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .newsletter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Editor's choice card */
.editors-choice {
  padding: 3rem;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(72, 71, 77, 0.1);
}

.editors-choice__glow {
  position: absolute;
  top: -5rem;
  right: -5rem;
  width: 16rem;
  height: 16rem;
  background: rgba(143, 245, 255, 0.1);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
}

.editors-choice__title {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}

.editors-choice__list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.editors-choice__item {
  display: flex;
  gap: 1.5rem;
  cursor: pointer;
}

.editors-choice__thumb {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-container);
}

.editors-choice__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.editors-choice__item:hover .editors-choice__thumb img {
  filter: grayscale(0%);
}

.editors-choice__item-title {
  font-weight: 700;
  transition: color 0.3s ease;
}

.editors-choice__item:hover .editors-choice__item-title {
  color: var(--primary);
}

.editors-choice__item-desc {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  margin-top: 0.5rem;
}

/* Newsletter CTA */
.newsletter-cta__heading {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1;
}

.newsletter-cta__desc {
  color: var(--on-surface-variant);
  font-size: 1.125rem;
  margin-top: 2rem;
  line-height: 1.7;
}

.newsletter-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form__input {
  flex: 1;
  background: var(--surface-container-high);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-full);
  color: var(--on-surface);
  font-size: 0.9375rem;
  outline: none;
  transition: box-shadow 0.3s ease;
}

.newsletter-form__input:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

.newsletter-form__input::placeholder {
  color: var(--outline);
}

.newsletter-form__btn {
  background: var(--primary);
  color: var(--primary-on);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8125rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.newsletter-form__btn:hover {
  background: var(--primary-fixed);
}

.newsletter-form__privacy {
  font-size: 0.75rem;
  color: var(--outline);
  font-style: italic;
  margin-top: 0.5rem;
}

/* =============================================================================
   CATEGORIES SECTION
   ============================================================================= */

.categories-section {
  padding: 4rem 0;
}

.categories-section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.categories-section__title {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.categories-section__subtitle {
  color: var(--on-surface-variant);
  margin-top: 0.75rem;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

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

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

.category-box {
  background: var(--surface-container);
  border: 1px solid rgba(72, 71, 77, 0.15);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.category-box:hover {
  border-color: var(--primary);
  background: rgba(143, 245, 255, 0.05);
  transform: translateY(-3px);
}

.category-box__icon {
  font-size: 2rem;
}

.category-box__name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-box__count {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
}

/* =============================================================================
   POPULAR POSTS + NEWSLETTER COMBINED
   ============================================================================= */

.popular-newsletter-section {
  padding: 4rem 0;
}

.popular-newsletter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .popular-newsletter-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.popular-posts__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.popular-posts__icon {
  color: var(--primary);
}

.popular-posts__title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.popular-post-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(72, 71, 77, 0.15);
}

.popular-post-item:last-child {
  border-bottom: none;
}

.popular-post-item__number {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--surface-bright);
  line-height: 1;
  flex-shrink: 0;
}

.popular-post-item__cat {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.popular-post-item__title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
}

.popular-post-item__title a:hover {
  color: var(--primary);
}

.newsletter-section__inner {
  background: var(--surface-container);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(72, 71, 77, 0.15);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.newsletter-section__blur {
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 12rem;
  height: 12rem;
  background: rgba(143, 245, 255, 0.08);
  filter: blur(80px);
  border-radius: 50%;
  pointer-events: none;
}

.newsletter-section__content {
  position: relative;
  z-index: 1;
}

.newsletter-section__title {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.newsletter-section__desc {
  color: var(--on-surface-variant);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* =============================================================================
   SINGLE POST
   ============================================================================= */

.single-post-main {
  padding-top: 5rem;
  min-height: 100vh;
}

/* Article Hero */
.article-hero {
  position: relative;
  margin-top: 64px;
  height: 60vh;
  min-height: 400px;
  max-height: 500px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.article-hero__bg {
  position: absolute;
  inset: 0;
}

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

.article-hero__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface) 0%, rgba(14,14,19,0.4) 40%, transparent 100%);
}

.article-hero__content {
  position: relative;
  z-index: 10;
  padding-bottom: 4rem;
}

.article-hero__badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.article-hero__badge {
  padding: 0.375rem 0.75rem;
  background: var(--primary);
  color: var(--primary-on);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: var(--radius-sm);
}

.article-hero__live {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--tertiary);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.article-hero__live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tertiary);
  box-shadow: 0 0 8px var(--tertiary-glow);
  animation: pulse-glow 2s ease-in-out infinite;
}

.article-hero__title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 800px;
  text-shadow: 0 0 15px var(--primary-glow);
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  color: var(--on-surface-variant);
  font-weight: 500;
}

.article-hero__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.article-hero__author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(72, 71, 77, 0.3);
  background: var(--surface-container-highest);
}

.article-hero__author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--outline-variant);
}

/* Article body layout */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .article-layout {
    grid-template-columns: 2fr 1fr;
  }
}

/* Entry Content */
.entry-content {
  color: var(--on-surface-variant);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.entry-content > * + * {
  margin-top: 1.5rem;
}

.entry-content h2 {
  font-family: var(--font-headline);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.entry-content h3 {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--on-surface);
  margin-top: 2rem;
}

.entry-content p {
  line-height: 1.8;
}

.entry-content blockquote {
  border-left: 4px solid var(--tertiary);
  padding: 1.5rem 2rem;
  font-size: 1.375rem;
  font-style: italic;
  font-weight: 300;
  color: var(--on-surface);
  background: linear-gradient(135deg, rgba(143,245,255,0.05), rgba(172,137,255,0.05));
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
}

.entry-content img {
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}

.entry-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.entry-content a:hover {
  opacity: 0.8;
}

.entry-content ul {
  padding-left: 1.5rem;
}

.entry-content ul li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.75rem;
}

.entry-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.entry-content ol {
  counter-reset: ol-counter;
  padding-left: 1.5rem;
}

.entry-content ol li {
  counter-increment: ol-counter;
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.75rem;
}

.entry-content ol li::before {
  content: counter(ol-counter, decimal-leading-zero) '.';
  position: absolute;
  left: 0;
  font-weight: 900;
  color: var(--primary);
  font-size: 0.875rem;
}

.entry-content pre {
  background: var(--surface-container);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  overflow-x: auto;
  font-size: 0.875rem;
}

.entry-content code {
  background: var(--surface-container);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--primary);
}

/* Share buttons */
.share-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(72, 71, 77, 0.1);
  border-bottom: 1px solid rgba(72, 71, 77, 0.1);
  margin-top: 4rem;
}

.share-row__label {
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(72, 71, 77, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-variant);
  transition: all 0.3s ease;
}

.share-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .article-sidebar {
    position: sticky;
    top: 7rem;
    align-self: flex-start;
    max-height: calc(100vh - 8rem);
    overflow-y: auto;
  }
}

.sidebar-card {
  background: var(--surface-container-low);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid rgba(72, 71, 77, 0.1);
}

.sidebar-card__title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--primary);
}

/* Related items in sidebar */
.sidebar-related-item {
  display: block;
  margin-bottom: 2rem;
}

.sidebar-related-item:last-child {
  margin-bottom: 0;
}

.sidebar-related-item__image {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--surface-container-high);
}

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

.sidebar-related-item:hover .sidebar-related-item__image img {
  transform: scale(1.05);
}

.sidebar-related-item__title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.sidebar-related-item:hover .sidebar-related-item__title {
  color: var(--primary);
}

.sidebar-related-item__desc {
  font-size: 0.8125rem;
  color: var(--on-surface-variant);
  margin-top: 0.5rem;
}

/* Tags */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-pill {
  padding: 0.5rem 1rem;
  background: var(--surface-container-highest);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--on-surface-variant);
  transition: all 0.3s ease;
}

.tag-pill:hover {
  color: var(--primary);
  background: rgba(143, 245, 255, 0.1);
}

/* Sidebar Newsletter mini */
.sidebar-newsletter {
  background: linear-gradient(135deg, rgba(143,245,255,0.08), rgba(172,137,255,0.08));
  border: 1px solid rgba(143,245,255,0.15);
}

.sidebar-newsletter__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.sidebar-newsletter__heading {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.sidebar-newsletter__desc {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  margin-bottom: 1rem;
}

.sidebar-newsletter .newsletter-form {
  margin-top: 0;
  flex-direction: column;
}

.sidebar-newsletter .newsletter-form__input {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  background: var(--surface-container);
  border: 1px solid rgba(72, 71, 77, 0.3);
  font-size: 0.875rem;
}

.sidebar-newsletter .newsletter-form__btn {
  padding: 0.75rem;
  border-radius: var(--radius-xl);
  font-size: 0.8125rem;
}

/* =============================================================================
   ABOUT PAGE
   ============================================================================= */

.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0 3rem;
}

@media (min-width: 1024px) {
  .about-hero {
    grid-template-columns: 7fr 5fr;
  }
}

.about-hero__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.about-hero__title {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  text-shadow: 0 0 15px var(--primary-glow);
}

.about-hero__desc {
  color: var(--on-surface-variant);
  font-size: 1.25rem;
  line-height: 1.7;
  margin-top: 2rem;
  max-width: 640px;
}

.about-hero__image {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.7s ease;
}

.about-hero__image:hover img {
  transform: scale(1.1);
}

.about-hero__floating {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background: var(--surface-container-highest);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(72,71,77,0.1);
}

.about-hero__floating-year {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.about-hero__floating-text {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--on-surface-variant);
  margin-top: 0.25rem;
}

/* Stats bento */
.about-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .about-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: var(--surface-container-low);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.stat-card--large {
  min-height: 320px;
}

@media (min-width: 768px) {
  .stat-card--large {
    grid-column: span 2;
  }
}

.stat-card--gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--primary-on);
}

.stat-card__number {
  font-family: var(--font-headline);
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--primary-dim);
  line-height: 1;
}

.stat-card--gradient .stat-card__number {
  color: var(--primary-on);
}

.stat-card__label {
  font-family: var(--font-headline);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.stat-card__desc {
  font-size: 0.8125rem;
  color: var(--on-surface-variant);
  margin-top: 0.5rem;
}

.stat-card--gradient .stat-card__desc {
  color: var(--primary-on);
}

/* Team */
.team-section {
  padding: 5rem 0;
}

.team-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .team-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.team-member__image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
  background: var(--surface-container-low);
}

.team-member__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: all 0.5s ease;
}

.team-member:hover .team-member__image img {
  filter: grayscale(0%);
}

.team-member__image-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-member:hover .team-member__image-overlay {
  opacity: 1;
}

.team-member__name {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
}

.team-member__role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0.25rem;
}

/* Timeline */
.timeline-section {
  background: var(--surface-container-low);
  border-radius: var(--radius-xl);
  padding: 3rem;
  margin: 4rem 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .timeline-section {
    padding: 6rem;
  }
}

.timeline-glow {
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 24rem;
  height: 24rem;
  background: rgba(143, 245, 255, 0.05);
  filter: blur(120px);
  border-radius: 50%;
  pointer-events: none;
}

.timeline-title {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  text-align: center;
  margin-bottom: 5rem;
}

.timeline-events {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  position: relative;
}

.timeline-line {
  display: none;
}

@media (min-width: 768px) {
  .timeline-line {
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(72, 71, 77, 0.3);
  }
}

.timeline-event {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .timeline-event {
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
  }
}

.timeline-event__year {
  font-family: var(--font-headline);
  font-size: 1.875rem;
  font-weight: 700;
}

.timeline-event__title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.timeline-event__desc {
  color: var(--on-surface-variant);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 5rem 0 8rem;
}

.cta-section__heading {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  max-width: 800px;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

.btn-pulse {
  padding: 1.25rem 3rem;
  border-radius: var(--radius-full);
  font-family: var(--font-headline);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8125rem;
  transition: all 0.3s ease;
}

.btn-pulse--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-on);
  box-shadow: 0 8px 30px rgba(143, 245, 255, 0.2);
}

.btn-pulse--primary:hover {
  transform: scale(1.05);
}

.btn-pulse--outline {
  border: 1px solid rgba(72, 71, 77, 0.3);
  color: var(--on-surface);
}

.btn-pulse--outline:hover {
  background: var(--surface-bright);
}

/* =============================================================================
   CONTACT PAGE
   ============================================================================= */

.contact-hero {
  padding: 8rem 0 3rem;
}

.contact-hero__title {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.contact-hero__title .italic {
  font-style: italic;
  color: var(--primary);
}

.contact-hero__desc {
  color: var(--on-surface-variant);
  font-size: 1.25rem;
  margin-top: 1.5rem;
  max-width: 640px;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Contact form */
.contact-form-card {
  background: var(--surface-container-low);
  padding: 2rem;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .contact-form-card {
    padding: 3rem;
  }
}

.contact-form-card__glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(143, 245, 255, 0.05);
  filter: blur(120px);
  pointer-events: none;
}

.contact-form__heading {
  font-family: var(--font-headline);
  font-size: 1.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-form__heading-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--tertiary);
  animation: pulse-glow 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--tertiary-glow);
}

.contact-form__group {
  margin-bottom: 2rem;
}

.contact-form__label {
  display: block;
  font-family: var(--font-headline);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--on-surface-variant);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.contact-form__group:focus-within .contact-form__label {
  color: var(--primary);
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  background: var(--surface-container-highest);
  border: none;
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  font-family: var(--font-headline);
  font-size: 0.9375rem;
  color: var(--on-surface);
  outline: none;
  transition: box-shadow 0.3s ease;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  box-shadow: 0 0 15px rgba(143, 245, 255, 0.3);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: var(--outline-variant);
}

.contact-form__textarea {
  resize: none;
  min-height: 150px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .contact-form__row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 3rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--primary-on);
  font-family: var(--font-headline);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(143, 245, 255, 0.2);
}

.contact-form__submit:hover {
  transform: scale(1.05);
}

/* Contact sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-card {
  background: var(--surface-container-high);
  padding: 2rem;
  border-radius: var(--radius-xl);
  border-top: 1px solid rgba(255,255,255,0.03);
}

.contact-info-card__label {
  font-family: var(--font-headline);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.contact-info-card__heading {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
}

.contact-info-card__address {
  color: var(--on-surface-variant);
  margin-top: 0.75rem;
  line-height: 1.7;
}

.contact-info-card__links {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(72, 71, 77, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: color 0.3s ease;
}

.contact-info-link .material-symbols-outlined {
  color: var(--primary);
}

.contact-info-link:hover {
  color: var(--primary);
}

/* Social grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.social-grid__item {
  aspect-ratio: 1;
  background: var(--surface-container-highest);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-variant);
  transition: all 0.3s ease;
}

.social-grid__item:hover {
  background: rgba(143, 245, 255, 0.2);
  color: var(--primary);
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.site-footer {
  background: var(--surface-container-low);
  border-top: 1px solid rgba(72, 71, 77, 0.1);
}

.footer-inner {
  padding: 3rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-logo-text {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  color: #00F0FF;
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.footer-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: 1.5rem;
  max-width: 320px;
}

.footer-brand-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-container-highest);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-variant);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-brand-icon:hover {
  color: #8ff5ff;
  opacity: 1;
}

.footer-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface);
  margin-bottom: 1rem;
}

.footer-nav-list li a {
  display: block;
  padding: 0.375rem 0;
  color: #6b7280;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-nav-list li a:hover {
  color: #8ff5ff;
}

.footer-social-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #6b7280;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-social-link:hover {
  color: #8ff5ff;
}

.footer-social-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--surface-container-highest);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-desc {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(72, 71, 77, 0.1);
  padding: 1.5rem 2rem;
}

.footer-copyright {
  font-size: 0.75rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* =============================================================================
   BACK TO TOP
   ============================================================================= */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-on);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--primary-glow);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 50;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
}

/* =============================================================================
   COMMENTS
   ============================================================================= */

.comments-area {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(72, 71, 77, 0.1);
}

.comments-title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.comment-body {
  background: var(--surface-container);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(72, 71, 77, 0.1);
}

.comment-author {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.comment-meta {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  margin-bottom: 1rem;
}

/* Comment form */
.comment-form label {
  display: block;
  font-family: var(--font-headline);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface-variant);
  margin-bottom: 0.5rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  background: var(--surface-container-highest);
  border: none;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  color: var(--on-surface);
  outline: none;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

.comment-form .submit {
  background: var(--primary);
  color: var(--primary-on);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.75rem 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.comment-form .submit:hover {
  opacity: 0.9;
}

/* =============================================================================
   404 PAGE
   ============================================================================= */

.error-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
}

.error-404__code {
  font-family: var(--font-headline);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.error-404__title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 1rem;
}

.error-404__desc {
  color: var(--on-surface-variant);
  margin-top: 1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.error-404__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--primary-on);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: transform 0.2s ease;
}

.error-404__btn:hover {
  transform: scale(1.05);
}

/* =============================================================================
   ARCHIVE / SEARCH
   ============================================================================= */

.archive-header,
.search-header {
  padding: 8rem 0 3rem;
}

.archive-header__title,
.search-header__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.archive-header__desc,
.search-header__desc {
  color: var(--on-surface-variant);
  margin-top: 0.75rem;
  font-size: 1.125rem;
}

.archive-content {
  padding-bottom: 6rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(72, 71, 77, 0.1);
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--radius-lg);
  background: var(--surface-container);
  color: var(--on-surface-variant);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
  background: var(--surface-container-high);
  color: var(--on-surface);
}

.pagination .page-numbers.current {
  background: var(--primary);
  color: var(--primary-on);
}

/* =============================================================================
   BREADCRUMBS
   ============================================================================= */

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  margin-bottom: 2rem;
}

.breadcrumbs a:hover {
  color: var(--on-surface);
}

/* =============================================================================
   PAGE TEMPLATE
   ============================================================================= */

.page-content {
  padding: 8rem 0 5rem;
  max-width: 800px;
  margin: 0 auto;
}

.page-content__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }

  .header-inner {
    padding: 0.75rem 1rem;
  }

  .hero-section {
    height: 70vh;
    padding-top: 4rem;
  }

  .hero-heading {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
  }

  .hero-inner {
    padding-bottom: 2rem;
  }

  .hero-subtitle {
    font-size: 0.875rem;
    margin-top: 1rem;
  }

  .hero-cta {
    padding: 0.75rem 1.5rem;
    font-size: 0.8125rem;
  }

  .article-hero {
    padding-top: 4rem;
    min-height: 280px;
    max-height: 400px;
  }

  .article-hero__title {
    font-size: 1.25rem !important;
    line-height: 1.25 !important;
  }

  /* Trending mobile fixes */
  .section-trending,
  .section-reviews,
  .section-newsletter {
    padding: 2.5rem 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .see-all-link {
    font-size: 0.6875rem;
  }

  /* Bento grid mobile */
  .bento-grid {
    gap: 1rem;
  }

  .bento-card__title {
    font-size: 0.9375rem !important;
  }

  .bento-card--large .bento-card__content {
    padding: 1rem;
  }

  /* Reviews mobile */
  .reviews-grid {
    gap: 1.5rem;
  }

  .review-card__title {
    font-size: 1rem;
  }

  /* Editor's Choice mobile */
  .editors-choice {
    padding: 1.5rem;
  }

  .editors-choice__title {
    font-size: 1.5rem;
  }

  .editors-choice__thumb {
    width: 64px;
    height: 64px;
  }

  .editors-choice__item {
    gap: 1rem;
  }

  .editors-choice__item-title {
    font-size: 0.875rem;
  }

  /* Newsletter mobile */
  .newsletter-cta__heading {
    font-size: 1.5rem;
  }

  .newsletter-cta__desc {
    font-size: 0.9375rem;
  }

  /* Scroll video section */
  .scroll-video-section {
    height: 200vh;
  }

  /* FB toggle mobile */
  .fb-feed-toggle {
    width: 36px;
    height: 42px;
  }

  .fb-feed-toggle svg {
    width: 18px;
    height: 18px;
  }

  /* Back to top mobile */
  .back-to-top {
    width: 40px;
    height: 40px;
    bottom: 1rem;
    right: 1rem;
  }

  /* Footer mobile */
  .footer-grid {
    gap: 2rem;
  }

  .footer-copyright {
    font-size: 0.625rem;
  }

  .footer-copyright span {
    display: block;
    margin-left: 0 !important;
    margin-top: 0.25rem;
  }

  /* About page mobile */
  .about-hero {
    padding: 3rem 0 2rem;
  }

  .about-hero__title {
    font-size: 2rem;
  }

  .about-hero__desc {
    font-size: 1rem;
  }

  .about-stats {
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .stat-card__number {
    font-size: 2.5rem;
  }

  .stat-card--large {
    min-height: auto;
  }

  /* Contact mobile */
  .contact-hero__title {
    font-size: 2rem;
  }

  .contact-form-card {
    padding: 1.5rem;
  }

  /* Page content mobile */
  .page-content {
    padding: 5rem 0 3rem;
  }
}

/* Smooth scrolling anchor offset for fixed header */
:target {
  scroll-margin-top: 5rem;
}

/* =============================================================================
   WORDPRESS ALIGNMENT CLASSES
   ============================================================================= */

.alignwide {
  max-width: calc(100% + 4rem);
  margin-left: -2rem;
  margin-right: -2rem;
}

.alignfull {
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* WordPress caption */
.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.8125rem;
  color: var(--on-surface-variant);
  margin-top: 0.5rem;
  text-align: center;
}

/* WordPress gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.gallery-item img {
  border-radius: var(--radius-lg);
}

/* Screen reader text (WordPress) */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================================================
   FACEBOOK FEED SLIDE-OUT PANEL
   ============================================================================= */

/* Toggle button — fixed right edge, vertically centered */
.fb-feed-toggle {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  width: 48px;
  height: 56px;
  background: #1877F2;
  color: #fff;
  border: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: -4px 0 20px rgba(24, 119, 242, 0.4);
  transition: all 0.3s ease;
}

.fb-feed-toggle:hover {
  width: 56px;
  background: #166FE5;
  box-shadow: -6px 0 30px rgba(24, 119, 242, 0.6);
}

.fb-feed-toggle.active {
  opacity: 0;
  pointer-events: none;
}

/* Slide-out panel */
.fb-feed-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 90vw;
  z-index: 150;
  background: var(--surface-container);
  border-left: 1px solid rgba(72, 71, 77, 0.2);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
}

.fb-feed-panel[aria-hidden="false"] {
  transform: translateX(0);
}

.fb-feed-panel__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fb-feed-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(72, 71, 77, 0.15);
  flex-shrink: 0;
}

.fb-feed-panel__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 700;
}

.fb-feed-panel__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-variant);
  transition: all 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.fb-feed-panel__close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--on-surface);
}

.fb-feed-panel__content {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.fb-feed-panel__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 2rem 1rem;
  width: 100%;
}

.fb-feed-panel__page-name {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-surface);
  margin: 0;
}

.fb-feed-panel__page-info {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  margin: 0;
}

.fb-feed-panel__page-desc {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
  max-width: 280px;
  margin: 0;
}

.fb-feed-panel__visit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #1877F2;
  color: #fff;
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  font-weight: 700;
  transition: background 0.3s ease;
}

.fb-feed-panel__visit:hover {
  background: #166FE5;
}

.fb-feed-panel__follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  margin: 1rem 1.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: #1877F2;
  color: #fff;
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: background 0.3s ease;
  flex-shrink: 0;
}

.fb-feed-panel__follow:hover {
  background: #166FE5;
  color: #fff;
}

/* Backdrop overlay when panel is open (optional subtle darken) */
.fb-feed-panel[aria-hidden="false"]::before {
  content: '';
  position: fixed;
  inset: 0;
  right: 400px;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 767px) {
  .fb-feed-toggle {
    width: 40px;
    height: 48px;
  }

  .fb-feed-toggle:hover {
    width: 44px;
  }

  .fb-feed-panel {
    width: 100vw;
    max-width: 100vw;
  }

  .fb-feed-panel[aria-hidden="false"]::before {
    display: none;
  }
}

/* =============================================================================
   FRONT PAGE — ADDITIONAL / MISSING CLASSES
   ============================================================================= */

/* Hero: gradient span on heading */
.hero-heading__gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero heading on larger screens */
@media (min-width: 1024px) {
  .hero-heading {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
  }
}

/* Hero section max-height bump to match reference 921px */
.hero-section {
  max-height: 700px;
}

/* Hero actions wrapper */
.hero-actions {
  margin-top: 2.5rem;
}

/* Hero background placeholder (no image) */
.hero-bg__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0e0e13 0%, #19191f 100%);
}

/* Bento image placeholders */
.bento-card__image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: var(--surface-container-high);
}

/* Bento large title size override */
.bento-card__title--large {
  font-size: 1.75rem;
  line-height: 1.15;
}

/* Bento small title size override */
.bento-card__title--small {
  font-size: 1rem;
  margin-top: 1rem;
}

/* Section header variant for reviews (row on md+) */
.section-header--reviews {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .section-header--reviews {
    flex-direction: row;
    align-items: center;
  }
}

/* Review card body wrapper */
.review-card__body {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Review card image placeholder */
.review-card__image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface-container-high);
}

/* Reviews grid top spacing when header is present */
.section-reviews .reviews-grid {
  margin-top: 4rem;
}

/* Newsletter CTA wrapper (right column) */
.newsletter-cta {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Editor's choice: text sub-element */
.editors-choice__text {
  display: flex;
  flex-direction: column;
}

/* Editor's choice: thumb placeholder */
.editors-choice__thumb-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface-container-high);
}

/* =============================================================================
   NEWSLETTER PAGE
   ============================================================================= */

.newsletter-page-hero {
  text-align: center;
  padding: 3rem 0 2rem;
}

.newsletter-page-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--tertiary));
  margin-bottom: 1.5rem;
}

.newsletter-page-hero__icon .material-symbols-outlined {
  font-size: 2.5rem;
  color: var(--on-primary);
}

.newsletter-page-hero__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.newsletter-page-hero__desc {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.0625rem;
  color: var(--on-surface-variant);
  line-height: 1.6;
}

.newsletter-page-form-section {
  max-width: 600px;
  margin: 2rem auto 3rem;
}

.newsletter-page-card {
  position: relative;
  background: var(--surface-container);
  border: 1px solid rgba(72, 71, 77, 0.15);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  overflow: hidden;
}

.newsletter-page-card__glow {
  position: absolute;
  top: -40%;
  left: -20%;
  width: 140%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(var(--primary-rgb, 0, 255, 200), 0.06), transparent 70%);
  pointer-events: none;
}

.newsletter-page-card__heading {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.newsletter-page-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0 4rem;
}

.newsletter-benefit {
  text-align: center;
  padding: 1.5rem;
}

.newsletter-benefit__icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.newsletter-benefit__title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.newsletter-benefit__desc {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .newsletter-page-benefits {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .newsletter-page-card {
    padding: 1.5rem;
  }
}
