/* ============================================================
   Ayo Gorkhali — Gazette Theme CSS
   Warm ivory broadsheet. Same crimson + Newsreader fonts.
   ============================================================ */

/* ----------------------------------------------------------
   Base — warm paper background
   ---------------------------------------------------------- */
body {
  background-color: #faf8f4;
  color: #1c1612;
}

/* ----------------------------------------------------------
   Search dropdown — force solid background
   ---------------------------------------------------------- */
#search-dropdown {
  background-color: #ffffff !important;
  border: 1px solid #d8d0c4 !important;
  box-shadow: 0 8px 32px rgba(28, 22, 18, 0.15) !important;
}

/* ----------------------------------------------------------
   Gazette dark sections — edition strip + footer
   Forced with direct colour values to bypass Tailwind CDN
   token caching (bg-on-surface may resolve incorrectly).
   ---------------------------------------------------------- */
.gazette-dark {
  background-color: #1c1612 !important;
  color: #ffffff !important;
}

.gazette-dark p,
.gazette-dark span,
.gazette-dark li {
  color: rgba(255, 255, 255, 0.85) !important;
}

.gazette-dark a {
  color: rgba(255, 255, 255, 0.85) !important;
}

.gazette-dark a:hover {
  color: #f87171 !important; /* rose-400 */
}

.gazette-dark .gazette-label {
  color: rgba(255, 255, 255, 0.5) !important;
}

.gazette-dark .gazette-muted {
  color: rgba(255, 255, 255, 0.55) !important;
}

.gazette-dark .gazette-copyright {
  color: rgba(255, 255, 255, 0.45) !important;
}

.gazette-dark .gazette-divider {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* ----------------------------------------------------------
   Drop Cap
   ---------------------------------------------------------- */
.article-body > p:first-child::first-letter,
p.drop-cap::first-letter {
  float: left;
  font-size: 5.5rem;
  line-height: 0.8;
  padding-right: 12px;
  padding-top: 4px;
  font-family: 'Newsreader', Georgia, serif;
  color: #b1002c;
  font-weight: 800;
}

/* ----------------------------------------------------------
   Pull Quote
   ---------------------------------------------------------- */
.article-body blockquote.pull-quote,
blockquote.pull-quote {
  position: relative;
  padding: 3rem 0 3rem 2rem;
  margin: 3rem 0;
  border-left: 4px solid #b1002c;
  background-color: rgba(244, 241, 235, 0.7);
}

blockquote.pull-quote .pull-quote-mark {
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 6rem;
  font-family: 'Newsreader', Georgia, serif;
  color: rgba(177, 0, 44, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

blockquote.pull-quote p,
blockquote.pull-quote {
  font-size: 1.75rem;
  line-height: 1.3;
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  color: #1c1612;
  font-style: italic;
}

blockquote.pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b1002c;
  font-style: normal;
  font-weight: 600;
}

/* ----------------------------------------------------------
   Article body prose
   ---------------------------------------------------------- */
.article-body p {
  margin-bottom: 1.5rem;
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #2a201a;
}

.article-body p + p { color: #5a4e44; }

.article-body h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.875rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: #1c1612;
}

.article-body h3 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: #1c1612;
}

.article-body a { color: #b1002c; text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: #8c0022; }

.article-body ul,
.article-body ol {
  margin: 1.5rem 0 1.5rem 1.5rem;
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 1.0625rem;
  color: #5a4e44;
}

.article-body ul { list-style-type: disc; }
.article-body ol { list-style-type: decimal; }
.article-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-body em { font-style: italic; }
.article-body strong { font-weight: 700; color: #1c1612; }

/* ----------------------------------------------------------
   Info Box
   ---------------------------------------------------------- */
.info-box { background-color: #f4f1eb; border-color: rgba(177,0,44,0.12); }
.info-box h3 { color: #1c1612; }
.info-box p  { color: #6b5e52; }

/* ----------------------------------------------------------
   Search highlight
   ---------------------------------------------------------- */
mark { background-color: #fde8ec; color: #1c1612; }

/* ----------------------------------------------------------
   Gazette decorative rules
   ---------------------------------------------------------- */
.gazette-rule {
  border: none;
  height: 1px;
  background: #d8d0c4;
}

.gazette-rule-double {
  border: none;
  height: 3px;
  background: linear-gradient(to bottom, #1c1612 0%, #1c1612 1px, transparent 1px, transparent 2px, #1c1612 2px, #1c1612 3px);
}

/* ----------------------------------------------------------
   Gazette edition strip (top of page)
   ---------------------------------------------------------- */
.gazette-edition-strip {
  background-color: #1c1612;
  color: #f4f1eb;
}

/* ----------------------------------------------------------
   Scrollbar — warm sepia
   ---------------------------------------------------------- */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: #faf8f4; }
::-webkit-scrollbar-thumb { background: #d8d0c4; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #b1002c; }
