/* ========================================================
   Revista Espectáculos – Static Site Styles
   ======================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&display=swap');

/* --- Custom Properties --- */
:root {
  --magenta: #e11d74;
  --hot: #ff2d8a;
  --gold: #f5c542;
  --gold-soft: #ffe9a3;
  --ink: #0b0b0d;
  --ink-soft: #16141c;
  --paper: #f7f1e8;
  --paper-soft: #efe6d8;
  --font-sans: 'Outfit', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-w: 1280px;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; border: none; outline: none; background: none; color: inherit; }
button { cursor: pointer; }

::selection {
  background: var(--magenta);
  color: #fff;
}

/* --- Utility Classes --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1rem; }
@media (min-width: 1024px) { .container { padding: 0 1.5rem; } }

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

.font-display { font-family: var(--font-display), Georgia, serif; }
.text-gold { color: var(--gold); }
.text-magenta { color: var(--magenta); }
.text-paper { color: var(--paper); }

.gold-line {
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  height: 1px;
}

/* --- Animations --- */
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes glint {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.animate-fade-up { animation: fadeUp 0.7s ease both; }
.animate-fade-up-d1 { animation-delay: 0.1s; }
.animate-fade-up-d2 { animation-delay: 0.2s; }
.animate-fade-up-d3 { animation-delay: 0.3s; }

/* --- Magazine Grid Background --- */
.magazine-grid {
  background-image:
    linear-gradient(rgba(245, 197, 66, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 197, 66, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* --- Logo --- */
.logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.logo-icon {
  position: relative; overflow: hidden;
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%; background: var(--magenta);
  color: var(--gold); box-shadow: 0 0 24px rgba(225,29,116,0.45);
  font-family: var(--font-display); font-weight: 900; font-size: 1rem;
  letter-spacing: -0.02em;
}
.logo-icon::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.18) 48%, transparent 62%);
  transform: translateX(-120%); animation: glint 5.5s ease-in-out infinite;
}
.logo-text { display: flex; flex-direction: column; }
.logo-text-main {
  font-family: var(--font-display); font-size: 1.35rem; line-height: 1;
  font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--paper);
}
.logo-text-sub {
  margin-top: 0.25rem; font-size: 0.62rem;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold);
}

/* --- Header / Navbar --- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(11,11,13,0.9);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.site-header .container {
  display: flex; align-items: center; gap: 1rem;
  padding-top: 0.75rem; padding-bottom: 0.75rem;
}
.site-nav {
  display: none; flex: 1; justify-content: center; gap: 0.25rem;
  align-items: center;
}
@media (min-width: 1280px) { .site-nav { display: flex; } }

.site-nav a {
  padding: 0.375rem 0.75rem; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; transition: all 0.2s;
  color: rgba(247,241,232,0.7);
}
.site-nav a:hover, .site-nav a.active {
  background: var(--magenta); color: #fff;
}
.site-nav a:hover:not(.active) {
  background: rgba(255,255,255,0.05); color: var(--gold);
}

/* Header Search */
.header-search {
  margin-left: auto; display: none; align-items: center;
}
@media (min-width: 1024px) { .header-search { display: flex; } }
.header-search input {
  width: 16rem; padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-full) 0 0 var(--radius-full);
  background: rgba(255,255,255,0.05); font-size: 0.875rem; color: var(--paper);
}
@media (min-width: 1280px) { .header-search input { width: 16rem; } }
.header-search input::placeholder { color: rgba(247,241,232,0.4); }
.header-search input:focus { border-color: var(--gold); }
.header-search button {
  padding: 0.5rem 1rem; border-radius: 0 var(--radius-full) var(--radius-full) 0;
  background: var(--gold); font-size: 0.875rem; font-weight: 700; color: var(--ink);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  margin-left: auto;
  padding: 0.5rem 0.75rem; border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
}
@media (min-width: 1280px) { .mobile-menu-btn { display: none; } }

