/* ============================================
   LUXURY THEME — InfoVerse
   Design: Editorial Luxury with Gold Accents
   Fonts: Playfair Display (headings) + Inter (body)
   ============================================ */

/* ---------- CSS CUSTOM PROPERTIES ---------- */
:root {
  --gold: #c9a84c;
  --gold-light: #e8d5a3;
  --gold-bright: #d4af37;
  --gold-gradient: linear-gradient(135deg, #c9a84c, #d4af37, #e8c84c);
  --gold-subtle: rgba(201, 168, 76, 0.08);

  --navy: #0a0a1a;
  --navy-light: #1a1a3e;
  --navy-mid: #2a2a4e;

  --cream: #faf8f5;
  --ivory: #f5f0e8;
  --warm-white: #fffdf9;

  --text-primary: #1a1a2e;
  --text-body: #3a3a4e;
  --text-muted: #8c8c8c;
  --text-light: #b0b0b0;

  --border-light: #e8e0d4;
  --border-medium: #d4caba;

  --shadow-sm: 0 2px 8px rgba(10, 10, 26, 0.04);
  --shadow-md: 0 8px 32px rgba(10, 10, 26, 0.06);
  --shadow-lg: 0 20px 60px rgba(10, 10, 26, 0.08);
  --shadow-xl: 0 30px 80px rgba(10, 10, 26, 0.1);
  --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.25);

  --copper: #b87333;
  --copper-dark: #8b5e3c;
  --copper-light: #d4a373;
  --bronze: #cd7f32;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --header-h: 72px;
  --container: 1200px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }

::selection {
  background: var(--gold);
  color: var(--navy);
}

/* ---------- READING PROGRESS BAR ---------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--gold-gradient);
  z-index: 1001;
  width: 0;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

/* ---------- CUSTOM SCROLLBAR ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold), var(--copper));
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold-bright), var(--copper-light));
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 90px 0;
}
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}
.section-header h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.section-header h2 .gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  font-family: var(--font-body);
}

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: all var(--transition);
}
.header.scrolled {
  box-shadow: 0 4px 30px rgba(10, 10, 26, 0.06);
}
.header.header-hidden {
  transform: translateY(-100%);
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo span {
  color: var(--gold-bright);
}

.nav ul {
  display: flex;
  gap: 4px;
}
.nav ul li a {
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all var(--transition);
  position: relative;
}
.nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--gold-gradient);
  transition: transform var(--transition);
  border-radius: 2px;
}
.nav ul li a:hover,
.nav ul li a.active {
  color: var(--navy);
}
.nav ul li a:hover::after,
.nav ul li a.active::after {
  transform: translateX(-50%) scaleX(1);
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0 4px 0 16px;
  transition: all var(--transition);
}
.search-box:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-subtle);
  background: var(--warm-white);
}
.search-box input {
  border: none;
  background: transparent;
  padding: 9px 0;
  font-size: 0.9rem;
  color: var(--text-primary);
  width: 180px;
  outline: none;
  font-family: inherit;
}
.search-box input::placeholder { color: var(--text-light); }
.search-box button {
  background: transparent;
  border: none;
  padding: 8px 12px;
  color: var(--text-light);
  cursor: pointer;
  transition: color var(--transition);
  font-size: 1rem;
}
.search-box button:hover { color: var(--gold); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--navy);
  cursor: pointer;
  padding: 4px;
}

/* ---------- BUTTONS ---------- */
.btn {
  padding: 14px 34px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--gold-gradient);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.25) 45%, rgba(255,255,255,0.25) 55%, transparent 60%);
  animation: shimmer 3.5s ease-in-out infinite;
  transform: translateX(-100%);
  pointer-events: none;
}
@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(25deg); }
  20% { transform: translateX(100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(201, 168, 76, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-medium);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: var(--gold-subtle);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--cream);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(201, 168, 76, 0.06), transparent),
    radial-gradient(ellipse 500px 500px at 80% 20%, rgba(212, 175, 55, 0.04), transparent),
    radial-gradient(ellipse 300px 300px at 50% 80%, rgba(201, 168, 76, 0.03), transparent);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(201, 168, 76, 0.3) 40px, rgba(201, 168, 76, 0.3) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(201, 168, 76, 0.3) 40px, rgba(201, 168, 76, 0.3) 41px);
  pointer-events: none;
}

