/* Acharyas biography section — Nandgram Dham */

:root {
  --ac-dark: #0F4D4A;
  --ac-cream: #FEFAEC;
  --ac-cream-2: #FAEAB1;
  --ac-bg: #FAF8F0;
  --ac-ink: #1a1a1a;
  --ac-muted: #6b6255;
  --ac-line: #e6ddc8;
  --ac-accent: #8c7247;
  --ac-radius: 14px;
  --ac-shadow: 0 1px 2px rgba(15, 77, 74, .05), 0 8px 24px rgba(15, 77, 74, .06);
}

.ach-body { background: linear-gradient(180deg, var(--ac-cream) 0%, var(--ac-bg) 380px); color: var(--ac-ink); }
.ach-page { font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; padding-bottom: 7rem; }
.ach-shell { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.15rem; }

/* ---------- breadcrumbs ---------- */
.ach-crumbs { padding: 1.15rem 0 .35rem; font-size: .8125rem; }
.ach-crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem .55rem; list-style: none; margin: 0; padding: 0; }
.ach-crumbs li { display: flex; align-items: center; gap: .55rem; color: var(--ac-muted); }
.ach-crumbs li + li::before { content: "/"; color: #c4bba6; }
.ach-crumbs a { color: var(--ac-muted); text-decoration: none; }
.ach-crumbs a:hover { color: var(--ac-dark); text-decoration: underline; }
.ach-crumbs [aria-current] { color: var(--ac-dark); font-weight: 600; }

/* ---------- eyebrow / list head ---------- */
.ach-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ac-accent);
}
.ach-eyebrow > span { width: 26px; height: 1px; background: var(--ac-accent); display: inline-block; }

.ach-list-head { padding: 1.5rem 0 1rem; text-align: center; }
.ach-list-head h1 {
  font-size: clamp(1.85rem, 5.2vw, 2.9rem); line-height: 1.1; margin: .7rem 0 .8rem;
  font-weight: 800; color: var(--ac-dark); letter-spacing: -.02em;
}
.ach-list-intro { max-width: 52rem; margin: 0 auto; color: var(--ac-muted); font-size: clamp(.95rem, 2.2vw, 1.05rem); line-height: 1.7; }
.ach-list-intro p { margin: 0 0 .6rem; }
.ach-list-count { color: var(--ac-muted); font-size: .85rem; margin-top: .6rem; }

/* ---------- category pills ---------- */
.ach-cat-pills { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin: 1.2rem 0 1.8rem; }
.ach-cat-pill {
  display: inline-flex; align-items: center; gap: .4rem; text-decoration: none;
  background: #fff; border: 1px solid var(--ac-line); color: var(--ac-ink);
  font-size: .82rem; font-weight: 600; padding: .5rem 1rem; border-radius: 999px;
  box-shadow: var(--ac-shadow); transition: transform .15s ease, background .15s ease;
}
.ach-cat-pill span { color: var(--ac-muted); font-weight: 500; }
.ach-cat-pill:hover { transform: translateY(-1px); }
.ach-cat-pill.is-active { background: var(--ac-dark); border-color: var(--ac-dark); color: #fff; }
.ach-cat-pill.is-active span { color: var(--ac-cream-2); }

/* ---------- grid & cards ---------- */
.ach-grid { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin: 1.2rem 0; }
.ach-grid-compact { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.ach-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ac-ink);
  background: #fff; border: 1px solid var(--ac-line); border-radius: var(--ac-radius);
  overflow: hidden; box-shadow: var(--ac-shadow); transition: transform .15s ease, box-shadow .15s ease;
}
.ach-card:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(15, 77, 74, .08), 0 16px 32px rgba(15, 77, 74, .1); }
.ach-card-img { aspect-ratio: 1 / 1; background: var(--ac-cream); overflow: hidden; }
.ach-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ach-card-img-placeholder { display: flex; align-items: center; justify-content: center; color: var(--ac-accent); font-size: 2.4rem; }
.ach-card-body { padding: .85rem .95rem 1rem; display: flex; flex-direction: column; gap: .25rem; }
.ach-card-body h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--ac-dark); }
.ach-card-epithet { margin: 0; font-size: .8rem; color: var(--ac-accent); font-style: italic; }
.ach-card-era { margin: 0; font-size: .76rem; color: var(--ac-muted); }
.ach-card-tag { margin-top: .3rem; font-size: .72rem; color: var(--ac-dark); font-weight: 600; }

.ach-empty { text-align: center; color: var(--ac-muted); padding: 2.5rem 1rem; }

/* ---------- detail article ---------- */
.ach-article { margin-top: 1rem; }
.ach-head { display: flex; gap: 1.4rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 1.3rem; }
.ach-head-img { flex: 0 0 auto; width: 150px; height: 150px; border-radius: var(--ac-radius); overflow: hidden; box-shadow: var(--ac-shadow); background: var(--ac-cream); }
.ach-head-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ach-head-main { flex: 1 1 260px; min-width: 0; }
.ach-head-main h1 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); line-height: 1.15; margin: 0 0 .3rem; font-weight: 800; color: var(--ac-dark); letter-spacing: -.02em; }
.ach-epithet { margin: 0 0 .35rem; font-size: 1.05rem; color: var(--ac-accent); font-style: italic; }
.ach-other-names { margin: 0 0 .6rem; font-size: .85rem; color: var(--ac-muted); }

