/* ============================================
   THE PORT AUGUSTA TIMES - UNHINGED STYLESHEET
   Peak 90s Internet Chaos Meets Modern Madness
   ============================================ */

/* Import Comic Sans because we're COMMITTED */
@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&family=Bangers&family=Press+Start+2P&family=Creepster&display=swap');

:root {
  /* The Chaos Palette */
  --hot-pink: #ff1493;
  --electric-lime: #32cd32;
  --cyber-blue: #00ffff;
  --warning-orange: #ff6600;
  --blood-red: #cc0000;
  --radioactive-yellow: #ffff00;
  --purple-rain: #9400d3;
  --vaporwave-pink: #ff71ce;
  --neon-green: #01ff70;

  /* Background gradients from hell */
  --hell-gradient: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
  --rainbow-vomit: linear-gradient(90deg, red, orange, yellow, green, blue, indigo, violet);
  --fire-gradient: linear-gradient(180deg, #ff6b35, #f7931e, #ffd700);

  /* Fonts of chaos */
  --font-chaos: 'Comic Neue', cursive;
  --font-headline: 'Bangers', cursive;
  --font-retro: 'Press Start 2P', monospace;
  --font-spooky: 'Creepster', cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-chaos);
  background: var(--hell-gradient);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32"><text y="24" font-size="24">📰</text></svg>'), auto;
}

/* ============================================
   MARQUEE / BREAKING NEWS TICKER
   ============================================ */
.breaking-news-container {
  background: repeating-linear-gradient(45deg,
      var(--blood-red),
      var(--blood-red) 10px,
      #990000 10px,
      #990000 20px);
  padding: 8px 0;
  border-bottom: 4px solid var(--radioactive-yellow);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.5);
}

.breaking-label {
  display: inline-block;
  background: var(--radioactive-yellow);
  color: var(--blood-red);
  font-family: var(--font-headline);
  font-size: 1.2rem;
  padding: 5px 15px;
  margin-right: 20px;
  animation: pulse-label 0.5s infinite alternate;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@keyframes pulse-label {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--radioactive-yellow);
  }
}

.ticker-wrap {
  overflow: hidden;
  display: inline-block;
  width: calc(100% - 200px);
  vertical-align: middle;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 30s linear infinite;
  font-size: 1.1rem;
  font-weight: bold;
  text-shadow: 2px 2px 0 #000;
}

.ticker span {
  padding: 0 50px;
}

.ticker span::before {
  content: "🚨 ";
}

.ticker span::after {
  content: " 🚨";
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   MASTHEAD - THE GLORY
   ============================================ */
.masthead {
  text-align: center;
  padding: 30px 20px;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border-bottom: 5px solid var(--hot-pink);
  position: relative;
  overflow: hidden;
}

.masthead::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="50" opacity="0.03">📰</text></svg>');
  background-size: 100px;
  animation: bg-scroll 20s linear infinite;
}

@keyframes bg-scroll {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 100px 100px;
  }
}

.masthead h1 {
  font-family: var(--font-headline);
  font-size: 4rem;
  color: var(--radioactive-yellow);
  text-shadow:
    3px 3px 0 var(--hot-pink),
    6px 6px 0 var(--purple-rain),
    9px 9px 0 var(--cyber-blue);
  letter-spacing: 5px;
  position: relative;
  animation: title-wobble 2s ease-in-out infinite;
}

@keyframes title-wobble {

  0%,
  100% {
    transform: rotate(-1deg);
  }

  50% {
    transform: rotate(1deg);
  }
}

.masthead .tagline {
  font-family: var(--font-retro);
  font-size: 0.7rem;
  color: var(--cyber-blue);
  margin-top: 10px;
  animation: blink-text 1s steps(2) infinite;
}

@keyframes blink-text {
  50% {
    opacity: 0;
  }
}

.masthead .date-line {
  font-size: 1rem;
  color: var(--electric-lime);
  margin-top: 15px;
  font-weight: bold;
}

.article-counter {
  background: var(--hot-pink);
  color: #fff;
  padding: 10px 20px;
  border-radius: 50px;
  display: inline-block;
  margin-top: 15px;
  font-family: var(--font-retro);
  font-size: 0.6rem;
  animation: counter-pulse 1s ease-in-out infinite alternate;
  box-shadow: 0 0 20px var(--hot-pink);
}

@keyframes counter-pulse {
  to {
    box-shadow: 0 0 40px var(--hot-pink), 0 0 60px var(--vaporwave-pink);
  }
}

/* ============================================
   NAVIGATION - NEON MADNESS
   ============================================ */
