:root {
  --bg-page: #ffffff;
  --bg-subtle: #faf6f0;
  --bg-card: #ffffff;
  --header-bg: #140805;
  --header-border: rgba(229, 169, 60, 0.28);
  --ink-primary: #261612;
  --ink-heading: #3b0d09;
  --ink-secondary: #5a4640;
  --ink-muted: #7f6b63;
  --border-light: #ebe2d7;
  --border-hover: #d8c7b3;
  --accent: #c87b16;
  --accent-dark: #9c4a08;
  --accent-soft: #fef5e7;
  --btn-dark: #1b0905;
  --btn-dark-hover: #2e110a;
  --font-sans: 'Noto Sans Devanagari', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Noto Serif Devanagari', 'Noto Sans Devanagari', Georgia, serif;
  --radius-lg: 16px;
  --radius-md: 12px;
  --shadow-sm: 0 1px 4px rgba(43, 12, 8, 0.06);
  --shadow-md: 0 12px 30px rgba(43, 12, 8, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand-title-hi, .hero-title, .article-h1, .section-heading {
  font-family: var(--font-display);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== SACRED DARK HEADER ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background:
    radial-gradient(620px 140px at 78% 50%, rgba(168, 72, 22, 0.28), transparent 70%),
    linear-gradient(100deg, #0b0403 0%, #190905 55%, #2a1108 82%, #120604 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(229, 169, 60, 0.28);
  box-shadow: 0 6px 24px rgba(10, 4, 2, 0.32);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 82px;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.brand-emblem {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(235, 175, 76, 0.65);
  box-shadow: 0 0 18px rgba(235, 130, 30, 0.35);
  background: #230905;
  flex-shrink: 0;
}
.brand-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.18);
  display: block;
}
.brand-divider {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, rgba(229, 169, 60, 0.7), transparent);
  flex-shrink: 0;
}
.brand-wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
.brand-title-hi {
  font-size: 1.42rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}
.brand-flourish {
  width: 168px;
  height: 14px;
  display: block;
  margin: 2px 0 1px;
}
.brand-flourish svg {
  width: 100%;
  height: 100%;
  display: block;
}
.brand-sub-en {
  font-size: 0.68rem;
  font-weight: 500;
  color: #d6cfc7;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links > li { position: relative; }
.nav-links > li > a,
.nav-links > li > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 500;
  color: #d1d5db;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.18s, background 0.18s;
}
.nav-links > li > a:hover,
.nav-links > li > a.active,
.nav-links > li > button:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.nav-links > li > a.active {
  color: #f3b64f;
}

/* Dropdown */
.dropdown-menu-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  max-height: 75vh;
  overflow-y: auto;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 1200;
}
.has-dropdown:hover .dropdown-menu-panel,
.has-dropdown.open .dropdown-menu-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
.dropdown-menu-panel a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #d1d5db;
  transition: background 0.15s, color 0.15s;
}
.dropdown-menu-panel a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f3b64f;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(229, 169, 60, 0.75);
  background: rgba(229, 169, 60, 0.06);
  color: #f3b64f;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.header-pill-outline:hover,
.header-pill-outline.active {
  background: rgba(229, 169, 60, 0.18);
  border-color: #f3b64f;
  color: #fde68a;
}
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ===== HOME HERO & SECTIONS ===== */
.hero-section {
  background: linear-gradient(180deg, #fcf8f2 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border-light);
  padding: 48px 0 56px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--btn-dark);
  color: #f3b64f;
  border: 1px solid rgba(229, 169, 60, 0.35);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero-title {
  font-size: clamp(1.9rem, 3.5vw, 2.95rem);
  line-height: 1.3;
  font-weight: 800;
  color: var(--ink-heading);
  margin: 0 0 16px;
}
.hero-sub {
  font-size: 1.08rem;
  color: var(--ink-secondary);
  margin: 0 0 28px;
  max-width: 580px;
}
.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--btn-dark);
  color: #f8e3ba;
  border: 1px solid rgba(229, 169, 60, 0.4);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s, background 0.15s;
}
.btn-primary-dark:hover { background: var(--btn-dark-hover); color: #ffffff; transform: translateY(-1px); }
.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--ink-heading);
  border: 1px solid var(--border-hover);
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline-light:hover { border-color: var(--accent); background: var(--accent-soft); }