/* Floating geometric shapes */
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-shape {
  position: absolute;
  border: 1px solid rgba(201, 168, 76, 0.15);
  animation: float-shape 12s ease-in-out infinite;
}
.hero-shape--circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  top: 15%;
  left: 8%;
  animation-delay: 0s;
}
.hero-shape--diamond {
  width: 40px;
  height: 40px;
  transform: rotate(45deg);
  top: 60%;
  left: 85%;
  animation-delay: -3s;
  border-color: rgba(201, 168, 76, 0.1);
}
.hero-shape--ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border-width: 1px;
  top: 70%;
  left: 5%;
  animation-delay: -6s;
  border-color: rgba(201, 168, 76, 0.06);
}
.hero-shape--bar {
  width: 3px;
  height: 80px;
  border: none;
  background: linear-gradient(180deg, transparent, rgba(201, 168, 76, 0.12), transparent);
  top: 20%;
  left: 92%;
  animation-delay: -2s;
}
@keyframes float-shape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-18px) rotate(3deg); }
  50% { transform: translateY(-6px) rotate(-2deg); }
  75% { transform: translateY(-24px) rotate(1deg); }
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold-light);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
  font-family: var(--font-body);
}
.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.08;
  color: var(--warm-white);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}
.hero h1 .gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.15rem;
  color: rgba(255, 253, 249, 0.6);
  margin-bottom: 38px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-body);
}
.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-buttons .btn-outline {
  border-color: rgba(201, 168, 76, 0.3);
  color: var(--cream);
}
.hero-buttons .btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: rgba(201, 168, 76, 0.06);
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--warm-white);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 253, 249, 0.4);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- ORNAMENTAL SECTION DIVIDERS ---------- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 20px;
  width: 100%;
  max-width: 160px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.2s;
}
.section-divider.visible {
  opacity: 1;
  transform: translateY(0);
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}
.section-divider-icon {
  color: var(--gold);
  font-size: 0.8rem;
  opacity: 0.6;
}

/* ---------- FEATURED / TRENDING ---------- */
.featured { background: var(--warm-white); }
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.featured-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold-light);
}
.card-img {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  transition: transform 0.5s ease, filter 0.5s ease;
}
.featured-card:hover .card-img,
.latest-card:hover .card-img {
  transform: scale(1.06);
  filter: brightness(1.08);
}
.related-image {
  transition: transform 0.5s ease, filter 0.5s ease;
}
.related-card:hover .related-image {
  transform: scale(1.07);
  filter: brightness(1.06);
}

.card-body { padding: 24px 26px; }
.card-category {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--gold-light);
  color: var(--gold-bright);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  transition: all var(--transition);
}
.featured-card:hover .card-category {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
  font-family: var(--font-heading);
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
  line-height: 1.65;
}
.card-meta {
  display: flex;
  gap: 18px;
  font-size: 0.8rem;
  color: var(--text-light);
}
.card-meta i { margin-right: 4px; color: var(--gold); }

/* ---------- CATEGORIES ---------- */
.categories { background: var(--cream); }
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}
.category-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.category-card:hover::before { transform: scaleX(1); }
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}
.category-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 auto 16px;
  transition: transform var(--transition);
}
.category-card:hover .category-icon { transform: scale(1.08); }
.category-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}
.category-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- LATEST ARTICLES ---------- */
.latest { background: var(--warm-white); }
.latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.latest-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.latest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}
.latest-card .card-img { height: 210px; }

/* ---------- NEWSLETTER ---------- */
.newsletter {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.06), transparent);
  top: -150px;
  left: -100px;
}
.newsletter::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04), transparent);
  bottom: -200px;
  right: -150px;
}
.newsletter-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.newsletter-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold-light);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-body);
}
.newsletter h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--warm-white);
  margin-bottom: 14px;
}
.newsletter h2 .gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.newsletter p {
  color: rgba(255, 253, 249, 0.55);
  font-size: 1rem;
  margin-bottom: 32px;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 22px;
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: var(--radius-md);
  outline: none;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255, 253, 249, 0.08);
  color: var(--warm-white);
  transition: all var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255, 253, 249, 0.3); }
.newsletter-form input:focus {
  border-color: var(--gold);
  background: rgba(255, 253, 249, 0.12);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}
.newsletter-form .btn-primary {
  background: var(--gold-gradient);
  color: var(--navy);
  white-space: nowrap;
}
.newsletter-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.newsletter-note {
  font-size: 0.8rem !important;
  color: rgba(255, 253, 249, 0.35) !important;
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}