.main-nav {
  background: linear-gradient(90deg, #1a1a2e, #2d2d44, #1a1a2e);
  padding: 0;
  border-bottom: 3px solid var(--neon-green);
  position: sticky;
  top: 45px;
  z-index: 999;
  overflow-x: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  padding: 0 10px;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  display: block;
  padding: 15px 18px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-headline);
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-list a:hover {
  color: var(--radioactive-yellow);
  background: rgba(255, 255, 255, 0.1);
  text-shadow: 0 0 10px var(--radioactive-yellow), 0 0 20px var(--radioactive-yellow);
}

.nav-list a.active {
  color: var(--cyber-blue);
  border-bottom: 3px solid var(--cyber-blue);
  text-shadow: 0 0 15px var(--cyber-blue);
}

/* Flash effect for new articles in section */
.nav-list a.has-new::after {
  content: "NEW!";
  position: absolute;
  top: 5px;
  right: 5px;
  background: var(--hot-pink);
  color: #fff;
  font-size: 0.5rem;
  padding: 2px 5px;
  border-radius: 3px;
  animation: new-badge-flash 0.5s infinite alternate;
}

@keyframes new-badge-flash {
  to {
    background: var(--radioactive-yellow);
    color: #000;
  }
}

/* ============================================
   MAIN CONTENT GRID
   ============================================ */
.main-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
}

