/* ==========================================================================
   VIDEOS FROM SANTA - NEWS/EDITORIAL STYLESHEET
   Warm Editorial Theme — Festive but Premium
   ========================================================================== */

@import url('variables.css');

/* ==========================================================================
   BASE
   ========================================================================== */

* {
  box-sizing: border-box;
}

body {
  background: var(--bg-page);
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--text-body);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-family-heading);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.header-nav a:hover {
  color: var(--cta);
}

.header-cta {
  background: var(--cta);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.header-cta:hover {
  background: var(--cta-dark);
  color: var(--white);
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero-editorial {
  background: linear-gradient(135deg, #1e3a5f 0%, #0f2744 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-editorial::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 50px 50px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-editorial .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  border: 1px solid rgba(232, 167, 38, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
  background: rgba(232, 167, 38, 0.1);
}

.hero-editorial h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--white);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.7);
  max-width: 500px;
  margin: 0 auto;
}

/* ==========================================================================
   FEATURED SECTION
   ========================================================================== */

.section-featured {
  padding: 3rem 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2.5rem;
}

@media (max-width: 991px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
}

/* Main Featured Article */
.featured-main {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
}

.featured-main:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.featured-main-link {
  display: block;
}

.featured-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.featured-main-content {
  padding: 1.75rem;
}

.featured-main-content h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

.read-time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.read-time svg {
  width: 14px;
  height: 14px;
  opacity: 0.7;
}

.article-date {
  color: var(--cta);
  font-weight: 600;
}