.featured-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.22s;
  display: block;
}
.featured-card:hover { transform: translateY(-3px); }
.featured-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f3f4f6;
}
.featured-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.featured-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #0a0a0c;
  color: #f3b64f;
  font-size: 0.78rem;
  font-weight: 700;
}
.featured-body {
  padding: 20px 22px;
}
.featured-body h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-heading);
}
.featured-body p {
  margin: 0 0 14px;
  font-size: 0.94rem;
  color: var(--ink-secondary);
}
.featured-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-dark);
}

.section-block {
  padding: 52px 0 12px;
}
.section-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}
.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  margin-bottom: 4px;
}
.section-heading {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--ink-heading);
}

/* Categories Grid */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.cat-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d1d5db;
}
.cat-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f3f4f6;
}
.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.cat-card:hover .cat-thumb img { transform: scale(1.06); }
.cat-body {
  padding: 11px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cat-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-primary);
}
.cat-arrow {
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.cat-grid-detailed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.cat-card-detailed {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cat-card-detailed:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.cat-card-detailed .cat-thumb {
  aspect-ratio: 16 / 10;
}
.cat-card-detailed:hover .cat-thumb img {
  transform: scale(1.05);
}
.cat-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.cat-card-title {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--ink-heading);
}
.cat-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cat-icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid #f2dfb8;
  color: var(--accent-dark);
  display: inline-grid;
  place-items: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.cat-grid-detailed.list-view {
  grid-template-columns: 1fr;
  gap: 16px;
}
.cat-grid-detailed.list-view .cat-card-detailed {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
}
.cat-grid-detailed.list-view .cat-thumb {
  aspect-ratio: auto;
  height: 100%;
  min-height: 175px;
}
.cat-grid-detailed.list-view .cat-card-body {
  padding: 20px 24px;
}
.cat-grid-detailed.list-view .cat-card-title {
  font-size: 1.24rem;
}
.cat-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-secondary);
  flex: 1;
}
.cat-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f2ebe2;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-dark);
}

/* Search Box */
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 8px 14px;
  min-width: 280px;
}
.search-box input {
  border: 0;
  background: transparent;
  outline: none;
  width: 100%;
  font-family: inherit;
  font-size: 0.94rem;
  color: var(--ink-primary);
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}
.article-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-hover);
}
.article-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-subtle);
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.article-card:hover .article-thumb img { transform: scale(1.05); }
.badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--btn-dark);
  border: 1px solid rgba(229, 169, 60, 0.45);
  color: #f3b64f;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.badge-cat {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: rgba(12, 6, 4, 0.84);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tag-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--ink-secondary);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.12s;
}
.tag-chip:hover {
  border-color: var(--border-hover);
  background: var(--bg-subtle);
  color: var(--ink-heading);
  transform: translateY(-1px);
}
.tag-chip.active {
  background: var(--btn-dark);
  border-color: var(--accent);
  color: #f3b64f;
}
.tag-chip-icon {
  font-size: 0.92rem;
  line-height: 1;
}
.article-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 12px;
}
.article-title {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.48;
  font-weight: 700;
  color: var(--ink-heading);
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--accent-dark);
  padding-top: 10px;
  border-top: 1px solid #f2ebe2;
}
.read-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(200, 123, 22, 0.45);
  display: inline-grid;
  place-items: center;
  font-size: 0.85rem;
  color: var(--accent-dark);
  transition: background 0.15s, color 0.15s;
}
.article-card:hover .read-arrow {
  background: var(--accent-dark);
  color: #ffffff;
  border-color: var(--accent-dark);
}
.article-summary {
  display: none;
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--ink-secondary);
}