/* Mobile Nav */
.mobile-nav {
  display: none; border-top: 1px solid rgba(255,255,255,0.1);
  background: var(--ink-soft); padding: 1rem;
}
.mobile-nav.open { display: block; }
.mobile-nav-search { display: flex; margin-bottom: 1rem; }
.mobile-nav-search input {
  flex: 1; padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-full) 0 0 var(--radius-full);
  background: rgba(255,255,255,0.05); font-size: 0.875rem;
}
.mobile-nav-search button {
  padding: 0.5rem 1rem; border-radius: 0 var(--radius-full) var(--radius-full) 0;
  background: var(--gold); font-weight: 700; color: var(--ink);
}
.mobile-nav-links { display: grid; gap: 0.5rem; }
.mobile-nav-links a {
  display: block; padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 0.75rem;
  font-size: 0.875rem; letter-spacing: 0.14em; text-transform: uppercase;
  transition: border-color 0.2s;
}
.mobile-nav-links a:hover { border-color: var(--gold); }

/* --- Breaking Ticker --- */
.breaking-ticker {
  position: relative; overflow: hidden;
  border-bottom: 1px solid rgba(245,197,66,0.3);
  background: var(--magenta);
}
.ticker-label {
  position: absolute; top: 0; bottom: 0; left: 0; z-index: 10;
  display: flex; align-items: center;
  background: var(--ink); padding: 0 0.75rem;
  font-size: 0.65rem; font-weight: 900; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
@media (min-width: 640px) { .ticker-label { padding: 0 1rem; } }
.ticker-track {
  display: flex; width: max-content;
  animation: ticker 38s linear infinite;
  padding: 0.5rem 0 0.5rem 6rem;
}
@media (min-width: 640px) { .ticker-track { padding-left: 7rem; } }
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  white-space: nowrap; padding: 0 1.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.03em;
  color: rgba(255,255,255,0.95);
}
.ticker-item:hover { color: var(--gold); }
.ticker-sep { color: var(--gold); padding: 0 1.5rem; }

/* --- Hero Carousel --- */
.hero-carousel {
  position: relative; overflow: hidden; background: var(--ink);
  min-height: 78vh;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.7s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay-l {
  position: absolute; inset: 0;
  background: linear-gradient(to right, var(--ink), rgba(11,11,13,0.8), rgba(11,11,13,0.2));
}
.hero-overlay-b {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink), transparent, rgba(11,11,13,0.3));
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 78vh; padding: 3rem 1rem;
}
.hero-label {
  margin-bottom: 1rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.35em;
  text-transform: uppercase; color: var(--gold);
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.hero-tag {
  padding: 0.25rem 0.75rem; border-radius: var(--radius-full);
  font-size: 0.65rem; font-weight: 900; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink);
}
.hero-tag-loc {
  padding: 0.25rem 0.75rem; border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-display); max-width: 56rem;
  font-size: 2.5rem; line-height: 1.05; font-weight: 900; color: #fff;
}
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
.hero-excerpt {
  margin-top: 1.25rem; max-width: 42rem;
  font-size: 1rem; line-height: 1.6; color: rgba(247,241,232,0.8);
}
@media (min-width: 640px) { .hero-excerpt { font-size: 1.125rem; } }
.hero-meta {
  margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem; font-size: 0.875rem; color: rgba(247,241,232,0.7);
}
.hero-meta .dot { color: var(--gold); }
.hero-cta {
  display: inline-flex; width: fit-content; align-items: center;
  margin-top: 2rem; padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full); background: var(--magenta);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: #fff;
  box-shadow: 0 12px 40px rgba(225,29,116,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(225,29,116,0.55); }

