/* Divya Darshan 360: blocks added for the SEO 30-day test (Oct 2026).
   Used by the static guides (next to blog.css) and by the pages built from
   scripts/seo/content (on its own). Palette matches the guides. */
:root {
	--dd-ink: #3b2510;
	--dd-muted: #8a7260;
	--dd-line: #e8ddd0;
	--dd-cream: #fdf1e2;
	--dd-paper: #fffaf3;
	--dd-saffron: #e23d00;
	--dd-gold: #b8860b;
	--dd-wa: #1f7a4d;
}

/* Header and breadcrumb */
.dd-header { position: relative; z-index: 30; background: rgba(255, 250, 243, .92); border-bottom: 1px solid var(--dd-line); font-family: "Geist Sans", system-ui, sans-serif; }
.dd-header__in { max-width: 1100px; margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dd-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--dd-ink); font-weight: 700; text-decoration: none; font-size: 1rem; }
.dd-brand img { border-radius: 8px; }
.dd-nav { display: flex; align-items: center; gap: 14px; font-size: .95rem; }
.dd-nav a { color: var(--dd-ink); text-decoration: none; }
.dd-crumbs { max-width: 1100px; margin: 0 auto; padding: 0 16px 8px; font-size: .82rem; color: var(--dd-muted); display: flex; flex-wrap: wrap; gap: 4px; }
.dd-crumbs a { color: var(--dd-muted); }
.dd-crumbs span[aria-current] { color: var(--dd-ink); }

/* Buttons */
.dd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: var(--dd-saffron); color: #fff !important; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid var(--dd-saffron); font-family: "Geist Sans", system-ui, sans-serif; }
.dd-btn--sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.dd-btn--ghost { background: transparent; color: var(--dd-saffron) !important; }
.dd-btn--wa { background: var(--dd-wa); border-color: var(--dd-wa); }
.dd-btn:focus-visible { outline: 3px solid var(--dd-gold); outline-offset: 2px; }
.dd-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.dd-note { font-size: .82rem; color: var(--dd-muted); margin-top: 8px; }

/* App, VR and share blocks */
.dd-block { max-width: 1100px; margin: 24px auto; padding: 22px; border-radius: 20px; border: 1px solid var(--dd-line); background: var(--dd-paper); color: var(--dd-ink); display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; font-family: "Geist Sans", system-ui, sans-serif; }
.dd-block h2, .dd-block h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 1.5rem; line-height: 1.25; margin: 4px 0 8px; color: var(--dd-ink); border: 0; padding: 0; }
.dd-block p { margin: 0; line-height: 1.6; font-size: 1.02rem; }
.dd-block img { width: 100%; height: auto; border-radius: 14px; display: block; }
.dd-label { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dd-saffron); }
.dd-block--vr { background: #2a1606; color: #fdf1e2; border-color: #2a1606; }
.dd-block--vr h2, .dd-block--vr h3 { color: #fff; }
.dd-block--vr .dd-label { color: #f7ad3c; }
.dd-block--vr .dd-btn--ghost { color: #fdf1e2 !important; border-color: #fdf1e2; }
.dd-block--vr .dd-note { color: #d9c7b2; }
.dd-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 720px) {
	.dd-block { grid-template-columns: 1.3fr 1fr; padding: 28px 32px; }
	.dd-block--text { grid-template-columns: 1fr; }
}
.dd-only-diwali { display: none; }
.dd-diwali .dd-only-diwali { display: inline; }
.dd-diwali .dd-only-normal { display: none; }

/* Checked facts box on the guides */

/* Click-to-load YouTube player */

/* Sticky bar on phones */
.dd-sticky { display: none; }
@media (max-width: 767px) {
	.dd-sticky { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 250, 243, .97); border-top: 1px solid var(--dd-line); box-shadow: 0 -6px 20px rgba(59, 37, 16, .08); }
	.dd-sticky .dd-btn { flex: 1; min-height: 46px; padding: 0 10px; font-size: .95rem; }
	.dd-sticky-space { height: 76px; }
}

/* Pages built from scripts/seo/content */
.dd-page { margin: 0; background: var(--dd-cream); color: var(--dd-ink); font-family: "Geist Sans", system-ui, sans-serif; font-size: 17px; line-height: 1.65; }
.dd-main { max-width: 820px; margin: 0 auto; padding: 8px 16px 40px; }
.dd-main--wide { max-width: 1100px; }
.dd-article h1 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 2.1rem; line-height: 1.15; margin: 8px 0 14px; }
.dd-article h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 500; font-size: 1.55rem; line-height: 1.25; margin: 36px 0 10px; }
.dd-article p, .dd-article li { font-size: 1.05rem; }
.dd-article a { color: var(--dd-saffron); }
.dd-article .dd-btn { color: #fff; }
.dd-lead { font-size: 1.15rem; line-height: 1.6; }
.dd-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin: 14px 0; }
.dd-video { display: block; text-decoration: none; color: var(--dd-ink) !important; background: #fff; border: 1px solid var(--dd-line); border-radius: 14px; overflow: hidden; }
.dd-video img { width: 100%; aspect-ratio: 312 / 162; object-fit: cover; object-position: left center; display: block; }
.dd-video span { display: block; padding: 8px 10px 10px; font-size: .92rem; line-height: 1.35; }
.dd-video b { display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 6px; background: var(--dd-saffron); color: #fff; font-size: .72rem; }
.dd-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 14px 0; }
.dd-card { display: block; text-decoration: none; color: var(--dd-ink) !important; background: #fff; border: 1px solid var(--dd-line); border-radius: 14px; overflow: hidden; }
.dd-card img { width: 100%; height: 140px; object-fit: cover; display: block; }
.dd-card strong { display: block; padding: 10px 12px 2px; font-size: .98rem; line-height: 1.3; }
.dd-card small { display: block; padding: 0 12px 12px; color: var(--dd-muted); }
.dd-card em { font-style: normal; font-size: .72rem; font-weight: 700; color: var(--dd-saffron); padding: 0 12px; }
.dd-faq details { border-bottom: 1px solid var(--dd-line); padding: 12px 0; }
.dd-faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; }
.dd-faq details p { margin: 8px 0 0; }
.dd-sources { font-size: .88rem; color: var(--dd-muted); }
.dd-sources a { color: var(--dd-muted); }
.dd-footer { border-top: 1px solid var(--dd-line); padding: 24px 16px 32px; text-align: center; font-size: .9rem; color: var(--dd-muted); }
.dd-footer a { color: var(--dd-muted); margin: 0 8px; }

/* Keep the header on one line at phone width */
.dd-brand span, .dd-nav a { white-space: nowrap; }
@media (max-width: 480px) {
	.dd-header__in { padding: 8px 12px; gap: 8px; }
	.dd-brand { font-size: .9rem; gap: 6px; }
	.dd-brand img { width: 28px; height: 28px; }
	.dd-nav { gap: 8px; font-size: .85rem; }
	.dd-nav .dd-btn--sm { min-height: 36px; padding: 0 12px; font-size: .85rem; }
	.dd-crumbs { padding: 0 12px 8px; }
}
/* Guides' blog.css colours every <p>; keep the dark VR block readable. */
.dd-block--vr p { color: #f3e6d6 !important; }
.dd-block--vr .dd-note { color: #d9c7b2 !important; }

/* Temple pages (guide v2, Oct 2026): answer first, then story, then detail.
   Phone: one column. Desktop: quick facts stay in a sticky side column. */
details.dd-sources { margin: 24px 0 8px; }
details.dd-sources summary { cursor: pointer; font-weight: 600; color: var(--dd-ink); }
