/* =========================================================================
   સમસ્ત લેઉવા પટેલ કુળદેવી સેવા સંસ્થાન : મુખ્ય સ્ટાઈલશીટ
   રંગ-સંકલ્પના સીધી લોગોમાંથી લીધેલી છે:
     ધજાનો લાલ #DF2107 · "ખોડલ તીર્થ" નો ઘેરો મરૂન #490506
     મંદિરનું કાંસ્ય #BF7D1D · સૂર્ય પ્રભા #FCC551 · અંગ્રેજી લખાણનો નેવી #0B1046
   ========================================================================= */

/* ---------- 1. ટોકન ---------- */
:root {
    /* ધજા : મુખ્ય ઉચ્ચાર */
    --red: #DF2107;
    --red-dark: #B81305;
    --red-light: #F2603F;

    /* "શ્રી ખોડલ તીર્થ" લખાણનો ઘેરો મરૂન */
    --maroon: #5E0A0B;
    --maroon-dark: #3A0405;
    --maroon-soft: #7C1416;

    /* મંદિરનું કાંસ્ય અને સૂર્યની પ્રભા */
    --bronze: #BF7D1D;
    --bronze-dark: #9A6115;
    --gold: #E0A63A;
    --gold-light: #FCC551;

    /* લોગોના અંગ્રેજી નામનો નેવી : તારીખ, લેબલ જેવા ગૌણ સંકેત માટે */
    --navy: #0B1046;
    --navy-soft: #2A3270;

    --cream: #FFF8EC;
    --cream-2: #FBEEDA;
    --ink: #33201A;
    --ink-soft: #5E463A;
    --line: #EBDCC2;
    --white: #FFFFFF;

    --shadow-sm: 0 2px 8px rgba(58, 4, 5, .07);
    --shadow: 0 10px 30px rgba(58, 4, 5, .10);
    --shadow-lg: 0 24px 60px rgba(58, 4, 5, .16);

    --radius: 14px;
    --radius-lg: 24px;

    --font-head: 'Mukta', 'Noto Serif Gujarati', 'Shruti', 'Nirmala UI', Georgia, serif;
    --font-body: 'Noto Sans Gujarati', 'Mukta', 'Nirmala UI', 'Shruti', 'Segoe UI', sans-serif;

    --wrap: 1200px;
    --header-h: 118px;
    --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ---------- 2. રીસેટ ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.85;
    color: var(--ink-soft);
    background: var(--cream);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: var(--maroon); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--red); }

