/* ══════════════════════════════════════════════════════════════
   Vaikathashtami — homepage card, nav pill and festival page
   Loaded after fonts-override.css / premium-mobile-nav.css.
   Everything is scoped with the vvf- prefix.
   Palette = existing site tokens: --red #C0211B, --red-dark #8B1310 (breaking ticker),
   gold #F1C40F (ticker dot / --gold in section-heads.css).
   ══════════════════════════════════════════════════════════════ */

:root {
    --vvf-red: #C0211B;
    --vvf-maroon: #8B1310;
    --vvf-maroon-deep: #3B0A07;
    --vvf-gold: #F1C40F;
    --vvf-ink: #111111;
    --vvf-muted: #555555;
    --vvf-line: #E0DADA;
    --vvf-soft: #F3F1F1;
    --vvf-blush: #FDECEA;
    --vvf-cream: #FFF9E0;
    --vvf-onmaroon: #FBE9E7;
}

/* ── Auto-removal once the festival is over (class set by partials/vaikathashtami/head.hbs) ── */
.vv-fest-over .vv-fest,
.vv-fest-over .vvf-live-only {
    display: none !important;
}
.vvf-closed { display: none; }
.vv-fest-over .vvf-closed { display: block; }

.vvf [hidden],
.vvf-cardwrap [hidden] { display: none !important; }

/* ── Small shared pieces ── */
.vvf-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--vvf-gold);
    flex-shrink: 0;
    animation: vvfPulse 1.2s ease-in-out infinite;
}
@keyframes vvfPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(1.5); }
}
@media (prefers-reduced-motion: reduce) {
    .vvf-live-dot { animation: none; }
    .vvf-card, .vvf-btn { transition: none !important; }
}

.vvf-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--vvf-gold);
}

.vvf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    box-sizing: border-box;
    transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.vvf-btn-gold { background: var(--vvf-gold); color: var(--vvf-maroon-deep); border: 1.5px solid var(--vvf-gold); }