.ach-meta { list-style: none; margin: .6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .85rem; color: var(--ac-muted); }
.ach-meta li { display: flex; align-items: center; gap: .45rem; }
.ach-meta a { color: var(--ac-dark); font-weight: 600; text-decoration: none; }
.ach-meta a:hover { text-decoration: underline; }
.ach-meta i { color: var(--ac-accent); width: 1em; }

.ach-quote {
  margin: 1.4rem 0; padding: 1.2rem 1.4rem; border-left: 4px solid var(--ac-accent);
  background: #fff; border-radius: 0 var(--ac-radius) var(--ac-radius) 0; box-shadow: var(--ac-shadow);
}
.ach-quote p { margin: 0 0 .4rem; font-size: 1.05rem; font-style: italic; color: var(--ac-dark); line-height: 1.6; }
.ach-quote cite { font-size: .78rem; color: var(--ac-muted); font-style: normal; }

/* ---------- pastime navigation ---------- */
.ach-pastime-nav { margin: 1.6rem 0; background: #fff; border: 1px solid var(--ac-line); border-radius: var(--ac-radius); padding: 1.1rem 1.2rem; box-shadow: var(--ac-shadow); }
.ach-pastime-nav h2 { margin: 0 0 .8rem; font-size: 1.1rem; font-weight: 700; color: var(--ac-dark); }
.ach-pastime-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.ach-pastime-list a {
  display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ac-ink);
  padding: .7rem .85rem; border-radius: 10px; border: 1px solid var(--ac-line); background: var(--ac-bg);
  transition: background .15s ease, border-color .15s ease;
}
.ach-pastime-list a:hover, .ach-pastime-list a.is-current { background: var(--ac-cream-2); border-color: var(--ac-accent); }
.ach-pastime-no {
  flex: 0 0 auto; width: 1.9rem; height: 1.9rem; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--ac-dark); color: #fff; font-weight: 700; font-size: .82rem;
}
.ach-pastime-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.ach-pastime-text strong { font-size: .92rem; color: var(--ac-dark); }
.ach-pastime-text small { font-size: .76rem; color: var(--ac-muted); }
.ach-pastime-list i { color: var(--ac-accent); flex: 0 0 auto; }
.ach-pastime-nav-full { margin-top: 2rem; }

/* ---------- long-form content ---------- */
.ach-body-content { max-width: 74ch; margin: 1.4rem 0; font-size: 1.03rem; line-height: 1.78; color: #262421; }
.ach-body-content p { margin: 0 0 1.1rem; }

.ach-sources { margin: 1.6rem 0; padding: 1rem 1.2rem; background: var(--ac-bg); border: 1px solid var(--ac-line); border-radius: var(--ac-radius); max-width: 74ch; }
.ach-sources-label { display: block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ac-accent); margin-bottom: .5rem; }
.ach-sources ul { margin: 0; padding-left: 1.1rem; }
.ach-sources li { font-size: .85rem; margin-bottom: .3rem; }
.ach-sources a { color: var(--ac-dark); }

.ach-disciples, .ach-related, .ach-faq { margin: 2.4rem 0; }
.ach-disciples h2, .ach-related h2, .ach-faq h2 { font-size: clamp(1.1rem, 3vw, 1.35rem); font-weight: 700; color: var(--ac-dark); margin: 0 0 1rem; border-bottom: 1px solid var(--ac-line); padding-bottom: .55rem; }

.ach-faq details { border-bottom: 1px solid var(--ac-line); padding: .85rem 0; }
.ach-faq summary { cursor: pointer; font-weight: 600; color: var(--ac-dark); }
.ach-faq p { margin: .6rem 0 0; color: var(--ac-muted); font-size: .92rem; line-height: 1.6; }

/* ---------- pastime article ---------- */
.ach-back-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--ac-accent); text-decoration: none; font-size: .85rem; font-weight: 600; margin-bottom: .8rem; }
.ach-back-link:hover { text-decoration: underline; }
.ach-pastime-head h1 { font-size: clamp(1.7rem, 4.6vw, 2.4rem); font-weight: 800; color: var(--ac-dark); margin: 0 0 .4rem; letter-spacing: -.02em; }
.ach-pastime-subtitle { font-size: 1.02rem; color: var(--ac-accent); font-style: italic; margin: 0 0 .4rem; }
.ach-pastime-era { font-size: .82rem; color: var(--ac-muted); margin: 0 0 1rem; display: flex; align-items: center; gap: .4rem; }
.ach-pastime-img { margin: 1rem 0 1.4rem; border-radius: var(--ac-radius); overflow: hidden; box-shadow: var(--ac-shadow); }
.ach-pastime-img img { width: 100%; display: block; }