h1, h2, h3, h4, h5 {
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.3;
    margin: 0 0 .6em;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p { margin: 0 0 1.15em; }

ul { margin: 0 0 1.15em; padding-left: 1.2em; }

/* ફોકસ હંમેશા દેખાય : કીબોર્ડથી વાપરનારા માટે */
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- 3. લેઆઉટ ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.section { padding: clamp(56px, 8vw, 110px) 0; position: relative; }
.section--cream { background: var(--cream-2); }
.section--ink { background: var(--maroon-dark); color: #F0DCC4; }
.section--ink h2, .section--ink h3 { color: #fff; }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 4. વિભાગનું મથાળું ---------- */
.eyebrow {
    display: inline-block;
    font-size: .82rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--red-dark);
    font-weight: 700;
    margin-bottom: 12px;
}
.eyebrow::before { content: "❖"; margin-right: 10px; color: var(--gold); }

.section-head { max-width: 780px; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; }
.section-head .lead { font-size: 1.1rem; color: var(--ink-soft); }
.section-head--left { margin-left: 0; text-align: left; }

/* સોનેરી ડિવાઈડર : બે બાજુ રેખા, વચ્ચે કળશ */
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0 22px; }
.divider::before, .divider::after {
    content: ""; height: 1px; width: 68px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { background: linear-gradient(270deg, transparent, var(--gold)); }
.divider i { color: var(--gold); font-style: normal; font-size: 1.1rem; }

/* ---------- 5. બટન ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 30px;
    border: 0; border-radius: 999px;
    font-family: var(--font-body); font-size: 1rem; font-weight: 700;
    cursor: pointer; text-align: center;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
    position: relative; overflow: hidden;
}
.btn:hover { transform: translateY(-3px); }

.btn.btn--primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff; box-shadow: 0 10px 24px rgba(223, 33, 7, .34);
}
.btn.btn--primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(223, 33, 7, .44); }

.btn.btn--gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    color: var(--maroon-dark); box-shadow: 0 10px 24px rgba(201, 162, 39, .34);
}
.btn.btn--gold:hover { color: var(--maroon-dark); }

.btn.btn--ghost { background: transparent; color: var(--maroon); box-shadow: inset 0 0 0 2px var(--maroon); }
.btn.btn--ghost:hover { background: var(--maroon); color: #fff; }

.btn.btn--light { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.btn.btn--light:hover { background: #fff; color: var(--maroon); }

.btn--sm { padding: 10px 22px; font-size: .92rem; }

/* બટન પર ડાબેથી જમણે સરકતી ચમક */
.btn::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .75s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

/* ---------- 6. હેડર ---------- */
.topbar {
    background: var(--maroon-dark); color: #EBD2B6;
    font-size: .88rem; padding: 8px 0;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #EBD2B6; }
.topbar a:hover { color: var(--gold-light); }
.topbar__left { display: flex; gap: 22px; flex-wrap: wrap; }

.langbar { display: flex; align-items: center; gap: 4px; }
.langbar a {
    padding: 3px 12px; border-radius: 999px; font-weight: 600;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.langbar a:hover { background: rgba(255,255,255,.12); }
.langbar a.is-active { background: var(--gold); color: var(--maroon-dark); }

.header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(253, 247, 236, .95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s var(--ease), padding .3s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow); }

.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.header.is-stuck .wrap { min-height: 92px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand__logo {
    display: flex; align-items: center;
    height: 90px; min-width: 60px; flex: none;
    /* flex + ચોક્કસ ઊંચાઈ : ટકાવારી grid માં ભરોસાપાત્ર નથી */
    /* કોઈ ગોળ ચોકઠું નહીં : લોગોનું આખું ચિહ્ન કપાયા વગર દેખાય તે માટે */
    color: var(--maroon);
    font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
    transition: transform .5s var(--ease), filter .5s var(--ease);
}
.brand__logo img { height: 90px; width: auto; max-width: none; display: block; }
.brand:hover .brand__logo {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 14px rgba(58, 4, 5, .28));
}
.brand__text { line-height: 1.25; }
.brand__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.12rem; color: var(--maroon); }
.brand__sub { display: block; font-size: .8rem; color: var(--bronze-dark); letter-spacing: .06em; }

/* નેવિગેશન */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
    display: block; padding: 12px 14px;
    font-weight: 600; font-size: .98rem; color: var(--ink);
    border-radius: 10px; white-space: nowrap;
}
.nav__link:hover, .nav__item:hover > .nav__link { color: var(--red-dark); background: rgba(223, 33, 7,.08); }
.nav__link.is-active { color: var(--maroon); }
.nav__link.is-active::after {
    content: ""; display: block; height: 3px; width: 22px; margin: 4px auto 0;
    background: var(--gold); border-radius: 3px;
}

/* ડ્રોપ-ડાઉન */
.nav__sub {
    position: absolute; top: 100%; left: 0; min-width: 268px;
    background: #fff; border-radius: var(--radius); padding: 10px;
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: all .3s var(--ease); list-style: none; margin: 0; z-index: 5;
}
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sub a { display: block; padding: 10px 14px; border-radius: 8px; font-size: .95rem; color: var(--ink); }
.nav__sub a:hover { background: var(--cream-2); color: var(--maroon); padding-left: 20px; }

/* છેલ્લા મેનુનું ડ્રોપ-ડાઉન જમણી કિનારીથી ખૂલે, નહીં તો પેજ આડું ખેંચાય છે */
.nav__item--has-sub:nth-last-of-type(2) > .nav__sub { left: auto; right: 0; }

/* લોગિન અને દાન : એક જ જગ્યાએ, બાજુ બાજુમાં */
.nav__actions { display: flex; align-items: center; gap: 8px; margin-left: 6px; }
.nav__actions .btn { white-space: nowrap; }
.nav__login { gap: 6px; padding: 8px 18px; }
.nav__login svg { width: 16px; height: 16px; flex: none; }

/* લોગિનનું બટન ઉમેરાયા પછી લેપટોપની પહોળાઈએ જગ્યા ઓછી પડે, એટલે મેનુ થોડું સાંકડું */
@media (min-width: 1201px) and (max-width: 1360px) {
    .nav__link { padding: 12px 9px; }
    .nav__login { padding: 8px 14px; }
}

.nav-toggle {
    display: none; width: 46px; height: 46px; border: 0; border-radius: 12px;
    background: var(--maroon); cursor: pointer; padding: 12px;
}
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 7. હીરો ---------- */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(150deg, var(--maroon-dark) 0%, var(--maroon) 42%, var(--bronze-dark) 100%);
    color: #FDF0DE;
    padding: clamp(50px, 7vw, 90px) 0 clamp(90px, 12vw, 150px);
}
.hero::after {
    content: ""; position: absolute; left: -8%; bottom: -18%;
    width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,162,39,.28), transparent 68%);
    filter: blur(10px); pointer-events: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero .wrap { position: relative; z-index: 2; }

/* ડાબે લખાણ, જમણે માતાજી */
.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
    gap: clamp(24px, 4vw, 60px);
    align-items: end;
}
.hero__inner { max-width: 680px; }

/* પૂજ્ય લવજીબાપુ */
.hero__guru { margin: 0 0 26px; width: 168px; text-align: center; }
.hero__guru img {
    width: 100%; height: auto; display: block;
    filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .35));
}
.hero__guru figcaption {
    margin-top: 8px;
    font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
    color: var(--gold-light); letter-spacing: .02em;
}