.vvf-btn-gold:hover { background: #f6d03a; }
.vvf-btn-ghost { background: transparent; color: var(--vvf-gold); border: 1.5px solid var(--vvf-gold); }
.vvf-btn-ghost:hover { background: rgba(241, 196, 15, .14); }
.vvf-btn-red { background: var(--vvf-red); color: #fff; border: 1.5px solid var(--vvf-red); }
.vvf-btn-red:hover { background: var(--vvf-maroon); }
.vvf-btn:active { transform: scale(.98); }
.vvf a:focus-visible,
.vvf button:focus-visible,
.vvf input:focus-visible,
.vvf textarea:focus-visible,
.vvf-card a:focus-visible,
.vvf-navpill:focus-visible {
    outline: 3px solid var(--vvf-gold);
    outline-offset: 2px;
}

/* progress dots (13 festival days) */
.vvf-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.vvf-pdots { display: inline-flex; gap: clamp(3px, .8vw, 6px); align-items: center; }
.vvf-pdots i {
    display: block;
    width: clamp(9px, 2.6vw, 14px);
    height: clamp(9px, 2.6vw, 14px);
    border-radius: 50%;
    border: 2px solid var(--vvf-gold);
    box-sizing: border-box;
    background: transparent;
}
.vvf-pdots i.is-on { background: var(--vvf-gold); }
.vvf-progress-lg .vvf-pdots i { width: clamp(10px, 3vw, 16px); height: clamp(10px, 3vw, 16px); }
.vvf-pday { font-size: 15.2px; font-weight: 700; color: var(--vvf-gold); }

/* ══════════ 1. Homepage card ══════════ */
.vvf-cardwrap { margin: 0 0 clamp(20px, 3vw, 32px); }
.vvf-card {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 28px;
    padding: clamp(20px, 3.2vw, 32px) clamp(18px, 3.6vw, 36px);
    background: var(--vvf-maroon);
    color: #fff;
    border-radius: 8px;
    box-sizing: border-box;
    transition: box-shadow .2s ease;
}
.vvf-card:hover { box-shadow: 0 8px 24px rgba(139, 19, 16, .28); }
.vvf-card-body { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.vvf-card-title { margin: 0; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.2; color: #fff; }
.vvf-card-title a { color: inherit; text-decoration: none; }
/* whole card is clickable via the title link; the buttons sit above it */
.vvf-card-link::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.vvf-card-sub { margin: 0; font-size: clamp(15.2px, 2vw, 17.6px); line-height: 1.7; color: var(--vvf-onmaroon); }
.vvf-card-sub span { display: block; }
.vvf-card-sub span + span { margin-top: 2px; font-weight: 600; color: #fff; }
.vvf-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 4px; }
.vvf-card-actions .vvf-btn { position: relative; z-index: 1; }
.vvf-next { font-size: 14.4px; color: var(--vvf-onmaroon); line-height: 1.5; }
.vvf-next strong { color: #fff; }
.vvf-next-time { display: inline-block; white-space: nowrap; }
.vvf-next-time::before { content: "· "; color: var(--vvf-gold); }
@media (max-width: 640px) {
    .vvf-next { flex: 1 1 100%; display: flex; flex-direction: column; gap: 2px; }
    .vvf-next strong { display: flex; flex-direction: column; gap: 2px; }
    .vvf-next-time::before { content: none; }
    .vvf-next-time { color: var(--vvf-gold); }
}
.vvf-card-art { flex: 0 0 auto; color: var(--vvf-gold); padding: 0 clamp(8px, 2vw, 24px); }
.vvf-card-art .vvf-lamp { display: block; width: clamp(96px, 12vw, 150px); height: auto; }
@media (max-width: 640px) {
    .vvf-hide-sm { display: none !important; }
    .vvf-card-art { display: none; }
    .vvf-card-actions .vvf-btn { flex: 1 1 100%; min-height: 48px; }
}

/* ══════════ 2. Nav pill (desktop nav, mobile quick link, drawer) ══════════ */
.vvf-navpill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: center;
    margin-left: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--vvf-maroon);
    color: var(--vvf-gold) !important;
    font-size: 15.2px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
}
.vvf-navpill:hover { background: var(--vvf-maroon-deep); }
.vvf-badge {
    background: var(--vvf-gold);
    color: var(--vvf-maroon);
    font-size: 9.9px;
    font-weight: 800;
    letter-spacing: .08em;
    padding: 2px 6px;
    border-radius: 4px;
}
@media (min-width: 769px) and (max-width: 1100px) {
    #vaikom-custom-header .main-navigation-content { flex-wrap: wrap; }
    .vvf-navpill { padding: 6px 12px; font-size: 13.6px; margin-top: 4px; margin-bottom: 4px; }
}
@media (max-width: 768px) {
    /* inside the slide-out drawer: first item, full width */
    .main-navigation-content#mobile-nav-content .vvf-navpill {
        order: -1;
        align-self: stretch;
        justify-content: center;
        margin: 12px 20px 4px;
        padding: 12px 16px;
        font-size: 16px;
    }
    /* quick link in the red mobile top bar */
    .mobile-quick-links a.vvf-quick {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
        padding: 6px 12px;
        border-radius: 999px;
        background: var(--vvf-gold);
        color: var(--vvf-maroon-deep) !important;
        font-size: 13px;
        font-weight: 800;
    }
    .mobile-quick-links a.vvf-quick .vvf-live-dot { background: var(--vvf-maroon); width: 7px; height: 7px; }
}
@media (min-width: 769px) {
    .mobile-quick-links a.vvf-quick { display: none; }
}

/* ══════════ 3. Festival page ══════════ */
.vvf { color: var(--vvf-ink); }
.vvf ul, .vvf ol { margin: 0; padding: 0; list-style: none; }
.vvf p { margin: 0; }
.vvf-wrap { max-width: 1280px; margin: 0 auto; padding-inline: clamp(14px, 2.4vw, 24px); box-sizing: border-box; }

/* hero */
.vvf-hero { background: var(--vvf-maroon); color: #fff; }
.vvf-hero-in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px clamp(16px, 4vw, 40px);
    align-items: center;
    padding-block: clamp(22px, 4vw, 40px);
}
.vvf-hero-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.vvf-crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14.4px; color: var(--vvf-onmaroon); }
.vvf-crumb a { color: var(--vvf-onmaroon); text-decoration: none; }
.vvf-crumb a:hover { text-decoration: underline; }
.vvf-crumb-now { color: var(--vvf-gold); font-weight: 700; }
.vvf-h1 { margin: 0; font-size: clamp(32px, 6vw, 56px); line-height: 1.2; color: #fff; font-weight: 800 !important; }
.vvf-lead { display: flex; flex-direction: column; gap: 4px; font-size: clamp(15.7px, 2.2vw, 18.4px); line-height: 1.75; color: var(--vvf-onmaroon); max-width: 736px; }
.vvf-lead span:nth-child(2) { color: #fff; font-weight: 700; }
.vvf-lead-vr { font-size: .92em; }
.vvf-hero-art { color: var(--vvf-gold); padding-inline: clamp(0px, 3vw, 32px); }
.vvf-hero-art .vvf-lamp { display: block; width: clamp(100px, 13vw, 170px); height: auto; }
.vvf-keys {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 12px;
}
.vvf-key {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 16px;
    background: rgba(0, 0, 0, .22);
    border: 1px solid var(--vvf-gold);
    border-radius: 8px;
}
.vvf-key-l { font-size: 12.8px; font-weight: 700; color: var(--vvf-gold); }
.vvf-key-d { font-size: 16px; font-weight: 700; }
.vvf-key-v { font-size: 12.8px; color: var(--vvf-onmaroon); }
.vvf-key.is-done { opacity: .72; }
.vvf-key.is-today { background: rgba(241, 196, 15, .18); box-shadow: 0 0 0 2px var(--vvf-gold); }
@media (max-width: 720px) {
    .vvf-hero-in { grid-template-columns: minmax(0, 1fr); }
    .vvf-hero-art { display: none; }
}

/* tabs */
.vvf-tabs { background: #fff; border-bottom: 1px solid var(--vvf-line); }
.vvf-tabs-in { display: flex; flex-wrap: wrap; align-items: center; }
.vvf-tab {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 700;
    color: #2C3E50;
    text-decoration: none;
    white-space: nowrap;
}
.vvf-tab:hover { color: var(--vvf-red); }
.vvf-tab.is-active { color: var(--vvf-red); box-shadow: inset 0 -3px 0 var(--vvf-red); }
.vvf-tabs-cta { margin-left: auto; min-height: 44px; margin-block: 4px; }
@media (max-width: 640px) {
    .vvf-tabs-in { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .vvf-tabs-in::-webkit-scrollbar { display: none; }
    .vvf-tab { padding: 0 14px; }
    .vvf-tabs-cta { margin-left: 8px; flex-shrink: 0; }
}

/* sections */
.vvf-body { padding-bottom: clamp(40px, 7vw, 80px); }
.vvf-sec { margin-top: clamp(40px, 6vw, 72px); scroll-margin-top: 110px; }
.vvf-sh {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    padding: 6px 0 12px;
    margin-bottom: 16px;
    border-bottom: 2.5px solid var(--vvf-red);
}
.vvf-sh h2 { margin: 0; font-size: clamp(20px, 3vw, 24px); line-height: 1.3; color: var(--vvf-red); }
.vvf-sh-sub { font-size: 14.4px; color: var(--vvf-muted); }
.vvf-livebadge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--vvf-red);
    color: #fff;
    font-size: 10.9px;
    font-weight: 800;
    letter-spacing: .1em;
    align-self: center;
}
.vvf-sh-more { margin-left: auto; font-size: 13.6px; font-weight: 600; color: var(--vvf-red); text-decoration: none; }

/* live: news + today */
.vvf-live-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 28px clamp(20px, 3vw, 32px);
    align-items: start;
}
@media (max-width: 960px) {
    .vvf-live-grid { grid-template-columns: minmax(0, 1fr); }
}
.vvf-news { display: flex; gap: clamp(12px, 2vw, 18px); padding: 18px 0; border-bottom: 1px solid var(--vvf-line); }
.vvf-news:last-child { border-bottom: 0; }
.vvf-thumb {
    flex: 0 0 auto;
    width: clamp(96px, 22vw, 160px);
    aspect-ratio: 3 / 2;
    border-radius: 6px;
    background: #E8E2E2;
    overflow: hidden;
}
.vvf-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vvf-news-b { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.vvf-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 12.5px; }
.vvf-chip { padding: 2px 8px; border-radius: 4px; background: var(--vvf-blush); color: var(--vvf-maroon); font-weight: 700; }
.vvf-ago { color: var(--vvf-muted); }
.vvf-news-t { margin: 0; font-size: clamp(16px, 2.4vw, 20px); line-height: 1.5; }
.vvf-news-t a { color: var(--vvf-ink); text-decoration: none; }
.vvf-news-t a:hover { color: var(--vvf-red); }
.vvf-news-x { font-size: 15.2px; line-height: 1.75; color: var(--vvf-muted); overflow-wrap: anywhere; }
.vvf-empty {
    padding: 28px 20px;
    border: 1.5px dashed #BDB6B6;
    border-radius: 8px;
    text-align: center;
    color: var(--vvf-muted);
    line-height: 1.7;
}
.vvf-aside { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.vvf-panel { background: #fff; border: 1px solid var(--vvf-line); border-radius: 8px; overflow: hidden; }
.vvf-panel-h { display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; background: var(--vvf-maroon); color: var(--vvf-gold); }
.vvf-panel-h small { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; }
.vvf-panel-h strong { font-size: 17.6px; font-weight: 700; color: #fff; }
.vvf-today-row { display: grid; grid-template-columns: 99.2px minmax(0, 1fr) auto; gap: 4px 12px; align-items: baseline; padding: 11px 18px; border-top: 1px solid #F0EDED; }
.vvf-today-row b { font-size: 13.6px; color: var(--vvf-red); font-weight: 700; }
.vvf-today-row span { font-size: 15.7px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.vvf-today-row em { font-style: normal; font-size: 10.4px; font-weight: 800; padding: 2px 8px; border-radius: 4px; background: #EEEAEA; color: var(--vvf-muted); }
.vvf-today-row.is-now, .vvf-today-row.is-next { background: var(--vvf-blush); }
.vvf-today-row.is-now em, .vvf-today-row.is-next em { background: var(--vvf-red); color: #fff; }
.vvf-today-row.is-past { opacity: .6; }
.vvf-sponsor { display: block; }
.vvf-sponsor img { display: block; width: 100%; height: auto; border-radius: 8px; }

/* rituals / highlights */
.vvf-hls { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.vvf-hl { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px; background: #fff; border: 1px solid var(--vvf-line); border-radius: 8px; }
.vvf-hl-state { align-self: flex-start; font-size: 10.9px; font-weight: 800; padding: 3px 9px; border-radius: 4px; background: #EEEAEA; color: var(--vvf-muted); }
.vvf-hl-state:empty { display: none; }
.vvf-hl-when { font-size: 13.1px; font-weight: 700; color: var(--vvf-red); }
.vvf-hl-title { margin: 2px 0 6px; font-size: 18.4px; line-height: 1.5; }
.vvf-hl-text { font-size: 15.2px; line-height: 1.8; color: #444; overflow-wrap: anywhere; }
.vvf-hl-text + .vvf-hl-text { margin-top: 8px; }
.vvf-hl.is-done { background: #FAF8F8; }
.vvf-hl.is-done .vvf-hl-title { color: var(--vvf-muted); }
.vvf-hl.is-today, .vvf-hl.is-live { background: var(--vvf-cream); border-color: var(--vvf-gold); box-shadow: 0 0 0 1px var(--vvf-gold); }
.vvf-hl.is-today .vvf-hl-state, .vvf-hl.is-live .vvf-hl-state { background: var(--vvf-maroon); color: var(--vvf-gold); }

/* programmes: attractions + day picker + day panels */
.vvf-attrs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.vvf-attr {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 10px;
    min-height: 40px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid var(--vvf-line);
    border-radius: 999px;
    color: var(--vvf-ink);
    text-decoration: none;
    font-size: 14.4px;
}
.vvf-attr strong { font-weight: 700; }
.vvf-attr span { color: var(--vvf-red); font-weight: 700; font-size: 12.8px; }
.vvf-attr:hover { border-color: var(--vvf-red); }

.vvf-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.vvf-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 62px;
    min-height: 66px;
    padding: 6px 10px;
    background: #fff;
    border: 1px solid var(--vvf-line);
    border-radius: 8px;
    color: var(--vvf-ink);
    text-decoration: none;
    line-height: 1.2;
    box-sizing: border-box;
}
.vvf-pill b { font-size: 21.6px; font-weight: 800; }
.vvf-pill span { font-size: 12px; font-weight: 700; }
.vvf-pill i { font-style: normal; font-size: 9.9px; font-weight: 800; min-height: .8em; color: var(--vvf-red); }
.vvf-pill:hover { border-color: var(--vvf-red); }
.vvf-pill.is-today { border: 2px solid var(--vvf-red); }
.vvf-pill.is-sel { background: var(--vvf-maroon); border-color: var(--vvf-gold); color: var(--vvf-gold); }
.vvf-pill.is-sel i { color: var(--vvf-gold); }
@media (max-width: 480px) {
    .vvf-pill { min-width: 0; flex: 1 0 calc(14.28% - 8px); min-height: 60px; padding: 4px 2px; }
    .vvf-pill b { font-size: 17.6px; }
}

.vvf-day { background: #fff; border: 1px solid var(--vvf-line); border-radius: 8px; overflow: hidden; margin-bottom: 18px; scroll-margin-top: 110px; }
.vvf-day-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding: 22px clamp(14px, 2.5vw, 28px); background: var(--vvf-maroon); color: #fff; }
.vvf-day-name { margin: 0; font-size: clamp(18.4px, 3vw, 24px); line-height: 1.3; color: var(--vvf-gold); font-weight: 800 !important; }
.vvf-day-date { font-size: 16.8px; font-weight: 700; }
.vvf-day-vr { font-size: 14.4px; color: var(--vvf-onmaroon); }
.vvf-day-note { padding: 3px 12px; border: 1px solid var(--vvf-gold); border-radius: 999px; font-size: 12.8px; font-weight: 700; color: var(--vvf-gold); }
.vvf-row {
    display: grid;
    grid-template-columns: minmax(110px, 200px) minmax(0, 1fr);
    gap: 6px 24px;
    padding: 20px clamp(14px, 2.5vw, 28px);
    border-top: 1px solid #F0EDED;
}
.vvf-t { font-size: 14.7px; font-weight: 700; line-height: 1.7; color: var(--vvf-red); }
.vvf-b { min-width: 0; }
.vvf-h { margin: 0; font-size: 16.8px; line-height: 1.6; font-weight: 700 !important; overflow-wrap: anywhere; }
.vvf-d { margin-top: 6px; font-size: 15.2px; line-height: 1.85; color: #444; overflow-wrap: anywhere; }
.vvf-note { font-size: 14.4px; color: var(--vvf-muted); }

/* role / value pairs (നാദസ്വരം, തകിൽ, വോക്കൽ, ഭീമൻ ...) share one two-column grid per row */
.vvf-kvs { display: grid; gap: 10px; margin: 10px 0 0; padding: 0; }
.vvf-kv { display: grid; grid-template-columns: minmax(78px, 132px) minmax(0, 1fr); gap: 2px 16px; align-items: baseline; }
.vvf-kv dt { margin: 0; font-size: 13.6px; font-weight: 700; line-height: 1.8; color: var(--vvf-muted); }
.vvf-kv dd { margin: 0; font-size: 15.2px; line-height: 1.85; color: #333; overflow-wrap: anywhere; }
/* long name lists: every name stays whole; lines wrap between names, never inside one */
.vvf-n { display: inline-block; margin: 0 4px 6px 0; padding: 2px 11px; background: #F5F1F1; border-radius: 6px; font-size: 14.4px; line-height: 1.7; }
.vvf-pre { display: inline-block; margin: 0 6px 6px 0; color: var(--vvf-muted); font-size: 14px; font-weight: 700; }
.vvf-row.is-main .vvf-n { background: #fff; }
/* story titles inside Kathakali rows (കഥ 1 / കഥ 2) read as sub-headings */
.vvf-kv.is-story { margin-top: 8px; padding-top: 12px; border-top: 1px dashed #E5D9D8; }
.vvf-kv.is-story dt { color: var(--vvf-red); }
.vvf-kv.is-story dd { font-size: 17.6px; font-weight: 700; color: var(--vvf-ink); }
.vvf-row.is-main { background: #FDF6F5; }
.vvf-row.is-main .vvf-h { font-size: 19.2px; color: var(--vvf-red); font-weight: 800 !important; }
.vvf-row.is-now { background: var(--vvf-cream); box-shadow: inset 0 0 0 2px var(--vvf-gold); }
.vvf-row.is-next { background: var(--vvf-blush); }
.vvf-row.is-past .vvf-h { color: var(--vvf-muted); }
.vvf-foot { padding: 20px clamp(14px, 2.5vw, 28px); background: var(--vvf-soft); border-top: 1px solid #F0EDED; font-size: 14.4px; line-height: 1.8; color: #333; }
.vvf-foot p + p { margin-top: 8px; }
.vvf-foot b { font-weight: 700; }
.vvf-foot b::after { content: ":"; }
.vvf-fine { margin-top: 18px; font-size: 13.6px; line-height: 1.85; color: var(--vvf-muted); max-width: 920px; }
@media (max-width: 560px) {
    .vvf-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding-block: 18px; }
    .vvf-kv { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .vvf-kv dt { line-height: 1.5; }
}

/* elephants */
.vvf-elephants { display: flex; flex-wrap: wrap; gap: 12px; }
.vvf-elephants li { padding: 10px 18px; line-height: 1.6; background: #fff; border: 1px solid var(--vvf-line); border-radius: 8px; font-size: 16px; font-weight: 600; }

/* notices */
.vvf-notices { counter-reset: vvfn; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.vvf-notices li {
    counter-increment: vvfn;
    position: relative;
    padding: 20px 20px 20px 62px;
    background: #fff;
    border: 1px solid var(--vvf-line);
    border-radius: 8px;
    font-size: 15.7px;
    line-height: 1.9;
    color: #333;
    overflow-wrap: anywhere;
}
.vvf-notices li p + p { margin-top: 10px; }
.vvf-notices li::before {
    content: counter(vvfn);
    position: absolute;
    left: 18px;
    top: 20px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--vvf-maroon);
    color: var(--vvf-gold);
    font-size: 13.6px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* closed notice */
.vvf-closed-box { margin-top: clamp(24px, 4vw, 40px); padding: clamp(22px, 4vw, 36px); background: var(--vvf-cream); border: 1.5px solid var(--vvf-gold); border-radius: 8px; text-align: center; }
.vvf-closed-box h2 { margin: 0 0 8px; font-size: clamp(20.8px, 3.4vw, 28.8px); color: var(--vvf-maroon); }
.vvf-closed-box p { line-height: 1.8; color: #444; }
.vvf-closed-box .vvf-btn { margin-top: 14px; }

/* send news */
.vvf-send { display: flex; flex-wrap: wrap; gap: 28px clamp(20px, 4vw, 40px); padding: clamp(22px, 4vw, 36px); background: var(--vvf-maroon); color: #fff; border-radius: 8px; }
.vvf-send-copy { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.vvf-send-copy h2 { margin: 0; font-size: clamp(24px, 4vw, 32px); line-height: 1.35; color: #fff; }
.vvf-send-copy p { line-height: 1.8; color: var(--vvf-onmaroon); }
.vvf-send-copy .vvf-btn { align-self: flex-start; }
.vvf-formcard { flex: 1 1 360px; min-width: 0; padding: clamp(16px, 3vw, 24px); background: #fff; color: var(--vvf-ink); border-radius: 8px; box-sizing: border-box; }
.vvf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.vvf-field label, .vvf-field legend { font-size: 14.4px; font-weight: 700; padding: 0; }
.vvf-field input[type="text"],
.vvf-field input[type="email"],
.vvf-field input[type="tel"],
.vvf-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #BDB6B6;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    background: #fff;
}
.vvf-field input[readonly] { background: var(--vvf-soft); color: #666; }
.vvf-field textarea { resize: vertical; }
.vvf-field input[type="file"] { font-size: 14.4px; max-width: 100%; }
.vvf-field small { font-size: 12.8px; color: var(--vvf-muted); }
.vvf-radios { display: flex; flex-wrap: wrap; gap: 4px 18px; border: 0; margin: 0 0 14px; padding: 0; }
.vvf-radios legend { width: 100%; font-size: 14.4px; font-weight: 700; padding: 0 0 4px; }
.vvf-radios label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-size: 16px; }
.vvf-formcard .vvf-btn { width: 100%; min-height: 48px; font-size: 16.8px; cursor: pointer; }
.vvf-formcard .vvf-btn[disabled] { opacity: .6; cursor: not-allowed; }
.vvf-alert { padding: 12px 14px; margin-bottom: 14px; border-radius: 6px; font-size: 15.2px; font-weight: 600; line-height: 1.6; }
.vvf-alert.is-error { background: #FFEBEE; color: #B71C1C; border: 1px solid #FFCDD2; }
.vvf-alert.is-ok { background: #E8F5E9; color: #1B5E20; border: 1px solid #C8E6C9; }
.vvf-members { text-align: center; }
.vvf-members h3 { margin: 0 0 8px; font-size: 19.2px; }
.vvf-members p { line-height: 1.7; color: #444; margin-bottom: 12px; }
.vvf-members .vvf-btn { width: auto; margin: 4px; }
.vvf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* very small phones */
@media (max-width: 360px) {
    .vvf-news { flex-direction: column; }
    .vvf-thumb { width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   DESIGN LAYER — vector icons, ornaments and scroll motion
   Icons come from vaikathashtami-icons.css (generated): every icon is a CSS mask painted with currentColor.
   Motion is armed only when <html> has .vvf-js (set in partials/vaikathashtami/head.hbs, and only
   when IntersectionObserver exists and the visitor has not asked for reduced motion).
   ══════════════════════════════════════════════════════════════ */

/* ── icon primitives ── */
.vvf-ic {
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    flex: none;
    vertical-align: -.22em;
    background: currentColor;
    -webkit-mask: var(--vvf-ic) center / contain no-repeat;
    mask: var(--vvf-ic) center / contain no-repeat;
}
/* every schedule row shows the icon of its kind (generated as data-k="music|dance|lamp|...") */
.vvf-row[data-k] .vvf-h::before {
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    margin-right: 9px;
    vertical-align: -.2em;
    background: currentColor;
    -webkit-mask: var(--vvf-ic) center / contain no-repeat;
    mask: var(--vvf-ic) center / contain no-repeat;
    opacity: .48;
}
.vvf-row.is-main .vvf-h::before { opacity: .95; width: 1.2em; height: 1.2em; }

/* ── hero: lattice pattern, drifting gopuram, kasavu border ── */
.vvf-hero { position: relative; overflow: hidden; isolation: isolate; }
.vvf-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23F1C40F' stroke-width='1'%3E%3Cpath d='M28 4l24 24-24 24L4 28z'/%3E%3Ccircle cx='28' cy='28' r='5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 56px 56px;
    opacity: .11;
    -webkit-mask-image: linear-gradient(270deg, #000 0, transparent 78%);
    mask-image: linear-gradient(270deg, #000 0, transparent 78%);
}
.vvf-hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.vvf-hero-gopuram {
    position: absolute;
    right: max(2vw, calc((100vw - 1280px) / 2 + 8px));
    bottom: -10px;
    width: clamp(190px, 26vw, 340px);
    color: var(--vvf-gold);
    opacity: .14;
    transform: translate3d(0, calc(var(--par, 0) * 1px), 0);
}
.vvf-gopuram { display: block; width: 100%; height: auto; }
.vvf-hero-in { position: relative; z-index: 1; }
.vvf-kasavu {
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 2h28M0 12h28' stroke='%23F1C40F' stroke-width='1.6'/%3E%3Cpath d='M14 3.6l4.4 3.4-4.4 3.4-4.4-3.4z' fill='%23F1C40F'/%3E%3C/svg%3E") repeat-x center / 28px 14px;
}

/* the temple lamp: every flame flickers on its own rhythm */
.vvf-lamp { filter: drop-shadow(0 0 10px rgba(241, 196, 15, .35)); overflow: visible; }
.vvf-lamp .vvf-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: vvfFlame 2.6s ease-in-out infinite; }
@keyframes vvfFlame {
    0%, 100% { transform: scale(1, 1) skewX(0); }
    30% { transform: scale(.9, 1.09) skewX(-3deg); }
    65% { transform: scale(1.05, .94) skewX(3deg); }
}

/* key-date cards carry their ritual icon */
.vvf-key { position: relative; padding-right: 62px; }
.vvf-key > .vvf-ic { position: absolute; right: 16px; top: 50%; width: 30px; height: 30px; margin-top: -15px; vertical-align: 0; color: var(--vvf-gold); opacity: .92; }

/* tabs */
.vvf-tab .vvf-ic { margin-right: 8px; width: 1.15em; height: 1.15em; opacity: .85; }
.vvf-tabs-cta .vvf-ic { margin-right: 8px; }

/* ── section headings: icon badge + underline that draws itself ── */
.vvf-sh { position: relative; border-bottom-color: rgba(192, 33, 27, .16); }
.vvf-sh::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2.5px;
    width: 100%;
    height: 2.5px;
    background: var(--vvf-red);
    transform-origin: left center;
    transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}
.vvf-sh-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--vvf-maroon);
    color: var(--vvf-gold);
    transition: transform .6s cubic-bezier(.3, 1.4, .5, 1), opacity .4s ease;
}
.vvf-sh-ic .vvf-ic { width: 22px; height: 22px; vertical-align: 0; }

/* ornament divider between sections */
.vvf-orn { display: flex; align-items: center; gap: 18px; max-width: 560px; margin: clamp(44px, 6vw, 76px) auto 0; }
.vvf-orn::before, .vvf-orn::after { content: ""; flex: 1; height: 2px; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.vvf-orn::before { background: linear-gradient(90deg, transparent, var(--vvf-gold)); transform-origin: right center; }
.vvf-orn::after { background: linear-gradient(270deg, transparent, var(--vvf-gold)); transform-origin: left center; }
.vvf-orn-ic {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border: 2px solid var(--vvf-gold);
    border-radius: 50%;
    background: var(--vvf-cream);
    color: var(--vvf-maroon);
    transition: transform .8s cubic-bezier(.3, 1.4, .5, 1), opacity .5s ease;
}
.vvf-orn-ic .vvf-ic { width: 26px; height: 26px; vertical-align: 0; }
.vvf-orn + .vvf-sec { margin-top: clamp(26px, 3.5vw, 40px); }

/* ritual cards */
.vvf-hl { overflow: hidden; }
.vvf-hl:hover { box-shadow: 0 10px 28px rgba(139, 19, 16, .13); border-color: #D9C9C8; }
.vvf-hl-ic { position: absolute; right: 18px; top: 18px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--vvf-soft); color: var(--vvf-maroon); }
.vvf-hl-ic .vvf-ic { width: 26px; height: 26px; vertical-align: 0; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.vvf-hl:hover .vvf-hl-ic .vvf-ic { transform: scale(1.14) rotate(-5deg); }
.vvf-hl-title { padding-right: 60px; }
.vvf-hl.is-today .vvf-hl-ic, .vvf-hl.is-live .vvf-hl-ic { background: var(--vvf-maroon); color: var(--vvf-gold); }
.vvf-hl.is-done .vvf-hl-ic { opacity: .5; }

/* programme: attraction chips, day header icon */
.vvf-attr .vvf-ic { width: 1.35em; height: 1.35em; color: var(--vvf-red); }
.vvf-day-ic { width: 30px; height: 30px; flex: none; vertical-align: 0; color: var(--vvf-gold); }
.vvf-day:not([hidden]) .vvf-day-ic { animation: vvfPop .6s .1s both; }

/* elephants */
.vvf-elephants li { display: inline-flex; align-items: center; gap: 10px; }
.vvf-elephants .vvf-ic { width: 26px; height: 26px; vertical-align: 0; color: var(--vvf-maroon); }

/* today panel + closed notice + send section */
.vvf-panel-h small .vvf-ic { width: 16px; height: 16px; margin-right: 6px; vertical-align: -2px; }
.vvf-closed-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 12px; border-radius: 50%; background: var(--vvf-maroon); color: var(--vvf-gold); }
.vvf-closed-ic .vvf-ic { width: 36px; height: 36px; vertical-align: 0; }
.vvf-send { position: relative; overflow: hidden; isolation: isolate; }
.vvf-send::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23F1C40F' stroke-width='1'%3E%3Cpath d='M28 4l24 24-24 24L4 28z'/%3E%3Ccircle cx='28' cy='28' r='5'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 56px 56px;
    opacity: .08;
}
.vvf-send-badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--vvf-gold); color: var(--vvf-maroon); }
.vvf-send-badge .vvf-ic { width: 30px; height: 30px; vertical-align: 0; }

/* reading-progress bar */
.vvf-bar { position: fixed; left: 0; top: 0; z-index: 10060; width: 100%; height: 3px; pointer-events: none; }
.vvf-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--vvf-gold), var(--vvf-red)); transform-origin: left center; transform: scaleX(0); }

/* ── motion ── */
@keyframes vvfPop { 0% { transform: scale(.4); } 60% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes vvfRise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }
@keyframes vvfPanelIn { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes vvfGlow { 0%, 100% { box-shadow: inset 0 0 0 2px var(--vvf-gold), 0 0 0 rgba(241, 196, 15, 0); } 50% { box-shadow: inset 0 0 0 2px var(--vvf-gold), 0 0 22px rgba(241, 196, 15, .45); } }

.vvf-row.is-now { animation: vvfGlow 2.4s ease-in-out infinite; }
.vvf-pill.is-sel { animation: vvfPop .35s ease both; }
.vvf-pdots i { transition: background-color .35s ease; }
.vvf-pdots i.is-on { animation: vvfPop .5s ease both; }

/* hero text rises in on load */
html.vvf-js .vvf-hero-main > * { animation: vvfRise .85s cubic-bezier(.2, .7, .2, 1) both; }
html.vvf-js .vvf-hero-main > :nth-child(2) { animation-delay: .08s; }
html.vvf-js .vvf-hero-main > :nth-child(3) { animation-delay: .16s; }
html.vvf-js .vvf-hero-main > :nth-child(4) { animation-delay: .26s; }
html.vvf-js .vvf-hero-main > :nth-child(5) { animation-delay: .36s; }
html.vvf-js .vvf-hero-art { animation: vvfRise 1s .25s cubic-bezier(.2, .7, .2, 1) both; }

/* a day's schedule fades up when you pick it */
html.vvf-js .vvf-day:not([hidden]) { animation: vvfPanelIn .5s cubic-bezier(.2, .7, .2, 1) both; }

/* scroll reveal */
html.vvf-js .vvf-reveal {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition: opacity .7s cubic-bezier(.2, .7, .2, 1), transform .7s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease, border-color .25s ease;
    transition-delay: calc(min(var(--i, 0), 8) * 70ms), calc(min(var(--i, 0), 8) * 70ms), 0s, 0s;
    will-change: opacity, transform;
}
html.vvf-js .vvf-reveal.is-in { opacity: 1; transform: none; will-change: auto; }
html.vvf-js .vvf-news.vvf-reveal:not(.is-in) { transform: translate3d(-30px, 0, 0); }
html.vvf-js .vvf-elephants .vvf-reveal:not(.is-in) { transform: scale(.82); }
html.vvf-js .vvf-pill.vvf-reveal:not(.is-in) { transform: translate3d(0, 14px, 0) scale(.9); }
html.vvf-js .vvf-send.vvf-reveal:not(.is-in) { transform: translate3d(0, 44px, 0); }
html.vvf-js .vvf-draw:not(.is-in)::after { transform: scaleX(0); }
html.vvf-js .vvf-draw:not(.is-in) .vvf-sh-ic { transform: scale(.3) rotate(-30deg); opacity: 0; }
html.vvf-js .vvf-orn:not(.is-in)::before, html.vvf-js .vvf-orn:not(.is-in)::after { transform: scaleX(0); }
html.vvf-js .vvf-orn:not(.is-in) .vvf-orn-ic { transform: scale(.4) rotate(-90deg); opacity: 0; }

@media (max-width: 720px) {
    .vvf-hero-gopuram { width: 170px; opacity: .1; }
    .vvf-key { padding-right: 56px; }
    .vvf-sh-ic { width: 34px; height: 34px; }
    .vvf-sh-ic .vvf-ic { width: 19px; height: 19px; }
    .vvf-hl-ic { width: 42px; height: 42px; right: 14px; top: 14px; }
    .vvf-hl-ic .vvf-ic { width: 23px; height: 23px; }
    .vvf-hl-title { padding-right: 52px; }
}
@media (max-width: 520px) {
    .vvf-tab .vvf-ic { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .vvf-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .vvf-draw::after, .vvf-orn::before, .vvf-orn::after { transform: none !important; transition: none !important; }
    .vvf-draw .vvf-sh-ic, .vvf-orn-ic { transform: none !important; opacity: 1 !important; transition: none !important; }
    .vvf-lamp .vvf-flame, .vvf-row.is-now, .vvf-pill.is-sel, .vvf-pdots i.is-on, .vvf-day:not([hidden]), .vvf-day-ic { animation: none !important; }
    .vvf-hero-gopuram { transform: none !important; }
    .vvf-bar { display: none; }
}
