/* Explore Assam Ã¢â‚¬â€ styles. Colours: tea green, muga gold, gamosa red. */
:root {
  --bg: #faf7f0;
  --surface: #ffffff;
  --surface-2: #f2ede2;
  --text: #1d2420;
  --muted: #5d665f;
  --line: #e4ddcc;
  --green: #1f5e3b;
  --green-2: #2f7d52;
  --gold: #c8902e;
  --red: #b3261e;
  --chip: #ebe4d4;
  --shadow: 0 1px 2px rgba(30, 40, 30, .06), 0 6px 20px rgba(30, 40, 30, .08);
  --radius: 14px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121614; --surface: #1a201d; --surface-2: #222a26; --text: #ecefe9; --muted: #a7b0a9;
    --line: #2f3833; --green: #6cc596; --green-2: #8fd6ae; --gold: #e9b44c; --red: #e5675e; --chip: #26302b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --bg: #121614; --surface: #1a201d; --surface-2: #222a26; --text: #ecefe9; --muted: #a7b0a9;
  --line: #2f3833; --green: #6cc596; --green-2: #8fd6ae; --gold: #e9b44c; --red: #e5675e; --chip: #26302b;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 20px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; }
main:focus { outline: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); font: 600 20px var(--serif); }
.brand svg { width: 30px; height: 30px; }
.brand span { color: var(--text); }
.brand b { color: var(--green); }
.topbar nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.topbar nav a { text-decoration: none; color: var(--text); padding: 6px 10px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.topbar nav a:hover, .topbar nav a.on { background: var(--chip); }
/* Gamosa-style woven border */
.gamosa { height: 8px; background:
  repeating-linear-gradient(90deg, var(--red) 0 14px, transparent 14px 18px, var(--red) 18px 22px, transparent 22px 30px),
  linear-gradient(var(--bg), var(--bg)); border-top: 2px solid var(--red); border-bottom: 1px solid var(--red); opacity: .9; }

/* Hero */
.hero { position: relative; min-height: 520px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #24352b; }
.hero .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero .slide.on { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.72) 100%); }
.hero-in { position: relative; z-index: 2; padding: 64px 16px 36px; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero h1 { font-size: clamp(34px, 6vw, 64px); max-width: 15ch; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero p.lead { font-size: clamp(16px, 2.2vw, 20px); max-width: 52ch; margin: 0 0 22px; opacity: .95; }
.hero .hero-credit { position: absolute; z-index: 3; right: 10px; bottom: 8px; left: 10px; display: flex; justify-content: flex-end; }
.kicker { display: inline-block; font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #f3d48f; margin-bottom: 10px; }

.search { display: flex; gap: 8px; max-width: 640px; background: #fff; border-radius: 999px; padding: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; font: 16px var(--sans); padding: 10px 14px; background: transparent; color: #1d2420; }
.search button { border: 0; background: var(--red); color: #fff; font: 600 15px var(--sans); padding: 0 20px; border-radius: 999px; cursor: pointer; }

.stats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; }
.stats b { display: block; font: 700 26px var(--serif); color: #f3d48f; }

/* Filters */
.filters { position: sticky; top: 58px; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.filters .wrap { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 6px 12px; border-radius: 999px; font: 500 14px var(--sans); cursor: pointer; white-space: nowrap; }
.chip small { color: var(--muted); margin-left: 4px; }
.chip.on { background: var(--green); border-color: var(--green); color: var(--bg); }
.chip.on small { color: inherit; opacity: .8; }
.month { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.month select { font: 500 14px var(--sans); padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }

/* Sections and cards */
.section { padding: 34px 0 10px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 34px); margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); max-width: 70ch; }
.count { color: var(--muted); font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit;
  display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 14px 34px rgba(0,0,0,.14); }
.card .ph { aspect-ratio: 4 / 3; position: relative; background: var(--surface-2); overflow: hidden; }
.card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .ph img { transform: scale(1.04); }
.badge { position: absolute; left: 10px; top: 10px; background: rgba(255,255,255,.92); color: #1f5e3b; font: 600 12px var(--sans); padding: 4px 9px; border-radius: 999px; }
.card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 21px; margin: 0; }
.card .hq { color: var(--muted); font-size: 13px; }
.card .tops { font-size: 14px; color: var(--text); margin: 2px 0 6px; }
.meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.pill { font-size: 12px; background: var(--chip); color: var(--text); padding: 3px 9px; border-radius: 999px; }
.pill.gold { background: color-mix(in srgb, var(--gold) 22%, transparent); }
.empty { padding: 40px 0; color: var(--muted); text-align: center; }

/* Fallback art when no free photo exists */
.art { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.9); }
.art svg { width: 30%; max-width: 90px; height: auto; opacity: .9; }
.art span { position: absolute; bottom: 8px; right: 10px; font-size: 11px; opacity: .8; }
.t-Wildlife { background: linear-gradient(135deg, #2f6b3f, #6b8f3a); }
.t-Heritage { background: linear-gradient(135deg, #8a4b2a, #c8902e); }
.t-Spiritual { background: linear-gradient(135deg, #8c2a2a, #d0703a); }
.t-Nature { background: linear-gradient(135deg, #1f5e5b, #4f9a6d); }
.t-Culture { background: linear-gradient(135deg, #5a2f73, #b3261e); }
.t-River { background: linear-gradient(135deg, #1d4e7a, #3f8fb5); }

/* Photo credit tag */
.credit { font-size: 11px; line-height: 1.3; color: #fff; background: rgba(0,0,0,.55); padding: 3px 7px; border-radius: 6px; width: max-content; max-width: calc(100% - 16px); }
.credit a { color: #fff; }
.ph .credit { position: absolute; right: 6px; bottom: 6px; }

/* Highlights strip */
.highlights { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.hl { display: flex; gap: 12px; align-items: center; background: var(--surface); padding: 10px; border-radius: 12px; box-shadow: var(--shadow); text-decoration: none; color: inherit; }
.hl img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.hl b { display: block; font-family: var(--serif); font-size: 17px; }
.hl small { color: var(--muted); }

/* District page */
.dhero { position: relative; min-height: 420px; display: flex; align-items: flex-end; color: #fff; background: #24352b; overflow: hidden; }
.dhero > img, .dhero > .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.dhero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.7)); }
.dhero .wrap { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 28px; width: 100%; }
.dhero h1 { font-size: clamp(34px, 6vw, 60px); margin-bottom: 6px; }
.dhero .tag { font-size: clamp(16px, 2.2vw, 21px); margin: 0; opacity: .95; }
.dhero .credit { position: absolute; z-index: 3; right: 10px; top: 10px; }
.crumbs { font-size: 14px; margin-bottom: 14px; }
.crumbs a { color: #fff; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: -26px 0 0; position: relative; z-index: 4; }
.fact { background: var(--surface); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow); }
.fact small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.fact b { font-size: 16px; }
.intro { font-size: 18px; max-width: 75ch; margin: 26px 0 8px; }
.note { background: var(--surface-2); border-left: 4px solid var(--gold); padding: 10px 14px; border-radius: 8px; margin: 10px 0; }

.sites { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.site { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.site .ph { aspect-ratio: 16 / 10; position: relative; background: var(--surface-2); overflow: hidden; }
.site .ph img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.site .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.site h3 { font-size: 20px; margin: 0; }
.site p { margin: 0; color: var(--text); font-size: 15px; }
.site .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 8px; }
.site .map { font-size: 14px; font-weight: 600; text-decoration: none; }
.type { font: 600 11px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.panel h2 { font-size: 24px; }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; margin: 12px 0; }
.months div { text-align: center; font-size: 11px; padding: 8px 0; border-radius: 6px; background: var(--chip); color: var(--muted); }
.months div.good { background: var(--green); color: var(--bg); font-weight: 600; }
.how { display: grid; gap: 10px; }
.how div { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; }
.how svg { width: 30px; height: 30px; padding: 6px; border-radius: 8px; background: var(--chip); color: var(--green); }
.how b { display: block; }
.how p { margin: 0; font-size: 15px; }
.pager { display: flex; justify-content: space-between; gap: 12px; padding: 30px 0 10px; flex-wrap: wrap; }
.pager a { text-decoration: none; font-weight: 600; }

/* Credits and tips */
.prose { max-width: 80ch; }
.credits-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; padding: 0; list-style: none; }
.credits-list li { display: flex; gap: 10px; background: var(--surface); border-radius: 12px; padding: 8px; box-shadow: var(--shadow); font-size: 13px; line-height: 1.4; }
.credits-list img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }
.credits-list a { word-break: break-word; }
.tips { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.tip { background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.tip h3 { font-size: 19px; }
.tip p { margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 16px; }
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #ddd; font-size: 13px; text-align: center; margin-top: 10px; }
.lightbox figcaption a { color: #fff; }
.lightbox button { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: #fff; font-size: 34px; cursor: pointer; }

.foot { margin-top: 50px; background: var(--surface-2); color: var(--muted); font-size: 14px; }
.foot-in { max-width: 1200px; margin: 0 auto; padding: 22px 16px 34px; }
.foot p { margin: 0 0 8px; }

@media (max-width: 760px) {
  .two { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 8px; }
  .fact { padding: 10px 12px; }
  .fact b { font-size: 14px; }
  .hero { min-height: 560px; }
  .filters { top: 54px; }
  .filters .wrap { flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .chips { flex: 1 1 100%; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .chips::-webkit-scrollbar { display: none; }
  .month { flex: 1 1 100%; justify-content: space-between; }
  .month select { flex: 1; max-width: 220px; }
  .topbar nav a { padding: 6px 8px; font-size: 13px; }
  .brand { font-size: 18px; }
  .months div { font-size: 10px; }
  .search button { padding: 0 14px; }
}
@media (max-width: 420px) {
  .topbar { flex-direction: column; align-items: flex-start; gap: 4px; }
  .filters { top: 86px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .slide, .card, .card .ph img { transition: none; }
}
