/* ============================================================
   tamilnaduswadeshi.com — dynamic portal components (extends style.css)
   ============================================================ */
:root { --shadow-sm: 0 2px 10px rgba(16,36,59,.07); --shadow: 0 12px 34px rgba(16,36,59,.12); --cream-dark: var(--paper-2); }

/* ---------- utilities ---------- */
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 5000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 12px; }
.no-anim .reveal, .no-anim .reveal-pop, .no-anim .reveal-r { opacity: 1 !important; transform: none !important; }
.sec-intro { margin-bottom: 8px; }
.sec-intro.text-center .section-sub { margin-left: auto; margin-right: auto; }
.empty-note { background: #fff; border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 28px 22px; text-align: center; color: var(--muted); font-weight: 500; }
.thumb-ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--gold); font-family: 'FlagIN','Noto Serif Tamil', serif; font-size: 3rem; font-weight: 800; }

/* ---------- flash ---------- */
.flash { padding: 12px 0; font-weight: 600; font-size: .95rem; }
.flash-success { background: #E7F4EC; color: var(--green-dark); }
.flash-error { background: #FCE8E3; color: #9B2C12; }
.flash-warn, .flash-info { background: #FFF6DB; color: #7A5A00; }

/* ---------- page hero extras ---------- */
.page-hero { padding: 56px 0 50px; text-align: center; }
.page-hero .crumb { font-size: .82rem; color: #C9D6E4; margin-bottom: 14px; font-family: 'FlagIN','Inter', 'Noto Sans Tamil', sans-serif; }
.page-hero .crumb a { color: var(--gold); }
.page-hero .crumb span[aria-current] { color: #E6EDF5; }
.crumb { overflow-wrap: anywhere; }
.page-summary-wrap { background: var(--paper); padding-top: 26px; }
.page-summary { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold); border-radius: var(--r); padding: 16px 20px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--sh-1); }
.page-summary .ps-label { flex: none; font-family: 'FlagIN','Inter', 'Noto Sans Tamil', sans-serif; font-weight: 700; font-size: .8rem; color: var(--saffron-dark); background: var(--saffron-soft); border-radius: 999px; padding: 4px 12px; margin-top: 2px; white-space: nowrap; }
.page-summary p { margin: 0; color: var(--ink); font-size: 1rem; }
.page-summary.in-article { margin: 0 0 22px; }
@media (max-width: 640px) { .page-summary { flex-direction: column; gap: 8px; } }

/* ---------- prose (rich text) ---------- */
.prose { font-size: 1.04rem; line-height: 1.85; color: #2A2A28; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { border-left: 4px solid var(--saffron); background: var(--saffron-soft); padding: 14px 18px; border-radius: 0 var(--r) var(--r) 0; font-weight: 500; }
.prose img { border-radius: var(--r); margin: 1.2em 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose th { background: var(--paper-2); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose-narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.prose-light, .prose-light p { color: #D5E0EC; }
.section-navy .prose, .section-navy .prose p, .section-navy .section-sub { color: #D5E0EC; }
.section-navy .section-title, .section-navy h3 { color: #fff; }

/* ---------- cards extras ---------- */
.card-img { margin: -26px -26px 18px; border-radius: var(--r-lg) var(--r-lg) 0 0; overflow: hidden; }
.card-img img { width: 100%; height: 190px; object-fit: cover; }
.card-saffron { background: var(--saffron); color: #fff; border-color: var(--saffron); }
.card-saffron h3, .card-saffron .en, .card-saffron p { color: #fff; }
.card-compact { padding: 18px 18px; }
.card .card-btn { margin-top: 14px; align-self: flex-start; }
.cards-issue .card, .cards-default .card { display: flex; flex-direction: column; }
.card .list-check { margin-top: 10px; }
.card p + p { margin-top: 8px; }

/* ---------- split ---------- */
.split-rev .media { order: -1; }
.split-noimg { grid-template-columns: 1fr; }
.split .sec-intro { margin-bottom: 14px; }
.split .list-check { margin-top: 14px; }

/* ---------- points list ---------- */
.points { list-style: none; counter-reset: pt var(--start, 0); display: grid; gap: 14px; margin-top: 26px; padding: 0; }
.points.pcols-2 { grid-template-columns: 1fr 1fr; }
.points.pcols-3 { grid-template-columns: repeat(3, 1fr); }
.points li { counter-increment: pt; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 14px 62px; box-shadow: var(--sh-1); }
.points li::before { content: counter(pt); position: absolute; left: 14px; top: 13px; width: 34px; height: 34px; border-radius: 50%; background: var(--saffron-soft); color: var(--saffron-dark); font-family: 'FlagIN','Inter', sans-serif; font-weight: 800; font-size: .9rem; display: grid; place-items: center; }
.points-check li::before { content: "✓"; background: #E7F4EC; color: var(--green); }
.points-cards li { border-top: 3px solid var(--saffron); }
.points .pt-title { display: block; color: var(--navy); font-family: 'FlagIN','Noto Serif Tamil', serif; font-size: 1.05rem; margin-bottom: 4px; }
.points .pt-text { color: #3a3a37; }
.section-navy .points li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section-navy .points .pt-title { color: #fff; }
.section-navy .points .pt-text { color: #D5E0EC; }
.highlights { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; margin: 0 0 26px; }
.highlights h2 { font-size: 1.2rem; }
.highlights .points { margin-top: 14px; }
.highlights .points li { box-shadow: none; background: var(--paper); }
@media (max-width: 860px) { .points.pcols-2, .points.pcols-3 { grid-template-columns: 1fr; } }

/* ---------- timeline ---------- */
.timeline { position: relative; margin-top: 34px; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 118px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--saffron), var(--gold)); }
.tl-item { display: grid; grid-template-columns: 110px 1fr; gap: 34px; padding: 0 0 26px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 104px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--saffron); }
.tl-date { font-family: 'FlagIN','Inter', sans-serif; font-weight: 800; color: var(--saffron-dark); text-align: right; padding-top: 2px; font-size: .95rem; }
.tl-body { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; box-shadow: var(--sh-1); }
.tl-body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.tl-body p { color: #3a3a37; font-size: .96rem; }
.tl-tag { display: inline-block; font-size: .72rem; font-weight: 700; background: var(--paper-2); color: var(--navy); border-radius: 999px; padding: 2px 10px; margin-bottom: 6px; }
.section-navy .tl-body { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); }
.section-navy .tl-body p { color: #D5E0EC; }
@media (max-width: 640px) {
  .timeline::before { left: 10px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .tl-item::before { left: 3px; }
  .tl-date { text-align: left; }
}

/* ---------- tables ---------- */
.table-note { margin-top: 16px; color: var(--muted); font-size: .9rem; text-align: center; }
.alt-note { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; }
@media (max-width: 700px) {
  .cmp-table thead { display: none; }
  .cmp-table tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
  .cmp-table td { display: block; border: 0 !important; padding: 4px 12px !important; }
  .cmp-table td[data-label]::before { content: attr(data-label) " : "; font-weight: 700; color: var(--muted); font-size: .8rem; }
}

/* ---------- forms ---------- */
.form-section { scroll-margin-top: 90px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-2); }
.form-center { max-width: 760px; margin: 26px auto 0; }
.form-split { margin-top: 26px; align-items: start; }
.form-side h3 { margin-bottom: 12px; }
.form-side .list-check { margin-top: 14px; }
.section-navy .form-side, .section-navy .form-side p, .section-navy .form-side li { color: #D5E0EC; }
.section-navy .form-side h3 { color: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid .fg-full { grid-column: 1 / -1; }
.form-field .lbl { display: block; font-family: 'FlagIN','Inter', 'Noto Sans Tamil', sans-serif; font-weight: 600; margin-bottom: 6px; color: var(--navy); font-size: .85rem; }
.form-field input, .form-field select, .form-field textarea { width: 100%; }
.form-field .req { color: #C0392B; }
.form-field .help { display: block; color: var(--muted); font-size: .78rem; margin-top: 4px; }
.form-field .err-msg { display: block; color: #C0392B; font-size: .8rem; margin-top: 4px; font-weight: 600; }
.form-field.has-err input, .form-field.has-err select, .form-field.has-err textarea { border-color: #C0392B; background: #FFF7F5; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.choice { display: inline-flex; align-items: flex-start; gap: 8px; font-size: .95rem; cursor: pointer; font-weight: 500; }
.choice input { width: 18px !important; height: 18px; margin-top: 3px; accent-color: var(--saffron); flex: none; }
.choice.agree { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.form-subhead { font-family: 'FlagIN','Noto Serif Tamil', serif; font-weight: 800; color: var(--navy); border-bottom: 1px solid var(--line); padding: 8px 0 6px; margin-top: 6px; }
.form-title { margin-bottom: 6px; }
.form-desc { color: var(--muted); margin-bottom: 16px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.privacy-note { color: var(--muted); font-size: .8rem; }
.form-alert { border-radius: var(--r); padding: 12px 16px; margin-bottom: 16px; font-weight: 600; }
.form-alert.ok { background: #E7F4EC; color: var(--green-dark); border: 1px solid #BFE0CB; }
.form-alert.err { background: #FCE8E3; color: #9B2C12; border: 1px solid #F3C4B6; }
.sjm-form button[disabled] { opacity: .7; cursor: wait; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } .form-card { padding: 20px 16px; } }

/* ---------- share ---------- */
.share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.share-bar strong { color: var(--navy); margin-right: 4px; font-family: 'FlagIN','Inter', 'Noto Sans Tamil', sans-serif; }
.share-bar .sh { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 800; font-size: .95rem; cursor: pointer; transition: .15s; font-family: 'FlagIN','Inter', sans-serif; }
.share-bar .sh:hover { transform: translateY(-2px); text-decoration: none; }
.share-bar .sh-whatsapp { background: #25D366; color: #fff; border-color: #25D366; }
.share-bar .sh-facebook { background: #1877F2; color: #fff; border-color: #1877F2; }
.share-bar .sh-x { background: #111; color: #fff; border-color: #111; }
.share-bar .sh-telegram { background: #229ED9; color: #fff; border-color: #229ED9; }
.share-bar .sh-linkedin { background: #0A66C2; color: #fff; border-color: #0A66C2; }
.share-bar .sh-copy.copied { background: var(--green); color: #fff; }
.page-share { background: var(--paper); padding: 6px 0 40px; }
.page-share .share-bar { border-top: 0; justify-content: center; }

/* ---------- listings (posts) ---------- */
.type-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.type-tabs a { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .92rem; }
.type-tabs a.on, .type-tabs a:hover { background: var(--navy); color: #fff; text-decoration: none; }
.toolbar { background: #fff; border-radius: 14px; box-shadow: var(--shadow-sm); padding: 14px 18px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.search-box { flex: 1; min-width: 200px; position: relative; }
.search-box input { width: 100%; padding: 11px 14px 11px 40px; border: 1.5px solid #e0d6c2; border-radius: 10px; font-family: inherit; font-size: .95rem; background: #fff; }
.search-box input:focus { outline: none; border-color: var(--saffron); }
.search-box .mag { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.toolbar .right { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.toolbar select { padding: 10px 12px; border: 1.5px solid #e0d6c2; border-radius: 10px; font-family: inherit; font-weight: 600; color: var(--navy); background: #fff; cursor: pointer; max-width: 220px; }
.toolbar .chk { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--navy); font-size: .9rem; cursor: pointer; }
.result-count { font-size: .9rem; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.post:hover { transform: translateY(-5px); box-shadow: 0 14px 32px rgba(14,42,71,.16); }
.post .thumb { position: relative; height: 190px; overflow: hidden; display: block; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.post:hover .thumb img { transform: scale(1.06); }
.post .type-badge, .hcard .type-badge { position: absolute; top: 12px; left: 12px; z-index: 1; color: #fff; font-size: .72rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.t-news .type-badge { background: var(--saffron); }
.t-event .type-badge { background: var(--navy); }
.t-blog .type-badge { background: var(--green); }
.t-press .type-badge { background: var(--gold); color: var(--navy); }
.post .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.post .meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.post .meta .cat { color: var(--saffron-dark); }
.post h3 { font-size: 1.1rem; line-height: 1.42; margin-bottom: 8px; }
.post h3 a { color: var(--navy); }
.post h3 a:hover { color: var(--saffron-dark); text-decoration: none; }
.post p { font-size: .9rem; color: #555; margin-bottom: 14px; flex: 1; }
.post .foot { display: flex; align-items: center; justify-content: space-between; }
.post .read { font-weight: 800; color: var(--saffron-dark); font-size: .85rem; white-space: nowrap; }
.post .cd-row { margin-bottom: 8px; }
.featured { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 1.1fr 1fr; margin-bottom: 26px; border-left: 5px solid var(--saffron); }
.featured .thumb { min-height: 280px; position: relative; display: block; }
.featured .thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.featured .body { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.featured .ribbon { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 800; font-size: .75rem; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; width: max-content; }
.featured h2 { font-size: 1.5rem; margin-bottom: 10px; }
.featured h2 a { color: var(--navy); }
.featured .meta-row { display: flex; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.featured .meta-row .cat { color: var(--saffron-dark); }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 34px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1.5px solid #e0d6c2; background: #fff; font-weight: 700; color: var(--navy); display: inline-grid; place-items: center; font-family: 'FlagIN','Inter', 'Noto Sans Tamil', sans-serif; }
.pager a:hover, .pager span.on { background: var(--saffron); color: #fff; border-color: var(--saffron); text-decoration: none; }
.feed-grid + .pager { margin-top: 30px; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: 1fr 1fr; } .featured { grid-template-columns: 1fr; } .featured .thumb { min-height: 220px; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } .toolbar { flex-direction: column; align-items: stretch; } .toolbar .right { justify-content: space-between; } .toolbar select { max-width: none; flex: 1; } }

/* ---------- article extras ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1200; }
#readProgress { height: 100%; width: 0; background: linear-gradient(90deg, var(--saffron), var(--gold)); }
.article-hero .crumb span[aria-current] { color: #E6EDF5; }
.event-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--navy); border-radius: var(--r-lg); padding: 18px 20px; margin-bottom: 24px; }
.event-box span { display: block; font-size: .78rem; color: var(--muted); font-weight: 700; font-family: 'FlagIN','Inter', 'Noto Sans Tamil', sans-serif; }
.event-box strong { color: var(--navy); }
.event-box small { display: block; color: var(--muted); }
.event-box .eb-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.post-gallery { margin-top: 30px; }
.post-gallery h2 { font-size: 1.2rem; margin-bottom: 14px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tagpill { display: inline-block; background: var(--paper-2); color: var(--navy); border-radius: 999px; padding: 4px 12px; font-size: .82rem; font-weight: 600; }
.side-cta p { font-size: .9rem; color: var(--muted); margin: 6px 0 12px; }
.badge-type.bt-news { background: var(--saffron); }
.badge-type.bt-blog { background: var(--green); }
.badge-type.bt-press { background: var(--gold); color: var(--navy); }

/* ---------- directory ---------- */
.dc-replaces { font-size: .8rem; color: var(--green-dark); background: #E7F4EC; border-radius: 6px; padding: 3px 8px; margin: 4px 0 6px; display: inline-block; }
.dir-card .dc-img { display: block; position: relative; }
.dir-card h3 a { color: var(--navy); }
.verified.gi { color: var(--gold); }
.listing-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; }
.listing-main { background: #fff; border-radius: var(--r-lg); padding: 26px; box-shadow: var(--sh-1); border: 1px solid var(--line); }
.listing-main .lead-img { border-radius: var(--r); margin-bottom: 18px; max-height: 460px; width: 100%; object-fit: cover; }
.listing-main .lead-text { font-size: 1.1rem; margin: 12px 0; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 8px; }
.badge-pending { background: #FFF6DB; color: #7A5A00; border-radius: 999px; padding: 3px 10px; font-size: .8rem; font-weight: 700; }
.replace-box { background: #E7F4EC; border: 1px solid #BFE0CB; color: var(--green-dark); border-radius: var(--r); padding: 10px 14px; margin: 10px 0; }
.contact-card { position: sticky; top: 96px; }
.contact-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.contact-list li { overflow-wrap: anywhere; }
@media (max-width: 900px) { .listing-wrap { grid-template-columns: 1fr; } .contact-card { position: static; } }

/* ---------- schemes + eligibility ---------- */
.scheme-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 22px; }
.scheme-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 10px; border-top: 5px solid var(--saffron); scroll-margin-top: 100px; }
.scheme-card.lvl-state { border-top-color: var(--green); }
.sc-top { display: flex; justify-content: space-between; align-items: center; }
.sc-num { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: 'FlagIN','Inter', sans-serif; }
.sc-lvl { font-size: .78rem; font-weight: 700; background: var(--paper-2); color: var(--navy); padding: 4px 10px; border-radius: 999px; }
.scheme-card h3 { font-size: 1.15rem; }
.scheme-card h3 small { color: var(--muted); font-family: 'FlagIN','Inter', sans-serif; font-size: .8rem; }
.sc-obj { color: #3a3a37; font-size: .95rem; }
.sc-row { display: grid; grid-template-columns: 1fr; gap: 4px; background: var(--paper); border-radius: 10px; padding: 10px 14px; font-size: .93rem; line-height: 1.6; border-left: 3px solid var(--line); }
.sc-row .k { font-weight: 700; color: var(--navy); font-size: .8rem; letter-spacing: .02em; text-transform: uppercase; }
.lvl-central .sc-row { border-left-color: #e8c9a8; } .lvl-state .sc-row { border-left-color: #b9d6c4; }
.sc-more summary { cursor: pointer; font-weight: 700; color: var(--saffron-dark); }
.sc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.elig-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.elig-form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-2); }
.elig-form .btn { margin-top: 16px; width: 100%; }
.elig-note { color: var(--muted); font-size: .8rem; margin-top: 12px; }
.elig-result { scroll-margin-top: 90px; }
.elig-hint, .elig-none { background: #fff; border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 22px; color: var(--muted); }
.elig-count { font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.elig-card { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--saffron); border-radius: var(--r); padding: 14px 16px; margin-bottom: 12px; box-shadow: var(--sh-1); }
.elig-card.lvl-state { border-left-color: var(--green); }
.elig-card .lvl { font-size: .72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.elig-card h4 { margin: 4px 0 6px; }
.elig-card p { font-size: .9rem; margin: 2px 0; }
.elig-actions { display: flex; gap: 8px; margin-top: 10px; }
.section-navy .elig-hint { background: rgba(255,255,255,.06); color: #D5E0EC; border-color: rgba(255,255,255,.2); }
@media (max-width: 900px) { .elig-wrap { grid-template-columns: 1fr; } .sc-row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- downloads ---------- */
.dl-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.dl-item { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; color: var(--ink); transition: .15s; }
.dl-item:hover { border-color: var(--saffron); transform: translateY(-2px); text-decoration: none; }
.dl-ic { flex: none; width: 52px; height: 52px; border-radius: 10px; background: var(--saffron-soft); color: var(--saffron-dark); display: grid; place-items: center; font-family: 'FlagIN','Inter', sans-serif; font-weight: 800; font-size: .75rem; }
.dl-body { flex: 1; min-width: 0; }
.dl-body strong { display: block; color: var(--navy); }
.dl-body small { display: block; color: var(--muted); font-size: .82rem; }
.dl-body em { display: block; font-style: normal; font-size: .75rem; color: var(--muted); margin-top: 2px; }
.dl-go { font-size: 1.3rem; color: var(--saffron); }

/* ---------- mentors / leaders / nominees ---------- */
.mentor-grid, .leader-grid, .nominee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 22px; }
.mentor-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.mc-photo { position: relative; height: 210px; background: var(--paper-2); }
.mc-photo img { width: 100%; height: 100%; object-fit: cover; }
.mc-badge { position: absolute; left: 12px; bottom: 12px; background: var(--saffron); color: #fff; font-size: .72rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.mc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.mc-role { color: var(--saffron-dark); font-weight: 600; font-size: .88rem; }
.mc-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-tags span { background: var(--paper-2); color: var(--navy); font-size: .75rem; border-radius: 999px; padding: 2px 9px; }
.mc-body p { color: #555; font-size: .9rem; flex: 1; }
.mc-foot { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: var(--muted); }
.mentor-card .btn { align-self: flex-start; }
.leader { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 16px; box-shadow: var(--sh-1); }
.ld-photo { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; margin: 0 auto 12px; border: 4px solid var(--paper-2); }
.ld-photo img, .ld-photo .thumb-ph { width: 100%; height: 100%; object-fit: cover; min-height: 0; font-size: 2.4rem; }
.ld-role { color: var(--saffron-dark); font-weight: 700; font-size: .9rem; }
.ld-place { color: var(--muted); font-size: .85rem; }
.nominee { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; text-align: center; box-shadow: var(--sh-1); }
.nm-ph { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; background: linear-gradient(135deg, var(--saffron), var(--gold)); color: #fff; font-size: 2rem; font-weight: 800; }
.nm-meta { color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.nominee p { font-size: .9rem; color: #444; }
.nm-vote { margin-top: 12px; display: flex; gap: 10px; justify-content: center; align-items: center; font-weight: 700; color: var(--navy); }
.vote-count { font-size: 1.3rem; color: var(--saffron-dark); }
[data-vote].voted { background: var(--green); border-color: var(--green); }

/* ---------- media / video ---------- */
.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.media-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.media-item audio { width: 100%; display: block; }
.audio-ic { height: 120px; display: grid; place-items: center; font-size: 3rem; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.mi-body { padding: 16px 18px; }
.mi-meta { color: var(--saffron-dark); font-size: .82rem; font-weight: 600; margin: 4px 0 8px; }
.mi-body p { font-size: .9rem; color: #555; margin-bottom: 10px; }
.video-embed { position: relative; padding-top: 56.25%; background: #000; border-radius: var(--r); overflow: hidden; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-block { max-width: 900px; margin-left: auto; margin-right: auto; }
.video-block figcaption { text-align: center; color: var(--muted); margin-top: 10px; }

/* ---------- contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.contact-cards .contact-item { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--sh-1); }
.contact-cards .ic { font-size: 1.5rem; }
.contact-cards p { margin: 2px 0 0; overflow-wrap: anywhere; }
.map-embed { margin-top: 24px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- social hub ---------- */
.social-hub { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: start; }
.sh-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.sh-card { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; color: var(--navy); box-shadow: var(--sh-1); transition: .15s; }
.sh-card:hover { transform: translateY(-3px); text-decoration: none; border-color: var(--saffron); }
.sh-card .ic { font-size: 1.6rem; font-weight: 800; }
.sh-card small { color: var(--muted); }
.sh-facebook .ic { color: #1877F2; } .sh-instagram .ic { color: #C13584; } .sh-youtube .ic { color: #FF0000; } .sh-x .ic { color: #111; } .sh-whatsapp_channel .ic { color: #25D366; }
.fb-embed { max-width: 500px; }
@media (max-width: 900px) { .social-hub { grid-template-columns: 1fr; } }

/* ---------- banner ---------- */
.img-banner { position: relative; padding: 90px 0; text-align: center; color: #fff; background: linear-gradient(rgba(16,36,59,.78), rgba(16,36,59,.78)), var(--bg, linear-gradient(135deg, var(--navy), var(--saffron-dark))) center/cover; }
.img-banner h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.3rem); }
.img-banner p { color: #E3EAF2; max-width: 720px; margin: 12px auto 22px; font-size: 1.08rem; }

/* ---------- gallery ---------- */
.album-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 10px 0 24px; }
.album-tabs a { padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--navy); font-weight: 600; font-size: .9rem; }
.album-tabs a.on, .album-tabs a:hover { background: var(--saffron); border-color: var(--saffron); color: #fff; text-decoration: none; }
.album-tabs small { opacity: .7; }

/* ---------- founder profile ---------- */
.founder-hero-sec { padding: 64px 0; }
.founder-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.fh-role { color: var(--gold); font-weight: 700; margin: 6px 0 14px; }
.founder-dates { display: flex; flex-wrap: wrap; gap: 18px; margin: 10px 0 18px; }
.founder-dates small { display: block; color: #9FB3C8; font-size: .75rem; }
.founder-dates strong { color: var(--gold); }
@media (max-width: 860px) { .founder-hero { grid-template-columns: 1fr; } .founder-hero .portrait img { height: 340px; } }

/* ---------- search ---------- */
.search-results { display: grid; gap: 12px; }
.sr-item { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; color: var(--ink); }
.sr-item:hover { border-color: var(--saffron); text-decoration: none; }
.sr-kind { display: inline-block; font-size: .72rem; font-weight: 800; background: var(--paper-2); color: var(--navy); border-radius: 999px; padding: 2px 10px; margin-bottom: 4px; }
.sr-item strong { display: block; color: var(--navy); font-size: 1.05rem; }
.sr-item small { color: var(--muted); }

/* ---------- footer extras ---------- */
.footer-links-row { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-links-row h4 { color: #fff; margin-bottom: 12px; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; font-family: 'FlagIN','Inter', sans-serif; font-weight: 700; }
.flr-items { display: flex; flex-wrap: wrap; gap: 8px 12px; }
.flr-items a { color: #C9D6E4; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; padding: 6px 14px; font-size: .88rem; }
.flr-items a:hover { background: var(--saffron); border-color: var(--saffron); color: #fff; text-decoration: none; }
.footer-bottom .fb-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-bottom .fb-links a { color: #9FB3C8; }
.site-footer .social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

/* ---------- auth (login / reset) ---------- */
.bare-body { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #2b1a10 100%); min-height: 100vh; }
.auth-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 16px; gap: 18px; }
.auth-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; font-family: 'FlagIN','Noto Serif Tamil', serif; font-weight: 800; text-align: center; }
.auth-brand img { border-radius: 50%; background: #fff; padding: 6px; }
.auth-brand img.is-emblem { background: transparent; padding: 0; width: 96px; height: 96px; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.auth-brand:hover { color: var(--gold); text-decoration: none; }
.auth-card { width: 100%; max-width: 440px; background: #fff; border-radius: var(--r-lg); padding: 30px 28px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.auth-card h1 { font-size: 1.5rem; margin-bottom: 4px; }
.auth-card h1 small { font-family: 'FlagIN','Inter', sans-serif; font-size: .8rem; color: var(--muted); font-weight: 600; }
.auth-card .form-field { margin-bottom: 14px; }
.auth-card .muted { margin-bottom: 18px; }
.auth-links { margin-top: 18px; text-align: center; font-size: .88rem; }

/* ---------- certificate ---------- */
.certificate { max-width: 900px; margin: 0 auto; background: #fff; padding: 14px; border-radius: 6px; box-shadow: var(--shadow); }
.cert-inner { border: 3px double var(--gold); padding: 44px 40px 30px; text-align: center; background: radial-gradient(circle at 50% 0%, #FFF8EC, #fff 60%); position: relative; }
.cert-top { display: flex; gap: 14px; align-items: center; justify-content: center; margin-bottom: 22px; }
.cert-top img { border-radius: 50%; }
.cert-top strong { display: block; font-family: 'FlagIN','Noto Serif Tamil', serif; color: var(--navy); font-size: 1.2rem; }
.cert-top small { color: var(--muted); font-family: 'FlagIN','Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; font-size: .7rem; }
.cert-kicker { color: var(--saffron-dark); font-weight: 700; letter-spacing: .04em; }
.cert-name { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--navy); margin: 12px 0 2px; border-bottom: 2px solid var(--line); display: inline-block; padding: 0 20px 6px; }
.cert-line { color: var(--muted); margin-bottom: 14px; }
.cert-text { max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.cert-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 34px; gap: 14px; }
.cert-foot small { display: block; color: var(--muted); font-size: .75rem; }
.cert-foot strong { font-family: 'FlagIN','Inter', sans-serif; color: var(--navy); }
.cert-seal { width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(135deg, var(--saffron), var(--gold)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; line-height: 1; box-shadow: 0 0 0 5px #fff, 0 0 0 7px var(--gold); }
.cert-seal span { font-size: .8rem; }
.cert-verify { margin-top: 20px; font-size: .72rem; color: var(--muted); font-family: 'FlagIN','Inter', sans-serif; overflow-wrap: anywhere; }
.cert-actions { max-width: 900px; margin: 22px auto 0; text-align: center; }
.cert-actions .share-bar { justify-content: center; }
@media print {
  .site-header, .site-footer, .no-print, .wa-float, .to-top, .skip-link, #sjm-loader, .page-share { display: none !important; }
  body, .section, .cert-page { background: #fff !important; padding: 0 !important; }
  .certificate { box-shadow: none; }
}

/* ---------- misc ---------- */
.impact-title { color: #fff; margin-bottom: 26px; }
.sup-logo { max-height: 46px; width: auto; margin: 0 auto 6px; }
a.sup:hover { text-decoration: none; }
.who-ph { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--saffron-soft); color: var(--saffron-dark); font-weight: 800; }
.hero h1 .accent { color: var(--saffron); }
.lang-switch button[aria-pressed="true"] { background: var(--saffron); color: #fff; }
body.nav-open { overflow: hidden; }
.goog-te-banner-frame, .skiptranslate iframe { display: none !important; }
body { top: 0 !important; }
.translated-ltr .site-header, .translated-rtl .site-header { top: 0 !important; }

/* ---------- header: Tamil labels are long → drawer below 1200px, compact above ---------- */
@media (max-width:1279px){
  .site-header .brand{ order:1; padding-right:0; }
  .header-tools{ order:2; margin-left:auto; }
  .nav-toggle{ display:block; order:3; position:relative; z-index:1300; }
  .nav-links{
    position:fixed !important; inset:0 0 0 auto !important; left:auto !important; top:0; right:0;
    height:100dvh; width:min(86vw,340px); max-width:100vw; flex-direction:column; align-items:stretch; gap:0; flex-wrap:nowrap;
    background:#fff; box-shadow:-14px 0 44px rgba(16,36,59,.2); padding:82px 16px 26px;
    transform:translateX(104%); transition:transform .34s var(--ease); overflow-y:auto; overscroll-behavior:contain; z-index:1200; border:0;
  }
  .nav-links.open{ transform:none !important; }
  .nav-links > li{ width:100%; }
  .nav-links a{ display:block; padding:13px 12px !important; font-size:1rem !important; font-weight:600; border-bottom:1px solid var(--paper-2); border-radius:0; white-space:normal !important; }
  .nav-links a::after{ display:none !important; }
  .nav-links a:hover{ background:var(--paper); }
  .nav-links .cta-link{ margin:16px 0 0 !important; text-align:center; border-radius:10px; border-bottom:0; padding:14px !important; }
  .has-drop > .drop{ position:static; opacity:1; visibility:visible; transform:none; box-shadow:none; border:0; border-left:2px solid var(--line); border-radius:0; margin:0 0 0 12px; padding:0 0 0 8px; min-width:0; }
  .has-drop > .drop li a{ padding:11px 10px !important; font-size:.95rem !important; font-weight:500; }
  .has-drop > .drop-toggle{ pointer-events:none; opacity:.7; font-size:.74rem !important; text-transform:uppercase; letter-spacing:.08em; }
  .nav-overlay{ z-index:1150; }
  .drawer-close{ display:block; }
  .header-tools.in-drawer{ margin:0 0 12px; }
}
@media (min-width:1280px){ .drawer-close{ display:none; } }
@media (min-width:1280px){   /* compact menu on all desktops (v3.15: longer Tamil name) */
  .nav-links a{ padding:8px 8px !important; font-size:.86rem !important; }
  .nav-links a::after{ left:8px; right:8px; }
  .site-header .brand{ padding-right:10px; }
  .site-header .bw{ font-size:.9rem; }
  .nav-links .cta-link{ padding:8px 14px !important; margin-left:4px !important; }
  .header-tools .lang-switch button{ padding:6px 10px; }
}
.ticker-viewport{ overflow:hidden; min-width:0; }
.aud-grid{ grid-template-columns:repeat(3,1fr); }
@media (max-width:1000px){ .aud-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .aud-grid{ grid-template-columns:1fr; } }
@media (min-width:1280px) and (max-width:1365px){
  .nav-links a{ padding:8px 6px !important; font-size:.84rem !important; }
  .nav-links a::after{ left:6px; right:6px; }
  .site-header .bw{ font-size:.84rem; }
  .site-header .container.nav{ gap:10px; }
  .nav-links .cta-link{ padding:8px 12px !important; }
}
html{ overflow-x:clip; } body{ overflow-x:clip; }
img.img-broken{ visibility:hidden; }
.img-ph{ background:linear-gradient(135deg,#f3e7d3 0%,#f8f1e6 45%,#eadbc2 100%) !important; }
.img-ph::after{ content:"சுதேசி"; position:absolute; inset:auto 0 50% 0; transform:translateY(50%); text-align:center; font-weight:700; letter-spacing:.06em; color:rgba(122,62,20,.28); font-size:1.05rem; pointer-events:none; }
/* loader safety net: never block the page if JS fails or a 3rd-party script stalls */
#sjm-loader{ animation: ldrOut .45s ease 3.5s forwards; }
@keyframes ldrOut{ to{ opacity:0; visibility:hidden; pointer-events:none; } }

/* =====================================================================
   UI consistency pass (session 04) — same look on every page
   ===================================================================== */
/* 1. one hero size for every inner page (short heroes no longer look squashed) */
.page-hero, .article-hero { min-height: 300px; display: flex; align-items: center; }
.page-hero > .container, .article-hero > .container { width: 100%; }
.page-hero h1 { font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.1rem); line-height: 1.35; max-width: 980px; margin-left: auto; margin-right: auto; }
.page-hero p { max-width: 760px; font-size: 1rem; line-height: 1.75; }
.listing-hero { min-height: 260px; }
@media (max-width: 760px) {
  .page-hero, .article-hero { min-height: 240px; padding: 42px 0 38px; }
  .page-hero p { font-size: .95rem; }
}

/* 2. card rows: an odd last card sits centred instead of hanging on the left */
.grid.grid-2, .grid.grid-3, .grid.grid-4 { display: flex; flex-wrap: wrap; justify-content: center; }
.grid.grid-2 > * { flex: 0 1 calc((100% - var(--gap, 24px)) / 2); }
.grid.grid-3 > * { flex: 0 1 calc((100% - 2 * var(--gap, 24px)) / 3); }
.grid.grid-4 > * { flex: 0 1 calc((100% - 3 * var(--gap, 24px)) / 4); }
.grid { --gap: 26px; gap: var(--gap); }
.grid > * { min-width: 0; }
@media (max-width: 1000px) { .grid.grid-3 > *, .grid.grid-4 > * { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (max-width: 640px) { .grid.grid-2 > *, .grid.grid-3 > *, .grid.grid-4 > * { flex-basis: 100%; } }
.contact-cards, .dl-list { display: flex; flex-wrap: wrap; justify-content: center; }
.contact-cards > * { flex: 1 1 250px; max-width: calc((100% - 48px) / 4); min-width: 230px; }
.dl-list > * { flex: 1 1 320px; max-width: calc((100% - 28px) / 3); }
@media (max-width: 1000px) { .contact-cards > * { max-width: calc((100% - 16px) / 2); } .dl-list > * { max-width: calc((100% - 14px) / 2); } }
@media (max-width: 640px) { .contact-cards > *, .dl-list > * { max-width: 100%; flex-basis: 100%; } }

/* 3. readable text: white cards inside navy sections, list text inside navy cards */
.section-navy .card:not(.card-navy):not(.card-saffron) h3,
.section-navy .card:not(.card-navy):not(.card-saffron) h4 { color: var(--navy); }
.section-navy .card:not(.card-navy):not(.card-saffron) p,
.section-navy .card:not(.card-navy):not(.card-saffron) li,
.section-navy .card:not(.card-navy):not(.card-saffron) .prose { color: #3a3a37; }
.section-navy .card:not(.card-navy):not(.card-saffron) .en { color: var(--muted); }
.card-navy li, .card-navy .list-check li, .card-navy .prose, .card-navy .prose p { color: #D5E0EC; }
.card-navy li b, .card-navy li strong, .card-navy h4 { color: #fff; }
.bl-title { font-size: .92rem; margin: 14px 0 6px; color: var(--saffron-dark); letter-spacing: .01em; }
.card-navy .bl-title, .section-navy .card-navy .bl-title { color: var(--gold); }
.sec-note { text-align: center; margin: 26px auto 0; max-width: 860px; font-size: .92rem; color: var(--muted); }
.section-navy .sec-note { color: #C3D3E4; }
.section-navy .sec-note a { color: var(--gold); font-weight: 700; }

/* 4. timeline: dates never hidden behind the dot */
.timeline::before { left: 167px; }
.tl-item { grid-template-columns: 140px 1fr; gap: 40px; }
.tl-item::before { left: 151px; width: 16px; height: 16px; box-sizing: border-box; top: 6px; }
.tl-date { font-size: .86rem; line-height: 1.35; padding-top: 4px; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .timeline::before { left: 10px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .tl-item::before { left: 3px; }
}

/* 5. numbers: long suffix (e.g. "லட்சம் கோடி ₹") no longer breaks the big figure */
.stat .n .suf { font-size: .55em; margin-left: 2px; }
.stat .n .suf.long { display: block; font-size: .36em; line-height: 1.35; margin: 6px 0 0; letter-spacing: 0; }

/* 6. form tick-boxes in a neat grid */
.choice-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 8px 14px; }
.choice-row .choice { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: .9rem; line-height: 1.45; }
.choice-row .choice:has(input:checked) { border-color: var(--saffron); background: #FFF4EC; }

/* 7. WhatsApp button: bottom-right corner, never on top of text */
.wa-float { left: auto; right: 20px; bottom: 20px; width: 50px; height: 50px; }
.to-top { right: 20px; bottom: 80px; }
@media (max-width: 640px) { .wa-float { right: 14px; bottom: 14px; width: 46px; height: 46px; font-size: 1.3rem; } .to-top { right: 16px; bottom: 70px; } }

/* 8. list pages on phones: one-line scrollable tabs, full-width filters */
@media (max-width: 640px) {
  .type-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; margin-left: -4px; margin-right: -4px; }
  .type-tabs::-webkit-scrollbar { display: none; }
  .type-tabs a { flex: none; }
  .toolbar .right { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .toolbar .right select { width: 100%; max-width: none; min-width: 0; }
  .toolbar .right .chk { grid-column: 1 / -1; }
}
.list-h { font-size: 1.15rem; margin: 6px 0 16px; color: var(--navy); }

/* 9. very long articles: show the first part, "read more" opens the rest */
.prose.clamp { max-height: 1100px; overflow: hidden; position: relative; }
.prose.clamp::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(rgba(250,246,238,0), var(--clamp-bg, #FAF6EE)); pointer-events: none; }
.section-white .prose.clamp { --clamp-bg: #fff; }
.prose.clamp.open { max-height: none; }
.prose.clamp.open::after { display: none; }
.clamp-btn { display: flex; margin: 18px auto 0; }
.sh-links .empty-note { grid-column: 1 / -1; text-align: center; max-width: 720px; margin: 0 auto; width: 100%; }
.card-compact .card-img { margin: -18px -18px 14px; }
.card-compact .card-img img { height: 150px; }

/* =====================================================================
   Session 05 — banners, hero slider, homepage power sections, forms 2.0, events
   ===================================================================== */
/* ---- section display options ---- */
@media (max-width: 760px) { .only-desktop { display: none !important; } }
@media (min-width: 761px) { .only-mobile { display: none !important; } }
.section.pad-compact { padding-top: 34px; padding-bottom: 34px; }
.section.pad-large { padding-top: 110px; padding-bottom: 110px; }
.section.pad-none { padding-top: 0; padding-bottom: 0; }
.section-saffron { background: linear-gradient(180deg, #FFF3EA, #FDE7D7); }
.section-green { background: linear-gradient(180deg, #EEF6F0, #E2EFE6); }
.section-gradient { background: linear-gradient(120deg, #10243B 0%, #1C3A5A 55%, #7A3413 100%); color: #E6EDF5; }
.section-gradient h2, .section-gradient h3, .section-gradient .section-title { color: #fff; }
.section-gradient .section-sub, .section-gradient p { color: #D5E0EC; }
.section-gradient .eyebrow { color: var(--gold); }
.section.has-bg-img { position: relative; background-image: linear-gradient(rgba(16,36,59,.78), rgba(16,36,59,.7)), var(--sec-bg); background-size: cover; background-position: center; color: #E6EDF5; }
.section.has-bg-img .section-title, .section.has-bg-img h3 { color: #fff; }
.section.has-bg-img .section-sub { color: #D5E0EC; }
.container-wide { max-width: 1440px; }
.container-narrow { max-width: 860px; }
.container-full { width: 100%; padding: 0; }
.no-reveal .reveal, .no-reveal .reveal-pop, .no-reveal .reveal-r { opacity: 1 !important; transform: none !important; }

/* ---- post thumbnails without photo ---- */
.thumb-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 100%; min-height: 150px; color: #fff; text-align: center; padding: 14px; }
.thumb-ph b { font-size: 2.4rem; line-height: 1; filter: drop-shadow(0 4px 10px rgba(0,0,0,.2)); }
.thumb-ph small { font-weight: 700; font-size: .82rem; letter-spacing: .02em; opacity: .95; }
.ph-0 { background: linear-gradient(135deg, #A33811, #C44619); }
.ph-1 { background: linear-gradient(135deg, #10243B, #2E5A86); }
.ph-2 { background: linear-gradient(135deg, #1E4E33, #2C6E49); }
.ph-3 { background: linear-gradient(135deg, #7A3413, #8C6A1F); }
.ph-4 { background: linear-gradient(135deg, #5B2A86, #7E4AAE); }
.ph-5 { background: linear-gradient(135deg, #0B4F56, #1F7F88); }

/* ---- banners ---- */
.bn-tag { display: inline-block; background: rgba(0,0,0,.22); color: inherit; font-weight: 700; font-size: .78rem; padding: 3px 10px; border-radius: 999px; letter-spacing: .02em; }
.bn-navy { --bn-bg: #10243B; --bn-fg: #fff; --bn-sub: #C9D6E4; }
.bn-saffron { --bn-bg: #C44619; --bn-fg: #fff; --bn-sub: #FFF4EC; }
.bn-green { --bn-bg: #2C6E49; --bn-fg: #fff; --bn-sub: #DDEFE3; }
.bn-light { --bn-bg: #FFF7EC; --bn-fg: #10243B; --bn-sub: #5b5347; }
.bn-gradient { --bn-bg: linear-gradient(110deg, #9E3610, #C44619 45%, #8C6A1F); --bn-fg: #fff; --bn-sub: #FFF4EC; }
.bn-cd { display: inline-flex; align-items: baseline; gap: 3px; font-family: 'FlagIN','Inter', sans-serif; }
.bn-cd b { background: rgba(0,0,0,.22); color: #fff; border-radius: 6px; padding: 2px 6px; font-size: .9rem; min-width: 1.9em; text-align: center; }
.bn-cd i { font-style: normal; font-size: .72rem; opacity: .85; margin-right: 4px; }
.bn-light .bn-cd b { background: var(--navy); }
/* top bar */
.bn-topbar { background: var(--bn-bg); color: var(--bn-fg); font-size: .9rem; position: relative; z-index: 60; }
.bn-top-in { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: nowrap; padding: 7px 48px 7px 16px; min-height: 42px; text-align: center; }
.bn-top-in > * { flex: none; }
.bn-top-in .bn-top-text { flex: 0 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-top-sub { color: var(--bn-sub); }
.bn-top-btns { display: inline-flex; gap: 8px; }
.bn-top-btns .btn { padding: 5px 14px; font-size: .82rem; min-height: 0; background: #fff; color: var(--saffron-dark); border-color: #fff; }
.bn-top-btns .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.bn-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0,0,0,.15); color: inherit; cursor: pointer; font-size: .9rem; }
.bn-x:hover { background: rgba(0,0,0,.3); }
@media (max-width: 1100px) { .bn-top-sub { display: none; } }
@media (max-width: 640px) { .bn-topbar { font-size: .8rem; } .bn-top-in { gap: 6px; padding: 6px 40px 6px 10px; flex-wrap: wrap; } .bn-top-in .bn-top-text { white-space: normal; } .bn-topbar .bn-tag { display: none; } .bn-topbar .bn-cd i { display: none; } .bn-topbar .bn-cd b { padding: 1px 4px; font-size: .78rem; } }
/* popup */
.bn-popup { position: fixed; inset: 0; z-index: 3000; background: rgba(10,20,35,.62); display: grid; place-items: center; padding: 18px; animation: bnFade .3s ease; }
.bn-popup[hidden] { display: none; }
@keyframes bnFade { from { opacity: 0; } to { opacity: 1; } }
.bn-pop-card { position: relative; width: min(560px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.35); animation: bnUp .35s var(--ease); }
@keyframes bnUp { from { transform: translateY(24px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.bn-pop-card .bn-x { top: 12px; transform: none; right: 12px; background: rgba(16,36,59,.08); color: var(--navy); z-index: 2; }
.bn-pop-img img { width: 100%; max-height: 300px; object-fit: cover; display: block; }
.bn-pop-body { padding: 24px 26px 26px; text-align: center; }
.bn-pop-body h3 { font-size: 1.35rem; margin: 6px 0 8px; color: var(--navy); }
.bn-pop-body p { color: #3a3a37; }
.bn-pop-body .bn-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.bn-pop-body .bn-btns .btn-outline { color: var(--navy); border-color: var(--line); }
.bn-popup.bn-navy .bn-pop-card, .bn-popup.bn-saffron .bn-pop-card, .bn-popup.bn-green .bn-pop-card, .bn-popup.bn-gradient .bn-pop-card { background: var(--bn-bg); color: var(--bn-fg); }
.bn-popup:not(.bn-light) .bn-pop-body h3 { color: #fff; }
.bn-popup:not(.bn-light) .bn-pop-body p { color: var(--bn-sub); }
.bn-popup:not(.bn-light) .bn-pop-body .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.bn-popup:not(.bn-light) .bn-x { background: rgba(255,255,255,.15); color: #fff; }
body.bn-pop-open { overflow: hidden; }
/* mobile bar */
.bn-mbar { display: none; }
@media (max-width: 760px) {
  .bn-mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: var(--bn-bg); color: var(--bn-fg); align-items: center; gap: 10px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(0,0,0,.18); }
  .bn-mbar-t { flex: 1; font-weight: 700; font-size: .86rem; line-height: 1.3; }
  .bn-mbar-btns { display: flex; gap: 6px; }
  .bn-mbar-btns .btn { padding: 8px 12px; font-size: .82rem; }
  .bn-mbar-btns .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
  body.has-mbar { padding-bottom: 64px; }
  body.has-mbar .wa-float { bottom: 76px; }
  body.has-mbar .to-top { bottom: 132px; }
}
/* primary button on saffron / gradient banners: white so it stays visible */
.bn-saffron .btn-primary, .bn-gradient .btn-primary { background: #fff; color: var(--saffron-dark); border-color: #fff; }
.bn-saffron .btn-primary:hover, .bn-gradient .btn-primary:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
/* inline promo */
.bn-slot { display: grid; gap: 20px; }
.bn-slot-grid.n-2 { grid-template-columns: 1fr 1fr; }
.bn-slot-grid.n-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .bn-slot-grid.n-2, .bn-slot-grid.n-3 { grid-template-columns: 1fr; } }
.bn-inline { background: var(--bn-bg); color: var(--bn-fg); border-radius: 18px; overflow: hidden; display: grid; box-shadow: var(--sh-2); position: relative; }
.bn-inline h3 { color: inherit; font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem); margin: 8px 0; line-height: 1.35; }
.bn-inline p { color: var(--bn-sub); margin: 0 0 12px; }
.bn-in-body { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 4px; }
.bn-in-body .bn-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
.bn-inline:not(.bn-light) .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }
.bn-inline .bn-in-img img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 200px; }
.bn-l-split.bn-sz-full { grid-template-columns: 1.1fr 1fr; }
.bn-l-split.bn-sz-full .bn-in-img { order: 2; }
.bn-l-card .bn-in-img img, .bn-sz-half .bn-in-img img { height: 190px; min-height: 0; }
.bn-l-cover { background-image: linear-gradient(90deg, rgba(10,20,35,.86), rgba(10,20,35,.35)), var(--bn-bg-img, var(--bn-bg)); background-size: cover; background-position: center; min-height: 260px; }
.bn-l-cover[style*="--bn-bg"] { background-image: linear-gradient(90deg, rgba(10,20,35,.86), rgba(10,20,35,.3)), var(--bn-bg); }
.bn-l-strip { grid-template-columns: 1fr; }
.bn-l-strip .bn-in-body { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; padding: 18px 26px; }
.bn-l-strip h3 { margin: 0; font-size: 1.1rem; }
.bn-l-strip p { margin: 0; }
@media (max-width: 760px) { .bn-l-split.bn-sz-full { grid-template-columns: 1fr; } .bn-l-split.bn-sz-full .bn-in-img { order: 0; } .bn-in-body { padding: 20px; } }
/* sidebar */
.bn-side { padding: 0; overflow: hidden; background: var(--bn-bg); color: var(--bn-fg); border: 0; }
.bn-side img { width: 100%; display: block; max-height: 180px; object-fit: cover; }
.bn-side-body { padding: 16px 18px 18px; }
.bn-side-body h4 { color: inherit; margin: 8px 0 6px; }
.bn-side-body p { color: var(--bn-sub); font-size: .9rem; }
.bn-side .bn-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bn-side .btn { padding: 8px 14px; font-size: .85rem; }
.bn-side:not(.bn-light) .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }

/* ---- hero slider ---- */
.hslider { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hs-track { position: relative; height: clamp(440px, 64vh, 600px); }
.hslider.h-tall .hs-track { height: clamp(520px, 80vh, 760px); }
.hslider.h-compact .hs-track { height: clamp(340px, 46vh, 440px); }
.hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s var(--ease), visibility 0s linear .9s; background: var(--bn-bg, var(--navy)); display: flex; align-items: center; }
.hs-slide.on { opacity: 1; visibility: visible; transition: opacity .9s var(--ease); z-index: 1; }
.fx-slide .hs-slide { transform: translateX(6%); transition: opacity .7s, transform .9s var(--ease), visibility 0s linear .9s; }
.fx-slide .hs-slide.on { transform: none; transition: opacity .7s, transform .9s var(--ease); }
.hs-bg, .hs-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fx-fade .hs-slide.on .hs-bg img { animation: hsZoom 9s ease-out both; }
@keyframes hsZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hs-ov { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,22,38,.9) 0%, rgba(10,22,38,.72) 45%, rgba(10,22,38,.25) 100%); }
.hs-slide.no-img .hs-ov { background: radial-gradient(circle at 85% 20%, rgba(201,154,46,.35), transparent 50%), radial-gradient(circle at 10% 90%, rgba(255,255,255,.08), transparent 45%); }
.bn-light.hs-slide .hs-ov { background: linear-gradient(90deg, rgba(255,247,236,.96), rgba(255,247,236,.75) 55%, rgba(255,247,236,.2)); }
.hs-content { position: relative; z-index: 2; width: 100%; }
.hs-content > * { max-width: 700px; }
.al-center .hs-content { text-align: center; }
.al-center .hs-content > * { margin-left: auto; margin-right: auto; }
.al-center .hs-ov { background: rgba(10,22,38,.62); }
.hs-eyebrow { display: inline-block; background: var(--saffron); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .04em; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.bn-saffron .hs-eyebrow, .bn-gradient .hs-eyebrow { background: rgba(0,0,0,.25); }
.hs-title { font-family: 'FlagIN','Noto Serif Tamil', serif; font-size: clamp(1.55rem, 1rem + 1.9vw, 2.55rem); line-height: 1.3; color: #fff; margin: 0 0 14px; text-wrap: balance; }
.bn-light .hs-title { color: var(--navy); }
.hs-sub { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: #D9E3EE; line-height: 1.7; margin: 0 0 18px; }
.bn-light .hs-sub { color: #4a4438; }
.hs-content .bn-cd { margin: 0 0 16px; }
.hs-content .bn-cd b { font-size: 1.15rem; padding: 6px 10px; }
.hs-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.al-center .hs-btns { justify-content: center; }
.hs-slide:not(.bn-light) .hs-btns .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.hs-slide.on .hs-content > * { animation: hsIn .8s var(--ease) both; }
.hs-slide.on .hs-content > *:nth-child(2) { animation-delay: .08s; }
.hs-slide.on .hs-content > *:nth-child(3) { animation-delay: .16s; }
.hs-slide.on .hs-content > *:nth-child(4) { animation-delay: .24s; }
.hs-slide.on .hs-content > *:nth-child(5) { animation-delay: .32s; }
@keyframes hsIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(10,22,38,.35); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; backdrop-filter: blur(4px); transition: .2s; }
.hs-arrow:hover { background: var(--saffron); border-color: var(--saffron); }
.hs-prev { left: 18px; } .hs-next { right: 18px; }
.hs-dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; justify-content: center; gap: 8px; }
.hs-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; padding: 0; transition: .3s; }
.hs-dot.on { width: 30px; background: var(--saffron); }
.hs-tabs { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; margin-top: -1px; }
.hs-tab { background: rgba(10,22,38,.92); color: #C9D6E4; border: 0; border-top: 3px solid transparent; text-align: left; padding: 12px 14px; font: inherit; font-size: .88rem; cursor: pointer; line-height: 1.4; }
.hs-tab small { display: block; color: var(--gold); font-weight: 700; font-size: .72rem; }
.hs-tab.on { border-top-color: var(--saffron); color: #fff; background: #10243B; }
@media (max-width: 760px) {
  .hs-track { height: clamp(460px, 78vh, 560px); }
  .hs-ov { background: linear-gradient(180deg, rgba(10,22,38,.35) 0%, rgba(10,22,38,.88) 55%, rgba(10,22,38,.95) 100%); }
  .hs-slide { align-items: flex-end; padding-bottom: 54px; }
  .hs-arrow { display: none; }
  .hs-tabs { display: none; }
  .hs-btns .btn { flex: 1 1 auto; justify-content: center; }
}

/* ---- quick links ---- */
.qlinks { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.ql-c5 { grid-template-columns: repeat(5, 1fr); } .ql-c6 { grid-template-columns: repeat(6, 1fr); } .ql-c8 { grid-template-columns: repeat(8, 1fr); }
.ql { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 20px 12px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--navy); text-decoration: none; box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.ql:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; text-decoration: none; }
.ql-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 1.7rem; background: var(--qc-soft, #FBEEE6); transition: transform .3s var(--ease); }
.ql:hover .ql-ic { transform: scale(1.08) rotate(-4deg); }
.ql-t { font-weight: 800; font-size: .95rem; line-height: 1.35; }
.ql-c8 .ql-t { font-size: .88rem; } .ql-c8 .ql-t small { font-size: .74rem; }
.ql-t small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; margin-top: 3px; }
.ql-badge { position: absolute; top: 8px; right: 8px; background: var(--saffron); color: #fff; font-style: normal; font-size: .68rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.ql-saffron { --qc-soft: #FDEADF; } .ql-navy { --qc-soft: #E3EAF3; } .ql-green { --qc-soft: #E2F1E7; } .ql-gold { --qc-soft: #F8EFD8; }
.ql-pink { --qc-soft: #FCE4EE; } .ql-blue { --qc-soft: #E1EEFB; } .ql-purple { --qc-soft: #EEE5F9; } .ql-teal { --qc-soft: #DDF2F3; }
.ql-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ql-pills .ql { flex-direction: row; padding: 10px 16px 10px 10px; border-radius: 999px; gap: 10px; }
.ql-pills .ql-ic { width: 38px; height: 38px; font-size: 1.15rem; border-radius: 50%; }
.ql-float { position: relative; z-index: 5; margin-top: -86px; background: #fff; border-radius: 20px; padding: 16px; box-shadow: 0 20px 50px rgba(16,36,59,.16); gap: 6px; }
.ql-float .ql { border: 0; box-shadow: none; padding: 14px 8px; }
.ql-float .ql:hover { background: var(--paper); transform: none; box-shadow: none; }
@media (max-width: 1000px) { .qlinks, .ql-c5, .ql-c6, .ql-c8 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) {
  .qlinks, .ql-c5, .ql-c6, .ql-c8 { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .ql { padding: 14px 6px 12px; border-radius: 14px; }
  .ql-ic { width: 46px; height: 46px; font-size: 1.35rem; border-radius: 13px; }
  .ql-t { font-size: .8rem; } .ql-t small { display: none; }
  .ql-float { margin-top: -40px; padding: 10px; }
}

/* ---- news hub ---- */
.nhub-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.nhub-tabs button, .xtabs-nav button { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: 999px; padding: 8px 18px; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; transition: .2s; }
.nhub-tabs button.on, .xtabs-nav button.on, .nhub-tabs button:hover, .xtabs-nav button:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.nhub-body { display: grid; gap: 26px; }
.nhub.has-trend .nhub-body { grid-template-columns: minmax(0, 1fr) 320px; }
.nhub-pane { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 22px; }
.nhub-pane[hidden] { display: none; }
.nhub-lead { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-1); display: flex; flex-direction: column; }
.nl-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.nl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.nhub-lead:hover .nl-img img { transform: scale(1.04); }
.nl-img .thumb-ph { position: absolute; inset: 0; }
.nl-img .type-badge { position: absolute; left: 14px; top: 14px; background: var(--saffron); color: #fff; font-weight: 800; font-size: .75rem; padding: 4px 12px; border-radius: 999px; }
.nl-body { padding: 18px 20px 20px; }
.nl-body .meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.nl-body .meta .cat { color: var(--saffron-dark); font-weight: 700; }
.nl-body h3 { font-size: 1.2rem; line-height: 1.45; margin: 0 0 8px; }
.nl-body h3 a { color: var(--navy); }
.nl-body p { color: #3a3a37; font-size: .95rem; }
.nhub-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nhub-list a { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px; color: var(--navy); text-decoration: none; transition: .2s; }
.nhub-list a:hover { border-color: var(--saffron); box-shadow: var(--sh-1); }
.nhub-col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.nhub-more { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px dashed var(--saffron); border-radius: 14px; background: linear-gradient(135deg, #FFF7EC, #fff 70%); color: var(--navy); text-decoration: none; transition: .2s; }
.nhub-more:hover { border-style: solid; box-shadow: var(--sh-1); transform: translateY(-1px); }
.nhub-more .nm-ic { font-size: 1.5rem; line-height: 1; flex: none; }
.nhub-more .nm-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nhub-more .nm-t b { font-size: .98rem; }
.nhub-more .nm-t small { color: var(--muted); font-size: .78rem; line-height: 1.4; }
.nhub-more .nm-go { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--saffron); color: #fff; font-weight: 800; transition: .2s; }
.nhub-more:hover .nm-go { transform: translateX(3px); }
.nli-thumb { display: block; width: 96px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.nli-thumb img { width: 100%; height: 100%; object-fit: cover; }
.nli-thumb .thumb-ph { min-height: 0; height: 100%; padding: 0; }
.nli-thumb .thumb-ph b { font-size: 1.5rem; }
.nli-t small { display: block; color: var(--muted); font-size: .75rem; margin-bottom: 2px; }
.nli-t strong { font-size: .92rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nhub-side { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: var(--sh-1); align-self: start; }
.nhub-side h4 { font-size: 1rem; margin: 0 0 12px; color: var(--navy); }
.nh-trend { display: block; list-style: none; padding: 0; margin: 0 0 18px; }
.nh-trend a { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--navy); text-decoration: none; }
.nh-trend li:last-child a { border-bottom: 0; }
.nh-trend b { font-family: 'FlagIN','Noto Serif Tamil', serif; font-size: 1.6rem; color: var(--saffron); line-height: 1; min-width: 26px; }
.nh-trend span { font-weight: 600; font-size: .9rem; line-height: 1.4; }
.nh-trend small { display: block; color: var(--muted); font-weight: 400; font-size: .75rem; margin-top: 2px; }
.tagcloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tagcloud a { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; font-size: .8rem; color: var(--navy); }
@media (max-width: 1000px) { .nhub.has-trend .nhub-body { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .nhub-pane { grid-template-columns: 1fr; } .nhub-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .nhub-tabs button { flex: none; } }

/* ---- category tiles ---- */
.cat-tiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cat-tiles > * { flex: 0 1 calc((100% - 56px) / 5); min-width: 170px; }
@media (max-width: 1100px) { .cat-tiles > * { flex-basis: calc((100% - 42px) / 4); } }
@media (max-width: 860px) { .cat-tiles > * { flex-basis: calc((100% - 28px) / 3); } }
.cat-tile { position: relative; overflow: hidden; border-radius: 16px; padding: 18px 16px; min-height: 120px; color: #fff; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; box-shadow: var(--sh-1); transition: transform .25s var(--ease), box-shadow .25s; }
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--sh-2); text-decoration: none; color: #fff; }
.ct-ic { position: absolute; top: 12px; right: 14px; font-size: 2.2rem; opacity: .95; transition: transform .3s var(--ease); }
.cat-tile:hover .ct-ic { transform: scale(1.15) rotate(-8deg); }
.ct-name { font-weight: 800; font-size: 1rem; line-height: 1.35; }
.ct-n { font-size: .78rem; opacity: .9; }
@media (max-width: 640px) { .cat-tiles { gap: 10px; } .cat-tiles > * { flex-basis: calc((100% - 10px) / 2); min-width: 0; } .cat-tile { min-height: 100px; padding: 14px 12px; } .ct-ic { font-size: 1.8rem; } }

/* ---- countdown ---- */
.cdown { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 30px; align-items: center; background: linear-gradient(120deg, #10243B, #1C3A5A 60%, #7A3413); color: #fff; border-radius: 22px; padding: 34px 38px; box-shadow: var(--sh-2); position: relative; overflow: hidden; }
.cdown.has-bg { background-image: linear-gradient(110deg, rgba(10,22,38,.94), rgba(10,22,38,.7)), var(--cd-bg); background-size: cover; background-position: center; }
.cdown::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(201,154,46,.35), transparent 70%); }
.cd-kicker { color: var(--gold); font-weight: 800; margin: 0 0 4px; }
.cd-title { color: #fff; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.9rem); margin: 0 0 8px; line-height: 1.35; }
.cd-meta { color: #D5E0EC; margin: 0 0 8px; }
.cd-desc { color: #C9D6E4; font-size: .95rem; }
.cd-clock { display: grid; grid-template-columns: repeat(4, minmax(70px, 1fr)); gap: 10px; position: relative; z-index: 1; }
.cd-clock div, .ev-clock div { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 12px 8px; text-align: center; backdrop-filter: blur(4px); }
.cd-clock b, .ev-clock b { display: block; font-family: 'FlagIN','Inter', sans-serif; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); font-weight: 800; color: #fff; line-height: 1.1; }
.cd-clock span, .ev-clock span { font-size: .75rem; color: #C9D6E4; }
@media (max-width: 900px) { .cdown { grid-template-columns: 1fr; padding: 26px 20px; } .cd-clock { grid-template-columns: repeat(4, 1fr); } }

/* ---- district chips ---- */
.dist-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.dchip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 600; color: var(--navy); transition: .2s; }
.dchip:hover { background: var(--navy); color: #fff; border-color: var(--navy); text-decoration: none; }
.dchip b { background: var(--saffron); color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 7px; }
.section-navy .dchip, .section-gradient .dchip { background: rgba(255,255,255,.07); color: #E6EDF5; border-color: rgba(255,255,255,.15); }

/* ---- subscribe ---- */
.subscribe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 34px; align-items: center; }
.sb-band { background: linear-gradient(120deg, #FFF3EA, #FDE3CF); border-radius: 22px; padding: 34px; border: 1px solid #F6D2BA; }
.sb-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; box-shadow: var(--sh-2); }
.subscribe .section-title { text-align: left; }
.sb-form .sjm-form { background: #fff; border-radius: 16px; padding: 18px; box-shadow: var(--sh-1); }
.section-navy .sb-band, .section-gradient .sb-band { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
@media (max-width: 900px) { .subscribe { grid-template-columns: 1fr; } .sb-band, .sb-card { padding: 22px 16px; } }

/* ---- tabs section ---- */
.xtabs-nav { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 22px; }
.xtabs-pane { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; box-shadow: var(--sh-1); }
.xtabs-pane.has-img { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 26px; align-items: center; }
.xtabs-img img { width: 100%; border-radius: 14px; }
@media (max-width: 760px) { .xtabs-nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; } .xtabs-nav button { flex: none; } .xtabs-pane { padding: 18px; } .xtabs-pane.has-img { grid-template-columns: 1fr; } }

/* ---- events microsite ---- */
.ev-hero { position: relative; background: radial-gradient(circle at 80% 10%, rgba(201,154,46,.3), transparent 45%), linear-gradient(120deg, #10243B, #1C3A5A 55%, #7A3413); color: #fff; padding: 64px 0 56px; overflow: hidden; }
.ev-hero.has-bg { background-image: linear-gradient(110deg, rgba(10,22,38,.92), rgba(10,22,38,.62)), var(--ev-bg); background-size: cover; background-position: center; }
.ev-hero .crumb { color: #C9D6E4; }
.ev-hero h1 { color: #fff; font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.2rem); line-height: 1.25; margin: 8px 0 10px; max-width: 900px; }
.ev-tag { font-size: 1.15rem; color: #FFD9C2; margin: 0 0 16px; max-width: 760px; }
.ev-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; margin-bottom: 20px; }
.ev-facts span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); padding: 8px 14px; border-radius: 12px; }
.ev-clock { display: grid; grid-template-columns: repeat(4, 90px); gap: 10px; margin: 0 0 22px; }
.ev-btns .btn-outline { color: #fff; border-color: rgba(255,255,255,.6); }
.ev-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.ev-badges span { background: var(--saffron); color: #fff; font-weight: 700; font-size: .85rem; padding: 5px 12px; border-radius: 999px; }
@media (max-width: 640px) { .ev-hero { padding: 42px 0 38px; } .ev-clock { grid-template-columns: repeat(4, 1fr); } }
.ag-nav button { display: flex; flex-direction: column; align-items: center; border-radius: 14px; padding: 10px 18px; }
.ag-nav button small { font-weight: 500; font-size: .75rem; opacity: .85; }
.ag-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--sh-1); }
.ag-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.ag-list li:last-child { border-bottom: 0; }
.ag-time { font-family: 'FlagIN','Inter', sans-serif; font-weight: 800; color: var(--saffron-dark); }
.ag-body strong { display: block; color: var(--navy); }
.ag-body small { color: var(--muted); }
@media (max-width: 640px) { .ag-list li { grid-template-columns: 1fr; gap: 2px; padding: 12px 14px; } }
.spk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 18px; }
.spk { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 16px; text-align: center; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 4px; align-items: center; }
.spk-img { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; margin-bottom: 8px; background: var(--paper-2); display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 0 0 3px var(--saffron); }
.spk-img img { width: 100%; height: 100%; object-fit: cover; }
.spk-img span { font-size: 2.2rem; font-weight: 800; color: var(--saffron); }
.spk small { color: var(--muted); }
.spk em { font-style: normal; font-size: .85rem; color: var(--saffron-dark); }
.price-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.price-grid.n-2 { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
.price-grid.n-4 { grid-template-columns: repeat(4, 1fr); }
.price { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 10px; }
.price.hot { border: 2px solid var(--saffron); box-shadow: var(--sh-2); transform: translateY(-6px); }
.price-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--saffron); color: #fff; font-weight: 800; font-size: .78rem; padding: 4px 14px; border-radius: 999px; }
.price h3 { margin: 0; color: var(--navy); }
.price-amt { font-family: 'FlagIN','Inter', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--saffron-dark); }
.price-amt small { display: block; font-size: .8rem; font-weight: 500; color: var(--muted); }
.price .list-check { flex: 1; }
.price .btn { align-self: stretch; justify-content: center; }
@media (max-width: 900px) { .price-grid, .price-grid.n-4, .price-grid.n-2 { grid-template-columns: 1fr; } .price.hot { transform: none; } }
.venue { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 26px; align-items: stretch; }
.venue-info { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: var(--sh-1); }
.venue-info h3 { margin-top: 0; }
.venue-dirs { list-style: none; padding: 0; margin: 12px 0 18px; display: grid; gap: 6px; }
.venue-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: 18px; box-shadow: var(--sh-1); }
@media (max-width: 900px) { .venue { grid-template-columns: 1fr; } }

/* ---- forms 2.0 ---- */
.lbl-en { display: block; font-weight: 500; font-size: .78rem; color: var(--muted); margin-top: 1px; }
.form-field .err-msg { display: none; }
.form-field.has-err .err-msg { display: block; }
.form-field[hidden] { display: none !important; }
.other-input { margin-top: 8px; }
.other-input[hidden] { display: none; }
.form-closed { background: #FFF4EC; border: 1px solid #F6D2BA; color: var(--saffron-dark); border-radius: 12px; padding: 16px 18px; font-weight: 700; text-align: center; }
.form-section-head { border-top: 3px solid var(--saffron); padding-top: 14px; margin-top: 4px; }
.form-section-head h4 { margin: 0 0 4px; color: var(--navy); font-size: 1.1rem; }
.form-section-head p { color: var(--muted); margin: 0; font-size: .9rem; }
.form-subtext { font-weight: 400; color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
.fprog { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.fprog-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.fprog-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--gold)); border-radius: 999px; transition: width .4s var(--ease); }
.fprog-t { font-size: .82rem; color: var(--muted); white-space: nowrap; }
.sjm-form fieldset.fpage { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.sjm-form fieldset.fpage > .fg-full, .sjm-form fieldset.fpage > .form-subhead, .sjm-form fieldset.fpage > .form-section-head { grid-column: 1 / -1; }
.sjm-form:not(.js-steps) .fprog { display: none; }
@media (max-width: 640px) { .sjm-form fieldset.fpage { grid-template-columns: 1fr; } }
.scale-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.scale-end { font-size: .8rem; color: var(--muted); }
.scale-opt input { position: absolute; opacity: 0; pointer-events: none; }
.scale-opt span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-weight: 800; cursor: pointer; transition: .15s; }
.scale-opt input:checked + span { background: var(--saffron); color: #fff; border-color: var(--saffron); }
.scale-opt input:focus-visible + span { outline: 3px solid rgba(217,83,30,.35); }
.star-row { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-row input { position: absolute; opacity: 0; pointer-events: none; }
.star-row label { font-size: 2rem; color: #D9D2C3; cursor: pointer; transition: .15s; line-height: 1; }
.star-row label:hover, .star-row label:hover ~ label, .star-row input:checked ~ label { color: #F2A516; }
.star-row input:focus-visible + label { outline: 2px solid var(--saffron); border-radius: 4px; }
.ft-file input[type=file] { padding: 10px; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--paper); width: 100%; }
.theme-navy .btn-primary { background: var(--navy); border-color: var(--navy); }
.theme-green .btn-primary { background: var(--green); border-color: var(--green); }
.theme-purple .btn-primary { background: #5B2A86; border-color: #5B2A86; }
.theme-teal .btn-primary { background: #0F6E78; border-color: #0F6E78; }
.theme-maroon .btn-primary { background: #7A1F2B; border-color: #7A1F2B; }
.fpage-hero { background: linear-gradient(120deg, #9E3610, #C44619 50%, #8C6A1F); color: #fff; padding: 46px 0 70px; }
.fpage-hero.theme-navy { background: linear-gradient(120deg, #10243B, #2E5A86); }
.fpage-hero.theme-green { background: linear-gradient(120deg, #1E4E33, #2C6E49 55%, #227A45); }
.fpage-hero.theme-purple { background: linear-gradient(120deg, #3E1C5E, #5B2A86 55%, #7E4AAE); }
.fpage-hero.theme-teal { background: linear-gradient(120deg, #0B4F56, #0F6E78 55%, #1F7F88); }
.fpage-hero.theme-maroon { background: linear-gradient(120deg, #4A0F18, #7A1F2B 55%, #9A3B3B); }
.fpage-hero.has-cover { background-image: linear-gradient(120deg, rgba(10,22,38,.86), rgba(10,22,38,.55)), var(--cover); background-size: cover; background-position: center; }
.fpage-hero .crumb { color: #fff; }
.fpage-hero .crumb a { color: #fff; }
.fpage-hero h1 { color: #fff; font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.4rem); line-height: 1.35; max-width: 860px; margin: 10px auto 8px; }
.fpage-hero p { color: #fff; max-width: 760px; margin: 0 auto; }
.fpage-hero .container { text-align: center; }
.fpage-body { padding-top: 0; }
.gform-card { background: #fff; border-radius: 20px; box-shadow: 0 20px 60px rgba(16,36,59,.12); padding: 28px 30px; margin-top: -44px; position: relative; border-top: 6px solid var(--saffron); }
.gform-intro { margin-bottom: 18px; }
.gform-foot { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 16px; }
@media (max-width: 640px) { .gform-card { padding: 20px 16px; border-radius: 16px; } }
.thanks-card { background: #fff; border-radius: 22px; box-shadow: 0 20px 60px rgba(16,36,59,.12); padding: 38px 32px; text-align: center; }
.thanks-tick { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; background: linear-gradient(135deg, #1E4E33, #2C6E49); color: #fff; font-size: 2.4rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(44,110,73,.35); animation: tick .6s var(--ease) both; }
@keyframes tick { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.thanks-card h1 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); color: var(--navy); line-height: 1.4; }
.thanks-msg { color: #3a3a37; max-width: 640px; margin: 8px auto 0; }
.thanks-img { max-width: 100%; border-radius: 14px; margin: 18px auto 0; display: block; }
.thanks-h { margin: 26px 0 12px; font-size: 1.2rem; }
.thanks-sum { text-align: left; margin: 22px auto 0; max-width: 640px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 10px 16px; }
.thanks-sum summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.thanks-sum .kv { width: 100%; margin-top: 10px; border-collapse: collapse; font-size: .9rem; }
.thanks-sum .kv th, .thanks-sum .kv td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.thanks-sum .kv th { width: 40%; color: var(--muted); font-weight: 600; }
.thanks-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.thanks-share { margin-top: 16px; }
.cert-canvas-wrap { position: relative; max-width: 960px; margin: 0 auto; }
.cert-canvas { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 16px 40px rgba(16,36,59,.18); background: #fff; display: block; }
.cert-canvas-wrap:not(.ready) .cert-canvas { min-height: 240px; }
.cert-loading { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; color: var(--muted); }
.cert-loading[hidden] { display: none; }
.cert-dl { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
@media print { .cert-canvas { box-shadow: none; } }
/* events list: centre a lone last card */
@media (min-width: 901px) { .events-list > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); } }
/* hero slider v2: slides are stacked in one grid cell, so the slider grows with its tallest slide —
   text never touches the header on short laptop screens, and the floating quick-services bar never covers it */
.hs-track { display: grid; height: auto !important; }
.hs-slide { position: relative; inset: auto; grid-area: 1 / 1; min-height: clamp(460px, 62vh, 600px); padding: 60px 0 64px; box-sizing: border-box; }
.hslider.h-tall .hs-slide { min-height: clamp(540px, 78vh, 760px); }
.hslider.h-compact .hs-slide { min-height: clamp(360px, 46vh, 440px); padding: 44px 0 48px; }
body:has(.ql-float) .hslider .hs-slide { padding-bottom: 150px; }
body:has(.ql-float) .hslider .hs-dots { bottom: 104px; }
@media (max-width: 760px) {
  .hs-slide, .hslider.h-tall .hs-slide, .hslider.h-compact .hs-slide { min-height: clamp(460px, 76vh, 560px); padding: 44px 0 60px; }
  body:has(.ql-float) .hslider .hs-slide { padding-bottom: 96px; }
  body:has(.ql-float) .hslider .hs-dots { bottom: 54px; }
}
/* quick services on phones: 2 columns, icon beside the title (no orphan tiles) */
@media (max-width: 560px) {
  .qlinks, .ql-c5, .ql-c6, .ql-c8 { grid-template-columns: 1fr 1fr; gap: 8px; }
  .ql { flex-direction: row; text-align: left; align-items: center; gap: 10px; padding: 10px; }
  .ql-float .ql { padding: 10px 8px; }
  .ql-ic { width: 40px; height: 40px; font-size: 1.2rem; border-radius: 11px; flex: none; }
  .ql-t, .ql-c8 .ql-t { font-size: .82rem; line-height: 1.3; }
  .ql-badge { position: static; display: table; margin-top: 4px; font-size: .62rem; line-height: 1.5; padding: 0 7px; }
}
/* forms: anything JS hides must stay hidden even when its class sets display */
.sjm-form [hidden], .sjm-form fieldset.fpage[hidden] { display: none !important; }
.choice-row.long { grid-template-columns: 1fr; }
.choice-all { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 8px; font-size: .85rem; font-weight: 700; color: var(--saffron-dark); cursor: pointer; background: none; border: 1px dashed var(--saffron); border-radius: 999px; padding: 4px 12px; }
.choice-all:hover { background: #FFF4EC; }
/* founder portrait placeholder (until the real photo is saved) */
.founder-hero .portrait-ph { height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: linear-gradient(150deg, rgba(255,255,255,.14), rgba(255,255,255,.04)); }
.founder-hero .portrait-ph span { font-family: 'FlagIN','Noto Serif Tamil', serif; font-size: 7rem; line-height: 1; color: #F2C14E; }
.founder-hero .portrait-ph small { color: #fff; opacity: .8; font-size: .78rem; padding: 0 14px; text-align: center; word-break: break-all; }
@media (max-width: 860px) { .founder-hero .portrait-ph { height: 300px; } }
/* built-in round emblem logo (assets/img/brand): show the whole badge, no white disc, no crop */
.logo-wrap.is-emblem { width: 56px; height: 56px; background: transparent; overflow: visible; box-shadow: none; }
.logo-wrap.is-emblem img { inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 3px 6px rgba(14,42,71,.22)); }
.brand:hover .logo-wrap.is-emblem { box-shadow: none; }
.site-footer .logo-wrap.is-emblem { width: 64px; height: 64px; background: transparent; box-shadow: none; }
.site-footer .logo-wrap.is-emblem img { filter: drop-shadow(0 4px 10px rgba(0,0,0,.4)); }
@media (max-width: 900px) { .logo-wrap.is-emblem { width: 48px; height: 48px; } }
@media (max-width: 420px) { .logo-wrap.is-emblem { width: 44px; height: 44px; } }
#sjm-loader .ldr img.is-emblem { width: 104px; height: 104px; background: transparent; padding: 0; box-shadow: none; filter: drop-shadow(0 8px 20px rgba(0,0,0,.4)); }
.site-footer .footer-brand .brand { display: inline-flex; align-items: center; }
.logo-wrap { display: inline-block; }
/* brand word swap: fade one word out completely before the other fades in (no overlapping letters) */
@keyframes bwEn { 0%, 42% { opacity: 1; transform: none; } 47% { opacity: 0; transform: translateY(-10px); } 47.01%, 95% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }
@keyframes bwTa { 0%, 47% { opacity: 0; transform: translateY(10px); } 52%, 90% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; transform: translateY(-10px); } }
/* slider arrows: on laptop widths keep them off the text — grouped bottom-right next to the dots */
@media (min-width: 761px) and (max-width: 1439px) {
  .hs-arrow { top: auto; transform: none; bottom: 12px; width: 40px; height: 40px; font-size: 1.35rem; }
  .hs-prev { left: auto; right: 70px; } .hs-next { right: 22px; }
  body:has(.ql-float) .hslider .hs-arrow { bottom: 96px; }
}
/* ---------- Tamil ⇄ English: status pill + progress line; Google fallback bar fully hidden ---------- */
.tr-toast { position: fixed; left: 16px; bottom: 16px; z-index: 4000; max-width: min(92vw, 460px); background: #10243B; color: #fff; font-size: .85rem; line-height: 1.5; padding: 10px 16px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.tr-toast[hidden] { display: none; }
html.tr-busy::before { content: ""; position: fixed; top: 0; left: 0; height: 3px; width: var(--tr-p, 5%); background: linear-gradient(90deg, #D9531E, #F2C14E); z-index: 5000; transition: width .3s; }
body > .skiptranslate, iframe.skiptranslate, .goog-te-banner-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-yAWNEb-L7lbkb, #goog-gt-tt, .goog-tooltip { display: none !important; visibility: hidden !important; }
html.translated-ltr, html.translated-rtl, body { margin-top: 0 !important; top: 0 !important; }
.VIpgJd-yAWNEb-VIpgJd-fmcmS-sn54Q, .goog-text-highlight { background: none !important; box-shadow: none !important; }
#google_translate_element { position: fixed !important; left: -9999px !important; top: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
/* ---------- header login / account ---------- */
.hdr-account { position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; height: 40px; min-width: 40px; padding: 0 9px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-weight: 700; font-size: .82rem; text-decoration: none; transition: .2s; }
a.hdr-account:hover { border-color: var(--saffron); color: var(--saffron-dark); text-decoration: none; box-shadow: 0 4px 12px rgba(217,83,30,.15); }
a.hdr-account .ha-lbl { display: none; }
@media (min-width: 1680px) { a.hdr-account { padding: 0 14px 0 10px; } a.hdr-account .ha-lbl { display: inline; } }
details.hdr-account { padding: 0; border: 0; background: none; }
details.hdr-account > summary { list-style: none; cursor: pointer; display: block; border-radius: 50%; }
details.hdr-account > summary::-webkit-details-marker { display: none; }
details.hdr-account > summary img, .ha-ini { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; }
.ha-ini { background: var(--navy); color: #fff; font-weight: 800; font-size: 1rem; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--saffron); }
details.hdr-account[open] > summary .ha-ini { background: var(--saffron); }
.ha-menu { position: absolute; right: 0; top: 50px; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(16,36,59,.18); padding: 8px; z-index: 1400; }
.ha-who { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.ha-who b { display: block; color: var(--navy); font-size: .92rem; } .ha-who small { color: var(--muted); font-size: .76rem; }
.ha-menu a, .ha-menu button { display: flex; align-items: baseline; gap: 6px; width: 100%; padding: 9px 10px; border-radius: 9px; color: var(--navy); font: inherit; font-size: .9rem; font-weight: 600; text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.ha-menu a small, .ha-menu button small { color: var(--muted); font-weight: 500; font-size: .74rem; }
.ha-menu a:hover, .ha-menu button:hover { background: var(--paper); text-decoration: none; }
.ha-menu form { margin: 0; }
@media (max-width: 1279px) {
  .hdr-account { order: 2; margin-left: auto; margin-right: 6px; }
  .site-header .container.nav > .header-tools + .hdr-account { margin-left: auto; }
}
@media (max-width: 420px) { .hdr-account { height: 36px; min-width: 36px; padding: 0 7px; } details.hdr-account > summary img, .ha-ini { width: 36px; height: 36px; } }
/* header fits brand + menu + language + login on every desktop width */
.site-header .container.nav { max-width: 1640px; }
@media (min-width: 1280px) and (max-width: 1439px) {
  .site-header .container.nav { gap: 8px; }
  .site-header .logo-wrap.is-emblem { width: 48px; height: 48px; }
  .site-header .brand { padding-right: 4px; gap: 8px; }
  .header-tools .lang-switch button { padding: 6px 7px; }
  .nav-links .cta-link { padding: 8px 10px !important; }
  .hdr-account { margin-left: 6px; height: 38px; min-width: 38px; padding: 0 7px; }
}
@media (min-width: 1280px) and (max-width: 1365px) {
  .nav-links a { font-size: .82rem !important; padding: 8px 5px !important; }
}
.ha-menu a, .ha-menu button { white-space: nowrap; }
/* hero slider on small phones: never wider than the screen (grid items default to min-content width) */
.hs-track { grid-template-columns: minmax(0, 1fr); }
.hs-slide, .hs-content { min-width: 0; }
.hs-content .bn-cd { flex-wrap: wrap; row-gap: 6px; }
.hs-btns .btn { white-space: normal; text-align: center; }
/* small phones: grids must not be pushed wider than the screen by long labels */
@media (max-width: 1000px) { .featured { grid-template-columns: minmax(0, 1fr); } }
.featured > *, .post-grid > *, .nhub-pane > *, .nhub-body > * { min-width: 0; }
.featured .ribbon { max-width: 100%; white-space: normal; }
/* long Tamil words in card headings may break instead of pushing past the edge on small phones */
@media (max-width: 480px) {
  .featured .body { padding: 18px; }
  h1, h2, h3, h4, .hs-title, .featured h2 a, .card h3, .bn-inline h3 { overflow-wrap: anywhere; }
}
/* category tiles: icon sits above the name (never on top of long Tamil names) */
.cat-tile { justify-content: space-between; }
.ct-ic { position: static; align-self: flex-start; font-size: 2rem; line-height: 1; margin-bottom: 10px; }
@media (max-width: 640px) { .ct-ic { font-size: 1.6rem; margin-bottom: 8px; } .ct-name { font-size: .92rem; } }
/* impact numbers: 2 × 2 on phones instead of one long column */
@media (max-width: 640px) {
  .impact .stats, .stats { grid-template-columns: 1fr 1fr !important; }
  .impact .stat, .stat { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.12) !important; padding: 16px 8px !important; }
  .impact .stat:nth-child(odd), .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12) !important; }
  .impact .stat:nth-last-child(-n+2):nth-child(odd), .impact .stat:nth-last-child(-n+2):nth-child(odd) ~ .stat { border-bottom: 0 !important; }
  .stat .n { font-size: 2rem; } .stat .l { font-size: .8rem; }
}
/* article / event / directory detail pages: the text column may shrink to the phone width (long words wrap) */
.article-wrap { grid-template-columns: minmax(0, 1fr) 320px; }
@media (max-width: 1000px) { .article-wrap { grid-template-columns: minmax(0, 1fr); } }
.article-wrap > *, .split > *, .footer-grid > *, .events-list > *, .dir-grid > *, .home-cards > *, .post-grid > *, .form-grid > * { min-width: 0; }
.prose, .article-wrap article, .article-wrap aside { overflow-wrap: break-word; }
.prose img, .prose iframe, .prose video, .prose table { max-width: 100%; }
.prose table { display: block; overflow-x: auto; }
/* very small phones (≤ 360 px): nothing may push past the screen edge */
.mini > *, .nhub-list a > *, .points li, .qlinks > *, .bn-mbar > * { min-width: 0; }
.mini > div, .nli-t, .points li { overflow-wrap: break-word; }
@media (max-width: 560px) { .qlinks, .ql-c5, .ql-c6, .ql-c8 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .ql-t { overflow-wrap: anywhere; } }
@media (max-width: 400px) { .points li { padding: 12px 12px 12px 54px; } .points li::before { left: 10px; } }
@media (max-width: 389px) {   /* v4.19c: was 360px — on 361–389px phones (iPhone mini / SE) the menu button went 15px off the screen */
  .site-header .container.nav { gap: 6px; padding-left: 12px; padding-right: 12px; }
  .site-header .brand { gap: 6px; }
  .site-header .bw { font-size: .78rem; }
  .hdr-account { margin-right: 2px; }
  .nav-toggle { width: 40px; }
  .bn-mbar-t { display: none; }
  .bn-mbar-btns { flex: 1; }
  .bn-mbar-btns .btn { flex: 1; justify-content: center; }
}
@media (max-width: 330px) { .site-header .brand-word { display: none; } }
/* ---------- outline buttons: text always readable (normal + hover) ----------
   Context rules made the text white; the generic hover made the background white → invisible text. */
.btn.btn-outline:hover, .btn.btn-outline:focus-visible { background: #fff !important; color: var(--navy) !important; border-color: #fff !important; }
.bn-light .btn-outline, .bn-pop-body .bn-btns .btn-outline { color: var(--navy); border-color: rgba(16,36,59,.35); }
.btn.btn-outline.btn-dark:hover, .btn.btn-outline.btn-dark:focus-visible,
.bn-light .btn.btn-outline:hover, .bn-light .btn.btn-outline:focus-visible,
.bn-popup.bn-light .btn.btn-outline:hover { background: var(--navy) !important; color: #fff !important; border-color: var(--navy) !important; }
.btn-ghost:hover, .btn-ghost:focus-visible { color: var(--navy) !important; }
/* article sidebar: cards no longer pile on top of each other while scrolling — only the last one stays pinned */
.article-wrap aside .side-card { position: static; margin-bottom: 18px; }
@media (min-width: 1001px) { .article-wrap aside .side-card:last-child { position: sticky; top: 96px; } }

/* ===== v3.8 colour check (2026-10-01): text must never blend into its background ===== */
.cdown .eyebrow, .card-navy .eyebrow, .bn-navy .eyebrow, .bn-green .eyebrow, .bn-saffron .eyebrow, .bn-gradient .eyebrow, .ev-hero .eyebrow { color: var(--gold); }
.cdown .eyebrow::before, .card-navy .eyebrow::before { background: var(--gold); }
.tagpill:hover, .tagpill:focus-visible { color: var(--saffron-dark); background: var(--saffron-soft); text-decoration: none; }
.auth-lang { align-self: flex-end; margin: -10px 0 -6px; }

/* ---------- footer contact: icon badges (v3.14) ---------- */
.fc-list { display: grid; gap: 12px; margin-top: 14px; }
.footer-grid .fc-item { display: flex; align-items: center; gap: 12px; padding: 0; color: #fff; text-decoration: none; }
.fc-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; box-shadow: 0 6px 14px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .2s var(--ease, ease), box-shadow .2s; }
.fc-ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fc-mail .fc-ic { background: linear-gradient(135deg, #E0702F, #A8380E); }
.fc-phone .fc-ic { background: linear-gradient(135deg, #2F8F5B, #1B5E3A); }
.fc-wa .fc-ic { background: linear-gradient(135deg, #1FA855, #0E7A5F); }
.fc-tx { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; font-size: .95rem; overflow-wrap: anywhere; }
.fc-tx small { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); font-family: 'FlagIN','Inter', 'Noto Sans Tamil', sans-serif; margin-bottom: 1px; }
.footer-grid .fc-tx a { display: inline; padding: 0; color: #fff; }
.footer-grid .fc-phone .fc-tx a, .footer-grid .fc-mail .fc-tx a { display: block; }   /* v4.17b: one email per line */
a.fc-item:hover .fc-ic, .fc-phone:hover .fc-ic { transform: translateY(-2px) scale(1.06); box-shadow: 0 10px 20px rgba(0,0,0,.3), inset 0 1px 0 rgba(255,255,255,.3); }
.footer-grid a.fc-item:hover, .footer-grid .fc-tx a:hover { color: #FFC89E; }
/* v3.15: longer Tamil name (சுதேசி விழிப்புணர்வு இயக்கம்) — on desktop widths stack the name in 2 lines so the menu + account icon fit */
@media (min-width: 1280px) {
  .site-header .brand-word .bw b { display: block; }
  .site-header .brand-word { line-height: 1.12; }
}
/* v3.16: name beside the logo is Tamil only (no English / no switching animation) */
.bw-en { display: none !important; }
.bw-ta { animation: none !important; opacity: 1 !important; transform: none !important; }
/* footer: the Tamil name must stay inside its column — 2 lines, may wrap */
.site-footer .footer-brand .brand { max-width: 100%; }
.site-footer .brand-word { min-width: 0; }
.site-footer .brand-word .bw { white-space: normal; line-height: 1.25; }
.site-footer .brand-word .bw b { display: block; }
#sjm-loader .ldr-sub { letter-spacing: .08em; text-transform: none; font-family: 'FlagIN','Noto Sans Tamil', sans-serif; font-size: .8rem; }
/* empty-state buttons (e.g. mentors) + anchor jumps stop below the sticky header */
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
[id^="form-"], .sec-form { scroll-margin-top: 96px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.bn-pop-img img { object-position: center 28%; }   /* keep faces in view when the photo is cropped */
/* CTA band: copy link / share row */
.cta-share { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.cta-sh { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.1); color: #fff; font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.cta-sh:hover, .cta-sh:focus-visible { background: #fff; color: var(--navy); border-color: #fff; text-decoration: none; transform: translateY(-1px); }
.cta-sh .ic { font-size: 1rem; line-height: 1; }
.cta-sh.done { background: #1E7E4A; border-color: #1E7E4A; color: #fff; }
.cta-sh-wa:hover, .cta-sh-wa:focus-visible { background: #128C4B; border-color: #128C4B; color: #fff; }
.cta-sh[hidden] { display: none; }
@media (max-width: 480px) { .cta-sh { font-size: .84rem; padding: 8px 13px; } }

/* v3.29 — login/register: back button at the top */
.auth-top { align-self: stretch; width: 100%; max-width: 520px; margin: 0 auto -6px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.auth-top .auth-lang { margin: 0; align-self: auto; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; transition: background .2s, color .2s; }
.auth-back:hover, .auth-back:focus-visible { background: #fff; color: var(--navy); text-decoration: none; }
/* mobile bottom bar: close button */
.bn-mbar .bn-mx { position: static; transform: none; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255,255,255,.16); color: inherit; font-size: .85rem; cursor: pointer; }
.bn-mbar .bn-mx:hover { background: rgba(255,255,255,.3); }
.bn-mbar.bn-light .bn-mx, .bn-mbar.bn-gold .bn-mx { background: rgba(0,0,0,.1); }
/* popup ✕ — always clearly visible, even over a light photo */
.bn-popup .bn-pop-card .bn-x, .bn-popup:not(.bn-light) .bn-pop-card .bn-x { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(16,36,59,.88); color: #fff; font-size: 1rem; box-shadow: 0 4px 14px rgba(0,0,0,.3); border: 2px solid rgba(255,255,255,.85); }
.bn-popup .bn-pop-card .bn-x:hover { background: var(--saffron); }
/* share icons: same brand colours, a shade deeper so the white icon is readable */
.share-bar .sh-whatsapp { background: #0B7A3B; border-color: #0B7A3B; }
.share-bar .sh-facebook { background: #166FE5; border-color: #166FE5; }
.share-bar .sh-telegram { background: #1A78A8; border-color: #1A78A8; }

/* ===== v3.30 ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* form page: poster first, its button opens the form */
.fposter { display: none; }
.fp-on .fposter { display: block; background: radial-gradient(120% 70% at 50% 0%, #1E4E33 0%, #10243B 70%); padding: 18px 0 26px; }
.fp-on .fpage-hero, .fp-on .fpage-body { display: none; }
.fposter-in { max-width: 680px; margin: 0 auto; padding: 0 12px; }
.fposter-img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 22px 50px rgba(0,0,0,.4); background: #fff; }
.fposter-cta { position: sticky; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; justify-content: center; margin-top: 18px; z-index: 5; }
body.has-mbar .fposter-cta { bottom: 78px; }
.fposter-go { min-width: min(320px, 100%); justify-content: center; font-size: 1.15rem; padding: 15px 30px; border-radius: 999px; box-shadow: 0 10px 28px rgba(196,70,25,.55), 0 0 0 4px rgba(255,255,255,.18); animation: fpPulse 2.2s ease-in-out infinite; }
@keyframes fpPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .fposter-go { animation: none; } }
.fposter-back { display: inline-block; margin-top: 10px; color: #fff; font-weight: 700; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
.fposter-back:hover { color: var(--gold); }

/* popup: several banners as slides */
.bn-pop-card { background: #10243B; }
.bn-pop-track { display: grid; }
.bn-pop-slide { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; background: var(--bn-bg); color: var(--bn-fg); opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.bn-pop-slide.on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.bn-pop-slide:not(.bn-light) .bn-pop-body h3 { color: #fff; }
.bn-pop-slide:not(.bn-light) .bn-pop-body p { color: var(--bn-sub); }
.bn-pop-slide:not(.bn-light) .bn-pop-body .bn-btns .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
.bn-pop-poster { padding: 14px 14px 0; }
.bn-pop-poster img { display: block; width: 100%; height: auto; max-height: min(64vh, 680px); object-fit: contain; border-radius: 10px; }
.bn-pop-isposter .bn-pop-body { padding: 14px 18px 18px; }
.bn-pop-isposter .bn-btns { margin-top: 0; }
.bn-pop-isposter .bn-btns .btn-primary { font-size: 1.05rem; padding: 13px 28px; border-radius: 999px; }
.bn-pop-nav { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 8px 12px 12px; background: #0B1A2C; }
.bn-pop-arw { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.bn-pop-arw:hover, .bn-pop-arw:focus-visible { background: #fff; color: var(--navy); }
.bn-pop-dots { display: flex; gap: 8px; }
.bn-pop-dots button { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: width .3s; }
.bn-pop-dots button.on { width: 28px; background: var(--saffron); }

/* in-page promo: tall poster shown in full beside the text */
.bn-l-poster { grid-template-columns: minmax(0, 400px) 1fr; align-items: center; }
.bn-l-poster .bn-in-img { display: block; padding: 22px; }
.bn-inline.bn-l-poster .bn-in-img img { width: 100%; height: auto; min-height: 0; max-height: 600px; object-fit: contain; border-radius: 12px; box-shadow: 0 16px 36px rgba(0,0,0,.3); transition: transform .3s var(--ease); }
.bn-l-poster .bn-in-img:hover img { transform: scale(1.015); }
.bn-l-poster .bn-in-body { padding: 28px 34px 28px 10px; gap: 6px; }
.bn-l-poster h3 { font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); }
.bn-l-poster .bn-btns .btn-primary { font-size: 1.05rem; padding: 13px 28px; }
@media (max-width: 760px) {
  .bn-l-poster { grid-template-columns: 1fr; }
  .bn-l-poster .bn-in-img { padding: 16px 16px 0; }
  .bn-l-poster .bn-in-body { padding: 18px 20px 22px; }
  .bn-l-poster .bn-in-body > p { display: none; }              /* the poster already says it — keep the phone view short */
  .bn-l-poster .bn-btns { width: 100%; }
  .bn-l-poster .bn-btns .btn { flex: 1 1 100%; justify-content: center; white-space: nowrap; }
}

/* after submit: their answers + PDF / share / copy */
.thanks-sum { padding: 6px 18px 16px; }
.thanks-sum .thanks-h { margin: 14px 0 4px; }
.thanks-ref { margin: 0 0 6px; color: var(--muted); font-size: .9rem; }
.sum-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.sum-tools .btn { min-height: 40px; }
.sum-wa { background: #0B7A3B; color: #fff; border-color: #0B7A3B; }
.sum-wa:hover, .sum-wa:focus-visible { background: #075E2D; color: #fff; }
.sum-msg { font-weight: 700; color: #0B7A3B; font-size: .9rem; }
@media (max-width: 520px) { .sum-tools .btn { flex: 1 1 calc(50% - 8px); justify-content: center; } }
@media print { .thanks-actions, .thanks-share, .thanks-tick { display: none !important; } .thanks-card { box-shadow: none; } }
.thanks-sum .kv { table-layout: fixed; }
.thanks-sum .kv td { overflow-wrap: anywhere; color: var(--ink, #1f1f1c); }
@media (max-width: 560px) {
  .thanks-card { padding: 28px 16px; }
  .thanks-sum { padding: 4px 12px 14px; }
  .thanks-sum .kv, .thanks-sum .kv tbody, .thanks-sum .kv tr, .thanks-sum .kv th, .thanks-sum .kv td { display: block; width: auto; }
  .thanks-sum .kv tr { border-bottom: 1px solid var(--line); padding: 6px 0; }
  .thanks-sum .kv th, .thanks-sum .kv td { border: 0; padding: 2px 2px; }
}

/* v3.34 — quote section "poem" style (light card with heading), e.g. founder tribute */
.poem-band { background: linear-gradient(180deg, var(--paper) 0%, #FFF4E8 100%); padding: 72px 0; position: relative; overflow: hidden; }
.poem-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 0%, rgba(196,70,25,.10), transparent 70%); pointer-events: none; }
.poem-band .container { position: relative; max-width: 860px; }
.poem-band .sec-head { margin-bottom: 26px; }
.poem-card { position: relative; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--saffron); border-radius: 20px; box-shadow: 0 18px 50px rgba(16,36,59,.10); padding: 40px 44px 36px; text-align: center; }
.poem-card .qb-mark { position: absolute; top: 18px; left: 26px; margin: 0; color: var(--saffron); opacity: .25; font-size: 5rem; }
.poem-text { margin: 0; padding: 0; border: 0; font-family: 'FlagIN', 'Noto Serif Tamil', serif; color: var(--navy); font-weight: 600; font-size: clamp(1.02rem, .95rem + .45vw, 1.24rem); line-height: 1.9; }
.poem-text p { margin: 0 0 1.05em; }
.poem-text p:last-child { margin-bottom: 0; }
.poem-text .poem-last { margin-top: 1.4em; padding-top: 1.1em; border-top: 1px dashed rgba(196,70,25,.35); color: var(--saffron); font-weight: 800; font-size: 1.08em; }
.poem-card .qb-who { margin: 22px 0 0; color: var(--muted); }
.poem-card .btn { margin-top: 22px; }
.quote-band .qb-title { color: #fff; margin: 6px 0 18px; }
@media (max-width: 560px) { .poem-band { padding: 52px 0; } .poem-card { padding: 30px 12px 24px; border-radius: 16px; } .poem-card .qb-mark { left: 10px; top: 8px; font-size: 3.6rem; } .poem-text { font-size: .95rem; line-height: 1.8; } }
.poem-band .sec-head, .poem-band .sec-head > *, .poem-band .sec-head h2 { max-width: none; }
.poem-band .sec-head h2 { text-wrap: balance; }
.poem-band .container { max-width: 1080px; }
.poem-card { max-width: 820px; }

/* v3.36 — phones: founder text list and tribute poem read left-aligned */
@media (max-width: 860px) {
  .founder-hero .fh-text .prose { text-align: left; max-width: 560px; margin-left: auto; margin-right: auto; }
  .founder-hero .fh-text .prose ul { padding-left: 1.2em; margin-left: 0; }
  .founder-hero .fh-text .prose li { padding-left: .15em; }
}
@media (max-width: 560px) {
  .poem-card { text-align: left; padding: 34px 18px 24px 20px; }
  .poem-text p { margin-bottom: 1.15em; }
  .poem-text .poem-last { text-align: left; }
}
.poem-text .pl { display: block; }
@media (max-width: 560px) { .poem-text .pl { padding-left: 1.1em; text-indent: -1.1em; } }   /* a wrapped line continues indented */

/* ===== v3.37 — English for Google (title_en / summary_en) + /en overview page ===== */
html.translated-ltr .en-only, html.translated-rtl .en-only { display: none !important; }   /* visitor chose EN (Google Translate): no duplicate English */
.en-sub { font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 600; letter-spacing: .01em; opacity: .85; margin: 6px 0 0; }
.page-hero .en-sub, .article-hero .en-sub, .fpage-hero .en-sub { color: #fff; }
.en-box-wrap { padding: 8px 0 34px; background: transparent; }
.en-box { position: relative; max-width: 880px; margin: 0 auto; background: #F6F8FB; border: 1px solid #DCE3EC; border-left: 4px solid #2E5A86; border-radius: 12px; padding: 16px 20px 14px; font-family: 'Inter', sans-serif; color: #1f2a37; }
aside.en-only .en-box { margin: 26px 0 0; max-width: none; }
.en-box .en-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #2E5A86; margin-bottom: 4px; }
.en-box .en-h { font-family: 'Inter', sans-serif; font-size: 1.02rem; line-height: 1.4; margin: 0 0 4px; color: #10243B; font-weight: 700; }
.en-box .en-p { font-size: .92rem; line-height: 1.6; margin: 0 0 6px; color: #374151; }
.en-box .en-more { font-size: .84rem; font-weight: 600; color: #1F4E7A; }
.en-box .en-more:hover { color: var(--saffron); }
/* /en page */
.page-en .en-hero { background: linear-gradient(120deg, #10243B, #173352 60%, #1B3A5C); }
.en-hero .eyebrow, .en-hero .crumb a { color: #F2C14E; }
.en-hero h1, .en-hero p { font-family: 'Inter', 'Noto Sans Tamil', sans-serif; }
.en-hero .en-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 18px; }
.en-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.en-main, .en-side, .en-card, .en-news, .en-contact, .page-en .faq { font-family: 'Inter', sans-serif; }
.en-main h2 { font-family: 'Inter', sans-serif; font-size: 1.45rem; margin: 0 0 10px; }
.en-main h2 + p { margin-top: 0; }
.en-main ul { padding-left: 1.2em; }
.en-side { padding: 22px; }
.en-side h3 { font-family: 'Inter', sans-serif; margin: 4px 0 8px; }
.en-card { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.en-card:hover { transform: translateY(-3px); box-shadow: var(--sh-2); text-decoration: none; }
.en-card h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; line-height: 1.35; margin: 0; color: var(--navy); }
.en-card p { font-size: .9rem; color: #4b5563; margin: 0; }
.en-card .en-ta { margin-top: auto; padding-top: 6px; font-size: .82rem; font-weight: 700; color: var(--saffron); }
.page-en .section-title, .page-en .eyebrow { font-family: 'Inter', sans-serif; }
.en-news { list-style: none; margin: 0 auto 24px; padding: 0; max-width: 860px; }
.en-news li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
.en-news a { color: var(--navy); }
.en-news small { display: block; color: var(--muted); font-size: .8rem; margin: 2px 0 4px; }
.en-news p { margin: 0; font-size: .9rem; color: #4b5563; }
.en-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.en-chips a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-family: 'Inter', sans-serif; font-size: .88rem; font-weight: 600; color: var(--navy); }
.en-chips a:hover { border-color: var(--saffron); color: var(--saffron); text-decoration: none; }
.en-contact { text-align: center; }
@media (max-width: 860px) { .en-grid { grid-template-columns: 1fr; } }
.page-en .faq summary, .page-en .faq .a { font-family: 'Inter', 'Noto Sans Tamil', sans-serif; }
.verified.gi { color: #8A6516; }   /* GI badge: readable gold on white */

/* v3.39 — image with caption inside an article (e.g. official notice) */
.prose .post-figure { margin: 1.4em auto; max-width: 560px; text-align: center; }
.prose .post-figure img { width: 100%; height: auto; margin: 0; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.prose .post-figure figcaption { font-size: .84rem; color: var(--muted); margin-top: 8px; }

/* ---------- v3.40 photo / document upload (drag & drop · camera · auto-compress) ---------- */
.up-box { position: relative; }
.up-box .up-input { display: block; width: 100%; padding: 10px; border: 1px dashed var(--line); border-radius: var(--r); background: #fff; font-size: .9rem; }
.up-box .up-drop { display: none; }
.up-box.up-js .up-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); }
.up-box.up-js .up-drop { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; cursor: pointer;
  padding: 22px 16px 18px; border: 2px dashed #D8C9AA; border-radius: 16px;
  background: radial-gradient(120% 90% at 50% 0%, #FFF8EF 0%, #fff 62%); transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.up-box.up-js .up-drop:hover { border-color: var(--saffron); box-shadow: 0 8px 24px rgba(196,70,25,.10); }
.up-box.is-drag .up-drop { border-color: var(--saffron); border-style: solid; background: #FFF1E7; transform: scale(1.01); box-shadow: 0 0 0 5px rgba(196,70,25,.12); }
.up-box.is-drag .up-ico { transform: translateY(-4px) scale(1.08); }
.up-ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; background: linear-gradient(135deg, #FBEEE6, #FFF6DB); box-shadow: inset 0 0 0 1px #F1DCC5; transition: transform .2s; }
.up-t { font-weight: 700; color: var(--navy); font-size: .95rem; line-height: 1.45; }
.up-t small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; font-family: 'Inter', sans-serif; }
.up-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 2px; }
.up-btns .btn { min-height: 44px; line-height: 1.3; }
.up-rules .nw { white-space: nowrap; }
.up-rules { font-size: .75rem; line-height: 1.5; color: #5E584D; background: var(--paper-2); border-radius: 10px; padding: 5px 12px; max-width: 520px; }
.up-box.has-file .up-drop { display: none; }
.up-file { display: flex; align-items: center; gap: 14px; padding: 12px; border: 2px solid #BFE0CB; border-radius: 16px; background: linear-gradient(180deg, #F2FAF5, #fff); position: relative; overflow: hidden; }
.up-file[hidden] { display: none; }
.up-thumb { flex: none; width: 92px; height: 70px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: repeating-conic-gradient(#f1ede4 0 25%, #fff 0 50%) 0 0/16px 16px; box-shadow: 0 0 0 1px var(--line); }
.up-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.up-thumb b { color: #fff; background: #B3261E; border-radius: 6px; padding: 4px 9px; font: 800 .8rem 'Inter', sans-serif; letter-spacing: .04em; }
.up-meta { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.up-name { color: var(--green-dark); font-size: .92rem; overflow-wrap: anywhere; }
.up-size { color: #4F4A40; font-size: .78rem; font-family: 'Inter', 'Noto Sans Tamil', sans-serif; }
.up-warn { color: #7A4A00; background: #FFF6DB; border-radius: 6px; padding: 3px 8px; font-size: .76rem; margin-top: 3px; }
.up-warn[hidden] { display: none; }
.up-acts { flex: none; display: flex; align-items: center; gap: 6px; }
.up-remove { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: #9B2C12; font-size: 1rem; font-weight: 700; cursor: pointer; }
.up-remove:hover { background: #FCE8E3; border-color: #E8B4A6; }
.up-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #E7F4EC; overflow: hidden; }
.up-bar[hidden] { display: none; }
.up-bar i { position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(90deg, var(--green), var(--gold)); animation: upbar 1s linear infinite; }
@keyframes upbar { from { left: -40%; } to { left: 100%; } }
.up-box.is-busy .up-file { border-color: #F1DCC5; background: #FFFBF4; }
.up-box.is-busy .up-name { color: var(--navy); }
.up-box.is-busy .up-acts { opacity: .4; pointer-events: none; }
.up-box.is-kept .up-file { border-color: #CFE0F1; background: linear-gradient(180deg, #F2F7FC, #fff); }
.up-box.is-kept .up-name { color: var(--navy-2); }
.form-field.has-err .up-drop { border-color: #C0392B; background: #FFF7F5; }
.form-field.has-err .up-file { border-color: #E8B4A6; }
.ft-file .help { margin-top: 6px; }
@media (max-width: 560px) {
  .up-box.up-js .up-drop { padding: 18px 12px 14px; }
  .up-btns { width: 100%; }
  .up-btns .btn { flex: 1 1 130px; justify-content: center; }
  .up-btns .up-cam-btn { flex-basis: 100%; }
  .up-btns .up-en { display: none; }
  .up-btns .up-gal-btn, .up-btns .up-pick-btn { padding-left: 8px; padding-right: 8px; white-space: nowrap; }
  .up-file { flex-wrap: wrap; gap: 10px; }
  .up-thumb { width: 76px; height: 60px; }
  .up-acts { width: 100%; justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .up-bar i { animation: none; left: 0; width: 100%; } .up-box.is-drag .up-drop { transform: none; } }

/* camera window (desktop / laptop) */
body.cam-open { overflow: hidden; }
.cam-modal { position: fixed; inset: 0; z-index: 6000; background: rgba(10,20,34,.82); display: grid; place-items: center; padding: 16px; }
.cam-modal[hidden] { display: none; }
.cam-card { width: min(720px, 100%); background: #0E1B2C; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.45); color: #fff; }
.cam-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 18px; }
.cam-title { flex: 1; font-size: .95rem; line-height: 1.4; }
.cam-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.05rem; cursor: pointer; }
.cam-x:hover { background: rgba(255,255,255,.22); }
.cam-stage { position: relative; aspect-ratio: 4 / 3; background: #000; display: grid; place-items: center; }
.cam-stage video, .cam-stage .cam-shot { width: 100%; height: 100%; object-fit: contain; display: block; }
.cam-stage video[hidden], .cam-stage .cam-shot[hidden] { display: none; }
.cam-stage video.mirror { transform: scaleX(-1); }
.cam-guide { position: absolute; inset: 14% 12%; border: 3px solid rgba(255,255,255,.9); border-radius: 14px; box-shadow: 0 0 0 9999px rgba(0,0,0,.35); pointer-events: none; }
.cam-guide.g-card { aspect-ratio: 85.6 / 54; inset: auto; width: 76%; }
.cam-guide[hidden] { display: none; }
.cam-guide.g-card::after { content: 'அடையாள அட்டை இங்கே · ID card here'; position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); white-space: nowrap; font-size: .78rem; color: #fff; background: rgba(0,0,0,.55); border-radius: 999px; padding: 3px 10px; }
.cam-msg { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; font-size: .92rem; line-height: 1.6; background: #0E1B2C; }
.cam-msg[hidden] { display: none; }
.cam-msg small { color: #C9D6E4; display: inline-block; margin-top: 8px; }
.cam-msg > div { max-width: 520px; }
.cam-msg b { font-size: 1.05rem; display: inline-block; margin-bottom: 6px; }
.cam-bar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px; min-height: 86px; flex-wrap: wrap; }
.cam-bar [hidden] { display: none !important; }
.cam-btn { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 1.2rem; cursor: pointer; }
.cam-snap { width: 66px; height: 66px; border-radius: 50%; border: 4px solid #fff; background: transparent; padding: 4px; cursor: pointer; }
.cam-snap span { display: block; width: 100%; height: 100%; border-radius: 50%; background: #fff; transition: transform .15s; }
.cam-snap:active span { transform: scale(.88); }
.cam-bar .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cam-bar .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.cam-modal .cam-snap:focus-visible, .cam-modal button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* thanks page — attached photos */
.thanks-files { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 14px; }
.thanks-files figure { margin: 0; width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.thanks-files img { width: 100%; height: 110px; object-fit: cover; display: block; background: var(--paper-2); }
.thanks-files .tf-pdf { display: grid; place-items: center; height: 110px; font-weight: 800; color: #B3261E; background: #FCE8E3; }
.thanks-files figcaption { font-size: .76rem; padding: 6px 8px; color: var(--green-dark); font-weight: 600; line-height: 1.35; }
@media print { .thanks-files img { height: 90px; } }

/* v3.40c — sample picture inside the upload box (e.g. selfie with the entrepreneur) */
.up-sample { margin: 0; width: 100%; max-width: 340px; position: relative; text-align: left; cursor: default; }
.up-sample img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 14px; box-shadow: 0 6px 18px rgba(16,36,59,.14); background: #FFF4DD; }
.up-sample-tag { position: absolute; top: 8px; left: 8px; z-index: 1; background: rgba(16,36,59,.86); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; font-family: 'FlagIN','Inter','Noto Sans Tamil',sans-serif; }
.up-sample figcaption { margin-top: 10px; background: #fff; border: 1px solid #EADFC9; border-radius: 12px; padding: 9px 12px; }
.up-sample figcaption b { display: block; color: var(--navy); font-size: .82rem; margin-bottom: 4px; }
.up-tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }
.up-tips li { font-size: .8rem; line-height: 1.45; color: var(--green-dark); }
.up-tips li.no { color: #9B2C12; }
@media (min-width: 761px) {
  .up-box.up-js.has-sample .up-drop { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); grid-template-areas: "s t" "s b" "s r"; align-content: center; align-items: center; column-gap: 22px; row-gap: 10px; text-align: left; padding: 18px; }
  .up-box.has-file.has-sample .up-drop { display: none; }
  .has-sample .up-sample { grid-area: s; align-self: start; }
  .has-sample .up-t { grid-area: t; align-self: end; }
  .has-sample .up-btns { grid-area: b; justify-content: flex-start; }
  .has-sample .up-rules { grid-area: r; align-self: start; justify-self: start; }
}

/* ---------- v3.46 reader unlock (“முழுவதும் படிக்க”) ---------- */
.gate-rest { display: none; scroll-margin-top: 90px; }
html.gate-open .gate-rest { display: block; }
html.gate-open .gate-card:not(.is-done) { display: none; }
html:not(.gate-open) .gate-free { position: relative; max-height: none; }
html:not(.gate-open) .gate-free::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none; background: linear-gradient(to bottom, rgba(250,247,241,0), var(--paper) 92%); }
.gate-card { position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--saffron); border-radius: var(--r-lg); box-shadow: var(--sh-2); padding: 24px 26px 18px; margin: 6px 0 30px; scroll-margin-top: 90px; }
html.gate-checking .gate-card { opacity: .55; transition: opacity .2s; }
.gate-head { display: flex; gap: 14px; align-items: flex-start; }
.gate-ic { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--saffron-soft); color: var(--saffron-dark); }
.gate-title { font-family: 'FlagIN','Noto Serif Tamil', serif; font-weight: 800; color: var(--navy); font-size: 1.32rem; line-height: 1.35; margin: 2px 0 4px; }
.gate-sub { color: #4A4439; font-size: .95rem; margin: 0; }
.gate-en { color: var(--muted); font-size: .82rem; font-family: 'FlagIN','Inter', sans-serif; }
.gate-form { margin-top: 16px; }
.gate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.gate-grid .gf-full { grid-column: 1 / -1; }
.gate-grid .form-field label { margin-bottom: 5px; }
.gate-grid .form-field .opt { font-weight: 400; color: var(--muted); }
.gate-grid .form-field input, .gate-grid .form-field textarea { padding: 11px 13px; }
.gate-grid .choice { font-size: .9rem; }
.gate-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ph { display: flex; align-items: stretch; }
.ph-cc { display: grid; place-items: center; padding: 0 11px; background: var(--paper); border: 1px solid var(--line); border-right: 0; border-radius: var(--r-sm) 0 0 var(--r-sm); color: var(--navy); font-weight: 700; font-family: 'Inter', sans-serif; font-size: .92rem; }
.ph input { border-radius: 0 var(--r-sm) var(--r-sm) 0 !important; min-width: 0; letter-spacing: .03em; }
.pc { position: relative; }
.pc input[name="place"] { padding-left: 36px !important; }
.pc-ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.15rem; pointer-events: none; }
.pc input.pc-ok { border-color: var(--green) !important; background: #F4FAF6; }
.pc-list { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); max-height: 300px; overflow-y: auto; margin: 0; padding: 4px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 16px 40px rgba(16,36,59,.18); overscroll-behavior: contain; }
.pc-list li { padding: 8px 10px; border-radius: 8px; cursor: pointer; line-height: 1.35; }
.pc-list li + li { margin-top: 1px; }
.pc-list li.on, .pc-list li[role="option"]:hover { background: var(--saffron-soft); }
.pc-list .pc-n { display: block; color: var(--navy); font-weight: 600; font-family: 'FlagIN','Inter','Noto Sans Tamil', sans-serif; font-size: .95rem; }
.pc-list .pc-d { font-weight: 400; color: #5D574C; }
.pc-list small { display: block; color: var(--muted); font-size: .78rem; }
.pc-list mark { background: #FFE2A8; color: inherit; border-radius: 3px; padding: 0 1px; }
.pc-list .pc-free { border-top: 1px dashed var(--line); color: var(--saffron-dark); font-weight: 600; font-size: .88rem; }
.pc-list .pc-none { color: var(--muted); font-size: .85rem; cursor: default; }
.gate-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; }
.gate-btn { font-size: 1.02rem; padding: 13px 26px; }
.gate-btn[disabled] { opacity: .7; cursor: wait; }
.gate-link { background: none; border: 0; padding: 4px 0; color: var(--saffron-dark); font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.gate-fine { margin: 12px 0 0; color: var(--muted); font-size: .8rem; }
.gate-err { margin: 12px 0 0; }
.gb-quick { display: none; }
.gate-form.is-quick .gb-quick { display: inline; }
.gate-form.is-quick .gb-full { display: none; }
.gate-form.is-quick [data-f="name"], .gate-form.is-quick [data-f="place"], .gate-form.is-quick [data-f="email"], .gate-form.is-quick [data-f="notes"],
.gate-form.is-quick [data-f="whatsapp"], .gate-form.is-quick .gf-wa-same, .gate-form.is-quick .gf-optin { display: none !important; }
.gate-form.is-quick [data-f="mobile"] { grid-column: 1 / -1; max-width: 380px; }
.gate-thanks { margin: 0; padding: 4px 2px; color: var(--green-dark); font-weight: 600; }
.gate-card.is-done { border-top-color: var(--green); padding: 16px 22px; }
.gate-sec { padding-top: 10px !important; padding-bottom: 10px !important; }
.gate-sec .gate-card { margin: 0; }
.gate-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 4100; max-width: min(92vw, 460px); background: var(--green-dark); color: #fff; font-weight: 600; font-size: .92rem; padding: 11px 18px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: opacity .5s, transform .5s; }
.gate-toast.out { opacity: 0; transform: translate(-50%, 10px); }
@media (max-width: 640px) {
  .gate-card { padding: 18px 16px 14px; border-radius: 14px; }
  .gate-head { gap: 11px; }
  .gate-ic { width: 42px; height: 42px; }
  .gate-title { font-size: 1.12rem; }
  .gate-grid { grid-template-columns: 1fr; }
  .gate-btn { width: 100%; }
  .gate-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .pc-list { max-height: 46vh; }
}
.staff-bar { position: fixed; left: 14px; bottom: 16px; z-index: 3500; display: flex; gap: 2px; background: var(--navy); border-radius: 999px; padding: 4px; box-shadow: 0 10px 28px rgba(16,36,59,.35); font-family: 'FlagIN','Inter','Noto Sans Tamil', sans-serif; }
.staff-bar a { color: #fff; font-size: .8rem; font-weight: 700; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.staff-bar a:hover { background: rgba(255,255,255,.14); color: #fff; text-decoration: none; }
@media (max-width: 900px) { .staff-bar { bottom: 78px; left: 10px; } .staff-bar a { padding: 6px 10px; font-size: .74rem; } }
html:not(.gate-open) .highlights.gate-free::after { background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 88%); border-radius: 0 0 var(--r-lg) var(--r-lg); height: 90px; }
.highlights.hl-cont { padding-top: 8px; }
.highlights.hl-cont .points { margin-top: 0; }
/* v3.47 reader unlock: small card first (animated lock + one line + button) → form opens on click */
.gate-teaser, .gate-sub.gs-short { display: none; }
.gate-card.gc-closed .gate-form, .gate-card.gc-closed .gs-long { display: none; }
.gate-card.gc-closed .gate-teaser { display: block; }
.gate-card.gc-closed .gs-short { display: block; }
.gate-card.gc-closed { padding: 22px 24px 18px; text-align: left; }
.gate-card:not(.gc-closed) .gate-form { animation: gateIn .38s var(--ease) both; }
.gate-teaser { margin-top: 14px; }
.gate-open-btn { font-size: 1.08rem; padding: 14px 30px; border-radius: 999px; gap: 10px; animation: gatePulse 2.4s ease-out infinite; }
.gate-open-btn .gob-arrow { display: inline-block; animation: gateNudge 1.6s ease-in-out infinite; }
.gate-teaser-note { margin: 12px 0 0; color: var(--muted); font-size: .84rem; }
.gate-teaser-note .gate-link { font-size: .84rem; }
.gate-card.gc-closed .gate-ic { position: relative; animation: gateBob 3s ease-in-out infinite; }
.gate-card.gc-closed .gate-ic::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--saffron); opacity: 0; animation: gateRing 3s ease-out infinite; }
.gate-card.gc-closed .gi-shackle { transform-box: view-box; transform-origin: 16px 11px; animation: gateShackle 3s ease-in-out infinite; }
@keyframes gateIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes gatePulse { 0% { box-shadow: 0 0 0 0 rgba(196,70,25,.45); } 70% { box-shadow: 0 0 0 14px rgba(196,70,25,0); } 100% { box-shadow: 0 0 0 0 rgba(196,70,25,0); } }
@keyframes gateNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
@keyframes gateBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes gateRing { 0%, 35% { opacity: 0; transform: scale(.9); } 50% { opacity: .55; } 80%, 100% { opacity: 0; transform: scale(1.35); } }
@keyframes gateShackle { 0%, 40% { transform: none; } 55%, 80% { transform: translateY(-2.5px) rotate(-22deg); } 92%, 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .gate-open-btn, .gate-open-btn .gob-arrow, .gate-card.gc-closed .gate-ic, .gate-card.gc-closed .gate-ic::after, .gate-card.gc-closed .gi-shackle, .gate-card .gate-form { animation: none !important; }
}
@media (max-width: 640px) {
  .gate-card.gc-closed { padding: 18px 16px 14px; }
  .gate-open-btn { width: 100%; justify-content: center; }
  .gate-teaser-note { text-align: center; }
}
.gate-known { margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; background: #EAF5EE; border: 1px solid #C7E3D1; color: var(--green-dark); font-weight: 600; font-size: .9rem; }
.gate-known-wrap { padding-top: 14px; }
.gate-known-wrap .gate-known { margin-bottom: 0; }

/* ---------- photo credits (Unsplash / Wikimedia Commons) ---------- */
.page-hero { position: relative; }
.hero-credit { position: absolute; right: 12px; bottom: 6px; margin: 0; max-width: calc(100% - 24px); font-size: .68rem; line-height: 1.3; color: rgba(255,255,255,.72); text-align: right; overflow-wrap: anywhere; }
.hero-credit a { color: inherit; text-decoration: underline dotted; }
.hero-credit a:hover { color: #fff; }
.img-credit { margin: -12px 0 18px; font-size: .74rem; line-height: 1.4; color: var(--muted); text-align: right; overflow-wrap: anywhere; }
.img-credit a { color: inherit; text-decoration: underline dotted; }
.img-credit a:hover { color: var(--navy); }

/* ---------- 📚 article series ---------- */
.series-box { margin: 0 0 22px; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 14px; background: #fffdf7; padding: 12px 16px; }
.series-box > summary { cursor: pointer; font-weight: 600; color: var(--navy); list-style: none; }
.series-box > summary::-webkit-details-marker { display: none; }
.series-box > summary::after { content: '▾'; float: right; color: var(--muted); }
.series-box[open] > summary::after { content: '▴'; }
.series-list { margin: 10px 0 2px; padding-left: 22px; display: grid; gap: 6px; }
.series-list li { line-height: 1.5; }
.series-list .is-cur b { color: var(--saffron); }
.series-list .is-soon span { color: var(--muted); }
.series-list .soon { color: #8a5a00; font-weight: 600; white-space: nowrap; }
.series-next { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 8px; }
.series-next > a, .series-next > div { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--navy); }
.series-next > a:hover { border-color: var(--saffron); box-shadow: var(--shadow-sm); }
.series-next small { color: var(--saffron); font-weight: 700; }
.series-next .sn-next { text-align: right; }
.series-next .sn-soon { background: #fffaf0; border-style: dashed; }
.series-next .sn-soon small { color: #8a5a00; }
@media (max-width: 600px) { .series-next { grid-template-columns: 1fr; } .series-next .sn-next { text-align: left; } }
.series-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.sc-link { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .2s, transform .2s; }
a.sc-link:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.sc-img { position: relative; display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), var(--navy-2)); }
.sc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sc-soon .sc-img img { filter: grayscale(.55) brightness(.9); }
.sc-no { position: absolute; left: 12px; top: 12px; background: var(--saffron); color: #fff; font-weight: 700; font-size: .85rem; padding: 4px 12px; border-radius: 30px; }
.sc-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.sc-when { font-size: .82rem; color: var(--muted); font-weight: 600; }
.sc-soon .sc-when { color: #8a5a00; }
.sc-title { color: var(--navy); line-height: 1.45; }
.sc-en { color: var(--muted); }
.sc-ex { font-size: .92rem; color: var(--ink, #333); line-height: 1.6; }
.sc-cta { margin-top: auto; color: var(--saffron); font-weight: 700; font-size: .9rem; }
.sc-soon .sc-cta { color: var(--muted); font-weight: 600; }
/* ---------- in-article FAQ (details) + table of contents ---------- */
.article-body details { border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 0 0 10px; background: #fff; }
.article-body details > summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.article-body details[open] > summary { margin-bottom: 6px; }
.article-body .toc { background: #f7f9fc; border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; margin: 0 0 22px; }
.article-body .toc ol { margin: 6px 0 0; }
.article-body .key-box { background: #fff8e8; border-left: 4px solid var(--gold); border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
.article-body .warn-box { background: #fdecea; border-left: 4px solid #c0392b; border-radius: 10px; padding: 12px 16px; margin: 16px 0; }
.article-body .new-box { background: #eaf6ee; border-left: 4px solid #2e7d32; border-radius: 10px; padding: 12px 16px; margin: 16px 0; }

/* ✨ Spotlight showcase (v3.61) — full-width band: text + numbers + day chips | photo mosaic | moving strip */
.spot { position: relative; overflow: hidden; color: #fff; padding: 76px 0 0; isolation: isolate;
  --spot-a: #4a0f16; --spot-b: #10243B; --spot-acc: #F2B544; --spot-chip: rgba(255,255,255,.1);
  background: radial-gradient(1200px 520px at 85% 10%, rgba(242,181,68,.16), transparent 60%), radial-gradient(900px 600px at 0% 100%, rgba(196,70,25,.35), transparent 60%), linear-gradient(135deg, var(--spot-a), var(--spot-b)); }
.spot-navy { --spot-a: #10243B; --spot-b: #1C3A5A; --spot-acc: #FF9F5A; }
.spot-green { --spot-a: #123a26; --spot-b: #10243B; --spot-acc: #F2B544; }
.spot-glow { position: absolute; inset: -30% -10% auto auto; width: 620px; height: 620px; border-radius: 50%; background: conic-gradient(from 120deg, rgba(242,181,68,.0), rgba(242,181,68,.22), rgba(196,70,25,.0)); filter: blur(30px); z-index: -1; animation: spotSpin 24s linear infinite; }
@keyframes spotSpin { to { transform: rotate(360deg); } }
.spot::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .07; background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 22px 22px; }
.spot-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 46px; align-items: center; }
.spot-chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(46,160,90,.18); border: 1px solid rgba(120,220,160,.45); color: #c9f5d9; padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.spot-eyebrow { display: block; color: var(--spot-acc); letter-spacing: .04em; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.spot-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.18; margin: 0 0 14px; color: #fff; font-weight: 800; }
.spot-title .accent { color: var(--spot-acc); }
.spot-sub { color: rgba(255,255,255,.86); font-size: 1.06rem; line-height: 1.7; margin: 0 0 24px; max-width: 46ch; }
.spot-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 22px; }
.spot-stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 14px 10px 12px; text-align: center; backdrop-filter: blur(4px); }
.spot-stat b { display: block; font-size: 2rem; line-height: 1; font-weight: 900; color: var(--spot-acc); font-family: 'Inter', 'Noto Sans', sans-serif; }
.spot-stat b .suf { font-size: 1.2rem; margin-left: 2px; }
.spot-stat small { display: block; margin-top: 6px; font-size: .82rem; color: rgba(255,255,255,.82); line-height: 1.35; }
.spot-days { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 8px; counter-reset: none; }
.spot-days li { display: inline-flex; align-items: center; gap: 8px; background: var(--spot-chip); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: .9rem; }
.spot-days li b { background: var(--spot-acc); color: #2a1406; border-radius: 999px; padding: 3px 10px; font-size: .78rem; font-weight: 800; white-space: nowrap; }
.spot-btns { margin-top: 4px; }
.spot-btns .btn-navy { background: #fff; color: var(--navy); border-color: #fff; }
.spot-btns .btn-outline, .spot-btns .btn-ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.spot-mosaic { display: grid; gap: 12px; grid-template-columns: 1.35fr 1fr 1fr; grid-template-rows: 190px 190px; }
.spot-mosaic.n1 { grid-template-columns: 1fr; grid-template-rows: 392px; }
.spot-mosaic.n2 { grid-template-columns: 1.4fr 1fr; grid-template-rows: 392px; }
.spot-mosaic.n3 { grid-template-columns: 1.35fr 1fr; }
.spot-mosaic.n4 .spot-tile:nth-child(4) { grid-column: span 2; }
.spot-tile { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: #0b1a2b; box-shadow: 0 18px 40px rgba(0,0,0,.35); transform: translateZ(0); }
.spot-tile.big { grid-row: span 2; }
.spot-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease), filter .4s; cursor: zoom-in; }
.spot-tile:hover img { transform: scale(1.07); filter: saturate(1.1); }
.spot-tile figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; font-size: .8rem; line-height: 1.35; background: linear-gradient(transparent, rgba(0,0,0,.78)); color: #fff; opacity: 0; transform: translateY(6px); transition: .35s var(--ease); }
.spot-tile.big figcaption, .spot-tile:hover figcaption, .spot-tile:focus-within figcaption { opacity: 1; transform: none; }
.spot-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(16,36,59,.62); font-weight: 800; font-size: 1.25rem; color: #fff; letter-spacing: .02em; }
.spot-link { position: absolute; inset: 0; z-index: 2; }
.spot-marquee { margin-top: 56px; border-top: 1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.18); overflow: hidden; white-space: nowrap; }
.spot-track { display: inline-flex; gap: 0; animation: spotMarquee 38s linear infinite; padding: 14px 0; }
.spot-track span { display: inline-flex; align-items: center; font-weight: 700; color: rgba(255,255,255,.9); padding: 0 26px; font-size: .98rem; }
.spot-track span::after { content: "✦"; color: var(--spot-acc); margin-left: 52px; font-size: .8rem; }
@keyframes spotMarquee { to { transform: translateX(-50%); } }
.spot:not(:has(.spot-marquee)) { padding-bottom: 76px; }
@media (prefers-reduced-motion: reduce) { .spot-glow, .spot-track { animation: none; } .spot-tile img { transition: none; } }
@media (max-width: 980px) {
  .spot { padding-top: 56px; }
  .spot-in { grid-template-columns: 1fr; gap: 30px; }
  .spot-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spot-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
  .spot-tile.big { grid-row: auto; grid-column: span 2; }
  .spot-mosaic.n4 .spot-tile:nth-child(4) { grid-column: span 2; }
  .spot-mosaic.n5 .spot-tile:nth-child(5) { grid-column: auto; }
  .spot-tile figcaption { opacity: 1; transform: none; font-size: .74rem; }
  .spot-marquee { margin-top: 40px; }
}
@media (max-width: 480px) {
  .spot-title { font-size: 1.7rem; }
  .spot-stat b { font-size: 1.6rem; }
  .spot-mosaic { grid-template-rows: 200px 120px 120px; gap: 8px; }
  .spot-tile:not(.big) figcaption { display: none; }
}
/* event-report photos in articles (v3.61) */
.prose .post-photo { max-width: 780px; }
.prose .post-photo img { border-radius: 12px; }
.prose .post-figure-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.prose .post-figure-row.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose .post-figure-row img { aspect-ratio: 3 / 2; object-fit: cover; height: 100%; }
.prose .post-figure-row figcaption { grid-column: 1 / -1; }
@media (max-width: 560px) { .prose .post-figure-row.n3 { grid-template-columns: 1fr 1fr; } }
.spot-btns { flex-wrap: wrap; gap: 10px; }
.spot-btns .btn { padding: 12px 20px; font-size: .95rem; }

/* ===== 🎓 Swadeshi quiz — the inviting girl (floating, every page) + home invite band ===== */
.qzf { position: fixed; left: 16px; bottom: 18px; z-index: 960; font-family: 'FlagIN', 'Noto Sans Tamil', 'Inter', sans-serif; }
body.has-mbar .qzf { bottom: 80px; }
.qzf.qzf-up { bottom: 78px; }
.qzf-av { position: relative; display: block; width: 74px; height: 74px; border-radius: 50%; background: radial-gradient(circle at 50% 32%, #FFF6E3, #F4D59E); border: 3px solid #fff; box-shadow: 0 10px 26px rgba(16,36,59,.35), 0 0 0 3px #C99A2E; animation: qzfBob 3.8s ease-in-out infinite; }
.qzf-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.qzf-av:hover, .qzf-av:focus-visible { animation-play-state: paused; transform: scale(1.06); }
.qzf-ring { position: absolute; inset: -9px; border-radius: 50%; border: 3px solid rgba(196,70,25,.6); animation: qzfPulse 2.6s ease-out infinite; pointer-events: none; }
.qzf-tag { position: absolute; right: -10px; top: -6px; background: #C44619; color: #fff; font: 800 .7rem/1 'Inter', sans-serif; padding: 5px 8px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 4px 10px rgba(196,70,25,.4); letter-spacing: .02em; }
.qzf-bubble { position: absolute; left: 0; bottom: 96px; width: min(300px, calc(100vw - 32px)); background: #fff; color: #1B1B1A; border-radius: 18px 18px 18px 6px; padding: 14px 16px 15px; box-shadow: 0 18px 44px rgba(16,36,59,.3); border: 1px solid #EADFC9; transform-origin: 30px 100%; opacity: 0; transform: translateY(10px) scale(.94); transition: opacity .25s, transform .25s; }
.qzf-bubble::after { content: ""; position: absolute; left: 26px; bottom: -9px; width: 18px; height: 18px; background: #fff; border-right: 1px solid #EADFC9; border-bottom: 1px solid #EADFC9; transform: rotate(45deg); }
.qzf-open .qzf-bubble { opacity: 1; transform: none; }
.qzf-hi { display: block; color: #C44619; font-size: 1.02rem; padding-right: 24px; }
.qzf-t { display: block; font-size: .9rem; line-height: 1.55; margin: 4px 0 11px; color: #3A3630; }
.qzf-btn { display: inline-flex; align-items: baseline; gap: 7px; background: linear-gradient(135deg, #D9531E, #B23E12); color: #fff !important; padding: 9px 15px; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; box-shadow: 0 6px 16px rgba(196,70,25,.35); }
.qzf-btn small { opacity: .85; font: 600 .72rem 'Inter', sans-serif; }
.qzf-x { position: absolute; right: 8px; top: 8px; border: 0; background: #F3ECDF; color: #6A6459; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: .78rem; line-height: 26px; text-align: center; padding: 0; }
.qzf-x:hover { background: #E7DECB; color: #10243B; }
@keyframes qzfBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes qzfPulse { 0% { transform: scale(.92); opacity: .9; } 80%, 100% { transform: scale(1.32); opacity: 0; } }
@media (max-width: 640px) { .qzf { left: 12px; bottom: 14px; } .qzf-av { width: 62px; height: 62px; } .qzf-bubble { bottom: 82px; } body.has-mbar .qzf { bottom: 76px; } }
@media (prefers-reduced-motion: reduce) { .qzf-av, .qzf-ring { animation: none; } }
@media print { .qzf { display: none !important; } }

.qzi { position: relative; overflow: hidden; padding: 54px 0; background: radial-gradient(120% 140% at 0% 0%, #FFF4DE 0%, #FBEEE6 45%, #F3ECDF 100%); border-top: 1px solid #EADFC9; border-bottom: 1px solid #EADFC9; }
.qzi::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(201,154,46,.22) 1.6px, transparent 1.8px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.qzi-in { position: relative; display: grid; grid-template-columns: minmax(260px, 480px) 1fr; gap: 36px; align-items: center; }
.qzi-art { position: relative; justify-self: center; width: min(100%, 480px); }
.qzi-art img { position: relative; z-index: 1; width: 100%; height: auto; display: block; filter: drop-shadow(0 18px 26px rgba(16,36,59,.22)); }
.qzi-ring { position: absolute; left: 10%; right: 10%; top: 4%; aspect-ratio: 1.25; border-radius: 50%; background: radial-gradient(circle, #fff 0 52%, rgba(255,255,255,0) 53%), conic-gradient(#E8772E 0 33%, #fff 0 66%, #2C6E49 0); opacity: .9; }
.qzi-q { position: absolute; z-index: 2; right: 2%; top: 6%; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: #10243B; color: #F2C14E; font: 900 2.1rem/1 'Noto Serif Tamil', Georgia, serif; box-shadow: 0 10px 24px rgba(16,36,59,.35); transform: rotate(10deg); animation: qzfBob 3.2s ease-in-out infinite; }
.qzi-eyebrow { display: inline-block; background: #10243B; color: #F2C14E; font-weight: 700; font-size: .82rem; padding: 6px 14px; border-radius: 999px; letter-spacing: .02em; }
.qzi-title { font-family: 'Noto Serif Tamil', serif; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.3; color: #10243B; margin: 14px 0 10px; }
.qzi-title .accent { color: #C44619; }
.qzi-sub { color: #3A3630; font-size: 1.02rem; line-height: 1.75; max-width: 60ch; }
.qzi-grades { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 16px 0 20px; padding: 0; }
.qzi-grades li { background: #fff; border: 1.5px solid var(--g); color: var(--g); font-weight: 700; font-size: .84rem; padding: 5px 12px; border-radius: 999px; }
.qzi-cta { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.qzi-go { font-size: 1.08rem; padding: 15px 28px; border-radius: 999px; box-shadow: 0 10px 26px rgba(196,70,25,.35); }
.qzi-meta { color: #6A6459; font-size: .9rem; font-weight: 600; }
@media (max-width: 760px) { .qzi { padding: 38px 0; } .qzi-in { grid-template-columns: 1fr; gap: 14px; text-align: center; } .qzi-art { width: min(100%, 380px); } .qzi-grades, .qzi-cta { justify-content: center; } .qzi-sub { margin: 0 auto; } }

/* ===== 📍 District hubs (/districts, /districts/{slug}) — v3.74 ===== */
.dh-lead { max-width: 860px; margin: 0 auto 18px; text-align: center; font-size: 1.02rem; line-height: 1.8; color: var(--ink); }
.dh-en { display: block; color: var(--muted); font: 500 .92rem/1.6 'Inter', sans-serif; margin-top: 4px; }
.dh-jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 8px 0 28px; }
.dh-jump a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: .9rem; color: var(--navy); }
.dh-jump a small { background: var(--paper-2); border-radius: 999px; padding: 1px 8px; margin-left: 4px; }
.dh-region { font-size: clamp(1.15rem, 2.4vw, 1.45rem); color: var(--navy); margin: 30px 0 14px; scroll-margin-top: 90px; }
.dh-region small { color: var(--muted); font: 600 .8rem 'Inter', sans-serif; margin-left: 6px; }
.dh-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.dh-card { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 16px 14px; box-shadow: var(--sh-1); color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.dh-card:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: var(--saffron); text-decoration: none; }
.dh-card b { font-size: 1.12rem; color: var(--navy); }
.dh-en-name { font: 600 .78rem 'Inter', sans-serif; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.dh-known { font-size: .86rem; line-height: 1.55; color: var(--ink); margin-top: 4px; }
.dh-nums { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.dh-nums i { font-style: normal; font-size: .76rem; font-weight: 700; background: var(--paper-2); border-radius: 999px; padding: 2px 9px; color: var(--navy); }
.dh-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.dh-answer, .dh-answer.page-summary { display: block; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--saffron); border-radius: var(--r-lg); padding: 20px 22px; box-shadow: var(--sh-1); }
.dh-answer h2, .dh-block h2 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--navy); margin: 0 0 12px; }
.dh-block h2 small, .dh-answer h2 small { display: block; font: 600 .8rem 'Inter', sans-serif; color: var(--muted); margin-top: 3px; }
.dh-answer p { line-height: 1.85; margin: 10px 0 0; }
.dh-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dh-chips li { background: var(--saffron-soft); color: var(--saffron-dark); border-radius: 12px; padding: 6px 12px; font-weight: 700; font-size: .92rem; }
.dh-chips li small { display: block; font: 500 .72rem 'Inter', sans-serif; color: var(--muted); }
.dh-block { margin-top: 30px; }
.dh-gi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.dh-gi li { background: #fff; border: 1px solid #E9D9A8; border-radius: 12px; padding: 10px 14px; }
.dh-gi li b { display: block; color: var(--navy); }
.dh-gi li span { font: 500 .8rem 'Inter', sans-serif; color: var(--muted); }
.dh-note { font-size: .88rem; color: var(--muted); margin-top: 10px; }
.dh-more { margin-top: 14px; }
.dh-empty { background: #fff; border: 1px dashed var(--line); border-radius: var(--r-lg); padding: 18px; color: var(--muted); }
.dh-steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; line-height: 1.7; }
.dh-side { display: grid; gap: 16px; position: sticky; top: 90px; }
.dh-card-side { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; box-shadow: var(--sh-1); display: grid; gap: 8px; }
.dh-card-side h3 { font-size: 1rem; color: var(--navy); margin: 0 0 4px; }
.dh-card-side h3 small { font: 600 .75rem 'Inter', sans-serif; color: var(--muted); }
.dh-taluks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dh-taluks li { background: var(--paper-2); border-radius: 999px; padding: 3px 10px; font-size: .82rem; }
.dh-taluks li small { color: var(--muted); font-family: 'Inter', sans-serif; }
@media (max-width: 980px) { .dh-wrap { grid-template-columns: 1fr; } .dh-side { position: static; } }
@media (max-width: 560px) { .dh-gi { grid-template-columns: 1fr 1fr; gap: 8px; } .dh-gi li { padding: 8px 10px; font-size: .9rem; } .dh-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .dh-card { padding: 12px; } }
@media print { .dh-side, .share-bar { display: none !important; } }

/* 📷 Product photos + ▶ video — form tiles, listing gallery, YouTube player, card badges (v3.79) */
.ft-tiles .tile-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.fg-tile { min-width: 0; display: flex; flex-direction: column; }
.fg-tile .lbl { font-size: .8rem; line-height: 1.35; margin-bottom: 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fg-tile .lbl .lbl-en { display: block; overflow: hidden; text-overflow: ellipsis; }
.fg-tile .err-msg { font-size: .72rem; }
.up-tile.up-js .up-drop { aspect-ratio: 1 / 1; padding: 8px; gap: 4px; justify-content: center; border-radius: 14px; }
.up-tile .up-ico { width: 46px; height: 46px; font-size: 1.35rem; }
.up-tile .up-t { font-size: .85rem; line-height: 1.3; }
.up-tile .up-t small { font-size: .7rem; }
.up-tile .up-file { aspect-ratio: 1 / 1; padding: 0; gap: 0; border-radius: 14px; display: block; }
.up-tile .up-file[hidden] { display: none; }
.up-tile .up-thumb { width: 100%; height: 100%; border-radius: 12px; box-shadow: none; }
.up-tile .up-meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 5px; background: linear-gradient(transparent, rgba(0,0,0,.62)); pointer-events: none; }
.up-tile .up-name, .up-tile .up-warn { display: none; }
.up-tile .up-size { color: #fff; font-size: .66rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.up-tile .up-acts { position: absolute; top: 6px; right: 6px; }
.up-tile .up-change { display: none; }
.up-tile .up-remove { width: 30px; height: 30px; font-size: .8rem; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.up-tile.is-busy .up-thumb { background: #FFFBF4; }
.up-tile.is-busy .up-meta { background: none; }
.up-tile.is-busy .up-size { color: var(--navy); white-space: normal; }
.form-subhead .form-subtext { font-family: 'Inter', 'Noto Sans Tamil', sans-serif; font-weight: 500; font-size: .8rem; color: var(--muted); margin: 4px 0 0; }
@media (max-width: 420px) { .ft-tiles .tile-row { gap: 8px; } .up-tile .up-t small { display: none; } .up-tile .up-ico { width: 40px; height: 40px; font-size: 1.2rem; } }

.lp-gallery { margin-bottom: 18px; }
.lp-main { position: relative; margin: 0; border-radius: var(--r); overflow: hidden; background: var(--paper-2); display: grid; place-items: center; }
.lp-main img { display: block; width: 100%; max-height: 520px; object-fit: contain; background: #fff; }
.lp-count { position: absolute; right: 10px; bottom: 10px; background: rgba(15,32,60,.78); color: #fff; font: 600 .78rem 'Inter', sans-serif; border-radius: 999px; padding: 4px 10px; pointer-events: none; }
.lp-thumbs { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px; }
.lp-th { flex: 0 0 auto; width: 84px; height: 84px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--paper-2); cursor: pointer; opacity: .75; transition: opacity .15s, border-color .15s, transform .15s; }
.lp-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lp-th:hover { opacity: 1; transform: translateY(-1px); }
.lp-th.on { border-color: var(--saffron); opacity: 1; box-shadow: 0 4px 12px rgba(196,70,25,.18); }
.lp-video { margin: 22px 0 8px; }
.lp-video h2 { font-size: 1.15rem; color: var(--navy); margin: 0 0 10px; }
.lp-video h2 small { font: 600 .78rem 'Inter', sans-serif; color: var(--muted); }
.yt-lite { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: linear-gradient(135deg, #1b2a44, #0f1a2e); box-shadow: var(--sh-1); }
.yt-lite button { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.yt-lite img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s, filter .3s; }
.yt-lite button:hover img { transform: scale(1.02); filter: brightness(.9); }
.yt-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 50px; transform: translate(-50%, -50%); border-radius: 14px; background: #E62117; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.yt-play::after { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent #fff; }
.yt-lite button:hover .yt-play { background: #ff0000; }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-out { display: inline-block; margin-top: 6px; font-size: .82rem; }
.dir-card .dc-media { position: absolute; right: 8px; bottom: 8px; display: flex; gap: 6px; }
.dir-card .dc-media i { font-style: normal; font: 600 .72rem 'Inter', 'Noto Sans Tamil', sans-serif; color: #fff; background: rgba(15,32,60,.78); border-radius: 999px; padding: 3px 9px; }
@media (max-width: 560px) { .lp-th { width: 68px; height: 68px; } .lp-main img { max-height: 420px; } }
.form-subhead .lbl-en { font-family: 'Inter', sans-serif; font-weight: 500; }

/* ✨ Corner badge (Admin → Banners → “Corner badge”), bottom-right — animated trophy, rotating lines, speech bubble (v3.80) */
.bnf { position: fixed; right: 16px; bottom: 18px; z-index: 955; font-family: 'FlagIN', 'Noto Sans Tamil', 'Inter', sans-serif; animation: bnfIn .8s cubic-bezier(.2,.9,.3,1.25) 1.4s both; }
body:has(.wa-float) .bnf { bottom: 84px; }
body.has-bnf .to-top { bottom: 96px; }
body.has-bnf:has(.wa-float) .to-top { bottom: 158px; }
.bnf-btn { position: relative; display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 0; border-radius: 999px; cursor: pointer; text-align: left; color: #fff;
  background: linear-gradient(135deg, #0E2748 0%, #17407A 60%, #1E5AA8 100%); box-shadow: 0 14px 32px rgba(10,25,50,.38), 0 0 0 3px rgba(255,255,255,.95), 0 0 0 5px rgba(245,184,46,.55);
  animation: bnfBob 3.8s ease-in-out 2.4s infinite; transition: transform .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.bnf-btn:hover, .bnf-btn:focus-visible { animation-play-state: paused; transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 38px rgba(10,25,50,.42), 0 0 0 3px #fff, 0 0 0 6px rgba(245,184,46,.8); outline: none; }
.bnf-shine { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.bnf-shine::after { content: ""; position: absolute; top: -20%; bottom: -20%; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: bnfShine 7s ease-in-out 3.5s infinite; }
.bnf-ic { position: relative; flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 38%, #FFFDF5, #FFE9B0 70%, #F7CF6A); box-shadow: inset 0 0 0 2px rgba(255,255,255,.8); }
.bnf-ic img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; position: relative; z-index: 2; }
.bnf-cup { width: 40px; height: 40px; position: relative; z-index: 2; animation: bnfCup 3.8s ease-in-out 2.4s infinite; transform-origin: 50% 90%; }
.bnf-rays { position: absolute; inset: 3px; border-radius: 50%; background: repeating-conic-gradient(rgba(245,184,46,.45) 0 10deg, transparent 10deg 30deg); animation: bnfSpin 14s linear infinite; z-index: 1; -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%); mask: radial-gradient(circle, transparent 38%, #000 40%); }
.bnf-ring { position: absolute; inset: -6px; border-radius: 50%; border: 3px solid rgba(255,200,61,.8); animation: bnfPulse 2.6s ease-out infinite; pointer-events: none; }
.bnf-spark { position: absolute; z-index: 3; width: 8px; height: 8px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: bnfTwinkle 2.4s ease-in-out infinite; }
.bnf-spark.s1 { top: 2px; right: 4px; } .bnf-spark.s2 { bottom: 8px; left: 2px; width: 6px; height: 6px; animation-delay: .8s; } .bnf-spark.s3 { top: 14px; left: 4px; width: 5px; height: 5px; animation-delay: 1.6s; background: #FFE38A; }
.bnf-lbl { position: relative; z-index: 1; display: flex; flex-direction: column; min-width: 0; }
.bnf-lbl b { font-weight: 800; font-size: 1rem; line-height: 1.2; color: #FFD45C; letter-spacing: .01em; white-space: nowrap; text-shadow: 0 1px 0 rgba(0,0,0,.25); }
.bnf-tks { display: grid; height: 1.4em; overflow: hidden; margin-top: 2px; }   /* all lines share one cell → the pill is as wide as the longest line (nothing cut off) */
.bnf-tk { grid-area: 1 / 1; white-space: nowrap; font-size: .78rem; line-height: 1.4; color: #E6EEFA; opacity: 0; transform: translateY(100%); transition: opacity .35s, transform .35s; }
.bnf-tk.on { opacity: 1; transform: none; }
.bnf-bubble { position: absolute; right: 0; bottom: calc(100% + 14px); width: min(356px, calc(100vw - 24px)); background: #fff; color: #1B1B1A; border-radius: 16px 16px 6px 16px; padding: 11px 13px 12px; border: 1px solid #EADFC9;
  box-shadow: 0 22px 48px rgba(16,36,59,.3); opacity: 0; transform: translateY(12px) scale(.96); transform-origin: 85% 100%; transition: opacity .25s, transform .25s; }
.bnf-bubble::after { content: ""; position: absolute; right: 34px; bottom: -9px; width: 18px; height: 18px; background: #fff; border-right: 1px solid #EADFC9; border-bottom: 1px solid #EADFC9; transform: rotate(45deg); }
.bnf-open .bnf-bubble { opacity: 1; transform: none; }
.bnf-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; padding-right: 24px; }
.bnf-head > div { min-width: 0; }
.bnf-logo { flex: none; width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.bnf-eb { display: block; color: #B23E12; font: 800 .62rem/1.3 'Inter', 'Noto Sans Tamil', sans-serif; letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bnf-t { display: block; color: #0E2748; font-size: .88rem; line-height: 1.3; }
.bnf-pts { list-style: none; margin: 0 0 8px; padding: 6px 9px; display: grid; gap: 3px; background: #FBF6EC; border-radius: 10px; }
.bnf-pts li { font-size: .79rem; line-height: 1.45; color: #3A3630; }
.bnf-p { font-size: .82rem; line-height: 1.5; color: #3A3630; margin: 0 0 8px; }
.bnf .bn-cd { display: flex; flex-wrap: wrap; align-items: center; gap: 3px; margin: 0 0 8px; color: #0E2748; }
.bnf .bn-cd b { background: #0E2748; color: #fff; border-radius: 6px; padding: 2px 5px; font: 700 .72rem 'Inter', sans-serif; }
.bnf .bn-cd i { font-style: normal; font-size: .64rem; color: #6A6459; margin-right: 3px; }
.bnf-btns { display: flex; gap: 6px; }
.bnf-btns .btn { padding: 7px 12px; font-size: .8rem; border-radius: 999px; white-space: nowrap; min-height: 0; line-height: 1.3; }
.bnf-btns .btn-primary { flex: 1 1 auto; justify-content: center; }
.bnf-btns .btn-outline { color: #0E2748; border-color: #C9D3E2; background: #fff; }
.bnf-x { position: absolute; right: 7px; top: 7px; border: 0; background: #F3ECDF; color: #6A6459; width: 24px; height: 24px; border-radius: 50%; cursor: pointer; font-size: .72rem; line-height: 24px; text-align: center; padding: 0; }
.bnf-x:hover { background: #E7DECB; color: #10243B; }
@keyframes bnfIn { from { opacity: 0; transform: translateX(130%) rotate(8deg); } to { opacity: 1; transform: none; } }
@keyframes bnfBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes bnfShine { 0%, 72% { left: -40%; } 100% { left: 130%; } }
@keyframes bnfSpin { to { transform: rotate(360deg); } }
@keyframes bnfPulse { 0% { transform: scale(.9); opacity: .9; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@keyframes bnfTwinkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
@keyframes bnfCup { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-9deg); } 92% { transform: rotate(8deg); } 95% { transform: rotate(-4deg); } }
@media (max-width: 760px) { body.has-mbar .bnf { bottom: 76px; } body.has-mbar.has-bnf .to-top { bottom: 150px; } }
@media (max-width: 640px) {
  .bnf { right: 12px; bottom: 14px; }
  body.has-bnf .to-top { bottom: 86px; }
  .bnf-btn { padding: 5px 14px 5px 5px; gap: 8px; }
  .bnf-ic { width: 48px; height: 48px; } .bnf-cup { width: 34px; height: 34px; }
  .bnf-lbl b { font-size: .9rem; } .bnf-tk { font-size: .72rem; }
}
@media (max-width: 640px) {
  .bnf-bubble { max-height: calc(100vh - 190px); max-height: calc(100dvh - 190px); overflow-y: auto; overscroll-behavior: contain; }
  .bnf-pts li { font-size: .77rem; }
}
@media (max-width: 360px) { .bnf-lbl b { font-size: .84rem; } .bnf-btns .btn { padding: 7px 10px; font-size: .76rem; } }
@media (prefers-reduced-motion: reduce) { .bnf, .bnf-btn, .bnf-shine::after, .bnf-rays, .bnf-ring, .bnf-spark, .bnf-cup { animation: none !important; } }
@media print { .bnf { display: none !important; } }
.bnf a.bnf-btn, .bnf a.bnf-btn:hover { text-decoration: none; color: #fff; }

/* ===== v3.85 Reader unlock: “சுதேசி” the Swadeshi boy (emblem-colour kurta + emblem badge) + gentle popup ===== */
.rbot { display: block; overflow: visible; }
.rbot * { transform-box: view-box; }
.rbot .rb-all { transform-origin: 60px 140px; animation: rbBob 3s ease-in-out infinite; }
.rbot .rb-shadow { transform-origin: 60px 145px; animation: rbShadow 3s ease-in-out infinite; }
.rbot .rb-eyes { transform-origin: 60px 50px; animation: rbBlink 4.6s infinite; }
.rbot .rb-joy { display: none; }
.rbot .rb-wave { transform-origin: 81px 87px; animation: rbWave 2.8s ease-in-out infinite; }
.rbot .rb-hi { opacity: 0; animation: rbHi 2.8s ease-in-out infinite; }
.rbot .rb-tuft { transform-origin: 62px 15px; animation: rbTuft 3s ease-in-out infinite; }
.rbot .rb-shine { animation: rbShine 4s ease-in-out infinite; }
.rbot .rb-badge { transform-origin: 72px 98px; }
.rbot .rb-book { transform-origin: 38px 87px; transition: transform .5s cubic-bezier(.3,1.5,.5,1); }
.rbot.rb-happy .rb-eyes { display: none; }
.rbot.rb-happy .rb-joy { display: inline; }
.rbot.rb-happy .rb-all { animation: rbJump .6s cubic-bezier(.3,1.6,.5,1) 3, rbBob 3s ease-in-out 1.8s infinite; }
.rbot.rb-happy .rb-book { transform: rotate(140deg); }
.rbot.rb-happy .rb-wave { animation-duration: 1s; }
.rbot.rb-happy .rb-badge { animation: rbPop .5s ease-out 2; }
@keyframes rbBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes rbShadow { 0%, 100% { transform: scaleX(1); opacity: .14; } 50% { transform: scaleX(.84); opacity: .08; } }
@keyframes rbBlink { 0%, 90%, 100% { transform: scaleY(1); } 93% { transform: scaleY(.1); } 96% { transform: scaleY(1); } }
@keyframes rbWave { 0%, 50%, 100% { transform: rotate(0); } 60% { transform: rotate(-18deg); } 70% { transform: rotate(10deg); } 80% { transform: rotate(-14deg); } 90% { transform: rotate(4deg); } }
@keyframes rbHi { 0%, 55%, 100% { opacity: 0; } 62%, 88% { opacity: 1; } }
@keyframes rbTuft { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-12deg); } }
@keyframes rbShine { 0%, 60% { transform: translate(-14px, 14px); } 80%, 100% { transform: translate(14px, -14px); } }
@keyframes rbPop { 50% { transform: scale(1.18); } }
@keyframes rbJump { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-13px); } }

/* the card inside a locked page: mascot instead of the lock icon */
.gate-card.has-bot .gate-head { align-items: center; }
.gate-bot { position: relative; flex: none; display: block; margin: 0 4px -6px -6px; }
.gate-bot .rbot { width: 70px; height: 88px; }
.gate-bubble { position: absolute; left: 56px; top: 0; background: #fff; border: 1.5px solid var(--saffron); color: var(--saffron-dark); font-weight: 800; font-size: .72rem;
  line-height: 1.2; padding: 3px 8px; border-radius: 10px 10px 10px 3px; white-space: nowrap; box-shadow: 0 3px 8px rgba(196,70,25,.15); transform-origin: 0 100%; animation: gateBubble 5s ease-in-out 1s infinite both; }
@keyframes gateBubble { 0%, 8% { opacity: 0; transform: scale(.5); } 14%, 62% { opacity: 1; transform: none; } 70%, 100% { opacity: 0; transform: scale(.8); } }
.gate-card:not(.gc-closed) .gate-bubble { display: none; }
.gate-card.is-done { display: flex; align-items: center; gap: 12px; }
.gate-card.is-done .gate-bot { margin: -6px 0; }
.gate-card.is-done .gate-bot .rbot { width: 54px; height: 68px; }
@media (max-width: 640px) { .gate-bot .rbot { width: 58px; height: 73px; } .gate-bubble { left: 46px; } }

/* gentle popup: centred card on computers (bottom sheet on phones) with a flowing emblem-colour edge and soft waves */
.rdp.gate-card { position: fixed; z-index: 3000; top: 50%; left: 50%; bottom: auto; width: min(440px, calc(100vw - 32px)); margin: 0; padding: 0; border: 0;
  display: flex; flex-direction: column; max-height: calc(100vh - 56px); max-height: calc(100dvh - 56px); overflow: visible; border-radius: 28px; text-align: left; background: #fff;
  box-shadow: 0 30px 80px rgba(16,36,59,.34), 0 4px 14px rgba(16,36,59,.12); opacity: 0; transform: translate(-50%, -44%) scale(.92);
  transition: transform .6s cubic-bezier(.2,.9,.3,1.22), opacity .3s ease, width .3s ease; }
.rdp.gate-card.gc-closed { padding: 0; }
.rdp-scroll { position: relative; z-index: 1; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 28px 20px 18px; border-radius: inherit;
  scrollbar-width: thin; scrollbar-color: #E2C9AE transparent; }
/* the edge: red → saffron → yellow → green → blue, flowing round */
.rdp::before { content: ''; position: absolute; inset: -4px; z-index: 2; border-radius: 32px; padding: 4px; pointer-events: none;
  background: linear-gradient(90deg, #D80000, #F08A2C, #FCD800, #2C8A4B, #0078F0, #8A0E0E, #D80000) 0 0 / 640px 100% repeat-x;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: rdpRing 6s linear infinite; }
/* waves spreading out from the edge */
.rdp::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; animation: rdpWave 3s ease-out infinite; }
/* little sea waves along the top edge */
.rdp-waves { position: absolute; top: 0; left: 0; right: 0; height: 24px; z-index: 2; overflow: hidden; border-radius: 28px 28px 0 0; pointer-events: none; }
.rdp-waves i { position: absolute; inset: 0; background-repeat: repeat-x; background-size: 120px 24px; animation: rdpSea 7s linear infinite; }
.rdp-waves i:first-child { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M0 0H120V9Q105 18 90 9T60 9T30 9T0 9Z' fill='%23F08A2C' fill-opacity='.30'/%3E%3C/svg%3E"); }
.rdp-waves i:last-child { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 24'%3E%3Cpath d='M0 0H120V6Q105 14 90 6T60 6T30 6T0 6Z' fill='%230078F0' fill-opacity='.18'/%3E%3C/svg%3E"); animation-duration: 11s; animation-direction: reverse; }
@keyframes rdpRing { to { background-position: 640px 0; } }
@keyframes rdpWave { 0% { box-shadow: 0 0 0 0 rgba(240,138,44,.45), 0 0 0 0 rgba(0,120,240,.28); } 75% { box-shadow: 0 0 0 18px rgba(240,138,44,0), 0 0 0 34px rgba(0,120,240,0); } 100% { box-shadow: 0 0 0 0 rgba(240,138,44,0), 0 0 0 0 rgba(0,120,240,0); } }
@keyframes rdpSea { to { background-position: 120px 0; } }
.rdp-veil { position: fixed; inset: 0; z-index: 2999; background: rgba(16,36,59,.40); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); opacity: 0; transition: opacity .35s ease; }
.rdp-veil.in { opacity: 1; }
.rdp-scroll::-webkit-scrollbar { width: 6px; }
.rdp-scroll::-webkit-scrollbar-thumb { background: #E2C9AE; border-radius: 6px; }
.rdp.in { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.rdp.out { opacity: 0; transform: translate(-50%, -46%) scale(.94); transition-duration: .35s; }
.rdp.is-form { width: min(480px, calc(100vw - 32px)); }
.rdp-x { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid #EADFCB; background: #fff; color: var(--navy);
  font-size: 1rem; font-weight: 700; line-height: 1; cursor: pointer; z-index: 5; box-shadow: 0 2px 8px rgba(16,36,59,.16); }
.rdp-x:hover, .rdp-x:focus-visible { background: #FBEEE6; border-color: var(--saffron); color: var(--saffron-dark); }
.rdp-head { display: flex; align-items: flex-end; gap: 10px; padding-right: 36px; }
.rdp-bot { flex: none; margin: -4px 0 -4px -4px; }
.rdp-bot .rbot { width: 80px; height: 100px; transition: width .3s, height .3s; }
.rdp.in .rdp-bot { animation: rdpBotIn .7s cubic-bezier(.3,1.6,.5,1) .15s both; }
@keyframes rdpBotIn { from { transform: translateY(18px) scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.rdp-say { position: relative; flex: 1; min-width: 0; background: #FFF4E6; border: 1px solid #F3D9BC; border-radius: 18px; padding: 9px 12px 10px; margin-bottom: 10px; }
.rdp-say::before { content: ''; position: absolute; left: -7px; bottom: 16px; width: 12px; height: 12px; background: #FFF4E6; border-left: 1px solid #F3D9BC; border-bottom: 1px solid #F3D9BC; transform: rotate(45deg); }
.rdp-t { display: block; font-family: 'FlagIN','Noto Serif Tamil', serif; font-weight: 800; color: var(--navy); font-size: 1.06rem; line-height: 1.3; }
.rdp-s { margin: 3px 0 0; color: #4A4439; font-size: .86rem; line-height: 1.5; }
.rdp-s .gate-en { font-size: .76rem; }
.rdp.gc-closed .rdp-teaser { display: grid; }
.rdp-teaser { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 10px; margin-top: 8px; }
.rdp-teaser .gate-open-btn { grid-column: 1 / -1; width: 100%; justify-content: center; padding: 13px 20px; font-size: 1.02rem; border-radius: 999px; }
.rdp-later { grid-column: 2; grid-row: 2; background: none; border: 0; color: var(--muted); font: inherit; font-weight: 700; font-size: .88rem; padding: 6px 4px; cursor: pointer; white-space: nowrap; }
.rdp-later:hover { color: var(--navy); text-decoration: underline; }
.rdp-teaser .gate-teaser-note { grid-column: 1; grid-row: 2; margin: 0; text-align: left; font-size: .8rem; }
.rdp-teaser .gate-teaser-note .gate-link { font-size: .8rem; }
.rdp-short { display: none; margin: 2px 0 0; color: #4A4439; font-size: .84rem; }
.rdp.is-form .rdp-s { display: none; }
.rdp.is-form .rdp-short { display: block; }
.rdp.is-done .rdp-short { display: none; }
.rdp.is-done .rdp-s { display: block; }
.rdp .gate-form { margin-top: 6px; }
.rdp .gate-grid { grid-template-columns: 1fr; gap: 10px; }
.rdp .gate-grid .form-field input, .rdp .gate-grid .form-field textarea { padding: 10px 12px; }
.rdp .gate-actions { flex-direction: column; align-items: stretch; text-align: center; gap: 8px; margin-top: 12px; }
.rdp .gate-btn { width: 100%; }
.rdp .gate-fine { font-size: .76rem; text-align: center; }
.rdp.is-form .rdp-bot .rbot { width: 52px; height: 65px; }
.rdp.is-form .rdp-s .gate-en { display: none; }
.rdp.is-done::before { background-image: linear-gradient(90deg, #2C8A4B, #7BC67E, #FCD800, #2C8A4B); }
.rdp.is-done .rdp-say { background: #EAF5EE; border-color: #C7E3D1; }
.rdp.is-done .rdp-say::before { background: #EAF5EE; border-color: #C7E3D1; }
.rdp.is-done .rdp-x { display: none; }
.rdp .pc-list { max-height: 210px; }
@media (max-width: 640px) {
  .rdp.gate-card, .rdp.is-form { top: auto; left: 0; right: 0; bottom: 0; width: auto; border-radius: 26px 26px 0 0; max-height: 90vh; max-height: 90dvh; padding: 0; transform: translateY(105%); }
  .rdp::before { border-radius: 30px 30px 0 0; inset: -4px -4px 0; }
  .rdp-waves { border-radius: 26px 26px 0 0; }
  .rdp-scroll { padding: 24px 14px calc(14px + env(safe-area-inset-bottom)); }
  .rdp-x { top: 12px; right: 12px; }
  .rdp.in { transform: none; }
  .rdp.out { transform: translateY(105%); }
  .rdp-bot .rbot { width: 66px; height: 82px; }
  .rdp-t { font-size: 1rem; }
  .rdp-s { font-size: .84rem; }
  .rdp-s .gate-en, .rdp-teaser .rq-more { display: none; }
}
@media print { .rdp { display: none !important; } }
html.no-anim .rbot *, html.no-anim .gate-bubble, html.no-anim .rdp-bot, html.no-anim .rdp::before, html.no-anim .rdp::after, html.no-anim .rdp-waves i { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .rbot *, .gate-bubble, .rdp-bot, .rdp::before, .rdp::after, .rdp-waves i { animation: none !important; }
  .rdp.gate-card { transition: opacity .2s; }
}

/* ===== v3.90 live checks on login / join / password forms (assets/js/auth-check.js) ===== */
.form-field.lv-ok input:not([type=checkbox]), .form-field.lv-ok select { border-color: #2C8A4B !important; background-color: #F4FBF6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%232C8A4B'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 42px; }
.form-field.lv-ok select { background-position: right 30px center; }
.form-field.lv-ok input:focus, .form-field.lv-ok select:focus { box-shadow: 0 0 0 3px rgba(44,138,75,.15) !important; }
.form-field.lv-bad input:not([type=checkbox]), .form-field.lv-bad select { border-color: #C0392B !important; background-color: #FFF6F5; }
.form-field.lv-bad input:focus, .form-field.lv-bad select:focus { box-shadow: 0 0 0 3px rgba(192,57,43,.14) !important; }
.form-field.lv-bad .choice.agree { border-color: #C0392B; background: #FFF6F5; }
.form-field.lv-ok .choice.agree { border-color: #2C8A4B; background: #F4FBF6; }
.lv-msg { display: block; color: #B3261E; font-size: .8rem; font-weight: 600; margin-top: 5px; line-height: 1.45; animation: lvIn .2s ease-out; }
.lv-note { display: block; color: #1E6B3D; font-size: .78rem; font-weight: 700; margin-top: 4px; }
@keyframes lvIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 46px !important; }
.form-field.lv-ok .pw-wrap input { padding-right: 76px !important; background-position: right 46px center; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; font-size: 1.05rem; line-height: 1; }
.pw-eye:hover, .pw-eye:focus-visible { background: rgba(16,36,59,.06); }
.pw-meter { height: 5px; border-radius: 4px; background: #EEE6D8; margin-top: 8px; overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: 4px; transition: width .25s ease, background .25s ease; }
.pw-rules { list-style: none; margin: 7px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pw-rules li { font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: #F1ECE2; color: #6B6559; transition: background .2s, color .2s; }
.pw-rules li::before { content: '○ '; }
.pw-rules li.ok { background: #E3F3E9; color: #1E6B3D; }
.pw-rules li.ok::before { content: '✓ '; }
.pw-rules li small { font-weight: 500; opacity: .8; }
.lv-sum { margin-bottom: 14px; }
button.is-busy { opacity: .8; cursor: wait; }

/* ===== Settings → Floating buttons: off on phones / back-to-top off ===== */
@media (max-width: 760px) { .fl-nomob { display: none !important; } }
body.no-totop .to-top { display: none !important; }

/* v4.02 🖥 Desktop hero: competition poster on the right of the top slider; while scrolling it flies into the competition banner below (forms.js). */
.hslider { --hs-h: clamp(440px, 64vh, 600px); }
.hslider.h-tall { --hs-h: clamp(520px, 80vh, 760px); }
.hslider.h-compact { --hs-h: clamp(340px, 46vh, 440px); }
.hs-side { display: none; }
@media (min-width: 1100px) {
  .hs-side { display: block; position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 2; pointer-events: none; container-type: size; }
  body:has(.ql-float) .hs-side { bottom: 30px; }   /* the quick-links card overlaps the slider's bottom edge */
  .hs-poster { pointer-events: auto; position: absolute; right: 24px; top: 50%; width: min(360px, 28vw); width: min(440px, 30vw, calc((100cqh - 76px) * .751)); transform: translateY(calc(-50% - 8px)); display: block; text-decoration: none; animation: hsPosterIn 1s var(--ease) .35s both; }
  .hs-poster::before { content: ''; position: absolute; inset: -18% -22%; background: radial-gradient(closest-side, rgba(244,196,48,.38), rgba(196,70,25,.18) 55%, transparent 75%); z-index: -1; filter: blur(6px); animation: hsGlow 4s ease-in-out infinite; }
  .hs-poster-card { display: block; padding: 6px; background: #fff; border-radius: 16px; box-shadow: 0 22px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.25); transition: transform .35s var(--ease), box-shadow .35s; }
  .hs-poster-card img { display: block; width: 100%; height: auto; border-radius: 11px; }
  .hs-poster:hover .hs-poster-card { transform: translateY(-4px); box-shadow: 0 28px 60px rgba(0,0,0,.55), 0 0 0 3px var(--gold); }
  .hs-poster-go { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); white-space: nowrap; background: var(--saffron); color: #fff; font-weight: 800; font-size: .95rem; padding: 9px 20px; border-radius: 999px; box-shadow: 0 8px 20px rgba(196,70,25,.5); border: 2px solid #fff; transition: background .2s; }
  .hs-poster:hover .hs-poster-go { background: #A8380F; }
  .hs-poster.is-away { visibility: hidden; }
  .bn-l-poster .bn-in-img.is-wait { outline: 2px dashed rgba(255,255,255,.45); outline-offset: -12px; border-radius: 18px; }
  .bn-l-poster .bn-in-img.is-wait img { opacity: 0; }
  .bn-inline.bn-l-poster .bn-in-img img { transition: transform .3s var(--ease), opacity .2s; }
}
@media (min-width: 1100px) and (max-width: 1365px) { .hs-content > * { max-width: min(700px, calc(100% - 30vw - 40px)); } }
@keyframes hsPosterIn { from { opacity: 0; transform: translate(40px, calc(-50% - 8px)) scale(.94); } to { opacity: 1; transform: translateY(calc(-50% - 8px)); } }
@keyframes hsGlow { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
/* 📄 paper flight: the poster bends, turns and catches the light like a sheet of paper while it travels (forms.js sets --k 0→1→0 and --fx) */
.hs-fly { --k: 0; --fx: 100%; position: fixed; left: 0; top: 0; z-index: 900; pointer-events: none; will-change: transform, width, height; border-radius: 6px; overflow: hidden; background: #fff; padding: 5px; transform-origin: 50% 50%; backface-visibility: hidden;
  box-shadow: 0 calc(14px + 30px * var(--k)) calc(30px + 50px * var(--k)) rgba(10,22,38, calc(.3 + .2 * var(--k))); }
.hs-fly img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.hs-fly::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: var(--k);
  background: linear-gradient(100deg, rgba(255,255,255,0) calc(var(--fx) - 30%), rgba(255,255,255,.55) calc(var(--fx) - 6%), rgba(0,0,0,.22) var(--fx), rgba(0,0,0,.06) calc(var(--fx) + 14%), rgba(0,0,0,0) calc(var(--fx) + 34%)); }
.hs-fly::after { content: ''; position: absolute; right: 0; bottom: 0; width: calc(46px * var(--k)); height: calc(46px * var(--k)); pointer-events: none;   /* page corner lifting */
  background: linear-gradient(135deg, #f3ece0 0 48%, rgba(0,0,0,.18) 50%, transparent 52%); border-top-left-radius: 4px; box-shadow: -3px -3px 8px rgba(0,0,0,.12); }
@media (prefers-reduced-motion: reduce) { .hs-poster, .hs-poster::before, .hs-poster-card { animation: none !important; } }

/* v4.03 📱 Indian mobile fields: 🇮🇳 +91 on the left of every mobile box */
.tel-in { position: relative; display: flex; align-items: stretch; }
.tel-in .tel-cc { position: absolute; left: 1px; top: 1px; bottom: 1px; display: flex; align-items: center; gap: 6px; padding: 0 10px 0 12px; border-right: 1px solid var(--line); background: #FBF7EF; border-radius: var(--r-sm) 0 0 var(--r-sm); color: var(--navy); font: 700 .95rem/1 Inter, sans-serif; pointer-events: none; }
.tel-in .flag-in { flex: none; display: block; border-radius: 2px; box-shadow: 0 0 0 .5px rgba(0,0,0,.12); }
.form-field .tel-in input { padding-left: 92px; letter-spacing: .02em; }
.form-field.has-err .tel-in .tel-cc { border-right-color: #E8B4A6; background: #FFF0EC; }
.fpage-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.fpage-links { align-items: center; margin-top: 12px; }
.fpage-links .fposter-back { margin-top: 0; display: inline-flex; align-items: center; gap: 6px; min-height: 38px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 7px 16px; text-decoration: none; line-height: 1.3; transition: background .2s, color .2s, border-color .2s; }
.fpage-links .fposter-back:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

/* 🏫 v4.14 — UI CONNECT: colleges with the most students (home page UI CONNECT box + contest page). Top 3 fixed, the rest change every 3 s. */
.uic-cols { grid-column: 1 / -1; margin: 0 22px 22px; padding: 14px 16px 16px; border-radius: 16px; background: rgba(255,255,255,.97); color: #10243B; box-shadow: 0 10px 26px rgba(0,0,0,.16); text-align: left; }
.uic-cols-apply { margin: 18px 0 2px; }
.uic-cols-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0 0 10px; }
.uic-cols-h b { font-size: 1.02rem; font-weight: 800; color: #10243B; }
.uic-cols-h small { color: #5b6573; font-size: .8rem; }
.uic-cols-top { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.uct { position: relative; overflow: hidden; display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; min-width: 0;
  background: linear-gradient(160deg, #fffdf5, #fff3cf); border: 2px solid #E2AE2B; box-shadow: 0 0 0 3px rgba(244,196,48,.18), 0 6px 14px rgba(196,140,0,.16); }
.uct-2 { background: linear-gradient(160deg, #fcfdfe, #e9eef4); border-color: #A9B6C4; box-shadow: 0 0 0 3px rgba(150,166,184,.18), 0 6px 14px rgba(60,80,100,.12); }
.uct-3 { background: linear-gradient(160deg, #fffaf4, #f8e3cf); border-color: #C98648; box-shadow: 0 0 0 3px rgba(201,134,72,.16), 0 6px 14px rgba(140,80,30,.12); }
.uct::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-18deg); animation: uctShine 5s ease-in-out infinite; pointer-events: none; }
.uct-2::after { animation-delay: 1.4s; } .uct-3::after { animation-delay: 2.8s; }
@keyframes uctShine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.uct-m { flex: none; font-size: 1.75rem; line-height: 1; filter: drop-shadow(0 2px 2px rgba(0,0,0,.15)); }
.uct-t { min-width: 0; display: grid; gap: 1px; }
.uct-t b { font-size: .95rem; line-height: 1.3; color: #10243B; overflow-wrap: anywhere; }
.uct-t small { color: #5b6573; font-size: .78rem; }
.uic-cols-run { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #e3dccb; }
.ucr-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--ucr-n, 3), minmax(0, 1fr)); gap: 10px; min-height: 50px; }
.ucr { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #f5f7fa; border: 1px solid #e1e6ee; min-width: 0; }
.ucr::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #C44619; opacity: .75; }   /* no rank numbers after the top 3 */
.ucr[hidden] { display: none; }
.ucr.in { animation: ucrIn .55s ease both; }
@keyframes ucrIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ucr-n { flex: none; min-width: 26px; height: 26px; padding: 0 4px; border-radius: 13px; background: #10243B; color: #fff; font-size: .74rem; font-weight: 800; display: grid; place-items: center; }
.ucr-t { min-width: 0; display: grid; }
.ucr-t b { font-size: .88rem; line-height: 1.3; color: #10243B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ucr-t small { font-size: .74rem; color: #5b6573; }
@media (max-width: 700px) {
  .ucr-list { gap: 8px; min-height: 0; }
  .ucr { padding: 7px 9px; gap: 6px; align-items: flex-start; }
  .ucr::before { margin-top: 6px; width: 6px; height: 6px; }
  .ucr-t b { font-size: .8rem; line-height: 1.3; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }   /* phone: 2 × 2 colleges, names on up to 2 lines */
  .uic-cols { margin: 0 14px 16px; padding: 12px; }
  .uic-cols-apply { margin: 14px 0 0; }
  .uic-cols-top { grid-template-columns: 1fr; gap: 8px; }
  .uct { padding: 9px 11px; }
  .uct-m { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) { .ucr.in, .uct::after { animation: none; } }

/* ---------- 🧭 v4.17b — “மாணவர் வழிகாட்டல்” button (home UI CONNECT box + contest page) → /uic/guidance · theme colours, a soft gold highlight ---------- */
.ugd-btn { position: relative; isolation: isolate; overflow: visible; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 9px 16px 9px 9px; border-radius: 12px; font-weight: 800; line-height: 1.25; color: #fff !important; text-decoration: none !important;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.06)); border: 1.5px solid rgba(242,193,78,.85); box-shadow: 0 0 0 0 rgba(242,193,78,.35); animation: ugdGlow 2.8s ease-in-out infinite; transition: transform .2s, background .2s, border-color .2s; }
.ugd-btn > * { position: relative; z-index: 1; }
.ugd-btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,236,170,.32) 50%, transparent 65%); background-size: 260% 100%; animation: ugdShine 3.6s ease-in-out infinite; }
.ugd-btn::after { content: ""; position: absolute; inset: -2px; border-radius: 14px; border: 1.5px solid rgba(242,193,78,.6); z-index: -1; pointer-events: none; animation: ugdRipple 2.8s ease-out infinite; }
.ugd-btn:hover, .ugd-btn:focus-visible { transform: translateY(-2px); background: linear-gradient(180deg, rgba(255,255,255,.26), rgba(255,255,255,.1)); border-color: #F2C14E; }
.ugd-btn-i { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #F2C14E; color: #1f3d2b; font-size: .95rem; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); animation: ugdCompass 3.6s ease-in-out infinite; }
.ugd-new { font-size: .58rem; letter-spacing: .08em; font-weight: 900; background: #F2C14E; color: #1f3d2b; padding: 2px 6px; border-radius: 6px; animation: ugdNew 2s ease-in-out infinite; }
.ugd-btn-row { display: flex; justify-content: center; margin: 14px 0 2px; }
.ugd-btn-lg { font-size: .98rem; padding: 10px 18px 10px 10px; }
@keyframes ugdShine { 0% { background-position: 120% 0; } 55%, 100% { background-position: -40% 0; } }
@keyframes ugdGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(242,193,78,.3); } 50% { box-shadow: 0 0 14px 1px rgba(242,193,78,.38); } }
@keyframes ugdRipple { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.1, 1.35); opacity: 0; } }
@keyframes ugdCompass { 0%, 70%, 100% { transform: rotate(0); } 78% { transform: rotate(-22deg); } 86% { transform: rotate(16deg); } 94% { transform: rotate(-6deg); } }
@keyframes ugdNew { 0%, 100% { opacity: 1; } 50% { opacity: .65; } }
@media (max-width: 640px) { .ugd-btn-lg { font-size: .92rem; max-width: 100%; white-space: normal; text-align: left; } }
@media (prefers-reduced-motion: reduce) { .ugd-btn, .ugd-btn::before, .ugd-btn::after, .ugd-btn-i, .ugd-new { animation: none !important; } }
html.no-anim .ugd-btn, html.no-anim .ugd-btn::before, html.no-anim .ugd-btn::after, html.no-anim .ugd-btn-i, html.no-anim .ugd-new { animation: none !important; }

/* ---------- ✍️ v4.17 — article kit (.ax-*) for richer posts: stat cards, callouts, comparison, path cards, steps, CTA ---------- */
.prose .ax-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.prose .ax-chips span { background: #10243B; color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.prose .ax-lead { font-size: 1.08rem; line-height: 1.8; border-left: 4px solid #C44619; background: #FFF6EE; padding: 14px 16px; border-radius: 0 14px 14px 0; margin: 0 0 18px; }
.prose .ax-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 22px; }
.prose .ax-stat { background: #fff; border: 1px solid #EADFC9; border-radius: 16px; padding: 14px; box-shadow: 0 6px 16px rgba(16,36,59,.06); position: relative; overflow: hidden; }
.prose .ax-stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, #F2C14E, #C44619); }
.prose .ax-stat b { display: block; font-size: 1.55rem; line-height: 1.15; color: #C44619; }
.prose .ax-stat span { display: block; font-weight: 700; color: #10243B; font-size: .92rem; margin-top: 4px; line-height: 1.4; }
.prose .ax-stat small { display: block; color: #6b7280; font-size: .74rem; margin-top: 6px; }
.prose .ax-callout { border-radius: 16px; padding: 14px 16px 14px 52px; margin: 18px 0; position: relative; line-height: 1.7; background: #EEF4FB; border: 1px solid #C9DAEE; }
.prose .ax-callout::before { content: "💡"; position: absolute; left: 14px; top: 12px; font-size: 1.4rem; }
.prose .ax-callout.warn { background: #FFF6E5; border-color: #F2D49A; } .prose .ax-callout.warn::before { content: "⚠️"; }
.prose .ax-callout.ok { background: #EAF7EE; border-color: #A9D9B8; } .prose .ax-callout.ok::before { content: "✅"; }
.prose .ax-callout.goal { background: #FDEEEF; border-color: #F1B9C0; } .prose .ax-callout.goal::before { content: "🎯"; }
.prose .ax-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 22px; }
.prose .ax-vs > div { border-radius: 16px; padding: 14px 16px; }
.prose .ax-vs ul { margin: 6px 0 0; padding-left: 18px; }
.prose .ax-vs li { margin: 4px 0; }
.prose .ax-vs-bad { background: #FDF0F0; border: 2px solid #F2B8B8; }
.prose .ax-vs-good { background: #EEF8F1; border: 2px solid #9FD6B2; }
.prose .ax-vs-bad > strong:first-child { color: #B42318; } .prose .ax-vs-good > strong:first-child { color: #1B6B3A; }
.prose .ax-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0 22px; }
.prose .ax-card { background: #fff; border: 1px solid #EADFC9; border-radius: 16px; padding: 14px 16px; box-shadow: 0 6px 16px rgba(16,36,59,.05); line-height: 1.65; }
.prose .ax-card h4 { margin: 0 0 6px; color: #10243B; font-size: 1.02rem; }
.prose .ax-card p { margin: 0; font-size: .95rem; }
.prose .ax-card .ax-when { display: inline-block; font-size: .72rem; font-weight: 800; color: #fff; background: #C44619; border-radius: 6px; padding: 2px 7px; margin-bottom: 6px; }
.prose .ax-path { border-radius: 20px; margin: 22px 0; overflow: hidden; border: 2px solid var(--ax, #C44619); background: #fff; box-shadow: 0 10px 26px rgba(16,36,59,.08); }
.prose .ax-path.p-a { --ax: #1E5BB8; --axs: #EAF1FC; } .prose .ax-path.p-b { --ax: #7B3FB0; --axs: #F3ECFA; } .prose .ax-path.p-c { --ax: #00897B; --axs: #E5F5F3; } .prose .ax-path.p-d { --ax: #C44619; --axs: #FDEFE7; }
.prose .ax-path-h { background: linear-gradient(135deg, var(--ax), #10243B); color: #fff; padding: 14px 18px; }
.prose .ax-path-h h3 { color: #fff; margin: 0; font-size: 1.15rem; line-height: 1.35; }
.prose .ax-path-h span { display: inline-block; font-size: .74rem; font-weight: 800; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.35); padding: 2px 9px; border-radius: 999px; margin-bottom: 6px; }
.prose .ax-path-b { padding: 14px 18px 16px; }
.prose .ax-row { display: grid; grid-template-columns: 150px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #E5DCCB; line-height: 1.65; }
.prose .ax-row:last-of-type { border-bottom: 0; }
.prose .ax-row > span:first-child { font-weight: 800; color: var(--ax); font-size: .9rem; }
.prose .ax-tools { list-style: none; padding: 0; margin: 8px 0 4px; display: flex; flex-wrap: wrap; gap: 6px; }
.prose .ax-tools li { margin: 0; background: var(--axs); color: var(--ax); font-weight: 700; font-size: .8rem; padding: 3px 10px; border-radius: 999px; border: 1px solid currentColor; }
.prose blockquote.ax-resume { margin: 10px 0 0; border-left: 4px solid var(--ax, #C44619); background: var(--axs, #FFF6EE); padding: 10px 14px; border-radius: 0 12px 12px 0; font-style: normal; font-size: .95rem; }
.prose ol.ax-steps { counter-reset: axs; list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 10px; }
.prose ol.ax-steps > li { counter-increment: axs; position: relative; padding: 12px 14px 12px 56px; background: #fff; border: 1px solid #EADFC9; border-radius: 14px; margin: 0; line-height: 1.65; }
.prose ol.ax-steps > li::before { content: counter(axs); position: absolute; left: 12px; top: 12px; width: 32px; height: 32px; border-radius: 10px; background: linear-gradient(135deg, #F2C14E, #C44619); color: #fff; font-weight: 900; display: grid; place-items: center; }
.prose .ax-cta { margin: 26px 0; padding: 20px; border-radius: 20px; text-align: center; color: #fff; background: radial-gradient(500px 160px at 50% 0%, rgba(242,193,78,.35), transparent 70%), linear-gradient(135deg, #10243B, #1C3A5A); }
.prose .ax-cta p { margin: 0 0 12px; color: #EAF0F7; }
.prose .ax-cta strong { color: #F2C14E; }
.prose a.ax-btn { display: inline-block; margin: 4px; padding: 11px 18px; border-radius: 12px; font-weight: 800; background: #F2C14E; color: #10243B !important; text-decoration: none !important; box-shadow: 0 8px 18px rgba(242,193,78,.35); }
.prose a.ax-btn.alt { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,.6); box-shadow: none; }
@media (max-width: 760px) {
  .prose .ax-stats { grid-template-columns: 1fr 1fr; }
  .prose .ax-vs, .prose .ax-cards { grid-template-columns: 1fr; }
  .prose .ax-row { grid-template-columns: 1fr; gap: 2px; }
}

/* ===== v4.20b · 💻 UI CONNECT: one short line “Laptop பரிசுகள் — தமிழ்நாடு ஆளுநர் கரங்களால்” — same look as its box, a soft shine only ===== */
.uic-gov { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 14px; padding: 6px 14px 6px 8px; border-radius: 999px;
  font-size: .9rem; line-height: 1.4; font-weight: 500; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.26); }
.uic-gov b { font-weight: 700; color: inherit; }
.uic-gov-ic { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .85rem; background: rgba(255,255,255,.16); }
.uic-gov::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.22) 50%, transparent 60%); background-size: 260% 100%; animation: uicGovShine 6s ease-in-out infinite; }
.uic-gov-home { max-width: 100%; }
.uic-gov > span:last-child { min-width: 0; }
.uic-gov-apply { display: flex; width: fit-content; max-width: 100%; margin: 14px auto 0; text-align: left; }
.uic-gov-guidance { display: flex; width: fit-content; max-width: 100%; margin: 4px auto 8px; text-align: left; color: var(--m, #8B1530); background: #FFF6F3; border-color: rgba(139,21,48,.16); }
.uic-gov-guidance .uic-gov-ic { background: #FDE7E1; }
.uic-gov-guidance::after { background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.8) 50%, transparent 60%); background-size: 260% 100%; }
@keyframes uicGovShine { 0%, 55% { background-position: 130% 0; } 85%, 100% { background-position: -130% 0; } }
@media (max-width: 640px) { .uic-gov { font-size: .82rem; padding: 5px 12px 5px 6px; } .uic-gov-ic { width: 24px; height: 24px; } }
@media (prefers-reduced-motion: reduce) { .uic-gov::after { animation: none; display: none; } }
html.no-anim .uic-gov::after { animation: none; display: none; }

/* 🧾 v4.28 — UI CONNECT new questions: card front · back side by side, do / don't guide, hint chips, update reminder + update page */
.ft-pair .pair-row { display: flex; gap: 14px; align-items: stretch; }
.ft-pair .pair-row > .form-field { flex: 1 1 0; min-width: 0; }
.ft-pair .pair-row > .form-field[hidden] { display: none; }
.ft-pair .up-file { flex-wrap: wrap; gap: 10px; }
.ft-pair .up-meta { flex-basis: calc(100% - 110px); }
.ft-pair .up-name { overflow-wrap: anywhere; word-break: break-all; }
.ft-pair .up-acts { width: 100%; justify-content: flex-end; }
.ft-pair .up-drop { padding: 14px 12px; }
.ft-pair .up-t { font-size: .9rem; }
@media (max-width: 640px) { .ft-pair .pair-row { flex-direction: column; gap: 12px; } }
.idg-card .idg-cap4 { grid-template-columns: repeat(4, 1fr); }
.u4-dd { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; max-width: 600px; margin: 10px auto 0; }
.u4-dd ul { list-style: none; margin: 0; padding: 9px 12px; border-radius: 12px; font-size: .84rem; line-height: 1.5; }
.u4-do { background: #ecf8ef; color: #1b5e31; border: 1px solid #bfe3c9; }
.u4-dont { background: #fdeeed; color: #8f1d17; border: 1px solid #f3c6c2; }
.u4-dd li + li { margin-top: 3px; }
@media (max-width: 560px) { .u4-dd { grid-template-columns: 1fr; } .idg-card .idg-cap4 { grid-template-columns: repeat(2, 1fr); row-gap: 8px; } }
.u4-what { display: flex; flex-direction: column; gap: 1px; margin: -2px 0 8px; padding: 7px 10px; border-radius: 10px; background: #fff7e8; border: 1px solid #f1d9a8; font-size: .8rem; color: #6b4b12; line-height: 1.4; }
.u4-what b { color: #7a3d00; font-weight: 700; }
.u4-help { margin: 0 0 8px; }
.u4-tip { display: block; color: #5f5340; font-size: .8rem; margin-bottom: 6px; }
.u4-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.u4-chips button { border: 1.5px dashed #e3b04b; background: #fffaf0; color: #7a3d00; border-radius: 999px; padding: 5px 11px; font: 600 .8rem/1.2 inherit; font-family: inherit; cursor: pointer; transition: .15s; }
.u4-chips button:hover { background: #fff1d6; border-style: solid; }
.u4-chips button.used { background: #e9f6ee; border: 1.5px solid #9fd0ae; color: #1b5e31; }
.u4-sample { margin-top: 6px; font-size: .82rem; }
.u4-sample summary { cursor: pointer; color: #1B3A5C; font-weight: 700; }
.u4-sample p { margin: 6px 0 0; padding: 8px 11px; border-left: 3px solid #e3b04b; background: #fffdf7; border-radius: 0 10px 10px 0; color: #4a4336; line-height: 1.55; }
.u4-cnt { display: block; text-align: right; font-size: .76rem; color: #9a6a12; margin-top: 4px; }
.u4-cnt.ok { color: #1F7A3A; }
.u4-box { grid-column: 1 / -1; margin: 0 0 14px; border-radius: 16px; background: linear-gradient(135deg, #fff8ec, #fff3dc); border: 1.5px solid #f0c674; box-shadow: 0 6px 18px rgba(196,70,25,.08); overflow: hidden; }
.u4-box > summary { list-style: none; display: flex; gap: 12px; align-items: flex-start; padding: 13px 14px; cursor: pointer; }
.u4-box > summary::-webkit-details-marker { display: none; }
.u4-ic { font-size: 1.5rem; line-height: 1.1; animation: u4pulse 2.4s ease-in-out infinite; }
@keyframes u4pulse { 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .u4-ic { animation: none; } }
.u4-st { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.u4-st b { color: #7a3d00; font-size: .98rem; }
.u4-st small { color: #5f5340; font-size: .82rem; line-height: 1.45; }
.u4-chev { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid #f0c674; flex: none; position: relative; margin-top: 2px; }
.u4-chev::after { content: ""; position: absolute; left: 8px; top: 7px; width: 7px; height: 7px; border-right: 2px solid #C44619; border-bottom: 2px solid #C44619; transform: rotate(45deg); transition: .2s; }
.u4-box[open] .u4-chev::after { transform: rotate(225deg); top: 10px; }
.u4-list { list-style: none; margin: 0; padding: 0 12px 4px; counter-reset: u4; }
.u4-list li { counter-increment: u4; display: flex; gap: 10px; align-items: center; padding: 10px 10px 10px 42px; margin-bottom: 8px; background: #fff; border-radius: 12px; border: 1px solid #f3dfb6; position: relative; }
.u4-list li::before { content: counter(u4); position: absolute; left: 10px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: #C44619; color: #fff; font: 800 .78rem/24px 'Inter', sans-serif; text-align: center; }
.u4-ent { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.u4-ent b { color: #10243B; }
.u4-ent small { color: #6b6355; font-size: .78rem; }
.u4-ent .u4-miss { color: #a3460f; }
.u4-go { flex: none; white-space: nowrap; }
.u4-later { margin: 0; padding: 0 16px 12px; font-size: .8rem; color: #6b6355; }
@media (max-width: 560px) { .u4-list li { flex-direction: column; align-items: stretch; } .u4-go { text-align: center; } }
.u4-nudge { display: flex; gap: 10px; align-items: center; margin: 12px 0; padding: 11px 14px; border-radius: 14px; background: #fff6e6; border: 1.5px solid #f0c674; color: #5f3a08; text-decoration: none; }
.u4-nudge > span:first-child { font-size: 1.3rem; }
.u4-nudge > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.u4-nudge small { font-size: .8rem; color: #6b5a3c; }
.u4-nudge-go { white-space: nowrap; color: #C44619; }
.u4-nudge:hover { background: #ffefd2; }
/* update page */
.u4-page { padding: 26px 0 50px; background: linear-gradient(180deg, #fff8ec, #fff 260px); }
.u4-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; }
.u4-head .u4-badge { flex: none; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #C44619, #E8762B); color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 8px 18px rgba(196,70,25,.25); }
.u4-head h1 { margin: 0 0 4px; font-size: clamp(1.25rem, 3.2vw, 1.7rem); color: #10243B; }
.u4-head p { margin: 0; color: #5f5340; font-size: .9rem; line-height: 1.5; }
.u4-ent-card { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #e8dcc6; margin-bottom: 14px; font-size: .88rem; }
.u4-ent-card b { color: #10243B; }
.u4-steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; padding: 0; list-style: none; }
.u4-steps li { padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid #e8dcc6; font-size: .8rem; font-weight: 700; color: #5f5340; }
.u4-steps li.miss { border-color: #f0c674; background: #fff6e6; color: #a3460f; }
.u4-steps li.done { border-color: #bfe3c9; background: #ecf8ef; color: #1b5e31; }
.u4-form { background: #fff; border-radius: 18px; padding: 18px; box-shadow: 0 10px 30px rgba(16,36,59,.08); }
.u4-form .form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 16px; }
.u4-skip { color: #6b6355; font-size: .86rem; }

/* 🎓🤝 v4.28 — event shortcuts: workshop band / strip, volunteer card / strip, “what next” cards on thank-you pages (each part has its own ON / OFF) */
.ev-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 18px; }
.ev-row:has(> .wsx-band):has(> .evp-vol) { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: stretch; }
.ev-strips { display: grid; gap: 10px; margin: 18px 0 6px; }
.wsx { --wn: #0B1733; --wo: #FF8A1F; --wg: #FFC247; position: relative; text-decoration: none; }
.wsx-band { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 16px 18px; border-radius: 22px; overflow: hidden; color: #EAF1FB;
  background: radial-gradient(500px 220px at 100% 0%, rgba(255,138,31,.3), transparent 60%), linear-gradient(135deg, #0B1733, #13284F); box-shadow: 0 18px 40px rgba(11,23,51,.25); isolation: isolate; }
.wsx-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #FF9933 0 33.3%, #fff 33.3% 66.6%, #138808 66.6%); }
.wsx-tri { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(127,178,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(127,178,255,.08) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(90deg, transparent, #000 40%); }
.wsx-art { position: relative; display: block; border-radius: 12px; overflow: visible; }
.wsx-art img { display: block; width: 100%; height: auto; border-radius: 12px; border: 2px solid rgba(255,194,71,.6); box-shadow: 0 10px 24px rgba(0,0,0,.45); transform: rotate(-3deg); transition: transform .3s; }
.wsx-band:hover .wsx-art img { transform: rotate(0) scale(1.03); }
.wsx-pin { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); white-space: nowrap; font-size: .62rem; font-weight: 900; color: #fff; padding: 3px 8px; border-radius: 999px; background: linear-gradient(135deg, #138808, #19A55A); box-shadow: 0 4px 10px rgba(0,0,0,.35); }
.wsx-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .66rem; font-weight: 900; letter-spacing: .05em; color: var(--wg); background: rgba(255,194,71,.12); border: 1px solid rgba(255,194,71,.3); padding: 3px 9px; border-radius: 999px; }
.wsx-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; animation: wsxPing 1.6s infinite; }
@keyframes wsxPing { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 100% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } }
.wsx-t { margin: 8px 0 4px; font-size: 1.32rem; line-height: 1.2; }
.wsx-t a { color: #fff; text-decoration: none; }
.wsx-t em { font-style: normal; color: var(--wo); }
.wsx-t span { display: block; margin-top: 3px; font-size: .86rem; font-weight: 800; color: #9FC7FF; }
.wsx-s { margin: 0 0 8px; font-size: .84rem; color: #C9D7EA; line-height: 1.55; }
.wsx-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wsx-facts li { font-size: .74rem; font-weight: 800; color: #EAF1FB; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); padding: 4px 9px; border-radius: 999px; }
.wsx-stub { position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; padding: 4px 4px 4px 22px; border-left: 2px dashed rgba(255,255,255,.22); text-align: center; }
.wsx-cal { display: grid; place-items: center; width: 58px; padding: 4px 0 6px; border-radius: 12px; background: #fff; color: #C2410C; font: 900 1.5rem/1 'Inter', sans-serif; box-shadow: 0 8px 18px rgba(0,0,0,.35); }
.wsx-cal small { width: 100%; padding: 2px 0; margin-bottom: 3px; border-radius: 10px 10px 0 0; font-size: .58rem; letter-spacing: .1em; color: #fff; background: #F15A22; }
.wsx-left { font-size: .72rem; font-weight: 900; color: var(--wg); }
.wsx-btn { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; padding: 11px 16px; border-radius: 12px; font-weight: 900; font-size: .9rem; color: #241000 !important; text-decoration: none;
  background: linear-gradient(100deg, #FFC247, #FF8A1F 58%, #F15A22); box-shadow: 0 10px 22px rgba(255,138,31,.38); transition: transform .2s; }
.wsx-btn:hover { transform: translateY(-2px); }
.wsx-more { font-size: .78rem; font-weight: 800; color: #9FC7FF !important; text-decoration: none; }
.wsx-cnt { font-size: .7rem; color: #C9D7EA; }
.wsx-strip, .vlx-strip { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.wsx-strip { color: #EAF1FB; background: linear-gradient(100deg, #0B1733, #1B2E55); box-shadow: 0 10px 22px rgba(11,23,51,.2); }
.wsx-strip:hover, .vlx-strip:hover { transform: translateY(-2px); }
.wsx-mini { flex: none; width: 40px; }
.wsx-mini img { display: block; width: 40px; height: 64px; object-fit: cover; border-radius: 7px; border: 1.5px solid rgba(255,194,71,.6); }
.wsx-st, .vlx-st { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.wsx-st b { font-size: .92rem; color: #fff; }
.wsx-st b em { font-style: normal; color: #FFC247; }
.wsx-st small { font-size: .74rem; color: #C9D7EA; }
.wsx-go, .vlx-go { flex: none; font-weight: 900; font-size: .84rem; padding: 8px 12px; border-radius: 10px; }
.wsx-go { color: #241000; background: linear-gradient(100deg, #FFC247, #FF8A1F); }
.vlx-strip { color: #14213D; background: linear-gradient(100deg, #FFF4E4, #EEF8F1); border: 1.5px solid #F2DDBD; }
.vlx-st b { font-size: .92rem; }
.vlx-st b em { font-style: normal; font-size: .78rem; color: #0F6B3E; margin-left: 4px; }
.vlx-st small { font-size: .74rem; color: #5B6B80; }
.vlx-go { color: #fff; background: linear-gradient(100deg, #0F6B3E, #138808); }
.vlx-faces { flex: none; display: inline-flex; }
.vlx-faces i { width: 30px; height: 30px; margin-left: -8px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .95rem; background: #fff; border: 2px solid #FFE2BC; box-shadow: 0 3px 8px rgba(120,70,10,.12); }
.vlx-faces i:first-child { margin-left: 0; }
.vlx-faces i:nth-child(2) { border-color: #D7F0DF; } .vlx-faces i:nth-child(3) { border-color: #FFD6C2; } .vlx-faces i:nth-child(4) { border-color: #D9E8FF; }
/* cards (thank-you pages, home row, /join) */
.evp { margin: 26px 0 6px; text-align: left; }
.evp-h { margin: 0 0 12px; font-size: 1.15rem; color: #0D1A31; text-align: center; }
.evp-h small { display: block; font-size: .76rem; color: #6B7A90; font-weight: 700; }
.evp-g { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.evp-card { position: relative; display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 20px; text-decoration: none; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.evp-card:hover { transform: translateY(-3px); }
.evp-ws { color: #EAF1FB; background: radial-gradient(260px 140px at 100% 0%, rgba(255,138,31,.28), transparent 60%), linear-gradient(135deg, #0B1733, #13284F); box-shadow: 0 14px 30px rgba(11,23,51,.22); }
.evp-vol { color: #14213D; background: radial-gradient(240px 140px at 100% 0%, rgba(19,136,8,.12), transparent 60%), linear-gradient(135deg, #FFF6E8, #FFFFFF); border: 1.5px solid #F2DDBD; box-shadow: 0 12px 26px rgba(120,70,10,.08); }
.evp-art { flex: none; width: 62px; }
.evp-art img { display: block; width: 62px; height: auto; border-radius: 9px; border: 1.5px solid rgba(255,194,71,.6); transform: rotate(-3deg); }
.evp-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.evp-t small { font-size: .7rem; font-weight: 800; letter-spacing: .02em; }
.evp-ws .evp-t small { color: #FFC247; } .evp-vol .evp-t small { color: #0F6B3E; }
.evp-t b { font-size: 1.02rem; line-height: 1.3; }
.evp-ws .evp-t b { color: #fff; }
.evp-t > span { font-size: .8rem; line-height: 1.5; opacity: .85; }
.evp-go { font-style: normal; font-weight: 900; font-size: .82rem; margin-top: 3px; }
.evp-ws .evp-go { color: #FFC247; } .evp-vol .evp-go { color: #C2410C; }
.evp-vol .vlx-faces { flex-direction: column; gap: 4px; }
.evp-vol .vlx-faces i { margin-left: 0; width: 34px; height: 34px; }
.evp-vol.vlx-home { height: 100%; }
.vlx-join { margin-top: 18px; }
@media (max-width: 860px) { .ev-row:has(> .wsx-band):has(> .evp-vol) { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .wsx-band { grid-template-columns: 82px minmax(0, 1fr); gap: 14px; padding: 14px; border-radius: 18px; }
  .wsx-t { font-size: 1.08rem; }
  .wsx-s { display: none; }
  .wsx-stub { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; justify-content: space-between; padding: 12px 0 2px; border-left: 0; border-top: 2px dashed rgba(255,255,255,.2); }
  .wsx-cal { width: 46px; font-size: 1.2rem; }
  .wsx-btn { flex: 1 1 auto; }
  .wsx-more, .wsx-cnt { display: none; }
  .evp-vol .vlx-faces { flex-direction: row; } .evp-vol .vlx-faces i { margin-left: -8px; width: 30px; height: 30px; } .evp-vol .vlx-faces i:first-child { margin-left: 0; }
  .evp-vol { flex-direction: column; align-items: flex-start; }
  .vlx-strip .vlx-faces { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wsx-dot { animation: none; } .wsx-art img { transform: none; } }
.wsx-t, .evp-h { font-family: 'FlagIN', 'Inter', 'Noto Sans Tamil', sans-serif; font-weight: 900; }
.ev-row .wsx-band .wsx-s { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 🎓 v4.29 — home workshop band: full width (same as the AI Summit band), poster straight, 3:4 like the summit thumbs */
.ev-row { grid-template-columns: minmax(0, 1fr) !important; }
.wsx-band { grid-template-columns: 118px minmax(0, 1fr) 230px; gap: 22px; padding: 18px 22px; }
.wsx-art img, .wsx-band:hover .wsx-art img { transform: none; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; }
.wsx-band:hover .wsx-art img { box-shadow: 0 14px 30px rgba(0,0,0,.5), 0 0 0 3px rgba(255,194,71,.25); }
.wsx-t { font-size: 1.42rem; }
.wsx-t span { display: inline; margin: 0 0 0 8px; font-size: .92rem; }
.ev-row .wsx-band .wsx-s { -webkit-line-clamp: 1; }
.wsx-stub { padding-left: 26px; }
.evp-art img { transform: none; }
@media (max-width: 960px) { .wsx-band { grid-template-columns: 100px minmax(0, 1fr) 200px; gap: 16px; } .wsx-t span { display: block; margin: 3px 0 0; } }
@media (max-width: 760px) { .wsx-band { grid-template-columns: 82px minmax(0, 1fr); padding: 14px; } .wsx-stub { padding-left: 0; } }

/* 🤝 v4.29 — home: the volunteer call ABOVE the UI CONNECT box — animated network, tasks lighting up one by one, join button */
.vlh { --vs: #FF9933; --vs2: #F26B1D; --vg: #0F6B3E; --vg2: #138808; position: relative; isolation: isolate; display: grid; grid-template-columns: 210px minmax(0, 1fr) 250px; gap: 24px; align-items: center;
  margin: 0 0 22px; padding: 20px 24px; border-radius: 24px; overflow: hidden; color: #14213D;
  background: radial-gradient(420px 220px at 0% 0%, rgba(255,153,51,.22), transparent 70%), radial-gradient(420px 240px at 100% 100%, rgba(19,136,8,.14), transparent 70%), linear-gradient(120deg, #FFF7EC 0%, #FFFDF8 48%, #F3FAF4 100%);
  box-shadow: 0 18px 42px rgba(120,70,10,.12); }
.vlh-bd { position: absolute; inset: 0; z-index: -1; border-radius: 24px; padding: 2px; background: conic-gradient(from var(--vla, 0deg), #FF9933, #FFD08A, #fff, #19A55A, #138808, #FF9933);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: vlhSpin 7s linear infinite; }
@property --vla { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes vlhSpin { to { --vla: 360deg; } }
.vlh-glow { position: absolute; z-index: -1; width: 220px; height: 220px; border-radius: 50%; filter: blur(30px); opacity: .5; animation: vlhFloat 9s ease-in-out infinite; }
.vlh-glow.g1 { left: 18%; top: -120px; background: rgba(255,153,51,.45); }
.vlh-glow.g2 { right: 10%; bottom: -130px; background: rgba(25,165,90,.35); animation-delay: 3s; }
@keyframes vlhFloat { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(24px, 14px); } }
/* network */
.vlh-net { position: relative; display: block; width: 210px; height: 178px; text-decoration: none; }
.vlh-net svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.vlh-lines path { fill: none; stroke: rgba(15,107,62,.35); stroke-width: 2; stroke-dasharray: 5 6; animation: vlhDash 1.6s linear infinite; }
.vlh-lines path.o { stroke: rgba(242,107,29,.22); animation-duration: 3s; }
@keyframes vlhDash { to { stroke-dashoffset: -22; } }
.vlh-run circle { fill: #F26B1D; filter: drop-shadow(0 0 4px rgba(242,107,29,.9)); }
.vlh-node { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; font-size: 1.45rem; line-height: 1; background: #fff;
  border: 2px solid #FFD8AE; box-shadow: 0 8px 18px rgba(120,70,10,.16); animation: vlhBob 4.2s ease-in-out infinite; }
.vlh-node small { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 3px; white-space: nowrap; font-size: .58rem; font-weight: 800; color: #6B5A48; }
.vlh-node.n1 { left: 16%; top: 17.6%; } .vlh-node.n2 { left: 84%; top: 17.6%; border-color: #CDE9D6; animation-delay: .7s; }
.vlh-node.n3 { left: 16%; top: 82.4%; border-color: #FFD6C2; animation-delay: 1.4s; } .vlh-node.n4 { left: 84%; top: 82.4%; border-color: #D9E8FF; animation-delay: 2.1s; }
.vlh-node.n3 small, .vlh-node.n4 small { top: auto; bottom: 100%; margin: 0 0 3px; }
@keyframes vlhBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.vlh-core { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: #fff;
  font: 900 1.25rem/1 'FlagIN', 'Inter', sans-serif; background: radial-gradient(circle at 30% 30%, #2BB673, #0F6B3E); box-shadow: 0 10px 24px rgba(15,107,62,.4); }
.vlh-core small { font-size: .48rem; letter-spacing: .12em; margin-top: -8px; opacity: .9; }
.vlh-core i { position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(25,165,90,.55); animation: vlhPing 2.4s ease-out infinite; }
@keyframes vlhPing { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.45); opacity: 0; } }
/* text */
.vlh-tag { display: inline-flex; align-items: center; gap: 7px; font: 900 .66rem/1.3 'FlagIN', 'Inter', 'Noto Sans Tamil', sans-serif; letter-spacing: .06em; color: var(--vg); background: #EAF6EE; border: 1px solid #CDE9D6; padding: 4px 11px; border-radius: 999px; }
.vlh-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--vg2); animation: wsxPing 1.6s infinite; }
.vlh-t { margin: 9px 0 6px; font: 900 1.42rem/1.3 'FlagIN', 'Inter', 'Noto Sans Tamil', sans-serif; }
.vlh-t a { color: #14213D; text-decoration: none; }
.vlh-t em { font-style: normal; background: linear-gradient(90deg, #F26B1D, #FF9933, #F26B1D); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: vlhText 4s linear infinite; }
@keyframes vlhText { to { background-position: 200% 0; } }
.vlh-s { margin: 0 0 10px; font-size: .88rem; line-height: 1.6; color: #475569; }
.vlh-s b { color: #14213D; }
.vlh-do { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.vlh-do li { position: relative; display: flex; flex-direction: column; gap: 1px; padding: 8px 10px 8px 38px; border-radius: 12px; background: #fff; border: 1px solid #F0E3CE; min-width: 0;
  animation: vlhLit 8s ease-in-out infinite; animation-delay: calc(var(--i) * 2s); }
.vlh-do li span { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); font-size: 1.1rem; }
.vlh-do li b { font-size: .8rem; line-height: 1.3; overflow-wrap: normal; word-break: normal; }
.vlh-do li small { font-size: .62rem; color: #8A6A44; font-weight: 700; }
@keyframes vlhLit { 0%, 30%, 100% { border-color: #F0E3CE; box-shadow: none; transform: none; } 8%, 22% { border-color: #19A55A; box-shadow: 0 0 0 3px rgba(25,165,90,.14), 0 8px 18px rgba(15,107,62,.14); transform: translateY(-2px); } }
/* cta */
.vlh-cta { display: flex; flex-direction: column; align-items: stretch; gap: 9px; text-align: center; }
.vlh-who { font-size: .7rem; font-weight: 800; color: #8A6A44; }
.vlh-btn { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 13px 16px; border-radius: 16px; text-decoration: none; color: #fff !important;
  background: linear-gradient(100deg, #0F6B3E, #19A55A); box-shadow: 0 12px 26px rgba(15,107,62,.35); animation: vlhBeat 2.6s ease-in-out infinite; transition: transform .2s; }
.vlh-btn:hover { transform: translateY(-2px); }
.vlh-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%); background-size: 260% 100%; animation: vlhShine 3s ease-in-out infinite; }
@keyframes vlhShine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }
@keyframes vlhBeat { 0%, 100% { box-shadow: 0 12px 26px rgba(15,107,62,.35); } 50% { box-shadow: 0 12px 30px rgba(15,107,62,.5), 0 0 0 6px rgba(25,165,90,.14); } }
.vlh-btn span { font: 900 1.05rem 'FlagIN', 'Inter', 'Noto Sans Tamil', sans-serif; }
.vlh-btn small { font-size: .74rem; font-weight: 800; opacity: .92; }
.vlh-30 { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; align-items: center; text-align: left; }
.vlh-30 svg { grid-row: span 2; width: 30px; height: 30px; transform: rotate(-90deg); }
.vlh-30 circle { fill: #FFF4E6; stroke: #FFE0BA; stroke-width: 3; }
.vlh-30 circle.p { fill: none; stroke: #F26B1D; stroke-linecap: round; stroke-dasharray: 95; stroke-dashoffset: 95; animation: vlhTimer 4s ease-in-out infinite; }
@keyframes vlhTimer { 0% { stroke-dashoffset: 95; } 70%, 100% { stroke-dashoffset: 0; } }
.vlh-30 b { font-size: .8rem; color: #C2410C; }
.vlh-30 small { font-size: .64rem; color: #6B7A90; }
.vlh-cnt { display: inline-flex; justify-content: center; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; color: #0F6B3E; }
.vlh-cnt i { width: 8px; height: 8px; border-radius: 50%; background: #E53935; animation: wsxPing 1.6s infinite; }
@media (max-width: 1100px) { .vlh { grid-template-columns: 180px minmax(0, 1fr) 220px; gap: 18px; } .vlh-net { width: 180px; height: 152px; } .vlh-do { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .vlh { grid-template-columns: minmax(0, 1fr); text-align: center; padding: 18px 16px; gap: 12px; }
  .vlh-net { margin: 0 auto; width: 200px; height: 168px; }
  .vlh-t { font-size: 1.16rem; }
  .vlh-s { font-size: .84rem; }
  .vlh-do li { text-align: left; }
  .vlh-cta { max-width: 420px; width: 100%; margin: 0 auto; }
  .vlh-30 { justify-content: center; }
}
@media (max-width: 380px) { .vlh-do { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) {
  .vlh-bd, .vlh-glow, .vlh-lines path, .vlh-node, .vlh-core i, .vlh-t em, .vlh-do li, .vlh-btn, .vlh-btn::after, .vlh-30 circle.p, .vlh-tag i, .vlh-cnt i { animation: none !important; }
  .vlh-run { display: none; }
}

/* 🤝 v4.29 — the smaller volunteer card / strip on other pages: same family (animated border, faces bob) */
.evp-vol, .vlx-strip { position: relative; isolation: isolate; }
.vlx-strip { border-color: transparent; }
.evp-vol::before, .vlx-strip::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1.5px; background: conic-gradient(from var(--vla, 0deg), #FF9933, #FFD08A, #fff, #19A55A, #FF9933);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: vlhSpin 7s linear infinite; }
.evp-vol .vlx-faces i, .vlx-strip .vlx-faces i { animation: vlhBob 4.2s ease-in-out infinite; }
.vlx-faces i:nth-child(2) { animation-delay: .5s; } .vlx-faces i:nth-child(3) { animation-delay: 1s; } .vlx-faces i:nth-child(4) { animation-delay: 1.5s; }
.vlx-go { animation: vlhBeat 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .evp-vol::before, .vlx-strip::before, .vlx-faces i, .vlx-go { animation: none !important; } }
/* v4.29 — network labels: all under their circles, left pair anchored left (the long “தொழில்முனைவோர்” no longer runs under the U&I circle) */
.vlh-net { margin-bottom: 14px; }
.vlh-node.n3 small, .vlh-node.n4 small { top: 100%; bottom: auto; margin: 3px 0 0; }
.vlh-node.n1 small, .vlh-node.n3 small { left: -4px; transform: none; }
@media (min-width: 761px) { .wsx-band { grid-template-columns: 118px minmax(0, 1fr) 252px; } .wsx-band .wsx-btn { padding: 11px 14px; font-size: .86rem; max-width: 100%; } }

/* 🔢 v4.34 — count boxes (UI CONNECT: people working · years in business): − [ 6  people ] + */
.num-in { display: flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.num-in:focus-within { border-color: var(--saffron, #E8590C); box-shadow: 0 0 0 3px rgba(232,89,12,.14); }
.form-field .num-in input { flex: 1; min-width: 0; width: auto; border: 0 !important; box-shadow: none !important; border-radius: 0; text-align: center; font: 800 1.25rem/1 Inter, sans-serif; color: var(--navy); padding: 10px 4px; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.form-field .num-in input::-webkit-outer-spin-button, .form-field .num-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.form-field .num-in input::placeholder { color: #C9BBA6; }
.num-in .num-u { display: flex; align-items: center; padding: 0 10px 0 2px; font-size: .78rem; font-weight: 700; color: #8A6A44; white-space: nowrap; }
.num-in .num-b { flex: none; width: 48px; border: 0; background: #FBF5EA; color: var(--navy); font: 800 1.35rem/1 Inter, sans-serif; cursor: pointer; transition: background .15s, color .15s; touch-action: manipulation; }
.num-in .num-b:hover { background: #FFE7CF; color: #C44619; }
.num-in .num-b:active { background: #FFD3AD; }
.num-in .num-b[data-num="-1"] { border-right: 1px solid var(--line); }
.num-in .num-b[data-num="1"] { border-left: 1px solid var(--line); }
.num-in.num-pop input { animation: numPop .22s ease; }
@keyframes numPop { 50% { transform: scale(1.18); } }
.form-field.has-err .num-in { border-color: #E8B4A6; background: #FFF6F3; }
@media (max-width: 380px) { .num-in .num-b { width: 42px; } .num-in .num-u { font-size: .7rem; } }
@media (prefers-reduced-motion: reduce) { .num-in.num-pop input { animation: none; } }

/* 🔑 v4.36: UI CONNECT — “already registered? sign in” made easy to find (poster · page top · home box · login page) */
.fposter-cta { flex-direction: column; align-items: center; gap: 10px; }
.fposter-in2 { display: flex; align-items: center; gap: 10px; max-width: min(440px, calc(100% - 16px)); background: #fff; color: #10243B; border: 2px solid #10243B; border-radius: 16px; padding: 8px 16px; box-shadow: 0 10px 24px rgba(0,0,0,.28); text-decoration: none; font-size: .9rem; line-height: 1.35; text-align: left; }
.fposter-in2 > span:first-child { font-size: 1.5rem; flex: none; }
.fposter-in2 b { display: block; color: #C44619; }
.fposter-in2 small { display: block; color: #6a7d93; font: 600 .7rem/1.3 Inter, system-ui, sans-serif; }
.fposter-in2:hover { background: #fff7ec; color: #10243B; }
.fpage-in2 { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 6px; width: fit-content; max-width: 100%; margin: 14px auto 0; background: #fff; color: #10243B; border: 2px solid #F4C430; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: .92rem; line-height: 1.35; text-decoration: none; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.fpage-in2 b { color: #C44619; }
.fpage-in2 small { color: #6a7d93; font: 600 .72rem/1.3 Inter, system-ui, sans-serif; }
.fpage-in2:hover { background: #F4C430; color: #10243B; }
.fpage-in2:hover b { color: #10243B; }
.uic-home-in { background: #fff !important; color: #10243B !important; border: 2px solid #10243B !important; display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.uic-home-in small { font: 600 .7rem/1.2 Inter, system-ui, sans-serif; color: #6a7d93; }
.uic-home-in:hover { background: #10243B !important; color: #fff !important; } .uic-home-in:hover small { color: #c9d6e4; }
.auth-uic { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #fff7ec, #eef6ff); border: 2px solid #F4C430; color: #10243B; text-decoration: none; font-size: .88rem; line-height: 1.5; }
.auth-uic > span:first-child { font-size: 1.6rem; line-height: 1; }
.auth-uic b { color: #C44619; }
.auth-uic small { display: block; color: #6a7d93; font: 600 .72rem/1.3 Inter, system-ui, sans-serif; margin-top: 2px; }
.auth-uic:hover { border-color: #C44619; }
@media (max-width: 640px) { .fposter-in2 { font-size: .84rem; padding: 7px 12px; } .fpage-in2 { border-radius: 16px; font-size: .86rem; } }
