/* ==========================================================================
   Official National Bahá’í Website of Bangladesh — public stylesheet
   Palette: deep river-green, warm gold, cream paper, terracotta accent
   ========================================================================== */

:root {
  --green-950: #08261e;
  --green-900: #0b3127;
  --green-800: #0e3b2f;
  --green-700: #145140;
  --green-600: #1b6650;
  --green-100: #e3efe9;
  --gold-600: #8a6220; /* 5.1:1 on cream — AA for small text */
  --gold-500: #c4953a;
  --gold-400: #d9b061;
  --gold-200: #f0dfb4;
  --gold-100: #f8efd8;
  --terracotta: #a5512f;
  --cream: #fbf8f1;
  --paper: #ffffff;
  --ink: #1d2a25;
  --ink-2: #3a4943;
  --muted: #5f6d67;
  --line: #e7e0d0;
  --line-2: #efe9dc;
  --focus: #c4953a;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(16, 40, 32, .06), 0 2px 8px rgba(16, 40, 32, .05);
  --shadow: 0 2px 6px rgba(16, 40, 32, .06), 0 12px 32px rgba(16, 40, 32, .08);
  --wrap: 1180px;
  --font-body: "Hind Siliguri", "Noto Sans Bengali", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Noto Serif Bengali", "Source Serif 4", Georgia, serif;
  --kantha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='22' viewBox='0 0 64 22'%3E%3Cg fill='none' stroke='%23d9b061' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M2 4h6M12 4h6M22 4h6M36 4h6M46 4h6M56 4h6' opacity='.7'/%3E%3Cpath d='M2 18h6M12 18h6M22 18h6M36 18h6M46 18h6M56 18h6' opacity='.7'/%3E%3Cpath d='M32 6.5l2.8 4.5-2.8 4.5-2.8-4.5z'/%3E%3Cpath d='M25.5 11h3M35.5 11h3' opacity='.8'/%3E%3C/g%3E%3C/svg%3E");
}

.lang-en { --font-head: "Source Serif 4", "Noto Serif Bengali", Georgia, serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
.lang-en body, body.lang-en { line-height: 1.68; }

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green-900); line-height: 1.32; margin: 0 0 .6em; font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(1.85rem, 1.3rem + 2.4vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 1.95rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.wrap.narrow { max-width: 860px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; flex: none; }
.ic.xs { width: .95em; height: .95em; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold-500); color: var(--green-950); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Buttons, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .7em 1.35em; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.3; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-700); color: #fff; }
.btn-primary:hover { background: var(--green-800); color: #fff; box-shadow: var(--shadow-sm); }
.btn-gold { background: var(--gold-500); color: var(--green-950); }
.btn-gold:hover { background: var(--gold-400); color: var(--green-950); }
.btn-ghost { background: transparent; color: var(--green-700); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-700); color: var(--green-800); }
.btn-ghost-light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-lg { padding: .85em 1.6em; font-size: 1.04rem; }
.btn .ic { width: 1.05em; height: 1.05em; }

.tag {
  display: inline-flex; align-items: center; gap: .3em;
  font-size: .8rem; font-weight: 600; line-height: 1; letter-spacing: .01em;
  padding: .42em .7em; border-radius: 999px;
  background: var(--green-100); color: var(--green-700);
  text-decoration: none;
}
.tag-gold { background: var(--gold-100); color: #7b5617; }
.tag-plain { background: #f1eee6; color: var(--ink-2); }
.tag-green { background: var(--green-700); color: #fff; }
.tag-light { background: rgba(255,255,255,.14); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--green-700); }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic, a:hover .link-arrow .ic { transform: translateX(3px); }

.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-size: .9rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-400); margin-bottom: .9em; }
.eyebrow.dark { color: var(--gold-600); }