/* Hero Dots & Nav */
.hero-nav {
  margin-top: 2.5rem; display: flex; align-items: center; gap: 0.75rem;
}
.hero-nav-btn {
  padding: 0.5rem 0.75rem; border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  transition: border-color 0.2s;
}
.hero-nav-btn:hover { border-color: var(--gold); color: var(--gold); }
.hero-dot {
  height: 0.5rem; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.4); border: none; cursor: pointer;
  transition: all 0.3s;
}
.hero-dot.active { width: 2.5rem; background: var(--gold); }
.hero-dot:not(.active) { width: 0.5rem; }

/* --- Section Titles --- */
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--gold);
}
.section-title {
  font-family: var(--font-display); margin-top: 0.5rem;
  font-size: 2.5rem; font-weight: 900; color: var(--paper);
}

/* --- Two Column Grid (Featured + Sidebar) --- */
.featured-grid {
  display: grid; gap: 1.5rem; padding: 3.5rem 0;
}
@media (min-width: 1024px) {
  .featured-grid { grid-template-columns: 1.6fr 0.9fr; }
}

/* --- Article Card --- */
.article-card {
  overflow: hidden; border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.1); background: var(--ink-soft);
  transition: border-color 0.3s;
}
.article-card:hover { border-color: rgba(245,197,66,0.3); }
.article-card a { display: block; }
.article-card-img {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
}
.article-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s;
}
.article-card:hover .article-card-img img { transform: scale(1.05); }
.article-card-img .overlay-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink), transparent, transparent);
}
.article-card-tags {
  position: absolute; top: 0.75rem; left: 0.75rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.article-card-tag {
  padding: 0.25rem 0.625rem; border-radius: var(--radius-full);
  font-size: 0.62rem; font-weight: 900; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink);
}
.article-card-tag-breaking {
  padding: 0.25rem 0.625rem; border-radius: var(--radius-full);
  background: #fff; font-size: 0.62rem; font-weight: 900;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--magenta);
}
.article-card-body { padding: 1.25rem; }
.article-card-meta {
  font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
}
.article-card-title {
  font-family: var(--font-display); margin-top: 0.5rem;
  font-weight: 700; font-size: 1.25rem; color: #fff;
  transition: color 0.2s;
}
.article-card:hover .article-card-title { color: var(--gold); }
.article-card-title.featured-title { font-size: 1.875rem; }
.article-card-excerpt {
  margin-top: 0.75rem;
  font-size: 0.875rem; line-height: 1.6; color: rgba(247,241,232,0.7);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-card-footer {
  margin-top: 1rem; display: flex; align-items: center;
  justify-content: space-between; font-size: 0.75rem;
  color: rgba(247,241,232,0.5);
}
.article-card-grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .article-card-grid { grid-template-columns: 1fr 1fr; } }

/* Featured card spans 2 cols */
.article-card.featured-card { grid-column: 1 / -1; }
@media (min-width: 640px) { .article-card.featured-card .article-card-img { aspect-ratio: 16/9; } }

/* --- Sidebar (Trending) --- */
.sidebar-trending {
  border-radius: 1.5rem;
  border: 1px solid rgba(245,197,66,0.2);
  background: var(--ink-soft); padding: 1.5rem;
}
.trending-list { margin-top: 1.5rem; display: grid; gap: 1.25rem; }
.trending-item { display: flex; gap: 1rem; align-items: flex-start; }
.trending-num {
  font-family: var(--font-display); font-size: 1.875rem;
  font-weight: 900; color: var(--magenta); line-height: 1;
}
.trending-item-title {
  display: block; font-size: 0.875rem; font-weight: 600; color: #fff;
  transition: color 0.2s;
}
.trending-item:hover .trending-item-title { color: var(--gold); }
.trending-item-meta {
  display: block; margin-top: 0.25rem;
  font-size: 0.75rem; color: rgba(247,241,232,0.5);
}