/* View Toggle & List View */
.section-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.view-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 3px;
  gap: 3px;
}
.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-secondary);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.view-btn:hover { color: var(--ink-heading); }
.view-btn.active {
  background: var(--btn-dark);
  color: #f3b64f;
  box-shadow: var(--shadow-sm);
}

.articles-grid.list-view {
  grid-template-columns: 1fr;
  gap: 16px;
}
.articles-grid.list-view .article-card {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
}
.articles-grid.list-view .article-thumb {
  aspect-ratio: auto;
  height: 100%;
  min-height: 175px;
}
.articles-grid.list-view .article-body {
  padding: 20px 24px;
  gap: 10px;
}
.articles-grid.list-view .article-title {
  font-size: 1.22rem;
}
.articles-grid.list-view .article-summary {
  display: block;
}
.lazy-status-wrap {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.lazy-status-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ===== ARTICLE & CATEGORY PAGES ===== */
.breadcrumb-bar {
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-subtle);
  padding: 12px 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}
.breadcrumb-bar a:hover { color: var(--ink-heading); }

.article-header,
.category-hero {
  padding: 36px 0 24px;
}
.category-hero {
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
  background: linear-gradient(180deg, #fcf8f2 0%, #ffffff 100%);
}
.category-hero .hero-sub {
  max-width: none;
}
.cat-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid #f2dfb8;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: capitalize;
  margin-bottom: 14px;
}
.article-h1 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--ink-heading);
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.hero-banner {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin-bottom: 36px;
  max-height: 440px;
  background: #f3f4f6;
}
.hero-banner img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  align-items: start;
}

.video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #0a0a0c;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.video-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.article-watermark-page {
  position: relative;
}
.article-watermark-page::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('../img/logo.webp') center 54% / min(640px, 78vw) no-repeat;
  opacity: 0.065;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.article-watermark-page > * {
  position: relative;
  z-index: 1;
}
.article-watermark-page .article-content {
  background: rgba(255, 255, 255, 0.86);
}
.article-watermark-page .side-card {
  background: rgba(255, 255, 255, 0.92);
}

.article-content {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  font-size: 1.06rem;
  line-height: 1.92;
  color: var(--ink-primary);
  overflow-x: hidden;
}
.article-content font[color="#000000"],
.article-content font[color="#000"] {
  color: var(--ink-primary);
}
.article-content h2 {
  font-size: 1.48rem;
  font-weight: 700;
  color: var(--ink-heading);
  margin: 24px 0 10px;
}
.article-content hr {
  border: 0;
  border-top: 1px solid var(--border-light);
  margin: 22px 0;
}
.article-content .naimish-blog {
  border-radius: 12px;
}

/* Sticky Sidebar */
.sidebar-stack {
  position: sticky;
  top: 90px;
  display: grid;
  gap: 20px;
}
.side-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}
.side-card h3 {
  margin: 0 0 14px;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink-heading);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}
.side-thumb {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 14px;
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
}
.side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
}
.meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #e5e7eb;
}
.meta-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.meta-label { color: var(--ink-muted); font-weight: 600; }
.meta-val { color: var(--ink-primary); font-weight: 600; text-align: right; }

.direction-btn {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--btn-dark);
  border: 1px solid rgba(229, 169, 60, 0.45);
  color: #f3b64f;
  font-weight: 700;
  font-size: 0.9rem;
}
.direction-btn:hover { background: var(--btn-dark-hover); color: #fde68a; }
.map-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}
.map-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 700;
}
.map-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #f3f4f6;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.share-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.share-btn {
  flex: 1;
  text-align: center;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-subtle);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink-heading);
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.share-btn:hover { background: var(--btn-dark); color: #f3b64f; border-color: var(--btn-dark); }

.related-list {
  display: grid;
  gap: 12px;
}
.related-item {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  padding: 6px;
  border-radius: 10px;
  transition: background 0.15s;
}
.related-item:hover { background: #f9fafb; }
.related-item img {
  width: 74px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
}
.related-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-primary);
  line-height: 1.35;
}
.related-sub {
  font-size: 0.78rem;
  color: var(--accent-dark);
  font-weight: 600;
  margin-top: 2px;
}