/* ---------- ARTICLE PAGE ---------- */
.article-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) 24px 80px;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 740px) 320px;
  gap: 40px;
  align-items: start;
}
.article-content {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.article-header {
  padding: 42px 48px 32px;
  text-align: left;
  background: #fff;
}
.article-category {
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: 20px;
  border: 1px solid var(--gold-light);
  color: var(--gold-bright);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.article-category:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.article-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}
.article-meta {
  display: flex;
  justify-content: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.article-meta i { margin-right: 6px; color: var(--gold); }
.article-hero-image {
  margin: 0;
  background: var(--cream);
}
.article-hero-image img {
  width: 100%;
  max-height: 440px;
  object-fit: cover;
}

/* ---------- ARTICLE BODY (TYPOGRAPHY) ---------- */
.article-body {
  padding: 36px 48px 24px;
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.9;
}
.article-body > *:first-child { margin-top: 0; }

/* Drop cap for first paragraph */
.article-body > p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-size: 4.2rem;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin: 6px 12px 0 0;
  color: var(--gold-bright);
  text-shadow: 0 2px 12px rgba(201, 168, 76, 0.2);
  padding: 4px 6px 0 0;
  border-bottom: 2px solid var(--gold-light);
}
.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote,
.article-body img,
.article-body table {
  margin-bottom: 26px;
}
.article-body h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 16px;
  line-height: 1.2;
  font-family: var(--font-heading);
}
.article-body h3 {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 34px 0 14px;
  line-height: 1.25;
  font-family: var(--font-heading);
}
.article-body ul,
.article-body ol { padding-left: 28px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 10px; }
.article-body a {
  color: var(--gold-bright);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
.article-body a:hover { color: var(--gold); }
.article-body blockquote {
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: var(--gold-subtle);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--text-primary);
  font-weight: 500;
  font-style: italic;
  position: relative;
}
.article-body blockquote::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--gold);
  line-height: 0;
  position: relative;
  top: 14px;
  margin-right: 4px;
}
.article-body img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.article-body th,
.article-body td {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  text-align: left;
}
.article-body th {
  background: var(--gold-subtle);
  color: var(--text-primary);
  font-weight: 600;
}
.article-body figcaption {
  text-align: center;
  color: var(--text-light);
  font-size: 0.82rem;
  margin-top: 6px;
  font-style: italic;
}

/* ---------- ARTICLE FOOTER ---------- */
.article-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 48px 38px;
  border-top: 1px solid var(--border-light);
}
.article-tags,
.article-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.tags-label,
.article-share span {
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.tag {
  padding: 6px 14px;
  background: var(--cream);
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all var(--transition);
}
.tag:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.share-btn {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: #fff;
  transition: all var(--transition);
  font-size: 0.9rem;
}
.share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #1877f2; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.whatsapp { background: #25d366; }

/* ---------- ARTICLE SIDEBAR ---------- */
.article-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.sidebar-widget {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget h3 {
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.sidebar-widget p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}
.sidebar-posts { display: grid; gap: 16px; }
.sidebar-post {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}
.sidebar-post:not(:has(.sidebar-post-img)) { grid-template-columns: 1fr; }
.sidebar-post-img {
  width: 72px;
  height: 62px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
}
.sidebar-post strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.88rem;
  line-height: 1.35;
  transition: color var(--transition);
  font-family: var(--font-heading);
  font-weight: 600;
}
.sidebar-post small {
  display: block;
  color: var(--text-light);
  font-size: 0.76rem;
  margin-top: 4px;
}
.sidebar-post:hover strong { color: var(--gold-bright); }
.sidebar-categories li + li { border-top: 1px solid var(--border-light); }
.sidebar-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.sidebar-categories a:hover { color: var(--gold-bright); }
.sidebar-categories em {
  min-width: 28px;
  padding: 2px 10px;
  border-radius: 50px;
  background: var(--gold-subtle);
  color: var(--gold-bright);
  font-size: 0.74rem;
  font-style: normal;
  text-align: center;
  font-weight: 600;
}
.sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- RELATED ARTICLES ---------- */
.related-articles {
  max-width: 1120px;
  margin: 56px auto 0;
}
.related-articles h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 30px;
  font-family: var(--font-heading);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.related-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}