/* --- News Feed Section --- */
.news-feed-header {
  display: flex; flex-direction: column; gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 1024px) {
  .news-feed-header { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.filter-row {
  display: flex; gap: 0.5rem; overflow-x: auto;
  padding-bottom: 0.5rem; -ms-overflow-style: none; scrollbar-width: none;
}
.filter-row::-webkit-scrollbar { display: none; }

.filter-chip {
  flex-shrink: 0; padding: 0.5rem 1rem; border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: rgba(247,241,232,0.7);
  transition: all 0.2s; cursor: pointer;
}
.filter-chip:hover { border-color: var(--gold); color: var(--gold); }
.filter-chip.active {
  border-color: transparent; color: var(--ink);
  background: var(--gold);
}
.filter-chip.active[style*="background-color"] {
  color: var(--ink);
}

.articles-grid {
  display: grid; gap: 1.5rem;
}
@media (min-width: 640px) { .articles-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .articles-grid { grid-template-columns: 1fr 1fr 1fr; } }

/* --- Photo Mosaic --- */
.photo-mosaic {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
@media (min-width: 768px) { .photo-mosaic { grid-template-columns: repeat(4, 1fr); } }

.photo-item {
  position: relative; overflow: hidden; border-radius: 1rem;
  cursor: pointer; min-height: 10rem;
}
.photo-item.large {
  grid-column: 1 / -1; min-height: 18rem;
}
@media (min-width: 768px) { .photo-item.large { grid-column: span 2; grid-row: span 2; min-height: auto; } }
.photo-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.photo-item:hover img { transform: scale(1.05); }
.photo-item .photo-caption {
  position: absolute; inset-x: 0; bottom: 0;
  background: linear-gradient(to top, var(--ink), transparent);
  padding: 0.75rem; font-size: 0.75rem; color: #fff;
}

/* Photo Lightbox */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: rgba(0,0,0,0.8); padding: 1rem;
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-content {
  position: relative; max-width: 56rem; width: 100%;
  max-height: 86vh; overflow: hidden;
  border-radius: 1.5rem; background: var(--ink);
}
.lightbox-content img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.lightbox-caption { padding: 1.25rem; }
.lightbox-caption .caption-text {
  font-family: var(--font-display); font-size: 1.5rem; color: var(--paper);
}
.lightbox-caption .credit-text {
  margin-top: 0.5rem; font-size: 0.875rem; color: rgba(247,241,232,0.6);
}
.lightbox-caption .link-text {
  margin-top: 0.75rem; display: inline-block;
  font-size: 0.875rem; color: var(--gold);
}
.lightbox-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  padding: 0.25rem 0.75rem; border-radius: var(--radius-full);
  background: rgba(11,11,13,0.8); font-size: 0.75rem; text-transform: uppercase;
}

/* --- Newsletter Banner --- */
.newsletter-banner {
  position: relative; overflow: hidden; margin: 2.5rem 0;
  border-radius: 2rem;
}
.newsletter-banner-inner {
  position: relative; overflow: hidden;
  border-radius: 2rem;
  padding: 3rem 1.5rem; color: var(--ink);
  background: var(--gold);
}
.newsletter-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  display: none;
}
.newsletter-banner-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.008 0.012' numOctaves='8' seed='15' stitchTiles='stitch' result='noise'/%3E%3CfeColorMatrix in='noise' type='matrix' values='0 0 0 0 0.72  0 0 0 0 0.55  0 0 0 0 0.15  0 0 0 1 0' result='gold'/%3E%3CfeComponentTransfer in='gold'%3E%3CfeFuncR type='linear' slope='2.5' intercept='-0.5'/%3E%3CfeFuncG type='linear' slope='2.2' intercept='-0.4'/%3E%3CfeFuncB type='linear' slope='1.8' intercept='-0.3'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E") center/cover;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.newsletter-banner-inner::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 45% 100% at 100% 40%, rgba(218,135,50,0.55) 0%, rgba(210,125,45,0.3) 30%, transparent 60%),
    radial-gradient(ellipse 30% 60% at 90% 70%, rgba(205,115,40,0.35) 0%, transparent 50%),
    radial-gradient(ellipse 50% 35% at 20% 25%, rgba(250,230,160,0.2) 0%, transparent 45%);
  pointer-events: none;
}
@media (min-width: 640px) { .newsletter-banner-inner { padding: 3rem 3rem; } }
.newsletter-banner-grid {
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 1024px) { .newsletter-banner-grid { grid-template-columns: 1.4fr 1fr; } }
.newsletter-banner .section-label { color: var(--ink); }
.newsletter-banner .section-title { color: var(--ink); margin-top: 0.75rem; font-size: 2.5rem; }
.newsletter-banner-desc {
  margin-top: 0.75rem; max-width: 36rem;
  font-size: 0.875rem; color: rgba(11,11,13,0.7);
}
.newsletter-form { display: grid; gap: 0.75rem; width: 100%; }
@media (min-width: 640px) { .newsletter-form { grid-template-columns: 1fr auto; } }
.newsletter-form input {
  width: 100%; padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(11,11,13,0.15);
  background: #fff; color: var(--ink);
  font-size: 0.875rem;
}
.newsletter-form input::placeholder { color: rgba(11,11,13,0.4); }
.newsletter-form button {
  padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
  background: var(--ink); color: var(--gold);
  font-size: 0.875rem; font-weight: 900; letter-spacing: 0.16em;
  text-transform: uppercase; transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--ink-soft); }
