/* National Parking Association — official website styles */
:root {
  --navy: #0b2a5b;
  --navy-2: #12397a;
  --navy-dark: #061a3a;
  --saffron: #ff9933;
  --saffron-dark: #d9741a;
  --green: #138808;
  --gold: #c8a24a;
  --bg: #f3f5f9;
  --surface: #ffffff;
  --text: #1c2333;
  --muted: #586174;
  --border: #d8dee9;
  --link: #0b4fa8;
  --danger: #b42318;
  --ok: #157a3a;
  --amber: #b25e09;
  --radius: 6px;
  --shadow: 0 1px 2px rgba(10, 30, 70, .06), 0 4px 14px rgba(10, 30, 70, .06);
  --font: 'Noto Sans', 'Noto Sans Devanagari', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --serif: 'Noto Serif', 'Noto Serif Devanagari', Georgia, 'Times New Roman', serif;
  --fs: 15px;
}
html { font-size: var(--fs); }
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
html[lang="hi"] body { line-height: 1.75; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.3; margin: 0 0 .6em; }
h1 { font-size: 1.9rem; } h2 { font-size: 1.5rem; } h3 { font-size: 1.15rem; } h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--saffron); color: #000; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.muted { color: var(--muted); }
.small { font-size: .87rem; }
.center { text-align: center; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: .5rem } .mt-2 { margin-top: 1rem } .mt-3 { margin-top: 1.6rem } .mb-0 { margin-bottom: 0 } .mb-2 { margin-bottom: 1rem }
.hide-sm { } @media (max-width: 760px) { .hide-sm { display: none !important; } }