.related-image {
  height: 175px;
  background-size: cover;
  background-position: center;
}
.related-content { padding: 22px; }
.related-content h3 {
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
}
.related-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.related-content .read-time {
  color: var(--text-light);
  font-size: 0.82rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy);
  color: rgba(255, 253, 249, 0.7);
  padding: 64px 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.footer-about .logo {
  color: var(--warm-white);
  font-family: var(--font-heading);
}
.footer-about p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 16px 0 22px;
  color: rgba(255, 253, 249, 0.45);
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 168, 76, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 253, 249, 0.4);
  transition: all var(--transition);
  font-size: 0.9rem;
}
.social-links a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  border-color: var(--gold);
}
.footer-links h4 {
  color: var(--warm-white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}
.footer-links ul li { margin-bottom: 11px; }
.footer-links ul li a {
  font-size: 0.88rem;
  color: rgba(255, 253, 249, 0.4);
  transition: all var(--transition);
}
.footer-links ul li a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}
.footer-bottom {
  text-align: center;
  padding: 22px 0;
  font-size: 0.84rem;
  color: rgba(255, 253, 249, 0.3);
}
.footer-bottom i { color: var(--gold); }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--gold-gradient);
  color: var(--navy);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 999;
  box-shadow: var(--shadow-gold);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(201, 168, 76, 0.35);
}

/* ---------- SEARCH RESULTS ---------- */
.search-results {
  position: absolute;
  top: 100%;
  right: 0;
  width: 360px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  margin-top: 8px;
  max-height: 420px;
  overflow-y: auto;
  display: none;
  z-index: 100;
}
.search-results.active { display: block; }
.search-results-item {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background var(--transition);
}
.search-results-item:last-child { border-bottom: none; }
.search-results-item:hover { background: var(--cream); }
.search-results-item h4 {
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-weight: 600;
}
.search-results-item span {
  font-size: 0.78rem;
  color: var(--text-light);
}
.search-wrapper { position: relative; }

/* ---------- ANIMATIONS ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}



/* ---------- STATIC PAGES (About, Contact, Privacy) ---------- */
.static-page {
  padding: 120px 0 80px;
  background: var(--warm-white);
  min-height: 60vh;
}
.static-content {
  max-width: 800px;
  margin: 0 auto;
}
.static-content h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
  font-family: var(--font-heading);
}
.static-content h1 .gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.static-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text-primary);
  font-family: var(--font-heading);
}
.static-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 16px;
}
.static-content ul {
  margin: 0 0 24px 24px;
}
.static-content ul li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--text-body);
}
.static-content a:not(.btn) {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.static-content a:not(.btn):hover {
  color: var(--gold-bright);
}
@media (max-width: 768px) {
  .static-content h1 { font-size: 1.8rem; }
}

/* ---------- CONTACT FORM ---------- */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.alert-success {
  background: #d1fae5;
  color: #065f46;
}
.alert-error {
  background: #fee2e2;
  color: #991b1b;
}
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.form-group .req { color: #c0392b; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color var(--transition);
  background: var(--cream);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; }

/* ---------- RESPONSIVE - TABLET ---------- */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .latest-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 3rem; }
}

/* ---------- RESPONSIVE - MOBILE ---------- */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-header h2 { font-size: 1.9rem; }
  .section-header { margin-bottom: 36px; }

  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(255, 253, 249, 0.98);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid var(--border-light);
    padding: 20px 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-lg);
  }
  .nav.active {
    transform: translateY(0);
    opacity: 1;
  }
  .nav ul li a.active {
    background: var(--gold-subtle);
    color: var(--gold-bright);
  }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul li a { display: block; padding: 12px 16px; font-size: 1rem; }
  .nav ul li a::after { display: none; }
  .search-box { display: none; }

  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2.4rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 36px; }
  .stat-num { font-size: 1.7rem; }

  .featured-grid { grid-template-columns: 1fr; gap: 20px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .latest-grid { grid-template-columns: 1fr; gap: 20px; }

  .article-page { padding: calc(var(--header-h) + 24px) 16px 50px; }
  .article-content { border-radius: var(--radius-lg); }
  .article-header,
  .article-body,
  .article-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .article-header { padding-top: 32px; padding-bottom: 24px; }
  .article-body { padding-top: 28px; font-size: 1rem; }
  .article-footer {
    flex-direction: column;
    padding-bottom: 30px;
  }
  .article-meta { flex-direction: column; gap: 8px; }
  .article-body h2 { font-size: 1.5rem; }
  .article-body h3 { font-size: 1.25rem; }
  .related-grid { grid-template-columns: 1fr; gap: 20px; }

  .newsletter-form { flex-direction: column; }
  .newsletter h2 { font-size: 1.7rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--gold-bright); }
