/* Temple guide pages (v3 layout, Oct 2026). Tokens follow the v3 design system:
   light temple look, Playfair Display headings, Roboto text, saffron for actions. */
:root {
	--ink: #1a0608;
	--paper: #fefcf2;
	--cream: #fef8e3;
	--card: #fff;
	--line: #eadfca;
	--maroon: #771717;
	--saffron: #f7ad3c;
	--saffron-deep: #8f5300;
	--saffron-soft: #feebb0;
	--muted: #5b4a43;
	--ok: #2e7d32;
	--wa: #1f7a4d;
	--serif: "Playfair Display", Georgia, serif;
	--sans: Roboto, "Segoe UI", system-ui, -apple-system, sans-serif;
	--gut: 16px;
	--r: 20px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--saffron-deep); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ink); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
.tp-i { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* header */
.tp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1200px; margin: 0 auto; padding: 8px var(--gut); }
.tp-brand { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); text-decoration: none; font-weight: 700; }
.tp-brand img { border-radius: 8px; }
.tp-head nav { display: flex; gap: 6px; }
.tp-head nav a { white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.tp-head nav a:last-child { border: 1px solid var(--line); background: var(--card); }

/* photo + title sheet */
.tp-hero { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #2a0f14; }
.tp-hero img { width: 100%; height: 100%; object-fit: cover; }
.tp-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, rgb(26 6 8 / .55), transparent); pointer-events: none; }
.tp-hero__play { position: absolute; z-index: 2; left: var(--gut); bottom: 40px; display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 20px 6px 6px; border: 0; border-radius: 999px; background: rgb(255 255 255 / .95); color: var(--ink); font: 600 1rem var(--sans); cursor: pointer; box-shadow: 0 8px 24px rgb(0 0 0 / .25); }
.tp-hero__play .tp-i { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--saffron); }
.tp-hero__play span { display: grid; text-align: left; line-height: 1.2; }
.tp-hero__play small { font-size: .8125rem; font-weight: 400; color: var(--muted); }
.tp-hero:has(iframe) { aspect-ratio: 16 / 9; background: #000; }
.tp-hero:has(iframe)::after, .tp-hero:has(iframe) img { visibility: hidden; }
.tp-hero iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tp-intro { position: relative; z-index: 1; margin-top: -24px; padding: 22px var(--gut) 4px; border-radius: 24px 24px 0 0; background: var(--paper); }
.tp-top:has(iframe) .tp-intro { margin-top: 0; border-radius: 0; }
.tp-kicker { margin: 0 0 6px; font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-deep); }
.tp-kicker a { color: inherit; text-decoration: none; }
.tp-intro h1 { margin: 0 0 8px; font-size: clamp(2.1rem, 9vw, 3.5rem); line-height: 1.06; letter-spacing: -.01em; }
.tp-tagline { margin: 0 0 12px; font-size: 1.125rem; line-height: 1.45; }
.tp-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 16px; font-size: .9375rem; color: var(--muted); }
.tp-trust a { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 500; text-decoration: none; }
.tp-trust .tp-i { width: 18px; height: 18px; stroke-width: 2.5; }
.tp-acts { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.tp-act { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 68px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); font: 500 .9375rem var(--sans); text-align: center; text-decoration: none; cursor: pointer; }
.tp-act--main { background: var(--saffron); border-color: var(--saffron); font-weight: 600; }
.tp-live { display: flex; align-items: center; gap: 12px; margin-top: 10px; min-height: 56px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); color: var(--ink); text-decoration: none; font-weight: 600; }
.tp-live i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #d32f2f; box-shadow: 0 0 0 4px rgb(211 47 47 / .18); }
.tp-live span { display: grid; flex: 1; line-height: 1.25; }
.tp-live small { font-weight: 400; font-size: .875rem; color: var(--muted); }
.tp-live .tp-i { color: var(--saffron-deep); }

/* before you go */
.tp-facts { margin: 16px var(--gut) 0; padding: 18px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.tp-facts h2 { margin: 0 0 12px; font-size: 1.5rem; }
.tp-season { display: flex; gap: 12px; margin: 0 0 12px; padding: 12px 14px; border-radius: 14px; background: var(--saffron-soft); }
.tp-season > .tp-i { color: var(--saffron-deep); margin-top: 2px; }
.tp-season p { margin: 0 0 4px; font-size: 1rem; line-height: 1.45; }
.tp-season .tp-season__h { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-deep); }
.tp-season ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: 1rem; line-height: 1.4; }
.tp-season li { display: flex; gap: 10px; }
.tp-season li span { flex: none; min-width: 3.6em; font-weight: 700; color: var(--maroon); }
.tp-tiles { margin: 0; }
.tp-tile { padding: 12px 0; border-top: 1px solid var(--line); }
.tp-tile:first-child { border-top: 0; padding-top: 4px; }
.tp-tile dt { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--saffron-deep); }
.tp-tile dt .tp-i { width: 18px; height: 18px; }
.tp-tile dd { margin: 0; font-size: 1.0625rem; line-height: 1.4; font-weight: 500; }
.tp-note { display: flex; gap: 10px; margin: 14px 0 0; font-size: 1rem; line-height: 1.5; }
.tp-note .tp-i { color: var(--saffron-deep); margin-top: 1px; }

/* in this guide */
.tp-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px var(--gut) 0; }
.tp-nav a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); color: var(--ink); font-weight: 500; font-size: 1rem; line-height: 1.25; text-decoration: none; }
.tp-nav a .tp-i { color: var(--saffron-deep); }