/* ===== CONTACT PAGE ===== */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}
.contact-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-card-title {
  margin: 0 0 6px;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ink-primary);
}
.contact-card-sub {
  margin: 0 0 22px;
  font-size: 0.96rem;
  color: var(--ink-secondary);
}
.contact-email-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-primary);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--ink-primary);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 123, 22, 0.15);
}
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.contact-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.contact-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.contact-alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}
.contact-topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.55;
}
.footer-mail-link {
  color: #f3b64f !important;
  font-weight: 600 !important;
}
.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}
.about-pillar {
  background: #fafaf8;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 18px;
}
.about-pillar h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-primary);
}
.about-pillar p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-secondary);
}

/* ===== SACRED DARK FOOTER ===== */
.site-footer {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background:
    linear-gradient(95deg, rgba(11, 4, 3, 0.92) 0%, rgba(18, 7, 5, 0.72) 52%, rgba(18, 7, 5, 0.25) 100%),
    url('../img/footer.webp') right center / cover no-repeat,
    #0b0403;
  color: #d6cfc7;
  margin-top: 72px;
  padding: 40px 0 24px;
  border-top: 1px solid rgba(229, 169, 60, 0.28);
}
.footer-content {
  position: relative;
  z-index: 1;
}
.footer-hero-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(229, 169, 60, 0.16);
}
.footer-sep {
  width: 1px;
  height: 54px;
  background: linear-gradient(180deg, transparent, rgba(229, 169, 60, 0.5), transparent);
}
.footer-tagline {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #e5ded6;
  max-width: 540px;
}
.footer-inline-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-inline-links a {
  color: #d6cfc7;
  font-size: 0.88rem;
  font-weight: 500;
}
.footer-inline-links a:hover { color: #f3b64f; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 18px;
  font-size: 0.84rem;
  color: #b7afa6;
}
.social-row {
  display: flex;
  gap: 10px;
}
.social-row a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  place-items: center;
  color: #e5e7eb;
  font-size: 0.9rem;
  transition: background 0.18s, color 0.18s;
}
.social-row a:hover {
  background: #f3b64f;
  color: #0a0a0c;
  border-color: #f3b64f;
}

@media (max-width: 1120px) {
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .articles-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .article-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .sidebar-stack { position: static; }
  .hero-banner img { height: 280px; }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #160906;
    border-bottom: 1px solid rgba(229, 169, 60, 0.25);
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 20px;
  }
  .nav-links.mobile-open { display: flex; }
  .dropdown-menu-panel {
    position: static;
    box-shadow: none;
    margin-top: 4px;
    max-height: none;
  }
  .mobile-toggle { display: inline-flex; }
  .footer-sep { display: none; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid-detailed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid-detailed.list-view { grid-template-columns: 1fr; }
  .cat-grid-detailed.list-view .cat-card-detailed { grid-template-columns: 200px minmax(0, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .articles-grid.list-view { grid-template-columns: 1fr; }
  .articles-grid.list-view .article-card { grid-template-columns: 200px minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .contact-form-row,
  .about-pillars { grid-template-columns: 1fr; }
  .cat-grid-detailed.list-view .cat-card-detailed { grid-template-columns: 1fr; }
  .cat-grid-detailed.list-view .cat-thumb { aspect-ratio: 16 / 10; min-height: 0; }
  .articles-grid.list-view .article-card { grid-template-columns: 1fr; }
  .articles-grid.list-view .article-thumb { aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 540px) {
  .container-wrap { padding: 0 16px; }
  .header-inner { height: 72px; }
  .brand-lockup { gap: 10px; }
  .brand-emblem { width: 42px; height: 42px; }
  .brand-divider { height: 34px; }
  .brand-title-hi { font-size: 1.15rem; }
  .brand-flourish { width: 132px; }
  .brand-sub-en { font-size: 0.58rem; letter-spacing: 0.2em; }
  .header-pill-outline { padding: 6px 14px; font-size: 0.84rem; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid-detailed { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .search-box { width: 100%; }
  .article-content { padding: 18px; }
}
