/* ════════════════════════════════════════════════════════════════
   Himalaya Theme — Nepal flag palette: Crimson #C41E3A · Navy #003893
   ════════════════════════════════════════════════════════════════ */

/* ── Drop cap ────────────────────────────────────────────────── */
.drop-cap::first-letter {
  float: left;
  font-size: 5rem;
  line-height: 0.82;
  padding-right: 10px;
  padding-top: 5px;
  font-family: 'Newsreader', Georgia, serif;
  color: #C41E3A;
  font-weight: 800;
}

/* ── Pull quote ──────────────────────────────────────────────── */
.pull-quote {
  position: relative;
  padding: 2.5rem 2rem 2.5rem 2rem;
  margin: 2.5rem 0;
  border-left: 4px solid #003893;
  background: rgba(0, 56, 147, 0.04);
  border-radius: 0 0.5rem 0.5rem 0;
}
.pull-quote p {
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 600;
  color: #1C2B4A;
  line-height: 1.5;
  margin: 0;
}
.pull-quote cite {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #003893;
  font-style: normal;
  margin-top: 1rem;
}

/* ── Article body links ──────────────────────────────────────── */
.article-body a {
  color: #C41E3A;
  text-decoration: underline;
  text-decoration-color: rgba(196, 30, 58, 0.3);
  transition: text-decoration-color 0.2s;
}
.article-body a:hover {
  text-decoration-color: #C41E3A;
}

/* ── Search dropdown — solid white bg (overrides any transparency) */
#search-dropdown {
  background-color: #ffffff !important;
  min-height: 0;
}

/* ════════════════════════════════════════════════════════════════
   Tailwind CDN TOKEN OVERRIDES
   The CDN can serve a cached stylesheet that ignores custom token
   values.  These hardcoded !important rules guarantee the Nepal
   flag colours render correctly regardless of cache state.
   ════════════════════════════════════════════════════════════════ */

/* Primary — Nepal Crimson */
.bg-primary             { background-color: #C41E3A !important; }
.text-primary           { color:            #C41E3A !important; }
.border-primary         { border-color:     #C41E3A !important; }
.border-l-primary,
.border-l-4.border-primary { border-left-color: #C41E3A !important; }
.hover\:bg-primary:hover  { background-color: #C41E3A !important; }
.hover\:bg-red-700:hover  { background-color: #be123c !important; }

/* Secondary — Nepal Navy  */
.bg-secondary           { background-color: #003893 !important; }
.text-secondary         { color:            #003893 !important; }
.border-secondary       { border-color:     #003893 !important; }

/* Surface tokens */
.bg-surface-container-low  { background-color: #F8FAFF !important; }
.bg-surface-container      { background-color: #E8EFF8 !important; }
.bg-mist                   { background-color: #E8EFF8 !important; }
.bg-ink                    { background-color: #1C2B4A !important; }

/* Text tokens */
.text-on-surface         { color: #1C2B4A !important; }
.text-on-surface-variant { color: #3D5070 !important; }
.text-outline            { color: #8899BB !important; }

/* Border tokens */
.border-outline-variant  { border-color: #C8D4E8 !important; }
.divide-outline-variant > :not([hidden]) ~ :not([hidden]) {
  border-color: #C8D4E8 !important;
}

/* ── Scrollbar hide utility ──────────────────────────────────── */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ── Line clamp ──────────────────────────────────────────────── */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Section label — red rule + tiny uppercase text ─────────── */
.himalaya-section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.himalaya-section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: #C41E3A;
  flex-shrink: 0;
}

/* ── Hero section — ensures image covers fully in all browsers ─ */
.hero-image-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Himalaya card hover border accent ──────────────────────── */
.hm-card {
  transition: box-shadow 0.2s, transform 0.2s;
}
.hm-card:hover {
  box-shadow: 0 4px 24px rgba(0, 56, 147, 0.10);
}

/* ── Material Symbols filled variant ────────────────────────── */
.filled {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ── Prose overrides for article body (theme-specific colors) ── */
.prose-himalaya h2,
.prose-himalaya h3 {
  color: #1C2B4A;
  font-family: 'Newsreader', Georgia, serif;
}
.prose-himalaya blockquote {
  border-left-color: #C41E3A;
  color: #3D5070;
}