/* ---------- Top utility bar ---------- */
.topbar { background: var(--navy-dark); color: #dfe6f3; font-size: .8rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 34px; flex-wrap: wrap; }
.topbar a, .topbar button { color: #dfe6f3; }
.topbar .tb-left { display: flex; gap: 14px; align-items: center; }
.topbar .tb-right { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.topbar .tb-right > * { padding: 4px 8px; border-left: 1px solid rgba(255,255,255,.15); }
.topbar .tb-right > *:first-child { border-left: 0; }
.topbar button { background: none; border: 0; cursor: pointer; font: inherit; padding: 0 3px; }
.topbar .lang-btn { background: var(--saffron); color: #1b1200 !important; font-weight: 700; border-radius: 3px; padding: 3px 10px !important; border-left: 0 !important; margin-left: 6px; }
.topbar .lang-btn:hover { text-decoration: none; background: #ffad5c; }

/* ---------- Masthead ---------- */
.masthead { background: #fff; border-bottom: 1px solid var(--border); }
.masthead .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 14px; color: inherit; }
.brand:hover { text-decoration: none; }
.brand img { width: 84px; height: 84px; flex: none; }
.brand .bn-hi { font-family: 'Noto Serif Devanagari', var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--navy); line-height: 1.15; }
.brand .bn-en { font-family: var(--serif); font-size: 1.32rem; font-weight: 700; color: var(--navy); letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.brand .bn-tag { font-size: .82rem; color: var(--muted); margin-top: 2px; }
.mast-right { display: flex; align-items: center; gap: 18px; }
.since-badge { text-align: center; border: 1px solid var(--gold); border-radius: 6px; padding: 6px 12px; background: linear-gradient(#fffaf0, #fff3dc); }
.since-badge b { display: block; font-family: var(--serif); color: var(--navy); font-size: 1.25rem; line-height: 1.1; }
.since-badge span { font-size: .72rem; color: #7a5a14; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.mast-search { display: flex; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.mast-search input { border: 0; padding: 8px 10px; width: 190px; font: inherit; font-size: .9rem; }
.mast-search button { border: 0; background: var(--navy); color: #fff; padding: 0 12px; cursor: pointer; }
.tricolor { height: 5px; background: linear-gradient(90deg, var(--saffron) 0 33.33%, #fff 33.33% 66.66%, var(--green) 66.66%); border-bottom: 1px solid #e5e5e5; }

/* ---------- Main navigation ---------- */
.mainnav { background: var(--navy); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.mainnav .container { display: flex; align-items: stretch; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.3rem; padding: 10px 6px; cursor: pointer; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 6px; color: #fff; padding: 12px 13px; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.menu > li > a:hover, .menu > li.active > a, .menu > li:focus-within > a { background: var(--navy-2); text-decoration: none; box-shadow: inset 0 -3px 0 var(--saffron); }
.menu .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 240px; background: #fff; list-style: none; margin: 0; padding: 6px 0; box-shadow: 0 8px 24px rgba(0,0,0,.18); border-top: 3px solid var(--saffron); }
.menu > li:hover .sub, .menu > li:focus-within .sub { display: block; }
.menu .sub a { display: block; padding: 8px 16px; color: var(--text); font-size: .9rem; }
.menu .sub a:hover { background: #eef3fb; color: var(--navy); text-decoration: none; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .mainnav .container { flex-wrap: wrap; }
  .menu { display: none; width: 100%; flex-direction: column; padding-bottom: 8px; }
  .menu.open { display: flex; }
  .menu > li > a { padding: 10px 6px; }
  .menu .sub { position: static; box-shadow: none; display: block; background: transparent; border: 0; padding: 0 0 6px 14px; }
  .menu .sub a { color: #cfdaf0; padding: 6px 8px; }
  .menu .sub a:hover { background: transparent; color: #fff; }
  .nav-cta { margin-left: auto; }
}

/* ---------- Ticker ---------- */
.ticker { background: #fff; border-bottom: 1px solid var(--border); }
.ticker .container { display: flex; align-items: center; gap: 12px; height: 40px; overflow: hidden; }
.ticker-label { flex: none; background: var(--saffron); color: #1b1200; font-weight: 700; font-size: .82rem; padding: 4px 12px; border-radius: 3px; text-transform: uppercase; letter-spacing: .04em; }
.ticker-track { flex: 1; overflow: hidden; position: relative; height: 100%; }
.ticker-move { display: inline-flex; gap: 48px; white-space: nowrap; position: absolute; top: 50%; transform: translateY(-50%); animation: tick 55s linear infinite; padding-left: 100%; }
.ticker-track:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { color: var(--navy); font-size: .9rem; font-weight: 500; }
.ticker-move a::before { content: '◆'; color: var(--saffron); margin-right: 10px; font-size: .7rem; }
.ticker-move .new { background: var(--danger); color: #fff; font-size: .65rem; padding: 1px 5px; border-radius: 2px; margin-left: 6px; font-weight: 700; vertical-align: 2px; }
@keyframes tick { from { transform: translate(0, -50%); } to { transform: translate(-100%, -50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-move { animation: none; padding-left: 0; } }

/* ---------- Buttons, forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 4px; padding: 9px 18px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; text-decoration: none !important; line-height: 1.2; transition: background .15s; }
.btn-primary { background: var(--navy); color: #fff; } .btn-primary:hover { background: var(--navy-2); }
.btn-saffron { background: var(--saffron); color: #1b1200; } .btn-saffron:hover { background: #ffaa55; }
.btn-green { background: var(--green); color: #fff; } .btn-green:hover { background: #0f6e06; }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); } .btn-outline:hover { background: #eef3fb; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); } .btn-ghost:hover { background: #fff; }
.btn-danger { background: #fff; color: var(--danger); border-color: #f0c2bd; } .btn-danger:hover { background: #fff4f2; }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); } .btn-light:hover { background: rgba(255,255,255,.22); }
.btn-sm { padding: 6px 12px; font-size: .84rem; }
.btn-lg { padding: 12px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 4px; color: #2a3346; }
.req::after { content: ' *'; color: var(--danger); }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], input[type=url], input[type=number], input[type=search], select, textarea {
  width: 100%; padding: 9px 11px; border: 1px solid #c3cbd9; border-radius: 4px; font: inherit; font-size: .95rem; background: #fff; color: var(--text);
}
input:focus, select:focus, textarea:focus { border-color: var(--navy-2); outline: 2px solid rgba(18,57,122,.18); }
textarea { min-height: 110px; resize: vertical; }
.field { margin-bottom: 14px; }
.hint { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
@media (max-width: 700px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 5px; }
.alert { padding: 11px 14px; border-radius: 4px; margin: 14px 0; border: 1px solid; font-size: .93rem; }
.alert-success { background: #ecf8ef; border-color: #b6e0c1; color: #11532a; }
.alert-error { background: #fdf0ef; border-color: #f2c4bf; color: #8c1d13; }
.alert-info { background: #edf4ff; border-color: #bfd4f6; color: #123b7a; }
.alert ul { margin: 0; padding-left: 18px; }

/* ---------- Page structure ---------- */
main { min-height: 50vh; }
.page-banner { background: linear-gradient(100deg, rgba(6,26,58,.93), rgba(11,42,91,.82)), var(--banner, none) center/cover; color: #fff; padding: 34px 0 30px; }
.page-banner h1 { color: #fff; margin: 0 0 6px; font-size: 1.8rem; }
.page-banner p { margin: 0; color: #d6e0f2; max-width: 760px; }
.breadcrumb { font-size: .82rem; color: #b9c7e2; margin-bottom: 10px; }
.breadcrumb a { color: #fff; }
.section { padding: 40px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.section-title h2 { margin: 0; position: relative; padding-bottom: 10px; }
.section-title h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: linear-gradient(90deg, var(--saffron) 0 33%, var(--navy) 33% 66%, var(--green) 66%); }
.section-title .sub { color: var(--muted); margin: 6px 0 0; font-size: .95rem; }
.layout-side { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
@media (max-width: 960px) { .layout-side { grid-template-columns: 1fr !important; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-pad { padding: 20px; }
.card-head { padding: 12px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #f8fafd; border-radius: var(--radius) var(--radius) 0 0; }
.card-head h3 { margin: 0; font-size: 1.02rem; }
.prose { max-width: 860px; }
.prose p { text-align: justify; }
.prose h2 { margin-top: 1.4em; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.badge { display: inline-block; font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; background: #e9eef8; color: var(--navy); text-transform: uppercase; letter-spacing: .03em; }
.badge-saffron { background: #fff0df; color: #8a4a00; } .badge-green { background: #e5f5e2; color: #0c5a04; } .badge-red { background: #fde8e6; color: #9b1c12; } .badge-grey { background: #eef0f3; color: #4b5563; }
.st-blue { background: #e7efff; color: #123f8f; } .st-amber { background: #fff2dc; color: #8a4b00; } .st-green { background: #e3f5e6; color: #11602c; } .st-grey { background: #eef0f3; color: #4b5563; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 470px; overflow: hidden; background: var(--navy-dark); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; background-size: cover; background-position: center; }
.slide.on { opacity: 1; }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,18,44,.92) 0%, rgba(6,26,58,.72) 45%, rgba(6,26,58,.15) 100%); }
.slide .container { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.slide .kicker { color: var(--saffron); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; margin-bottom: 8px; }
.slide h2 { color: #fff; font-size: 2.3rem; max-width: 680px; margin-bottom: 12px; }
.slide p { color: #dbe4f4; max-width: 600px; font-size: 1.05rem; }
.slide .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.hero-dots button.on { background: var(--saffron); border-color: var(--saffron); }
@media (max-width: 700px) { .hero { height: 440px; } .slide h2 { font-size: 1.6rem; } .slide p { font-size: .95rem; } }

/* ---------- Quick tiles ---------- */
.quick { margin-top: -46px; position: relative; z-index: 6; }
.quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-radius: var(--radius); box-shadow: 0 8px 30px rgba(6,26,58,.18); overflow: hidden; border-top: 4px solid var(--saffron); }
.quick-grid a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 20px 10px; color: var(--navy); font-weight: 600; font-size: .9rem; border-right: 1px solid var(--border); }
.quick-grid a:last-child { border-right: 0; }
.quick-grid a:hover { background: #f2f6fd; text-decoration: none; }
.quick-grid i { font-size: 1.6rem; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #eef3fb; color: var(--navy); }
.quick-grid a:nth-child(2n) i { background: #fff1e0; color: var(--saffron-dark); }
.quick-grid a:nth-child(3n) i { background: #e8f5e5; color: var(--green); }
.quick-grid small { font-weight: 400; color: var(--muted); font-size: .76rem; }
@media (max-width: 960px) { .quick-grid { grid-template-columns: repeat(3, 1fr); } .quick-grid a:nth-child(3n) { border-right: 0; } .quick-grid a { border-bottom: 1px solid var(--border); } }
@media (max-width: 520px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } .quick-grid a { border-right: 1px solid var(--border) !important; } .quick-grid a:nth-child(2n) { border-right: 0 !important; } }

/* ---------- Home blocks ---------- */
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 300px; object-fit: cover; }
.about-img .since { position: absolute; left: 16px; bottom: 16px; background: var(--saffron); color: #1b1200; padding: 10px 16px; border-radius: 4px; font-weight: 700; font-family: var(--serif); }
.message-box { border-left: 4px solid var(--saffron); background: #fff; padding: 22px; border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow); }
.message-box .quote { font-family: var(--serif); font-size: 1.02rem; color: #263049; font-style: italic; }
.message-box .sign { font-weight: 700; color: var(--navy); margin-top: 10px; }
.stats { background: linear-gradient(100deg, var(--navy-dark), var(--navy)); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 26px 16px; }
.stat { text-align: center; padding: 6px; border-right: 1px solid rgba(255,255,255,.15); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--saffron); line-height: 1.1; }
.stat span { font-size: .85rem; color: #cfdaf0; }
@media (max-width: 800px) { .stats .container { grid-template-columns: repeat(2, 1fr); } .stat { border-right: 0; } }
.tabs { display: flex; border-bottom: 2px solid var(--navy); flex-wrap: wrap; }
.tabs button { background: #e9eef8; border: 0; padding: 10px 16px; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer; margin-right: 3px; border-radius: 4px 4px 0 0; font-size: .9rem; }
.tabs button.on { background: var(--navy); color: #fff; }
.tab-panel { display: none; } .tab-panel.on { display: block; }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { padding: 11px 16px; border-bottom: 1px dashed var(--border); display: flex; gap: 12px; align-items: flex-start; }
.list-plain li:last-child { border-bottom: 0; }
.list-plain .date { flex: none; width: 54px; text-align: center; background: #eef3fb; border-radius: 4px; padding: 4px 0; font-size: .72rem; color: var(--navy); font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.list-plain .date b { display: block; font-size: 1.15rem; font-family: var(--serif); }
.list-plain .t { font-weight: 600; color: var(--text); }
.list-plain .m { font-size: .8rem; color: var(--muted); }
.feature-band { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.feature-band .img { background-size: cover; background-position: center; min-height: 340px; }
.feature-band .body { padding: 30px; }
@media (max-width: 860px) { .feature-band { grid-template-columns: 1fr; } .feature-band .img { min-height: 200px; } }
.checklist { list-style: none; padding: 0; margin: 0 0 16px; }
.checklist li { padding: 5px 0 5px 28px; position: relative; }
.checklist li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: 6px; color: var(--green); }
.svc { padding: 22px; display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--navy); }
.svc i { font-size: 1.5rem; color: var(--saffron-dark); }
.svc h3 { margin: 0; }
.svc p { margin: 0; color: var(--muted); font-size: .92rem; }
.ach { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 18px; }
.ach .ic { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--saffron), #ffc27a); display: grid; place-items: center; color: #3a2000; font-size: 1.5rem; }
.ach .yr { font-size: .78rem; font-weight: 700; color: var(--saffron-dark); }
.event-card { display: flex; flex-direction: column; overflow: hidden; }
.event-card .top { background: var(--navy); color: #fff; padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.event-card .top .d { text-align: center; background: rgba(255,255,255,.12); border-radius: 4px; padding: 5px 9px; min-width: 58px; }
.event-card .top .d b { display: block; font-size: 1.3rem; font-family: var(--serif); color: var(--saffron); line-height: 1.1; }
.event-card .top .d span { font-size: .72rem; text-transform: uppercase; }
.event-card .body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.event-card h3 { font-size: 1rem; margin: 0; }
.event-card .meta { font-size: .82rem; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.event-card .meta i { width: 16px; color: var(--navy-2); }
.event-card .foot { padding: 10px 16px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; font-size: .85rem; }
.assoc-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.assoc { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); }
.assoc:hover { border-color: var(--navy-2); text-decoration: none; box-shadow: var(--shadow); }
.assoc .flag { font-size: 1.6rem; }
.assoc b { display: block; font-size: .88rem; color: var(--navy); line-height: 1.25; }
.assoc span { font-size: .75rem; color: var(--muted); }
.links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.links-grid a { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); padding: 12px; border-radius: 4px; font-weight: 600; font-size: .86rem; color: var(--navy); }
.links-grid a i { color: var(--saffron-dark); }
.watch-item { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.watch-item:last-child { border-bottom: 0; }
.watch-item a { font-weight: 600; color: var(--text); }
.watch-item .m { font-size: .78rem; color: var(--muted); margin-top: 2px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); }
table.tbl { width: 100%; border-collapse: collapse; font-size: .9rem; }
.tbl th { background: var(--navy); color: #fff; text-align: left; padding: 10px 12px; font-weight: 600; white-space: nowrap; }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.tbl tr:nth-child(even) td { background: #f8fafd; }
.tbl tr:hover td { background: #eef3fb; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 16px; background: #fff; border: 1px solid var(--border); padding: 12px; border-radius: var(--radius); }
.filters .field { margin: 0; min-width: 160px; flex: 1; }
.lock-note { background: linear-gradient(90deg, #fff6e9, #fff); border: 1px solid #f5d3a6; border-left: 4px solid var(--saffron); padding: 14px 16px; border-radius: 4px; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 16px 0; }
.kv { display: grid; grid-template-columns: 180px 1fr; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: #fff; }
.kv > div { padding: 9px 14px; border-bottom: 1px solid var(--border); }
.kv > div:nth-child(odd) { background: #f4f7fc; font-weight: 600; color: var(--navy); font-size: .88rem; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } }

/* ---------- Membership plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 24px; text-align: center; position: relative; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--saffron); }
.plan.featured::before { content: attr(data-flag); position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--saffron); color: #1b1200; font-size: .72rem; font-weight: 700; padding: 3px 12px; border-radius: 20px; text-transform: uppercase; }
.plan .price { font-family: var(--serif); font-size: 2.2rem; color: var(--navy); font-weight: 700; margin: 6px 0; }
.plan .price small { font-size: .9rem; color: var(--muted); font-family: var(--font); font-weight: 400; }
.plan .checklist { text-align: left; flex: 1; }
.radio-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.radio-cards label { border: 1px solid var(--border); border-radius: 6px; padding: 12px; cursor: pointer; font-weight: 400; background: #fff; display: block; margin: 0; }
.radio-cards input { margin-right: 6px; }
.radio-cards label:has(input:checked) { border-color: var(--navy); background: #eef3fb; box-shadow: 0 0 0 1px var(--navy); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 16px 16px 58px; position: relative; font-size: .92rem; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* ---------- Auth ---------- */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; margin: 34px auto; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 34px rgba(6,26,58,.14); border: 1px solid var(--border); }
.auth-side { background: linear-gradient(160deg, rgba(6,26,58,.94), rgba(11,42,91,.86)), url('/static/img/photos/india-gate.jpg') center/cover; color: #fff; padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.auth-side h2 { color: #fff; }
.auth-side .checklist li::before { color: var(--saffron); }
.auth-form { padding: 34px; }
@media (max-width: 820px) { .auth-wrap { grid-template-columns: 1fr; margin: 16px auto; } .auth-side { padding: 24px; } .auth-form { padding: 22px; } }

/* ---------- Member area ---------- */
.member-shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 22px; padding: 24px 0 40px; align-items: start; }
@media (max-width: 900px) { .member-shell { grid-template-columns: 1fr; } }
.side-nav { position: sticky; top: 60px; }
.side-nav .who { padding: 16px; display: flex; gap: 12px; align-items: center; border-bottom: 1px solid var(--border); }
.side-nav nav a { display: flex; align-items: center; gap: 10px; padding: 10px 16px; color: var(--text); font-size: .92rem; border-left: 3px solid transparent; }
.side-nav nav a i { width: 18px; color: var(--navy-2); }
.side-nav nav a:hover { background: #f2f6fd; text-decoration: none; }
.side-nav nav a.on { border-left-color: var(--saffron); background: #eef3fb; font-weight: 600; color: var(--navy); }
.side-nav .count { margin-left: auto; background: var(--danger); color: #fff; border-radius: 10px; font-size: .7rem; padding: 0 7px; font-weight: 700; }
@media (max-width: 900px) { .side-nav { position: static; } .side-nav nav { display: flex; flex-wrap: wrap; } .side-nav nav a { border-left: 0; padding: 8px 12px; } }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-2); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; overflow: hidden; font-size: .95rem; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.lg { width: 96px; height: 96px; font-size: 2rem; border: 4px solid #fff; box-shadow: var(--shadow); }
.avatar.sm { width: 32px; height: 32px; font-size: .75rem; }
.status-card { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 20px; border-left: 5px solid var(--green); }
.status-card.pending { border-left-color: var(--saffron); }
.status-card.expired { border-left-color: var(--danger); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 800px) { .kpis { grid-template-columns: repeat(2, 1fr); } }
.kpi { padding: 16px; }
.kpi b { display: block; font-size: 1.5rem; font-family: var(--serif); color: var(--navy); }
.kpi span { font-size: .82rem; color: var(--muted); }
.post { margin-bottom: 16px; }
.post-head { display: flex; gap: 12px; align-items: center; padding: 14px 16px 6px; }
.post-head .n { font-weight: 700; color: var(--navy); }
.post-head .s { font-size: .78rem; color: var(--muted); }
.post-body { padding: 6px 16px 10px; white-space: pre-wrap; word-wrap: break-word; }
.post-img { width: 100%; max-height: 520px; object-fit: cover; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.post-actions { display: flex; gap: 6px; padding: 6px 10px; border-top: 1px solid var(--border); }
.post-actions button, .post-actions a { background: none; border: 0; padding: 7px 12px; border-radius: 4px; color: var(--muted); font: inherit; font-size: .88rem; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.post-actions button:hover, .post-actions a:hover { background: #f1f4f9; text-decoration: none; }
.post-actions .liked { color: var(--link); font-weight: 600; }
.comments { background: #f8fafd; border-top: 1px solid var(--border); padding: 10px 16px; border-radius: 0 0 var(--radius) var(--radius); }
.comment { display: flex; gap: 8px; margin-bottom: 8px; font-size: .9rem; }
.comment .bubble { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 6px 10px; }
.comment .bubble b { color: var(--navy); font-size: .84rem; }
.comment-form { display: flex; gap: 8px; }
.comment-form input { flex: 1; }
.composer textarea { min-height: 80px; border: 0; padding: 4px 0; font-size: 1rem; }
.composer textarea:focus { outline: 0; }
.composer .bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--border); padding-top: 10px; flex-wrap: wrap; }
.file-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 600; cursor: pointer; font-size: .9rem; margin: 0; }
.file-btn input { display: none; }
.member-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 20px 14px; gap: 6px; }
.member-card .co { font-size: .85rem; color: var(--muted); }
.verified { color: var(--link); }
.timeline { border-left: 2px solid var(--border); margin-left: 8px; padding-left: 18px; }
.timeline .ev { position: relative; margin-bottom: 16px; }
.timeline .ev::before { content: ''; position: absolute; left: -25px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid #fff; box-shadow: 0 0 0 2px var(--navy); }
.timeline .ev.member::before { background: var(--saffron); box-shadow: 0 0 0 2px var(--saffron); }
.timeline .ev .h { font-size: .8rem; color: var(--muted); }
.qr-box { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.qr-box img { width: 220px; height: 220px; border: 1px solid var(--border); padding: 8px; background: #fff; border-radius: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: #c7d2e8; margin-top: 0; font-size: .9rem; }
.site-footer .tricolor { border: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 26px; padding: 36px 16px 26px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font); font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; border-bottom: 2px solid var(--saffron); display: inline-block; padding-bottom: 4px; margin-bottom: 12px; }
.site-footer a { color: #c7d2e8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 3px 0; }
.site-footer li a::before { content: '›'; margin-right: 6px; color: var(--saffron); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 16px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .8rem; color: #9fb0d0; }
.footer-bottom .links a { margin-right: 12px; color: #c7d2e8; }
.disclaimer-strip { background: #04122a; color: #8fa1c4; font-size: .76rem; text-align: center; padding: 8px 16px; }
.social a { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); margin-right: 6px; }
.social a::before { content: none !important; }

/* ---------- High contrast ---------- */
html.hc body { background: #000; color: #fff; }
html.hc .card, html.hc .masthead, html.hc .ticker, html.hc .section-alt, html.hc .quick-grid, html.hc .message-box, html.hc .assoc, html.hc .links-grid a, html.hc .table-wrap, html.hc .filters, html.hc .kv, html.hc .steps li, html.hc .auth-wrap, html.hc .radio-cards label, html.hc .feature-band, html.hc input, html.hc select, html.hc textarea { background: #000 !important; color: #fff !important; border-color: #ff0 !important; }
html.hc h1, html.hc h2, html.hc h3, html.hc h4, html.hc .brand .bn-hi, html.hc .brand .bn-en, html.hc .t, html.hc label { color: #ff0 !important; }
html.hc a { color: #0ff !important; }
html.hc .tbl td, html.hc .kv > div, html.hc .tbl tr:nth-child(even) td { background: #000 !important; color: #fff; }
html.hc .muted, html.hc .m, html.hc .hint, html.hc p { color: #fff !important; }

/* ---------- Print (certificate, receipt) ---------- */
@media print {
  .topbar, .masthead, .tricolor, .mainnav, .ticker, .site-footer, .no-print, .side-nav, .disclaimer-strip { display: none !important; }
  body { background: #fff; }
  .member-shell { display: block; padding: 0; }
  .print-area { box-shadow: none !important; border: 0 !important; }
}
@media (max-width: 560px) {
  .brand img { width: 62px; height: 62px; }
  .brand .bn-hi { font-size: 1.3rem; }
  .brand .bn-en { font-size: 1rem; letter-spacing: .03em; }
  .brand .bn-tag { display: none; }
  .section { padding: 28px 0; }
  .page-banner h1 { font-size: 1.4rem; }
  .card-pad, .feature-band .body, .auth-form, .auth-side { padding: 16px; }
  .topbar .tb-right > * { padding: 3px 5px; }
  h1 { font-size: 1.5rem; }
}
