/* ============================================================
   Choubisa Samaj — Community Portal CSS
   Maroon + Saffron Design System | Poppins + Hind | Mobile-first
   ============================================================ */

:root {
  /* Brand */
  --maroon:    #800000;
  --maroon-d:  #640000;
  --maroon-l:  #fff0f0;
  --crimson:   #a82540;
  --saffron:   #f07800;
  --saffron-d: #c45e00;
  --saffron-l: #fff3e0;
  --gold:      #ffd49a;
  --gold-d:    #c8860a;

  /* Gradient */
  --g-maroon:  linear-gradient(135deg, #7a0000 0%, #a03000 100%);
  --g-saffron: linear-gradient(135deg, #f07800 0%, #c45e00 100%);
  --g-card-hd: linear-gradient(135deg, #800000 0%, #a82540 100%);

  /* Bg */
  --bg:        #f9f5f1;
  --bg-card:   #ffffff;
  --bg-dark:   #1c0000;

  /* Text */
  --text:      #1c1917;
  --text-2:    #6b7280;
  --text-3:    #9ca3af;
  --white:     #ffffff;

  /* Status */
  --success:   #16a34a;
  --warning:   #854d0e;
  --danger:    #be123c;
  --info:      #1d4ed8;

  /* Borders */
  --border:    #e5e0db;

  /* Shadows */
  --s1: 0 1px 8px rgba(0,0,0,.07);
  --s2: 0 4px 16px rgba(0,0,0,.10);
  --s3: 0 8px 32px rgba(0,0,0,.14);

  /* Radii */
  --r:   16px;
  --r-s: 10px;
  --r-x: 8px;

  --ease: .25s ease;

  /* ── Backward-compat aliases ── */
  --ink:   #800000;
  --ink-d: #640000;
  --ink-l: #fff0f0;
  --n50:   #f9f5f1;
  --n100:  #f0e8e8;
  --n200:  #e5e0db;
  --n300:  #d0b0b0;
  --n400:  #9ca3af;
  --n500:  #6b7280;
  --n600:  #4b5563;
  --n700:  #374151;
  --n800:  #1f2937;
  --n900:  #111827;
  --r-xl:  20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}
body {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 62px; /* room for mobile bottom nav */
  max-width: 100%;
  position: relative;
}
@media (min-width: 992px) { body { padding-bottom: 0; } }

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
.hindi { font-family: 'Hind', 'Noto Sans Devanagari', sans-serif; }

/* ── Global Modal Fixes ─────────────────────────────────────────────────── */
/* Allow overlay to scroll on very small screens */
.modal { overflow-y: auto !important; }

/* Dialog is height-capped so body can actually scroll */
.modal-dialog-scrollable {
  max-height: calc(100vh - 3.5rem);
  display: flex;
  flex-direction: column;
}

/* Content fills dialog as a flex column */
.modal-dialog-scrollable .modal-content {
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* ⚠ When a <form> wraps modal-body + modal-footer it breaks Bootstrap's
   flex scroll chain. Make the form a proper flex child too. */
.modal-dialog-scrollable .modal-content > form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

/* Header & footer — fixed height, never scroll */
.modal-dialog-scrollable .modal-header,
.modal-dialog-scrollable .modal-footer { flex-shrink: 0; }

/* Body scrolls — both min-height:0 and flex:1 are required */
.modal-dialog-scrollable .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* Combined centered + scrollable */
.modal-dialog.modal-dialog-centered.modal-dialog-scrollable {
  align-items: center;
  margin: 1.75rem auto;
  max-height: calc(100% - 3.5rem);
}

/* Keep rounded corners on all site modals via CSS (not inline overflow:hidden) */
.modal-content {
  border-radius: 16px !important;
  border: none !important;
}
/* Clip header top corners and footer bottom corners */
.modal-header { border-radius: 15px 15px 0 0; }
.modal-footer { border-radius: 0 0 15px 15px; }

/* Validation error box inside modal */
.modal-error-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  padding: .75rem 1rem;
  margin-bottom: 1rem;
  font-size: .78rem;
  color: #991b1b;
}
.modal-error-box ul { margin: .35rem 0 0; padding-left: 1.2rem; }
/* ─────────────────────────────────────────────────────────────────────────── */

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #f0e8e8; }
::-webkit-scrollbar-thumb { background: var(--maroon); border-radius: 99px; }

/* ── Buttons ──────────────────────────────────────────────── */
/* ── Compat aliases ── */
.btn-submit { background: var(--g-card-hd); color: #fff; font-weight: 700; font-size: .88rem; padding: .65rem 1.6rem; border-radius: var(--r-s); border: none; cursor: pointer; transition: all var(--ease); display: inline-flex; align-items: center; gap: .45rem; }
.btn-submit:hover { background: linear-gradient(135deg, #640000, #8a1e35); color: #fff; transform: translateY(-2px); }
.sec-label { display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--saffron); margin-bottom: .6rem; }
.sec-label::before { content: ''; width: 24px; height: 3px; background: var(--saffron); border-radius: 2px; }

.btn-primary-cs {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--g-card-hd);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: .65rem 1.6rem;
  border-radius: var(--r-s);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
}
.btn-primary-cs:hover { background: linear-gradient(135deg, #640000, #8a1e35); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(128,0,0,.35); }

.btn-saffron {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--g-saffron);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  padding: .65rem 1.6rem;
  border-radius: var(--r-s);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
}
.btn-saffron:hover { opacity: .9; color: #fff; transform: translateY(-2px); }

.btn-outline-cs {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: transparent;
  color: var(--maroon);
  font-weight: 600;
  font-size: .88rem;
  padding: .63rem 1.55rem;
  border-radius: var(--r-s);
  border: 1.5px solid var(--maroon);
  cursor: pointer;
  transition: all var(--ease);
}
.btn-outline-cs:hover { background: var(--maroon); color: #fff; }

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  padding: .63rem 1.55rem;
  border-radius: var(--r-s);
  border: 1.5px solid rgba(255,255,255,.35);
  cursor: pointer;
  transition: all var(--ease);
}
.btn-ghost-white:hover { background: rgba(255,255,255,.22); color: #fff; }

/* ── Badges ──────────────────────────────────────────────── */
.badge-active   { display:inline-block; background:#f0fdf4; color:#16a34a; border:1px solid #bbf7d0; padding:.2rem .65rem; border-radius:99px; font-size:.72rem; font-weight:700; }
.badge-pending  { display:inline-block; background:#fef9c3; color:#854d0e; border:1px solid #fde68a; padding:.2rem .65rem; border-radius:99px; font-size:.72rem; font-weight:700; }
.badge-inactive { display:inline-block; background:#f3f4f6; color:#6b7280; border:1px solid #d1d5db; padding:.2rem .65rem; border-radius:99px; font-size:.72rem; font-weight:700; }
.badge-cat      { display:inline-block; background:var(--saffron-l); color:var(--saffron-d); border:1px solid #ffd49a; padding:.2rem .7rem; border-radius:99px; font-size:.7rem; font-weight:700; }

/* ── Section labels & titles ─────────────────────────────── */
.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: .6rem;
}
.sec-eyebrow::before {
  content: '';
  width: 24px; height: 3px;
  background: var(--saffron);
  border-radius: 2px;
}
.sec-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--maroon);
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: .4rem;
}
.sec-sub { font-size: .9rem; color: var(--text-2); }
.sec-divider {
  width: 48px; height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--saffron));
  border-radius: 2px;
  margin: .6rem 0 1rem;
}
.sec-divider.center { margin: .6rem auto 1rem; }

.sec-hd-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

/* ── Section padding ─────────────────────────────────────── */
.sec { padding: 4.5rem 0; }
.sec-sm { padding: 2.5rem 0; }
.sec-light { background: var(--bg); }
.sec-white { background: #fff; }
.sec-dark { background: var(--g-maroon); }

/* ══════════════════════════════════════════════════════════
   TOP INFO BAR
   ══════════════════════════════════════════════════════════ */
.top-bar {
  background: var(--g-saffron);
  padding: .3rem 0;
  font-size: .75rem;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  display: none;
}
@media (min-width: 768px) { .top-bar { display: block; } }
.top-bar a { color: rgba(255,255,255,.92); }
.top-bar .fa, .top-bar .fas { margin-right: .3rem; }

/* ══════════════════════════════════════════════════════════
   MAIN NAVBAR
   ══════════════════════════════════════════════════════════ */
.site-nav {
  background: var(--maroon);
  position: sticky;
  top: 0;
  z-index: 998;
  box-shadow: 0 2px 16px rgba(0,0,0,.25);
  width: 100%;
  max-width: 100%;
  overflow-x: clip; /* prevents horizontal scroll without clipping absolute dropdowns */
}
.site-nav .container {
  padding-top: .55rem;
  padding-bottom: .55rem;
}

/* Logo */
.nav-logo-wrap {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo-wrap img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.nav-logo-text .name {
  display: block;
  font-family: 'Hind', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.nav-logo-text .sub {
  display: block;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* Desktop nav links */
.nav-links-list {
  display: none;
  list-style: none;
  padding: 0;
  gap: .05rem;
  align-items: center;
  margin: 0 auto;
  flex-wrap: wrap;
}
@media (min-width: 1100px) { .nav-links-list { display: flex; } }
.nav-links-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .4rem .65rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  border-radius: 7px;
  transition: all var(--ease);
  line-height: 1.2;
}
.nav-links-list a:hover, .nav-links-list a.active {
  background: rgba(255,255,255,.13);
  color: var(--gold);
}

/* ── Nav Dropdown (सेवाएं) ──────────────────────── */
.nav-has-drop {
  position: relative;
}
.nav-drop-toggle {
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  gap: .3rem;
  flex-direction: row !important;
  white-space: nowrap;
}
.nav-drop-caret {
  font-size: .55rem;
  opacity: .75;
  transition: transform .2s;
}
.nav-has-drop.open .nav-drop-caret {
  transform: rotate(180deg);
}
.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + .4rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  border: 1px solid rgba(128,0,0,.08);
  list-style: none;
  padding: .4rem 0;
  z-index: 9999;
}
.nav-has-drop.open .nav-submenu {
  display: block;
}
.nav-submenu li a {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: .55rem;
  padding: .5rem 1rem !important;
  font-size: .8rem;
  font-weight: 600;
  color: #333 !important;
  background: transparent !important;
  border-radius: 0 !important;
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-submenu li a:hover,
.nav-submenu li a.active {
  background: rgba(128,0,0,.07) !important;
  color: var(--maroon, #800000) !important;
}
.nav-submenu li a i {
  font-size: .75rem;
  color: var(--maroon, #800000);
  width: 16px;
  text-align: center;
}

/* Nav right */
.nav-right {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-login-btn {
  background: var(--saffron);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: .42rem 1.1rem;
  border-radius: 8px;
  transition: all var(--ease);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.nav-login-btn:hover { background: var(--saffron-d); color: #fff; }

.nav-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.3);
  cursor: pointer;
}
.nav-avatar-btn {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: .3rem .6rem;
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
}
.nav-avatar-btn:hover { background: rgba(255,255,255,.18); }

/* Hamburger */
.nav-hamburger {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 1.25rem;
}
@media (min-width: 1100px) { .nav-hamburger { display: none; } }

/* Mobile dropdown menu */
.nav-mobile-menu {
  display: none;
  background: #5a0000;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.1);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1.25rem;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.82);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: all var(--ease);
}
.nav-mobile-menu a:hover, .nav-mobile-menu a.active { background: rgba(255,255,255,.1); color: var(--gold); }
.nav-mobile-menu a .fa, .nav-mobile-menu a .fas, .nav-mobile-menu a .far { width: 18px; text-align: center; }

/* ══════════════════════════════════════════════════════════
   MOBILE BOTTOM NAV
   ══════════════════════════════════════════════════════════ */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 997;
  background: var(--maroon);
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  align-items: stretch;
  height: 62px;
}
@media (min-width: 992px) { .mobile-bottom-nav { display: none; } }
.mbn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  color: rgba(255,255,255,.6);
  font-size: .6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all var(--ease);
  text-decoration: none;
  padding: .3rem .2rem;
  position: relative;
}
.mbn-item i { font-size: 1.1rem; line-height: 1; }
.mbn-item:hover, .mbn-item.active { color: var(--gold); }
.mbn-item.active { color: var(--gold); }
.mbn-item.active::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 3px;
  background: var(--gold);
  border-radius: 0 0 4px 4px;
}

/* ══════════════════════════════════════════════════════════
   HERO / SWIPER
   ══════════════════════════════════════════════════════════ */
.hero-swiper {
  position: relative;
  overflow: hidden;
}
.hero-slide {
  position: relative;
  height: 520px;
  background: var(--g-maroon);
  overflow: hidden;
}
@media (max-width: 576px) { .hero-slide { height: 380px; } }
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 8s ease;
}
.hero-swiper .swiper-slide:hover .hero-slide-bg { transform: scale(1.06); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(100,0,0,.55) 0%, rgba(60,20,0,.35) 100%);
}
/* Decorative Hindu symbols */
.hero-decor {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  opacity: .06;
  color: var(--gold);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  font-family: 'Hind', sans-serif;
  display: none;
}
@media (min-width: 768px) { .hero-decor { display: block; } }
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem;
}
@media (min-width: 768px) { .hero-content { padding: 3rem 5%; max-width: 60%; } }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(240,120,0,.25);
  border: 1px solid rgba(255,212,154,.3);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .28rem .8rem;
  border-radius: 99px;
  margin-bottom: 1.1rem;
}
.hero-heading {
  font-family: 'Hind', sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: .85rem;
}
.hero-heading strong { color: var(--gold); }
.hero-sub {
  font-size: clamp(.82rem, 1.8vw, .98rem);
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 480px;
}
.hero-btns { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Swiper controls */
.hero-swiper .swiper-pagination-bullet { background: rgba(255,255,255,.5); opacity: 1; }
.hero-swiper .swiper-pagination-bullet-active { background: var(--gold); }
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  color: #fff;
  background: rgba(128,0,0,.5);
  width: 40px; height: 40px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
}
.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after { font-size: .95rem; font-weight: 900; }

/* ══════════════════════════════════════════════════════════
   STATS STRIP
   ══════════════════════════════════════════════════════════ */
.stats-strip {
  background: var(--g-maroon);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}
.stats-strip::before {
  content: 'ॐ';
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  color: rgba(255,255,255,.04);
  font-family: 'Hind', sans-serif;
  pointer-events: none;
}
.stat-box {
  text-align: center;
  padding: 1rem;
  color: #fff;
}
.stat-box .stat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto .65rem;
  color: var(--gold);
}
.stat-box .stat-num {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: .2rem;
}
.stat-box .stat-lbl {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  font-family: 'Hind', sans-serif;
}

/* ══════════════════════════════════════════════════════════
   MARQUEE / TICKER
   ══════════════════════════════════════════════════════════ */
.ticker-wrap {
  background: linear-gradient(90deg, #5a0000 0%, #900000 30%, var(--saffron) 70%, #c45000 100%);
  padding: .6rem 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}
.ticker-label {
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  background: #fff;
  color: var(--maroon);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem 1.1rem;
  white-space: nowrap;
  margin-right: 1rem;
  border-radius: 0 4px 4px 0;
  box-shadow: 3px 0 12px rgba(0,0,0,.25);
}
.ticker-track {
  display: flex;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  font-size: .8rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  padding: 0 2.5rem;
  font-family: 'Hind', sans-serif;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.ticker-item::before { content: '◆'; color: var(--gold); font-size: .55rem; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════
   AD BANNERS
   ══════════════════════════════════════════════════════════ */
.ad-zone {
  background: #f0e8e8;
  border: 1px dashed #d0b0b0;
  border-radius: var(--r-x);
  min-height: 60px;
  max-height: 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--text-3);
}
.ad-zone img { width: 100%; height: 100%; object-fit: cover; }

/* ══════════════════════════════════════════════════════════
   SERVICE CARDS
   ══════════════════════════════════════════════════════════ */
.svc-card {
  background: var(--bg-card);
  border-radius: var(--r);
  padding: 1.75rem 1.25rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: all var(--ease);
  cursor: pointer;
  display: block;
  box-shadow: var(--s1);
  height: 100%;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--s3); border-color: var(--maroon-l); }
.svc-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--g-card-hd);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.6rem;
  color: var(--gold);
  transition: transform var(--ease);
}
.svc-card:hover .svc-icon-wrap { transform: scale(1.1) rotate(-4deg); }
.svc-card .svc-title {
  font-family: 'Hind', sans-serif;
  font-size: .92rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: .3rem;
}
.svc-card .svc-sub {
  font-size: .75rem;
  color: var(--text-2);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════
   CONTENT CARDS (News / Blog)
   ══════════════════════════════════════════════════════════ */
.cs-card {
  background: var(--bg-card);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--s1);
  transition: all var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.cs-card:hover { transform: translateY(-4px); box-shadow: var(--s3); border-color: transparent; }

.cs-img {
  position: relative;
  overflow: hidden;
  height: 190px;
  background: #f0e8e8 center/cover no-repeat;
  flex-shrink: 0;
}
.cs-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.cs-card:hover .cs-img img { transform: scale(1.05); }
.cs-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--maroon);
  opacity: .25;
  background: linear-gradient(135deg, #f8eded, #fef3e0);
}
.cs-cat {
  position: absolute;
  top: .65rem; left: .65rem;
  background: var(--maroon);
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 99px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cs-date-badge {
  position: absolute;
  bottom: .65rem; right: .65rem;
  background: rgba(0,0,0,.55);
  color: rgba(255,255,255,.9);
  font-size: .68rem;
  font-weight: 600;
  padding: .2rem .6rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.cs-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.cs-meta {
  display: flex;
  gap: .75rem;
  font-size: .72rem;
  color: var(--text-3);
  margin-bottom: .55rem;
  flex-wrap: wrap;
  align-items: center;
}
.cs-title {
  font-size: .93rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: 'Hind', sans-serif;
}
.cs-excerpt {
  font-size: .8rem;
  color: var(--text-2);
  line-height: 1.6;
  flex: 1;
  margin-bottom: .75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cs-readmore {
  font-size: .78rem;
  font-weight: 700;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  margin-top: auto;
  transition: gap var(--ease);
}
.cs-readmore:hover { gap: .55rem; color: var(--crimson); }

/* ══════════════════════════════════════════════════════════
   EVENT CARD (date-highlight)
   ══════════════════════════════════════════════════════════ */
.ev-card {
  background: var(--bg-card);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--s1);
  display: flex;
  gap: 0;
  transition: all var(--ease);
}
.ev-card:hover { transform: translateY(-3px); box-shadow: var(--s3); }
.ev-date {
  flex-shrink: 0;
  width: 68px;
  background: var(--g-card-hd);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: .5rem;
}
.ev-date .day { font-size: 1.65rem; font-weight: 800; line-height: 1; }
.ev-date .mon { font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.ev-date .yr  { font-size: .58rem; opacity: .6; }
.ev-body { padding: .85rem 1rem; flex: 1; min-width: 0; }
.ev-cat  { font-size: .66rem; font-weight: 700; color: var(--saffron-d); text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem; }
.ev-title { font-size: .88rem; font-weight: 700; color: var(--text); margin-bottom: .35rem; line-height: 1.4; font-family: 'Hind', sans-serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ev-venue { font-size: .73rem; color: var(--text-2); display: flex; align-items: center; gap: .3rem; margin-bottom: .4rem; }
.ev-link { font-size: .73rem; font-weight: 700; color: var(--maroon); }

/* ══════════════════════════════════════════════════════════
   MEMBER CARD
   ══════════════════════════════════════════════════════════ */
.member-card {
  background: var(--bg-card);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--s1);
  transition: all var(--ease);
  text-align: center;
}
.member-card:hover { transform: translateY(-4px); box-shadow: var(--s3); }
.member-photo-wrap {
  padding: 1.25rem 1.25rem .75rem;
}
.member-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--maroon-l);
  margin: 0 auto;
}
.member-photo-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--g-card-hd);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.75rem;
  margin: 0 auto;
}
.member-card .m-name { font-size: .9rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; font-family: 'Hind', sans-serif; }
.member-card .m-meta { font-size: .73rem; color: var(--text-2); margin-bottom: .3rem; }
.member-card .card-footer-cs {
  background: var(--maroon-l);
  padding: .5rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--maroon);
  border-top: 1px solid #eee;
}

/* ══════════════════════════════════════════════════════════
   MATRIMONIAL CARD
   ══════════════════════════════════════════════════════════ */
.matri-card {
  background: var(--bg-card);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--s1);
  transition: all var(--ease);
}
.matri-card:hover { transform: translateY(-4px); box-shadow: var(--s3); }
.matri-photo {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8eded, #fef3e0);
}
.matri-photo img { width: 100%; height: 100%; object-fit: cover; }
.matri-gender {
  position: absolute;
  top: .6rem; right: .6rem;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
}
.matri-gender.male   { background: #dbeafe; color: #1d4ed8; }
.matri-gender.female { background: #fce7f3; color: #9d174d; }
.matri-info { padding: 1rem; }
.matri-name { font-size: .92rem; font-weight: 700; color: var(--text); margin-bottom: .3rem; font-family: 'Hind', sans-serif; }
.matri-detail { font-size: .77rem; color: var(--text-2); line-height: 1.7; }
.matri-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .55rem; }
.matri-tag {
  background: var(--saffron-l);
  color: var(--saffron-d);
  font-size: .66rem;
  font-weight: 700;
  padding: .15rem .55rem;
  border-radius: 99px;
  border: 1px solid #ffd49a;
}

/* ══════════════════════════════════════════════════════════
   NEWS + EVENTS TWO-COL SECTION
   ══════════════════════════════════════════════════════════ */
.two-col-hd {
  background: var(--g-card-hd);
  color: #fff;
  font-family: 'Hind', sans-serif;
  font-size: .88rem;
  font-weight: 700;
  padding: .65rem 1rem;
  border-radius: var(--r-s) var(--r-s) 0 0;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.two-col-body {
  flex: 1;
  min-width: 0;
  padding: .15rem 0;
}
.two-col-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .65rem 0;
  border-bottom: 1px solid var(--border);
  transition: all var(--ease);
}
.two-col-item:last-child { border-bottom: none; }
.two-col-item:hover { transform: translateX(3px); }
.two-col-thumb-ph {
  width: 60px; height: 48px;
  background: var(--maroon-l);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.two-col-info .tc-title {
  font-size: .83rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: .2rem;
  font-family: 'Hind', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.two-col-info .tc-meta {
  font-size: .68rem;
  color: var(--text-3);
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════
   PAGE HEADER (inner pages)
   ══════════════════════════════════════════════════════════ */
.page-hdr {
  background: var(--g-maroon);
  padding: 2.5rem 0 2rem;
  position: relative;
  overflow: hidden;
}
/* reduce gap between page-hdr wave and the section below */
.page-hdr + section { padding-top: 2rem !important; }
.page-hdr::before {
  content: 'ॐ';
  position: absolute;
  right: 5%; top: 50%;
  transform: translateY(-50%);
  font-size: 9rem;
  color: rgba(255,255,255,.04);
  font-family: 'Hind', sans-serif;
  pointer-events: none;
}
.page-hdr .container { position: relative; z-index: 1; }
.page-hdr h1 {
  font-family: 'Hind', sans-serif;
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: .35rem;
}
.page-hdr p { color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: .9rem; }
.breadcrumb-cs {
  display: flex;
  gap: .35rem;
  align-items: center;
  font-size: .76rem;
  flex-wrap: wrap;
}
.breadcrumb-cs a, .breadcrumb-w a { color: rgba(255,255,255,.55); transition: color var(--ease); }
.breadcrumb-cs a:hover, .breadcrumb-w a:hover { color: var(--gold); }
.breadcrumb-cs .sep, .breadcrumb-w .sep { color: rgba(255,255,255,.25); font-size: .6rem; }
.breadcrumb-cs .cur, .breadcrumb-w .cur { color: var(--gold); font-weight: 600; }
.breadcrumb-w { display: flex; gap: .35rem; align-items: center; font-size: .76rem; flex-wrap: wrap; }
.page-wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%;
  line-height: 0;
}
.page-wave svg { display: block; }

/* ══════════════════════════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════════════════════════ */
.sidebar-cs { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-box-cs {
  background: var(--bg-card);
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--s1);
  overflow: hidden;
}
.sb-head {
  background: var(--g-card-hd);
  color: #fff;
  padding: .75rem 1rem;
  font-size: .82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Hind', sans-serif;
}
.sb-body { padding: 1rem; }

.sb-link-item {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  padding: .55rem 0;
  border-bottom: 1px solid var(--border);
  transition: transform var(--ease);
}
.sb-link-item:last-child { border-bottom: none; }
.sb-link-item:hover { transform: translateX(3px); }
.sb-thumb { width: 48px; height: 38px; object-fit: cover; border-radius: 7px; flex-shrink: 0; }
.sb-thumb-ph { width: 48px; height: 38px; background: var(--maroon-l); border-radius: 7px; display: flex; align-items: center; justify-content: center; color: var(--maroon); flex-shrink: 0; }
.sb-info .si-title { font-size: .79rem; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: .2rem; font-family: 'Hind', sans-serif; }
.sb-info .si-meta  { font-size: .69rem; color: var(--text-3); }

/* ══════════════════════════════════════════════════════════
   DETAIL PAGE
   ══════════════════════════════════════════════════════════ */
.detail-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--r);
  margin-bottom: 1.75rem;
}
.detail-meta-row {
  display: flex;
  gap: .65rem;
  align-items: center;
  font-size: .77rem;
  color: var(--text-3);
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.detail-meta-row .pill {
  background: var(--maroon-l);
  color: var(--maroon);
  font-weight: 700;
  font-size: .68rem;
  padding: .2rem .65rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.detail-title {
  font-family: 'Hind', sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 800;
  color: var(--maroon);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.detail-content { font-size: .93rem; line-height: 1.85; color: var(--text); }
.detail-content p  { margin-bottom: 1rem; }
.detail-content h2, .detail-content h3 { color: var(--maroon); font-weight: 700; margin: 1.5rem 0 .65rem; font-family: 'Hind', sans-serif; }
.detail-content img { border-radius: var(--r-x); margin: 1rem 0; }

/* ══════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════ */
.form-label { font-size: .81rem; font-weight: 600; color: var(--text); margin-bottom: .35rem; }
.form-control, .form-select {
  border-radius: var(--r-x);
  border: 1.5px solid var(--border);
  font-size: .87rem;
  padding: .58rem .88rem;
  transition: all var(--ease);
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(128,0,0,.1);
  outline: none;
}
.input-group-text {
  background: #f8f4f4;
  border-color: var(--border);
  color: var(--maroon);
  font-weight: 600;
  font-size: .85rem;
}
.btn-form-submit {
  background: var(--g-card-hd);
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  padding: .7rem 2rem;
  border-radius: var(--r-s);
  border: none;
  cursor: pointer;
  transition: all var(--ease);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.btn-form-submit:hover { background: linear-gradient(135deg, #640000, #8a1e35); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(128,0,0,.35); }

/* ══════════════════════════════════════════════════════════
   AUTH PAGES
   ══════════════════════════════════════════════════════════ */
.auth-bg {
  min-height: 100dvh;
  background: var(--g-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  position: relative;
  overflow: hidden;
}
.auth-bg::before {
  content: 'ॐ';
  position: absolute;
  right: 5%; top: 50%;
  transform: translateY(-50%);
  font-size: 16rem;
  color: rgba(255,255,255,.04);
  font-family: 'Hind', sans-serif;
  pointer-events: none;
}
.auth-card {
  background: var(--bg-card);
  border-radius: var(--r);
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 460px;
  box-shadow: 0 24px 60px rgba(0,0,0,.3);
}
.auth-logo-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.auth-logo-row img { height: 52px; width: 52px; object-fit: contain; border-radius: 50%; }
.auth-logo-row .icon { width: 52px; height: 52px; border-radius: 50%; background: var(--g-card-hd); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.5rem; }
.auth-logo-row .n1 { font-family: 'Hind', sans-serif; font-size: .95rem; font-weight: 700; color: var(--maroon); }
.auth-logo-row .n2 { font-size: .6rem; color: var(--text-2); }
.auth-heading { font-family: 'Hind', sans-serif; font-size: 1.25rem; font-weight: 800; color: var(--maroon); margin-bottom: .3rem; }
.auth-sub { font-size: .83rem; color: var(--text-2); margin-bottom: 1.5rem; }
.form-section-label { font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: .75rem; border-top: 1px solid var(--border); padding-top: .75rem; }
.form-section-label:first-of-type { border-top: none; padding-top: 0; }
.strength-bar { display: flex; gap: 4px; }
.strength-bar span { flex: 1; height: 4px; border-radius: 2px; background: var(--border); transition: background .2s; }
.strength-bar.s1 span:nth-child(1) { background: #ef4444; }
.strength-bar.s2 span:nth-child(1), .strength-bar.s2 span:nth-child(2) { background: #f97316; }
.strength-bar.s3 span:nth-child(1), .strength-bar.s3 span:nth-child(2), .strength-bar.s3 span:nth-child(3) { background: #eab308; }
.strength-bar.s4 span { background: #16a34a; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1rem 0;
  color: var(--text-3);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  width: 100%;
  padding: .6rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-x);
  background: #fff;
  font-size: .87rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: all var(--ease);
}
.btn-google:hover { border-color: #aaa; box-shadow: var(--s1); }
.auth-footer-link { text-align: center; font-size: .81rem; color: var(--text-2); margin-top: 1.2rem; }
.auth-footer-link a { color: var(--maroon); font-weight: 700; }
.input-pwd { position: relative; }
.input-pwd .toggle-pwd { position: absolute; right: .75rem; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--text-3); font-size: 1rem; padding: 0; line-height: 1; }

/* ══════════════════════════════════════════════════════════
   PAGINATION — Custom Clean Design
   ══════════════════════════════════════════════════════════ */

/* Wrapper */
.cs-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Result info text */
.cs-page-info {
  font-size: .75rem;
  color: var(--text-s, #9a8a8a);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Hind', sans-serif;
}
.cs-page-info i { color: var(--maroon); opacity: .6; }

/* Page list */
.cs-page-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* Each page item */
.cs-page-item { display: flex; }

/* Page link base */
.cs-page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px; height: 38px;
  padding: 0 .65rem;
  border-radius: 10px;
  border: 1.5px solid var(--border, #e8ddd5);
  background: #fff;
  color: var(--maroon, #800000);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
  cursor: pointer;
  font-family: 'Hind', sans-serif;
  line-height: 1;
}
.cs-page-link:hover { background: var(--maroon-l, #fdf0f0); border-color: rgba(128,0,0,.2); color: var(--maroon); text-decoration: none; }

/* Active page */
.cs-page-item.active .cs-page-link {
  background: var(--maroon, #800000);
  border-color: var(--maroon, #800000);
  color: #fff;
  box-shadow: 0 4px 12px rgba(128,0,0,.25);
  cursor: default;
}

/* Disabled (prev/next at edges) */
.cs-page-item.disabled .cs-page-link {
  background: #f5f0ee;
  border-color: #ebe3de;
  color: #ccc;
  cursor: not-allowed;
  pointer-events: none;
}

/* Nav arrows (prev/next) — slightly wider */
.cs-nav-btn {
  background: var(--maroon-l, #fdf0f0);
  border-color: rgba(128,0,0,.15);
  color: var(--maroon);
  font-size: .78rem;
}
.cs-nav-btn:hover { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.cs-page-item.disabled .cs-nav-btn { background: #f5f0ee; color: #ccc; }

/* Dots separator */
.cs-dots .cs-page-link {
  border: none; background: transparent;
  color: var(--text-s, #aaa); cursor: default;
  font-size: 1rem; letter-spacing: .05em;
  pointer-events: none;
}

/* Remove old Bootstrap pagination interference */
.pagination { display: none !important; }

/* ══════════════════════════════════════════════════════════
   PAGE SIDEBAR (News / Events / Blog)
   ══════════════════════════════════════════════════════════ */

/* Top banner ad strip */
.page-top-ad {
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: 10px;
  padding: .5rem;
  text-align: center;
  overflow: hidden;
}
.page-top-ad .ad-slot-wrap { margin: 0; }
.page-top-ad .ad-slot-wrap img { max-width: 100%; height: auto; border-radius: 6px; }

/* Sticky sidebar wrapper */
.page-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}


/* Sidebar widget card */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.sw-title {
  font-size: .72rem;
  font-weight: 800;
  color: var(--maroon);
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .75rem 1rem;
  background: var(--maroon-l, #fdf0f0);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: .45rem;
}

/* Widget list item */
.sw-item {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem 1rem;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: background .18s;
}
.sw-item:last-child { border-bottom: none; }
.sw-item:hover { background: var(--bg); }

/* Thumbnail */
.sw-thumb {
  width: 48px; height: 40px;
  border-radius: 7px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.sw-thumb-ph {
  width: 48px; height: 40px;
  border-radius: 7px;
  background: var(--maroon-l);
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon); font-size: 1rem; opacity: .6;
  flex-shrink: 0;
}

/* Event date box in sidebar */
.sw-date-box {
  width: 44px; height: 44px;
  border-radius: 9px;
  background: var(--g-maroon, linear-gradient(135deg,#800000,#c45000));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sw-date-d { font-size: 1rem; font-weight: 900; color: #fff; line-height: 1; }
.sw-date-m { font-size: .55rem; font-weight: 700; color: rgba(255,255,255,.75); text-transform: uppercase; }

.sw-info { flex: 1; min-width: 0; }
.sw-item-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text);
  font-family: 'Hind', sans-serif;
  line-height: 1.35;
  margin-bottom: .18rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sw-item-date {
  font-size: .68rem;
  color: var(--text-s);
  display: flex; align-items: center; gap: .28rem;
}

@media (max-width: 991px) {
  .page-sidebar { position: static; }
}

/* ══════════════════════════════════════════════════════════
   GALLERY
   ══════════════════════════════════════════════════════════ */
.gallery-masonry { columns: 2; gap: .65rem; }
@media (min-width: 576px) { .gallery-masonry { columns: 3; } }
@media (min-width: 768px) { .gallery-masonry { columns: 4; } }
.g-item { break-inside: avoid; margin-bottom: .65rem; border-radius: var(--r-x); overflow: hidden; position: relative; cursor: pointer; }
.g-item img { width: 100%; display: block; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.06); }
.g-overlay { position: absolute; inset: 0; background: rgba(128,0,0,.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--ease); color: var(--gold); font-size: 1.5rem; }
.g-item:hover .g-overlay { opacity: 1; }

/* ══════════════════════════════════════════════════════════
   CTA BANNER SECTION
   ══════════════════════════════════════════════════════════ */
.cta-banner {
  background: var(--g-maroon);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(240,120,0,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 30%, rgba(255,212,154,.08) 0%, transparent 60%);
}
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner h2 { font-family: 'Hind', sans-serif; font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 800; color: #fff; margin-bottom: .75rem; }
.cta-banner p  { color: rgba(255,255,255,.65); font-size: .9rem; max-width: 440px; margin: 0 auto 2rem; line-height: 1.7; }
.cta-om { font-family: 'Hind', sans-serif; font-size: 3rem; color: rgba(255,212,154,.35); line-height: 1; margin-bottom: .5rem; }
.cta-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ── Two-column list (new selectors used in home) ── */
.two-col-item { color: var(--text); }
.two-col-title {
  font-size: .84rem;
  font-weight: 700;
  color: var(--text);
  font-family: 'Hind', sans-serif;
  line-height: 1.4;
  margin-bottom: .2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.two-col-meta {
  font-size: .7rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: .4rem;
}

/* ── Two-col thumb as background-image ── */
.two-col-thumb {
  width: 64px; height: 52px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ── Event date box (used in two-col events) ── */
.ev-date-box {
  width: 52px; flex-shrink: 0;
  background: var(--g-card-hd);
  border-radius: 10px;
  padding: .45rem .25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ev-date-day { font-size: 1.25rem; font-weight: 800; color: #fff; line-height: 1; }
.ev-date-mon { font-size: .6rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .05em; }
.ev-date-yr  { font-size: .55rem; color: rgba(255,255,255,.5); }

/* ── CS card image placeholder ── */
.cs-img-ph {
  background: var(--maroon-l);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 2.5rem;
}
.cs-img-ph > i { opacity: .35; }

/* ── Gallery item (home preview) ── */
.gallery-item { break-inside: avoid; margin-bottom: .65rem; border-radius: var(--r-x); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; display: block; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay { position: absolute; inset: 0; background: rgba(128,0,0,.55); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--ease); padding: .5rem; }
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span { color: #fff; font-size: .75rem; font-weight: 700; text-align: center; font-family: 'Hind', sans-serif; }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--maroon-d);
  color: rgba(255,255,255,.65);
  padding: 3.5rem 0 1.75rem;
  font-size: .845rem;
}
.footer-logo img { height: 56px; width: 56px; object-fit: contain; border-radius: 50%; margin-bottom: .75rem; }
.footer-logo .f-name { font-family: 'Hind', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--gold); margin-bottom: .2rem; }
.footer-logo .f-sub  { font-size: .72rem; color: rgba(255,255,255,.45); margin-bottom: 1rem; }
.footer-logo p { font-size: .8rem; line-height: 1.7; margin-bottom: 1.1rem; }
.footer-socials { display: flex; gap: .4rem; flex-wrap: wrap; }
.footer-socials a { width: 32px; height: 32px; border-radius: 7px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: .85rem; transition: all var(--ease); }
.footer-socials a:hover { background: var(--saffron); color: #fff; border-color: var(--saffron); }
.footer-hd { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-hd::before { content: '—'; color: var(--saffron); font-size: .85rem; font-weight: 700; flex-shrink: 0; }
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { color: rgba(255,255,255,.6); font-size: .82rem; transition: color var(--ease); display: flex; align-items: center; gap: .45rem; }
.footer-links a::before { content: '>'; color: var(--saffron); font-size: .75rem; font-weight: 700; flex-shrink: 0; line-height: 1; }
.footer-links a:hover { color: var(--saffron); }
.footer-contact-item {
  display: flex; gap: .7rem; align-items: flex-start;
  margin-bottom: .85rem;
}
.fci-icon {
  width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
  background: rgba(240,120,0,.15); color: var(--saffron);
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; margin-top: .05rem;
}
.footer-contact-item i { color: var(--saffron); }
.footer-contact-item span,
.footer-contact-item a {
  font-size: .8rem; line-height: 1.65;
  color: rgba(255,255,255,.6);
  text-decoration: none; transition: color .2s;
}
.footer-contact-item a:hover { color: var(--saffron); }

/* Social icons row */
.fci-socials {
  display: flex; gap: .5rem;
  margin-top: .2rem; margin-bottom: 1rem;
}
.fci-socials a {
  width: 32px; height: 32px; border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.65);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; text-decoration: none;
  transition: all .2s;
}
.fci-socials a:hover { background: var(--saffron); border-color: var(--saffron); color: #fff; }

/* Contact page button */
.fci-contact-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(240,120,0,.18);
  border: 1px solid rgba(240,120,0,.3);
  color: var(--saffron) !important;
  font-size: .75rem; font-weight: 700;
  padding: .38rem .9rem; border-radius: 99px;
  text-decoration: none !important;
  transition: all .2s; letter-spacing: .02em;
  margin-top: .25rem;
}
.fci-contact-btn:hover {
  background: var(--saffron); color: #fff !important;
  border-color: var(--saffron);
}
.footer-bottom { margin-top: 2.5rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .76rem; color: rgba(255,255,255,.45); }
.footer-bottom-links { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,.45); font-size: .76rem; transition: color var(--ease); }
.footer-bottom-links a:hover { color: var(--saffron); }
.footer-bottom-links .sep { color: rgba(255,255,255,.25); }

/* ══════════════════════════════════════════════════════════
   EMPTY STATE & ALERTS
   ══════════════════════════════════════════════════════════ */
.empty-cs { text-align: center; padding: 3.5rem 1rem; color: var(--text-2); }
.empty-cs i { font-size: 2.75rem; display: block; margin-bottom: .9rem; color: var(--maroon); opacity: .3; }
.empty-cs h5 { font-size: .95rem; font-weight: 700; color: var(--text-2); margin-bottom: .35rem; font-family: 'Hind', sans-serif; }
.empty-cs p  { font-size: .83rem; }

.alert { border-radius: var(--r-x); font-size: .855rem; border: none; padding: .85rem 1.1rem; }

/* Scroll-to-top */
.scroll-top { position: fixed; bottom: 5rem; right: 1.25rem; width: 40px; height: 40px; background: var(--maroon); color: #fff; border: none; border-radius: var(--r-x); cursor: pointer; display: none; align-items: center; justify-content: center; font-size: 1rem; box-shadow: var(--s2); z-index: 996; transition: all var(--ease); }
@media (min-width: 992px) { .scroll-top { bottom: 1.5rem; } }
.scroll-top:hover { background: var(--maroon-d); transform: translateY(-2px); }
.scroll-top.show { display: flex; }

/* ══════════════════════════════════════════════════════════
   MEMBER PANEL
   ══════════════════════════════════════════════════════════ */
.panel-hero {
  background: var(--g-maroon);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  margin: -1.5rem -1.5rem 1.5rem;
  border-radius: var(--r) var(--r) 0 0;
}
.panel-hero::before { content: 'ॐ'; position: absolute; right: 5%; top: 50%; transform: translateY(-50%); font-size: 7rem; color: rgba(255,255,255,.05); font-family: 'Hind', sans-serif; pointer-events: none; }
.panel-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--gold); }
.panel-avatar-ph { width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.15); border: 3px solid var(--gold); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 2rem; }
.panel-hero .p-name { font-family: 'Hind', sans-serif; font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: .2rem; }
.panel-hero .p-no   { font-size: .75rem; color: rgba(255,255,255,.65); }

/* About page values */
.value-card-cs { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); border-top: 3px solid var(--maroon); padding: 1.5rem; height: 100%; box-shadow: var(--s1); transition: all var(--ease); }
.value-card-cs:hover { transform: translateY(-4px); box-shadow: var(--s3); }
.value-card-cs .v-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--maroon-l); color: var(--maroon); font-size: 1.25rem; display: flex; align-items: center; justify-content: center; margin-bottom: .85rem; }
.value-card-cs h5 { font-size: .9rem; font-weight: 700; color: var(--maroon); margin-bottom: .4rem; font-family: 'Hind', sans-serif; }
.value-card-cs p  { font-size: .8rem; color: var(--text-2); line-height: 1.6; }

/* Gotra grid */
/* ── Gotra Grid — Rich Card Design ────────────────────────── */
.gotra-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}
@media (min-width: 576px) { .gotra-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .gotra-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 992px) { .gotra-grid { grid-template-columns: repeat(8, 1fr); } }

.gotra-item {
  background: #fff;
  border: 1.5px solid #f0e8e0;
  border-radius: 12px;
  padding: .85rem .5rem .75rem;
  text-align: center;
  font-family: 'Hind', sans-serif;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
/* Top accent bar */
.gotra-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), #c45000);
  transform: scaleX(0);
  transition: transform .3s ease;
  transform-origin: left;
}
/* OM watermark */
.gotra-item::after {
  content: 'ॐ';
  position: absolute;
  right: .3rem; bottom: -.5rem;
  font-size: 2rem;
  font-family: 'Hind', sans-serif;
  color: rgba(128,0,0,.05);
  line-height: 1;
  pointer-events: none;
  transition: color .3s;
}
.gotra-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(128,0,0,.13);
  border-color: rgba(128,0,0,.25);
}
.gotra-item:hover::before { transform: scaleX(1); }
.gotra-item:hover::after { color: rgba(128,0,0,.1); }

/* Serial number badge */
.gotra-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), #c45000);
  color: #fff;
  font-size: .55rem;
  font-weight: 800;
  margin: 0 auto .5rem;
}

/* Gotra name */
.gotra-name {
  font-size: .78rem;
  font-weight: 800;
  color: #3a0000;
  line-height: 1.25;
  transition: color .2s;
}
.gotra-item:hover .gotra-name { color: var(--maroon); }

@media (max-width: 575px) {
  .gotra-item { padding: .7rem .4rem .65rem; border-radius: 10px; }
  .gotra-name { font-size: .72rem; }
  .gotra-num { width: 18px; height: 18px; font-size: .5rem; }
}

/* Join box */
/* Join Community Box (sidebar) */
.join-box-cs { background: var(--g-card-hd); border-radius: var(--r); padding: 1.25rem 1.25rem 1.4rem; text-align: center; }
/* only the direct top icon — NOT icons inside buttons */
.join-box-cs > i { font-size: 1.55rem; color: var(--gold); display: block; margin-bottom: .5rem; }
.join-box-cs h5 { font-size: .88rem; font-weight: 700; color: #fff; margin-bottom: .45rem; font-family: 'Hind', sans-serif; }
.join-box-cs p  { color: rgba(255,255,255,.52); font-size: .78rem; margin-bottom: 1rem; line-height: 1.55; }
.btn-join-cs { background: var(--gold); color: var(--maroon-d); font-weight: 800; font-size: .82rem; padding: .55rem 1.4rem; border-radius: var(--r-x); display: inline-flex; align-items: center; gap: .35rem; transition: all var(--ease); }
.btn-join-cs i { font-size: .82rem; color: var(--maroon-d); display: inline; margin: 0; }
.btn-join-cs:hover { background: #f0c070; transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,.25); }

/* Contact info items */
.contact-info-item { display: flex; gap: .85rem; align-items: flex-start; padding: .9rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-x); margin-bottom: .8rem; box-shadow: var(--s1); transition: all var(--ease); }
.contact-info-item:hover { border-color: var(--maroon); }
.ci-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--maroon-l); color: var(--maroon); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.contact-info-item h6 { font-size: .79rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.contact-info-item p, .contact-info-item a { font-size: .8rem; color: var(--text-2); line-height: 1.5; }
.contact-form-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 2rem; box-shadow: var(--s1); }
.contact-form-box h5 { font-family: 'Hind', sans-serif; font-size: 1rem; font-weight: 800; color: var(--maroon); margin-bottom: 1.35rem; padding-bottom: .85rem; border-bottom: 1px solid var(--border); }

/* ══════════════════════════════════════════════════════════
   LAYOUT — TOP BAR INNER
   ══════════════════════════════════════════════════════════ */
.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.top-bar-left { display: flex; align-items: center; gap: 1.25rem; }
.top-bar-right { display: flex; align-items: center; gap: .6rem; }
.top-bar-left a,
.top-bar-right a { display: inline-flex; align-items: center; gap: .35rem; color: rgba(255,255,255,.9); font-size: .74rem; }
.top-bar-right a { width: 24px; height: 24px; border-radius: 5px; background: rgba(255,255,255,.15); justify-content: center; font-size: .75rem; }
.top-bar-right a:hover { background: rgba(255,255,255,.3); }

/* ══════════════════════════════════════════════════════════
   NAVBAR — INNER LAYOUT & NEW CLASSES
   ══════════════════════════════════════════════════════════ */
.nav-inner {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
}

/* Logo */
.nav-logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  flex-shrink: 0;
}
.nav-logo-placeholder {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  font-family: 'Hind', sans-serif;
  flex-shrink: 0;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-brand-hi {
  font-family: 'Hind', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}
.nav-brand-en {
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* Nav link bilingual labels */
.nav-hi {
  font-family: 'Hind', sans-serif;
  font-size: .78rem;
  font-weight: 600;
  display: block;
}
.nav-en {
  font-size: .58rem;
  font-weight: 500;
  display: block;
  opacity: .65;
  letter-spacing: .03em;
}

/* Auth area */
.nav-auth-area {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
  flex-shrink: 0;
}
.nav-join-btn {
  background: transparent;
  color: rgba(255,255,255,.8);
  font-size: .78rem;
  font-weight: 600;
  padding: .38rem .9rem;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.3);
  display: none;
  align-items: center;
  gap: .35rem;
  transition: all var(--ease);
  white-space: nowrap;
}
@media (min-width: 768px) { .nav-join-btn { display: inline-flex; } }
.nav-join-btn:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Hamburger — 3 animated bars */
.nav-hamburger {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
@media (min-width: 1100px) { .nav-hamburger { display: none; } }
.nav-hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transition: all .25s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* User dropdown */
.nav-user-drop { position: relative; }
@media (max-width: 1099px) { .nav-user-drop { display: none !important; } }
.nav-user-btn {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: .28rem .6rem;
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--ease);
}
.nav-user-btn:hover { background: rgba(255,255,255,.18); }
.nav-user-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255,255,255,.3);
}
.nav-user-initials {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--saffron);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-user-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-drop-arrow { font-size: .65rem; opacity: .7; transition: transform var(--ease); }
.nav-user-btn:focus .nav-drop-arrow { transform: rotate(180deg); }
.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 180px;
  background: #fff;
  border-radius: var(--r-x);
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  overflow: hidden;
  z-index: 999;
  border: 1px solid var(--border);
}
.nav-drop-menu.open { display: block; }
.nav-drop-menu a,
.nav-drop-menu button {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--ease);
}
.nav-drop-menu a:hover,
.nav-drop-menu button:hover { background: var(--maroon-l); color: var(--maroon); }
.nav-drop-menu i { width: 16px; color: var(--maroon); }
.drop-divider { height: 1px; background: var(--border); margin: .25rem 0; }

/* Mobile menu extras */
.mobile-menu-divider { height: 1px; background: rgba(255,255,255,.1); margin: .4rem 0; }
.mobile-logout-btn {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .75rem 1.25rem;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-logout-btn:hover { background: rgba(255,255,255,.08); color: var(--gold); }
.mobile-join-link { color: var(--gold) !important; font-weight: 700 !important; }

/* ══════════════════════════════════════════════════════════
   MOBILE BOTTOM NAV — CENTER BUTTON
   ══════════════════════════════════════════════════════════ */
.mbn-center { position: relative; }
.mbn-center-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--g-card-hd);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: -16px;
  border: 3px solid var(--bg);
  box-shadow: 0 4px 12px rgba(128,0,0,.4);
}

/* ══════════════════════════════════════════════════════════
   FOOTER — GRID LAYOUT & NEW CLASSES
   ══════════════════════════════════════════════════════════ */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 576px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; } }

.footer-col-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.footer-logo-placeholder {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--gold);
  font-family: 'Hind', sans-serif;
  flex-shrink: 0;
}
.footer-brand-hi {
  font-family: 'Hind', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.footer-brand-en {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--saffron);
}
.footer-tagline {
  font-family: 'Hind', sans-serif;
  font-size: .83rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-bottom: 1.1rem;
}
.footer-join-box { display: none; }
.footer-join-btn { display: none; }

/* ══════════════════════════════════════════════════════════
   SCROLL TOP BTN (new class name)
   ══════════════════════════════════════════════════════════ */
.scroll-top-btn {
  position: fixed;
  bottom: 5rem;
  right: 1.25rem;
  width: 40px; height: 40px;
  background: var(--maroon);
  color: #fff;
  border: none;
  border-radius: var(--r-x);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--s2);
  z-index: 996;
  transition: all var(--ease);
}
@media (min-width: 992px) { .scroll-top-btn { bottom: 1.5rem; } }
.scroll-top-btn:hover { background: var(--maroon-d); transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════
   NEWS / BLOG CARDS  (.c-card pattern)
   ══════════════════════════════════════════════════════════ */
.c-card {
  background: var(--bg-card);
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--s1);
  overflow: hidden;
  transition: all var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.c-card:hover { transform: translateY(-5px); box-shadow: var(--s3); border-color: rgba(128,0,0,.15); }

.c-card-img {
  position: relative;
  overflow: hidden;
  height: 195px;
  background: var(--maroon-l) center/cover no-repeat;
  flex-shrink: 0;
}
.c-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; display: block; }
.c-card:hover .c-card-img img { transform: scale(1.05); }

.c-card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8eded, #fef3e0);
}
.c-badge {
  position: absolute;
  top: .65rem; left: .65rem;
  background: var(--maroon);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 99px;
  letter-spacing: .04em;
  text-transform: uppercase;
  z-index: 1;
}

.c-card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.c-meta {
  font-size: .7rem;
  color: var(--text-3);
  margin-bottom: .5rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  align-items: center;
}
.c-meta i { color: var(--saffron); }
.c-title {
  font-family: 'Hind', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.c-excerpt {
  font-size: .8rem;
  color: var(--text-2);
  line-height: 1.65;
  flex: 1;
  margin-bottom: .85rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.c-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--maroon);
  margin-top: auto;
  transition: gap var(--ease);
}
.c-link:hover { gap: .6rem; color: var(--crimson); }
.c-link i { font-size: .7rem; }

/* ══════════════════════════════════════════════════════════
   EVENT CARDS  (.e-card pattern — date-strip + body)
   ══════════════════════════════════════════════════════════ */
.e-card {
  background: var(--bg-card);
  border-radius: var(--r);
  border: 1px solid var(--border);
  box-shadow: var(--s1);
  overflow: hidden;
  transition: all var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.e-card:hover { transform: translateY(-5px); box-shadow: var(--s3); border-color: rgba(128,0,0,.2); }

/* Date strip at top of event card */
.e-date {
  background: var(--g-card-hd);
  padding: .9rem 1rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-shrink: 0;
}
.e-date .day {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.e-date .mon {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.e-date .mon span:first-child {
  font-size: .7rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.e-date .mon span:last-child {
  font-size: .6rem;
  color: rgba(255,255,255,.55);
}

.e-cat {
  display: inline-flex;
  align-items: center;
  background: var(--saffron-l);
  color: var(--saffron-d);
  font-size: .64rem;
  font-weight: 700;
  padding: .18rem .65rem;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: .45rem;
  align-self: flex-start;
}

.e-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.e-title {
  font-family: 'Hind', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.e-venue {
  font-size: .75rem;
  color: var(--text-3);
  display: flex;
  align-items: flex-start;
  gap: .35rem;
  margin-bottom: .5rem;
  line-height: 1.4;
}
.e-venue i { color: var(--saffron); flex-shrink: 0; margin-top: .15rem; }
.e-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--maroon);
  margin-top: auto;
  padding-top: .65rem;
  border-top: 1px solid var(--border);
  transition: gap var(--ease);
}
.e-link:hover { gap: .6rem; color: var(--crimson); }

/* ══════════════════════════════════════════════════════════
   EMPTY STATE
   ══════════════════════════════════════════════════════════ */
.empty-state {
  text-align: center;
  padding: 3.5rem 2rem;
  background: #fff;
  border: 1px solid #e8e0db;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(128,0,0,.06);
  color: #888;
}
.empty-state-icon {
  width: 72px;
  height: 72px;
  background: rgba(128,0,0,.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.empty-state-icon i {
  font-size: 1.75rem;
  color: var(--maroon);
  opacity: .55;
  display: block;
}
.empty-state h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: .4rem;
  font-family: 'Poppins', sans-serif;
}
.empty-state p {
  font-size: .84rem;
  color: #888;
  margin: 0;
  line-height: 1.6;
}
.empty-state a { color: var(--maroon); font-weight: 600; }
.empty-state a:hover { text-decoration: underline; }
.empty-state a.btn-primary-cs,
.empty-state a.btn-saffron { color: #fff !important; text-decoration: none; }
.empty-state a.btn-primary-cs:hover,
.empty-state a.btn-saffron:hover { color: #fff !important; text-decoration: none; }
.empty-state a.btn-outline-cs { color: var(--maroon) !important; text-decoration: none; }
.empty-state a.btn-outline-cs:hover { color: #fff !important; text-decoration: none; }

/* PAGINATION (maroon theme) — overridden by cs-pagination above */

/* ══════════════════════════════════════════════════════════
   BLOG SIDEBAR ITEM  (.si-*)
   ══════════════════════════════════════════════════════════ */
.si-item { display: flex; gap: .75rem; align-items: flex-start; padding: .65rem 0; border-bottom: 1px solid var(--border); }
.si-item:last-child { border-bottom: none; }
.si-thumb { width: 60px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; background: var(--maroon-l) center/cover no-repeat; }
.si-thumb-ph { width: 60px; height: 48px; border-radius: 8px; background: var(--maroon-l); display: flex; align-items: center; justify-content: center; color: var(--maroon); font-size: 1.1rem; flex-shrink: 0; opacity: .5; }
.si-title { font-size: .8rem; font-weight: 700; color: var(--text); line-height: 1.4; font-family: 'Hind', sans-serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.si-meta { font-size: .68rem; color: var(--text-3); margin-top: .2rem; }
.si-item:hover .si-title { color: var(--maroon); }

/* ══════════════════════════════════════════════════════════
   ARTICLE CONTENT (news/blog detail)
   ══════════════════════════════════════════════════════════ */
.article-body h2, .article-body h3, .article-body h4 { font-family: 'Hind', sans-serif; color: var(--maroon); margin: 1.5rem 0 .75rem; }
.article-body p { line-height: 1.8; color: var(--text); margin-bottom: 1rem; font-size: .9rem; }
.article-body img { border-radius: var(--r-x); margin: 1rem 0; }
.article-body blockquote { border-left: 3px solid var(--saffron); padding: .75rem 1.1rem; background: var(--maroon-l); border-radius: 0 var(--r-x) var(--r-x) 0; margin: 1.25rem 0; font-style: italic; color: var(--text-2); }
.scroll-top-btn.show { display: flex; }

/* ══════════════════════════════════════════════════════════
   MOBILE FIXES  (max-width: 767px)
   ══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── Global overflow fix ── */
  html, body { overflow-x: hidden !important; width: 100% !important; }

  /* ── Section padding ── */
  .sec { padding: 2.5rem 0 !important; }
  .sec-sm { padding: 1.5rem 0 !important; }

  /* ── Ad banner height on mobile ── */
  .ad-banner-inner { max-height: 110px !important; }
  .ad-banner-img   { height: 110px !important; }

  /* ── Member-required box ── */
  .mr-section { padding: 1.5rem .75rem; min-height: auto; }
  .mr-card { border-radius: 14px; }
  .mr-card-body { padding: 1.5rem 1.25rem 1.75rem; }
  .mr-heading { font-size: 1.1rem; }
  .mr-description { font-size: .82rem; }
  .mr-lock-ring { width: 64px; height: 64px; }
  .mr-lock-ring i { font-size: 1.6rem; }
  .mr-actions { flex-direction: column; gap: .6rem; }
  .mr-btn-login, .mr-btn-register { justify-content: center; width: 100%; }
  .mr-bg-profiles { grid-template-columns: repeat(3,1fr); padding: 1rem; gap: .5rem; }
  .mr-bg-posts { padding: .75rem; }

  /* ── sec titles on mobile ── */
  .sec-title { font-size: 1.4rem !important; }
  .sec-eyebrow { font-size: .7rem !important; }
  .container, .container-fluid { max-width: 100%; overflow: hidden; }
  section, footer, header, nav { max-width: 100vw; overflow-x: hidden; }

  /* ── Navbar ── */
  .site-nav { overflow: hidden; }
  .nav-logo-text { font-size: 1rem !important; }
  .nav-logo-wrap img { height: 40px !important; width: 40px !important; }

  /* ── Hero Slider ── */
  .hero-slide { height: auto !important; min-height: 420px; }
  .hero-content {
    padding: 1.5rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .hero-heading { font-size: 1.4rem !important; line-height: 1.3; }
  .hero-sub { font-size: .82rem !important; margin-bottom: 1.2rem !important; }
  .hero-btns {
    flex-direction: column !important;
    gap: .55rem !important;
    width: 100%;
  }
  .hero-btns a, .hero-btns button {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    font-size: .85rem !important;
    padding: .7rem 1rem !important;
  }
  .hero-badges { flex-wrap: wrap; gap: .4rem; }
  .hero-badges .hero-badge { font-size: .68rem !important; }

  /* Swiper nav arrows smaller on mobile */
  .hero-swiper .swiper-button-next,
  .hero-swiper .swiper-button-prev {
    width: 32px !important; height: 32px !important;
  }
  .hero-swiper .swiper-button-next::after,
  .hero-swiper .swiper-button-prev::after { font-size: .75rem !important; }

  /* Pagination dots — push to very bottom, clear of buttons */
  .hero-swiper .swiper-pagination {
    bottom: 10px !important;
  }
  /* Extra bottom padding on hero content so buttons never touch dots */
  .hero-content {
    padding-bottom: 3.5rem !important;
    justify-content: flex-start !important;
    padding-top: 2rem !important;
  }

  /* ── Ticker ── */
  .ticker-wrap { overflow: hidden !important; max-width: 100vw; }
  .ticker-label { font-size: .65rem !important; padding: .25rem .8rem !important; }

  /* ── Stats section ── */
  .shc-num { font-size: 1.6rem !important; }

  /* ── Footer ── */
  footer { padding-bottom: 70px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: .5rem; }
  .footer-bottom-links { justify-content: center; }
}
