/* Tulasi Vrinda Foundation — event screens. All public selectors are scoped. */
.tvf-root {
  --tvf-accent: var(--tvf-custom-accent, var(--ast-global-color-0, var(--global-palette1, var(--e-global-color-primary, #25715b))));
  --tvf-ink: var(--ast-global-color-2, var(--global-palette3, var(--e-global-color-text, #24342d)));
  --tvf-subtle: #62736a;
  --tvf-paper: #faf9f5;
  --tvf-ivory: #f2f3ed;
  --tvf-border: #e3e8df;
  --tvf-white: #ffffff;
  --tvf-radius: 18px;
  font-family: inherit;
  color: var(--tvf-ink);
  width: 100%;
  max-width: 1240px;
  margin: 0 auto 60px;
  line-height: 1.6;
}
.tvf-root, .tvf-root * { box-sizing: border-box; }
.tvf-root [hidden] { display: none !important; }
.tvf-root button, .tvf-root input, .tvf-root select { font: inherit; }
.tvf-root h1, .tvf-root h2, .tvf-root h3, .tvf-root p { margin-top: 0; }
.tvf-root h1, .tvf-root h2, .tvf-root h3 { font-family: inherit; color: var(--tvf-ink); line-height: 1.16; letter-spacing: -.035em; }
.tvf-root a { text-decoration: none; }
.tvf-root a:focus-visible, .tvf-root button:focus-visible, .tvf-root input:focus-visible, .tvf-root select:focus-visible { outline: 3px solid var(--tvf-accent); outline-offset: 3px; }
.tvf-listing .tvf-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(58px, 8vw, 105px) clamp(26px, 7vw, 102px) 45px;
  min-height: 480px; text-align: center; background: var(--tvf-paper);
  border: 1px solid var(--tvf-border); border-radius: 0 0 25px 25px;
}
.tvf-listing .tvf-hero::before { content:""; position:absolute; width:320px; height:320px; border:1px solid #d7e5d8; border-radius:50%; top:-205px; right:-130px; box-shadow:0 0 0 55px rgba(37,113,91,.027),0 0 0 115px rgba(37,113,91,.027); z-index:-1; }
.tvf-listing .tvf-hero::after { content:"✳"; position:absolute; bottom:-85px; left:-18px; font-size:255px; line-height:1; color:rgba(37,113,91,.055); z-index:-1; }
.tvf-hero-kicker, .tvf-eyebrow { font-size: 11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--tvf-accent); }
.tvf-hero-kicker { display:flex; align-items:center; justify-content:center; gap:17px; margin:0 0 35px; white-space:nowrap; }
.tvf-kicker-line { width: 37px; height: 1px; background: var(--tvf-accent); opacity:.4; }
.tvf-hero .tvf-eyebrow { letter-spacing:.11em; color:#74857a; margin-bottom:10px; }
.tvf-listing .tvf-hero h1 { font-size:clamp(57px,8vw,110px); font-weight:650; line-height:1.05; margin:0 0 15px; }
.tvf-heading-dot { color:var(--tvf-accent); }
.tvf-hero-title { font-size:clamp(20px,2.6vw,30px); font-weight:500; letter-spacing:-.025em; line-height:1.3; margin:0 0 13px; }
.tvf-hero-summary { max-width:580px; margin:0 auto; color:var(--tvf-subtle); font-size:15px; line-height:1.8; }
.tvf-hero-bottom { display:flex; gap:18px; align-items:center; justify-content:center; margin-top:45px; font-size:10px; letter-spacing:.11em; color:#7b8b81; }
.tvf-hero-rule { width:35px; height:1px; background:#afc5b6; }
.tvf-section-heading { display:flex; justify-content:space-between; align-items:end; gap:20px; margin:64px 0 23px; }
.tvf-section-heading .tvf-eyebrow { margin-bottom:8px; }
.tvf-section-heading h2 { font-size:clamp(28px,3.4vw,43px); font-weight:600; margin:0; }
.tvf-count { color:var(--tvf-subtle); font-size:12px; white-space:nowrap; margin:0 0 5px; }
.tvf-toolbar { display:grid; grid-template-columns:minmax(190px,1fr) minmax(160px,220px) minmax(140px,160px); gap:10px; margin-bottom:25px; }
.tvf-search-wrap, .tvf-filter-wrap { position:relative; margin:0; }
.tvf-toolbar input, .tvf-toolbar select { display:block; width:100%; height:50px; margin:0; padding:0 17px; border:1px solid var(--tvf-border); border-radius:9px; background:#fff; color:var(--tvf-ink); box-shadow:none; font-size:13px; }
.tvf-toolbar input { padding-left:43px; }
.tvf-search-wrap svg { position:absolute; top:15px; left:16px; width:18px; height:18px; fill:none; stroke:#7a877d; stroke-width:1.7; }
.tvf-card-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.tvf-program-card { overflow:hidden; background:var(--tvf-white); border:1px solid var(--tvf-border); border-radius:var(--tvf-radius); transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease; }
.tvf-program-card:hover { transform:translateY(-5px); box-shadow:0 16px 40px rgba(22,54,41,.075); border-color:#cddccc; }
.tvf-card-media { display:block; position:relative; height:auto; aspect-ratio:1.42 / 1; background:#e6efe9; overflow:hidden; }
.tvf-card-media img { display:block; width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.tvf-program-card:hover .tvf-card-media img { transform:scale(1.045); }
.tvf-card-type { position:absolute; top:15px; left:15px; background:rgba(255,255,255,.95); padding:5px 13px; border-radius:50px; color:var(--tvf-accent); font-size:11px; font-weight:700; letter-spacing:.04em; }
.tvf-card-art { position:absolute; inset:0; display:flex; justify-content:center; align-items:center; background:linear-gradient(132deg,#e3ebe4,#f3f1e8 65%,#d2e3d7); color:#769d87; }
.tvf-art-ring { width:170px; height:170px; border:1px solid rgba(37,113,91,.26); border-radius:50%; box-shadow:0 0 0 24px rgba(37,113,91,.038),0 0 0 51px rgba(37,113,91,.035); }
.tvf-art-mark { position:absolute; font-size:38px; font-weight:400; letter-spacing:.2em; opacity:.45; }
.tvf-card-body { padding:24px 24px 22px; }
.tvf-tags, .tvf-detail-meta { display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.tvf-category { display:inline-flex; align-items:center; font-size:10px; border-radius:40px; padding:4px 11px; color:var(--tvf-accent); background:#eaf2eb; font-weight:650; line-height:1.4; }
.tvf-card-code { margin:15px 0 7px; font-size:10px; letter-spacing:.105em; color:#8c998d; text-transform:uppercase; }
.tvf-card-body h3 { font-size:clamp(18px,2.1vw,23px); font-weight:600; margin:0 0 11px; }
.tvf-card-body h3 a { color:inherit; }
.tvf-card-body h3 a:hover { color:var(--tvf-accent); }
.tvf-card-description { color:var(--tvf-subtle); font-size:13px; line-height:1.7; min-height:45px; }
.tvf-card-meta { display:flex; justify-content:space-between; flex-wrap:wrap; gap:7px; margin-top:20px; padding-top:16px; border-top:1px solid var(--tvf-border); font-size:12px; color:#66746a; }
.tvf-card-meta span:last-child { color:var(--tvf-accent); font-weight:700; }
.tvf-card-link { display:flex; justify-content:space-between; gap:12px; color:var(--tvf-accent) !important; font-weight:700; font-size:12px; margin-top:19px; }
.tvf-card-link span { font-size:18px; line-height:1; }
.tvf-empty { text-align:center; border:1px dashed #c7d8c8; border-radius:var(--tvf-radius); background:var(--tvf-paper); padding:65px 20px; margin:20px 0; }
.tvf-empty-symbol { color:var(--tvf-accent); font-size:40px; line-height:1; margin-bottom:18px; }
.tvf-empty h3 { font-size:24px; margin-bottom:10px; }
.tvf-empty p { color:var(--tvf-subtle); font-size:14px; }
.tvf-footer-cta { display:flex; align-items:center; gap:25px; padding:40px; margin-top:70px; border:1px solid var(--tvf-border); border-radius:var(--tvf-radius); background:var(--tvf-ivory); }
.tvf-cta-mark { display:block; flex-shrink:0; font-size:68px; line-height:1; color:#7ba58b; }
.tvf-footer-cta>div { flex:1; }
.tvf-footer-cta .tvf-eyebrow { margin-bottom:8px; }
.tvf-footer-cta h2 { font-size:clamp(22px,2.5vw,32px); margin:0 0 10px; }
.tvf-footer-cta p:last-child { margin:0; color:var(--tvf-subtle); font-size:13px; }
.tvf-footer-cta>a { flex-shrink:0; display:inline-flex; gap:18px; align-items:center; padding:13px 18px; border:1px solid var(--tvf-accent); border-radius:5px; color:var(--tvf-accent); font-size:12px; font-weight:700; }
.tvf-footer-cta>a:hover { color:#fff; background:var(--tvf-accent); }
.tvf-detail { padding-top:28px; }
.tvf-back-link { display:inline-flex; padding:8px 0; margin-bottom:16px; color:var(--tvf-accent) !important; font-size:13px; font-weight:700; }
.tvf-detail-meta { margin:8px 0 23px; }
.tvf-detail-code { color:var(--tvf-subtle); font-size:11px; margin-left:auto; letter-spacing:.05em; }
.tvf-detail-image { height:auto; max-height:480px; aspect-ratio:2.2/1; border-radius:var(--tvf-radius); overflow:hidden; margin-bottom:35px; background:var(--tvf-ivory); }
.tvf-detail-image img { width:100%; height:100%; object-fit:cover; }
.tvf-detail-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(245px,.85fr); gap:35px; align-items:start; }
.tvf-detail-description { overflow-wrap:anywhere; font-size:15px; color:var(--tvf-ink); }
.tvf-detail-description img { max-width:100%; height:auto; }
.tvf-details-panel { background:var(--tvf-paper); border:1px solid var(--tvf-border); border-radius:var(--tvf-radius); padding:27px; }
.tvf-details-panel h2 { font-size:26px; margin:7px 0 26px; }
.tvf-detail-row { display:flex; flex-direction:column; gap:5px; padding:14px 0; border-top:1px solid var(--tvf-border); }
.tvf-detail-row span { font-size:11px; color:var(--tvf-subtle); }
.tvf-detail-row strong { font-size:13px; font-weight:650; overflow-wrap:anywhere; }
.tvf-registration { margin-top:40px; padding:29px; border:1px solid var(--tvf-border); border-radius:var(--tvf-radius); background:var(--tvf-paper); }
.tvf-registration h2 { font-size:26px; margin:8px 0; }
.tvf-reg-lead { font-size:13px; color:var(--tvf-subtle); margin-bottom:20px; }
.tvf-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; }
.tvf-form label { display:block; font-size:12px; font-weight:650; color:var(--tvf-ink); }
.tvf-form input:not([type="checkbox"]), .tvf-form select { width:100%; display:block; min-height:46px; border-radius:7px; border:1px solid #d6ded7; background:#fff; font-size:14px; padding:8px 11px; margin-top:6px; box-shadow:none; }
.tvf-guardian { margin-top:18px; }
.tvf-guardian p { font-size:12px; color:var(--tvf-subtle); margin:7px 0 0; }
.tvf-form label.tvf-consent { display:flex; gap:10px; align-items:flex-start; font-weight:400; font-size:12px; line-height:1.6; margin:20px 0; }
.tvf-consent input { width:16px; height:16px; margin:2px 0 0; flex-shrink:0; }
.tvf-consent a { color:var(--tvf-accent); text-decoration:underline; }
.tvf-btn { display:inline-flex; align-items:center; gap:17px; justify-content:center; border:1px solid var(--tvf-accent) !important; border-radius:6px !important; padding:12px 21px !important; background:var(--tvf-accent) !important; color:#fff !important; font-size:13px !important; font-weight:700 !important; cursor:pointer; transition:filter .2s ease,transform .2s ease; }
.tvf-btn:hover { filter:brightness(.94); transform:translateY(-1px); }
.tvf-honeypot { position:absolute !important; left:-99999px !important; opacity:0; width:1px; height:1px; overflow:hidden; }
.tvf-form-error { color:#8e2c24; background:#fff2ef; border:1px solid #e8c9c3; border-radius:7px; padding:12px; font-size:13px; margin:15px 0; }
.tvf-status { padding:22px; border-radius:11px; margin:25px 0; border:1px solid var(--tvf-border); background:var(--tvf-paper); }
.tvf-status strong { font-size:17px; }
.tvf-status p { font-size:13px; margin:10px 0; }
.tvf-status-success { border-color:#b4d5bc; background:#f1f8f2; }
.tvf-status-pending { border-color:#dfd6b3; background:#fffdf4; }
.tvf-status code { font-size:12px; background:transparent; }
.tvf-status .tvf-tiny { font-size:11px; color:var(--tvf-subtle); margin-bottom:0; }
.tvf-closed { margin-top:27px; border-left:3px solid var(--tvf-accent); background:var(--tvf-paper); padding:20px; font-size:14px; color:var(--tvf-subtle); }
@media (max-width:900px) {
  .tvf-root { padding-inline:16px; }
  .tvf-card-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .tvf-detail-layout { grid-template-columns:minmax(0,1fr); }
  .tvf-footer-cta { flex-wrap:wrap; }
}
@media (max-width:620px) {
  .tvf-root { padding-inline:12px; }
  .tvf-listing .tvf-hero { min-height:390px; padding:62px 18px 30px; }
  .tvf-listing .tvf-hero h1 { font-size:58px; }
  .tvf-hero-kicker { gap:8px; font-size:9px; }
  .tvf-kicker-line { width:18px; }
  .tvf-hero-bottom { font-size:9px; margin-top:30px; }
  .tvf-section-heading { margin-top:42px; align-items:start; }
  .tvf-toolbar { grid-template-columns:1fr; }
  .tvf-card-grid { grid-template-columns:1fr; gap:18px; }
  .tvf-footer-cta { padding:25px; gap:14px; }
  .tvf-cta-mark { font-size:43px; }
  .tvf-footer-cta>a { width:100%; justify-content:space-between; }
  .tvf-form-grid { grid-template-columns:1fr; }
  .tvf-registration { padding:20px 16px; }
  .tvf-detail-image { aspect-ratio:1.4/1; }
}
@media (prefers-reduced-motion:reduce) { .tvf-root *, .tvf-root *::before, .tvf-root *::after { transition:none !important; animation:none !important; } }
/* Event Studio V2: registration and secure in-form payment state */
.tulasi-extra-section{margin-top:25px;padding:20px 22px;background:var(--tvf-paper);border-left:3px solid var(--tvf-accent);border-radius:8px}
.tulasi-extra-section h3{font-size:19px;margin:0 0 8px}
.tulasi-extra-section p{font-size:14px;margin:0;white-space:normal;line-height:1.7}
.tulasi-payment-inline-note{font-size:12px;color:var(--tvf-subtle);line-height:1.6;margin:17px 0 0}
.tulasi-inline-result{margin:20px 0 5px;border-radius:12px;padding:18px 20px;border:1px solid var(--tvf-border);background:#fff;font-size:14px}
.tulasi-inline-result p{margin:0 0 8px;color:inherit}
.tulasi-inline-success{border-color:#a3cdb0;background:#f1f9f3;color:#174d31}
.tulasi-inline-pending{border-color:#e4d1a1;background:#fffbf0;color:#665028}
.tulasi-inline-error{border-color:#efbdb6;background:#fff4f2;color:#8f3229}
.tulasi-inline-code{font-weight:650;font-size:12px;letter-spacing:.02em}
.tulasi-inline-status-link{display:inline-block;margin:4px 12px 8px 0;color:var(--tvf-accent)!important;text-decoration:underline}
.tulasi-resume-button{display:inline-flex;margin:10px 0 0}
.tvf-form button:disabled{opacity:.65;cursor:wait}
.tulasi-test-banner{font-size:12px;color:#7e3c10;background:#fff0d9;border:1px solid #e9c18d;border-radius:8px;padding:12px 14px;margin:12px 0}

/* v2.1: Reliable standalone event detail template and registration landmarks */
.tulasi-vrinda-single-page{width:100%;min-height:55vh;margin:0 auto;padding:24px clamp(12px,3vw,36px) 72px;max-width:1320px}
.tulasi-vrinda-single-page .tvf-root{max-width:1180px;margin-inline:auto}
.tvf-event-title{font-size:clamp(28px,4vw,52px);line-height:1.12;margin:12px 0 20px;color:var(--tvf-ink);font-weight:750;letter-spacing:-.025em}
.tvf-event-action{margin:0 0 26px}
.tvf-side-register{display:flex;max-width:100%;margin-top:23px;text-decoration:none!important}
.tvf-form-fields{border:0;padding:0;margin:0;min-width:0}
.tvf-form-fields[disabled]{opacity:.6;pointer-events:none}
.tvf-form-fields[disabled] .tvf-btn{cursor:not-allowed!important;filter:grayscale(.35)}
.tvf-registration{scroll-margin-top:110px}
@media(max-width:700px){.tulasi-vrinda-single-page{padding:10px 12px 45px}.tvf-event-title{font-size:32px}}

/* v2.2 — direct Foundation UPI QR and optional bank transfer */
.tulasi-manual-payment{scroll-margin-top:110px;padding:clamp(20px,3.5vw,36px);background:var(--tvf-paper);border-color:var(--tvf-border);border-radius:18px}
.tulasi-manual-payment h3{font-size:clamp(23px,2.8vw,31px);margin:5px 0 17px;color:var(--tvf-ink)}
.tulasi-manual-payment h4{font-size:18px;margin:20px 0 12px;color:var(--tvf-ink)}
.tulasi-direct-pay-card{background:#fff;border:1px solid var(--tvf-border);padding:clamp(15px,3vw,28px);border-radius:13px;margin:22px 0;text-align:center}
.tulasi-direct-pay-card h4{margin:0 0 18px;font-size:19px}
.tulasi-direct-pay-card img.tulasi-payment-qr-img,.tulasi-payment-qr svg{display:block;width:min(100%,285px);height:auto;margin:0 auto 16px;aspect-ratio:1/1;object-fit:contain;background:#fff;padding:8px;border:1px solid #e3e8df;border-radius:8px}
.tulasi-payment-qr{min-height:280px;display:flex;align-items:center;justify-content:center;margin:0 auto 12px}
.tulasi-payment-qr svg{shape-rendering:crispEdges;padding:6px}
.tulasi-upi-link{margin:4px auto 5px;text-decoration:none!important}
.tulasi-bank-details{background:#fff;border:1px solid var(--tvf-border);border-radius:11px;padding:16px 20px;margin:20px 0}
.tulasi-bank-details summary{cursor:pointer;font-size:14px;color:var(--tvf-accent);font-weight:700;line-height:1.6}
.tulasi-bank-details dl{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1.3fr);gap:12px;margin:21px 0 12px;font-size:13px}
.tulasi-bank-details dt{color:var(--tvf-subtle)}
.tulasi-bank-details dd{margin:0;color:var(--tvf-ink);overflow-wrap:anywhere;font-weight:650}
.tulasi-bank-details a{color:var(--tvf-accent);text-decoration:underline}
.tulasi-reference-form{display:grid;gap:13px;margin-top:17px}
.tulasi-reference-form .tvf-consent{margin:8px 0!important}
.tulasi-reference-form .tvf-btn{width:100%}
.tulasi-manual-payment code{overflow-wrap:anywhere;white-space:normal;font-family:ui-monospace,monospace;font-size:.92em}
.tulasi-manual-payment .tulasi-inline-result{border:1px solid var(--tvf-border);border-radius:9px}
@media(max-width:620px){.tulasi-manual-payment{padding:18px 14px}.tulasi-direct-pay-card{padding:19px 11px}.tulasi-bank-details dl{grid-template-columns:1fr;gap:5px}.tulasi-bank-details dd{margin-bottom:8px}}