/* ---------- Emblem ---------- */
.emblem { width: 44px; height: 44px; color: var(--gold-500); flex: none; }
.emblem.sm { width: 22px; height: 22px; }
.emblem.xs { width: 26px; height: 26px; }
.emblem.big { width: 84px; height: 84px; margin: 0 auto 1rem; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--green-950); color: #cfe0d8; font-size: .85rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 12px; }
.topbar-note { letter-spacing: .03em; opacity: .85; }
.topbar-actions { display: flex; align-items: center; gap: 6px; }
.tb-social { color: #cfe0d8; display: inline-flex; padding: 6px; border-radius: 6px; }
.tb-social:hover { color: var(--gold-400); }
.lang-switch {
  display: inline-flex; align-items: center; gap: .4em; padding: 4px 12px; margin-left: 4px;
  border: 1px solid rgba(217,176,97,.55); border-radius: 999px; color: var(--gold-200); text-decoration: none; font-weight: 600;
}
.lang-switch:hover { background: var(--gold-500); color: var(--green-950); border-color: var(--gold-500); }

.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 rgba(0,0,0,.02); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-900); min-width: 0; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.02rem, .9rem + .6vw, 1.32rem); line-height: 1.25; }
.brand-sub { font-size: .8rem; color: var(--muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-light { color: #fff; }
.header-tools { display: flex; gap: 6px; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--green-800);
  cursor: pointer; font-size: 1.5rem; text-decoration: none; line-height: 1;
}
.icon-btn:hover { border-color: var(--gold-500); color: var(--gold-600); }
.icon-btn .ic { width: 22px; height: 22px; }

.search-panel { background: var(--green-800); padding: 14px 0; }
.search-in { display: flex; gap: 10px; }
.search-in input { flex: 1; min-width: 0; }

input[type=text], input[type=search], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .7em .9em; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(27,102,80,.15); }

/* Navigation — mobile first (drawer) */
.main-nav { display: none; border-top: 1px solid var(--line-2); background: var(--paper); }
.main-nav.open { display: block; max-height: calc(100vh - 80px); overflow-y: auto; }
.nav-list { list-style: none; margin: 0; padding: 8px 0 16px; }
.nav-item { border-bottom: 1px solid var(--line-2); }
.nav-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 13px 4px; font: inherit; font-weight: 600; color: var(--green-900); text-decoration: none;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.nav-item.active > .nav-link { color: var(--gold-600); }
.nav-item.has-sub { display: flex; flex-wrap: wrap; align-items: center; }
.nav-item.has-sub > .nav-link { flex: 1; width: auto; }
.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--green-800); cursor: pointer; border-radius: 8px; }
.sub-toggle:hover { background: var(--cream); color: var(--gold-600); }
.nav-item.has-sub > .sub { flex-basis: 100%; }
.chev { transition: transform .2s; }
.sub-toggle[aria-expanded=true] .chev { transform: rotate(180deg); }
.sub { list-style: none; margin: 0 0 10px; padding: 0 0 0 12px; display: none; }
.sub-toggle[aria-expanded=true] + .sub { display: block; }
.sub a { display: block; padding: 8px 10px; color: var(--ink-2); text-decoration: none; border-left: 2px solid var(--line); }
.sub a:hover, .sub a[aria-current] { color: var(--green-700); border-left-color: var(--gold-500); }

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-header { position: sticky; }
  .main-nav { display: block; border-top: 1px solid var(--line-2); }
  .nav-list { display: flex; flex-wrap: wrap; gap: 2px; padding: 0; }
  .nav-item { border: 0; position: relative; }
  .nav-list { justify-content: space-between; }
  .nav-item.has-sub { flex-wrap: nowrap; }
  .nav-item.has-sub > .nav-link { padding-right: 2px; }
  .sub-toggle { width: 22px; height: 30px; margin-right: 2px; }
  .nav-link { padding: 12px 8px; width: auto; gap: 4px; font-size: .94rem; position: relative; white-space: nowrap; }
  .nav-link::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 2px; background: var(--gold-500); transform: scaleX(0); transition: transform .2s; }
  .nav-link:hover::after, .nav-item.active > .nav-link::after { transform: scaleX(1); }
  .nav-link:hover { color: var(--green-700); }
  .sub {
    position: absolute; top: 100%; left: 0; min-width: 250px; padding: 8px; margin: 0;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
  }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: block; }
  .sub a { border-left: 0; border-radius: 8px; padding: 9px 12px; }
  .sub a:hover, .sub a[aria-current] { background: var(--gold-100); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #f3efe4;
  background: radial-gradient(1200px 500px at 85% 20%, rgba(217,176,97,.12), transparent 60%), linear-gradient(165deg, var(--green-950) 0%, var(--green-800) 55%, #124a3a 100%);
  padding: 56px 0 210px;
}
.hero-art { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 300px; }
.hero-in { position: relative; z-index: 1; max-width: var(--wrap); }
.hero-title { color: #fff; max-width: 17em; font-size: clamp(1.9rem, 1.2rem + 3vw, 3.3rem); line-height: 1.28; margin-bottom: .3em; }
.hero-source { color: var(--gold-400); font-family: var(--font-head); font-size: 1.1rem; margin-bottom: 1.2em; }
.hero-text { max-width: 40em; font-size: 1.08rem; color: #dbe6e0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }
@media (min-width: 900px) { .hero { padding: 88px 0 250px; } .hero-art { height: 380px; } }

/* ---------- Notice strip ---------- */
.notice-strip { position: relative; z-index: 2; margin-top: -70px; }
@media (min-width: 900px) { .notice-strip { margin-top: -80px; } }
.nb-card { background: var(--paper); border-radius: 20px; box-shadow: var(--shadow); padding: 22px 18px; border-top: 4px solid var(--gold-500); }
@media (min-width: 720px) { .nb-card { padding: 30px 34px; } }
.nb-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 14px; }
.nb-head .muted { margin: 0; }
.nb-title { display: flex; align-items: center; gap: .45em; margin: 0 0 .15em; }
.nb-title .ic { color: var(--gold-500); }
.nb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 900px) { .nb-list { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.nb-item { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-2); align-items: flex-start; }
.nb-date {
  flex: none; width: 58px; text-align: center; border-radius: 12px; padding: 6px 2px;
  background: var(--green-100); color: var(--green-800); display: flex; flex-direction: column; line-height: 1.15;
}
.is-pinned .nb-date { background: var(--gold-100); color: #7b5617; }
.nb-date .d { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; }
.nb-date .m { font-size: .74rem; font-weight: 600; }
.nb-body { min-width: 0; }
.nb-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 4px; }
.nb-link { font-weight: 600; color: var(--green-900); text-decoration: none; font-size: 1.05rem; line-height: 1.45; }
.nb-link:hover { color: var(--gold-600); text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tight { padding-top: 36px; padding-bottom: 64px; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.band-cream { background: linear-gradient(180deg, var(--gold-100), var(--cream)); }
.band-green { background: var(--green-800); color: #dbe6e0; position: relative; }
.band-green::before, .site-footer .kantha { content: ""; display: block; height: 22px; background: var(--kantha) repeat-x center; position: absolute; top: 10px; left: 0; right: 0; opacity: .55; }
.band-green h2 { color: #fff; }
.band-green .lead { color: #dbe6e0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 28px; }
.sec-head h2 { margin: 0; }
.sec-head.center { flex-direction: column; align-items: center; text-align: center; }
.ornament { color: var(--gold-500); display: flex; align-items: center; gap: 12px; }
.ornament::before, .ornament::after { content: ""; width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-400)); }
.ornament::after { transform: scaleX(-1); }
.lead { font-size: 1.12rem; color: var(--ink-2); }

.grid-3 { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split-60 { grid-template-columns: 1.5fr 1fr; align-items: start; } }

.theme-card {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px;
  transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden;
}
.theme-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--gold-500), var(--terracotta)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.theme-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.theme-card:hover::after { transform: scaleX(1); }
.theme-card h3 { margin: .4em 0 .1em; }
.theme-card p { color: var(--muted); flex: 1; }
.theme-icon { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: var(--green-100); color: var(--green-700); }
.theme-icon .ic { width: 28px; height: 28px; }
.theme-icon.light { background: rgba(255,255,255,.08); color: var(--gold-400); width: 46px; height: 46px; border-radius: 14px; }

.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 560px) { .principles { grid-template-columns: 1fr 1fr; } }
.principles li { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 600; color: var(--green-900); line-height: 1.4; }
.pr-n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--gold-100); color: #7b5617; font-family: var(--font-head); }

.cb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cb-item { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); color: #fff; text-decoration: none; font-weight: 600; line-height: 1.4; transition: background .2s, border-color .2s; }
.cb-item:hover { background: rgba(255,255,255,.1); border-color: var(--gold-400); color: #fff; }

/* Posts */
.post-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pc-media { display: block; aspect-ratio: 16 / 9; background: var(--green-800); overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .pc-media img { transform: scale(1.03); }
.pc-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gold-400); background: var(--kantha) repeat center / 64px 22px, radial-gradient(circle at 70% 30%, #1b6650, var(--green-900)); }
.pc-placeholder .ic { width: 44px; height: 44px; opacity: .9; }
.pc-placeholder.big .emblem { width: 96px; height: 96px; }
.pc-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.pc-body h3 { font-size: 1.15rem; margin: .5em 0 .4em; }
.pc-body h3 a { color: var(--green-900); text-decoration: none; }
.pc-body h3 a:hover { color: var(--gold-600); }
.pc-body p { color: var(--muted); font-size: .97rem; margin: 0; }
.pc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .88rem; color: var(--muted); margin: 0; }

.feature-post { display: grid; background: var(--paper); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 28px; }
@media (min-width: 860px) { .feature-post { grid-template-columns: 1.15fr 1fr; } }
.fp-media { display: block; min-height: 240px; background: var(--green-800); }
.fp-media img { width: 100%; height: 100%; object-fit: cover; }
.fp-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.fp-body h2 a { color: var(--green-900); text-decoration: none; }

/* Events */
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ev-row { display: flex; gap: 16px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 140px; }
.ev-row:target { border-color: var(--gold-500); box-shadow: 0 0 0 3px var(--gold-100); }
.ev-date { flex: none; width: 70px; text-align: center; padding: 8px 4px; border-radius: 12px; background: var(--green-800); color: #fff; display: flex; flex-direction: column; line-height: 1.2; align-self: flex-start; }
.ev-holy_day .ev-date { background: linear-gradient(160deg, var(--gold-500), var(--gold-600)); color: var(--green-950); }
.ev-observance .ev-date { background: var(--terracotta); }
.ev-date .d { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; }
.ev-date .m { font-size: .76rem; font-weight: 600; }
.ev-body h3 { font-size: 1.08rem; margin: 0 0 .3em; }
.ev-body p { margin: 0 0 .3em; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .9rem; color: var(--muted); }

.explore-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px; border-top: 4px solid var(--terracotta); }
.plain-links { list-style: none; padding: 0; margin: 0; }
.plain-links li { border-top: 1px solid var(--line-2); }
.plain-links a { display: flex; align-items: center; gap: 10px; padding: 11px 0; text-decoration: none; font-weight: 600; color: var(--green-800); }
.plain-links a .ic { color: var(--gold-600); }
.plain-links a:hover { color: var(--gold-600); }

/* ---------- Inner pages ---------- */
.page-head {
  background: radial-gradient(900px 300px at 90% 0%, rgba(217,176,97,.16), transparent 60%), linear-gradient(160deg, var(--green-950), var(--green-800));
  color: #dbe6e0; padding: 28px 0 46px; position: relative;
}
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: var(--kantha) repeat-x center; opacity: .45; }
.page-head h1 { color: #fff; margin-top: .3em; }
.page-lead { font-size: 1.12rem; max-width: 46em; color: #d3e0d9; margin: 0; }
.page-lead.dark { color: var(--ink-2); }
.page-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #c4d4cc; font-size: .95rem; margin: .8em 0 0; }
.page-head .nc-meta { margin-top: 1em; }

.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .88rem; }
.crumbs li { color: #b9cbc2; }
.crumbs li + li::before { content: "›"; margin: 0 6px 0 2px; opacity: .6; }
.crumbs a { color: var(--gold-200); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.crumbs [aria-current] { color: #e9f0ec; }

.content-grid { display: grid; gap: 40px; padding-top: 44px; padding-bottom: 64px; }
@media (min-width: 980px) { .content-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; } .content-grid.no-aside { grid-template-columns: minmax(0, 780px); justify-content: center; } }

.prose { max-width: 760px; font-size: 1.08rem; }
.prose h2 { margin-top: 1.6em; font-size: 1.55rem; }
.prose h3 { margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold-600); }
.prose blockquote {
  margin: 1.8em 0; padding: 1.2em 1.4em 1.2em 1.6em; background: var(--gold-100); border-left: 4px solid var(--gold-500);
  border-radius: 0 12px 12px 0; font-family: var(--font-head); font-size: 1.18rem; color: var(--green-900); line-height: 1.6;
}
.prose blockquote cite { display: block; margin-top: .6em; font-family: var(--font-body); font-style: normal; font-size: .95rem; color: var(--gold-600); font-weight: 600; }
.prose img { border-radius: 12px; margin: 1.4em 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption, .lead-figure figcaption { font-size: .9rem; color: var(--muted); margin-top: .5em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .97rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: .55em .8em; text-align: left; }
.prose th { background: var(--gold-100); }
.prose hr { border: 0; height: 22px; background: var(--kantha) repeat-x center; opacity: .8; margin: 2em 0; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; }
.lead-figure { margin: 0 0 1.6em; }
.lead-figure img { border-radius: 14px; width: 100%; }
.note { background: #fff7e3; border: 1px solid var(--gold-200); border-radius: 10px; padding: .8em 1em; color: #6b4b12; font-size: .95rem; }
.updated { margin-top: 2.4em; padding-top: 1em; border-top: 1px solid var(--line); }

.side-nav { align-self: start; position: sticky; top: 140px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-nav h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-600); font-family: var(--font-body); margin-bottom: .6em; }
.side-nav ul { list-style: none; margin: 0; padding: 0; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; text-decoration: none; color: var(--ink-2); font-weight: 500; line-height: 1.4; }
.side-nav a .ic { color: var(--gold-600); }
.side-nav a:hover { background: var(--cream); color: var(--green-800); }
.side-nav a[aria-current] { background: var(--green-100); color: var(--green-800); font-weight: 600; }
@media (max-width: 979px) { .side-nav { position: static; } }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tabs a { padding: .5em 1.05em; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; display: inline-flex; gap: .5em; align-items: center; }
.tabs a:hover { border-color: var(--green-600); color: var(--green-700); }
.tabs a[aria-current] { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.tabs .count { font-size: .78rem; background: rgba(0,0,0,.08); padding: .1em .5em; border-radius: 999px; }
.tabs a[aria-current] .count { background: rgba(255,255,255,.2); }

.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 26px; }
.filters label { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; font-weight: 600; color: var(--muted); min-width: 150px; flex: 1 1 150px; }
.filters label.grow { flex: 3 1 220px; }

.notice-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.notice-card { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--green-600); border-radius: var(--radius); padding: 20px 22px; }
.notice-card.is-pinned { border-left-color: var(--gold-500); background: linear-gradient(90deg, #fffaf0, #fff 40%); }
.notice-card.is-expired { border-left-color: #c9c3b6; }
.notice-card.is-expired h2 a { color: var(--ink-2); }
.notice-card h2 { font-size: 1.22rem; margin: .5em 0 .35em; }
.notice-card h2 a { color: var(--green-900); text-decoration: none; }
.notice-card h2 a:hover { color: var(--gold-600); text-decoration: underline; }
.notice-card p { color: var(--muted); margin-bottom: .6em; }
.nc-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .88rem; color: var(--muted); }
.nc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.nc-foot .link-arrow { margin-left: auto; }

.attach-box { display: grid; gap: 12px; margin: 28px 0; }
@media (min-width: 640px) { .attach-box { grid-template-columns: 1fr 1fr; } }
.attach { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--green-900); }
.attach > .ic { width: 28px; height: 28px; color: var(--gold-600); }
.attach span { display: flex; flex-direction: column; min-width: 0; }
.attach small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.attach:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 28px 0 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.share > span { font-weight: 600; color: var(--muted); margin-right: 4px; }
.share a, .share button { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--green-800); cursor: pointer; font: inherit; font-size: .9rem; text-decoration: none; }
.share a:hover, .share button:hover { border-color: var(--gold-500); color: var(--gold-600); }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.video { margin: 1.6em 0; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; display: block; background: #000; }
.back { margin-top: 12px; }

.res-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.res-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 140px; }
.res-card:target { border-color: var(--gold-500); }
.res-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--gold-100); color: var(--gold-600); display: inline-flex; align-items: center; justify-content: center; }
.res-icon .ic { width: 26px; height: 26px; }
.res-body h2 { font-size: 1.15rem; margin: .4em 0 .3em; }
.res-body h2 a { color: var(--green-900); text-decoration: none; }
.res-body h2 a:hover { color: var(--gold-600); text-decoration: underline; }
.res-body p { margin: 0; color: var(--muted); }
.res-action { grid-column: 1 / -1; justify-self: start; }
.res-action small { font-weight: 400; opacity: .75; }
@media (min-width: 760px) { .res-card { grid-template-columns: auto 1fr auto; align-items: center; } .res-action { grid-column: auto; } }

/* Calendar */
.cal-layout { display: grid; gap: 32px; }
@media (min-width: 1000px) { .cal-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } }
.cal { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
@media (min-width: 720px) { .cal { padding: 28px; } }
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal-title-wrap { text-align: center; }
.cal-title-wrap h2 { margin: 0; }
.cal-title-wrap p { margin: 0; }
.cal-grid { width: 100%; border-collapse: separate; border-spacing: 4px; table-layout: fixed; margin: 14px 0 8px; }
.cal-grid th { font-size: .78rem; color: var(--muted); font-weight: 600; padding: 4px 0; }
.cal-grid td { vertical-align: top; height: 76px; background: var(--cream); border-radius: 10px; padding: 6px; font-size: .82rem; position: relative; overflow: hidden; }
.cal-grid td.pad { background: transparent; }
.cal-grid .dn { font-weight: 600; color: var(--ink-2); }
.cal-grid .is-today { box-shadow: inset 0 0 0 2px var(--green-600); }
.cal-grid .has-holy_day { background: var(--gold-100); }
.cal-ev { display: block; margin-top: 3px; font-size: .72rem; line-height: 1.25; padding: 2px 5px; border-radius: 5px; text-decoration: none; color: #fff; background: var(--green-700); overflow: hidden; }
.cal-ev span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cal-ev.holy_day { background: var(--gold-600); }
.cal-ev.observance { background: var(--terracotta); }
.cal-ev.event { background: #2f5f8a; }
@media (max-width: 640px) {
  .cal-grid { border-spacing: 2px; }
  .cal-grid td { height: 48px; padding: 4px; text-align: center; }
  .cal-ev { height: 6px; width: 6px; padding: 0; border-radius: 50%; display: inline-block; margin: 2px 1px 0; }
  .cal-ev span { display: none; }
}
.cal-legend { list-style: none; padding: 0; margin: 6px 0 24px; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--muted); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; background: var(--green-700); }
.dot.holy_day { background: var(--gold-600); } .dot.observance { background: var(--terracotta); } .dot.event { background: #2f5f8a; }
.cal-sub { font-size: 1.2rem; margin-top: 10px; }
.cal-aside h2 { font-size: 1.2rem; }
.up-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.up-list li + li { border-top: 1px solid var(--line-2); }
.up-list a { display: flex; flex-direction: column; padding: 12px 16px; text-decoration: none; }
.up-list a:hover { background: var(--cream); }
.up-date { font-size: .82rem; color: var(--gold-600); font-weight: 600; }
.up-title { color: var(--green-900); font-weight: 600; line-height: 1.4; }

/* Contact */
.contact-grid { display: grid; gap: 30px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 44px; align-items: start; } }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 22px; scroll-margin-top: 140px; }
@media (min-width: 720px) { .form-card { padding: 34px; } }
.field { margin-bottom: 18px; }
.field > label { display: block; font-weight: 600; margin-bottom: 6px; color: var(--green-900); }
.field.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--ink-2); line-height: 1.55; }
.field.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--green-700); }
.field-captcha input { max-width: 140px; }
.req { color: var(--terracotta); }
.has-error input, .has-error textarea, .has-error select { border-color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 18px; }
.alert ul { margin: 0; padding-left: 1.2em; }
.alert-ok { background: #e6f4ec; color: #14532d; border: 1px solid #b7e0c6; }
.alert-err { background: #fdeceb; color: #8a1f17; border: 1px solid #f3c2bd; }
.contact-card { background: var(--green-800); color: #dbe6e0; border-radius: 18px; padding: 28px; position: relative; overflow: hidden; }
.contact-card::before { content: ""; position: absolute; inset: auto 0 0 0; height: 22px; background: var(--kantha) repeat-x center; opacity: .5; }
.contact-card h2, .contact-card h3 { color: #fff; }
.contact-card h3 { font-size: 1.05rem; margin-top: 1.4em; }
.contact-card .note { background: rgba(255,255,255,.06); border-color: rgba(217,176,97,.4); color: var(--gold-200); margin-top: 1.4em; }

/* Search */
.search-big { display: flex; gap: 10px; margin-top: 20px; max-width: 640px; }
.search-big input { flex: 1; min-width: 0; padding: .85em 1.1em; border-radius: 999px; }
.search-big .btn { border-radius: 999px; }
@media (max-width: 480px) { .search-big .btn span { display: none; } }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.search-results h2 { font-size: 1.18rem; margin: .4em 0 .25em; }
.search-results h2 a { text-decoration: none; color: var(--green-900); }
.search-results h2 a:hover { color: var(--gold-600); text-decoration: underline; }
.search-results p { margin: 0; color: var(--muted); }
.empty { padding: 34px; text-align: center; background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }

.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 32px; }
.pager a { padding: .5em 1em; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; }
.pager a:hover { border-color: var(--green-700); }

.error-page { text-align: center; padding: 70px 16px 90px; }
.error-page .search-big { margin: 24px auto; }
.err-code { font-family: var(--font-head); font-size: 1.1rem; color: var(--gold-600); letter-spacing: .2em; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #b9cbc2; position: relative; padding-top: 70px; margin-top: 0; }
.site-footer .kantha { top: 18px; opacity: .5; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 44px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 44px; } }
.f-about p { margin-top: 1em; font-size: .97rem; }
.f-title { font-family: var(--font-body); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 1em; }
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: .45em; }
.f-links a { color: #dbe6e0; text-decoration: none; }
.f-links a:hover { color: var(--gold-400); text-decoration: underline; }
.f-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.f-contact .ic { color: var(--gold-400); margin-top: .25em; }
.f-contact a { color: #dbe6e0; word-break: break-word; }
.f-contact.dark li { color: #dbe6e0; }
.f-social { display: flex; gap: 8px; margin-top: 14px; }
.f-social a { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.15); color: #dbe6e0; }
.f-social a:hover { border-color: var(--gold-400); color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); font-size: .88rem; }
.fb-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 22px; }
.fb-in a { color: var(--gold-200); }

/* Homepage featured image / video */
@media (min-width: 1000px) {
  .hero-media .hero-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
}
.hero-media .hero-art > circle { display: none; }
.hero-feature { margin: 28px 0 0; }
.hero-feature img { width: 100%; border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 4px solid rgba(217,176,97,.35); aspect-ratio: 4 / 3; object-fit: cover; }
.hero-feature .video { margin: 0; }
.hero-feature .video iframe { box-shadow: 0 20px 50px rgba(0,0,0,.35); border: 4px solid rgba(217,176,97,.35); border-radius: 18px; }
@media (min-width: 1000px) { .hero-feature { margin: 0; } }

/* Stay connected */
.connect-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.connect-item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--green-900); transition: border-color .2s, box-shadow .2s; }
.connect-item:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); color: var(--green-900); }
.connect-item > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.connect-item small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Photo gallery */
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 1.6em 0; }
.gallery figure { margin: 0; }
.gallery a { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--green-100); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; margin: 0; border-radius: 0; }
.gallery a:hover img { transform: scale(1.04); }
.gallery figcaption { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.pc-count { position: absolute; right: 10px; bottom: 10px; background: rgba(8,38,30,.8); color: #fff; font-size: .8rem; padding: 3px 9px; border-radius: 999px; display: inline-flex; gap: 4px; align-items: center; }
.pc-media { position: relative; }

.preview-bar { background: repeating-linear-gradient(45deg, #fff3cd, #fff3cd 12px, #ffecb0 12px, #ffecb0 24px); color: #6b4b12; text-align: center; padding: 10px 16px; font-weight: 600; border-bottom: 1px solid var(--gold-200); }

@media print {
  .topbar, .site-header, .site-footer, .share, .filters, .tabs, .side-nav, .hero-art { display: none !important; }
  .page-head { background: none; color: #000; } .page-head h1 { color: #000; }
}