.hero__eyebrow {
    display: inline-block; padding: 7px 20px; border-radius: 999px;
    background: rgba(255,255,255,.13); border: 1px solid rgba(232,206,107,.45);
    color: var(--gold-light); font-size: .86rem; letter-spacing: .14em; font-weight: 600;
    margin-bottom: 20px;
}
.hero h1 {
    color: #fff; margin-bottom: .45em;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    text-shadow: 0 3px 24px rgba(0,0,0,.28);
}
.hero h1 em { font-style: normal; color: var(--gold-light); }
.hero__text { font-size: 1.05rem; max-width: 600px; color: #F6E3CB; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 30px; }

/* માતાજી; ફરતાં કિરણોનું કેન્દ્ર મસ્તક પર */
.hero__deity { position: relative; align-self: end; }
.hero__deity img {
    position: relative; z-index: 2;
    display: block; width: 100%; height: auto; margin: 0 auto;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .38));
}
.hero__deity::before,
.hero__deity::after {
    content: ""; position: absolute;
    /* માતાજીના મસ્તકનું સ્થાન: ઉપરથી ૧૮%, વચ્ચોવચ */
    top: 18%; left: 50%;
    border-radius: 50%; pointer-events: none;
}
.hero__deity::before {
    width: 210%; aspect-ratio: 1;
    background: repeating-conic-gradient(from 0deg,
                rgba(255, 255, 255, .075) 0deg 5deg, transparent 5deg 10deg);
    transform: translate(-50%, -50%);
    animation: spin-around 110s linear infinite;
}
.hero__deity::after {
    width: 95%; aspect-ratio: 1; z-index: 1;
    background: radial-gradient(circle, rgba(252, 197, 81, .38), rgba(252, 197, 81, .12) 45%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(6px);
}
@keyframes spin-around {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* હીરોની નીચે લહેરાતી કિનારી */
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 3; line-height: 0; }
.hero__wave svg { width: 100%; height: 90px; display: block; }
.hero__wave path { fill: var(--cream); }

/* ---------- 8. આંકડા પટ્ટી ---------- */
.stats { margin-top: -58px; position: relative; z-index: 5; }
.stats__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.stat { padding: 34px 22px; text-align: center; border-right: 1px solid var(--line); transition: background .3s var(--ease); }
.stat:last-child { border-right: 0; }
.stat:hover { background: var(--cream); }
.stat__num {
    font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700;
    color: var(--red-dark); display: block; line-height: 1.2;
}
.stat__label { font-size: .92rem; color: var(--ink-soft); margin-top: 4px; display: block; }

/* ---------- 9. કાર્ડ ---------- */
.card {
    background: #fff; border-radius: var(--radius-lg);
    border: 1px solid var(--line); overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
    display: flex; flex-direction: column; height: 100%;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: var(--cream-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card__title { margin-bottom: .5em; }
.card__title a { color: var(--ink); }
.card:hover .card__title a { color: var(--maroon); }
.card__text { font-size: .97rem; flex: 1; }
.card__foot { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .9rem; }

/* સેવા પ્રકલ્પનું કાર્ડ : ઉપર આઈકન */
.seva-card { text-align: center; padding: 40px 28px; position: relative; }
.seva-card::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--red));
    transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.seva-card:hover::before { transform: scaleX(1); }
.seva-card__icon {
    width: 78px; height: 78px; margin: 0 auto 22px;
    display: grid; place-items: center; border-radius: 22px;
    background: linear-gradient(140deg, var(--cream-2), #fff);
    box-shadow: inset 0 0 0 1px var(--line), 0 8px 20px rgba(42,26,18,.06);
    color: var(--red-dark);
    transition: transform .5s var(--ease), background .5s var(--ease), color .5s var(--ease);
}
.seva-card:hover .seva-card__icon {
    transform: translateY(-6px) rotate(-6deg);
    background: linear-gradient(140deg, var(--red), var(--red-dark));
    color: #fff;
}
.seva-card__icon svg { width: 38px; height: 38px; }

/* ---------- 10. લક્ષણ યાદી ---------- */
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 34px; margin-bottom: 12px; }
.ticks li::before {
    content: "✦"; position: absolute; left: 0; top: 0;
    width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; font-size: .7rem;
    background: var(--gold); color: var(--maroon-dark);
}

/* ---------- 11. તીર્થ / માહિતી પટ્ટી ---------- */
.info-band { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.info-box {
    background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--gold);
    border-radius: var(--radius); padding: 26px 28px;
}
.info-box h3 { color: var(--maroon); margin-bottom: .4em; }
.info-box p { margin: 0; }

/* ---------- 12. ફોર્મ ---------- */
.form-card {
    background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 46px);
    box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .93rem; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--red-dark); margin-left: 3px; }

