@font-face {
  font-family: 'Rastaglion';
  src: url('https://cdn.shopify.com/s/files/1/0623/7188/9252/files/Rastaglion.woff2?v=1765452258') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-cream: #f7f1e6;
  --maroon: #3b1616;
  --maroon-soft: #5b2828;
  --gold: #cda24a;
  --text-body: #4a3b32;
  --text-light: rgba(77, 54, 37, 0.85);
  --shadow-soft: 0 10px 25px rgba(31, 19, 9, 0.08);
  --shadow-md: 0 10px 30px rgba(59, 22, 22, 0.12);
  --radius-lg: 18px;
  --radius-md: 12px;
  --transition-fast: 0.18s ease-out;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: radial-gradient(circle at top, #f8f2e7 0, #f5eee2 40%, #f1e5d4 85%, #ecddc8 100%);
  color: var(--text-body);
  min-height: 100vh;
  line-height: 1.7;
}

html[lang="hi"] body,
html[lang="hi"] .hero-title,
html[lang="hi"] .content-card h2,
html[lang="hi"] .content-card h3,
html[lang="hi"] .content-card h4 {
  font-family: 'Nirmala UI', Mangal, 'Noto Sans Devanagari', system-ui, sans-serif;
}

.container { max-width: 900px; margin: 0 auto; padding: 0 16px; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(247, 241, 230, 0.95), rgba(247, 241, 230, 0.88));
  border-bottom: 1px solid rgba(182, 150, 109, 0.25);
}

.top-nav-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.logo-icon { width: 42px; height: 42px; flex-shrink: 0; }
.logo-icon img { width: 100%; height: 100%; object-fit: contain; }

.logo-text-main {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--maroon);
}

.logo-text-sub {
  font-size: 10px;
  color: rgba(88, 63, 44, 0.8);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(185, 145, 98, 0.5);
  background: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  color: var(--maroon-soft);
  text-decoration: none;
  font-family: system-ui, sans-serif;
  transition: all var(--transition-fast);
}

.nav-back:hover {
  background: #fff;
  border-color: rgba(151, 116, 74, 0.8);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(63, 39, 18, 0.16);
}

.segmented-toggle {
  display: inline-flex;
  background: rgba(250, 244, 232, 0.95);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  box-shadow: inset 0 1px 3px rgba(63, 39, 18, 0.12);
  border: 1px solid rgba(182, 150, 109, 0.35);
}

.lang-toggle {
  border: 0;
  background: transparent;
  color: rgba(87, 59, 40, 0.85);
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  font-family: system-ui, -apple-system, sans-serif;
  text-decoration: none;
  transition: all 0.15s ease-out;
  white-space: nowrap;
}

.lang-toggle:hover {
  background: rgba(224, 192, 119, 0.15);
  color: var(--maroon);
}

.lang-toggle.active {
  background: white;
  color: var(--maroon);
  box-shadow: 0 1px 3px rgba(63, 39, 18, 0.18), 0 2px 6px rgba(184, 146, 91, 0.12);
}

.breadcrumb {
  padding: 12px 0;
  font-size: 12px;
  font-family: system-ui, sans-serif;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--maroon-soft);
  text-decoration: none;
}

.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; opacity: 0.5; }

.blog-hero { padding: 20px 0 16px; }

.hero-panel {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(205, 162, 74, 0.3);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  font-family: system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(205, 162, 74, 0.12);
  border: 1px solid rgba(205, 162, 74, 0.7);
  color: var(--maroon-soft);
}

.hero-title {
  font-family: 'Rastaglion', Georgia, serif;
  font-size: 36px;
  color: var(--maroon);
  line-height: 1.2;
  margin-top: 12px;
}

.hero-subtitle {
  max-width: 680px;
  margin-top: 10px;
  font-size: 16px;
  color: var(--text-light);
  font-family: system-ui, sans-serif;
}

.blog-banner {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(205, 162, 74, 0.35);
  box-shadow: var(--shadow-soft);
}

.content-area { padding: 16px 0 40px; }

.content-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: 30px 50px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(221, 197, 169, 0.5);
}

.content-card h2 {
  font-family: 'Rastaglion', Georgia, serif;
  font-size: 22px;
  color: var(--maroon);
  margin-bottom: 12px;
}

.content-card p,
.content-card li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  font-family: system-ui, sans-serif;
}

.content-card ul,
.content-card ol {
  padding-left: 24px;
  margin: 10px 0 18px;
}

.content-card li {
  padding-left: 4px;
  margin: 4px 0;
}

.content-card a {
  color: var(--maroon);
  font-weight: 700;
  text-decoration-color: rgba(205, 162, 74, 0.65);
}

.content-card h3,
.content-card h4 {
  color: var(--maroon);
  font-family: 'Rastaglion', Georgia, serif;
  line-height: 1.3;
  margin: 22px 0 10px;
}

.content-card h3 { font-size: 22px; }
.content-card h4 { font-size: 18px; }

.content-card img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.post-list {
  display: grid;
  gap: 14px;
}

.post-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(205, 162, 74, 0.28);
  background: rgba(250, 246, 238, 0.75);
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.post-card:hover {
  background: #fff;
  border-color: rgba(151, 116, 74, 0.65);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(31, 19, 9, 0.08);
}

.post-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(205, 162, 74, 0.35);
}

.post-card strong {
  display: block;
  color: var(--maroon);
  font-family: system-ui, sans-serif;
  font-size: 16px;
  margin-bottom: 4px;
}

.post-card span {
  display: block;
  color: var(--text-light);
  font-family: system-ui, sans-serif;
  font-size: 13px;
}

.empty-state {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(205, 162, 74, 0.08);
  border: 1px dashed rgba(205, 162, 74, 0.55);
}

footer {
  padding: 16px 0 24px;
  border-top: 1px solid rgba(192, 159, 124, 0.5);
  background: linear-gradient(to top, rgba(215, 189, 158, 0.28), rgba(247, 241, 230, 0.1));
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-family: system-ui, sans-serif;
  color: rgba(70, 49, 33, 0.9);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #4b2b1a;
  font-weight: 500;
}

.footer-links a:hover { text-decoration: underline; }

@media (max-width: 639px) {
  .top-nav-inner {
    padding: 10px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions { justify-content: flex-start; }
  .nav-back { display: none; }
  .hero-panel { padding: 18px; }
  .hero-title { font-size: 28px; }
  .content-card { padding: 20px; }
  .content-card ul,
  .content-card ol { padding-left: 22px; }
  .post-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