/* sections */
.tp-sec { padding: 36px var(--gut) 0; scroll-margin-top: 8px; }
.tp-sec h2 { margin: 0 0 14px; font-size: clamp(1.65rem, 6.5vw, 2.2rem); line-height: 1.15; }
.tp-sec h3 { margin: 22px 0 10px; font-size: 1.25rem; }
.tp-sec p { margin: 0 0 14px; max-width: 40em; }
.tp-label { margin: 0 0 6px !important; font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron-deep); }
.tp-lead { font-size: 1.1875rem; line-height: 1.55; }
.tp-sub { color: var(--muted); font-size: 1rem; }
.tp-list, .tp-links, .tp-fest { list-style: none; margin: 0; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.tp-list li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.tp-list li:first-child, .tp-links li:first-child a, .tp-fest li:first-child { border-top: 0; }
.tp-list li > .tp-i { color: var(--saffron-deep); margin-top: 2px; }
.tp-list li p { margin: 2px 0 0; }
.tp-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.tp-links strong { display: block; font-weight: 600; }
.tp-links small { display: block; color: var(--muted); font-size: .875rem; }
.tp-links .tp-i { color: var(--saffron-deep); }
.tp-fest li { padding: 14px 0; border-top: 1px solid var(--line); }
.tp-fest__when { display: block; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--saffron-deep); }
.tp-fest strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin: 2px 0 4px; }
.tp-fest p { margin: 0; }
.tp-faq details { border-bottom: 1px solid var(--line); }
.tp-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 600; font-size: 1.0625rem; line-height: 1.4; cursor: pointer; list-style: none; }
.tp-faq summary::-webkit-details-marker { display: none; }
.tp-faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--saffron-deep); }
.tp-faq details[open] summary::after { content: "\2212"; }
.tp-faq details p { margin: 0 0 16px; }

/* buttons */
.tp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 22px; border: 2px solid var(--saffron); border-radius: 999px; background: var(--saffron); color: var(--ink); font: 600 1rem var(--sans); text-decoration: none; }
.tp-btn small { font-weight: 500; font-size: .8125rem; color: var(--muted); }
.tp-btn--ghost { background: var(--card); border-color: var(--ink); }
.tp-btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.tp-btn--block { display: flex; width: 100%; margin-top: 12px; }
.tp-cta { display: grid; gap: 10px; margin: 18px 0 12px; }
.tp-fine { font-size: .9375rem; color: var(--muted); }

/* darshan at home */
.tp-darshan { margin-top: 36px; padding-bottom: 28px; background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tp-darshan--quiet { background: transparent; border: 0; padding-bottom: 0; }
.tp-stills { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 10px; margin: 4px calc(-1 * var(--gut)) 0; padding: 0 var(--gut) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); }
.tp-still { position: relative; margin: 0; scroll-snap-align: start; }
.tp-still img { width: 100%; aspect-ratio: 312 / 162; object-fit: cover; border-radius: 14px; }
.tp-still b { position: absolute; top: 8px; left: 8px; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; }
.tp-still figcaption { margin-top: 6px; font-size: .9375rem; color: var(--muted); }

/* cards */
.tp-cards { display: grid; grid-auto-flow: column; grid-auto-columns: 64%; gap: 12px; margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut) 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); }
.tp-card { position: relative; display: block; scroll-snap-align: start; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--card); color: var(--ink); text-decoration: none; }
.tp-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.tp-card em { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: var(--saffron); font-size: .75rem; font-style: normal; font-weight: 700; }
.tp-card strong { display: block; padding: 10px 12px 0; font-family: var(--serif); font-size: 1.1rem; font-weight: 600; line-height: 1.25; }
.tp-card small { display: block; padding: 4px 12px 12px; color: var(--muted); font-size: .875rem; }
.tp-more__all { display: inline-flex; align-items: center; min-height: 48px; margin-top: 4px; font-weight: 600; }
.tp-sources ol { margin: 0; padding-left: 22px; font-size: .9375rem; }
.tp-sources li { margin: 0 0 8px; }
.tp-sources small { color: var(--muted); }
.tp-share { margin: 36px var(--gut) 0; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); text-align: center; }
.tp-share p { margin: 0 0 12px; font-family: var(--serif); font-size: 1.35rem; }
.tp-foot { margin-top: 48px; padding: 28px var(--gut) 40px; border-top: 1px solid var(--line); text-align: center; font-size: .9375rem; color: var(--muted); }
.tp-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
.tp-foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.tp-foot p { margin: 8px 0 0; }

/* desktop: photo beside the title, facts pinned beside the article */
@media (min-width: 960px) {
	:root { --gut: 0px; }
	.tp { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
	.tp-head { padding: 12px 32px; }
	.tp-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; padding-top: 8px; }
	.tp-hero { border-radius: 24px; }
	.tp-hero__play { left: 20px; bottom: 20px; }
	.tp-intro, .tp-top:has(iframe) .tp-intro { margin: 0; padding: 0; border-radius: 0; background: none; }
	.tp-acts, .tp-live { max-width: 420px; }
	.tp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: start; margin-top: 40px; }
	.tp-side { grid-column: 2; grid-row: 1; position: sticky; top: 16px; }
	.tp-body { grid-column: 1; grid-row: 1; }
	.tp-facts { margin: 0; }
	.tp-nav { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0; }
	.tp-sec:first-of-type { padding-top: 28px; }
	.tp-darshan { padding: 32px; border: 1px solid var(--line); border-radius: 24px; }
	.tp-darshan--quiet { padding: 36px 0 0; border: 0; }
	.tp-stills { grid-auto-flow: row; grid-template-columns: 1fr 1fr; margin: 4px 0 0; padding: 0; overflow: visible; }
	.tp-cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; overflow: visible; }
	.tp-share { margin: 40px 0 0; }
	.tp-cta { display: flex; flex-wrap: wrap; }
}