.field input[type=text], .field input[type=email], .field input[type=tel],
.field input[type=number], .field input[type=date], .field input[type=password],
.field select, .field textarea {
    width: 100%; padding: 13px 16px;
    font-family: var(--font-body); font-size: 1rem; color: var(--ink);
    background: var(--cream); border: 1.5px solid var(--line); border-radius: 11px;
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; background: #fff; border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(223, 33, 7,.14);
}
.field .radios { display: flex; gap: 22px; padding-top: 6px; }
.field .radios label { font-weight: 500; display: flex; align-items: center; gap: 7px; margin: 0; }

.form-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.form-note { font-size: .9rem; color: var(--ink-soft); background: var(--cream-2); border-radius: 11px; padding: 14px 18px; }

.err { color: #B3261E; font-size: .86rem; margin-top: 5px; display: block; }

.alert { border-radius: var(--radius); padding: 18px 22px; margin-bottom: 26px; font-weight: 600; }
.alert--ok { background: #E8F5E9; color: #1B5E20; border: 1px solid #A5D6A7; }
.alert--err { background: #FDECEA; color: #A02017; border: 1px solid #F5C2BD; }

/* ---------- 13. પેજનું મથાળું ---------- */
.page-head {
    position: relative; overflow: hidden;
    background: linear-gradient(140deg, var(--maroon-dark), var(--maroon) 58%, var(--bronze-dark));
    color: #F9EBD8; padding: clamp(52px, 7vw, 92px) 0 clamp(58px, 7vw, 96px); text-align: center;
}
.page-head::before {
    content: ""; position: absolute; inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,.035) 0 12px, transparent 12px 24px);
}
.page-head .wrap { position: relative; z-index: 2; }
.page-head h1 { color: #fff; margin-bottom: .3em; }
.page-head p { max-width: 700px; margin: 0 auto; color: #F4E3C9; }

.crumbs { font-size: .9rem; color: #E8CFA9; margin-top: 18px; }
.crumbs a { color: var(--gold-light); }
.crumbs span { margin: 0 8px; opacity: .6; }

/* ---------- 14. સમાચાર / યાદી ---------- */
.meta { font-size: .87rem; color: var(--navy-soft); font-weight: 600; letter-spacing: .04em; }

.event-row {
    display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 20px 24px; margin-bottom: 16px;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.event-row:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.event-date {
    text-align: center; background: linear-gradient(150deg, var(--red), var(--red-dark));
    color: #fff; border-radius: 12px; padding: 12px 6px;
}
.event-date b { display: block; font-size: 1.7rem; font-family: var(--font-head); line-height: 1; }
.event-date span { font-size: .82rem; }

/* ---------- 15. ગેલેરી ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery a {
    display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1;
    position: relative; box-shadow: var(--shadow-sm);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery a::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(transparent 45%, rgba(90,16,23,.65));
    opacity: 0; transition: opacity .4s var(--ease);
}
.gallery a:hover img { transform: scale(1.12); }
.gallery a:hover::after { opacity: 1; }

/* ---------- 16. ટ્રસ્ટી ---------- */
.person { text-align: center; }
.person__photo {
    width: 160px; height: 160px; margin: 0 auto 18px; border-radius: 50%;
    overflow: hidden; background: var(--cream-2);
    box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold), var(--shadow);
    transition: transform .5s var(--ease);
}
.person:hover .person__photo { transform: translateY(-6px) scale(1.03); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__name { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.person__role { font-size: .9rem; color: var(--red-dark); }

/* ---------- 17. અટકનો ક્લાઉડ ---------- */
.surnames { display: flex; flex-wrap: wrap; gap: 10px; }
/* Each surname now has its own address (/atak/<slug>), so most of these are
   links rather than plain text. Both look identical, so the page reads exactly
   as it did before. */
.surnames span, .surnames a {
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 7px 18px; font-size: .95rem; color: var(--ink);
    transition: all .3s var(--ease);
    text-decoration: none; display: inline-block;
}
.surnames span:hover, .surnames a:hover { background: var(--gold); border-color: var(--gold); color: var(--maroon-dark); transform: translateY(-3px); }
.surnames a.is-active { background: var(--maroon); border-color: var(--maroon); color: var(--gold-light); }

/* ---------- 18. જોડાવાનું આહ્વાન ---------- */
.cta {
    position: relative; overflow: hidden; text-align: center;
    background: linear-gradient(135deg, var(--maroon), var(--bronze-dark));
    color: #fff; border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 70px) clamp(24px, 5vw, 60px);
}
.cta::before {
    content: ""; position: absolute; inset: -50% -10% auto;
    height: 300px;
    background: radial-gradient(circle, rgba(232,206,107,.3), transparent 70%);
}
.cta > * { position: relative; z-index: 2; }
.cta h2 { color: #fff; }
.cta p { color: #FAECD9; max-width: 640px; margin: 0 auto 28px; }
.cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- 19. ફૂટર ---------- */
.footer { background: var(--maroon-dark); color: #D6BC9E; padding: 70px 0 0; }
.footer h4 { color: #fff; font-family: var(--font-head); font-size: 1.08rem; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 2px; background: var(--gold); }
.footer a { color: #D6BC9E; }
.footer a:hover { color: var(--gold-light); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__list { list-style: none; padding: 0; margin: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__list a { transition: padding-left .3s var(--ease); display: inline-block; }
.footer__list a:hover { padding-left: 8px; }
.footer__bottom {
    margin-top: 54px; border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0;
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .9rem;
}
.social { display: flex; gap: 10px; }
.social a {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255,255,255,.09); transition: all .3s var(--ease);
}
.social a:hover { background: var(--gold); color: var(--maroon-dark); transform: translateY(-4px); }
.social svg { width: 19px; height: 19px; }

/* ---------- 20. ઉપર જવાનું બટન ---------- */
.to-top {
    position: fixed; right: 24px; bottom: 24px; z-index: 70;
    width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--maroon); color: #fff; display: grid; place-items: center;
    box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(16px);
    transition: all .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red); }

/* ---------- 21. સ્ક્રોલ સાથે દેખાતું એનિમેશન ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* એનિમેશન બંધ રાખવાનું પસંદ કરનારા માટે */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    html { scroll-behavior: auto; }
}

/* ---------- 22. ટેબલ ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
table.data { width: 100%; border-collapse: collapse; font-size: .95rem; }
table.data th, table.data td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.data th { background: var(--cream-2); color: var(--ink); font-weight: 700; white-space: nowrap; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background .25s var(--ease); }
table.data tbody tr:hover { background: var(--cream); }

.empty { text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* ---------- 23. રિસ્પોન્સિવ ---------- */
@media (max-width: 1080px) {
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
    .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
}

/* ફોનનું મેનુ : સાત મેનુ + લોગિન + દાન લેપટોપની નાની સ્ક્રીનમાં એક લીટીમાં સમાતાં નથી, એટલે 1200px સુધી */
@media (max-width: 1200px) {
    /* backdrop-filter હોય તો position:fixed વાળું મેનુ આખી સ્ક્રીન નહીં પણ
       હેડરની અંદર જ પુરાઈ જાય છે, અને મેનુ (લોગિન સાથે) કપાઈ જાય છે */
    .header { backdrop-filter: none; background: var(--cream); }
    /* મેનુ હેડરની અંદર છે, એટલે ખૂલે ત્યારે હેડર પડદા (scrim) ની ઉપર આવવું જોઈએ */
    .header:has(.nav.is-open) { z-index: 66; }
    .nav-toggle { display: block; position: relative; z-index: 66; }
    .nav {
        position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw);
        background: var(--cream); flex-direction: column; align-items: stretch;
        padding: 90px 20px 30px; gap: 2px; overflow-y: auto;
        box-shadow: -12px 0 40px rgba(42,26,18,.2);
        transform: translateX(100%); transition: transform .4s var(--ease); z-index: 65;
    }
    .nav.is-open { transform: none; }
    .nav__link { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
    .nav__sub {
        position: static; opacity: 1; visibility: visible; transform: none;
        box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 14px; display: none;
    }
    .nav__item.is-open > .nav__sub { display: block; }
    .nav__actions { flex-direction: column; align-items: stretch; gap: 10px; margin: 18px 0 0; }
    .nav__actions .btn { justify-content: center; }
    .nav__sub a { padding: 10px 12px; font-size: .95rem; }
    .nav-scrim {
        position: fixed; inset: 0; background: rgba(42,26,18,.5); z-index: 64;
        opacity: 0; visibility: hidden; transition: .35s var(--ease);
    }
    .nav-scrim.is-open { opacity: 1; visibility: visible; }
}

@media (max-width: 900px) {
    /* હીરો: લખાણ ઉપર, માતાજી નીચે વચ્ચોવચ */
    .hero__grid { grid-template-columns: 1fr; }
    .hero__inner { max-width: none; }
    .hero__deity { width: min(320px, 70vw); margin: 10px auto 0; }
    .hero__deity::before { width: 190%; }

    .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats__grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .info-band { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero__guru { width: 128px; margin-bottom: 20px; }
    .hero__guru figcaption { font-size: .95rem; }
    .hero__deity { width: min(260px, 74vw); }

    .brand__logo { height: 56px; min-width: 0; }
    .brand__logo img { height: 56px; }
    .brand__name { font-size: 1rem; }
    body { font-size: 16px; }
    .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .stats { margin-top: -34px; }
    .stats__grid { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: 1px solid var(--line); }
    .stat:last-child { border-bottom: 0; }
    .event-row { grid-template-columns: 84px 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .topbar__left { display: none; }
    .hero__actions .btn { width: 100%; justify-content: center; }
}

/* ---------- 24. પ્રિન્ટ ---------- */
@media print {
    .header, .topbar, .footer, .to-top, .hero__actions, .nav-toggle { display: none !important; }
    body { background: #fff; color: #000; font-size: 12pt; }
    .section { padding: 12pt 0; }
}

/* ---------- 25. લાઈટબોક્સ ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(24, 12, 8, .93);
    display: flex; align-items: center; justify-content: center; padding: 40px;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
    max-width: 92vw; max-height: 86vh; border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0,0,0,.6); background: #000;
}
.lightbox__close, .lightbox__nav {
    position: absolute; border: 0; cursor: pointer; color: #fff;
    background: rgba(255,255,255,.14); border-radius: 50%;
    width: 52px; height: 52px; font-size: 1.5rem; line-height: 1;
    display: grid; place-items: center; transition: background .25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }

@media (max-width: 640px) {
    .lightbox { padding: 16px; }
    .lightbox__nav { width: 42px; height: 42px; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
}

/* ---------- 26. બટન વ્યસ્ત હોય ત્યારે ---------- */
.btn.is-busy { pointer-events: none; opacity: .72; }
.btn.is-busy::before {
    content: ""; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
    animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ---------- 27. સ્ક્રીન-રીડર માટે જ ---------- */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 300;
    background: var(--maroon); color: #fff; padding: 12px 22px; border-radius: 0 0 10px 10px;
    transition: top .3s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 28. લોગો ---------- */
.footer__logo {
    display: block; width: 190px; max-width: 100%; margin-bottom: 20px;
    /* ઘેરા ફૂટર પર લોગોનું ઘેરું લખાણ વંચાય તે માટે હળવી પ્રભા */
    filter: drop-shadow(0 0 10px rgba(255, 248, 236, .55))
            drop-shadow(0 0 22px rgba(255, 248, 236, .35));
}

/* લોગોને શોભે તેવું ચોરસ ક્રીમ કાર્ડ: મુખ્ય પૃષ્ઠ અને તીર્થ પેજ માટે.
   લોગો અને પાછળનાં કિરણો બંને બરાબર કેન્દ્રમાં રહે છે. */
.logo-card {
    position: relative; overflow: hidden;
    display: grid; place-items: center;
    aspect-ratio: 1;
    padding: clamp(20px, 4vw, 46px);
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at 50% 50%, var(--white), var(--cream) 45%, var(--cream-2));
    box-shadow: inset 0 0 0 2px var(--gold), var(--shadow-lg);
}
.logo-card::before {
    /* પાછળ ધીમે ફરતાં સૂર્યકિરણ, કેન્દ્રથી */
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 150%; aspect-ratio: 1; border-radius: 50%;
    background: repeating-conic-gradient(from 0deg,
                rgba(252, 197, 81, .22) 0deg 6deg, transparent 6deg 12deg);
    transform: translate(-50%, -50%);
    animation: spin-around 120s linear infinite;
    pointer-events: none;
}
.logo-card img {
    position: relative; z-index: 2;
    display: block; margin: 0 auto;
    width: 100%; max-width: 340px; height: auto;
}

/* ---------- 29. ઘેરા વિભાગ (.section--ink) માં વંચાણક્ષમતા ----------
   ઘેરા મરૂન પર મરૂન મથાળું વંચાતું નહોતું : અહીં સોનેરી/ક્રીમમાં બદલ્યું છે. */
.section--ink .eyebrow { color: var(--gold-light); }
.section--ink .eyebrow::before { color: var(--gold-light); }
.section--ink .section-head .lead { color: #F0DCC4; }

.section--ink .info-box {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .16);
    border-left-color: var(--gold);
}
.section--ink .info-box h3 { color: var(--gold-light); }
.section--ink .info-box p,
.section--ink .info-box li { color: #F0DCC4; }

.section--ink .ticks li::before { background: var(--gold); color: var(--maroon-dark); }
.section--ink a:not(.btn) { color: var(--gold-light); }
.section--ink a:not(.btn):hover { color: #fff; }

/* ફૂટરમાં પણ બટન પોતાનો રંગ જાળવે (ઉપર specificity વધારી છે) */
.footer .btn { color: inherit; }
.footer .btn.btn--gold { color: var(--maroon-dark); }
.footer .btn.btn--primary { color: #fff; }

/* ---------- 30. ડેવલપર ક્રેડિટ ---------- */
.credit { display: inline-flex; align-items: baseline; gap: 6px; }
.credit a {
    font-weight: 700; letter-spacing: .04em; color: var(--gold-light);
    transition: color .25s var(--ease);
}
.credit a:hover { color: #fff; }
/* "A" ની ઉપર ™ ઊંચકાયેલું રહે */
.credit sup {
    font-size: .58em; line-height: 0; vertical-align: super;
    margin-left: 1px; letter-spacing: 0;
}

/* ---------- 31. Member panel ---------- */
/* The panel sits inside the ordinary site layout, so it inherits the
   header, the language bar and the footer. Only the pieces the panel
   adds are styled here. */

.mp-bar {
    display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center;
    justify-content: space-between;
    padding: 16px 20px; margin-bottom: 26px;
    background: var(--cream); border: 1px solid rgba(94,10,11,.14);
    border-radius: 14px;
}
.mp-bar__who { display: flex; flex-direction: column; line-height: 1.35; }
.mp-bar__who b { color: var(--maroon); font-size: 1.02rem; }
.mp-bar__who span { font-size: .84rem; color: #6b5b4a; letter-spacing: .03em; }

.mp-bar__nav { display: flex; flex-wrap: wrap; gap: 6px; }
.mp-bar__nav a {
    padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem;
    color: var(--maroon); transition: background .2s var(--ease), color .2s var(--ease);
}
.mp-bar__nav a:hover { background: rgba(94,10,11,.08); }
.mp-bar__nav a.is-active { background: var(--maroon); color: #fff; }
.mp-bar__nav a.mp-bar__out { color: var(--red-dark); }
.mp-bar__nav a.mp-bar__out:hover { background: rgba(223,33,7,.1); }

.mp-cards {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 16px; margin-bottom: 26px;
}
.mp-card {
    display: flex; flex-direction: column; gap: 4px; align-items: center;
    padding: 22px 16px; border-radius: 16px;
    background: linear-gradient(160deg, var(--maroon), var(--maroon-dark));
    color: #fff; text-align: center;
}
.mp-card__num { font-size: 2rem; font-weight: 800; color: var(--gold-light); }
.mp-card__lbl { font-size: .9rem; letter-spacing: .03em; }

.mp-panel {
    padding: 26px; margin-bottom: 26px;
    background: #fff; border: 1px solid rgba(94,10,11,.12);
    border-radius: 18px; box-shadow: 0 10px 30px rgba(58,4,5,.06);
}
.mp-panel h2 {
    margin: 0 0 20px; font-size: 1.25rem; color: var(--maroon);
    padding-bottom: 12px; border-bottom: 2px solid rgba(191,125,29,.25);
}
.mp-count { margin: 0 0 14px; font-weight: 600; color: var(--maroon); }

.mp-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 24px; }
.mp-kv > div { display: flex; flex-direction: column; gap: 3px; }
.mp-kv span { font-size: .82rem; color: #7a6a58; letter-spacing: .03em; }
.mp-kv b { color: var(--maroon-dark); }
.mp-kv__wide { grid-column: 1 / -1; }

/* Tables in the panel. Wide reports scroll inside their own box rather
   than pushing the page sideways. */
.mp-panel .grid-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.mp-panel .grid-table th, .mp-panel .grid-table td {
    padding: 11px 12px; text-align: start; border-bottom: 1px solid rgba(94,10,11,.1);
}
.mp-panel .grid-table th {
    background: var(--cream); color: var(--maroon); font-weight: 700;
    white-space: nowrap;
}
.mp-panel .grid-table tr:hover td { background: rgba(255,248,236,.7); }
.mp-panel .grid-table a { color: var(--red-dark); font-weight: 600; }
.mp-panel .grid-table a.del { color: #a11; margin-inline-start: 12px; }
.mp-panel .badge {
    display: inline-block; padding: 1px 7px; border-radius: 999px;
    font-size: .78rem; background: rgba(191,125,29,.18); color: var(--bronze-dark);
}
.mp-panel .pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin-top: 18px; }
.mp-panel .pager a { padding: 6px 14px; border-radius: 8px; background: var(--cream); color: var(--maroon); font-weight: 700; }
.mp-panel .pager a[disabled] { opacity: .35; pointer-events: none; }

@media (max-width: 720px) {
    .mp-panel { padding: 18px 14px; overflow-x: auto; }
}

/* Printing a report: only the table is worth putting on paper. */
@media print {
    .topbar, .header, .footer, .nav-scrim, .page-head, .mp-bar, .mp-noprint { display: none !important; }
    .mp-panel { box-shadow: none; border: 0; padding: 0; }
    .section { padding: 0; }
}

/* ---------- 32. Pager ---------- */
/* The old site showed every row at once. With the register planned for lakhs
   of people every list is paged in the database now, so it needs page links.
   The colours are the same tokens the buttons use, so it sits inside the
   existing design rather than beside it. */
.pager {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0 8px;
}

.pager__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
    color: var(--maroon);
    font-weight: 600;
    text-decoration: none;
    transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.pager__btn:hover {
    background: var(--cream-2);
    border-color: var(--bronze);
    transform: translateY(-1px);
}

.pager__btn.is-active {
    background: var(--maroon);
    border-color: var(--maroon);
    color: var(--gold-light);
    cursor: default;
}

.pager__gap { color: var(--ink-soft); padding: 0 2px; }

.pager__count {
    width: 100%;
    text-align: center;
    font-size: .9rem;
    color: var(--ink-soft);
    margin-top: 4px;
}

@media (max-width: 560px) {
    .pager__btn { min-width: 36px; height: 36px; padding: 0 9px; font-size: .92rem; }
}

/* ---------- 33. શોધી શકાય તેવું ડ્રોપડાઉન ---------- */
/* દરેક <select> ને JavaScript આ રૂપ આપે છે. અસલી <select> અંદર જ રહે છે —
   પારદર્શક અને પૂરા કદનું — એટલે ફોર્મ, `required` અને બ્રાઉઝરની પોતાની
   ચકાસણી બધું પહેલાં જેવું જ ચાલે છે. JavaScript ન ચાલે તો સાદું ડ્રોપડાઉન
   દેખાય છે, કારણ કે .combo વર્ગ ત્યારે લાગતો જ નથી. */

.combo { position: relative; }

/* બટન સાદા input જેવું જ દેખાય, જેથી ફોર્મમાં કશું અલગ ન લાગે. */
.combo__field {
    width: 100%; padding: 13px 40px 13px 16px; text-align: start;
    font-family: var(--font-body); font-size: 1rem; color: var(--ink);
    background: var(--cream); border: 1.5px solid var(--line); border-radius: 11px;
    cursor: pointer; position: relative;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

/* જમણી બાજુનું તીર */
.combo__field::after {
    content: ''; position: absolute; right: 16px; top: 50%;
    width: 8px; height: 8px; margin-top: -6px;
    border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft);
    transform: rotate(45deg); pointer-events: none;
}

.combo__field:hover { border-color: var(--bronze); }
.combo__field:focus {
    outline: none; background: #fff; border-color: var(--red);
    box-shadow: 0 0 0 4px rgba(223, 33, 7, .14);
}

/* કશું પસંદ ન થયું હોય ત્યારે "(પસંદ કરો)" ઝાંખું દેખાય. */
.combo__field.is-placeholder { color: #9b8a78; }

/* અસલી select : દેખાય નહીં પણ છે ત્યાં જ. display:none કરીએ તો બ્રાઉઝર તેને
   focus કરી શકતું નથી અને "invalid form control is not focusable" કહીને ફોર્મ
   મોકલવાની ના પાડે છે.

   પસંદગીકાર `.combo .combo__native` છે, ફક્ત `.combo__native` નહીં : ઉપર
   `.field select` નિયમ છે જેની specificity વધારે છે, અને એ padding, border
   અને background પાછાં લગાડી દેત. */
.combo .combo__native {
    position: absolute; inset: 0; width: 100%; height: 100%;
    opacity: 0; pointer-events: none;
    appearance: none; -webkit-appearance: none;
    border: 0; padding: 0; margin: 0; background: transparent;
}

/* પેનલ ખૂલે ત્યારે જ દેખાય.

   અહીં `hidden` attribute વાપરવાનું ટાળ્યું છે. બ્રાઉઝરનો પોતાનો નિયમ
   `[hidden] { display: none }` છે, પણ આપણો `display: flex` તેને હરાવી દે છે —
   એટલે hidden હોવા છતાં પેનલ ખુલ્લી જ દેખાતી. વર્ગ વાપરવાથી એ ગૂંચ જ રહેતી નથી. */
.combo__panel {
    display: none;
    position: absolute; z-index: 60; top: calc(100% + 6px); left: 0; right: 0;
    background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow); padding: 10px; max-height: 320px;
    flex-direction: column; gap: 8px;
}
.combo.is-open .combo__panel { display: flex; }

.combo__search {
    width: 100%; padding: 10px 13px;
    font-family: var(--font-body); font-size: .96rem; color: var(--ink);
    background: var(--cream); border: 1.5px solid var(--line); border-radius: 9px;
}
.combo__search:focus {
    outline: none; background: #fff; border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(223, 33, 7, .12);
}

.combo__list {
    list-style: none; margin: 0; padding: 0;
    overflow-y: auto; max-height: 240px;
}

.combo__option {
    padding: 9px 13px; border-radius: 8px; cursor: pointer; font-size: .97rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.combo__option.is-active { background: var(--cream-2); }
.combo__option.is-selected { color: var(--maroon); font-weight: 700; }
.combo__option.is-selected.is-active { background: var(--gold); color: var(--maroon-dark); }

/* "કંઈ મળ્યું નહીં" — શોધનું પરિણામ ખાલી હોય ત્યારે જ. વર્ગથી, જેથી ઉપરની
   જેમ કોઈ display નિયમ તેને ફરી દેખાડી ન દે. */
.combo__empty { display: none; padding: 10px 13px; color: var(--ink-soft); font-size: .93rem; }
.combo__empty.is-shown { display: block; }

/* એડમિન પેનલમાં ફોર્મ ઘટ્ટ છે, એટલે ત્યાં થોડું નાનું. */
.admin-body .combo__field { padding: 11px 38px 11px 14px; }
.admin-body .combo__panel { max-height: 300px; }