.ach-pager { display: flex; justify-content: space-between; gap: 1rem; margin: 2rem 0; }
.ach-pager-link { flex: 1; text-decoration: none; color: var(--ac-muted); border: 1px solid var(--ac-line); border-radius: var(--ac-radius); padding: .8rem 1rem; background: #fff; box-shadow: var(--ac-shadow); }
.ach-pager-link span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.ach-pager-link strong { display: block; color: var(--ac-dark); font-size: .95rem; margin-top: .2rem; }
.ach-pager-next { text-align: right; margin-left: auto; }

/* ---------- scriptural verses ---------- */
.ach-citations { margin: 2.4rem 0; }
.ach-citations h2, .ach-lectures h2 {
  font-size: clamp(1.1rem, 3vw, 1.35rem); font-weight: 700; color: var(--ac-dark);
  margin: 0 0 1.1rem; border-bottom: 1px solid var(--ac-line); padding-bottom: .55rem;
}
.ach-verse {
  margin: 0 0 1.4rem; padding: 1.15rem 1.35rem; background: #fff;
  border: 1px solid var(--ac-line); border-radius: var(--ac-radius); box-shadow: var(--ac-shadow);
  max-width: 74ch;
}
.ach-verse-script { margin: 0 0 .7rem; font-size: 1.08rem; line-height: 1.9; color: var(--ac-accent); text-align: center; }
.ach-verse-iast {
  margin: 0 0 .8rem; font-size: 1.02rem; line-height: 1.95; font-style: italic;
  color: var(--ac-dark); text-align: center; font-weight: 500;
}
.ach-verse-syn { margin: 0 0 .8rem; }
.ach-verse-syn summary { cursor: pointer; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ac-accent); }
.ach-verse-syn p { margin: .5rem 0 0; font-size: .85rem; line-height: 1.7; color: var(--ac-muted); }
.ach-verse-trans { margin: 0; padding: .85rem 1.05rem; background: var(--ac-bg); border-left: 3px solid var(--ac-dark); border-radius: 0 8px 8px 0; }
.ach-verse-trans p { margin: 0; font-size: .98rem; line-height: 1.72; color: #262421; }
.ach-verse-purport { margin: .8rem 0 0; font-size: .88rem; line-height: 1.7; color: var(--ac-muted); }
.ach-verse-purport span { font-weight: 700; color: var(--ac-accent); }
.ach-verse-cite { margin: .85rem 0 0; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ac-accent); }
.ach-verse-cite a { color: var(--ac-accent); text-decoration: none; border-bottom: 1px dotted currentColor; }
.ach-verse-cite a:hover { color: var(--ac-dark); }
.ach-verse-work { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--ac-muted); }
.ach-verse-note { margin: .55rem 0 0; font-size: .85rem; line-height: 1.65; color: var(--ac-muted); }

/* ---------- Prabhupada lectures ---------- */
.ach-lectures { margin: 2.4rem 0; }
.ach-lecture { margin: 0 0 1.3rem; padding: 1.1rem 1.3rem; background: var(--ac-cream); border: 1px solid var(--ac-line); border-radius: var(--ac-radius); max-width: 74ch; }
.ach-lecture blockquote { margin: 0 0 .7rem; padding: 0; border: 0; }
.ach-lecture blockquote p { margin: 0; font-size: .98rem; line-height: 1.75; color: #262421; font-style: italic; }
.ach-lecture-cite { margin: 0; font-size: .78rem; font-weight: 700; color: var(--ac-dark); }
.ach-lecture-cite a { color: var(--ac-dark); text-decoration: none; border-bottom: 1px dotted currentColor; }
.ach-lecture-note { margin: .5rem 0 0; font-size: .84rem; color: var(--ac-muted); line-height: 1.6; }

/* ---------- figures ---------- */
.ach-figure { margin: 1.6rem 0; max-width: 74ch; }
.ach-figure img { width: 100%; height: auto; display: block; border-radius: var(--ac-radius); box-shadow: var(--ac-shadow); }
.ach-figure figcaption { margin-top: .55rem; font-size: .8rem; color: var(--ac-muted); line-height: 1.55; display: flex; flex-wrap: wrap; gap: .25rem .6rem; }
.ach-fig-caption { flex: 1 1 auto; }
.ach-fig-credit { font-size: .74rem; color: var(--ac-accent); }
.ach-fig-credit a { color: inherit; }

.ach-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 1.6rem 0; }
.ach-gallery .ach-figure { margin: 0; }

.ach-notfound { text-align: center; padding: 4rem 1rem; }
.ach-notfound h1 { color: var(--ac-dark); }

@media (max-width: 640px) {
  .ach-head { flex-direction: column; align-items: center; text-align: center; }
  .ach-meta { justify-content: center; }
  .ach-pager { flex-direction: column; }
  .ach-pager-next { text-align: left; }
}
