/* Committee public home page (uses tokens from styles.css). */
.nav { display: flex; align-items: center; gap: 14px; padding: 11px 30px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; flex-wrap: wrap; }
.navtog { display: none; margin-left: auto; width: 40px; height: 40px; border-radius: 9px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; align-items: center; justify-content: center; }
.navtog:hover { background: #F6F1E8; }
.nav .brand-bn { font-family: 'Baloo Da 2', sans-serif; font-weight: 700; font-size: 16.5px; line-height: 1.15; }
.nav .brand-en { font-size: 10.5px; color: var(--muted); letter-spacing: .3px; }
.navlinks { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.navlinks a { padding: 9px 13px; border-radius: 8px; font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer; }
.navlinks a.on { background: var(--primary-soft); color: var(--primary); }
.navlinks a.vote { color: var(--primary); font-weight: 600; }
.navlinks a:hover { background: #F6F1E8; }
.navright { display: flex; align-items: center; gap: 8px; }

.hero { position: relative; min-height: 400px; display: flex; align-items: center; color: #fff; overflow: hidden; background: linear-gradient(rgba(60,15,12,.40), rgba(60,15,12,.48)), linear-gradient(135deg, #7E1F1B, #A8321E 55%, #C08A2D); background-size: cover; background-position: center; padding: 40px 0; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 15%, rgba(255,220,150,.28), transparent 45%), radial-gradient(circle at 15% 90%, rgba(0,0,0,.18), transparent 40%); pointer-events: none; }
.hero .in { position: relative; max-width: 1140px; margin: 0 auto; padding: 0 30px; width: 100%; text-align: center; }
.hero .kick { font-size: 13px; font-weight: 600; letter-spacing: 1px; color: #F3D9A6; text-transform: uppercase; }
.hero h1 { font-size: 40px; font-weight: 800; margin: 10px 0 6px; line-height: 1.12; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero .en { font-size: 14px; color: #EAD3A8; }
.hero p { max-width: 560px; font-size: 15px; line-height: 1.6; color: #F4E6CE; margin: 12px auto 20px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero .btn.ghost { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); color: #fff; }

.updates { background: #F6EFE4; border-bottom: 1px solid var(--line); }
.updates .in { max-width: 1140px; margin: 0 auto; padding: 26px 30px; }
.updates .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.updates .head h2 { font-size: 21px; display: flex; align-items: center; gap: 8px; }
.ucards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ucard { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; box-shadow: var(--shadow); display: flex; gap: 12px; }
.ucard.new { border-color: #E7C9A0; }
.ucard .dt { flex: 0 0 auto; width: 46px; text-align: center; background: var(--primary-soft); border-radius: 9px; padding: 6px 0; height: max-content; }
.ucard .dt .d { font-family: 'Baloo Da 2', sans-serif; font-weight: 700; font-size: 17px; color: var(--primary); line-height: 1; }
.ucard .dt .m { font-size: 10px; color: var(--primary); }
.ucard .ut { font-weight: 600; font-size: 14px; }
.ucard .ux { font-size: 12px; color: var(--muted); margin-top: 3px; line-height: 1.5; }
.newbadge { font-size: 9.5px; font-weight: 700; color: #fff; background: var(--gold); border-radius: 5px; padding: 1px 6px; margin-left: 6px; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 38px 30px; }
.sec-h { text-align: center; margin-bottom: 4px; }
.sec-h h2 { font-size: 26px; }
.sec-sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.feat { display: grid; grid-template-columns: 230px 1fr; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid #EFD9C0; margin-bottom: 20px; }
.feat .img { background: linear-gradient(135deg, #8C2F26, #C08A2D); position: relative; min-height: 150px; background-size: cover; background-position: center; }
.feat .body { background: linear-gradient(135deg, #FBEEDD, #F9E4D7); padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.tagline { display: inline-flex; align-items: center; gap: 6px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; width: max-content; margin-bottom: 10px; }
.feat h3 { font-size: 24px; color: #8C2F26; }
.feat p { font-size: 13.5px; color: #7a5a44; margin: 8px 0 14px; line-height: 1.55; max-width: 560px; }
.events { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ecard { background: #fff; border: 1px solid #E6D6BE; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); cursor: pointer; transition: box-shadow .15s ease, border-color .15s ease, transform .05s ease; }
.ecard .th { position: relative; background-color: var(--primary-soft); }
.ecard .th.noimg { height: 130px; }
.ecard .thimg { display: block; width: 100%; height: auto; }
.ecard .dchip { position: absolute; left: 12px; bottom: -14px; background: #fff; border-radius: 10px; padding: 5px 10px; text-align: center; box-shadow: var(--shadow); }
.ecard .dchip .d { font-family: 'Baloo Da 2', sans-serif; font-weight: 700; font-size: 16px; line-height: 1; color: var(--primary); }
.ecard .dchip .m { font-size: 9.5px; color: var(--muted); }
.ecard .ct { padding: 22px 16px 16px; }
.ecard h3 { font-size: 16px; }
.ecard p { font-size: 12.5px; color: var(--muted); margin: 5px 0 10px; line-height: 1.5; }
.ecard .go { font-size: 12.5px; font-weight: 600; color: var(--primary); }
.ecard:hover { border-color: #D9C2A0; box-shadow: 0 2px 4px rgba(40,26,20,.06), 0 16px 36px rgba(40,26,20,.11); transform: translateY(-2px); }

.band { background: #F6EFE4; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.in2 { max-width: 1140px; margin: 0 auto; padding: 40px 30px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.two .card-box { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.cardh { font-size: 21px; margin-bottom: 5px; }
.cardp { font-size: 12.5px; color: var(--muted); line-height: 1.6; margin: 0 0 14px; }
.seg { display: flex; gap: 8px; margin-bottom: 12px; }
.seg .s { flex: 1; border: 1.5px solid var(--line); border-radius: 9px; padding: 9px; text-align: center; font-weight: 600; font-size: 13px; color: var(--muted); cursor: pointer; }
.seg .s.on { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.dgrid { display: grid; grid-template-columns: 1fr 135px; gap: 16px; align-items: center; }
.upiid { display: flex; align-items: center; gap: 10px; background: var(--gold-soft); border-radius: 9px; padding: 9px 12px; margin-top: 10px; font-family: 'Baloo Da 2', sans-serif; font-weight: 600; font-size: 14px; }
.qr { width: 128px; height: 128px; border-radius: 12px; margin: 0 auto; background: #fff; border: 6px solid #fff; outline: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.qr img, .qr canvas { width: 100%; height: 100%; }

.foot { background: #2A1E1A; color: #E9DFD3; }
.foot .in { max-width: 1140px; margin: 0 auto; padding: 30px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; }
.foot h4 { font-family: 'Baloo Da 2', sans-serif; font-size: 15px; color: #F3D9A6; margin: 0 0 10px; }
.foot p, .foot a { font-size: 12.5px; color: #C9BCAE; line-height: 1.8; display: block; }
.foot .cbrand { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.foot .copy { border-top: 1px solid rgba(255,255,255,.12); text-align: center; font-size: 11.5px; color: #9c8f80; padding: 12px; }

@media (max-width: 860px) {
  .ucards, .events { grid-template-columns: 1fr; }
  .feat, .two, .dgrid, .foot .in { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
}

/* Mobile nav → hamburger + tighter spacing */
@media (max-width: 820px) {
  .nav { padding: 10px 16px; }
  .navtog { display: inline-flex; }
  .navlinks, .navright { display: none; flex-basis: 100%; order: 10; margin-left: 0; }
  .nav.open .navlinks { display: flex; flex-direction: column; gap: 2px; padding-top: 8px; border-top: 1px solid var(--line); margin-top: 4px; }
  .nav.open .navlinks a { padding: 11px 10px; font-size: 14px; }
  .nav.open .navright { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; }
  .nav.open .navright .btn { flex: 1; }

  .hero .in, .updates .in, .wrap, .in2, .foot .in { padding-left: 16px; padding-right: 16px; }
  .hero { min-height: 340px; padding: 32px 0; }
  .updates .in { padding-top: 22px; padding-bottom: 22px; }
  .wrap { padding-top: 30px; padding-bottom: 30px; }
  .in2 { padding-top: 30px; padding-bottom: 30px; }
  .foot .in { padding-top: 26px; padding-bottom: 26px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 25px; }
  .hero .in { padding-left: 14px; padding-right: 14px; }
  .sec-h h2 { font-size: 22px; }
  .updates .head h2 { font-size: 18px; }
  .feat h3 { font-size: 20px; }
}
