/* ============================================================
   ZODIAC MAILER — NEWS DETAIL PAGE (news_styles/default-details.css)
   ============================================================ */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: #06071a; }

body {
  display: flex; flex-direction: column; min-height: 100vh;
  background: #06071a; color: #e8eaf6;
  font-family: 'Poppins', sans-serif; font-size: 17px; line-height: 1.65;
}

a { text-decoration: none; color: #f0cc5a; }
a:hover { color: #f7e8a0; }

.flex     { display: flex; }
.wrap     { flex-wrap: wrap; }
.center   { justify-content: center; }
.center-v { align-items: center; }
.between  { justify-content: space-between; }
.container { width: 90%; max-width: 960px; margin: 0 auto; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(6,7,26,.98) 0%, rgba(6,7,26,.92) 100%);
  border-bottom: 1px solid rgba(201,162,39,.18);
  backdrop-filter: blur(12px);
}
.site-header .container,
.header-container {
  padding: .9rem 0; display: flex;
  align-items: center; justify-content: space-between;
  gap: 1.5rem; width: 90%; max-width: 960px; margin: 0 auto;
}
.nav-logo,
.site-header .logo img { max-height: 48px; display: block; flex-shrink: 0; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; align-items: center; }
.main-nav ul li { display: inline-block; }
.main-nav a {
  text-decoration: none !important;
  display: inline-flex; align-items: center; gap: 0;
  padding: .5rem 1rem; border-radius: 12px;
  font-family: 'Cinzel', serif; font-size: .75rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(232,234,246,.8);
  transition: color .25s, background .25s; white-space: nowrap;
}
.main-nav a:hover { color: #f0cc5a; background: rgba(201,162,39,.08); }
.main-nav i { font-size: .95rem; margin-right: .35rem; }

/* ===== NEWS DETAIL HERO ===== */
.news-detail-hero {
  position: relative; padding: 3.5rem 0 3rem;
  text-align: center; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(61,31,122,.5) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(160,25,74,.2) 0%, transparent 55%),
    #06071a;
  border-bottom: 1px solid rgba(201,162,39,.1);
}
.news-detail-hero .pattern {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(rgba(201,162,39,.1) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 30px 30px, 18px 18px;
  animation: driftDots 40s linear infinite;
}
@keyframes driftDots {
  from { background-position: 0 0, 9px 9px; }
  to   { background-position: 30px 30px, 39px 39px; }
}

/* Breadcrumb */
.breadcrumb ul {
  list-style: none; display: flex; align-items: center;
  justify-content: center; gap: .5rem;
  font-family: 'Cinzel', serif; font-size: .68rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(232,234,246,.4); margin-bottom: .8rem;
  padding: 0; position: relative; z-index: 2;
}
.breadcrumb ul li a { color: #c9a227; transition: color .2s; }
.breadcrumb ul li a:hover { color: #f7e8a0; }
.breadcrumb ul li .sep { color: rgba(201,162,39,.3); margin: 0 .3rem; }

/* Hero title */
.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700;
  letter-spacing: .05em; color: #f0cc5a;
  position: relative; display: inline-block;
  margin-bottom: .4rem; z-index: 2;
  overflow: hidden;
}
.hero-title::after {
  content: '';
  position: absolute; top: 0; left: -80%;
  width: 45%; height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(201,162,39,.15) 50%, transparent 80%);
  transform: skewX(-20deg);
  animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
  0%   { left: -80%; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { left: 140%; opacity: 0; }
}
.hero-meta {
  font-size: .82rem; color: rgba(232,234,246,.45);
  letter-spacing: .08em; position: relative; z-index: 2;
}

/* ===== ARTICLE SECTION ===== */
.article-section { flex: 1; padding: 2.5rem 0 4rem; }
.article-container { display: flex; gap: 2rem; align-items: flex-start; }
.article-content { flex: 2; min-width: 0; }

.article-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,162,39,.14);
  border-radius: 20px; padding: 2.2rem 2rem;
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
  animation: fadeUp .7s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.article-body p { color: rgba(232,234,246,.7); margin-bottom: 1rem; line-height: 1.75; font-size: .92rem; }
.article-body h2,
.article-body h3 {
  font-family: 'Cinzel', serif; color: #f0cc5a;
  letter-spacing: .04em; text-align: left;
  margin-top: 1.8rem; margin-bottom: .6rem;
}
.article-body h2 { font-size: 1.2rem; }
.article-body h3 { font-size: 1rem; color: rgba(240,204,90,.8); }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.article-body li { margin-bottom: .5rem; color: rgba(232,234,246,.7); line-height: 1.65; }
.article-body ul li::marker { color: #c9a227; }
.article-body ol li::marker { color: #c9a227; font-family: 'Cinzel', serif; }
.article-body img {
  max-width: 100%; border-radius: 10px; margin: 1.2rem 0;
  border: 1px solid rgba(201,162,39,.15);
}
.article-body a { color: #f0cc5a; text-decoration: underline; text-decoration-color: rgba(201,162,39,.35); transition: color .2s; }
.article-body a:hover { color: #f7e8a0; }

/* ===== SIDEBAR ===== */
.sidebar {
  flex: 0 0 300px;
  display: flex; flex-direction: column;
  gap: 1.2rem; align-items: center;
}
.banner-slot {
  width: 300px; height: 250px;
  background: rgba(255,255,255,.02);
  border: 1px dashed rgba(201,162,39,.22);
  border-radius: 12px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  color: rgba(201,162,39,.3);
  font-family: 'Cinzel', serif; font-size: .65rem;
  letter-spacing: .14em; text-transform: uppercase;
}

/* ===== FOOTER ===== */
.site-footer {
  background: rgba(0,0,0,.55); border-top: 1px solid rgba(201,162,39,.15);
  color: rgba(232,234,246,.45); text-align: center; padding: 1rem 0; font-size: .8rem;
}
.site-footer a { color: #c9a227; transition: color .2s; }
.site-footer a:hover { color: #f7e8a0; }

/* ===== RESPONSIVE ===== */
@media(max-width: 900px) {
  .article-container { flex-direction: column; }
  .sidebar { flex: none; width: 100%; flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .banner-slot { margin-bottom: .5rem; }
}
@media(max-width: 600px) {
  .article-card { padding: 1.5rem 1.2rem; }
}