.breadcrumb i {
  font-size: 0.6rem;
  color: var(--text-light);
}

/* ---------- GRAIN OVERLAY ---------- */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ---------- PARALLAX HERO ---------- */
.hero {
  perspective: 2px;
}
.hero-parallax-layer {
  position: absolute;
  inset: 0;
  transform: translateZ(-1px) scale(1.5);
  pointer-events: none;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(201, 168, 76, 0.03) 0%, transparent 70%);
  animation: mesh-shift 12s ease-in-out infinite alternate;
}
@keyframes mesh-shift {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.08) rotate(2deg); }
}

/* ---------- MAGAZINE FEATURED LAYOUT ---------- */
.featured-grid.magazine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}
.featured-grid.magazine .featured-card:first-child {
  grid-row: span 2;
}
.featured-grid.magazine .featured-card:first-child .card-img {
  height: 100%;
  min-height: 380px;
}

/* ---------- GLASSMORPHISM ---------- */
.glass {
  background: rgba(255, 253, 249, 0.6);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border: 1px solid rgba(201, 168, 76, 0.12);
  box-shadow: 0 8px 32px rgba(10, 10, 26, 0.04);
}

/* ---------- CARD OVERLAY REVEAL ---------- */
.card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 26, 0.7));
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: var(--warm-white);
  font-size: 0.85rem;
  line-height: 1.5;
}
.featured-card:hover .card-img-overlay,
.latest-card:hover .card-img-overlay {
  opacity: 1;
}

/* ---------- IMAGE BLUR LOAD ---------- */
.img-blur {
  position: relative;
  overflow: hidden;
}
.img-blur .thumb {
  position: absolute;
  inset: 0;
  filter: blur(20px);
  transform: scale(1.1);
  transition: opacity 0.4s ease;
  opacity: 1;
  background-size: cover;
  background-position: center;
}
.img-blur .full {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.img-blur .full.loaded {
  opacity: 1;
}
.img-blur .full.loaded ~ .thumb {
  opacity: 0;
}

/* ---------- SECTION CLIP TRANSITIONS ---------- */
.section-clip {
  clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
  margin: -30px 0;
  padding: 90px 0;
}
.section-clip-alt {
  clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%);
  margin: -30px 0;
  padding: 90px 0;
}

/* ---------- FLOATING TOC ---------- */
.toc-float {
  position: fixed;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  z-index: 100;
  max-width: 180px;
}
.toc-float-inner {
  background: rgba(255, 253, 249, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.78rem;
  max-height: 60vh;
  overflow-y: auto;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.toc-float-inner h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  color: var(--text-primary);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
}
.toc-float-inner a {
  display: block;
  padding: 4px 0;
  color: var(--text-muted);
  transition: color var(--transition);
  line-height: 1.4;
}
.toc-float-inner a:hover,
.toc-float-inner a.active {
  color: var(--gold-bright);
}

/* ---------- AUTHOR BOX ---------- */
.author-box {
  display: flex;
  gap: 20px;
  padding: 24px 28px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  margin: 36px 0;
  align-items: center;
}
.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.6rem;
  font-weight: 700;
  font-family: var(--font-heading);
  flex-shrink: 0;
}
.author-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.author-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- SEARCH MODAL ---------- */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 15vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.search-modal.active {
  opacity: 1;
  visibility: visible;
}
.search-modal-inner {
  width: 100%;
  max-width: 620px;
  padding: 0 24px;
}
.search-modal-input {
  width: 100%;
  padding: 20px 24px;
  font-size: 1.3rem;
  border: none;
  border-radius: var(--radius-md);
  background: var(--warm-white);
  color: var(--text-primary);
  outline: none;
  font-family: var(--font-body);
  box-shadow: var(--shadow-xl);
}
.search-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: rgba(255, 253, 249, 0.6);
  font-size: 1.6rem;
  cursor: pointer;
  transition: color var(--transition);
}
.search-modal-close:hover { color: var(--warm-white); }
.search-modal-results {
  margin-top: 16px;
  max-height: 50vh;
  overflow-y: auto;
}