@media (max-width: 900px) {
  .main-content {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ARTICLE CARDS - THE CHAOS GRID
   ============================================ */
.articles-section {
  position: relative;
}

.section-title {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  color: var(--electric-lime);
  margin-bottom: 20px;
  text-shadow: 2px 2px 0 var(--purple-rain);
  border-left: 5px solid var(--hot-pink);
  padding-left: 15px;
  text-transform: uppercase;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.article-card {
  background: linear-gradient(145deg, #1e1e30, #2a2a40);
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.article-card:hover {
  transform: translateY(-10px) rotate(1deg);
  border-color: var(--cyber-blue);
  box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

.article-card.featured {
  grid-column: span 2;
  border-color: var(--radioactive-yellow);
}

.article-card.featured::before {
  content: "⭐ FEATURED ⭐";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--radioactive-yellow);
  color: #000;
  text-align: center;
  font-family: var(--font-headline);
  padding: 5px;
  font-size: 0.9rem;
  z-index: 10;
}

.article-card.hot::after {
  content: "🔥 HOT";
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--blood-red);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-family: var(--font-headline);
  font-size: 0.8rem;
  z-index: 10;
}

@keyframes hot-shake {
  from {
    transform: rotate(-5deg);
  }

  to {
    transform: rotate(5deg);
  }
}

.article-card-image-link {
  display: block;
  text-decoration: none;
}

.article-card-image {
  width: 100%;
  height: 180px;
  background: var(--rainbow-vomit);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
}

.article-card-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 5px 10px;
  border-radius: 8px;
  opacity: 0.8;
}

/* Headline link styling */
.headline-link {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.headline-link:hover {
  color: var(--hot-pink);
  text-decoration: underline;
}

/* Elegant mode headline link */
body.elegant-mode .headline-link:hover {
  color: #c41e3a;
}

/* Hide icon in elegant mode - show the photo clean */
body.elegant-mode .article-card-icon {
  display: none;
}

@keyframes rainbow-shift {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 400% 50%;
  }
}

.article-card-content {
  padding: 20px;
}

.article-card-section {
  display: inline-block;
  background: var(--purple-rain);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.article-card h3 {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  color: var(--cyber-blue);
  margin-bottom: 10px;
  line-height: 1.3;
}

.article-card p {
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.5;
}

.article-card .read-more {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 20px;
  background: var(--hot-pink);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-family: var(--font-headline);
  transition: all 0.3s ease;
}

.article-card .read-more:hover {
  background: var(--radioactive-yellow);
  color: #000;
  box-shadow: 0 0 20px var(--radioactive-yellow);
}

/* New article animation */
.article-card.new-article {
  animation: new-article-pop 0.5s ease-out;
}

@keyframes new-article-pop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ============================================
   SIDEBAR - THE CHAOS ZONE
   ============================================ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.sidebar-widget {
  background: linear-gradient(145deg, #1e1e30, #2a2a40);
  border-radius: 15px;
  padding: 20px;
  border: 2px solid var(--purple-rain);
  position: relative;
  overflow: hidden;
}

.sidebar-widget h4 {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  color: var(--electric-lime);
  margin-bottom: 15px;
  text-transform: uppercase;
  border-bottom: 2px dashed var(--hot-pink);
  padding-bottom: 10px;
}

/* Weather Widget */
.weather-widget {
  text-align: center;
}

.weather-icon {
  font-size: 4rem;
  animation: sun-spin 10s linear infinite;
}

@keyframes sun-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.weather-temp {
  font-family: var(--font-retro);
  font-size: 2rem;
  color: var(--warning-orange);
  margin: 10px 0;
}

.weather-desc {
  color: #aaa;
  font-style: italic;
}

/* Poll Widget */
.poll-option {
  display: block;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.poll-option:hover {
  border-color: var(--cyber-blue);
  background: rgba(0, 255, 255, 0.1);
}

.poll-option input {
  margin-right: 10px;
}

.poll-results {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.poll-bar {
  height: 20px;
  background: var(--hell-gradient);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 5px;
}

.poll-bar-fill {
  height: 100%;
  background: var(--rainbow-vomit);
  background-size: 200% 100%;
  animation: rainbow-shift 2s linear infinite;
  transition: width 1s ease;
}

/* Horoscope Widget */
.horoscope-sign {
  font-size: 2rem;
  display: inline-block;
  animation: zodiac-float 2s ease-in-out infinite;
}

@keyframes zodiac-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.horoscope-text {
  color: #ccc;
  line-height: 1.6;
  margin-top: 10px;
  font-style: italic;
}

/* Ad Space */
.ad-widget {
  background: var(--fire-gradient) !important;
  border-color: var(--warning-orange) !important;
  text-align: center;
  animation: ad-flash 2s infinite;
}

@keyframes ad-flash {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

.ad-widget h4 {
  color: #000 !important;
  border-bottom-color: #000 !important;
}

.ad-widget p {
  color: #000;
  font-weight: bold;
}

.ad-widget .ad-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 25px;
  background: #000;
  color: var(--radioactive-yellow);
  text-decoration: none;
  border-radius: 25px;
  font-family: var(--font-headline);
  animation: cta-pulse 1s infinite alternate;
}

@keyframes cta-pulse {
  to {
    box-shadow: 0 0 20px #000;
    transform: scale(1.05);
  }
}

/* ============================================
   ARTICLE PAGE
   ============================================ */
.article-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.article-header {
  margin-bottom: 30px;
  border-bottom: 3px solid var(--hot-pink);
  padding-bottom: 20px;
}

.article-header h1 {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  color: var(--radioactive-yellow);
  line-height: 1.2;
  margin-bottom: 15px;
  text-shadow: 2px 2px 0 var(--hot-pink);
}

.article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #aaa;
  font-size: 0.9rem;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ddd;
}

.article-content h2,
.article-content h3 {
  font-family: var(--font-headline);
  color: var(--cyber-blue);
  margin: 25px 0 15px;
}

.article-content blockquote {
  border-left: 4px solid var(--hot-pink);
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: var(--electric-lime);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.article-content th,
.article-content td {
  border: 1px solid var(--purple-rain);
  padding: 10px;
  text-align: left;
}

.article-content th {
  background: var(--purple-rain);
}

/* Share Buttons (that definitely work) */
.share-buttons {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px dashed var(--purple-rain);
}

.share-buttons h4 {
  font-family: var(--font-headline);
  color: var(--electric-lime);
  margin-bottom: 15px;
}

.share-btn {
  display: inline-block;
  padding: 10px 20px;
  margin-right: 10px;
  margin-bottom: 10px;
  background: var(--purple-rain);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-family: var(--font-headline);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.share-btn:hover {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 5px 20px rgba(148, 0, 211, 0.5);
}

.share-btn.facebook {
  background: #1877f2;
}

.share-btn.twitter {
  background: #1da1f2;
}

.share-btn.email {
  background: var(--blood-red);
}

.share-btn.print {
  background: var(--electric-lime);
  color: #000;
}

/* Comments Section */
.comments-section {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 3px solid var(--cyber-blue);
}

.comments-section h4 {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  color: var(--radioactive-yellow);
  margin-bottom: 20px;
}

.comment {
  background: linear-gradient(145deg, #1e1e30, #2a2a40);
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  border-left: 4px solid var(--hot-pink);
}

.comment-author {
  font-family: var(--font-headline);
  color: var(--cyber-blue);
  margin-bottom: 5px;
}

.comment-date {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 10px;
}

.comment-text {
  color: #ccc;
  line-height: 1.5;
}

/* ============================================
   CLASSIFIEDS PAGE
   ============================================ */
.classifieds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.classified-ad {
  background: linear-gradient(145deg, #2a2a40, #1e1e30);
  padding: 20px;
  border-radius: 10px;
  border: 2px dashed var(--electric-lime);
  position: relative;
}

.classified-ad.urgent {
  border-color: var(--blood-red);
  animation: urgent-pulse 1s infinite alternate;
}

@keyframes urgent-pulse {
  to {
    box-shadow: 0 0 20px var(--blood-red);
  }
}

.classified-ad.urgent::before {
  content: "URGENT!!!";
  position: absolute;
  top: -10px;
  right: 10px;
  background: var(--blood-red);
  color: #fff;
  padding: 3px 10px;
  border-radius: 5px;
  font-family: var(--font-headline);
  font-size: 0.7rem;
  animation: urgent-shake 0.2s infinite alternate;
}

@keyframes urgent-shake {
  from {
    transform: rotate(-3deg);
  }

  to {
    transform: rotate(3deg);
  }
}

.classified-category {
  display: inline-block;
  background: var(--purple-rain);
  color: #fff;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.classified-title {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  color: var(--radioactive-yellow);
  margin-bottom: 10px;
}

.classified-price {
  font-family: var(--font-retro);
  font-size: 1rem;
  color: var(--neon-green);
  margin-bottom: 10px;
}

.classified-details {
  color: #aaa;
  font-size: 0.9rem;
  line-height: 1.5;
}

.classified-contact {
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  color: var(--cyber-blue);
}

/* ============================================
   FOOTER - THE FINALE
   ============================================ */
.main-footer {
  background: linear-gradient(180deg, #0f0f1a, #000);
  border-top: 5px solid var(--hot-pink);
  padding: 40px 20px;
  text-align: center;
  margin-top: 50px;
}

.footer-logo {
  font-family: var(--font-headline);
  font-size: 2rem;
  color: var(--radioactive-yellow);
  text-shadow: 2px 2px 0 var(--hot-pink);
  margin-bottom: 20px;
}

.footer-quote {
  font-style: italic;
  color: var(--cyber-blue);
  max-width: 600px;
  margin: 0 auto 20px;
  padding: 15px;
  border: 2px dashed var(--purple-rain);
  border-radius: 10px;
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--electric-lime);
  text-decoration: none;
  font-family: var(--font-headline);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--hot-pink);
  text-shadow: 0 0 10px var(--hot-pink);
}

.footer-copy {
  color: #666;
  font-size: 0.8rem;
}

.visitor-counter {
  display: inline-block;
  background: #000;
  border: 2px inset #333;
  padding: 5px 15px;
  font-family: var(--font-retro);
  font-size: 0.7rem;
  color: var(--neon-green);
  margin-top: 15px;
}

/* ============================================
   CHAOS MODE TOGGLE
   ============================================ */
.chaos-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: var(--rainbow-vomit);
  background-size: 400% 100%;
  animation: rainbow-shift 2s linear infinite;
  border: none;
  padding: 15px 25px;
  border-radius: 50px;
  font-family: var(--font-headline);
  font-size: 1rem;
  color: #000;
  cursor: pointer;
  box-shadow: 0 5px 30px rgba(255, 20, 147, 0.5);
  transition: transform 0.3s ease;
}

.chaos-toggle:hover {
  transform: scale(1.1) rotate(-5deg);
}

/* When chaos mode is active */
body.chaos-mode * {
  animation-duration: 0.2s !important;
}

body.chaos-mode .masthead h1 {
  animation: chaos-title 0.1s infinite;
}

@keyframes chaos-title {
  0% {
    transform: rotate(-5deg) scale(1);
    color: var(--hot-pink);
  }

  25% {
    transform: rotate(5deg) scale(1.1);
    color: var(--cyber-blue);
  }

  50% {
    transform: rotate(-3deg) scale(0.9);
    color: var(--radioactive-yellow);
  }

  75% {
    transform: rotate(3deg) scale(1.05);
    color: var(--neon-green);
  }

  100% {
    transform: rotate(-5deg) scale(1);
    color: var(--hot-pink);
  }
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-text {
  font-family: var(--font-retro);
  font-size: 1rem;
  color: var(--neon-green);
  animation: loading-blink 0.5s infinite;
}

@keyframes loading-blink {
  50% {
    opacity: 0;
  }
}

.loading-newspaper {
  font-size: 5rem;
  animation: loading-spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes loading-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Fake popup */
.fake-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--fire-gradient);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  z-index: 10000;
  box-shadow: 0 0 50px rgba(255, 107, 53, 0.8);
  animation: popup-shake 0.3s infinite alternate;
  display: none;
}

@keyframes popup-shake {
  from {
    transform: translate(-50%, -50%) rotate(-2deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(2deg);
  }
}

.fake-popup.show {
  display: block;
}

.fake-popup h3 {
  font-family: var(--font-headline);
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 15px;
}

.fake-popup p {
  color: #333;
  margin-bottom: 20px;
}

.fake-popup .close-popup {
  background: #000;
  color: var(--radioactive-yellow);
  border: none;
  padding: 10px 30px;
  border-radius: 25px;
  font-family: var(--font-headline);
  cursor: pointer;
  font-size: 1rem;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  display: none;
}

.popup-overlay.show {
  display: block;
}

/* Section page specific */
.section-header {
  text-align: center;
  padding: 40px 20px;
  background: linear-gradient(180deg, transparent, rgba(255, 20, 147, 0.1), transparent);
}

.section-header h1 {
  font-family: var(--font-headline);
  font-size: 3rem;
  color: var(--radioactive-yellow);
  text-shadow: 3px 3px 0 var(--hot-pink);
}

.section-header p {
  color: var(--cyber-blue);
  margin-top: 10px;
  font-size: 1.1rem;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.empty-state-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  animation: empty-bounce 1s ease-in-out infinite;
}

@keyframes empty-bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.empty-state h3 {
  font-family: var(--font-headline);
  color: var(--purple-rain);
  margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .masthead h1 {
    font-size: 2.5rem;
  }

  .nav-list {
    justify-content: flex-start;
  }

  .nav-list a {
    font-size: 0.8rem;
    padding: 12px;
  }

  .article-card.featured {
    grid-column: span 1;
  }

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

/* Print styles - just kidding, who prints websites */
@media print {
  body::before {
    content: "NICE TRY, PRINT THIS CHAOS? 📰";
    font-size: 5rem;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  * {
    display: none !important;
  }
}

/* ============================================
   ELEGANT MODE - NEW YORK TIMES STYLE
   Sophisticated. Refined. Actually Readable.
   ============================================ */

/* Import elegant fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Serif+4:wght@400;600&family=Inter:wght@400;500;600&display=swap');

/* Elegant Mode Toggle Button */
.elegant-toggle {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  background: linear-gradient(135deg, #1a1a1a, #333);
  border: 2px solid #666;
  padding: 15px 25px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.elegant-toggle:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #333, #555);
}

/* Base elegant mode styles */
body.elegant-mode {
  font-family: 'Source Serif 4', Georgia, serif;
  background: #faf9f6;
  color: #121212;
  cursor: auto;
}

/* Disable ALL animations in elegant mode */
body.elegant-mode * {
  animation: none !important;
  transition: all 0.2s ease !important;
}

/* Breaking News - Elegant */
body.elegant-mode .breaking-news-container {
  background: #121212;
  padding: 10px 20px;
  border-bottom: 1px solid #333;
  box-shadow: none;
}

body.elegant-mode .breaking-label {
  background: #c41e3a;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

body.elegant-mode .ticker {
  color: #fff;
  font-family: 'Source Serif 4', serif;
  font-size: 0.9rem;
  font-weight: 400;
  text-shadow: none;
}

body.elegant-mode .ticker span::before,
body.elegant-mode .ticker span::after {
  content: " • ";
}

/* Masthead - Elegant */
body.elegant-mode .masthead {
  background: #fff;
  border-bottom: 2px solid #121212;
  padding: 25px 20px;
}

body.elegant-mode .masthead::before {
  display: none;
}

body.elegant-mode .masthead h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: #121212;
  text-shadow: none;
  letter-spacing: -1px;
}

body.elegant-mode .masthead .tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: #666;
  letter-spacing: 2px;
  text-transform: uppercase;
}

body.elegant-mode .masthead .date-line {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #666;
  font-weight: 400;
}

body.elegant-mode .article-counter {
  background: #f0f0f0;
  color: #333;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  padding: 8px 16px;
  border-radius: 4px;
  box-shadow: none;
  border: 1px solid #ddd;
}

/* Navigation - Elegant */
body.elegant-mode .main-nav {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  border-top: 1px solid #e0e0e0;
}

body.elegant-mode .nav-list a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px;
}

body.elegant-mode .nav-list a:hover {
  color: #121212;
  background: #f5f5f5;
  text-shadow: none;
}

body.elegant-mode .nav-list a.active {
  color: #121212;
  border-bottom: 2px solid #121212;
  text-shadow: none;
}

body.elegant-mode .nav-list a.has-new::after {
  content: "•";
  background: none;
  color: #c41e3a;
  font-size: 1.5rem;
  padding: 0;
  top: 8px;
  right: 2px;
}

/* Main Content - Elegant */
body.elegant-mode .main-content {
  max-width: 1200px;
  padding: 40px 20px;
}

/* Section Title - Elegant */
body.elegant-mode .section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #121212;
  text-shadow: none;
  border-left: 3px solid #121212;
  padding-left: 15px;
  text-transform: none;
  margin-bottom: 30px;
}

/* Article Cards - Elegant */
body.elegant-mode .article-card {
  background: #fff;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: none;
  padding-bottom: 25px;
  margin-bottom: 25px;
}

body.elegant-mode .article-card:hover {
  transform: none;
  border-color: #e0e0e0;
  box-shadow: none;
}

body.elegant-mode .article-card.featured {
  border-color: #e0e0e0;
  padding-top: 0;
}

body.elegant-mode .article-card.featured::before {
  content: "FEATURED";
  background: none;
  color: #c41e3a;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0;
  position: relative;
  display: block;
  margin-bottom: 10px;
}

body.elegant-mode .article-card.hot::after {
  content: "TRENDING";
  background: none;
  color: #c41e3a;
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0;
  top: 0;
  right: 0;
}

body.elegant-mode .article-card-image {
  background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
  height: 200px;
  border-radius: 0;
}

body.elegant-mode .article-card-content {
  padding: 20px 0;
}

body.elegant-mode .article-card-section {
  background: none;
  color: #666;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0;
  margin-bottom: 8px;
}

body.elegant-mode .article-card h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #121212;
  line-height: 1.3;
  margin-bottom: 10px;
}

body.elegant-mode .article-card p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

body.elegant-mode .article-card .read-more {
  background: none;
  color: #121212;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0;
  border-radius: 0;
  text-decoration: underline;
}

body.elegant-mode .article-card .read-more:hover {
  background: none;
  color: #c41e3a;
  box-shadow: none;
}

/* Sidebar - Elegant */
body.elegant-mode .sidebar-widget {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 20px;
}

body.elegant-mode .sidebar-widget h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: #121212;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 10px;
}

body.elegant-mode .weather-icon {
  font-size: 2.5rem;
}

body.elegant-mode .weather-temp {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  color: #121212;
}

body.elegant-mode .weather-desc {
  color: #666;
  font-family: 'Source Serif 4', serif;
}

body.elegant-mode .poll-option {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-family: 'Source Serif 4', serif;
  color: #333;
}

body.elegant-mode .poll-option:hover {
  border-color: #121212;
  background: #fff;
}

body.elegant-mode .poll-bar {
  background: #f0f0f0;
  border-radius: 2px;
}

body.elegant-mode .poll-bar-fill {
  background: linear-gradient(90deg, #121212, #333);
}

body.elegant-mode .horoscope-text {
  color: #555;
  font-family: 'Source Serif 4', serif;
}

body.elegant-mode .ad-widget {
  background: #f9f9f9 !important;
  border-color: #e0e0e0 !important;
}

body.elegant-mode .ad-widget h4 {
  color: #121212 !important;
  border-bottom-color: #e0e0e0 !important;
}

body.elegant-mode .ad-widget p {
  color: #333;
  font-family: 'Source Serif 4', serif;
}

body.elegant-mode .ad-widget .ad-cta {
  background: #121212;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  border-radius: 4px;
}

/* Article Page - Elegant */
body.elegant-mode .article-page {
  max-width: 700px;
}

body.elegant-mode .article-header {
  border-bottom: 1px solid #e0e0e0;
}

body.elegant-mode .article-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #121212;
  text-shadow: none;
  line-height: 1.1;
}

body.elegant-mode .article-meta {
  color: #666;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
}

body.elegant-mode .article-content {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.15rem;
  color: #333;
  line-height: 1.9;
}

body.elegant-mode .article-content h2,
body.elegant-mode .article-content h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #121212;
}

body.elegant-mode .article-content blockquote {
  border-left: 3px solid #121212;
  color: #555;
  font-style: italic;
}

body.elegant-mode .article-content th,
body.elegant-mode .article-content td {
  border-color: #e0e0e0;
}

body.elegant-mode .article-content th {
  background: #f5f5f5;
  color: #121212;
}

body.elegant-mode .share-buttons {
  border-top: 1px solid #e0e0e0;
}

body.elegant-mode .share-buttons h4 {
  font-family: 'Inter', sans-serif;
  color: #121212;
  font-size: 0.9rem;
}

body.elegant-mode .share-btn {
  background: #f5f5f5;
  color: #333;
  font-family: 'Inter', sans-serif;
  border-radius: 4px;
  border: 1px solid #e0e0e0;
}

body.elegant-mode .share-btn:hover {
  transform: none;
  box-shadow: none;
  background: #e8e8e8;
}

body.elegant-mode .share-btn.facebook {
  background: #1877f2;
  color: #fff;
  border: none;
}

body.elegant-mode .share-btn.twitter {
  background: #1da1f2;
  color: #fff;
  border: none;
}

body.elegant-mode .share-btn.email {
  background: #333;
  color: #fff;
  border: none;
}

body.elegant-mode .share-btn.print {
  background: #fff;
  color: #333;
}

body.elegant-mode .comments-section {
  border-top: 1px solid #e0e0e0;
}

body.elegant-mode .comments-section h4 {
  font-family: 'Inter', sans-serif;
  color: #121212;
  font-size: 1rem;
}

body.elegant-mode .comment {
  background: #f9f9f9;
  border-left: 3px solid #121212;
  border-radius: 0;
}

body.elegant-mode .comment-author {
  font-family: 'Inter', sans-serif;
  color: #121212;
}

body.elegant-mode .comment-text {
  color: #555;
  font-family: 'Source Serif 4', serif;
}

/* Classifieds - Elegant */
body.elegant-mode .classified-ad {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0;
}

body.elegant-mode .classified-ad.urgent {
  border-color: #c41e3a;
  border-width: 2px;
  box-shadow: none;
}

body.elegant-mode .classified-ad.urgent::before {
  background: #c41e3a;
  font-family: 'Inter', sans-serif;
  border-radius: 0;
}

body.elegant-mode .classified-category {
  background: none;
  color: #666;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0;
}

body.elegant-mode .classified-title {
  font-family: 'Playfair Display', Georgia, serif;
  color: #121212;
}

body.elegant-mode .classified-price {
  font-family: 'Inter', sans-serif;
  color: #121212;
  font-weight: 600;
}

body.elegant-mode .classified-details {
  color: #555;
  font-family: 'Source Serif 4', serif;
}

body.elegant-mode .classified-contact {
  color: #333;
  font-family: 'Inter', sans-serif;
}

/* Section Header - Elegant */
body.elegant-mode .section-header {
  background: none;
  padding: 50px 20px;
  border-bottom: 2px solid #121212;
}

body.elegant-mode .section-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 900;
  color: #121212;
  text-shadow: none;
}

body.elegant-mode .section-header p {
  color: #666;
  font-family: 'Source Serif 4', serif;
}

/* Footer - Elegant */
body.elegant-mode .main-footer {
  background: #121212;
  border-top: none;
  padding: 50px 20px;
}

body.elegant-mode .footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: #fff;
  text-shadow: none;
}

body.elegant-mode .footer-quote {
  font-family: 'Source Serif 4', serif;
  color: #aaa;
  border: none;
  padding: 0;
}

body.elegant-mode .footer-links a {
  font-family: 'Inter', sans-serif;
  color: #aaa;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

body.elegant-mode .footer-links a:hover {
  color: #fff;
  text-shadow: none;
}

body.elegant-mode .footer-copy {
  color: #666;
  font-family: 'Inter', sans-serif;
}

body.elegant-mode .visitor-counter {
  background: #1a1a1a;
  border: 1px solid #333;
  font-family: 'Inter', sans-serif;
  color: #aaa;
}

/* Empty State - Elegant */
body.elegant-mode .empty-state h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #121212;
}

/* Chaos Toggle Button in Elegant Mode */
body.elegant-mode .chaos-toggle {
  background: linear-gradient(135deg, #c41e3a, #d63250);
  border-radius: 4px;
}

/* Loading Screen - Elegant */
body.elegant-mode .loading-screen {
  background: #faf9f6;
}

body.elegant-mode .loading-text {
  font-family: 'Inter', sans-serif;
  color: #121212;
}

/* Fake Popup - Elegant (still chaotic, it's a popup after all) */
body.elegant-mode .fake-popup {
  background: #fff;
  border: 2px solid #121212;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

body.elegant-mode .fake-popup h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #121212;
}

body.elegant-mode .fake-popup p {
  color: #555;
  font-family: 'Source Serif 4', serif;
}

body.elegant-mode .fake-popup .close-popup {
  background: #121212;
  color: #fff;
  font-family: 'Inter', sans-serif;
  border-radius: 4px;
}

/* Hide chaos emoji decorations in elegant mode */
body.elegant-mode .masthead h1 {
  font-size: 3rem;
}

/* Override print styles for elegant mode */

@media print {
  body.elegant-mode::before {
    content: "";
    display: none;
  }

  body.elegant-mode * {
    display: revert !important;
  }
}/* ============================================
   ADVERTISEMENT STYLES (Previously in HTML)
   ============================================ */
.ad-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.showcase-ad {
  background: linear-gradient(145deg, #2a2a40, #1e1e30);
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--purple-rain);
  transition: all 0.4s ease;
}

.showcase-ad:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 40px rgba(148, 0, 211, 0.4);
}

.ad-header {
  background: var(--rainbow-vomit);
  background-size: 400% 100%;
  animation: rainbow-shift 5s linear infinite;
  padding: 20px;
  text-align: center;
}

.ad-header h3 {
  font-family: var(--font-headline);
  font-size: 1.8rem;
  color: #000;
  text-shadow: 2px 2px 0 #fff;
  margin-bottom: 5px;
}

.ad-header .slogan {
  font-family: var(--font-chaos);
  font-size: 1rem;
  color: #333;
  font-style: italic;
}

.ad-body {
  padding: 25px;
}

.ad-body p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 15px;
}

.ad-special {
  background: var(--blood-red);
  color: #fff;
  padding: 15px;
  text-align: center;
  font-family: var(--font-headline);
  animation: pulse-label 0.8s infinite alternate;
}

.ad-contact {
  background: rgba(0, 0, 0, 0.3);
  padding: 15px;
  text-align: center;
  font-size: 0.9rem;
}

.ad-contact a {
  color: var(--cyber-blue);
  text-decoration: none;
}

.banner-ad {
  background: var(--fire-gradient);
  padding: 30px;
  text-align: center;
  border-radius: 15px;
  margin: 30px 0;
  animation: ad-flash 2s infinite;
}

.banner-ad h2 {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  color: #000;
  text-shadow: 2px 2px 0 var(--radioactive-yellow);
  margin-bottom: 10px;
}

.banner-ad p {
  color: #333;
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.banner-ad .cta-btn {
  display: inline-block;
  background: #000;
  color: var(--radioactive-yellow);
  padding: 15px 40px;
  border-radius: 50px;
  font-family: var(--font-headline);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.banner-ad .cta-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.rate-card {
  background: linear-gradient(145deg, #1e1e30, #2a2a40);
  border-radius: 15px;
  padding: 30px;
  border: 2px solid var(--electric-lime);
  margin-top: 40px;
}

.rate-card h3 {
  font-family: var(--font-headline);
  font-size: 2rem;
  color: var(--radioactive-yellow);
  margin-bottom: 20px;
  text-align: center;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
}

.rate-table th,
.rate-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rate-table th {
  background: var(--purple-rain);
  color: #fff;
  font-family: var(--font-headline);
}

.rate-table tr:hover {
  background: rgba(0, 255, 255, 0.1);
}

.rate-table .price {
  color: var(--neon-green);
  font-family: var(--font-retro);
  font-size: 0.9rem;
}

.testimonial {
  background: linear-gradient(145deg, #2a2a40, #1e1e30);
  padding: 25px;
  border-radius: 15px;
  border-left: 5px solid var(--hot-pink);
  margin: 20px 0;
}

.testimonial blockquote {
  color: #ccc;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.testimonial .author {
  color: var(--cyber-blue);
  font-family: var(--font-headline);
}

/* ============================================
   ELEGANT MODE AD OVERRIDES
   ============================================ */
body.elegant-mode .showcase-ad {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  box-shadow: none;
}

body.elegant-mode .showcase-ad:hover {
  transform: none;
  box-shadow: none;
}

body.elegant-mode .ad-header {
  background: #f9f9f9 !important;
  border-bottom: 1px solid #e0e0e0;
  padding: 15px;
}

body.elegant-mode .ad-header h3 {
  font-family: 'Playfair Display', serif;
  color: #121212;
  text-shadow: none;
  font-size: 1.4rem;
}

body.elegant-mode .ad-header .slogan {
  font-family: 'Source Serif 4', serif;
  color: #555;
  font-size: 0.9rem;
}

body.elegant-mode .ad-body p {
  color: #333;
  font-family: 'Source Serif 4', serif;
}

body.elegant-mode .ad-special {
  background: #fff !important;
  color: #c41e3a !important;
  border: 1px solid #c41e3a;
  font-family: 'Inter', sans-serif;
  padding: 10px;
}

body.elegant-mode .ad-contact {
  background: #f5f5f5;
  color: #333;
  font-family: 'Inter', sans-serif;
}

body.elegant-mode .ad-contact a {
  color: #121212;
  text-decoration: underline;
}

body.elegant-mode .banner-ad {
  background: #fff;
  border: 2px solid #121212;
  border-radius: 0;
}

body.elegant-mode .banner-ad h2 {
  font-family: 'Playfair Display', serif;
  color: #121212;
  text-shadow: none;
}

body.elegant-mode .banner-ad p {
  font-family: 'Source Serif 4', serif;
  color: #333;
}

body.elegant-mode .banner-ad .cta-btn {
  background: #121212;
  color: #fff;
  font-family: 'Inter', sans-serif;
  border-radius: 4px;
}

body.elegant-mode .rate-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 0;
}

body.elegant-mode .rate-card h3 {
  font-family: 'Playfair Display', serif;
  color: #121212;
}

body.elegant-mode .rate-table th {
  background: #f5f5f5;
  color: #121212;
  font-family: 'Inter', sans-serif;
}

body.elegant-mode .rate-table td {
  border-bottom: 1px solid #e0e0e0;
  color: #333;
}

body.elegant-mode .rate-table .price {
  color: #121212;
  font-family: 'Inter', sans-serif;
  font-weight: bold;
}

body.elegant-mode .testimonial {
  background: #f9f9f9;
  border-left: 3px solid #121212;
  border-radius: 0;
}

body.elegant-mode .testimonial blockquote {
  color: #555;
  font-family: 'Source Serif 4', serif;
}

body.elegant-mode .testimonial .author {
  color: #121212;
  font-family: 'Inter', sans-serif;
}

/* =========================================
   RELATED ARTICLES (Added for Elegant Mode)
   ========================================= */
.related-articles-section {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.related-articles-section h4 {
  font-family: 'Playfair Display', serif; /* Elegant font */
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
  color: #1a1a1a;
  text-align: center;
  position: relative;
}

.related-articles-section h4::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: #c41e3a;
  margin: 10px auto 0;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.related-article-card {
  background: #fff;
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.related-article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  border-color: #d1d1d1;
}

.related-article-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-image {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #f4f4f4;
  border-bottom: 1px solid #eee;
}

.related-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.related-content h5 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin: 0 0 15px 0;
  line-height: 1.4;
  color: #1a1a1a;
  font-weight: 700;
}

.read-more-small {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #c41e3a;
  text-transform: uppercase;
  letter-spacing: 1px;
  align-self: flex-start;
}

/* Elegant Mode specific adjustments if body has elegant-mode class */
body.elegant-mode .related-article-card {
    border: 1px solid #ddd;
    box-shadow: none;
}

body.elegant-mode .related-article-card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