.newsletter-form-msg { grid-column: 1 / -1; font-size: 0.875rem; color: var(--ink); }

/* Dark variant of newsletter form (for footer) */
.newsletter-form-dark { display: grid; gap: 0.75rem; width: 100%; }
.newsletter-form-dark input {
  width: 100%; padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05); color: var(--paper);
  font-size: 0.875rem;
}
.newsletter-form-dark input::placeholder { color: rgba(247,241,232,0.4); }
.newsletter-form-dark button {
  padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
  background: var(--gold); color: var(--ink);
  font-size: 0.875rem; font-weight: 900; letter-spacing: 0.16em;
  text-transform: uppercase;
}
.newsletter-form-dark .newsletter-form-msg { color: var(--gold); }

/* --- Footer --- */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.1); background: var(--ink-soft);
}
.footer-grid {
  display: grid; gap: 2.5rem; padding: 3.5rem 0;
}
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-desc {
  margin-top: 1.25rem; max-width: 28rem;
  font-size: 0.875rem; line-height: 1.6; color: rgba(247,241,232,0.7);
}
.footer-section-title {
  font-size: 0.75rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
.footer-links { margin-top: 1rem; display: grid; gap: 0.5rem; }
.footer-links a {
  font-size: 0.875rem; color: rgba(247,241,232,0.75);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  padding: 1.25rem; text-align: center;
  font-size: 0.75rem; color: rgba(247,241,232,0.4);
}

/* --- Article Page --- */
.article-hero {
  position: relative; overflow: hidden;
  min-height: 52vh; background: var(--ink);
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--ink), rgba(11,11,13,0.3));
}
.article-hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 52vh; padding: 3rem 0;
}

.article-body {
  max-width: 48rem; margin: 0 auto; padding: 0 1.125rem 4rem;
}
@media (min-width: 1024px) { .article-body { padding: 0 1.5rem 4rem; } }

.article-content {
  margin-top: 2rem;
  font-size: 1.125rem; line-height: 1.9; color: rgba(247,241,232,0.85);
}
.article-content p { margin-bottom: 1.5rem; }

@media (max-width: 639px) {
  .article-hero { min-height: 46vh; }
  .article-hero-content { min-height: 46vh; padding: 2rem 1rem; }
  .article-body { padding-left: 1.125rem; padding-right: 1.125rem; }
  .article-content { font-size: 1.0625rem; line-height: 1.72; }
}