/* ---------- AD CONTAINERS ---------- */
.ad-container {
  text-align: center;
  margin: 32px 0;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-container-inline {
  margin: 28px 0;
  padding: 18px;
}
.ad-label {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.ad-in-content {
  float: right;
  width: 300px;
  margin: 12px 0 16px 24px;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

/* ---------- COOKIE CONSENT ---------- */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  color: rgba(255, 253, 249, 0.8);
  padding: 16px 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  transform: translateY(100%);
  transition: transform 0.5s ease;
}
.cookie-bar.show {
  transform: translateY(0);
}
.cookie-bar .btn {
  padding: 8px 24px;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* ---------- LOAD MORE / PAGINATION ---------- */
.load-more-wrap {
  text-align: center;
  margin-top: 40px;
}
.load-more {
  padding: 14px 48px;
  border: 2px solid var(--border-medium);
  background: transparent;
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.load-more:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
  background: var(--gold-subtle);
}
.load-more:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.load-more i { margin-left: 8px; }
@keyframes spin {
  to { transform: rotate(360deg); }
}
.load-more.loading i {
  animation: spin 0.8s linear infinite;
}

/* ---------- PAGE HEADER (Category) ---------- */
.page-header {
  background: var(--navy);
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--warm-white);
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 600px 400px at 30% 50%, rgba(201, 168, 76, 0.06), transparent);
}
.page-header-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}
.page-header h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}
.page-header p {
  color: rgba(255, 253, 249, 0.5);
  font-size: 1.05rem;
  margin-top: 12px;
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- RESPONSIVE - TABLET ---------- */
@media (max-width: 1024px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid.magazine { grid-template-columns: 1fr 1fr; }
  .latest-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 3rem; }
  .toc-float { display: none; }
  .ad-in-content { float: none; width: 100%; margin: 20px 0; }
  .page-header h1 { font-size: 2.2rem; }
}

/* ---------- RESPONSIVE - MOBILE ---------- */
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-clip, .section-clip-alt { clip-path: none; margin: 0; padding: 56px 0; }
  .section-header h2 { font-size: 1.9rem; }
  .section-header { margin-bottom: 36px; }

  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 280px;
    background: var(--warm-white);
    border-left: 1px solid var(--border-light);
    padding: 80px 24px 24px;
    transform: translateX(100%);
    opacity: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: -10px 0 40px rgba(10, 10, 26, 0.1);
  }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 26, 0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .nav.active {
    transform: translateX(0);
  }
  .nav ul li a.active {
    background: var(--gold-subtle);
    color: var(--gold-bright);
  }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav ul li a { display: block; padding: 12px 16px; font-size: 1rem; border-radius: var(--radius-sm); }
  .nav ul li a::after { display: none; }
  .search-box { display: none; }
  .search-mobile-btn { display: block !important; }
  body.nav-open { overflow: hidden; }

  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2.4rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 36px; }
  .stat-num { font-size: 1.7rem; }

  .featured-grid { grid-template-columns: 1fr; gap: 20px; }
  .featured-grid.magazine { grid-template-columns: 1fr; }
  .featured-grid.magazine .featured-card:first-child .card-img { min-height: 220px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .latest-grid { grid-template-columns: 1fr; gap: 20px; }

  .article-page { padding: calc(var(--header-h) + 24px) 16px 50px; }
  .article-content { border-radius: var(--radius-lg); }
  .article-header,
  .article-body,
  .article-footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .article-header { padding-top: 32px; padding-bottom: 24px; }
  .article-body { padding-top: 28px; font-size: 1rem; }
  .article-footer {
    flex-direction: column;
    padding-bottom: 30px;
  }
  .article-meta { flex-direction: column; gap: 8px; }
  .article-body h2 { font-size: 1.5rem; }
  .article-body h3 { font-size: 1.25rem; }
  .related-grid { grid-template-columns: 1fr; gap: 20px; }
  .author-box { flex-direction: column; text-align: center; }

  .newsletter-form { flex-direction: column; }
  .newsletter h2 { font-size: 1.7rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  .page-header { padding: 100px 0 40px; }
  .page-header h1 { font-size: 1.8rem; }

  .cookie-bar { flex-direction: column; text-align: center; gap: 12px; }
}

/* ---------- RESPONSIVE - SMALL PHONE ---------- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .categories-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .stat-num { font-size: 1.4rem; }
  .hero-stats { gap: 24px; }
  .article-header,
  .article-body,
  .article-footer {
    padding-left: 18px;
    padding-right: 18px;
  }
  .article-body h2 { font-size: 1.35rem; }
  .related-articles h2 { font-size: 1.5rem; }
  .newsletter h2 { font-size: 1.4rem; }
  .section-header h2 { font-size: 1.6rem; }
}