/* Sidebar */
.featured-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-section {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-heading {
  font-family: var(--font-family-base);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.quick-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quick-links li {
  margin-bottom: 1rem;
}

.quick-links li:last-child {
  margin-bottom: 0;
}

.quick-links a {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: color 0.2s;
}

.quick-links a:hover {
  color: var(--cta);
}

.quick-link-number {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-300);
  line-height: 1;
  min-width: 28px;
}

.quick-link-title {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Sidebar CTA */
.sidebar-cta {
  background: var(--bg-dark);
  border-radius: 12px;
  padding: 1.75rem;
  text-align: center;
}

.sidebar-cta-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.sidebar-cta h4 {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.sidebar-cta p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
}

.sidebar-cta-btn {
  display: block;
  background: var(--cta);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.sidebar-cta-btn:hover {
  background: var(--cta-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================================================
   ARTICLE CATEGORIES
   ========================================================================== */

.article-category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.category-emotional {
  background: rgba(183, 31, 34, 0.1);
  color: var(--cta);
}

.category-letters {
  background: rgba(61, 123, 243, 0.1);
  color: var(--info);
}

.category-personalization {
  background: var(--gold-light);
  color: var(--gold-dark);
}

.category-tradition {
  background: var(--indigo-light);
  color: var(--indigo);
}

.category-trending {
  background: rgba(151, 25, 28, 0.1);
  color: #a01f22;
}

/* ==========================================================================
   HORIZONTAL FEATURE
   ========================================================================== */

.section-horizontal {
  padding: 2rem 0 3rem;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .horizontal-card {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.horizontal-image {
  aspect-ratio: 4/3;
}

.horizontal-content {
  padding: 2rem;
}

@media (max-width: 768px) {
  .horizontal-content {
    padding: 1.5rem;
  }
}

.horizontal-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.btn-read-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--cta);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.btn-read-more:hover {
  color: var(--cta);
  border-color: var(--cta);
}

/* ==========================================================================
   CATEGORY SECTIONS
   ========================================================================== */

.section-category {
  padding: 3rem 0;
}

.section-header-alt {
  margin-bottom: 2rem;
}

.section-header-alt h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 0.95rem;
}

.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .card-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .card-row {
    grid-template-columns: 1fr;
  }
}

/* Vertical Card with Image */
.card-vertical {
  background: var(--bg-card);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card-vertical:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-vertical a {
  display: block;
}

.card-image {
  aspect-ratio: 16/10;
}

.card-content {
  padding: 1.25rem;
}

.card-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* Text-only Card */
.card-text {
  background: var(--bg-card);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
  border: 1px solid transparent;
}

.card-text:hover {
  border-color: var(--border-color);
  box-shadow: var(--shadow-md);
}

.card-text a {
  display: block;
}

.card-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.card-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   DARK FEATURE BAND
   ========================================================================== */

.section-dark-feature {
  background: var(--bg-dark);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.section-dark-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 50%, rgba(183, 31, 34, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 50%, rgba(232, 167, 38, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.dark-feature-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .dark-feature-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.dark-feature-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.dark-feature-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.btn-light {
  display: inline-block;
  background: var(--white);
  color: var(--bg-dark);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-light:hover {
  background: var(--gray-100);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.dark-feature-image {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
}

/* ==========================================================================
   TRENDING SECTION
   ========================================================================== */

.section-trending {
  padding: 3rem 0;
}

.trending-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .trending-grid {
    grid-template-columns: 1fr;
  }
}

/* Main Trending Card */
.trending-main {
  grid-row: span 3;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s;
}

.trending-main:hover {
  transform: translateY(-4px);
}

.trending-main a {
  display: block;
}

.trending-image {
  aspect-ratio: 16/10;
}

.trending-content {
  padding: 1.5rem;
}

.trending-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.trending-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* Small Trending Cards */
.trending-small {
  background: var(--bg-card);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.trending-small:hover {
  box-shadow: var(--shadow-md);
}

.trending-small a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
}

.trending-number {
  font-family: var(--font-family-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-300);
  min-width: 40px;
}

.trending-small h5 {
  font-family: var(--font-family-base);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

/* ==========================================================================
   MORE SECTION
   ========================================================================== */

.section-more {
  padding: 3rem 0;
}

.more-heading {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.more-list {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.more-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
}

.more-item:last-child {
  border-bottom: none;
}

.more-item:hover {
  background: var(--bg-page);
}

@media (max-width: 576px) {
  .more-item {
    grid-template-columns: 1fr auto;
  }

  .more-category {
    display: none;
  }
}

.more-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.more-title {
  font-weight: 500;
  color: var(--text-dark);
}

.more-time {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ==========================================================================
   FINAL CTA
   ========================================================================== */

.section-final-cta {
  padding: 4rem 0;
}

.final-cta-box {
  background: linear-gradient(135deg, var(--cta) 0%, var(--cta-dark) 100%);
  border-radius: 16px;
  padding: 3.5rem 2rem;
  text-align: center;
}

.final-cta-box h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.final-cta-box p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.final-cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--cta);
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.final-cta-btn:hover {
  background: #f0f0f0;
  color: var(--cta);
  transform: translateY(-2px);
}

.final-cta-note {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--bg-dark);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer-logo {
  height: 32px;
  width: auto;
}

.footer-links-col h5 {
  font-family: var(--font-family-base);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer-links-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.6rem;
  transition: color 0.2s;
}

.footer-links-col a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

/* ==========================================================================
   MODAL
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: var(--bg-card);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-size: 1.25rem;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--text-dark);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 60vh;
}

.modal-body h2 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-body h2:first-child {
  margin-top: 0;
}

.modal-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   PLACEHOLDER IMAGES
   ========================================================================== */

.placeholder-image {
  background: linear-gradient(135deg, #f5f0e8 0%, #ebe5db 50%, #e8e2d8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.placeholder-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(183, 31, 34, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(61, 123, 243, 0.06) 0%, transparent 50%);
}

.placeholder-dark {
  background: var(--bg-dark);
}

.placeholder-dark .placeholder-text {
  color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.2);
}

.placeholder-dark .placeholder-icon {
  opacity: 0.4;
}

.placeholder-sm {
  aspect-ratio: 16/10;
}

.placeholder-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
  max-width: 90%;
}

.placeholder-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
  opacity: 0.4;
}

.placeholder-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
  margin: 0;
  background: rgba(255,255,255,0.6);
  padding: 0.75rem;
  border-radius: 6px;
}

/* ==========================================================================
   ARTICLE PAGE LAYOUT
   ========================================================================== */

.article-wrapper {
  min-height: 100vh;
  background: var(--bg-page);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

@media (max-width: 991px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.article-content {
  min-width: 0;
}

.article-content article {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 576px) {
  .article-content article {
    padding: 1.5rem;
  }
}

.article-content h1 {
  font-family: var(--font-family-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.article-content h2 {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.article-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-content li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 0.5rem;
}

.article-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

@media (max-width: 991px) {
  .article-sidebar {
    position: static;
  }
}

/* Back Button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.back-button:hover {
  color: var(--cta);
}

.back-button::before {
  content: '←';
}

/* CTA Button (inline in articles) */
.cta-btn {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-align: center;
  margin: 1.5rem 0;
  transition: all 0.2s;
  box-shadow: var(--shadow-cta);
}

.cta-btn:hover {
  background: var(--cta-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}

/* ==========================================================================
   END CTA BANNER
   ========================================================================== */

.end-cta-banner {
  background: var(--bg-dark);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.end-cta-heading {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.end-cta-banner .end-cta-text {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.end-cta-button {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 8px;
  transition: all 0.2s;
  box-shadow: var(--shadow-cta);
}

.end-cta-button:hover {
  background: var(--cta-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ==========================================================================
   FLOATING BAR
   ========================================================================== */

#floating-bar-slot {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

#floating-bar-slot.visible {
  transform: translateY(0);
}

.floating-bar-inner {
  background: var(--bg-dark);
  padding: 1rem 1.5rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.floating-bar-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.floating-bar-text {
  flex: 1;
  min-width: 0;
}

.floating-bar-heading {
  font-family: var(--font-family-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.floating-bar-subtext {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.floating-bar-button {
  display: inline-block;
  background: var(--cta);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s;
}

.floating-bar-button:hover {
  background: var(--cta-dark);
  color: #fff;
}

.floating-bar-close {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  transition: color 0.2s;
}

.floating-bar-close:hover {
  color: #fff;
}

@media (max-width: 576px) {
  .floating-bar-content {
    flex-wrap: wrap;
  }

  .floating-bar-text {
    flex: 1 1 100%;
    text-align: center;
  }

  .floating-bar-button {
    flex: 1;
  }

  .floating-bar-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }

  .floating-bar-inner {
    position: relative;
    padding-top: 2rem;
  }
}

/* ==========================================================================
   FOOTER MODAL (for footer-modal.js)
   ========================================================================== */

.footer-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.footer-modal-overlay.active {
  display: flex;
}

.footer-modal-content {
  background: var(--bg-card);
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.footer-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.footer-modal-title {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
}

.footer-modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  padding: 0;
}

.footer-modal-close:hover {
  color: var(--text-dark);
}

.footer-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 60vh;
}

.footer-modal-body h2 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-modal-body h2:first-child {
  margin-top: 0;
}

.footer-modal-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   HEADER COMPONENT (with countdown)
   ========================================================================== */

.header-countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(183, 31, 34, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.countdown-icon {
  font-size: 1rem;
}

.countdown-text {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.countdown-timer {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cta);
  font-family: var(--font-family-mono, monospace);
}

@media (max-width: 576px) {
  .countdown-text {
    display: none;
  }
}

/* ==========================================================================
   FOOTER COMPONENT STYLES
   ========================================================================== */

.footer__media-badges {
  text-align: center;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__media-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer__media-logo {
  height: 24px;
  width: auto;
  opacity: 0.6;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}

.footer__media-logo:hover {
  opacity: 1;
}

.footer__links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer__link {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}

.footer__link:hover {
  color: #fff;
}

.footer__divider {
  color: rgba(255,255,255,0.3);
}

.footer__copy {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   COMPONENT SLOT UTILITY
   ========================================================================== */

.component-slot {
  /* Empty slots take no space */
}

/* Widget inline containers */
.nlw-sidebar,
.spw-inline {
  margin: 1.5rem 0;
}

/* ==========================================================================
   ARTICLE CARDS SECTION (Index Page)
   ========================================================================== */

.section-articles {
  padding: 3rem 0;
}

.section-heading {
  font-family: var(--font-family-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.article-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .article-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .article-cards {
    grid-template-columns: 1fr;
  }
}

.article-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border: 1px solid var(--border-light);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-color);
}

.article-card .card-category {
  align-self: flex-start;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.article-card h3 {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.article-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.article-card .card-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ==========================================================================
   CTA BANNER SECTION (Index Page)
   ========================================================================== */

.section-cta-banner {
  padding: 2rem 0 4rem;
}

.cta-banner-box {
  background: var(--bg-dark);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
}

.cta-banner-box h2 {
  font-family: var(--font-family-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-banner-box p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.5rem;
}

.cta-banner-btn {
  display: inline-block;
  background: var(--cta);
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 8px;
  transition: all 0.2s;
  box-shadow: var(--shadow-cta);
}

.cta-banner-btn:hover {
  background: var(--cta-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}

/* ==========================================================================
   MORE STORIES SECTION (Index Page)
   ========================================================================== */

.section-more-stories {
  padding: 0 0 2rem;
}

.more-stories-heading {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.more-stories-list {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.more-stories-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 5rem;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
  text-decoration: none;
}

.more-stories-item:last-child {
  border-bottom: none;
}

.more-stories-item:hover {
  background: var(--bg-page);
}

.more-stories-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
}

.more-stories-title {
  font-weight: 500;
  color: var(--text-dark);
}

.more-stories-time {
  font-size: 0.8rem;
  color: var(--text-light);
}

@media (max-width: 576px) {
  .more-stories-item {
    grid-template-columns: 1fr auto;
  }

  .more-stories-category {
    display: none;
  }
}

/* ==========================================================================
   HOME PAGE SPECIFIC STYLES
   ========================================================================== */

.info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .info-cards {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  border: 1px solid var(--border-light);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-color);
}

.info-card__icon {
  margin-bottom: 1rem;
  color: var(--cta);
}

.info-card__icon svg {
  width: 40px;
  height: 40px;
}

.info-card__title {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.info-card__description {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Hero CTA Button */
.hero-cta {
  display: inline-block;
  background: var(--cta);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  transition: all 0.2s;
  box-shadow: var(--shadow-cta);
}

.hero-cta:hover {
  background: var(--cta-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta-hover);
}

/* Utility classes for flexbox */
.d-flex {
  display: flex;
}

.align-items-center {
  align-items: center;
}

.justify-content-center {
  justify-content: center;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-4 {
  gap: 1.5rem;
}

/* ==========================================================================
   HOLIDAY ENHANCEMENTS
   ========================================================================== */

/* Snowfall Container */
.snowfall {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Snowflake Dots */
.snowflake {
  position: absolute;
  top: -10px;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: snowfall linear infinite;
}

.snowflake:nth-child(1) { left: 5%; animation-duration: 8s; animation-delay: 0s; width: 6px; height: 6px; opacity: 0.7; }
.snowflake:nth-child(2) { left: 15%; animation-duration: 10s; animation-delay: 1s; width: 4px; height: 4px; opacity: 0.9; }
.snowflake:nth-child(3) { left: 25%; animation-duration: 7s; animation-delay: 0.5s; width: 8px; height: 8px; opacity: 0.6; }
.snowflake:nth-child(4) { left: 35%; animation-duration: 9s; animation-delay: 2s; width: 5px; height: 5px; opacity: 0.8; }
.snowflake:nth-child(5) { left: 45%; animation-duration: 11s; animation-delay: 0s; width: 7px; height: 7px; opacity: 0.7; }
.snowflake:nth-child(6) { left: 55%; animation-duration: 8s; animation-delay: 1.5s; width: 4px; height: 4px; opacity: 0.9; }
.snowflake:nth-child(7) { left: 65%; animation-duration: 10s; animation-delay: 3s; width: 6px; height: 6px; opacity: 0.6; }
.snowflake:nth-child(8) { left: 75%; animation-duration: 7s; animation-delay: 0.8s; width: 8px; height: 8px; opacity: 0.8; }
.snowflake:nth-child(9) { left: 85%; animation-duration: 9s; animation-delay: 2.5s; width: 5px; height: 5px; opacity: 0.7; }
.snowflake:nth-child(10) { left: 95%; animation-duration: 12s; animation-delay: 1s; width: 6px; height: 6px; opacity: 0.9; }

@keyframes snowfall {
  0% {
    transform: translateY(-10px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0.3;
  }
}

/* Twinkle Animation */
@keyframes twinkle {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* Bounce Animation for icons */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ==========================================================================
   FANCYBOX LIGHTBOX CUSTOMIZATION
   ========================================================================== */

.lightbox-content {
  max-width: 600px;
  padding: 2.5rem;
  background: linear-gradient(135deg, #faf8f5 0%, #fff 100%);
  border-radius: 16px;
  font-family: var(--font-family-base);
}

.lightbox-content h2 {
  font-family: var(--font-family-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--cta);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gold);
}

.lightbox-content h3 {
  font-family: var(--font-family-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.lightbox-content h3:first-of-type {
  margin-top: 0;
}

.lightbox-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.lightbox-content strong {
  color: var(--cta);
}

/* Fancybox backdrop */
.fancybox__backdrop {
  background: rgba(15, 39, 68, 0.9);
}