.article-gallery {
  margin-top: 3rem; display: grid; gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
.gallery-item {
  position: relative; overflow: hidden;
  border-radius: 1rem; cursor: pointer;
}
.gallery-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .gallery-caption {
  position: absolute; bottom: 0; inset-x: 0;
  background: linear-gradient(to top, var(--ink), transparent);
  padding: 0.75rem; font-size: 0.75rem; color: #fff;
}

/* --- Share Buttons --- */
.share-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.share-btn {
  padding: 0.5rem 0.75rem; border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  transition: all 0.2s;
}
.share-btn:hover { border-color: var(--gold); color: var(--gold); }

/* --- Page Header (generic) --- */
.page-header { padding: 3.5rem 0 0; }
.page-header .section-title { font-size: 3rem; }
.page-subtitle {
  margin-top: 1.25rem; max-width: 40rem;
  font-size: 1rem; color: rgba(247,241,232,0.7);
}

/* --- Search Page --- */
.search-form { margin-top: 2rem; display: flex; max-width: 36rem; }
.search-form input {
  flex: 1; padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full) 0 0 var(--radius-full);
  border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.05);
  font-size: 0.875rem; color: var(--paper);
}
.search-form input:focus { border-color: var(--gold); }
.search-form button {
  padding: 0.75rem 1.5rem; border-radius: 0 var(--radius-full) var(--radius-full) 0;
  background: var(--gold); font-size: 0.875rem; font-weight: 900; color: var(--ink);
  text-transform: uppercase;
}
.search-results { margin-top: 2.5rem; }
.no-results {
  margin-top: 2.5rem; padding: 2.5rem;
  border: 1px solid rgba(255,255,255,0.1); border-radius: 1.5rem;
  color: rgba(247,241,232,0.7);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid; gap: 2.5rem; padding: 3.5rem 0;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-form { display: grid; gap: 1rem; }
.form-field label {
  display: grid; gap: 0.5rem; font-size: 0.875rem; color: var(--paper);
}
.form-field input, .form-field textarea {
  padding: 0.75rem 1rem; border-radius: 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  font-size: 0.875rem; color: var(--paper);
  transition: border-color 0.2s;
}
.form-field input:focus, .form-field textarea:focus { border-color: var(--gold); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-submit {
  padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
  background: var(--magenta); color: #fff;
  font-size: 0.875rem; font-weight: 900; letter-spacing: 0.16em;
  text-transform: uppercase; transition: background 0.2s;
}
.form-submit:hover { background: var(--hot); }

/* --- About Page --- */
.about-grid {
  display: grid; gap: 1.5rem;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr 1fr; } }
.about-card {
  border-radius: 1.5rem; border: 1px solid rgba(255,255,255,0.1); padding: 1.5rem;
}
.about-card h2 { font-family: var(--font-display); font-size: 1.5rem; }
.about-card p { margin-top: 0.75rem; font-size: 0.875rem; color: rgba(247,241,232,0.7); }

/* --- Skeleton Loading --- */
.skeleton {
  animation: pulse 1.5s infinite;
  border-radius: 1.5rem; background: rgba(255,255,255,0.05);
  height: 20rem;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* --- Not Found --- */
.not-found {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-height: 60vh; text-align: center; padding: 4rem 1rem;
}
.not-found h1 { font-family: var(--font-display); font-size: 6rem; font-weight: 900; color: var(--magenta); }
.not-found p { margin-top: 1rem; color: rgba(247,241,232,0.7); }
.not-found a {
  margin-top: 2rem; display: inline-block;
  padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
  background: var(--gold); color: var(--ink);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em;
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* --- Helpers --- */
.hidden { display: none !important; }
.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; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-paper\/50 { color: rgba(247,241,232,0.5); }
.text-paper\/60 { color: rgba(247,241,232,0.6); }
.text-paper\/70 { color: rgba(247,241,232,0.7); }
.text-paper\/75 { color: rgba(247,241,232,0.75); }
.text-paper\/80 { color: rgba(247,241,232,0.8); }
.text-paper\/40 { color: rgba(247,241,232,0.4); }
.text-white { color: #fff; }
.text-ink { color: var(--ink); }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.rounded-full { border-radius: 9999px; }
.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
