/* ==========================================================================
   Temples of Kerala main — mobile-first stylesheet
   Palette taken from the site logo: festival magenta, deep navy, vermilion,
   violet, lamp-flame gold and leaf green on a warm sandal-paste ground.
   Developed by Adithya Multimedia (csc.adithyanews.co.in)
   ========================================================================== */

:root {
	--tk-primary: #e0177f;
	--tk-navy: #13206b;
	--tk-gold: #f5a800;
	--tk-vermilion: #f2451f;
	--tk-violet: #7a2ff0;
	--tk-green: #109a4e;
	--tk-blue: #2453d6;
	--tk-saffron: #ff8a00;

	--tk-bg: #fff7f0;
	--tk-surface: #ffffff;
	--tk-surface-2: #fff0f6;
	--tk-ink: #1e1537;
	--tk-muted: #6a5e7c;
	--tk-line: rgba(30, 21, 55, 0.1);

	--tk-rainbow: linear-gradient(90deg, #e0177f, #f2451f, #f5a800, #109a4e, #2453d6, #7a2ff0, #e0177f);
	--tk-grad: linear-gradient(120deg, var(--tk-primary), var(--tk-violet));

	--tk-font: 'Noto Sans Malayalam', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--tk-font-head: 'Noto Serif Malayalam', 'Noto Sans Malayalam', Georgia, serif;
	--tk-font-brand: 'Yeseva One', 'Noto Serif Malayalam', Georgia, serif;

	--tk-radius: 18px;
	--tk-radius-sm: 12px;
	--tk-shadow: 0 12px 30px -14px rgba(70, 20, 100, 0.35);
	--tk-shadow-sm: 0 4px 14px -6px rgba(70, 20, 100, 0.25);
	--tk-gutter: 16px;
	--tk-container: 1240px;
	--tk-bottomnav-h: 0px;
}

[data-theme="dark"] {
	--tk-bg: #110c1e;
	--tk-surface: #1b1430;
	--tk-surface-2: #261c42;
	--tk-ink: #f3edff;
	--tk-muted: #b6aacd;
	--tk-line: rgba(255, 255, 255, 0.1);
	--tk-shadow: 0 12px 30px -14px rgba(0, 0, 0, 0.8);
	--tk-shadow-sm: 0 4px 14px -6px rgba(0, 0, 0, 0.7);
	color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0;
	font-family: var(--tk-font);
	font-size: 16.5px;
	line-height: 1.7;
	color: var(--tk-ink);
	background: var(--tk-bg);
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: rgba(224, 23, 127, 0.15);
	overflow-wrap: break-word;
	padding-bottom: var(--tk-bottomnav-h);
}
#page { overflow-x: clip; min-height: 100vh; }
img, video, iframe, embed, object, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--tk-primary); text-decoration: none; }
a:hover { color: var(--tk-violet); }
h1, h2, h3, h4, h5 { font-family: var(--tk-font-head); line-height: 1.35; margin: 0 0 0.5em; color: var(--tk-ink); font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea { font-size: max(16px, 1em); }
button { cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--tk-gold); outline-offset: 2px; border-radius: 6px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 10px; left: 10px; width: auto; height: auto; clip: auto; z-index: 10000; background: var(--tk-navy); color: #fff; padding: 10px 16px; border-radius: 8px; }

.tokm-container {
	width: 100%;
	max-width: var(--tk-container);
	margin: 0 auto;
	padding-left: max(var(--tk-gutter), env(safe-area-inset-left));
	padding-right: max(var(--tk-gutter), env(safe-area-inset-right));
}
.tokm-narrow { max-width: 860px; }
.tokm-section { padding-top: 28px; padding-bottom: 28px; }
.tokm-center { text-align: center; margin-top: 24px; }
.tokm-icon { flex-shrink: 0; vertical-align: middle; }

/* ---------- Buttons ---------- */
.tokm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: 0.98rem; line-height: 1.2; text-align: center;
	transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.tokm-btn:active { transform: scale(0.97); }
.tokm-btn--primary { background: var(--tk-grad); color: #fff; box-shadow: 0 8px 20px -8px var(--tk-primary); }
.tokm-btn--primary:hover { color: #fff; box-shadow: 0 12px 26px -8px var(--tk-primary); }
.tokm-btn--outline { border-color: var(--tk-primary); color: var(--tk-primary); background: transparent; }
.tokm-btn--whatsapp { background: #1fae5b; color: #fff; margin-top: 8px; }
.tokm-btn--whatsapp:hover { color: #fff; background: #17944c; }
.tokm-btn--block { display: flex; width: 100%; }

.tokm-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--tk-ink);
}
.tokm-iconbtn:hover, .tokm-iconbtn:active { background: var(--tk-surface-2); color: var(--tk-primary); }

/* ---------- Badges & chips ---------- */
.tokm-badge {
	--c: var(--tk-primary);
	display: inline-flex; align-items: center; gap: 4px;
	background: var(--c); color: #fff; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.02em;
	padding: 4px 11px; border-radius: 999px; line-height: 1.4; max-width: 100%;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
a.tokm-badge:hover { color: #fff; filter: brightness(1.08); }
.tokm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tokm-chips--scroll {
	flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
	margin: 0 calc(-1 * var(--tk-gutter)); padding: 4px var(--tk-gutter) 10px;
}
.tokm-chips--scroll::-webkit-scrollbar { display: none; }
.tokm-chip {
	--c: var(--tk-primary);
	display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; scroll-snap-align: start;
	min-height: 40px; padding: 7px 16px; border-radius: 999px;
	background: color-mix(in srgb, var(--c) 12%, var(--tk-surface)); color: var(--c);
	border: 1.5px solid color-mix(in srgb, var(--c) 35%, transparent);
	font-weight: 700; font-size: 0.9rem; white-space: nowrap;
}
.tokm-chip small { font-size: 0.72rem; background: var(--c); color: #fff; border-radius: 999px; padding: 1px 7px; }
.tokm-chip:hover, .tokm-chip.is-active, .tokm-chip--solid { background: var(--c); color: #fff; border-color: var(--c); }
.tokm-chip:hover small, .tokm-chip.is-active small { background: #fff; color: var(--c); }
[data-theme="dark"] .tokm-chip { color: color-mix(in srgb, var(--c) 60%, #fff); }
[data-theme="dark"] .tokm-chip:hover, [data-theme="dark"] .tokm-chip.is-active, [data-theme="dark"] .tokm-chip--solid { color: #fff; }

/* ---------- Reading progress ---------- */
.tokm-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1000; pointer-events: none; }
.tokm-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--tk-rainbow); }

/* ---------- Top bar ---------- */
.tokm-topbar { background: linear-gradient(90deg, var(--tk-primary), var(--tk-violet) 55%, var(--tk-navy)); color: #fff; font-size: 0.8rem; }
.tokm-topbar__inner { display: flex; align-items: center; gap: 14px; min-height: 36px; }
.tokm-topbar__date { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-weight: 500; }
.tokm-topbar__text { display: none; opacity: 0.92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tokm-topbar__right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.tokm-topbar__menu { display: none; list-style: none; margin: 0; padding: 0; gap: 14px; }
.tokm-topbar__menu a { color: #fff; opacity: 0.9; }
.tokm-social { display: flex; align-items: center; gap: 6px; }
.tokm-social__link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: inherit; transition: transform 0.15s ease, background 0.2s ease; }
.tokm-social--topbar .tokm-social__link { width: 28px; height: 28px; color: #fff; }
.tokm-social--topbar .tokm-social__link:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }

/* ---------- Masthead ---------- */
.tokm-masthead {
	position: sticky; top: 0; z-index: 200;
	background: color-mix(in srgb, var(--tk-surface) 92%, transparent);
	-webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid var(--tk-line);
}
.tokm-masthead::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--tk-rainbow); }
.tokm-masthead__inner { display: flex; align-items: center; gap: 6px; min-height: 64px; }
.tokm-brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.tokm-brand .custom-logo-link { flex-shrink: 0; display: block; }
.tokm-brand .custom-logo { width: auto; height: 46px; max-width: 120px; object-fit: contain; }
.tokm-brand__text { min-width: 0; }
.tokm-brand__title { margin: 0; font-family: var(--tk-font-brand); font-weight: 400; font-size: 1.28rem; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tokm-brand__title a { background: var(--tk-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tokm-brand__tagline { margin: 2px 0 0; font-size: 0.7rem; color: var(--tk-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tokm-masthead__actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.tokm-theme-toggle .tokm-icon--sun { display: none; }
[data-theme="dark"] .tokm-theme-toggle .tokm-icon--sun { display: inline; }
[data-theme="dark"] .tokm-theme-toggle .tokm-icon--moon { display: none; }

.tokm-live-btn {
	display: none; align-items: center; gap: 8px; padding: 8px 16px; min-height: 40px; border-radius: 999px;
	background: linear-gradient(120deg, #e8173a, var(--tk-vermilion)); color: #fff; font-weight: 700; font-size: 0.88rem;
	box-shadow: 0 6px 16px -6px #e8173a; white-space: nowrap;
}
.tokm-live-btn:hover { color: #fff; }
.tokm-live-btn--block { display: flex; justify-content: center; margin: 14px 0; min-height: 48px; }
.tokm-live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); animation: tokm-pulse 1.5s infinite; flex-shrink: 0; }
@keyframes tokm-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); } 70% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }

/* ---------- Navbar (swipe strip on phones, full menu on desktop) ---------- */
.tokm-navbar { background: var(--tk-navy); color: #fff; position: relative; z-index: 150; }
.tokm-menu { list-style: none; margin: 0; padding: 0; display: flex; }
.tokm-navbar .tokm-menu {
	overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
	margin: 0 calc(-1 * var(--tk-gutter)); padding: 0 var(--tk-gutter);
}
.tokm-navbar .tokm-menu::-webkit-scrollbar { display: none; }
.tokm-menu > li { position: relative; flex-shrink: 0; scroll-snap-align: start; }
.tokm-menu > li > a {
	display: flex; align-items: center; min-height: 48px; padding: 0 14px; color: #fff; font-weight: 600; font-size: 0.95rem; white-space: nowrap; position: relative;
}
.tokm-menu > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--tk-gold); transform: scaleX(0); transition: transform 0.2s ease; }
.tokm-menu > li:nth-child(6n+1) > a::after { background: #ff5cb0; }
.tokm-menu > li:nth-child(6n+2) > a::after { background: var(--tk-gold); }
.tokm-menu > li:nth-child(6n+3) > a::after { background: #5be08f; }
.tokm-menu > li:nth-child(6n+4) > a::after { background: #6aa8ff; }
.tokm-menu > li:nth-child(6n+5) > a::after { background: #ff8a5c; }
.tokm-menu > li:nth-child(6n+6) > a::after { background: #b892ff; }
.tokm-menu > li > a:hover::after, .tokm-menu > .current-menu-item > a::after, .tokm-menu > .current-menu-ancestor > a::after, .tokm-menu > .current-category-ancestor > a::after { transform: scaleX(1); }
.tokm-menu > li > a:hover { color: #fff; }
.tokm-menu .sub-menu { display: none; }

/* ---------- News ticker ---------- */
.tokm-ticker { background: var(--tk-surface); border-bottom: 1px solid var(--tk-line); }
.tokm-ticker__inner { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.tokm-ticker__label {
	display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
	background: linear-gradient(120deg, var(--tk-vermilion), var(--tk-primary)); color: #fff;
	font-size: 0.8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.tokm-ticker__viewport { overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 92%, transparent); }
.tokm-ticker__track { display: flex; width: max-content; animation: tokm-marquee 60s linear infinite; }
.tokm-ticker:hover .tokm-ticker__track, .tokm-ticker:focus-within .tokm-ticker__track { animation-play-state: paused; }
.tokm-ticker__list { display: flex; list-style: none; margin: 0; padding: 0; }
.tokm-ticker__list li { white-space: nowrap; padding: 0 22px 0 0; display: flex; align-items: center; }
.tokm-ticker__list li::before { content: "✦"; color: var(--tk-gold); margin-right: 10px; font-size: 0.8em; }
.tokm-ticker__list a { color: var(--tk-ink); font-weight: 500; font-size: 0.92rem; }
.tokm-ticker__list a:hover { color: var(--tk-primary); }
@keyframes tokm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Drawer ---------- */
.tokm-drawer-backdrop { position: fixed; inset: 0; z-index: 900; background: rgba(15, 8, 30, 0.55); opacity: 0; transition: opacity 0.25s ease; }
.tokm-drawer-backdrop.is-visible { opacity: 1; }
.tokm-drawer {
	position: fixed; top: 0; bottom: 0; left: 0; z-index: 950; width: min(88vw, 360px);
	background: var(--tk-surface); box-shadow: 20px 0 50px -20px rgba(0, 0, 0, 0.5);
	transform: translateX(-105%); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); visibility: hidden;
	display: flex; flex-direction: column;
	padding-bottom: env(safe-area-inset-bottom);
}
.tokm-drawer.is-open { transform: none; visibility: visible; }
.tokm-drawer__head {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	padding: 12px 10px 12px 16px; padding-top: max(12px, env(safe-area-inset-top));
	background: var(--tk-grad); color: #fff;
}
.tokm-drawer__head .tokm-iconbtn { color: #fff; }
.tokm-drawer__head .tokm-iconbtn:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }
.tokm-drawer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--tk-font-brand); font-size: 1.15rem; min-width: 0; }
.tokm-drawer__brand .custom-logo { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 50%; padding: 2px; }
.tokm-drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 16px; }
.tokm-drawer-menu, .tokm-drawer-menu ul { list-style: none; margin: 0; padding: 0; }
.tokm-drawer-menu { margin: 6px 0 18px; }
.tokm-drawer-menu li { border-bottom: 1px solid var(--tk-line); display: flex; flex-wrap: wrap; align-items: center; }
.tokm-drawer-menu a { flex: 1; display: flex; align-items: center; min-height: 50px; color: var(--tk-ink); font-weight: 600; font-size: 1.02rem; }
.tokm-drawer-menu .current-menu-item > a { color: var(--tk-primary); }
.tokm-drawer-menu .sub-menu { flex-basis: 100%; display: none; padding: 0 0 8px 14px; border-left: 3px solid var(--tk-gold); margin-left: 4px; }
.tokm-drawer-menu .sub-menu li { border: 0; }
.tokm-drawer-menu .sub-menu a { min-height: 42px; font-weight: 500; font-size: 0.96rem; }
.tokm-drawer-menu li.is-open > .sub-menu { display: block; }
.tokm-subtoggle { width: 44px; height: 44px; border: 0; background: var(--tk-surface-2); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--tk-primary); }
.tokm-subtoggle svg { transition: transform 0.2s ease; transform: rotate(90deg); }
.tokm-subtoggle[aria-expanded="true"] svg { transform: rotate(-90deg); }
.tokm-drawer__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tk-muted); margin: 14px 0 10px; }
.tokm-social--drawer { margin-top: 20px; flex-wrap: wrap; }
.tokm-social--drawer .tokm-social__link, .tokm-social--footer .tokm-social__link { width: 42px; height: 42px; color: #fff; }
.tokm-social__link--facebook { background: #1877f2; }
.tokm-social__link--youtube { background: #ff0033; }
.tokm-social__link--instagram { background: linear-gradient(45deg, #f9a825, #e91e63, #8e24aa); }
.tokm-social__link--twitter { background: #111; }
.tokm-social__link--telegram { background: #229ed9; }
.tokm-social__link--whatsapp { background: #1fae5b; }
.tokm-social--topbar .tokm-social__link { background: transparent; }
body.tokm-lock { overflow: hidden; }

/* ---------- Search form + overlay ---------- */
.tokm-searchform { display: flex; align-items: center; background: var(--tk-surface-2); border-radius: 999px; padding: 4px 4px 4px 18px; border: 1.5px solid var(--tk-line); }
.tokm-searchform:focus-within { border-color: var(--tk-primary); }
.tokm-searchform__field { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0; outline: none; }
.tokm-searchform__btn { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--tk-grad); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

.tokm-search { position: fixed; inset: 0; z-index: 1000; background: rgba(15, 8, 30, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tokm-search[hidden] { display: none; }
.tokm-search__panel { background: var(--tk-surface); max-height: 100%; overflow-y: auto; padding: max(14px, env(safe-area-inset-top)) 0 24px; border-radius: 0 0 24px 24px; box-shadow: var(--tk-shadow); animation: tokm-drop 0.25s ease; }
@keyframes tokm-drop { from { transform: translateY(-20px); opacity: 0; } to { transform: none; opacity: 1; } }
.tokm-search__top { display: flex; align-items: center; gap: 8px; }
.tokm-search__form { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--tk-surface-2); border: 2px solid var(--tk-primary); border-radius: 999px; padding: 4px 18px; color: var(--tk-primary); }
.tokm-search__form input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; min-height: 46px; color: var(--tk-ink); }
.tokm-search__results { margin-top: 14px; }
.tokm-search__results:empty { display: none; }
.tokm-search__item { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--tk-line); color: var(--tk-ink); font-weight: 600; }
.tokm-search__item small { margin-left: auto; font-weight: 500; font-size: 0.72rem; color: #fff; background: var(--tk-violet); padding: 2px 8px; border-radius: 999px; flex-shrink: 0; }
.tokm-search__item:hover { color: var(--tk-primary); }
.tokm-search__all { display: block; text-align: center; padding: 14px; font-weight: 700; }
.tokm-search__msg { color: var(--tk-muted); padding: 12px 6px; }
.tokm-search__suggest { margin-top: 10px; }

/* ---------- Section headings ---------- */
.tokm-section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tokm-heading { --c: var(--tk-primary); position: relative; font-size: 1.3rem; margin: 0 0 16px; padding-left: 14px; display: flex; align-items: center; }
.tokm-section__head .tokm-heading { margin: 0; }
.tokm-heading::before { content: ""; position: absolute; left: 0; top: 10%; bottom: 10%; width: 5px; border-radius: 4px; background: linear-gradient(var(--c), color-mix(in srgb, var(--c) 40%, var(--tk-gold))); }
.tokm-heading span { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--c) 22%, transparent) 62%); }
.tokm-heading--sm { font-size: 1.12rem; }
.tokm-heading--center { justify-content: center; padding-left: 0; }
.tokm-heading--center::before { display: none; }
.tokm-viewall { --c: var(--tk-primary); display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; font-weight: 700; font-size: 0.85rem; color: var(--c); padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, transparent); }
.tokm-viewall:hover { background: var(--c); color: #fff; }
.tokm-catsec .tokm-heading, .tokm-catsec .tokm-viewall { --c: inherit; }
.tokm-catsec .tokm-heading::before { background: linear-gradient(var(--c), var(--tk-gold)); }

/* ---------- Cover photo ---------- */
.tokm-cover {
	position: relative; isolation: isolate; color: #fff; text-align: center; overflow: hidden;
	background: var(--tk-navy) var(--cover) center 40% / cover no-repeat;
	padding: 56px 0 64px;
}
.tokm-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 32, 107, 0.35), rgba(122, 47, 240, 0.35) 45%, rgba(224, 23, 127, 0.75)); }
.tokm-cover__glow { position: absolute; z-index: -1; left: 50%; top: 40%; width: 420px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 196, 64, 0.35), transparent 65%); pointer-events: none; }
.tokm-cover__eyebrow { display: inline-block; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.18); border: 1px solid rgba(255, 255, 255, 0.35); font-size: 0.82rem; font-weight: 600; margin-bottom: 12px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tokm-cover__title { color: #fff; font-size: clamp(1.75rem, 7.5vw, 3.4rem); margin: 0 0 10px; text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35); }
.tokm-cover__text { font-size: 1rem; max-width: 640px; margin: 0 auto 22px; opacity: 0.95; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
.tokm-cover__search { display: flex; align-items: center; max-width: 560px; margin: 0 auto; background: #fff; border-radius: 999px; padding: 5px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6); }
.tokm-cover__search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: 10px 16px; color: #1e1537; }
.tokm-cover__search button { display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 999px; min-height: 46px; padding: 0 16px; background: var(--tk-grad); color: #fff; font-weight: 700; }
.tokm-cover__search button span { display: none; }
.tokm-cover__edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 22px; color: var(--tk-bg); }

/* ---------- Featured slider + trending ---------- */
.tokm-featured__grid { display: grid; gap: 22px; }
.tokm-slider { position: relative; border-radius: var(--tk-radius); overflow: hidden; box-shadow: var(--tk-shadow); min-width: 0; }
.tokm-slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.tokm-slider__track::-webkit-scrollbar { display: none; }
.tokm-slider__slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.tokm-slider__nav { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--tk-navy); font-size: 1.8rem; line-height: 1; box-shadow: var(--tk-shadow-sm); }
.tokm-slider__prev { left: 12px; }
.tokm-slider__next { right: 12px; }
.tokm-slider__dots { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.tokm-slider__dots button { width: 9px; height: 9px; padding: 0; border-radius: 999px; border: 0; background: rgba(255, 255, 255, 0.55); transition: width 0.25s ease, background 0.25s ease; }
.tokm-slider__dots button[aria-current="true"] { width: 24px; background: var(--tk-gold); }

/* Overlay cards */
.tokm-overlay { position: relative; border-radius: var(--tk-radius); overflow: hidden; background: var(--tk-navy); isolation: isolate; height: 100%; }
.tokm-overlay__link { display: block; }
.tokm-overlay__media { display: block; aspect-ratio: 4 / 3.4; }
.tokm-overlay--hero .tokm-overlay__media { aspect-ratio: 4 / 3.6; }
.tokm-overlay__media img, .tokm-overlay__media .tokm-thumb-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tokm-overlay__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(19, 10, 45, 0.55) 55%, rgba(19, 10, 45, 0.95)); pointer-events: none; }
.tokm-overlay__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; color: #fff; pointer-events: none; }
.tokm-overlay__body a { pointer-events: auto; }
.tokm-overlay__title { font-size: 1.12rem; margin: 8px 0 6px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tokm-overlay--hero .tokm-overlay__title { font-size: clamp(1.2rem, 4.8vw, 1.9rem); }
.tokm-overlay__title a { color: #fff; }
.tokm-overlay__date { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; opacity: 0.85; }
.tokm-overlay:hover .tokm-overlay__media img { transform: scale(1.05); }

.tokm-trending { background: var(--tk-surface); border-radius: var(--tk-radius); padding: 18px 16px 8px; box-shadow: var(--tk-shadow-sm); min-width: 0; }

/* Mini (list) cards */
.tokm-mini-list { display: flex; flex-direction: column; }
.tokm-mini { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--tk-line); min-width: 0; }
.tokm-mini:last-child { border-bottom: 0; }
.tokm-mini__media { position: relative; flex: 0 0 84px; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; display: block; }
.tokm-mini__media img, .tokm-mini__media .tokm-thumb-ph { width: 100%; height: 100%; object-fit: cover; }
.tokm-mini__num { position: absolute; top: 4px; left: 4px; width: 26px; height: 26px; border-radius: 50%; background: var(--tk-grad); color: #fff; font-weight: 700; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); }
.tokm-mini__body { min-width: 0; }
.tokm-mini__title { font-size: 0.98rem; line-height: 1.45; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tokm-mini__title a { color: var(--tk-ink); }
.tokm-mini__title a:hover { color: var(--tk-primary); }
.tokm-mini__date { display: inline-flex; align-items: center; gap: 5px; font-size: 0.76rem; color: var(--tk-muted); }

/* Placeholder image */
.tokm-thumb-ph { --c: var(--tk-primary); display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: rgba(255, 255, 255, 0.92); background: radial-gradient(circle at 50% 35%, var(--tk-gold) 0, transparent 38%), linear-gradient(140deg, var(--c), var(--tk-navy)); }

/* ---------- Category strip ---------- */
.tokm-catstrip { padding: 6px 0 4px; }
.tokm-catstrip__row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; margin: 0 calc(-1 * var(--tk-gutter)); padding: 8px var(--tk-gutter) 12px; }
.tokm-catstrip__row::-webkit-scrollbar { display: none; }
.tokm-catstrip__item { --c: var(--tk-primary); flex: 0 0 auto; width: 78px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; scroll-snap-align: start; color: var(--tk-ink); }
.tokm-catstrip__icon { width: 62px; height: 62px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--tk-font-head); font-weight: 700; font-size: 1.5rem; color: #fff; background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 55%, var(--tk-navy))); box-shadow: 0 0 0 3px var(--tk-bg), 0 0 0 5px color-mix(in srgb, var(--c) 55%, transparent), 0 8px 18px -8px var(--c); transition: transform 0.2s ease; }
.tokm-catstrip__item:hover .tokm-catstrip__icon { transform: translateY(-3px) rotate(-4deg); }
.tokm-catstrip__name { font-size: 0.76rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Live banner ---------- */
.tokm-livebanner {
	display: flex; align-items: center; gap: 14px; margin: 18px 0 6px; padding: 14px 16px; border-radius: var(--tk-radius);
	background: linear-gradient(110deg, #c3102f, var(--tk-vermilion) 55%, var(--tk-gold)); color: #fff;
	box-shadow: 0 14px 30px -14px #c3102f; position: relative; overflow: hidden;
}
.tokm-livebanner::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.tokm-livebanner:hover { color: #fff; }
.tokm-livebanner__badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(0, 0, 0, 0.25); border-radius: 8px; padding: 6px 10px; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.08em; flex-shrink: 0; }
.tokm-livebanner__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.tokm-livebanner__text strong { font-size: 1.05rem; }
.tokm-livebanner__text small { opacity: 0.92; font-size: 0.82rem; }
.tokm-livebanner__go { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #c3102f; display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative; z-index: 1; }

/* ---------- Cards ---------- */
.tokm-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.tokm-grid > * { min-width: 0; }
.tokm-grid__full { grid-column: 1 / -1; }
.tokm-card {
	display: flex; flex-direction: column; background: var(--tk-surface); border-radius: var(--tk-radius); overflow: hidden;
	box-shadow: var(--tk-shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; min-width: 0; position: relative;
}
.tokm-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 2; background: var(--tk-rainbow); opacity: 0; transition: opacity 0.2s ease; }
@media (hover: hover) {
	.tokm-card:hover { transform: translateY(-4px); box-shadow: var(--tk-shadow); }
	.tokm-card:hover::before { opacity: 1; }
	.tokm-card:hover .tokm-card__media img { transform: scale(1.05); }
}
.tokm-card:active { transform: scale(0.99); }
.tokm-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tk-surface-2); }
.tokm-card__media img, .tokm-card__media .tokm-thumb-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tokm-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.tokm-card__title { font-size: 1.08rem; line-height: 1.45; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tokm-card__title a { color: var(--tk-ink); }
.tokm-card__title a:hover { color: var(--tk-primary); }
.tokm-card__excerpt { margin: 0; color: var(--tk-muted); font-size: 0.9rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tokm-card__foot { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: auto; padding-top: 4px; font-size: 0.76rem; color: var(--tk-muted); }
.tokm-card__foot span { display: inline-flex; align-items: center; gap: 5px; }
.tokm-card--big .tokm-card__title { font-size: 1.3rem; }

/* Grid of cards: compact horizontal cards on phones */
.tokm-grid--2 .tokm-card:not(.tokm-card--big), .tokm-grid--3 .tokm-card, .tokm-grid--4 .tokm-card { flex-direction: row; }
.tokm-grid--2 .tokm-card:not(.tokm-card--big) .tokm-card__media, .tokm-grid--3 .tokm-card .tokm-card__media, .tokm-grid--4 .tokm-card .tokm-card__media { flex: 0 0 38%; max-width: 150px; aspect-ratio: auto; min-height: 120px; }
.tokm-grid--2 .tokm-card:not(.tokm-card--big) .tokm-card__body, .tokm-grid--3 .tokm-card .tokm-card__body, .tokm-grid--4 .tokm-card .tokm-card__body { padding: 12px 14px; gap: 6px; min-width: 0; }
.tokm-grid--2 .tokm-card:not(.tokm-card--big) .tokm-card__title, .tokm-grid--3 .tokm-card .tokm-card__title, .tokm-grid--4 .tokm-card .tokm-card__title { font-size: 1rem; }
.tokm-grid--2 .tokm-card:not(.tokm-card--big) .tokm-card__excerpt { display: none; }
.tokm-grid--3 .tokm-card .tokm-card__excerpt { -webkit-line-clamp: 2; font-size: 0.85rem; }

/* Spotlight + scroller layouts */
.tokm-spotlight { display: grid; gap: 14px; }
.tokm-spotlight > * { min-width: 0; }
.tokm-spotlight__list { background: var(--tk-surface); border-radius: var(--tk-radius); padding: 4px 14px; box-shadow: var(--tk-shadow-sm); }
.tokm-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: 74%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--tk-gutter)); padding: 4px var(--tk-gutter) 12px; }
.tokm-scroller::-webkit-scrollbar { display: none; }
.tokm-scroller > * { scroll-snap-align: start; }
.tokm-overlay--tile .tokm-overlay__media { aspect-ratio: 3 / 4; }
.tokm-catsec { position: relative; }
.tokm-catsec--grid { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 7%, transparent), transparent 70%); }

/* Temple directory block */
.tokm-templedir { background: linear-gradient(180deg, color-mix(in srgb, var(--tk-gold) 14%, transparent), transparent); }
.tokm-templedir .tokm-chips { margin-bottom: 10px; }

/* ---------- Layout with sidebar ---------- */
.tokm-layout { display: grid; grid-template-columns: 1fr; gap: 28px; padding-top: 22px; padding-bottom: 36px; }
.tokm-layout > * { min-width: 0; }
.tokm-latest .tokm-layout { padding-top: 0; padding-bottom: 0; }
.tokm-sidebar { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tokm-widget { background: var(--tk-surface); border-radius: var(--tk-radius); padding: 18px 16px; box-shadow: var(--tk-shadow-sm); }
.tokm-widget-title { position: relative; font-size: 1.08rem; margin: 0 0 12px; padding-bottom: 10px; }
.tokm-widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--tk-rainbow); }
.tokm-widget ul { list-style: none; margin: 0; padding: 0; }
.tokm-widget ul li { padding: 6px 0; border-bottom: 1px dashed var(--tk-line); }
.tokm-widget ul li:last-child { border-bottom: 0; }
.tokm-catlist li { padding: 0 !important; }
.tokm-catlist a { --c: var(--tk-primary); display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; color: var(--tk-ink); font-weight: 600; }
.tokm-catlist a::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); transform: rotate(45deg); flex-shrink: 0; }
.tokm-catlist a span:first-of-type { flex: 1; }
.tokm-catlist__count { background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); font-size: 0.75rem; padding: 2px 9px; border-radius: 999px; }
.tokm-sitecard { --c: var(--tk-violet); display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; margin-top: 10px; color: #fff; background: linear-gradient(120deg, var(--c), color-mix(in srgb, var(--c) 50%, var(--tk-navy))); }
.tokm-sitecard:hover { color: #fff; filter: brightness(1.08); }
.tokm-sitecard span { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.tokm-sitecard small { opacity: 0.85; font-size: 0.75rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Page header (archives, pages) ---------- */
.tokm-pagehead {
	--c: var(--tk-primary);
	position: relative; overflow: hidden; color: #fff; padding: 18px 0 28px;
	background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--tk-gold) 45%, transparent), transparent 40%), linear-gradient(130deg, var(--c), color-mix(in srgb, var(--c) 45%, var(--tk-navy)));
}
.tokm-pagehead::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; height: 240px; border-radius: 50%; border: 26px solid rgba(255, 255, 255, 0.08); pointer-events: none; }
.tokm-pagehead .tokm-breadcrumbs { color: rgba(255, 255, 255, 0.85); margin-bottom: 14px; }
.tokm-pagehead .tokm-breadcrumbs a, .tokm-pagehead .tokm-breadcrumbs .current { color: #fff; }
.tokm-pagehead__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: rgba(255, 255, 255, 0.2); color: #fff; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.tokm-pagehead__title { color: #fff; font-size: clamp(1.6rem, 6.5vw, 2.6rem); margin: 0 0 6px; }
.tokm-pagehead__desc { opacity: 0.95; max-width: 720px; font-size: 0.95rem; }
.tokm-pagehead__desc p:last-child { margin-bottom: 0; }
.tokm-pagehead__count { display: inline-block; margin-top: 10px; font-size: 0.82rem; font-weight: 700; background: rgba(0, 0, 0, 0.2); padding: 4px 12px; border-radius: 999px; }
.tokm-pagehead__search { margin-top: 14px; max-width: 520px; }
.tokm-pagehead__search .tokm-searchform { background: #fff; border-color: transparent; }
.tokm-pagehead__search .tokm-searchform__field { color: #1e1537; }
.tokm-chips--onhead { margin-top: 12px; }
.tokm-chips--onhead .tokm-chip { background: rgba(255, 255, 255, 0.18); color: #fff; border-color: rgba(255, 255, 255, 0.35); }

/* Breadcrumbs */
.tokm-breadcrumbs { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--tk-muted); white-space: nowrap; overflow-x: auto; scrollbar-width: none; margin-bottom: 12px; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.tokm-breadcrumbs::-webkit-scrollbar { display: none; }
.tokm-breadcrumbs a { display: inline-flex; align-items: center; color: var(--tk-primary); font-weight: 600; }
.tokm-breadcrumbs .sep { opacity: 0.6; }
.tokm-breadcrumbs .current { color: var(--tk-ink); }

/* ---------- Single article ---------- */
.tokm-article { min-width: 0; }
.tokm-article__head { margin-bottom: 16px; }
.tokm-article__cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tokm-article__title { font-size: clamp(1.55rem, 6.4vw, 2.5rem); line-height: 1.32; margin: 0 0 12px; }
.tokm-article__lede { font-size: 1.08rem; color: var(--tk-muted); border-left: 4px solid var(--c, var(--tk-primary)); padding: 4px 0 4px 14px; margin: 0 0 16px; }
.tokm-article__metabar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-top: 1px solid var(--tk-line); border-bottom: 1px solid var(--tk-line); }
.tokm-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 0.82rem; color: var(--tk-muted); }
.tokm-meta__item { display: inline-flex; align-items: center; gap: 6px; }
.tokm-meta__author { font-weight: 700; color: var(--tk-ink); }
.tokm-meta__author img { border-radius: 50%; width: 28px; height: 28px; }
.tokm-article__hero { margin: 0 0 22px; border-radius: var(--tk-radius); overflow: hidden; box-shadow: var(--tk-shadow); background: var(--tk-surface-2); }
.tokm-article__hero img { width: 100%; }
.tokm-article__hero figcaption { font-size: 0.8rem; color: var(--tk-muted); padding: 8px 14px; background: var(--tk-surface); }

/* Prose — comfortable Malayalam reading */
.tokm-prose { font-size: 1.06rem; line-height: 1.95; }
.tokm-prose > * { max-width: 100%; }
.tokm-prose h2 { font-size: 1.45rem; margin: 1.6em 0 0.6em; padding-left: 12px; border-left: 5px solid var(--c, var(--tk-primary)); }
.tokm-prose h3 { font-size: 1.22rem; margin: 1.4em 0 0.5em; color: var(--c, var(--tk-primary)); }
.tokm-prose a { text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--tk-primary) 40%, transparent); text-underline-offset: 3px; }
.tokm-prose img, .tokm-prose figure { border-radius: var(--tk-radius-sm); }
.tokm-prose figure { margin: 1.4em 0; }
.tokm-prose figcaption { font-size: 0.82rem; color: var(--tk-muted); text-align: center; margin-top: 6px; }
.tokm-prose blockquote { margin: 1.4em 0; padding: 16px 18px 16px 20px; border-radius: 0 var(--tk-radius-sm) var(--tk-radius-sm) 0; background: var(--tk-surface-2); border-left: 5px solid var(--tk-gold); font-family: var(--tk-font-head); font-size: 1.08rem; }
.tokm-prose blockquote p:last-child { margin: 0; }
.tokm-prose ul, .tokm-prose ol { padding-left: 1.3em; }
.tokm-prose li { margin-bottom: 0.4em; }
.tokm-prose li::marker { color: var(--c, var(--tk-primary)); }
.tokm-prose table { display: block; overflow-x: auto; width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.tokm-prose th, .tokm-prose td { padding: 10px 12px; border: 1px solid var(--tk-line); text-align: left; }
.tokm-prose th { background: var(--tk-surface-2); }
.tokm-prose iframe { width: 100%; border-radius: var(--tk-radius-sm); }
.tokm-prose pre { overflow-x: auto; background: var(--tk-surface-2); padding: 14px; border-radius: 10px; }
.tokm-prose .wp-block-embed__wrapper iframe { aspect-ratio: 16 / 9; height: auto; }
.tokm-prose .alignwide, .tokm-prose .alignfull { margin-left: 0; margin-right: 0; }
.tokm-prose .aligncenter { margin-left: auto; margin-right: auto; }
.tokm-prose .wp-block-button__link { background: var(--tk-grad); border-radius: 999px; }
.tokm-pagelinks { margin: 20px 0; font-weight: 700; display: flex; gap: 8px; flex-wrap: wrap; }

/* Share */
.tokm-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0; }
.tokm-share__label { font-weight: 700; margin-right: 4px; width: 100%; }
.tokm-share__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 16px; border-radius: 999px; border: 0; color: #fff; font-weight: 700; font-size: 0.88rem; }
.tokm-share__btn:hover { color: #fff; filter: brightness(1.08); }
.tokm-share__btn--whatsapp { background: #1fae5b; }
.tokm-share__btn--facebook { background: #1877f2; }
.tokm-share__btn--telegram { background: #229ed9; }
.tokm-share__btn--twitter { background: #111; }
.tokm-share__btn--copy { background: var(--tk-violet); }
.tokm-share__btn--copy.is-done { background: var(--tk-green); }
.tokm-share--compact { margin: 0; gap: 6px; }
.tokm-share--compact .tokm-share__btn { padding: 0; width: 38px; min-width: 38px; min-height: 38px; }

/* Tags, author, nav, related */
.tokm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.tokm-tag { padding: 6px 12px; border-radius: 999px; background: var(--tk-surface); border: 1px solid var(--tk-line); color: var(--tk-ink); font-size: 0.85rem; font-weight: 600; }
.tokm-tag:hover { background: var(--tk-primary); color: #fff; }
.tokm-author { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--tk-radius); background: linear-gradient(120deg, color-mix(in srgb, var(--tk-primary) 9%, var(--tk-surface)), color-mix(in srgb, var(--tk-violet) 9%, var(--tk-surface))); margin: 8px 0 22px; }
.tokm-author img { border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 3px var(--tk-surface), 0 0 0 5px var(--tk-gold); }
.tokm-author__label { display: block; font-size: 0.75rem; color: var(--tk-muted); }
.tokm-author__name { font-weight: 700; font-size: 1.05rem; color: var(--tk-ink); }
.tokm-author p { margin: 6px 0 0; font-size: 0.9rem; color: var(--tk-muted); }
.tokm-postnav { display: grid; gap: 12px; margin-bottom: 26px; }
.tokm-postnav__item { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--tk-radius-sm); background: var(--tk-surface); box-shadow: var(--tk-shadow-sm); color: var(--tk-ink); border-left: 4px solid var(--tk-primary); }
.tokm-postnav__item span { font-size: 0.78rem; color: var(--tk-primary); font-weight: 700; }
.tokm-postnav__item strong { font-size: 0.95rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tokm-postnav__item--next { text-align: right; border-left: 0; border-right: 4px solid var(--tk-violet); }
.tokm-postnav__item--next span { color: var(--tk-violet); }
.tokm-related { margin-top: 10px; }

/* Comments */
.tokm-comments { margin-top: 30px; }
.tokm-comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.tokm-comment-list .children { list-style: none; padding-left: 18px; border-left: 2px solid var(--tk-line); }
.tokm-comment-list .comment-body { background: var(--tk-surface); border-radius: var(--tk-radius-sm); padding: 14px; margin-bottom: 12px; box-shadow: var(--tk-shadow-sm); }
.tokm-comment-list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.tokm-comment-list .comment-author img { border-radius: 50%; }
.tokm-comment-list .comment-metadata { font-size: 0.75rem; }
.tokm-comment-list .comment-metadata a { color: var(--tk-muted); }
.comment-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.tok-contact-form input[type="text"], .tok-contact-form input[type="email"], .tok-contact-form input[type="tel"], .tok-contact-form textarea,
.tok-auth-card input[type="text"], .tok-auth-card input[type="password"], .tok-auth-card input[type="email"], .tok-auth-card input[type="tel"],
.tok-register-form input[type="text"], .tok-register-form input[type="password"], .tok-register-form input[type="email"], .tok-register-form input[type="tel"] {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--tk-line); border-radius: 12px; background: var(--tk-surface); color: var(--tk-ink);
}
.comment-form textarea, .tok-contact-form textarea { min-height: 130px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus, .tok-contact-form input:focus, .tok-contact-form textarea:focus, .tok-auth-card input:focus, .tok-register-form input:focus { border-color: var(--tk-primary); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--tk-primary) 15%, transparent); }
.comment-form .form-submit input, .tok-auth-card input[type="submit"] { background: var(--tk-grad); color: #fff; border: 0; border-radius: 999px; min-height: 48px; padding: 0 26px; font-weight: 700; }

/* Pagination */
.pagination { margin: 30px 0 10px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 0 14px; border-radius: 999px; background: var(--tk-surface); color: var(--tk-ink); font-weight: 700; box-shadow: var(--tk-shadow-sm); }
.page-numbers.current { background: var(--tk-grad); color: #fff; }
.page-numbers.dots { background: transparent; box-shadow: none; min-width: 20px; }
a.page-numbers:hover { color: var(--tk-primary); }

/* Empty / 404 */
.tokm-empty { text-align: center; padding: 40px 16px; background: var(--tk-surface); border-radius: var(--tk-radius); color: var(--tk-muted); }
.tokm-empty .tokm-icon { color: var(--tk-gold); margin: 0 auto 10px; }
.tokm-empty .tokm-searchform { max-width: 420px; margin: 16px auto 0; }
.tokm-404 { text-align: center; padding-top: 40px; padding-bottom: 60px; }
.tokm-404__art { display: flex; align-items: center; justify-content: center; gap: 6px; font-family: var(--tk-font-brand); font-size: clamp(5rem, 28vw, 9rem); line-height: 1; background: var(--tk-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tokm-404__lamp { color: var(--tk-gold); display: flex; animation: tokm-flicker 2s ease-in-out infinite; }
.tokm-404__lamp .tokm-icon { width: 0.8em; height: 0.8em; }
@keyframes tokm-flicker { 0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px var(--tk-gold)); } 50% { transform: scale(1.06); filter: drop-shadow(0 0 22px var(--tk-gold)); } }
.tokm-404__search { max-width: 460px; margin: 20px auto; }

/* ---------- Ads ---------- */
.tok-ad { margin: 22px auto; text-align: center; overflow: hidden; max-width: 100%; clear: both; }
.tok-ad ins, .tok-ad iframe { max-width: 100% !important; }
.tok-ad-label { display: block; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tk-muted); margin-bottom: 6px; }
.tok-ad--header, .tok-ad--footer { padding: 0 var(--tk-gutter); max-width: var(--tk-container); }
.tok-ad--sidebar { margin: 0; }
.tok-ad--home { margin: 6px auto 18px; }

/* ---------- Footer ---------- */
.tokm-footer { position: relative; margin-top: 40px; background: var(--tk-navy); color: rgba(255, 255, 255, 0.85); }
.tokm-footer__wave { position: absolute; left: 0; right: 0; top: -28px; width: 100%; height: 30px; color: var(--tk-navy); }
.tokm-footer__rainbow { height: 4px; background: var(--tk-rainbow); }
.tokm-footer__grid { display: grid; gap: 28px; padding-top: 34px; padding-bottom: 28px; grid-template-columns: 1fr; }
.tokm-footer a { color: #fff; }
.tokm-footer a:hover { color: var(--tk-gold); }
.tokm-footer__brand { display: flex; align-items: center; gap: 12px; font-family: var(--tk-font-brand); font-size: 1.35rem; color: #fff; margin-bottom: 12px; }
.tokm-footer__brand img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 50%; padding: 3px; }
.tokm-footer__about p { font-size: 0.92rem; line-height: 1.8; }
.tokm-footer__title { color: #fff; font-size: 1.05rem; margin: 0 0 12px; padding-bottom: 8px; position: relative; }
.tokm-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--tk-gold); }
.tokm-footer__col + .tokm-footer__col .tokm-footer__title ~ .tokm-footer__title { margin-top: 22px; }
.tokm-footer__list { list-style: none; margin: 0 0 18px; padding: 0; }
.tokm-footer__list li a { display: flex; align-items: center; gap: 8px; min-height: 40px; font-size: 0.94rem; }
.tokm-footer__list li a::before { content: "✦"; color: var(--tk-gold); font-size: 0.7em; }
.tokm-footer__list--sites li a::before { display: none; }
.tokm-footer__line { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; margin-bottom: 12px; }
.tokm-footer__line .tokm-icon { color: var(--tk-gold); margin-top: 4px; }
.tokm-footer .tokm-widget { background: transparent; box-shadow: none; padding: 0; }
.tokm-footer .tokm-widget-title { color: #fff; }
.tokm-footer__bottom { background: rgba(0, 0, 0, 0.25); font-size: 0.84rem; }
.tokm-footer__bottom-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 16px; padding-bottom: 18px; }
.tokm-footer__copy, .tokm-footer__credit { margin: 0; }
.tokm-footer__credit a { font-weight: 700; color: var(--tk-gold); }
.tokm-footer__credit-url { opacity: 0.75; }
.tokm-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.tokm-footer__menu a { display: inline-block; padding: 6px 0; opacity: 0.9; }

/* ---------- Floating buttons ---------- */
.tokm-fab { position: fixed; right: max(16px, env(safe-area-inset-right)); z-index: 300; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 0; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45); transition: transform 0.2s ease, opacity 0.2s ease; }
.tokm-fab--whatsapp { width: 56px; height: 56px; bottom: calc(18px + var(--tk-bottomnav-h) + env(safe-area-inset-bottom)); background: #1fae5b; color: #fff; }
.tokm-fab--whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1fae5b; animation: tokm-ring 2.4s ease-out infinite; }
@keyframes tokm-ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.6); opacity: 0; } }
.tokm-fab--whatsapp:hover { color: #fff; transform: scale(1.06); }
.tokm-fab--top { width: 44px; height: 44px; bottom: calc(86px + var(--tk-bottomnav-h) + env(safe-area-inset-bottom)); background: var(--tk-surface); color: var(--tk-primary); opacity: 0; transform: translateY(12px); pointer-events: none; right: max(22px, env(safe-area-inset-right)); }
.tokm-fab--top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
body:not(:has(.tokm-fab--whatsapp)) .tokm-fab--top { bottom: calc(18px + var(--tk-bottomnav-h) + env(safe-area-inset-bottom)); }

/* ---------- Bottom navigation (phones) ---------- */
.tokm-has-bottom-nav { --tk-bottomnav-h: 64px; }
.tokm-bottomnav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 400;
	display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
	height: calc(64px + env(safe-area-inset-bottom)); padding: 0 6px env(safe-area-inset-bottom);
	background: color-mix(in srgb, var(--tk-surface) 94%, transparent);
	-webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
	border-top: 1px solid var(--tk-line); box-shadow: 0 -8px 24px -14px rgba(70, 20, 100, 0.35);
}
.tokm-bottomnav > a, .tokm-bottomnav > button {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	height: 64px; border: 0; background: none; color: var(--tk-muted); font-size: 0.68rem; font-weight: 600; padding: 0; min-width: 0;
}
.tokm-bottomnav > a span, .tokm-bottomnav > button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tokm-bottomnav > .is-active, .tokm-bottomnav > a:active, .tokm-bottomnav > button:active { color: var(--tk-primary); }
.tokm-bottomnav__search { position: relative; }
.tokm-bottomnav > .tokm-bottomnav__search { height: 64px; }
.tokm-bottomnav__search .tokm-icon { width: 54px; height: 54px; padding: 15px; margin-top: -26px; border-radius: 50%; color: #fff; background: var(--tk-grad); box-shadow: 0 0 0 5px var(--tk-bg), 0 10px 20px -8px var(--tk-primary); }
.tokm-bottomnav__live { color: #e8173a !important; }
.tokm-bottomnav__wa { color: #1fae5b !important; }
.tokm-bottomnav .tokm-theme-toggle .tokm-icon--sun { display: none; }
[data-theme="dark"] .tokm-bottomnav .tokm-theme-toggle .tokm-icon--sun { display: inline; }
[data-theme="dark"] .tokm-bottomnav .tokm-theme-toggle .tokm-icon--moon { display: none; }

/* ==========================================================================
   Temple directory, vazhipadu, live darshan, membership, contact
   ========================================================================== */
.tokm-filterbar { margin-bottom: 18px; }
.tokm-filterbar__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tk-muted); margin: 14px 0 4px; }

.tokm-templehero { position: relative; isolation: isolate; color: #fff; min-height: 300px; display: flex; align-items: flex-end; background: linear-gradient(130deg, var(--tk-primary), var(--tk-navy)); overflow: hidden; }
.tokm-templehero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tokm-templehero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(19, 10, 45, 0.2), rgba(19, 10, 45, 0.88)); }
.tokm-templehero__inner { padding-top: 22px; padding-bottom: 26px; }
.tokm-templehero .tokm-breadcrumbs, .tokm-templehero .tokm-breadcrumbs a, .tokm-templehero .tokm-breadcrumbs .current { color: #fff; }
.tokm-templehero__title { color: #fff; font-size: clamp(1.7rem, 7vw, 3rem); margin: 10px 0 6px; }
.tokm-templehero__place { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 600; }
.tokm-templehero__place a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.tok-tabs { margin: 20px 0; position: relative; }
.tok-tabs-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin-bottom: 16px; background: var(--tk-surface); border-radius: 999px; box-shadow: var(--tk-shadow-sm); }
.tok-tabs-nav::-webkit-scrollbar { display: none; }
.tok-tab-btn { flex: 1 0 auto; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--tk-muted); font-weight: 700; font-size: 0.92rem; white-space: nowrap; }
.tok-tab-btn.is-active { background: var(--tk-grad); color: #fff; box-shadow: 0 6px 14px -6px var(--tk-primary); }
.tok-tab-panel { display: none; }
.tok-tab-panel.is-active { display: block; animation: tokm-fade 0.3s ease; }
@keyframes tokm-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tok-empty-note { color: var(--tk-muted); font-style: italic; }

.tok-festival-table { display: flex; flex-direction: column; gap: 10px; }
.tok-festival-item { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--tk-radius-sm); background: var(--tk-surface); box-shadow: var(--tk-shadow-sm); border-left: 5px solid var(--tk-gold); }
.tok-festival-item:nth-child(3n+2) { border-color: var(--tk-primary); }
.tok-festival-item:nth-child(3n+3) { border-color: var(--tk-green); }
.tok-festival-month { font-size: 0.8rem; font-weight: 700; color: var(--tk-primary); }
.tok-festival-name { font-weight: 700; font-family: var(--tk-font-head); font-size: 1.05rem; }
.tok-festival-desc { color: var(--tk-muted); font-size: 0.9rem; }

.tok-vazhipadu-grid { display: grid; gap: 12px; grid-template-columns: 1fr; }
.tok-vazhipadu-card { display: flex; align-items: stretch; background: var(--tk-surface); border-radius: var(--tk-radius-sm); overflow: hidden; box-shadow: var(--tk-shadow-sm); color: var(--tk-ink); border: 1px solid var(--tk-line); }
.tok-vazhipadu-card:hover { color: var(--tk-ink); border-color: var(--tk-primary); }
.tok-vazhipadu-card__image { flex: 0 0 96px; min-height: 96px; background: var(--tk-surface-2) center / cover; display: block; }
.tok-vazhipadu-card__body { flex: 1; min-width: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.tok-vazhipadu-card__temple { font-size: 0.74rem; font-weight: 700; color: var(--tk-violet); }
.tok-vazhipadu-card__title { font-family: var(--tk-font-head); font-weight: 700; font-size: 1.05rem; margin: 0; }
.tok-vazhipadu-card__notes { font-size: 0.84rem; color: var(--tk-muted); margin: 0; line-height: 1.5; }
.tok-vazhipadu-card__rate { margin: 4px 0 0; font-weight: 800; font-size: 1.05rem; color: var(--tk-green); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.tok-vazhipadu-card__unit { font-weight: 500; font-size: 0.78rem; color: var(--tk-muted); }
.tokm-pricetag { display: inline-block; margin: 10px 0 0; background: #fff; color: var(--tk-green); font-weight: 800; font-size: 1.4rem; padding: 6px 18px; border-radius: 999px; }
.tokm-pricetag small { color: var(--tk-muted); font-size: 0.8rem; font-weight: 500; }

.tokm-templemedia { margin-top: 26px; }
.tok-video-wrap { border-radius: var(--tk-radius); overflow: hidden; margin-bottom: 14px; box-shadow: var(--tk-shadow); }
.tok-video-wrap iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; }
.tok-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tok-gallery-item { display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; }
.tok-gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.tokm-infocard { background: var(--tk-surface); border-radius: var(--tk-radius); padding: 18px; box-shadow: var(--tk-shadow-sm); border-top: 5px solid var(--tk-gold); }
.tokm-infocard h3 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; color: var(--tk-primary); }
.tokm-infocard p { display: flex; flex-direction: column; margin: 0 0 12px; font-size: 0.95rem; }
.tokm-infocard p span { font-size: 0.75rem; color: var(--tk-muted); font-weight: 700; }
.tok-single-map { height: 220px; border-radius: 14px; overflow: hidden; margin: 6px 0 12px; position: relative; z-index: 0; }

/* Lightbox */
.tok-lightbox-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(10, 5, 20, 0.95); display: flex; align-items: center; justify-content: center; padding: 56px 0 96px; }
.tok-lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tok-lightbox-overlay img { max-width: 100vw; max-height: calc(100dvh - 170px); }
.tok-lightbox-count { color: rgba(255, 255, 255, 0.8); font-size: 0.85rem; }
.tok-lightbox-close { position: absolute; top: calc(8px + env(safe-area-inset-top)); right: 8px; width: 48px; height: 48px; border: 0; background: none; color: #fff; font-size: 2.4rem; line-height: 1; }
.tok-lightbox-nav { position: absolute; bottom: calc(20px + env(safe-area-inset-bottom)); width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.16); color: #fff; font-size: 1.9rem; }
.tok-lightbox-prev { left: calc(50% - 72px); }
.tok-lightbox-next { right: calc(50% - 72px); }
.tok-lightbox-overlay.is-single .tok-lightbox-nav { display: none; }
body.tok-lightbox-open { overflow: hidden; }

/* Map search */
.tok-map-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.tok-map-controls select, .tok-map-controls input[type="text"] { flex: 1 1 100%; min-width: 0; min-height: 50px; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--tk-line); background: var(--tk-surface); color: var(--tk-ink); }
.tok-map-layout { display: grid; grid-template-columns: 1fr; border-radius: var(--tk-radius); overflow: hidden; box-shadow: var(--tk-shadow); background: var(--tk-surface); }
.tok-leaflet-map { height: 340px; position: relative; z-index: 0; }
.tok-map-results { max-height: 340px; overflow-y: auto; border-top: 1px solid var(--tk-line); }
.tok-map-result-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 16px; border: 0; border-bottom: 1px solid var(--tk-line); background: none; text-align: left; color: var(--tk-ink); }
.tok-map-result-item:hover { background: var(--tk-surface-2); }
.tok-map-result-item img, .tok-map-result-thumb { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--tk-grad); }
.tok-map-result-text { display: flex; flex-direction: column; min-width: 0; }
.tok-map-result-title { font-weight: 700; line-height: 1.35; }
.tok-map-result-region { font-size: 0.8rem; color: var(--tk-muted); }
.tok-map-empty { padding: 20px; color: var(--tk-muted); }
.tok-map-activate { position: absolute; inset: 0; z-index: 1100; width: 100%; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 16px; border: 0; background: linear-gradient(180deg, transparent 55%, rgba(19, 10, 45, 0.4)); }
.tok-map-activate span { background: #fff; color: var(--tk-primary); font-weight: 700; font-size: 0.88rem; padding: 10px 18px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
.tok-leaflet-map:not(.is-locked) .tok-map-activate, .tok-single-map:not(.is-locked) .tok-map-activate { display: none; }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.leaflet-popup-content h4 { margin: 0 0 4px; font-family: var(--tk-font-head); }
.leaflet-popup-content p { margin: 0 0 6px !important; }
.leaflet-popup-content a { font-weight: 700; }
.leaflet-touch .leaflet-bar a { width: 40px; height: 40px; line-height: 40px; }

/* Live darshan + membership */
.tok-live-player { border-radius: var(--tk-radius); overflow: hidden; box-shadow: var(--tk-shadow); background: #000; }
.tok-live-embed-wrap { position: relative; aspect-ratio: 16 / 9; }
.tok-live-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tok-live-stream-title { display: flex; align-items: center; gap: 10px; }
.tok-live-stream-title .tokm-live-dot { background: #e8173a; }
.tok-live-placeholder { text-align: center; padding: 40px 18px; background: var(--tk-surface); border-radius: var(--tk-radius); border: 2px dashed var(--tk-line); color: var(--tk-muted); }
.tok-live-placeholder .tokm-icon { color: #e8173a; margin: 0 auto 10px; }
.tok-account-card, .tok-auth-card { background: var(--tk-surface); border-radius: var(--tk-radius); padding: 22px 18px; box-shadow: var(--tk-shadow-sm); margin-bottom: 20px; }
.tokm-lockcard { text-align: center; border-top: 5px solid #e8173a; }
.tokm-lockcard > .tokm-icon { color: #e8173a; margin: 0 auto 8px; }
.tok-auth-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 26px; }
.tok-auth-grid .tok-auth-card { margin: 0; }
.tok-auth-card h3 { color: var(--tk-primary); }
.tok-auth-card label, .tok-register-form label, .tok-contact-form label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.tok-auth-card form p, .tok-register-form p, .tok-contact-form p { margin-bottom: 14px; }
.tok-auth-note { font-size: 0.88rem; color: var(--tk-muted); }
.tok-auth-success { color: var(--tk-green); font-weight: 700; }
.tok-auth-error { color: #d32f2f; font-weight: 700; }
.tok-status-pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 700; }
.tok-status-active { background: color-mix(in srgb, var(--tk-green) 15%, transparent); color: var(--tk-green); }
.tok-status-inactive { background: rgba(211, 47, 47, 0.12); color: #d32f2f; }
.tok-plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 10px 0 26px; }
.tok-plan-card { position: relative; background: var(--tk-surface); border-radius: var(--tk-radius); padding: 26px 20px 20px; text-align: center; box-shadow: var(--tk-shadow-sm); border: 2px solid transparent; }
.tok-plan-card--featured { border-color: var(--tk-primary); box-shadow: var(--tk-shadow); }
.tok-plan-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--tk-grad); color: #fff; font-size: 0.72rem; font-weight: 800; padding: 4px 14px; border-radius: 999px; white-space: nowrap; }
.tok-plan-name { color: var(--tk-navy); }
[data-theme="dark"] .tok-plan-name { color: var(--tk-ink); }
.tok-plan-price { font-size: 2rem; font-weight: 800; margin: 6px 0; background: var(--tk-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tok-plan-duration { display: block; font-size: 0.82rem; font-weight: 500; color: var(--tk-muted); -webkit-text-fill-color: var(--tk-muted); }
.tok-plan-desc { color: var(--tk-muted); font-size: 0.9rem; }
.tok-plan-features { list-style: none; padding: 0; margin: 0; text-align: left; font-size: 0.9rem; }
.tok-plan-features li { padding: 8px 0 8px 26px; border-top: 1px dashed var(--tk-line); position: relative; }
.tok-plan-features li::before { content: "✓"; position: absolute; left: 4px; color: var(--tk-green); font-weight: 800; }

/* UPI QR */
.tok-payment-qr { max-width: 340px; margin: 16px auto; text-align: center; background: var(--tk-surface); border-radius: var(--tk-radius); padding: 22px 18px; box-shadow: var(--tk-shadow); border-top: 5px solid var(--tk-green); }
.tok-payment-qr__instructions { font-size: 0.9rem; color: var(--tk-muted); }
.tok-payment-qr__image, .tok-payment-qr__canvas { display: inline-block; width: 210px; height: 210px; padding: 6px; background: #fff; border-radius: 14px; border: 1px solid var(--tk-line); }
.tok-payment-qr__canvas img, .tok-payment-qr__canvas canvas { width: 100% !important; height: auto !important; }
.tok-payment-qr__upi-id { margin: 10px 0 0; }
.tok-payment-qr__paid-btn { margin-top: 14px; }
.tok-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700; border: 0; }
.tok-btn-primary { background: var(--tk-grad); color: #fff; }
.tok-btn-primary:hover { color: #fff; }
.tok-btn-block { display: flex; width: 100%; }

/* Contact */
.tokm-contact { display: grid; gap: 22px; grid-template-columns: 1fr; }
.tokm-contact > * { min-width: 0; }
.tokm-contact__cards { display: flex; flex-direction: column; gap: 12px; }
.tokm-contactcard { --c: var(--tk-primary); display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--tk-radius-sm); background: var(--tk-surface); box-shadow: var(--tk-shadow-sm); color: var(--tk-ink); font-weight: 600; border-left: 5px solid var(--c); }
.tokm-contactcard > .tokm-icon { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--c); color: #fff; }
.tokm-contactcard span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.tokm-contactcard small { font-size: 0.74rem; color: var(--tk-muted); font-weight: 700; }
a.tokm-contactcard:hover { color: var(--c); }
.tokm-contact__addtemple { padding: 16px; border-radius: var(--tk-radius-sm); background: linear-gradient(120deg, color-mix(in srgb, var(--tk-gold) 22%, var(--tk-surface)), color-mix(in srgb, var(--tk-primary) 10%, var(--tk-surface))); font-size: 0.95rem; }
.tokm-contact__addtemple a { font-weight: 800; }
.tok-contact-map { border-radius: var(--tk-radius-sm); overflow: hidden; }
.tok-contact-map iframe { width: 100%; height: 240px; border: 0; display: block; }
.tok-contact-form-wrap { background: var(--tk-surface); border-radius: var(--tk-radius); padding: 22px 18px; box-shadow: var(--tk-shadow); border-top: 5px solid var(--tk-violet); }
.tok-contact-honeypot { position: absolute; left: -9999px; }
.tok-contact-form .tok-btn { width: 100%; }
.tokm-donate { text-align: center; margin-top: 30px; padding: 26px 0 0; }

/* ==========================================================================
   Larger screens
   ========================================================================== */
@media (min-width: 600px) {
	:root { --tk-gutter: 22px; }
	.tokm-grid--2, .tokm-grid--3, .tokm-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.tokm-grid--2 .tokm-card:not(.tokm-card--big), .tokm-grid--3 .tokm-card, .tokm-grid--4 .tokm-card { flex-direction: column; }
	.tokm-grid--2 .tokm-card:not(.tokm-card--big) .tokm-card__media, .tokm-grid--3 .tokm-card .tokm-card__media, .tokm-grid--4 .tokm-card .tokm-card__media { flex: none; max-width: none; aspect-ratio: 16 / 10; min-height: 0; }
	.tokm-grid--2 .tokm-card:not(.tokm-card--big) .tokm-card__excerpt { display: -webkit-box; }
	.tokm-card--wide { grid-column: 1 / -1; }
	.tokm-scroller { grid-auto-columns: 42%; }
	.tokm-cover { padding: 80px 0 90px; }
	.tokm-cover__search button span { display: inline; }
	.tokm-overlay--hero .tokm-overlay__media { aspect-ratio: 16 / 9; }
	.tokm-overlay__body { padding: 22px; }
	.tok-vazhipadu-grid { grid-template-columns: repeat(2, 1fr); }
	.tok-auth-grid { grid-template-columns: 1fr 1fr; }
	.tok-gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
	.tokm-postnav { grid-template-columns: 1fr 1fr; }
	.tokm-postnav__item--next:only-child { grid-column: 2; }
	.tokm-footer__grid { grid-template-columns: 1fr 1fr; }
	.tokm-topbar__text { display: block; }
	.tokm-share__label { width: auto; }
	.tokm-pagehead { padding: 26px 0 40px; }
	.tok-map-controls select { flex: 0 0 240px; }
	.tok-map-controls input[type="text"] { flex: 1 1 260px; }
}

@media (min-width: 900px) {
	.tokm-grid--3 { grid-template-columns: repeat(3, 1fr); }
	.tokm-grid--4 { grid-template-columns: repeat(4, 1fr); }
	.tokm-spotlight { grid-template-columns: 1.25fr 1fr; gap: 22px; }
	.tokm-scroller { grid-auto-columns: calc((100% - 3 * 14px) / 4); overflow: visible; margin: 0; padding: 0; }
	.tokm-section { padding-top: 40px; padding-bottom: 40px; }
	.tokm-heading { font-size: 1.55rem; }
	.tok-map-layout { grid-template-columns: 1.6fr 1fr; }
	.tok-leaflet-map, .tok-map-results { height: 520px; max-height: none; }
	.tok-map-results { border-top: 0; border-left: 1px solid var(--tk-line); }
	.tok-vazhipadu-grid { grid-template-columns: repeat(3, 1fr); }
	.tok-festival-item { grid-template-columns: 160px 220px 1fr; align-items: center; gap: 16px; }
	.tokm-contact { grid-template-columns: 1fr 1.15fr; gap: 32px; }
	.tokm-templehero { min-height: 440px; }
}

/* Desktop: full navigation, sidebar, no bottom bar */
@media (min-width: 1024px) {
	:root { --tk-gutter: 28px; }
	body { font-size: 17px; }
	.tokm-has-bottom-nav { --tk-bottomnav-h: 0px; }
	.tokm-bottomnav, .tokm-drawer-open { display: none !important; }
	.tokm-topbar__menu { display: flex; }
	.tokm-masthead { position: relative; background: var(--tk-surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
	.tokm-masthead::after { display: none; }
	.tokm-masthead__inner { min-height: 96px; gap: 16px; }
	.tokm-brand .custom-logo { height: 76px; max-width: 200px; }
	.tokm-brand__title { font-size: 2rem; }
	.tokm-brand__tagline { font-size: 0.85rem; }
	.tokm-live-btn { display: inline-flex; }

	.tokm-navbar { position: sticky; top: 0; z-index: 200; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, 0.5); }
	.tokm-navbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--tk-rainbow); }
	.tokm-navbar .tokm-menu { overflow: visible; margin: 0; padding: 0; flex-wrap: wrap; }
	.tokm-menu > li > a { min-height: 54px; padding: 0 16px; }
	.tokm-menu .sub-menu {
		display: block; position: absolute; top: 100%; left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px;
		background: var(--tk-surface); border-radius: 0 0 14px 14px; box-shadow: var(--tk-shadow); border-top: 3px solid var(--tk-gold);
		opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s 0.18s;
	}
	.tokm-menu li:hover > .sub-menu, .tokm-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; transition: opacity 0.18s ease, transform 0.18s ease; }
	.tokm-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--tk-ink); font-weight: 600; font-size: 0.93rem; }
	.tokm-menu .sub-menu a:hover { background: var(--tk-surface-2); color: var(--tk-primary); }
	.tokm-menu .sub-menu .sub-menu { top: 0; left: 100%; border-radius: 14px; }
	.tokm-menu > .menu-item-has-children > a { padding-right: 28px; }
	.tokm-menu > .menu-item-has-children > a::before { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); opacity: 0.8; }

	.tokm-featured__grid { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: stretch; }
	.tokm-slider__nav { display: flex; align-items: center; justify-content: center; }
	.tokm-overlay--hero .tokm-overlay__media { aspect-ratio: 16 / 9.5; }
	.tokm-catstrip__row { justify-content: center; flex-wrap: wrap; overflow: visible; margin: 0; padding: 8px 0 12px; }
	.tokm-catstrip__item { width: 96px; }
	.tokm-catstrip__icon { width: 72px; height: 72px; font-size: 1.8rem; }

	.tokm-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 36px; padding-top: 30px; }
	.tokm-layout--temple { grid-template-columns: minmax(0, 1fr) 340px; }
	.tokm-sidebar { position: sticky; top: 80px; align-self: start; }
	.tokm-article__title { font-size: 2.45rem; }
	.tokm-prose { font-size: 1.1rem; }
	.tokm-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-top: 50px; }
	.tokm-footer__bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
	.tokm-fab--whatsapp { width: 60px; height: 60px; }
	html { scroll-padding-top: 70px; }
}

@media (max-width: 380px) {
	:root { --tk-gutter: 13px; }
	.tokm-brand__title { font-size: 1.1rem; }
	.tokm-brand .custom-logo { height: 40px; }
	.tokm-iconbtn { width: 40px; height: 40px; }
	.tokm-grid--2 .tokm-card:not(.tokm-card--big) .tokm-card__media, .tokm-grid--3 .tokm-card .tokm-card__media, .tokm-grid--4 .tokm-card .tokm-card__media { max-width: 118px; }
	.tokm-mini__media { flex-basis: 74px; width: 74px; height: 74px; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
	.tokm-ticker__track { animation: none; }
	.tokm-ticker__viewport { overflow-x: auto; }
}

@media print {
	.tokm-topbar, .tokm-navbar, .tokm-ticker, .tokm-bottomnav, .tokm-fab, .tokm-sidebar, .tokm-share, .tok-ad, .tokm-footer, .tokm-masthead__actions, .tokm-drawer-open { display: none !important; }
	body { padding: 0; background: #fff; }
}

/* ---------- Core block widgets (Search, Latest Posts, Categories, Archives…) ---------- */
.tokm-widget h2, .tokm-widget .wp-block-heading, .tokm-widget .wp-block-search__label { position: relative; display: block; font-family: var(--tk-font-head); font-size: 1.08rem; font-weight: 700; margin: 0 0 12px; padding-bottom: 10px; color: var(--tk-ink); }
.tokm-widget h2::after, .tokm-widget .wp-block-heading::after, .tokm-widget .wp-block-search__label::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--tk-rainbow); }
.tokm-widget .wp-block-search__inside-wrapper { display: flex; align-items: center; gap: 0; background: var(--tk-surface-2); border: 1.5px solid var(--tk-line) !important; border-radius: 999px; padding: 4px !important; }
.tokm-widget .wp-block-search__input { flex: 1; min-width: 0; border: 0 !important; background: transparent; padding: 8px 14px; outline: none; min-height: 40px; color: var(--tk-ink); }
.tokm-widget .wp-block-search__button { margin: 0 !important; border: 0; border-radius: 999px; min-height: 42px; padding: 0 18px; background: var(--tk-grad) !important; color: #fff !important; font-weight: 700; }
.tokm-widget .wp-block-latest-posts li, .tokm-widget .wp-block-categories li, .tokm-widget .wp-block-archives li, .tokm-widget .wp-block-page-list li { padding: 0; }
.tokm-widget .wp-block-latest-posts a, .tokm-widget .wp-block-categories a, .tokm-widget .wp-block-archives a, .tokm-widget .wp-block-page-list a, .tokm-widget .wp-block-latest-comments a { display: flex; align-items: center; min-height: 42px; padding: 6px 0; color: var(--tk-ink); font-weight: 600; line-height: 1.5; }
.tokm-widget .wp-block-latest-posts a:hover, .tokm-widget .wp-block-categories a:hover { color: var(--tk-primary); }
.tokm-widget .wp-block-latest-comments { padding: 0; margin: 0; }
.tokm-widget .wp-block-latest-comments__comment { font-size: 0.9rem; margin-bottom: 10px; }
.tokm-widget select { width: 100%; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--tk-line); background: var(--tk-surface); padding: 0 12px; }
.tokm-widget .wp-block-group, .tokm-widget .wp-block-group__inner-container { margin: 0; }
.tokm-widget .wp-block-group + .wp-block-group, .tokm-widget > * + .wp-block-group { margin-top: 18px; }
.tokm-footer .tokm-widget h2, .tokm-footer .tokm-widget .wp-block-heading { color: #fff; }
.tokm-footer .tokm-widget a { color: #fff; }
.tokm-footer .tokm-widget .wp-block-search__inside-wrapper { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2) !important; }
.tokm-footer .tokm-widget .wp-block-search__input { color: #fff; }

/* Desktop: featured slider fills the full height beside the trending list */
.tokm-slider { background: var(--tk-navy); }
@media (min-width: 1024px) {
	.tokm-slider, .tokm-slider__track, .tokm-slider__slide, .tokm-overlay--hero, .tokm-overlay--hero .tokm-overlay__link { height: 100%; }
	.tokm-overlay--hero .tokm-overlay__media { height: 100%; aspect-ratio: auto; min-height: 430px; }
}
@media (min-width: 1024px) and (max-width: 1320px) {
	.tokm-menu > li > a { padding: 0 10px; font-size: 0.88rem; }
	.tokm-menu > .menu-item-has-children > a { padding-right: 24px; }
}

/* ---------- Join WhatsApp Group ---------- */
.tokm-wagroup {
	display: flex; align-items: center; gap: 14px; margin: 22px 0; padding: 16px; border-radius: var(--tk-radius);
	background: radial-gradient(circle at 92% 10%, rgba(255, 255, 255, 0.22), transparent 40%), linear-gradient(120deg, #0f8a43, #1fae5b 55%, #25d366);
	color: #fff; box-shadow: 0 14px 30px -14px #0f8a43; position: relative; overflow: hidden;
}
.tokm-wagroup:hover { color: #fff; filter: brightness(1.05); }
.tokm-wagroup::after { content: ""; position: absolute; right: -30px; bottom: -50px; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(255, 255, 255, 0.1); pointer-events: none; }
.tokm-wagroup__icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #1fae5b; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.25); animation: tokm-wa-bob 2.6s ease-in-out infinite; }
@keyframes tokm-wa-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.tokm-wagroup__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; flex: 1; }
.tokm-wagroup__text strong { font-family: var(--tk-font-head); font-size: 1.1rem; }
.tokm-wagroup__text small { font-size: 0.84rem; opacity: 0.95; }
.tokm-wagroup__btn { display: none; align-items: center; gap: 6px; flex-shrink: 0; background: #fff; color: #0f8a43; font-weight: 800; padding: 10px 18px; border-radius: 999px; position: relative; z-index: 1; }
.tokm-wagroup-wrap .tokm-wagroup { margin: 18px 0 6px; }
.tokm-wagroup--card { flex-wrap: wrap; margin: 0; }
.tokm-wagroup--card .tokm-wagroup__icon { width: 48px; height: 48px; }
.tokm-wagroup--card .tokm-wagroup__btn { display: flex; justify-content: center; width: 100%; }
.tokm-wagroup-pill { display: inline-flex; align-items: center; gap: 6px; background: #25d366; color: #fff; font-weight: 700; font-size: 0.76rem; padding: 4px 11px 4px 8px; border-radius: 999px; white-space: nowrap; }
.tokm-wagroup-pill:hover { color: #fff; background: #1fae5b; }
.tokm-btn--wagroup { display: flex; width: 100%; background: linear-gradient(120deg, #0f8a43, #25d366); color: #fff; margin: 14px 0 0; box-shadow: 0 8px 20px -10px #0f8a43; }
.tokm-btn--wagroup:hover { color: #fff; }
.tokm-footer .tokm-btn--wagroup { width: auto; display: inline-flex; margin: 4px 0 6px; }
@media (max-width: 380px) { .tokm-wagroup-pill span { display: none; } .tokm-wagroup-pill { padding: 5px; } }
@media (min-width: 600px) {
	.tokm-wagroup { padding: 18px 22px; }
	.tokm-wagroup__btn { display: inline-flex; }
}
/* Phones: show a full-width "join" button under the WhatsApp group text */
@media (max-width: 599px) {
	.tokm-wagroup { flex-wrap: wrap; }
	.tokm-wagroup__btn { display: flex; justify-content: center; width: 100%; min-height: 46px; }
}

/* ---------- Temple card details, districts, Find-a-Temple (v1.1) ---------- */
.tokm-card__media { position: relative; }
.tokm-card__region { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 4px; max-width: calc(100% - 20px); padding: 4px 10px; border-radius: 999px; background: rgba(19, 10, 45, 0.72); color: #fff; font-size: 0.74rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.tokm-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; font-weight: 700; font-size: 0.86rem; min-height: 32px; }
.tokm-grid--3 .tokm-card--temple .tokm-card__region { left: 6px; bottom: 6px; font-size: 0.68rem; padding: 3px 8px; }
.tokm-section__lede { color: var(--tk-muted); margin: -6px 0 14px; font-size: 0.95rem; }
.tokm-mapsec { background: linear-gradient(180deg, color-mix(in srgb, var(--tk-green) 9%, transparent), transparent 80%); }
.tokm-districts__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.tokm-district { --c: var(--tk-primary); display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: var(--tk-radius-sm); color: #fff; min-height: 76px; justify-content: center; background: radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.25), transparent 45%), linear-gradient(130deg, var(--c), color-mix(in srgb, var(--c) 50%, var(--tk-navy))); box-shadow: 0 10px 20px -12px var(--c); transition: transform 0.2s ease; }
.tokm-district:hover { color: #fff; transform: translateY(-3px); }
.tokm-district__name { font-family: var(--tk-font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.tokm-district__count { font-size: 0.78rem; opacity: 0.9; }
.tokm-adminnote { margin: 18px 0; padding: 12px 16px; border-radius: 12px; border: 2px dashed var(--tk-gold); background: var(--tk-surface); color: var(--tk-muted); font-size: 0.9rem; }
.tokm-navcta { display: none; }
.tokm-drawer__cta { margin-top: 12px; }
.tokm-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.2em; }
.tokm-table-scroll table { display: table; min-width: 100%; }
@media (min-width: 600px) { .tokm-districts__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .tokm-districts__grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1024px) {
	.tokm-navbar__inner { display: flex; align-items: center; gap: 12px; }
	.tokm-navbar .tokm-menu { flex: 1; min-width: 0; }
	.tokm-navcta { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; padding: 8px 18px; border-radius: 999px; background: var(--tk-gold); color: var(--tk-navy); font-weight: 800; font-size: 0.9rem; white-space: nowrap; box-shadow: 0 6px 16px -8px var(--tk-gold); }
	.tokm-navcta:hover { color: var(--tk-navy); background: #ffc23d; }
	.tokm-sidebar { top: calc(var(--tk-header-h, 60px) + 20px); }
}
/* Keep the desktop menu + "Find a Temple" on one line on common laptop widths */
@media (min-width: 1024px) {
	.tokm-menu > li > a { padding: 0 9px; font-size: 0.85rem; }
	.tokm-menu > li > a::after { left: 9px; right: 9px; }
	.tokm-menu > .menu-item-has-children > a { padding-right: 22px; }
	.tokm-menu > .menu-item-has-children > a::before { right: 9px; }
	.tokm-navcta { padding: 8px 14px; font-size: 0.84rem; }
	.tokm-navbar__inner { gap: 8px; }
}
@media (min-width: 1024px) and (max-width: 1200px) {
	.tokm-navcta .tokm-icon { display: none; }
}
