/*
Theme Name:   Sevvanthy
Theme URI:    https://sevvanthy.com
Description:  Tamil literary blog and book shop. Child theme of Astra.
Author:       SievesVision
Author URI:   https://sievesvision.com
Template:     astra
Version:      1.0.0
Text Domain:  sevvanthy
*/

/* ---------- Tokens ---------- */
:root {
	--sev-gold: #f2a900;
	--sev-gold-deep: #c98700;
	--sev-gold-soft: #fff4d6;
	--sev-teal: #2e9db0;
	--sev-teal-deep: #1f7c8c;
	--sev-ink: #171925;
	--sev-ink-2: #23263a;
	--sev-text: #30343f;
	--sev-muted: #6a6e7b;
	--sev-paper: #fbf8f1;
	--sev-cream: #f3ecdd;
	--sev-line: #e7dfcf;
	--sev-white: #ffffff;
	--sev-radius: 16px;
	--sev-shadow: 0 18px 40px -22px rgba(23, 25, 37, 0.35);
	--sev-font: "Noto Sans", "Noto Sans Tamil", system-ui, sans-serif;
	--sev-font-head: "Montserrat", "Noto Sans Tamil", "Noto Sans", sans-serif;
	--sev-font-tamil: "Noto Sans Tamil", "Noto Sans", sans-serif;
}

/* ---------- Base ---------- */
body.sev-theme {
	font-family: var(--sev-font);
	color: var(--sev-text);
	background: var(--sev-white);
	-webkit-font-smoothing: antialiased;
}
body.sev-theme h1, body.sev-theme h2, body.sev-theme h3, body.sev-theme h4 {
	font-family: var(--sev-font-head);
	color: var(--sev-ink);
}
body.sev-no-scroll { overflow: hidden; }
.sev-theme a { transition: color 0.2s, background-color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.sev-theme .screen-reader-text:focus { z-index: 100000; }
.sev-wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 20px; }
.sev-wrap--narrow { max-width: 780px; }
.sev-icon { width: 1.05em; height: 1.05em; flex: none; vertical-align: -0.15em; }
body.sev-custom-layout #content.site-content { padding: 0; }
body.sev-custom-layout .site-content > .ast-container { display: block; max-width: none; padding: 0; }

/* ---------- Buttons, chips, meta ---------- */
.sev-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
	padding: 0.85em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
	font-family: var(--sev-font-tamil); font-weight: 600; font-size: 0.95rem; line-height: 1.2;
	text-decoration: none !important; cursor: pointer; white-space: nowrap;
}
.sev-btn--sm { padding: 0.6em 1.1em; font-size: 0.85rem; }
.sev-btn--gold { background: var(--sev-gold); color: var(--sev-ink) !important; box-shadow: 0 10px 24px -12px rgba(242, 169, 0, 0.8); }
.sev-btn--gold:hover { background: #ffbb1a; transform: translateY(-1px); }
.sev-btn--outline { border-color: var(--sev-ink); color: var(--sev-ink) !important; background: transparent; }
.sev-btn--outline:hover { background: var(--sev-ink); color: var(--sev-white) !important; }
.sev-btn--ghost-light { border-color: rgba(255, 255, 255, 0.45); color: var(--sev-white) !important; background: rgba(255, 255, 255, 0.06); }
.sev-btn--ghost-light:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--sev-white); }
.sev-btn.added::after { content: " ✓"; }
.sev-chip {
	display: inline-block; padding: 0.3em 0.85em; border-radius: 999px;
	background: rgba(46, 157, 176, 0.12); color: var(--sev-teal-deep) !important;
	font-family: var(--sev-font-tamil); font-size: 0.78rem; font-weight: 600; text-decoration: none !important;
}
.sev-chip:hover { background: var(--sev-teal); color: var(--sev-white) !important; }
.sev-chip--gold { background: var(--sev-gold-soft); color: var(--sev-gold-deep) !important; }
.sev-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; color: var(--sev-muted); font-size: 0.82rem; font-family: var(--sev-font-tamil); }
.sev-meta span { display: inline-flex; align-items: center; gap: 0.35em; }
.sev-meta--lg { font-size: 0.92rem; }
.sev-meta__author { color: var(--sev-ink); font-weight: 700; }
.sev-link { display: inline-flex; align-items: center; gap: 0.4em; color: var(--sev-teal-deep) !important; font-weight: 700; font-family: var(--sev-font-tamil); text-decoration: none !important; }
.sev-link:hover { gap: 0.7em; }
.sev-eyebrow { margin: 0 0 0.5rem; color: var(--sev-teal-deep); font-family: var(--sev-font-tamil); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.02em; }
.sev-empty { padding: 3rem 1rem; text-align: center; color: var(--sev-muted); }

/* ---------- Header (the same on every page; floats over the hero on the homepage) ---------- */
html.sev-no-scroll, html.sev-no-scroll body { overflow: hidden; }
.sev-header { --sev-head-h: 76px; position: sticky; top: 0; z-index: 1000; background: #15161d; color: var(--sev-white); border-bottom: 1px solid rgba(255, 255, 255, 0.07); transition: background-color 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.sev-header.is-overlay { position: fixed; inset: 0 0 auto 0; background: linear-gradient(180deg, rgba(10, 9, 8, 0.74), rgba(10, 9, 8, 0.42)); border-bottom-color: rgba(255, 255, 255, 0.1); }
@supports (backdrop-filter: blur(1px)) { .sev-header.is-overlay { backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%); } }
.sev-header.is-scrolled { box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.75); }
.sev-header.is-overlay.is-scrolled, .sev-header.is-overlay.is-searching { background: rgba(21, 22, 29, 0.96); border-bottom-color: rgba(255, 255, 255, 0.06); }
.admin-bar .sev-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .sev-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .sev-header { top: 0; } .admin-bar .sev-header.is-overlay { top: 46px; } }
.sev-header__inner { display: flex; align-items: center; gap: 2rem; height: var(--sev-head-h); transition: height 0.3s ease; }
.sev-header.is-scrolled .sev-header__inner { height: 66px; }

.sev-brand { display: inline-flex; align-items: center; gap: 0.7rem; flex: none; color: var(--sev-white) !important; text-decoration: none !important; }
.sev-brand__logo { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); transition: transform 0.4s ease; }
.sev-brand:hover .sev-brand__logo { transform: rotate(-12deg) scale(1.04); }
.sev-brand__text { display: grid; line-height: 1.05; }
.sev-brand__name { font-family: var(--sev-font-tamil); font-size: 1.55rem; font-weight: 800; background: linear-gradient(180deg, #ffd96b, #f2a900 70%, #e08f00); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.08em; }
.sev-brand__sub { margin-top: 0.15rem; font-family: var(--sev-font); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(255, 255, 255, 0.8); }

.sev-nav { margin-left: auto; align-self: stretch; }
.sev-nav__list, .sev-drawer__list { list-style: none; margin: 0; padding: 0; }
.sev-nav__list { display: flex; height: 100%; gap: 0.35rem; }
.sev-nav__list > li { position: relative; display: flex; }
.sev-nav__list > li > a { position: relative; display: flex; align-items: center; padding: 0 1rem; color: rgba(255, 255, 255, 0.9) !important; font-family: var(--sev-font-tamil); font-size: 0.98rem; font-weight: 600; letter-spacing: 0.01em; text-decoration: none !important; transition: color 0.25s ease; }
.sev-nav__list > li > a::after { content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 14px; height: 2.5px; border-radius: 3px; background: var(--sev-gold); transform: scaleX(0); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.sev-header.is-scrolled .sev-nav__list > li > a::after { bottom: 10px; }
.sev-nav__list > li > a:hover, .sev-nav__list > li > a:focus-visible { color: var(--sev-white) !important; }
.sev-nav__list > li > a:hover::after, .sev-nav__list > li > a:focus-visible::after { transform: scaleX(0.55); }
.sev-nav__list > .current-menu-item > a, .sev-nav__list > .current-menu-ancestor > a { color: var(--sev-gold) !important; }
.sev-nav__list > .current-menu-item > a::after, .sev-nav__list > .current-menu-ancestor > a::after { transform: scaleX(1); }
.sev-nav__list .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 0.5rem; background: var(--sev-white); border-radius: 0 0 12px 12px; box-shadow: var(--sev-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: 0.25s; }
.sev-nav__list li:hover > .sub-menu, .sev-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sev-nav__list .sub-menu a { display: block; padding: 0.6rem 0.8rem; border-radius: 8px; color: var(--sev-text) !important; font-family: var(--sev-font-tamil); font-weight: 600; text-decoration: none !important; }
.sev-nav__list .sub-menu a:hover { background: var(--sev-gold-soft); }

.sev-header__actions { display: flex; align-items: center; gap: 0.6rem; padding-left: 1.2rem; border-left: 1px solid rgba(255, 255, 255, 0.22); }
.sev-theme .sev-iconbtn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--sev-white) !important; cursor: pointer; box-shadow: none; transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease; }
.sev-theme .sev-iconbtn:hover, .sev-theme .sev-iconbtn:focus-visible, .sev-theme .sev-iconbtn[aria-expanded="true"] { background: rgba(255, 255, 255, 0.12); color: var(--sev-gold) !important; }
.sev-iconbtn .sev-icon { width: 24px; height: 24px; }
.sev-cart { margin-left: 0.6rem; }
.sev-cart::before { content: ""; position: absolute; left: -0.9rem; top: 10px; bottom: 10px; width: 1px; background: rgba(255, 255, 255, 0.22); }
.sev-cart__count { position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: linear-gradient(180deg, #ffd04d, #f2a900); color: var(--sev-ink); font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; box-shadow: 0 0 0 2px rgba(21, 22, 29, 0.9); }
.sev-theme .sev-menu-toggle { display: none; }
.sev-burger { position: relative; display: block; width: 22px; height: 16px; }
.sev-burger span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, width 0.3s ease; }
.sev-burger span:nth-child(1) { top: 0; }
.sev-burger span:nth-child(2) { top: 7px; width: 70%; }
.sev-burger span:nth-child(3) { top: 14px; }
.sev-menu-toggle:hover .sev-burger span:nth-child(2) { width: 100%; }
.sev-menu-toggle[aria-expanded="true"] .sev-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.sev-menu-toggle[aria-expanded="true"] .sev-burger span:nth-child(2) { opacity: 0; }
.sev-menu-toggle[aria-expanded="true"] .sev-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search panel: slides open under the bar. */
.sev-searchbar { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.sev-searchbar.is-open { grid-template-rows: 1fr; }
.sev-searchbar__inner { overflow: hidden; }
.sev-searchbar__form { display: flex; align-items: center; gap: 0.75rem; padding-top: 14px; padding-bottom: 16px; opacity: 0; transform: translateY(-6px); transition: opacity 0.3s ease, transform 0.35s ease; }
.sev-searchbar.is-open .sev-searchbar__form { opacity: 1; transform: none; transition-delay: 0.08s; }
.sev-searchbar__form > .sev-icon { width: 20px; height: 20px; color: rgba(255, 255, 255, 0.55); }
.sev-theme .sev-searchbar input[type="search"] { flex: 1; min-width: 0; height: 46px; padding: 0 0.2rem; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.25); border-radius: 0; background: transparent; color: var(--sev-white); font-family: var(--sev-font-tamil); font-size: 1.08rem; box-shadow: none; outline: none; transition: border-color 0.25s; }
.sev-theme .sev-searchbar input[type="search"]:focus { border-bottom-color: var(--sev-gold); }
.sev-searchbar input::placeholder, .sev-drawer__search input::placeholder { color: rgba(255, 255, 255, 0.5); }

/* Slide-in menu (small screens). */
.sev-drawer { position: fixed; inset: 0; z-index: 1100; visibility: hidden; transition: visibility 0s linear 0.5s; }
.sev-drawer.is-open { visibility: visible; transition: none; }
.sev-drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 8, 10, 0.55); opacity: 0; transition: opacity 0.45s ease; }
@supports (backdrop-filter: blur(1px)) { .sev-drawer__backdrop { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); } }
.sev-drawer.is-open .sev-drawer__backdrop { opacity: 1; }
.sev-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 1.2rem; width: min(88vw, 380px); padding: 18px 22px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; background: radial-gradient(circle at 100% 0%, rgba(242, 169, 0, 0.16), transparent 45%), #15161d; color: var(--sev-white); box-shadow: -30px 0 60px -20px rgba(0, 0, 0, 0.6); transform: translateX(104%); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.sev-drawer.is-open .sev-drawer__panel { transform: none; }
.sev-drawer__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.sev-brand--sm .sev-brand__logo { width: 40px; height: 40px; }
.sev-brand--sm .sev-brand__name { font-size: 1.3rem; }
.sev-drawer__search { display: flex; align-items: center; gap: 0.6rem; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); }
.sev-drawer__search .sev-icon { width: 18px; height: 18px; color: rgba(255, 255, 255, 0.55); }
.sev-theme .sev-drawer__search input[type="search"] { flex: 1; min-width: 0; height: 46px; padding: 0; border: 0; background: transparent; color: var(--sev-white); font-family: var(--sev-font-tamil); font-size: 1rem; box-shadow: none; outline: none; }
.sev-drawer__list > li { opacity: 0; transform: translateX(24px); transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.sev-drawer.is-open .sev-drawer__list > li { opacity: 1; transform: none; }
.sev-drawer.is-open .sev-drawer__list > li:nth-child(1) { transition-delay: 0.12s; }
.sev-drawer.is-open .sev-drawer__list > li:nth-child(2) { transition-delay: 0.17s; }
.sev-drawer.is-open .sev-drawer__list > li:nth-child(3) { transition-delay: 0.22s; }
.sev-drawer.is-open .sev-drawer__list > li:nth-child(4) { transition-delay: 0.27s; }
.sev-drawer.is-open .sev-drawer__list > li:nth-child(5) { transition-delay: 0.32s; }
.sev-drawer.is-open .sev-drawer__list > li:nth-child(n + 6) { transition-delay: 0.36s; }
.sev-drawer__list a { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 1rem 0.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.9) !important; font-family: var(--sev-font-tamil); font-size: 1.18rem; font-weight: 700; text-decoration: none !important; transition: color 0.25s, padding 0.3s; }
.sev-drawer__list a::after { content: "→"; color: rgba(255, 255, 255, 0.3); font-weight: 400; transition: transform 0.3s, color 0.3s; }
.sev-drawer__list a:hover { color: var(--sev-white) !important; padding-left: 0.5rem; }
.sev-drawer__list a:hover::after { color: var(--sev-gold); transform: translateX(3px); }
.sev-drawer__list .current-menu-item > a { color: var(--sev-gold) !important; }
.sev-drawer__list .current-menu-item > a::before { content: ""; position: absolute; left: -22px; top: 22%; bottom: 22%; width: 3px; border-radius: 0 3px 3px 0; background: var(--sev-gold); }
.sev-drawer__list .sub-menu { list-style: none; padding-left: 1rem; }
.sev-drawer__list .sub-menu a { font-size: 1rem; font-weight: 600; }
.sev-drawer__cart { margin-top: auto; width: 100%; }

@media (max-width: 1100px) { .sev-nav__list > li > a { padding: 0 0.7rem; font-size: 0.94rem; } .sev-header__inner { gap: 1.2rem; } }
@media (max-width: 1024px) {
	.sev-nav { display: none; }
	.sev-theme .sev-menu-toggle { display: grid; }
	.sev-header__actions { margin-left: auto; padding-left: 0; border-left: 0; gap: 0.2rem; }
	.sev-cart { margin-left: 0; }
	.sev-cart::before { display: none; }
	.sev-header { --sev-head-h: 66px; }
	.sev-header.is-scrolled .sev-header__inner { height: 60px; }
	.sev-brand__logo { width: 40px; height: 40px; }
	.sev-brand__name { font-size: 1.3rem; }
}
@media (min-width: 1025px) { .sev-drawer { display: none; } }

/* ---------- Buttons used on the landing page ---------- */
.sev-btn--lg { padding: 1em 1.9em; font-size: 1.05rem; }
.sev-theme .sev-btn--gold { background: linear-gradient(180deg, #ffc93c, #f2a900); }
.sev-theme .sev-btn--gold:hover { background: linear-gradient(180deg, #ffd25c, #ffb31a); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(242, 169, 0, 0.9); }
.sev-btn .sev-icon { transition: transform 0.3s ease; }
.sev-btn:hover .sev-icon:last-child { transform: translateX(3px); }
.sev-btn--glass { border-color: rgba(255, 255, 255, 0.85); color: var(--sev-white) !important; background: rgba(10, 9, 8, 0.28); }
@supports (backdrop-filter: blur(1px)) { .sev-btn--glass { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); } }
.sev-btn--glass:hover { background: var(--sev-white); color: var(--sev-ink) !important; transform: translateY(-2px); }
.sev-btn--line { border-color: var(--sev-gold); color: var(--sev-ink) !important; background: rgba(255, 255, 255, 0.6); }
.sev-btn--line:hover { background: var(--sev-gold); }
.sev-wrap--wide { max-width: 1460px; }

/* ---------- Hero ---------- */
.sev-hero {
	--sev-hero-1x: url("assets/img/hero-1600.jpg");
	position: relative; isolation: isolate; overflow: hidden; display: block; color: var(--sev-white);
	height: clamp(690px, 48vw, 1100px);
	background: #f9f5ec var(--sev-hero-1x) center bottom / cover no-repeat;
	background-image: image-set(url("assets/img/hero-1600.webp") type("image/webp"), url("assets/img/hero-1600.jpg") type("image/jpeg"));
}
@media (min-width: 1600px), (min-width: 1025px) and (min-resolution: 1.5dppx) {
	.sev-hero { background-image: image-set(url("assets/img/hero-2560.webp") type("image/webp"), url("assets/img/hero-2560.jpg") type("image/jpeg")); }
}
.sev-hero.has-custom-bg { background-image: var(--sev-hero-custom) !important; background-position: center; }
/* Darken only behind the words; the torn paper edge at the bottom stays clean. */
.sev-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse 46% 44% at 50% 40%, rgba(14, 10, 4, 0.55), rgba(14, 10, 4, 0.18) 60%, rgba(14, 10, 4, 0) 78%), linear-gradient(180deg, rgba(10, 8, 4, 0.5) 0, rgba(10, 8, 4, 0) 26%); }
.sev-hero__content { position: absolute; inset: 86px 0 26% 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0 20px; text-align: center; }
.sev-hero__kicker { max-width: 25em; margin: 0; font-family: var(--sev-font-tamil); font-size: clamp(1.05rem, 1.45vw, 1.42rem); font-weight: 600; line-height: 1.75; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65); animation: sev-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; }
.sev-hero__kicker::after { content: ""; display: block; width: 64px; height: 2px; margin: 0.9rem auto 0; border-radius: 2px; background: var(--sev-gold); }
.sev-theme .sev-hero__title {
	margin: 0.05em 0 0; padding: 0 0.1em 0.12em; font-family: var(--sev-font-tamil); font-weight: 800;
	font-size: clamp(3.6rem, 7vw, 8.4rem); line-height: 1.2; letter-spacing: 0;
	background: linear-gradient(180deg, #ffe08a 0%, #ffc12e 45%, #f2a900 70%, #d98600 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 3px 0 rgba(120, 62, 0, 0.55)) drop-shadow(0 16px 28px rgba(0, 0, 0, 0.5));
	animation: sev-rise 1s 0.08s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.sev-hero__text { max-width: 30em; margin: 0.2rem 0 0; font-family: var(--sev-font-tamil); font-size: clamp(1.05rem, 1.45vw, 1.38rem); font-weight: 600; line-height: 1.75; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7); animation: sev-rise 1s 0.16s cubic-bezier(0.22, 1, 0.36, 1) both; }
.sev-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: clamp(1.2rem, 2.2vw, 2.1rem); animation: sev-rise 1s 0.24s cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes sev-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.sev-hero__scroll { position: absolute; left: 50%; bottom: 8.5%; display: grid; justify-items: center; gap: 4px; transform: translateX(-50%); color: var(--sev-white) !important; text-decoration: none !important; }
.sev-hero__mouse { position: relative; display: block; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.85); border-radius: 16px; }
.sev-hero__mouse span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--sev-gold); animation: sev-scroll 1.8s infinite; }
.sev-hero__scroll svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; animation: sev-nudge 1.8s infinite; }
@keyframes sev-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes sev-nudge { 0%, 100% { transform: translateY(0); opacity: 0.6; } 50% { transform: translateY(4px); opacity: 1; } }

/* Drifting petals. */
.sev-hero__petals { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sev-hero__petals i { position: absolute; top: -6%; width: 16px; height: 9px; border-radius: 100% 0 100% 0; background: linear-gradient(135deg, #ffd45a, #f2a900); opacity: 0; box-shadow: 0 2px 6px rgba(120, 60, 0, 0.25); animation: sev-petal 16s linear infinite; }
.sev-hero__petals i:nth-child(1) { left: 12%; animation-delay: 0s; animation-duration: 17s; }
.sev-hero__petals i:nth-child(2) { left: 31%; animation-delay: 4s; animation-duration: 21s; transform: scale(0.8); }
.sev-hero__petals i:nth-child(3) { left: 58%; animation-delay: 9s; animation-duration: 19s; }
.sev-hero__petals i:nth-child(4) { left: 76%; animation-delay: 2s; animation-duration: 23s; }
.sev-hero__petals i:nth-child(5) { left: 90%; animation-delay: 12s; animation-duration: 18s; }
@keyframes sev-petal {
	0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg); }
	10% { opacity: 0.9; }
	50% { transform: translate3d(-40px, 45vh, 0) rotate(200deg); }
	85% { opacity: 0.85; }
	100% { opacity: 0; transform: translate3d(30px, 78vh, 0) rotate(420deg); }
}

/* Tablets: same scene, a little taller. */
@media (max-width: 1024px) {
	.sev-hero { height: clamp(620px, 78vw, 760px); }
	.sev-hero__content { inset: 66px 0 26% 0; }
}
/* Phones: the books-and-flower picture sits at the bottom, words above it on the warm dark top. */
@media (max-width: 640px) {
	.sev-hero {
		height: auto; padding: calc(66px + 34px) 0 calc(134vw * 0.62);
		background: #1b140a url("assets/img/hero-mobile.jpg") center bottom / 100% auto no-repeat;
		background-image: image-set(url("assets/img/hero-mobile.webp") type("image/webp"), url("assets/img/hero-mobile.jpg") type("image/jpeg"));
	}
	.sev-hero::before { background: linear-gradient(180deg, #1b140a 0, #1b140a calc(100% - 134vw), rgba(27, 20, 10, 0.55) calc(100% - 112vw), rgba(27, 20, 10, 0) calc(100% - 88vw)); }
	.sev-hero__content { position: relative; inset: auto; padding: 0 18px; }
	.sev-hero__kicker { font-size: 1rem; }
	.sev-theme .sev-hero__title { font-size: clamp(3rem, 15vw, 4.2rem); }
	.sev-hero__text { font-size: 1.02rem; }
	.sev-hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; gap: 0.75rem; }
	.sev-btn--lg { padding: 0.95em 1.4em; font-size: 1rem; }
	.sev-hero__scroll { display: none; }
	.sev-hero__petals { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.sev-hero__petals, .sev-hero__scroll svg, .sev-hero__mouse span { display: none; }
	.sev-hero__kicker, .sev-theme .sev-hero__title, .sev-hero__text, .sev-hero__actions { animation: none; }
}

/* ---------- Featured books (homepage) ---------- */
.sev-hbooks { position: relative; padding: 16px 0 96px; background: #f9f5ec; }
.sev-hbooks__head { position: relative; margin-bottom: 44px; text-align: center; }
.sev-theme .sev-hbooks__title { margin: 0; font-family: var(--sev-font-tamil); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; line-height: 1.35; color: var(--sev-ink); }
.sev-hbooks__title span { display: inline-flex; align-items: center; gap: 1.1rem; }
.sev-hbooks__title span::before, .sev-hbooks__title span::after { content: ""; width: clamp(28px, 5vw, 64px); height: 2px; border-radius: 2px; background: var(--sev-gold); }
.sev-hbooks__sub { margin: 0.5rem 0 0; color: var(--sev-muted); font-family: var(--sev-font-tamil); font-size: 1rem; font-weight: 600; }
.sev-hbooks__head .sev-btn--line { margin-top: 1.2rem; }
.sev-hbooks__head .sev-btn--line:hover { transform: translateY(-2px); }
.sev-hbooks__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.sev-hbook { display: grid; grid-template-columns: 140px 1fr; overflow: hidden; border: 1px solid #efe5d0; border-radius: 14px; background: var(--sev-white); box-shadow: 0 18px 36px -26px rgba(70, 45, 10, 0.55); transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease; }
.sev-hbook:hover { transform: translateY(-5px); box-shadow: 0 28px 48px -26px rgba(70, 45, 10, 0.6); }
.sev-hbook__cover { position: relative; display: block; min-height: 210px; overflow: hidden; background: #eadfc9; }
.sev-hbook__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.sev-hbook:hover .sev-hbook__cover img { transform: scale(1.05); }
.sev-hbook__cover::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent); }
.sev-hbook__body { display: flex; flex-direction: column; min-width: 0; padding: 20px 14px 18px 16px; }
.sev-theme .sev-hbook__title { margin: 0; font-family: var(--sev-font-tamil); font-size: 1.08rem; font-weight: 800; line-height: 1.45; }
.sev-hbook__title a { color: var(--sev-ink) !important; text-decoration: none !important; }
.sev-hbook__title a:hover { color: var(--sev-gold-deep) !important; }
.sev-hbook__genre { margin: 0.3rem 0 0.7rem; color: var(--sev-muted); font-family: var(--sev-font-tamil); font-size: 0.82rem; font-weight: 600; line-height: 1.5; }
.sev-hbook__text { margin: 0 0 1rem; color: var(--sev-text); font-family: var(--sev-font-tamil); font-size: 0.85rem; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sev-hbook__link { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.4em; margin-top: auto; padding: 0.48em 0.9em; border: 1.5px solid var(--sev-gold); border-radius: 999px; color: var(--sev-ink) !important; font-family: var(--sev-font-tamil); font-size: 0.78rem; font-weight: 700; white-space: nowrap; text-decoration: none !important; transition: background-color 0.25s, gap 0.25s; }
.sev-hbook__link:hover { background: var(--sev-gold); gap: 0.65em; }
.sev-hbook__link .sev-icon { width: 0.95em; height: 0.95em; }
@media (max-width: 1399px) {
	.sev-hbooks__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sev-hbook { grid-template-columns: 180px 1fr; }
	.sev-hbook__cover { min-height: 262px; }
	.sev-hbook__body { padding: 24px 22px 22px; }
}
@media (max-width: 700px) {
	.sev-hbooks { padding: 8px 0 64px; }
	.sev-theme .sev-hbooks__title { font-size: 1.45rem; }
	.sev-hbooks__title span { gap: 0.7rem; }
	.sev-hbooks__title span::before, .sev-hbooks__title span::after { width: 22px; }
	.sev-hbooks__head .sev-btn--line { max-width: 100%; padding: 0.8em 1.2em; font-size: 0.88rem; white-space: normal; text-align: center; }
	.sev-hbooks__grid { grid-template-columns: 1fr; gap: 18px; }
	.sev-hbook { grid-template-columns: 128px 1fr; }
	.sev-hbook__cover { min-height: 188px; }
	.sev-hbook__body { padding: 16px 14px; }
}
.sev-home-writings { background: var(--sev-white); }

/* ---------- Sections ---------- */
.sev-section { padding: 96px 0; }
.sev-section--tight { padding-top: 48px; }
.sev-section--paper { background: var(--sev-paper); }
.sev-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.sev-theme .sev-section__title { position: relative; margin: 0; font-family: var(--sev-font-tamil); font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.3; }
.sev-theme .sev-section__title--sm { font-size: 1.6rem; margin-bottom: 1.8rem; }
.sev-section__lead { max-width: 40rem; margin: 0.9rem 0 0; font-size: 1.02rem; line-height: 1.85; color: var(--sev-muted); font-family: var(--sev-font-tamil); }
.sev-section__head--light .sev-section__title, .sev-section__head--light .sev-eyebrow { color: var(--sev-white); }
.sev-section__head--light .sev-eyebrow { color: var(--sev-gold); }
.sev-section__head--light .sev-section__lead { color: rgba(255, 255, 255, 0.75); }

.sev-topics { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 2.2rem; }
.sev-topics a { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5em 1em; border-radius: 999px; border: 1px solid var(--sev-line); background: var(--sev-white); color: var(--sev-text) !important; font-family: var(--sev-font-tamil); font-size: 0.88rem; font-weight: 600; text-decoration: none !important; }
.sev-topics a span { color: var(--sev-muted); font-size: 0.78rem; font-weight: 500; }
.sev-topics a:hover, .sev-topics a.is-active { border-color: var(--sev-ink); background: var(--sev-ink); color: var(--sev-white) !important; }
.sev-topics a:hover span, .sev-topics a.is-active span { color: rgba(255, 255, 255, 0.7); }

/* ---------- Post cards ---------- */
.sev-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sev-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--sev-radius); background: var(--sev-white); border: 1px solid var(--sev-line); transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.sev-card:hover { transform: translateY(-4px); box-shadow: var(--sev-shadow); border-color: transparent; }
.sev-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sev-cream); }
.sev-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.sev-card:hover .sev-card__media img { transform: scale(1.05); }
.sev-card__placeholder { display: grid; place-items: center; width: 100%; height: 100%; background: radial-gradient(circle at 30% 20%, #ffd76a 0, transparent 45%), linear-gradient(135deg, var(--sev-ink-2), var(--sev-teal-deep)); }
.sev-card__placeholder span { font-family: var(--sev-font-tamil); font-size: 3.4rem; font-weight: 800; color: rgba(255, 255, 255, 0.92); text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25); }
.sev-card__body { display: flex; flex-direction: column; gap: 0.75rem; flex: 1; padding: 1.4rem 1.5rem 1.5rem; }
.sev-card__body .sev-chip { align-self: flex-start; }
.sev-theme .sev-card__title { margin: 0; font-family: var(--sev-font-tamil); font-size: 1.22rem; line-height: 1.5; font-weight: 700; }
.sev-card__title a { color: var(--sev-ink) !important; text-decoration: none !important; }
.sev-card__title a:hover { color: var(--sev-teal-deep) !important; }
.sev-card__excerpt { margin: 0; flex: 1; color: var(--sev-muted); font-size: 0.93rem; line-height: 1.85; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sev-card .sev-meta { padding-top: 0.9rem; border-top: 1px solid var(--sev-line); }
.sev-card--large { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.sev-card--large .sev-card__media { aspect-ratio: auto; min-height: 340px; }
.sev-card--large .sev-card__body { justify-content: center; padding: 2.2rem 2.4rem; }
.sev-theme .sev-card--large .sev-card__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.sev-card--large .sev-card__excerpt { -webkit-line-clamp: 4; font-size: 1rem; }

/* ---------- Quote ---------- */
.sev-quote { padding: 80px 0; background: var(--sev-gold); color: var(--sev-ink); text-align: center; }
.sev-quote__icon { width: 46px; height: 46px; stroke-width: 2.2; opacity: 0.6; }
.sev-quote blockquote { max-width: 46rem; margin: 1rem auto 0; padding: 0; border: 0; font-style: normal; }
.sev-quote p { margin: 0; font-family: var(--sev-font-tamil); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 600; line-height: 1.7; }
.sev-quote cite { display: block; margin-top: 1.2rem; font-style: normal; font-weight: 700; opacity: 0.75; }

/* ---------- Books ---------- */
.sev-books { position: relative; isolation: isolate; overflow: hidden; color: var(--sev-white); background: var(--sev-ink); }
.sev-books::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--sev-books-bg) center / cover no-repeat; opacity: 0.16; filter: grayscale(1); }
.sev-books::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 10%, rgba(242, 169, 0, 0.18), transparent 45%), linear-gradient(180deg, rgba(23, 25, 37, 0.6), var(--sev-ink)); }
.sev-books__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.sev-books__grid.is-single { grid-template-columns: 1fr; }
.sev-book { display: flex; flex-direction: column; }
.sev-book__cover { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 6px 14px 14px 6px; overflow: hidden; background: var(--sev-ink-2); box-shadow: -8px 0 0 -4px rgba(0, 0, 0, 0.25) inset, 0 26px 50px -20px rgba(0, 0, 0, 0.8); transform: perspective(900px) rotateY(-6deg); transform-origin: left center; transition: transform 0.35s, box-shadow 0.35s; }
.sev-book__cover:hover { transform: perspective(900px) rotateY(0) translateY(-6px); box-shadow: 0 34px 60px -20px rgba(0, 0, 0, 0.85); }
.sev-book__cover img { width: 100%; height: 100%; object-fit: cover; }
.sev-book__cover::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent); }
.sev-book__badge { position: absolute; top: 12px; right: 12px; padding: 0.25em 0.7em; border-radius: 999px; background: var(--sev-gold); color: var(--sev-ink); font-size: 0.75rem; font-weight: 700; }
.sev-book__body { padding-top: 1.2rem; }
.sev-theme .sev-book__title { margin: 0; font-family: var(--sev-font-tamil); font-size: 1.15rem; line-height: 1.45; }
.sev-book__title a { color: var(--sev-white) !important; text-decoration: none !important; }
.sev-book__title a:hover { color: var(--sev-gold) !important; }
.sev-book__author { margin: 0.25rem 0 0; color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; font-family: var(--sev-font-tamil); }
.sev-book__row { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 0.9rem; }
.sev-book__price { font-family: var(--sev-font-head); font-weight: 800; font-size: 1.15rem; color: var(--sev-gold); }
.sev-book__price del { opacity: 0.55; font-weight: 500; margin-right: 0.35em; }
.sev-book__price ins { text-decoration: none; }

.sev-spotlight { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 56px; align-items: center; padding: 40px; border-radius: 26px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(6px); }
.sev-spotlight__cover { display: block; border-radius: 6px 16px 16px 6px; overflow: hidden; box-shadow: 0 40px 70px -25px rgba(0, 0, 0, 0.9); transform: perspective(1000px) rotateY(-8deg) rotateZ(-1deg); transition: transform 0.4s; }
.sev-spotlight__cover:hover { transform: perspective(1000px) rotateY(0) rotateZ(0); }
.sev-spotlight__cover img { display: block; width: 100%; height: auto; }
.sev-theme .sev-spotlight__title { margin: 1rem 0 0.3rem; font-family: var(--sev-font-tamil); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.3; }
.sev-spotlight__title a { color: var(--sev-white) !important; text-decoration: none !important; }
.sev-spotlight__author { margin: 0; color: var(--sev-gold); font-weight: 600; font-family: var(--sev-font-tamil); font-size: 1.05rem; }
.sev-spotlight__summary { margin-top: 1.2rem; color: rgba(255, 255, 255, 0.78); line-height: 1.9; font-family: var(--sev-font-tamil); }
.sev-spotlight__summary p { margin: 0 0 0.8rem; }
.sev-spotlight__details { display: flex; flex-wrap: wrap; gap: 0.6rem 2rem; margin: 1.2rem 0 0; }
.sev-spotlight__details dt { color: rgba(255, 255, 255, 0.5); font-size: 0.78rem; }
.sev-spotlight__details dd { margin: 0; font-weight: 600; }
.sev-spotlight__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.8rem; }
.sev-spotlight__buy .sev-book__price { font-size: 1.7rem; margin-right: 0.5rem; }

/* ---------- Author ---------- */
.sev-author { background: var(--sev-paper); }
.sev-author__grid { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.sev-author__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; box-shadow: var(--sev-shadow); }
.sev-author__photo::after { content: ""; position: absolute; inset: auto -30px -30px auto; width: 120px; height: 120px; border-radius: 50%; background: var(--sev-gold); opacity: 0.85; z-index: -1; }
.sev-author__photo img { width: 100%; height: 100%; object-fit: cover; }
.sev-author__bio { margin: 1rem 0 1.6rem; font-size: 1.05rem; line-height: 1.95; color: var(--sev-text); font-family: var(--sev-font-tamil); }
.sev-admin-hint { padding: 28px 0; background: var(--sev-gold-soft); font-size: 0.92rem; }
.sev-admin-hint p { margin: 0; }

/* ---------- Page head (listings) ---------- */
.sev-page-head { padding: 72px 0 56px; background: linear-gradient(135deg, var(--sev-ink), var(--sev-ink-2)); color: var(--sev-white); }
.sev-page-head .sev-eyebrow { color: var(--sev-gold); }
.sev-theme .sev-page-head__title { margin: 0; color: var(--sev-white); font-family: var(--sev-font-tamil); font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.3; }
.sev-page-head__desc { max-width: 40rem; margin: 0.9rem 0 0; color: rgba(255, 255, 255, 0.72); line-height: 1.8; }
.sev-search { position: relative; max-width: 440px; margin-top: 1.8rem; }
.sev-search .sev-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--sev-muted); }
.sev-theme .sev-search input[type="search"] { width: 100%; height: 50px; padding: 0 18px 0 46px; border: 0; border-radius: 999px; background: var(--sev-white); color: var(--sev-ink); font-size: 0.95rem; box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.6); }
.sev-404 { padding: 160px 0 120px; text-align: center; }
.sev-404 .sev-page-head__desc { margin-inline: auto; }
.sev-404 .sev-hero__actions { justify-content: center; }
.sev-404 .sev-btn--outline { border-color: var(--sev-white); color: var(--sev-white) !important; }

.sev-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.4rem; margin-top: 3rem; }
.sev-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.9rem; border-radius: 999px; border: 1px solid var(--sev-line); background: var(--sev-white); color: var(--sev-text) !important; font-weight: 600; text-decoration: none !important; }
.sev-pagination .page-numbers.current, .sev-pagination a.page-numbers:hover { background: var(--sev-ink); border-color: var(--sev-ink); color: var(--sev-white) !important; }

/* ---------- Single article ---------- */
.sev-article__head { padding: 56px 0 36px; background: var(--sev-paper); }
.sev-crumbs { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.4rem; color: var(--sev-muted); font-size: 0.85rem; font-family: var(--sev-font-tamil); }
.sev-crumbs a { color: var(--sev-teal-deep) !important; text-decoration: none !important; font-weight: 600; }
.sev-theme .sev-article__title { margin: 0; font-family: var(--sev-font-tamil); font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.4; letter-spacing: -0.005em; }
.sev-article__lead { margin: 1rem 0 0; font-size: 1.15rem; line-height: 1.85; color: var(--sev-muted); font-family: var(--sev-font-tamil); }
.sev-article__head .sev-meta { margin-top: 1.4rem; }
.sev-article__hero { margin-top: -1px; padding-top: 0; max-width: 1080px; }
.sev-article__hero img { display: block; width: 100%; max-height: 560px; object-fit: cover; border-radius: 22px; box-shadow: var(--sev-shadow); }
.sev-article__hero figcaption { margin-top: 0.6rem; text-align: center; color: var(--sev-muted); font-size: 0.85rem; }
.sev-article__layout { position: relative; padding-top: 48px; padding-bottom: 24px; }
.sev-share { position: absolute; left: -64px; top: 52px; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.sev-share > span { font-size: 0.72rem; color: var(--sev-muted); font-weight: 700; }
.sev-share a, .sev-share button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid var(--sev-line); background: var(--sev-white); color: var(--sev-ink) !important; cursor: pointer; }
.sev-share a:hover, .sev-share button:hover { background: var(--sev-ink); border-color: var(--sev-ink); color: var(--sev-white) !important; }
.sev-share button.is-copied { background: var(--sev-teal); border-color: var(--sev-teal); color: var(--sev-white) !important; }
@media (max-width: 1000px) {
	.sev-share { position: static; flex-direction: row; justify-content: flex-start; margin-bottom: 1.8rem; }
}
.sev-prose { font-family: var(--sev-font-tamil); font-size: 1.12rem; line-height: 2; color: var(--sev-text); }
.sev-prose > * + * { margin-top: 1.3em; }
.sev-prose p { margin-bottom: 0; }
.sev-prose h2, .sev-prose h3, .sev-prose h4 { font-family: var(--sev-font-tamil); line-height: 1.5; margin-top: 2em; margin-bottom: 0.4em; }
.sev-prose h2 { font-size: 1.6rem; }
.sev-prose h3 { font-size: 1.3rem; }
.sev-prose a { color: var(--sev-teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.sev-prose img { border-radius: 14px; height: auto; }
.sev-prose blockquote { margin: 2em 0; padding: 1.4em 1.6em; border: 0; border-left: 4px solid var(--sev-gold); border-radius: 0 14px 14px 0; background: var(--sev-gold-soft); font-size: 1.2rem; font-weight: 500; font-style: normal; color: var(--sev-ink); }
.sev-prose blockquote p { margin: 0; }
.sev-prose ul, .sev-prose ol { padding-left: 1.4em; margin-left: 0; }
.sev-prose li + li { margin-top: 0.4em; }
.sev-prose hr { border: 0; height: 1px; background: var(--sev-line); margin: 2.5em 0; }
.sev-prose figure { margin: 2em 0; }
.sev-prose figcaption { text-align: center; font-size: 0.85rem; color: var(--sev-muted); }
.sev-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 2rem; }
.sev-tags a { padding: 0.35em 0.85em; border-radius: 999px; background: var(--sev-paper); color: var(--sev-muted) !important; font-size: 0.85rem; text-decoration: none !important; }
.sev-tags a:hover { background: var(--sev-ink); color: var(--sev-white) !important; }
.sev-author-box { display: flex; gap: 1.4rem; align-items: center; margin: 2rem 0; padding: 1.6rem; border-radius: var(--sev-radius); background: var(--sev-paper); border: 1px solid var(--sev-line); }
.sev-author-box img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; }
.sev-theme .sev-author-box h2 { margin: 0 0 0.3rem; font-size: 1.2rem; font-family: var(--sev-font-tamil); }
.sev-author-box p { margin: 0; color: var(--sev-muted); line-height: 1.8; font-size: 0.95rem; }
.sev-author-box .sev-eyebrow { margin-bottom: 0.2rem; }
.sev-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0 4rem; }
.sev-postnav a { display: block; padding: 1.2rem 1.4rem; border-radius: var(--sev-radius); border: 1px solid var(--sev-line); color: var(--sev-ink) !important; font-family: var(--sev-font-tamil); font-weight: 700; line-height: 1.5; text-decoration: none !important; }
.sev-postnav a:hover { border-color: var(--sev-gold); box-shadow: var(--sev-shadow); }
.sev-postnav span { display: block; margin-bottom: 0.3rem; color: var(--sev-muted); font-size: 0.8rem; font-weight: 600; }
.sev-postnav__next { grid-column: 2; text-align: right; }
.sev-promo { padding: 48px 0; background: var(--sev-ink); color: var(--sev-white); }
.sev-promo__inner { display: flex; align-items: center; gap: 1.6rem; }
.sev-promo__inner img { width: 90px; height: auto; border-radius: 4px 10px 10px 4px; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.8); }
.sev-theme .sev-promo h2 { margin: 0 0 0.8rem; color: var(--sev-white); font-family: var(--sev-font-tamil); font-size: 1.5rem; }
.sev-promo .sev-eyebrow { color: var(--sev-gold); margin: 0 0 0.2rem; }
.sev-comments { padding-top: 48px; padding-bottom: 64px; }

/* ---------- Footer ---------- */
.sev-footer { background: var(--sev-ink); color: rgba(255, 255, 255, 0.68); font-size: 0.93rem; }
.sev-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.sev-footer__about p { margin: 1.1rem 0 0; max-width: 22rem; line-height: 1.85; font-family: var(--sev-font-tamil); }
.sev-theme .sev-footer__title { margin: 0 0 1.1rem; color: var(--sev-white); font-family: var(--sev-font-tamil); font-size: 1rem; }
.sev-footer__links { list-style: none; margin: 0; padding: 0; }
.sev-footer__links li + li { margin-top: 0.6rem; }
.sev-footer__links a { display: inline-flex; align-items: center; gap: 0.45em; color: rgba(255, 255, 255, 0.68) !important; text-decoration: none !important; font-family: var(--sev-font-tamil); }
.sev-footer__links a:hover { color: var(--sev-gold) !important; }
.sev-socials { display: flex; gap: 0.5rem; margin-top: 1.4rem; }
.sev-socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--sev-white) !important; }
.sev-socials a:hover { background: var(--sev-gold); color: var(--sev-ink) !important; }
.sev-footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 22px 0; font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); font-family: var(--sev-font-tamil); }

/* ---------- WooCommerce (books shop, cart, checkout) ---------- */
.sev-theme.woocommerce-page #content.site-content, .sev-theme.woocommerce #content.site-content { background: var(--sev-paper); padding: 48px 0 72px; }
.sev-theme .woocommerce-products-header__title, .sev-theme.woocommerce-page .entry-title, .sev-theme .product_title { font-family: var(--sev-font-tamil) !important; color: var(--sev-ink); }
.sev-theme ul.products li.product { background: var(--sev-white); border-radius: var(--sev-radius); border: 1px solid var(--sev-line); padding: 14px 14px 20px !important; transition: transform 0.25s, box-shadow 0.25s; }
.sev-theme ul.products li.product:hover { transform: translateY(-4px); box-shadow: var(--sev-shadow); }
.sev-theme ul.products li.product img { border-radius: 6px 12px 12px 6px; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.6); aspect-ratio: 2 / 3; object-fit: cover; }
.sev-theme ul.products li.product .woocommerce-loop-product__title { font-family: var(--sev-font-tamil) !important; font-size: 1.1rem !important; color: var(--sev-ink) !important; line-height: 1.45; }
.sev-theme ul.products li.product .price { color: var(--sev-gold-deep) !important; font-weight: 800; font-family: var(--sev-font-head); }
.sev-theme ul.products li.product .ast-woo-product-category { display: none; }
.sev-loop-author { display: block; margin: 0.15rem 0 0.4rem; color: var(--sev-muted); font-size: 0.88rem; font-family: var(--sev-font-tamil); }
.sev-theme .woocommerce a.button, .sev-theme .woocommerce button.button, .sev-theme .woocommerce input.button, .sev-theme a.button.add_to_cart_button, .sev-theme .single_add_to_cart_button, .sev-theme .checkout-button, .sev-theme #place_order, .sev-theme .wc-block-components-button:not(.is-link) {
	border-radius: 999px !important; background: var(--sev-gold) !important; color: var(--sev-ink) !important; border: 0 !important;
	font-family: var(--sev-font-tamil) !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; padding: 0.85em 1.6em !important;
}
.sev-theme .woocommerce a.button:hover, .sev-theme .single_add_to_cart_button:hover, .sev-theme .checkout-button:hover, .sev-theme #place_order:hover { background: #ffbb1a !important; }
.sev-theme.single-product div.product { background: var(--sev-white); border-radius: 24px; padding: 32px; border: 1px solid var(--sev-line); }
.sev-theme.single-product div.product .woocommerce-product-gallery img { border-radius: 8px 18px 18px 8px; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.6); }
.sev-theme.single-product .product_title { font-size: clamp(1.9rem, 3.5vw, 2.6rem) !important; line-height: 1.35 !important; }
.sev-theme.single-product div.product p.price { color: var(--sev-gold-deep) !important; font-family: var(--sev-font-head); font-weight: 800; font-size: 1.8rem !important; }
.sev-theme.single-product .woocommerce-product-details__short-description { font-family: var(--sev-font-tamil); line-height: 1.95; }
.sev-book-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.8rem; margin: 1.4rem 0; padding: 1.2rem; border-radius: 14px; background: var(--sev-paper); border: 1px solid var(--sev-line); }
.sev-book-details dt { color: var(--sev-muted); font-size: 0.78rem; font-family: var(--sev-font-tamil); }
.sev-book-details dd { margin: 0.1rem 0 0; color: var(--sev-ink); font-weight: 700; font-family: var(--sev-font-tamil); }
.sev-book-sample a { display: inline-flex; align-items: center; gap: 0.5em; color: var(--sev-teal-deep); font-weight: 700; }
.sev-theme .woocommerce-tabs .panel { font-family: var(--sev-font-tamil); line-height: 1.95; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.sev-books__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.sev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sev-card--large { grid-template-columns: 1fr; }
	.sev-card--large .sev-card__media { min-height: 0; aspect-ratio: 16 / 9; }
	.sev-spotlight { grid-template-columns: 1fr; gap: 32px; padding: 28px; text-align: center; }
	.sev-spotlight__cover { max-width: 260px; margin-inline: auto; }
	.sev-spotlight__details, .sev-spotlight__buy { justify-content: center; }
	.sev-author__grid { grid-template-columns: 1fr; gap: 36px; }
	.sev-author__photo { max-width: 320px; }
	.sev-footer__grid { grid-template-columns: 1fr 1fr; }
	.sev-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.sev-wrap { padding-inline: 18px; }
	.sev-section { padding: 64px 0; }
	.sev-grid { grid-template-columns: 1fr; gap: 22px; }
	.sev-books__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
	.sev-book__row { flex-direction: column; align-items: flex-start; }
	.sev-section__head { align-items: flex-start; }
	.sev-prose { font-size: 1.06rem; }
	.sev-postnav { grid-template-columns: 1fr; }
	.sev-postnav__next { grid-column: 1; text-align: left; }
	.sev-promo__inner { flex-direction: column; text-align: center; }
	.sev-footer__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; }
	.sev-theme.single-product div.product { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.sev-theme *, .sev-theme *::before, .sev-theme *::after { animation: none !important; transition: none !important; }
}

/* ---------- Astra compatibility ---------- */
/* Astra adds boxed padding/margins to articles via post_class(); our templates handle spacing. */
.sev-theme .sev-article, .sev-theme .sev-article.ast-article-single, .sev-theme .sev-card.ast-article-post {
	padding: 0 !important; margin: 0 !important; background: none; border: 0; box-shadow: none;
}
.sev-theme .sev-card.ast-article-post { background: var(--sev-white); border: 1px solid var(--sev-line); }
/* Astra injects submenu toggle buttons into every menu; our menus don't need them. */
.sev-nav .ast-menu-toggle, .sev-drawer .ast-menu-toggle, .sev-footer .ast-menu-toggle,
.sev-nav .dropdown-menu-toggle, .sev-drawer .dropdown-menu-toggle, .sev-footer .dropdown-menu-toggle,
.sev-footer .ast-header-navigation-arrow, .sev-nav .ast-header-navigation-arrow, .sev-drawer .ast-header-navigation-arrow,
.sev-footer .ast-icon, .sev-nav .ast-icon, .sev-drawer .ast-icon { display: none !important; }
/* Shop, cart, checkout: Astra/Elementor "full width" layouts - keep them in a readable container. */
.sev-theme.woocommerce .site-content > .ast-container, .sev-theme.woocommerce-page .site-content > .ast-container {
	max-width: 1200px !important; margin-inline: auto; padding-inline: 20px !important;
}
.sev-theme .woocommerce-breadcrumb { font-size: 0.85rem; color: var(--sev-muted); }
.sev-theme .woocommerce-breadcrumb a { color: var(--sev-teal-deep); }

/* Few posts: don't stretch one card across a three-column grid. */
.sev-grid--few { grid-template-columns: repeat(auto-fill, minmax(280px, 380px)); }

/* Comments */
.sev-comments .comment-reply-title, .sev-comments .comments-title { font-family: var(--sev-font-tamil); }
.sev-comments input[type="text"], .sev-comments input[type="email"], .sev-comments input[type="url"], .sev-comments textarea {
	border-radius: 12px !important; border: 1px solid var(--sev-line) !important; background: var(--sev-paper) !important;
}
.sev-comments .submit, .sev-comments #submit {
	border-radius: 999px !important; background: var(--sev-gold) !important; color: var(--sev-ink) !important; border: 0 !important;
	font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; padding: 0.85em 1.8em !important;
}

/* ---------- Contact page ---------- */
.sev-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.sev-contact__item { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--sev-radius); background: var(--sev-white); border: 1px solid var(--sev-line); color: var(--sev-ink) !important; text-decoration: none !important; font-weight: 600; font-family: var(--sev-font-tamil); }
.sev-contact__item:hover { border-color: var(--sev-gold); box-shadow: var(--sev-shadow); }
.sev-contact__item > span { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--sev-gold-soft); color: var(--sev-gold-deep); }
.sev-contact__item small { display: block; color: var(--sev-muted); font-weight: 500; font-size: 0.78rem; }
.sev-socials--dark { margin-top: 1.4rem; }
.sev-socials--dark a { background: var(--sev-ink); }
.sev-form { display: grid; gap: 1.1rem; padding: 2rem; border-radius: 22px; background: var(--sev-white); border: 1px solid var(--sev-line); box-shadow: var(--sev-shadow); }
.sev-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.sev-form label { display: grid; gap: 0.45rem; font-weight: 600; font-size: 0.9rem; color: var(--sev-ink); font-family: var(--sev-font-tamil); }
.sev-theme .sev-form input[type="text"], .sev-theme .sev-form input[type="email"], .sev-theme .sev-form textarea {
	width: 100%; padding: 0.8rem 1rem; border: 1px solid var(--sev-line); border-radius: 12px; background: var(--sev-paper); color: var(--sev-ink); font-size: 1rem; font-family: var(--sev-font);
}
.sev-theme .sev-form input:focus, .sev-theme .sev-form textarea:focus { outline: none; border-color: var(--sev-teal); box-shadow: 0 0 0 3px rgba(46, 157, 176, 0.18); background: var(--sev-white); }
.sev-form .sev-btn { justify-self: start; }
.sev-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.sev-notice { margin: 0; padding: 0.9rem 1.1rem; border-radius: 12px; font-weight: 600; font-family: var(--sev-font-tamil); }
.sev-notice--success { background: #e7f6ec; color: #1d6b3a; }
.sev-notice--error { background: #fdecec; color: #9b2c2c; }

/* ---------- Author page ---------- */
.sev-admin-note { margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 10px; background: rgba(242, 169, 0, 0.15); color: var(--sev-gold-soft); font-size: 0.85rem; }
.sev-admin-note a { color: var(--sev-gold); }

@media (max-width: 960px) {
	.sev-contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.sev-form { padding: 1.3rem; }
	.sev-form__row { grid-template-columns: 1fr; }
}

/* "WooCommerce Menu Cart" plugin adds its own cart link to menus; the header already has a cart. */
.sev-nav [class*="wpmenucart"], .sev-drawer [class*="wpmenucart"], .sev-footer [class*="wpmenucart"] { display: none !important; }

.sev-author .sev-section__title + .sev-btn { margin-top: 1.4rem; }
.sev-author__logo img { width: 55%; height: auto !important; object-fit: contain !important; filter: drop-shadow(0 12px 24px rgba(0,0,0,.35)); }

/* ---------- Pay what you want ---------- */
.sev-pwyw-from { font-size: 0.6em; font-weight: 600; opacity: 0.75; font-family: var(--sev-font-tamil); }
.sev-pwyw { width: 100%; margin: 0.4rem 0 1.2rem; padding: 1.2rem; border-radius: 16px; background: var(--sev-gold-soft); border: 1px solid #f3dc9c; }
.sev-pwyw label { display: block; margin-bottom: 0.7rem; font-weight: 700; color: var(--sev-ink); font-family: var(--sev-font-tamil); }
.sev-pwyw label span { font-weight: 500; color: var(--sev-muted); font-size: 0.88em; }
.sev-pwyw__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
.sev-theme .sev-pwyw__chips button { padding: 0.45em 1em; border-radius: 999px; border: 1.5px solid var(--sev-gold); background: var(--sev-white); color: var(--sev-ink); font-weight: 700; cursor: pointer; font-size: 0.92rem; line-height: 1.2; }
.sev-theme .sev-pwyw__chips button:hover, .sev-theme .sev-pwyw__chips button.is-active { background: var(--sev-gold); color: var(--sev-ink); }
.sev-pwyw__input { display: flex; align-items: center; max-width: 220px; border-radius: 12px; background: var(--sev-white); border: 1.5px solid var(--sev-line); overflow: hidden; }
.sev-pwyw__input span { padding: 0 0.3rem 0 0.9rem; font-weight: 700; color: var(--sev-muted); }
.sev-theme .sev-pwyw__input input[type="number"] { flex: 1; min-width: 0; width: 100%; border: 0 !important; padding: 0.7rem 0.8rem 0.7rem 0.2rem !important; font-size: 1.15rem; font-weight: 700; background: transparent !important; box-shadow: none !important; }
.sev-pwyw__note { margin: 0.7rem 0 0; font-size: 0.85rem; color: var(--sev-muted); line-height: 1.7; font-family: var(--sev-font-tamil); }
.sev-theme.single-product form.cart { flex-wrap: wrap; }

/* =====================================================================================
   Reading experience
   ===================================================================================== */

/* Progress bar */
.sev-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 1001; pointer-events: none; }
.admin-bar .sev-progress { top: 32px; }
.sev-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--sev-gold), var(--sev-teal)); transform: scaleX(0); transform-origin: left center; transition: transform 0.1s linear; }

/* Typography tuned for long Tamil reading */
.sev-theme .sev-prose { font-size: calc(1.14rem * var(--sev-prose-scale, 1)); line-height: 2.05; color: #2a2d37; letter-spacing: 0.003em; }
.sev-prose p { margin: 0 0 1.35em; }
.sev-prose > p:first-of-type { font-size: 1.12em; color: var(--sev-ink); }
.sev-prose ::selection { background: var(--sev-gold-soft); }
.sev-article__layout { padding-top: 56px; }

/* Printed page (folded) */
.sev-print { margin: 2.5em 0 0; border: 1px solid var(--sev-line); border-radius: 16px; background: var(--sev-paper); overflow: hidden; }
.sev-print summary { display: flex; align-items: center; gap: 0.6em; padding: 1rem 1.2rem; cursor: pointer; list-style: none; font-weight: 700; font-size: 0.95rem; color: var(--sev-ink); }
.sev-print summary::-webkit-details-marker { display: none; }
.sev-print summary::after { content: "+"; margin-left: auto; font-size: 1.4rem; line-height: 1; color: var(--sev-gold-deep); transition: transform 0.2s; }
.sev-print[open] summary::after { transform: rotate(45deg); }
.sev-print figure { margin: 0 !important; padding: 0 1.2rem 1.2rem; text-align: center; }
.sev-print img { max-width: 100%; max-height: 80vh; width: auto; border-radius: 8px; box-shadow: var(--sev-shadow); cursor: zoom-in; }
.sev-print figcaption { margin-top: 0.7rem; }

/* Like buttons */
.sev-like { display: inline-flex; align-items: center; justify-content: center; gap: 0.4em; border: 1px solid var(--sev-line); background: var(--sev-white); color: var(--sev-ink); cursor: pointer; font-weight: 700; font-family: var(--sev-font); line-height: 1; padding: 0; }
.sev-like .sev-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: fill 0.2s, stroke 0.2s; }
.sev-like:hover { border-color: #e0245e; color: #e0245e; }
.sev-like.is-liked { color: #e0245e; border-color: #f6c2d2; background: #fff0f4; }
.sev-like.is-liked .sev-icon { fill: #e0245e; stroke: #e0245e; }
.sev-like.is-pop .sev-icon { animation: sev-pop 0.45s ease; }
@keyframes sev-pop { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
.sev-like__count:empty { display: none; }
.sev-share .sev-like--round { position: relative; width: 40px; height: 40px; border-radius: 50%; margin-top: 0.6rem; }
.sev-like--round .sev-like__count { position: absolute; top: -6px; right: -10px; min-width: 20px; padding: 2px 5px; border-radius: 999px; background: #e0245e; color: #fff; font-size: 10px; }
.sev-like--big { padding: 0.75em 1.4em; border-radius: 999px; font-size: 1rem; border-width: 1.5px; }
.sev-like--big .sev-icon { width: 22px; height: 22px; }
.sev-meta__likes { color: #e0245e; font-weight: 700; }

/* End-of-article card */
.sev-endcard { margin: 2.5rem 0 1rem; padding: 2.2rem 1.5rem; border-radius: 22px; text-align: center; background: radial-gradient(circle at 50% 0%, var(--sev-gold-soft), transparent 70%), var(--sev-paper); border: 1px solid var(--sev-line); }
.sev-endcard__flower { display: block; font-size: 1.8rem; color: var(--sev-gold); line-height: 1; }
.sev-theme .sev-endcard h2 { margin: 0.6rem 0 0.3rem; font-family: var(--sev-font-tamil); font-size: 1.35rem; }
.sev-endcard p { margin: 0 0 1.3rem; color: var(--sev-muted); font-family: var(--sev-font-tamil); }
.sev-endcard__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }

/* Floating reading toolbar */
.sev-readbar { position: fixed; left: 50%; bottom: 18px; z-index: 990; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(23, 25, 37, 0.92); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5); transform: translate(-50%, 140%); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease; }
.sev-readbar.is-visible { transform: translate(-50%, 0); opacity: 1; }
.sev-readbar button { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: #fff; font-weight: 700; font-size: 1rem; cursor: pointer; font-family: var(--sev-font); }
.sev-readbar button:hover, .sev-readbar button[aria-pressed="true"] { background: rgba(255, 255, 255, 0.14); }
.sev-readbar button small { font-size: 0.7em; margin-left: 1px; }
.sev-readbar__sep { width: 1px; height: 22px; margin: 0 4px; background: rgba(255, 255, 255, 0.18); }
.sev-swatch { display: block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.6); }
.sev-swatch--light { background: #fff; }
.sev-swatch--sepia { background: #f1e4c8; }
.sev-swatch--dark { background: #1b1e2a; }
.sev-readbar .sev-like { border: 0; background: transparent; color: #fff; display: inline-flex; padding: 0 10px; }
.sev-readbar .sev-like.is-liked { color: #ff6b93; background: rgba(255, 107, 147, 0.14); }
.sev-readbar .sev-like.is-liked .sev-icon { fill: #ff6b93; stroke: #ff6b93; }
.sev-readbar .sev-like__count { font-size: 0.85rem; }
@media (max-width: 640px) {
	.sev-readbar { bottom: 12px; }
	.sev-readbar button { min-width: 36px; height: 38px; padding: 0 6px; }
}

/* Reading modes (article pages) */
html.sev-read-sepia body.single-post { background: #f6eedc; }
html.sev-read-sepia .single-post .sev-article__head { background: #efe2c4; }
html.sev-read-sepia .single-post .sev-prose { color: #3d3324; }
html.sev-read-sepia .single-post .sev-prose > p:first-of-type { color: #2c2418; }
html.sev-read-sepia .single-post .sev-endcard, html.sev-read-sepia .single-post .sev-author-box, html.sev-read-sepia .single-post .sev-print { background: #f1e4c8; border-color: #e1cfa7; }
html.sev-read-sepia .single-post .sev-section--paper { background: #efe2c4; }

html.sev-read-dark body.single-post { background: #12141c; color: #d8d3c7; }
html.sev-read-dark .single-post .sev-article__head { background: #191c27; }
html.sev-read-dark .single-post .sev-article__title, html.sev-read-dark .single-post .sev-meta__author, html.sev-read-dark .single-post .sev-prose h2, html.sev-read-dark .single-post .sev-prose h3 { color: #f3ede1; }
html.sev-read-dark .single-post .sev-prose { color: #d6d0c3; }
html.sev-read-dark .single-post .sev-prose > p:first-of-type { color: #efe9dc; }
html.sev-read-dark .single-post .sev-meta { color: #9a9fae; }
html.sev-read-dark .single-post .sev-crumbs a { color: #6fc7d6 !important; }
html.sev-read-dark .single-post .sev-share a, html.sev-read-dark .single-post .sev-share button, html.sev-read-dark .single-post .sev-like { background: #1d2130; border-color: #2c3144; color: #ece6da !important; }
html.sev-read-dark .single-post .sev-like.is-liked { background: #3a1d29; border-color: #6b2a42; color: #ff6b93 !important; }
html.sev-read-dark .single-post .sev-endcard, html.sev-read-dark .single-post .sev-author-box, html.sev-read-dark .single-post .sev-print, html.sev-read-dark .single-post .sev-postnav a { background: #191c27; border-color: #2a2e3f; color: #ece6da !important; }
html.sev-read-dark .single-post .sev-endcard h2, html.sev-read-dark .single-post .sev-author-box h2, html.sev-read-dark .single-post .sev-print summary { color: #f3ede1; }
html.sev-read-dark .single-post .sev-btn--outline { border-color: #ece6da; color: #ece6da !important; }
html.sev-read-dark .single-post .sev-section--paper { background: #161924; }
html.sev-read-dark .single-post .sev-section__title { color: #f3ede1; }
html.sev-read-dark .single-post .sev-card { background: #1c1f2c; border-color: #2a2e3f; }
html.sev-read-dark .single-post .sev-card__title a { color: #f3ede1 !important; }
html.sev-read-dark .single-post .sev-comments, html.sev-read-dark .single-post .sev-comments label, html.sev-read-dark .single-post .comment-reply-title { color: #d8d3c7; }
html.sev-read-dark .single-post .sev-comments input, html.sev-read-dark .single-post .sev-comments textarea { background: #1c1f2c !important; border-color: #2c3144 !important; color: #ece6da !important; }

/* Lightbox */
.sev-lightbox { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 3vh 3vw; background: rgba(10, 11, 16, 0.94); animation: sev-fade 0.2s ease; cursor: zoom-out; }
.sev-lightbox img { max-width: 94vw; max-height: 92vh; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); cursor: default; }
.sev-lightbox--page { place-items: start center; overflow-y: auto; overscroll-behavior: contain; }
.sev-lightbox--page img { max-height: none; }
.sev-lightbox__close { position: fixed; top: 14px; right: 18px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }
@keyframes sev-fade { from { opacity: 0; } to { opacity: 1; } }

/* =====================================================================================
   Blog listing: magazine top, richer cards, load more
   ===================================================================================== */
.sev-card__media { position: relative; }
.sev-card__time { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 0.35em; padding: 0.3em 0.7em; border-radius: 999px; background: rgba(23, 25, 37, 0.72); backdrop-filter: blur(6px); color: #fff; font-size: 0.75rem; font-weight: 600; font-family: var(--sev-font-tamil); }
.sev-card__time .sev-icon { width: 13px; height: 13px; }
.sev-card .sev-meta { align-items: center; }

.sev-mag { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; margin-bottom: 28px; }
.sev-card--feature .sev-card__media { aspect-ratio: 16 / 9; }
.sev-card--feature .sev-card__body { padding: 1.7rem 1.9rem 1.8rem; }
.sev-theme .sev-card--feature .sev-card__title { font-size: clamp(1.45rem, 2.4vw, 1.95rem); line-height: 1.45; }
.sev-card--feature .sev-card__excerpt { -webkit-line-clamp: 4; font-size: 1rem; }
.sev-card__more { margin-left: auto; font-size: 0.9rem; }
.sev-mag__side { display: grid; grid-template-rows: 1fr 1fr; gap: 28px; }
.sev-card--side { display: grid; grid-template-columns: 42% 1fr; }
.sev-card--side .sev-card__media { aspect-ratio: auto; height: 100%; min-height: 180px; }
.sev-card--side .sev-card__body { padding: 1.2rem 1.3rem; justify-content: center; }
.sev-theme .sev-card--side .sev-card__title { font-size: 1.1rem; }
.sev-card--side .sev-meta { border-top: 0; padding-top: 0; }
.sev-card--side .sev-card__time { left: 8px; bottom: 8px; }

.sev-loadmore { display: flex; justify-content: center; margin-top: 2.6rem; }
.sev-loadmore .sev-btn.is-loading { opacity: 0.6; pointer-events: none; }
.sev-loadmore .sev-btn.is-loading .sev-icon { animation: sev-spin 0.8s linear infinite; }
@keyframes sev-spin { to { transform: rotate(360deg); } }
.sev-card.is-new { animation: sev-rise 0.5s ease both; }
@keyframes sev-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
	.sev-mag { grid-template-columns: 1fr; }
	.sev-mag__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
	.sev-card--side { grid-template-columns: 1fr; }
	.sev-card--side .sev-card__media { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
}
@media (max-width: 640px) {
	.sev-mag__side { grid-template-columns: 1fr; gap: 22px; }
	.sev-mag { gap: 22px; margin-bottom: 22px; }
	.sev-card--feature .sev-card__body { padding: 1.3rem; }
	.sev-card__more { margin-left: 0; }
	.sev-endcard__actions .sev-btn { flex: 1 1 auto; }
}
@media print {
	.sev-readbar, .sev-progress, .sev-share, .sev-endcard, .sev-header, .sev-footer { display: none !important; }
}

.sev-theme .sev-lightbox__close { width: 46px !important; height: 46px !important; padding: 0 !important; border-radius: 50% !important; background: rgba(255, 255, 255, 0.14) !important; color: #fff !important; font-size: 1.8rem !important; line-height: 1 !important; }
.sev-theme .sev-lightbox__close:hover { background: rgba(255, 255, 255, 0.26) !important; }

/* =====================================================================================
   Wider layout: use large screens, keep the reading column comfortable
   ===================================================================================== */
.sev-wrap { max-width: 1400px; padding-inline: clamp(18px, 3vw, 40px); }
.sev-wrap--narrow { max-width: 860px; }

/* Article: one centred column on small/medium screens… */
.sev-article__grid { max-width: 880px; }
.sev-article__body { padding-top: 44px; }
.sev-article__hero { max-width: none; margin: 0 0 2.6rem; padding: 0; }
.sev-article__hero img { max-height: 520px; }
.sev-rail { display: none; }

/* …and share column + reading column + sidebar on wide screens. */
@media (min-width: 1200px) {
	.sev-article__grid {
		display: grid;
		grid-template-columns: 56px minmax(0, 820px) minmax(260px, 320px);
		column-gap: clamp(32px, 3.5vw, 64px);
		justify-content: center;
		max-width: 1400px;
	}
	.sev-article__head .sev-article__main { grid-column: 2; }
	.sev-article__body .sev-share { position: sticky; top: 110px; left: auto; align-self: start; margin-top: 4px; }
	.admin-bar .sev-article__body .sev-share { top: 142px; }
	.sev-rail { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; scrollbar-width: thin; }
	.admin-bar .sev-rail { top: 132px; }
}

/* Sidebar */
.sev-rail__box { padding: 1.3rem 1.3rem 1.4rem; border-radius: 18px; background: var(--sev-paper); border: 1px solid var(--sev-line); }
.sev-theme .sev-rail__title { margin: 0 0 1rem; font-family: var(--sev-font-tamil); font-size: 1rem; color: var(--sev-ink); display: flex; align-items: center; gap: 0.5rem; }
.sev-theme .sev-rail__title::before { content: ""; width: 6px; height: 18px; border-radius: 3px; background: var(--sev-gold); }
.sev-rail__posts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.9rem; }
.sev-rail__posts a { display: grid; grid-template-columns: 58px 1fr; gap: 0.8rem; align-items: center; color: var(--sev-ink) !important; text-decoration: none !important; }
.sev-rail__posts a:hover strong { color: var(--sev-teal-deep); }
.sev-rail__thumb { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--sev-ink-2), var(--sev-teal-deep)); color: #fff; font-weight: 800; font-family: var(--sev-font-tamil); }
.sev-rail__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sev-rail__text strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-family: var(--sev-font-tamil); font-size: 0.92rem; line-height: 1.5; font-weight: 700; transition: color 0.2s; }
.sev-rail__text small { display: block; margin-top: 0.15rem; color: var(--sev-muted); font-size: 0.75rem; font-family: var(--sev-font-tamil); }
.sev-rail__more { margin-top: 1rem; font-size: 0.88rem; }
.sev-rail__topics { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.sev-rail__topics a { padding: 0.35em 0.8em; border-radius: 999px; background: var(--sev-white); border: 1px solid var(--sev-line); color: var(--sev-text) !important; font-size: 0.82rem; font-weight: 600; font-family: var(--sev-font-tamil); text-decoration: none !important; }
.sev-rail__topics a span { color: var(--sev-muted); font-weight: 500; }
.sev-rail__topics a:hover { background: var(--sev-ink); border-color: var(--sev-ink); color: #fff !important; }
.sev-rail__books { background: var(--sev-ink); border-color: var(--sev-ink); color: rgba(255, 255, 255, 0.75); }
.sev-theme .sev-rail__books .sev-rail__title { color: #fff; }
.sev-rail__covers { display: flex; justify-content: center; margin: 0.4rem 0 1rem; }
.sev-rail__covers a { width: 31%; margin: 0 -3%; transition: transform 0.25s; }
.sev-rail__covers a:nth-child(1) { transform: rotate(-6deg); }
.sev-rail__covers a:nth-child(2) { z-index: 1; transform: translateY(-6px); }
.sev-rail__covers a:nth-child(3) { transform: rotate(6deg); }
.sev-rail__covers a:hover { transform: translateY(-10px) rotate(0); z-index: 2; }
.sev-rail__covers img { display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px 8px 8px 4px; box-shadow: 0 14px 24px -10px rgba(0, 0, 0, 0.7); }
.sev-rail__books p { margin: 0 0 0.9rem; text-align: center; font-size: 0.82rem; font-family: var(--sev-font-tamil); }
.sev-rail__books .sev-btn { width: 100%; }

/* Reading modes for the sidebar */
html.sev-read-sepia .single-post .sev-rail__box:not(.sev-rail__books) { background: #f1e4c8; border-color: #e1cfa7; }
html.sev-read-dark .single-post .sev-rail__box:not(.sev-rail__books) { background: #191c27; border-color: #2a2e3f; }
html.sev-read-dark .single-post .sev-rail__title, html.sev-read-dark .single-post .sev-rail__posts a { color: #ece6da !important; }
html.sev-read-dark .single-post .sev-rail__topics a { background: #1d2130; border-color: #2c3144; color: #d8d3c7 !important; }
html.sev-read-dark .single-post .sev-rail__books { background: #0d0f15; border-color: #2a2e3f; }

/* Below the 3-column layout, share links sit as a row above the text (not in the margin). */
@media (max-width: 1199px) {
	.sev-article__body .sev-share { position: static; flex-direction: row; justify-content: flex-start; margin: 0 0 1.8rem; }
	.sev-article__body .sev-share .sev-like--round { margin-top: 0; }
}

/* ---------- Author page: hero, numbers, summary with sources, themes, timeline, foreword ---------- */
.sev-ahero { position: relative; isolation: isolate; overflow: hidden; padding: 84px 0 72px; background: var(--sev-ink); color: var(--sev-white); }
.sev-ahero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 88% 8%, rgba(242, 169, 0, 0.22), transparent 42%), radial-gradient(circle at 0% 100%, rgba(46, 157, 176, 0.18), transparent 40%); }
.sev-ahero__grid { display: grid; grid-template-columns: 330px 1fr; gap: 72px; align-items: center; }
.sev-ahero__photo { position: relative; margin: 0; aspect-ratio: 4 / 5; }
.sev-ahero__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--sev-gold); border-radius: 28px; }
.sev-ahero__photo img, .sev-ahero__photo .sev-card__placeholder { position: relative; display: grid; width: 100%; height: 100%; object-fit: cover; border-radius: 28px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.85); }
.sev-theme .sev-ahero__name { margin: 0; color: var(--sev-white); font-family: var(--sev-font-tamil); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.25; }
.sev-ahero .sev-eyebrow { color: var(--sev-gold); }
.sev-ahero__tagline { margin: 1rem 0 0; padding-left: 1rem; border-left: 3px solid var(--sev-gold); color: rgba(255, 255, 255, 0.86); font-family: var(--sev-font-tamil); font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 600; line-height: 1.7; }
.sev-ahero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 1.6rem; margin: 2rem 0 0; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.sev-ahero__facts dt { color: rgba(255, 255, 255, 0.55); font-family: var(--sev-font-tamil); font-size: 0.78rem; font-weight: 600; }
.sev-ahero__facts dd { margin: 0.25rem 0 0; color: var(--sev-white); font-family: var(--sev-font-tamil); font-size: 0.95rem; font-weight: 600; line-height: 1.6; }
.sev-ahero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }

.sev-astats { background: linear-gradient(to bottom, var(--sev-ink) 50%, var(--sev-paper) 50%); }
.sev-astats__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-radius: 22px; background: var(--sev-white); box-shadow: var(--sev-shadow); overflow: hidden; }
.sev-astats__list li { padding: 26px 24px; border-left: 1px solid var(--sev-line); }
.sev-astats__list li:first-child { border-left: 0; }
.sev-astats__list strong { display: block; color: var(--sev-gold-deep); font-family: var(--sev-font-head); font-size: clamp(1.9rem, 3.4vw, 2.5rem); font-weight: 800; line-height: 1.1; }
.sev-astats__list span { display: block; margin-top: 0.4rem; color: var(--sev-muted); font-family: var(--sev-font-tamil); font-size: 0.88rem; font-weight: 600; line-height: 1.5; }

.sev-asummary { padding-top: 72px; }
.sev-asummary__grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.sev-asummary__head { position: sticky; top: 110px; }
.sev-asummary__note { margin: 1rem 0 0; color: var(--sev-muted); font-family: var(--sev-font-tamil); font-size: 0.92rem; line-height: 1.85; }
.sev-asummary__text p { margin: 0 0 1.3em; color: var(--sev-text); font-family: var(--sev-font-tamil); font-size: 1.1rem; line-height: 2.05; }
.sev-asummary__text p:first-child { color: var(--sev-ink); font-size: 1.24rem; font-weight: 500; }
.sev-asummary__text p:last-child { margin-bottom: 0; }
.sev-cite { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; margin-left: 0.2em; padding: 0 0.35em; border-radius: 999px; background: var(--sev-gold-soft); color: var(--sev-gold-deep) !important; font-family: var(--sev-font-head); font-size: 0.68em; font-weight: 800; line-height: 1; vertical-align: 0.5em; text-decoration: none !important; }
.sev-cite:hover, .sev-cite:focus-visible { background: var(--sev-gold); color: var(--sev-ink) !important; }
.sev-cite--themes { padding: 0 0.7em; background: rgba(46, 157, 176, 0.12); color: var(--sev-teal-deep) !important; font-family: var(--sev-font-tamil); }
.sev-cite--themes:hover, .sev-cite--themes:focus-visible { background: var(--sev-teal); color: var(--sev-white) !important; }

.sev-theme .sev-sources__title { display: flex; align-items: center; gap: 1rem; margin: 72px 0 24px; font-family: var(--sev-font-tamil); font-size: 1.45rem; scroll-margin-top: 110px; }
.sev-sources__title::after { content: ""; flex: 1; height: 1px; background: var(--sev-line); }
.sev-sources { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.sev-source { display: flex; flex-direction: column; border: 1px solid var(--sev-line); border-radius: 20px; background: var(--sev-white); overflow: hidden; scroll-margin-top: 110px; transition: box-shadow 0.3s, outline-color 0.3s; outline: 3px solid transparent; outline-offset: 4px; }
.sev-source:hover { box-shadow: var(--sev-shadow); }
.sev-source:target { outline-color: var(--sev-gold); box-shadow: var(--sev-shadow); }
.sev-source__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sev-cream); cursor: zoom-in; }
.sev-source__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.5s ease; }
.sev-source__media:hover img { transform: scale(1.04); }
.sev-source__media--book { display: grid; place-items: center; padding: 22px; background: linear-gradient(135deg, var(--sev-ink), var(--sev-ink-2)); cursor: pointer; }
.sev-source__media--book img { width: auto; height: 100%; max-width: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.7); }
.sev-source__media--book:hover img { transform: translateY(-3px); }
.sev-source__zoom { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 0.35em; padding: 0.4em 0.85em; border-radius: 999px; background: rgba(23, 25, 37, 0.8); color: var(--sev-white); font-family: var(--sev-font-tamil); font-size: 0.78rem; font-weight: 600; opacity: 0; transition: opacity 0.2s; }
.sev-source__media:hover .sev-source__zoom, .sev-source__media:focus-visible .sev-source__zoom { opacity: 1; }
@media (hover: none) { .sev-source__zoom { opacity: 1; } }
.sev-source__body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.sev-source__kind { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0 0 0.85rem; color: var(--sev-muted); font-family: var(--sev-font-tamil); font-size: 0.8rem; }
.sev-source__num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sev-ink); color: var(--sev-gold); font-family: var(--sev-font-head); font-size: 0.85rem; font-weight: 800; }
.sev-theme .sev-source__title { margin: 0 0 0.35rem; font-family: var(--sev-font-tamil); font-size: 1.08rem; line-height: 1.55; }
.sev-source__from { margin: 0 0 1rem; color: var(--sev-muted); font-family: var(--sev-font-tamil); font-size: 0.85rem; line-height: 1.6; }
.sev-theme .sev-source__quote { margin: 0 0 1rem; padding: 0.15rem 0 0.15rem 1rem; border: 0; border-left: 3px solid var(--sev-gold); background: none; color: var(--sev-text); font-family: var(--sev-font-tamil); font-size: 0.97rem; font-style: normal; line-height: 1.85; }
.sev-source__quote p { margin: 0; }
.sev-source__points { margin: 0 0 1rem; padding-left: 1.1rem; color: var(--sev-muted); font-family: var(--sev-font-tamil); font-size: 0.86rem; line-height: 1.75; }
.sev-source__points li + li { margin-top: 0.3rem; }
.sev-source .sev-link { margin-top: auto; font-size: 0.9rem; }

.sev-athemes { background: var(--sev-white); scroll-margin-top: 70px; }
.sev-topic-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sev-topic-card { display: flex; flex-direction: column; padding: 28px 26px 18px; border: 1px solid var(--sev-line); border-radius: 20px; background: var(--sev-paper); }
.sev-topic-card__num { margin-bottom: 0.8rem; color: var(--sev-gold); font-family: var(--sev-font-head); font-size: 2.2rem; font-weight: 800; line-height: 1; }
.sev-theme .sev-topic-card__title { margin: 0 0 0.5rem; font-family: var(--sev-font-tamil); font-size: 1.2rem; line-height: 1.5; }
.sev-topic-card__text { margin: 0 0 1.1rem; color: var(--sev-muted); font-family: var(--sev-font-tamil); font-size: 0.93rem; line-height: 1.85; }
.sev-topic-card__posts { margin: auto 0 0; padding: 0; list-style: none; border-top: 1px solid var(--sev-line); }
.sev-topic-card__posts li + li { border-top: 1px dashed var(--sev-line); }
.sev-topic-card__posts a { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--sev-ink) !important; text-decoration: none !important; }
.sev-topic-card__posts strong { display: block; font-family: var(--sev-font-tamil); font-size: 0.95rem; font-weight: 600; line-height: 1.5; }
.sev-topic-card__posts small { display: block; margin-top: 0.15rem; color: var(--sev-muted); font-family: var(--sev-font-tamil); font-size: 0.78rem; }
.sev-topic-card__posts a:hover strong { color: var(--sev-teal-deep); }
.sev-topic-card__thumb { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, var(--sev-teal), var(--sev-teal-deep)); color: var(--sev-white); font-family: var(--sev-font-tamil); font-weight: 800; }
.sev-topic-card__thumb img { width: 100%; height: 100%; object-fit: cover; }

.sev-ajourney__grid { display: grid; grid-template-columns: 300px 1fr; gap: 64px; align-items: start; }
.sev-ajourney__grid > header { position: sticky; top: 110px; }
.sev-timeline { position: relative; margin: 0; padding: 0 0 0 30px; list-style: none; }
.sev-timeline::before { content: ""; position: absolute; top: 10px; bottom: 10px; left: 7px; width: 2px; background: linear-gradient(var(--sev-gold), var(--sev-line)); }
.sev-timeline li { position: relative; padding-bottom: 28px; }
.sev-timeline li:last-child { padding-bottom: 0; }
.sev-timeline li::before { content: ""; position: absolute; top: 0.35em; left: -30px; width: 16px; height: 16px; border: 3px solid var(--sev-gold); border-radius: 50%; background: var(--sev-paper); }
.sev-timeline__when { display: inline-block; margin-bottom: 0.45rem; padding: 0.2em 0.85em; border-radius: 999px; background: var(--sev-gold-soft); color: var(--sev-gold-deep); font-family: var(--sev-font-tamil); font-size: 0.85rem; font-weight: 700; }
.sev-timeline p { margin: 0; color: var(--sev-text); font-family: var(--sev-font-tamil); font-size: 1.02rem; line-height: 1.95; }

.sev-aforeword { position: relative; background: var(--sev-white); scroll-margin-top: 70px; }
.sev-aforeword .sev-wrap::before { content: "\201C"; display: block; height: 0.55em; color: var(--sev-gold); font-family: Georgia, serif; font-size: 6rem; line-height: 1; }
.sev-aforeword__by { margin: 0.6rem 0 1.8rem; color: var(--sev-teal-deep); font-family: var(--sev-font-tamil); font-weight: 700; }
.sev-aforeword__text p { margin: 0 0 1.1em; color: var(--sev-text); font-family: var(--sev-font-tamil); font-size: 1.06rem; line-height: 2; }
.sev-aforeword__more summary { display: inline-flex; align-items: center; gap: 0.5em; margin: 0.2rem 0 1.2rem; padding: 0.75em 1.5em; border: 1.5px solid var(--sev-ink); border-radius: 999px; color: var(--sev-ink); font-family: var(--sev-font-tamil); font-weight: 600; cursor: pointer; list-style: none; }
.sev-aforeword__more summary::-webkit-details-marker { display: none; }
.sev-aforeword__more summary:hover { background: var(--sev-ink); color: var(--sev-white); }
.sev-aforeword__more[open] summary { display: none; }

@media (max-width: 1100px) {
	.sev-topic-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.sev-ahero { padding: 56px 0 64px; }
	.sev-ahero__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; justify-items: center; }
	.sev-ahero__photo { width: 240px; }
	.sev-ahero__tagline { padding-left: 0; border-left: 0; }
	.sev-ahero__facts { width: 100%; text-align: left; }
	.sev-ahero__actions { justify-content: center; }
	.sev-astats__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sev-astats__list li:nth-child(3) { border-left: 0; }
	.sev-astats__list li:nth-child(n + 3) { border-top: 1px solid var(--sev-line); }
	.sev-asummary__grid, .sev-ajourney__grid { grid-template-columns: 1fr; gap: 28px; }
	.sev-asummary__head, .sev-ajourney__grid > header { position: static; }
}
@media (max-width: 640px) {
	.sev-ahero__facts { grid-template-columns: 1fr; }
	.sev-astats__list li { padding: 20px 16px; }
	.sev-topic-cards { grid-template-columns: 1fr; }
	.sev-asummary__text p:first-child { font-size: 1.12rem; }
	.sev-asummary__text p { font-size: 1.04rem; }
}

/* ---------- Header: full width, wordmark never clipped ---------- */
.sev-header__inner { width: 100%; max-width: none; margin: 0; padding-inline: clamp(16px, 3.2vw, 56px); }
.sev-searchbar__form.sev-header__inner { height: auto; }
.sev-brand__text { line-height: 1.2; }
.sev-brand__name { display: block; padding: 0.14em 0.04em 0.06em; line-height: 1.35; }
.sev-brand__sub { margin-top: -0.12rem; }

/* ---------- Picture banner at the top of every page (same feel as the homepage hero) ---------- */
.sev-banner {
	--sev-banner-edge: var(--sev-paper);
	position: relative; isolation: isolate; overflow: hidden; color: var(--sev-white);
	padding: calc(var(--sev-head-h, 76px) + clamp(40px, 6vw, 84px)) 0 clamp(80px, 9vw, 130px);
	background: #1b140a center / cover no-repeat;
}
.sev-banner--path {
	background-image: url("assets/img/banner-path.jpg");
	background-image: image-set(url("assets/img/banner-path.webp") type("image/webp"), url("assets/img/banner-path.jpg") type("image/jpeg"));
	background-position: 70% 58%;
}
.sev-banner--books {
	background-image: url("assets/img/banner-books.jpg");
	background-image: image-set(url("assets/img/banner-books.webp") type("image/webp"), url("assets/img/banner-books.jpg") type("image/jpeg"));
	background-position: 80% 55%;
}
.sev-banner--post { background-color: #1b140a; }
.sev-banner__img { position: absolute; inset: -40px; z-index: -2; background: center / cover no-repeat; filter: blur(22px) saturate(1.15); transform: scale(1.08); }
/* Darker on the side with the words, lighter where the picture shows. */
.sev-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(14, 10, 4, 0.86) 0%, rgba(14, 10, 4, 0.66) 42%, rgba(14, 10, 4, 0.28) 100%), linear-gradient(180deg, rgba(10, 8, 4, 0.55) 0, rgba(10, 8, 4, 0) 32%); }
.sev-banner--post::before { background: linear-gradient(180deg, rgba(14, 10, 4, 0.72), rgba(14, 10, 4, 0.6) 60%, rgba(14, 10, 4, 0.5)); }
/* Torn paper edge, coloured like the section that follows. */
.sev-banner::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; height: 7.5vw; min-height: 44px; max-height: 120px; pointer-events: none;
	background: var(--sev-banner-edge);
	-webkit-mask: url("assets/img/torn-edge.webp") center bottom / 100% 100% no-repeat; mask: url("assets/img/torn-edge.webp") center bottom / 100% 100% no-repeat;
}
.sev-banner--on-white { --sev-banner-edge: var(--sev-white); }
.sev-banner.sev-404::after { display: none; }
.sev-banner > .sev-wrap, .sev-banner > .sev-ahero__grid { position: relative; z-index: 2; }
.sev-banner .sev-eyebrow { color: var(--sev-gold); }
.sev-theme .sev-banner .sev-page-head__title { color: var(--sev-white); text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45); font-weight: 800; }
.sev-banner .sev-page-head__desc { color: rgba(255, 255, 255, 0.86); }
.sev-banner .sev-search { position: relative; z-index: 2; }
@media (max-width: 640px) {
	.sev-banner { padding-top: calc(66px + 34px); padding-bottom: 76px; }
	.sev-banner--path { background-image: image-set(url("assets/img/banner-path-sm.webp") type("image/webp"), url("assets/img/banner-path-sm.jpg") type("image/jpeg")); background-position: 60% 60%; }
	.sev-banner--books { background-image: image-set(url("assets/img/banner-books-sm.webp") type("image/webp"), url("assets/img/banner-books-sm.jpg") type("image/jpeg")); background-position: 40% 55%; }
	.sev-banner::before { background: linear-gradient(180deg, rgba(14, 10, 4, 0.78), rgba(14, 10, 4, 0.62) 70%, rgba(14, 10, 4, 0.45)); }
	.sev-banner::after { height: 13vw; }
}

/* Author page: the numbers card overlaps the torn edge. */
.sev-ahero.sev-banner { padding-bottom: clamp(120px, 13vw, 190px); }
.sev-ahero.sev-banner { background-color: #1b140a; }
.sev-astats { position: relative; z-index: 3; margin-top: clamp(-110px, -7vw, -60px); background: transparent; }
@media (max-width: 960px) { .sev-ahero.sev-banner { padding-top: calc(66px + 28px); } }

/* Pages rendered by Astra/WooCommerce: the banner carries the title. */
.sev-has-banner .woocommerce-products-header, .sev-has-banner.page .entry-header { display: none; }
.sev-theme.sev-has-banner.woocommerce-page #content.site-content, .sev-theme.sev-has-banner.woocommerce #content.site-content { padding-top: 16px; }

/* ---------- Article head over the banner ---------- */
.sev-article__head.sev-banner { padding-bottom: clamp(104px, 11vw, 170px); }
.sev-banner .sev-crumbs, .sev-banner .sev-crumbs span { color: rgba(255, 255, 255, 0.7); }
.sev-banner .sev-crumbs a { color: var(--sev-gold) !important; }
.sev-theme .sev-banner .sev-article__title { color: var(--sev-white); text-shadow: 0 3px 20px rgba(0, 0, 0, 0.5); }
.sev-banner .sev-article__lead { color: rgba(255, 255, 255, 0.86); }
.sev-banner .sev-meta, .sev-banner .sev-meta span { color: rgba(255, 255, 255, 0.82); }
.sev-banner .sev-meta__author { color: var(--sev-white); }
html.sev-read-sepia .single-post .sev-article__head.sev-banner { background-color: #1b140a; --sev-banner-edge: #f6eedc; }
html.sev-read-dark .single-post .sev-article__head.sev-banner { background-color: #1b140a; --sev-banner-edge: #12141c; }

/* Featured picture on a post: whole picture, its own shape, over a blurred copy. */
.sev-theme .sev-article__hero { position: relative; display: grid; place-items: center; overflow: hidden; margin: 0 0 2.6rem; border-radius: 22px; background: #1b140a; box-shadow: var(--sev-shadow); isolation: isolate; }
.sev-article__hero-bg { position: absolute; inset: -30px; z-index: -1; background: center / cover no-repeat; filter: blur(24px) saturate(1.1) brightness(0.8); transform: scale(1.1); }
.sev-theme .sev-article__hero img { display: block; width: auto; max-width: 100%; height: auto; max-height: 620px; object-fit: contain; border-radius: 0; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6); }
.sev-article__hero figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 0.6rem 1rem; background: linear-gradient(transparent, rgba(0, 0, 0, 0.6)); color: #fff; }

/* ---------- Post cards: the whole picture over a blurred fill, all cards the same shape ---------- */
.sev-card__media { position: relative; isolation: isolate; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; background: #1b140a; }
.sev-card__media::before { content: ""; position: absolute; inset: -24px; z-index: -1; background: var(--sev-card-img) center / cover no-repeat; filter: blur(18px) saturate(1.1) brightness(0.82); transform: scale(1.1); }
.sev-theme .sev-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: contain; transition: transform 0.6s ease; }
.sev-card:hover .sev-card__media img { transform: scale(1.03); }
.sev-theme .sev-card__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sev-card--lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.sev-card--lead .sev-card__media { aspect-ratio: auto; min-height: 340px; height: 100%; max-height: 440px; }
.sev-card--lead .sev-card__body { justify-content: center; gap: 1rem; padding: clamp(1.6rem, 3vw, 2.6rem); }
.sev-theme .sev-card--lead .sev-card__title { font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.45; }
.sev-card--lead .sev-card__excerpt { flex: none; -webkit-line-clamp: 4; font-size: 1rem; }
@media (max-width: 960px) {
	.sev-card--lead { grid-template-columns: 1fr; }
	.sev-card--lead .sev-card__media { min-height: 0; aspect-ratio: 16 / 10; height: auto; }
}

/* =====================================================================
   Shop pages: cart, checkout, thank-you, account, book list, book page
   ===================================================================== */
.sev-theme.woocommerce-page .site-content > .ast-container, .sev-theme.woocommerce .site-content > .ast-container { max-width: 1200px; }

/* Progress steps */
.sev-steps { display: flex; align-items: center; justify-content: center; gap: 0; max-width: 640px; margin: 8px auto 34px; padding: 0; list-style: none; counter-reset: none; }
.sev-steps li { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; gap: 0.45rem; text-align: center; }
.sev-steps li + li::before { content: ""; position: absolute; top: 17px; right: 50%; width: 100%; height: 2px; background: var(--sev-line); z-index: 0; }
.sev-steps li.is-done + li::before, .sev-steps li.is-current::before { background: var(--sev-gold); }
.sev-steps__num { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--sev-line); background: var(--sev-white); color: var(--sev-muted); font-family: var(--sev-font-head); font-size: 0.9rem; font-weight: 800; }
.sev-steps li.is-current .sev-steps__num { border-color: var(--sev-gold); background: var(--sev-gold); color: var(--sev-ink); box-shadow: 0 0 0 5px rgba(242, 169, 0, 0.2); }
.sev-steps li.is-done .sev-steps__num { border-color: var(--sev-gold); background: var(--sev-gold-soft); color: var(--sev-gold-deep); }
.sev-steps__label { font-family: var(--sev-font-tamil); font-size: 0.85rem; font-weight: 700; color: var(--sev-muted); }
.sev-steps li.is-current .sev-steps__label { color: var(--sev-ink); }
.sev-steps__label a { color: inherit !important; text-decoration: none !important; }
.sev-steps__label a:hover { color: var(--sev-gold-deep) !important; }

/* Notices */
.sev-theme .woocommerce-message, .sev-theme .woocommerce-info, .sev-theme .woocommerce-error, .sev-theme .woocommerce-notices-wrapper .woocommerce-message {
	border: 1px solid var(--sev-line) !important; border-left: 4px solid var(--sev-gold) !important; border-radius: 14px !important; background: var(--sev-white) !important;
	color: var(--sev-text) !important; font-family: var(--sev-font-tamil); padding: 1rem 1.2rem 1rem 3rem !important; box-shadow: 0 10px 30px -24px rgba(60, 40, 10, 0.5);
}
.sev-theme .woocommerce-error { border-left-color: #d64545 !important; }
.sev-theme .woocommerce-message { border-left-color: #2e9d62 !important; }
.sev-theme .woocommerce-message .button, .sev-theme .woocommerce-info .button { float: right; }

/* Shared card look */
.sev-theme.woocommerce-cart form.woocommerce-cart-form, .sev-theme .cart-collaterals .cart_totals, .sev-theme .woocommerce-checkout .woocommerce-billing-fields, .sev-theme .woocommerce-checkout .woocommerce-shipping-fields, .sev-theme .woocommerce-checkout .woocommerce-additional-fields, .sev-theme .sev-checkout-summary, .sev-theme .woocommerce-order, .sev-theme.woocommerce-account .woocommerce form.login, .sev-theme.woocommerce-account .woocommerce form.register, .sev-theme.woocommerce-account .woocommerce form.lost_reset_password {
	background: var(--sev-white); border: 1px solid #ece3d0; border-radius: 20px; box-shadow: 0 24px 50px -36px rgba(60, 40, 10, 0.45);
}

/* ---------- Form fields ---------- */
.sev-theme .woocommerce form .form-row { margin: 0 0 14px; padding: 0; }
.sev-theme .woocommerce form .form-row label { margin-bottom: 6px; color: var(--sev-ink); font-family: var(--sev-font); font-size: 0.86rem; font-weight: 600; line-height: 1.4; }
.sev-theme .woocommerce form .form-row .required { color: #d64545; text-decoration: none; }
.sev-theme .woocommerce form .form-row input.input-text, .sev-theme .woocommerce form .form-row textarea, .sev-theme .woocommerce form .form-row select, .sev-theme .woocommerce-cart table.cart td.actions .coupon .input-text, .sev-theme .woocommerce form.checkout_coupon .input-text {
	min-height: 50px; padding: 12px 14px !important; border: 1.5px solid #e3d9c4 !important; border-radius: 12px !important; background: #fffdf9 !important; color: var(--sev-ink) !important;
	font-family: var(--sev-font); font-size: 1rem !important; line-height: 1.4; box-shadow: none !important; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.sev-theme .woocommerce form .form-row textarea { min-height: 96px; }
.sev-theme .woocommerce form .form-row input.input-text:focus, .sev-theme .woocommerce form .form-row textarea:focus, .sev-theme .woocommerce form .form-row select:focus, .sev-theme .woocommerce-cart table.cart td.actions .coupon .input-text:focus {
	border-color: var(--sev-gold) !important; background: #fff !important; box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.16) !important; outline: none;
}
.sev-theme .woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: #d64545 !important; }
.sev-theme .select2-container--default .select2-selection--single { height: 50px; border: 1.5px solid #e3d9c4; border-radius: 12px; background: #fffdf9; }
.sev-theme .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0 40px 0 14px; color: var(--sev-ink); line-height: 47px; }
.sev-theme .select2-container--default .select2-selection--single .select2-selection__arrow { height: 47px; right: 8px; }
.sev-theme .select2-container--open .select2-selection--single { border-color: var(--sev-gold); box-shadow: 0 0 0 4px rgba(242, 169, 0, 0.16); }
.sev-theme .select2-dropdown { border: 1.5px solid #e3d9c4; border-radius: 12px; overflow: hidden; box-shadow: var(--sev-shadow); }
.sev-theme .select2-container--default .select2-results__option--highlighted[aria-selected], .sev-theme .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--sev-gold); color: var(--sev-ink); }

/* Primary buttons on shop pages */
.sev-theme .woocommerce .checkout-button, .sev-theme .woocommerce #place_order, .sev-theme .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	display: flex !important; align-items: center; justify-content: center; gap: 0.6em; width: 100%; min-height: 56px; margin: 0 !important; padding: 0.9em 1.4em !important;
	border-radius: 999px !important; background: linear-gradient(180deg, #ffc93c, #f2a900) !important; color: var(--sev-ink) !important; font-family: var(--sev-font-tamil) !important;
	font-size: 1.05rem !important; font-weight: 800 !important; box-shadow: 0 16px 30px -16px rgba(242, 169, 0, 0.95) !important; transition: transform 0.2s, box-shadow 0.2s !important;
}
.sev-theme .woocommerce .checkout-button:hover, .sev-theme .woocommerce #place_order:hover { transform: translateY(-2px); box-shadow: 0 22px 36px -16px rgba(242, 169, 0, 1) !important; }
.sev-theme .woocommerce #place_order::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; }
.sev-theme .woocommerce #place_order .ast-icon, .sev-theme .woocommerce #place_order svg { display: none; }

/* Secure payment note */
.sev-secure { margin-top: 16px; text-align: center; }
.sev-secure__line { display: flex; align-items: center; justify-content: center; gap: 0.45em; margin: 0 0 10px; color: var(--sev-muted); font-family: var(--sev-font-tamil); font-size: 0.8rem; line-height: 1.5; }
.sev-secure__line svg { flex: none; width: 15px; height: 15px; fill: none; stroke: #2e9d62; stroke-width: 2.2; stroke-linecap: round; }
.sev-secure__cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; }
.sev-secure__cards span { padding: 4px 9px; border: 1px solid var(--sev-line); border-radius: 6px; background: var(--sev-white); color: #4a4f5c; font-family: var(--sev-font-head); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.04em; }

/* ---------- Cart ---------- */
.sev-theme.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.sev-theme.woocommerce-cart .woocommerce > * { grid-column: 1 / -1; }
.sev-theme.woocommerce-cart .woocommerce > form.woocommerce-cart-form { grid-column: 1; margin: 0; padding: 8px 22px 18px; }
.sev-theme.woocommerce-cart .woocommerce > .cart-collaterals { grid-column: 2; width: auto; position: sticky; top: 100px; }
.sev-theme.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100% !important; padding: 24px; }
.sev-theme .cart_totals > h2 { margin: 0 0 14px; font-family: var(--sev-font-tamil); font-size: 1.25rem; color: var(--sev-ink); }
.sev-theme table.shop_table { border: 0 !important; border-radius: 0 !important; margin: 0 !important; border-collapse: collapse; }
.sev-theme table.shop_table th, .sev-theme table.shop_table td { border: 0 !important; border-bottom: 1px solid #f0e8d8 !important; padding: 14px 8px !important; background: transparent !important; font-family: var(--sev-font-tamil); }
.sev-theme table.shop_table thead th { color: var(--sev-muted); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.sev-theme table.cart td.product-thumbnail img { width: 64px !important; height: 92px; object-fit: cover; border-radius: 4px 8px 8px 4px; box-shadow: 0 10px 20px -12px rgba(0, 0, 0, 0.6); }
.sev-theme table.cart td.product-name a { color: var(--sev-ink) !important; font-size: 1.05rem; font-weight: 700; text-decoration: none !important; }
.sev-theme table.cart td.product-name a:hover { color: var(--sev-gold-deep) !important; }
.sev-theme table.cart td.product-price, .sev-theme table.cart td.product-subtotal { color: var(--sev-ink); font-family: var(--sev-font-head); font-weight: 700; }
.sev-theme table.cart td.product-remove a.remove { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--sev-line) !important; border-radius: 50%; color: var(--sev-muted) !important; font-size: 1.1rem; line-height: 1; }
.sev-theme table.cart td.product-remove a.remove:hover { border-color: #d64545 !important; background: #fdecec !important; color: #d64545 !important; }
.sev-theme .woocommerce .quantity { display: inline-flex; align-items: center; overflow: hidden; border: 1.5px solid #e3d9c4; border-radius: 999px; background: var(--sev-white); }
.sev-theme .woocommerce .quantity .qty { width: 44px; min-height: 40px; border: 0 !important; background: transparent !important; text-align: center; font-weight: 700; box-shadow: none !important; }
.sev-theme .woocommerce .quantity .minus, .sev-theme .woocommerce .quantity .plus { width: 36px; height: 40px; border: 0 !important; background: transparent !important; color: var(--sev-ink) !important; font-size: 1.1rem; }
.sev-theme .woocommerce .quantity .minus:hover, .sev-theme .woocommerce .quantity .plus:hover { background: var(--sev-gold-soft) !important; }
.sev-theme table.cart td.actions { padding-top: 18px !important; border-bottom: 0 !important; }
.sev-theme table.cart td.actions .coupon { display: flex; gap: 8px; }
.sev-theme table.cart td.actions .coupon .input-text { width: 200px !important; min-height: 44px; }
.sev-theme table.cart td.actions .button, .sev-theme .woocommerce form.checkout_coupon .button { min-height: 44px; padding: 0 1.2em !important; border: 1.5px solid var(--sev-ink) !important; border-radius: 999px !important; background: transparent !important; color: var(--sev-ink) !important; font-family: var(--sev-font-tamil) !important; font-size: 0.9rem !important; font-weight: 700 !important; box-shadow: none !important; }
.sev-theme table.cart td.actions .button:hover { background: var(--sev-ink) !important; color: var(--sev-white) !important; }
.sev-theme table.cart td.actions .button[disabled] { opacity: 0.4; }
.sev-theme .cart_totals table.shop_table th { color: var(--sev-muted); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
.sev-theme .cart_totals .order-total th, .sev-theme .cart_totals .order-total td { border-bottom: 0 !important; padding-top: 18px !important; font-size: 1.1rem; color: var(--sev-ink); }
.sev-theme .cart_totals .order-total .amount, .sev-theme .woocommerce-checkout-review-order-table .order-total .amount { color: var(--sev-gold-deep); font-family: var(--sev-font-head); font-size: 1.45rem; font-weight: 800; }
.sev-theme .cart_totals .wc-proceed-to-checkout { padding: 12px 0 0; }
.sev-continue { margin: 16px 0 0; }
.sev-continue a { color: var(--sev-teal-deep) !important; font-family: var(--sev-font-tamil); font-weight: 700; text-decoration: none !important; }
.sev-continue a:hover { color: var(--sev-gold-deep) !important; }
/* Empty cart */
.sev-theme.woocommerce-cart .cart-empty.woocommerce-info { max-width: 560px; margin: 10px auto 0 !important; padding: 2.4rem 1.6rem 1.2rem !important; border-left-width: 1px !important; text-align: center; font-size: 1.15rem; }
.sev-theme.woocommerce-cart .cart-empty.woocommerce-info::before { position: static; display: block; margin: 0 auto 0.8rem; font-size: 2.2rem; color: var(--sev-gold); }
.sev-theme.woocommerce-cart .return-to-shop { text-align: center; }
.sev-theme.woocommerce-cart .return-to-shop .button { margin-top: 16px; }

/* ---------- Checkout ---------- */
.sev-theme .woocommerce form.checkout_coupon { padding: 18px !important; border: 1px dashed #e3d9c4 !important; border-radius: 14px !important; background: var(--sev-white); }
.sev-theme form.woocommerce-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
.sev-theme form.woocommerce-checkout::before, .sev-theme form.woocommerce-checkout::after, .sev-theme form.woocommerce-checkout #customer_details::before, .sev-theme form.woocommerce-checkout #customer_details::after { display: none; }
.sev-checkout-main { grid-column: 1; min-width: 0; }
.sev-theme .sev-checkout-summary { grid-column: 2; position: sticky; top: 96px; padding: 26px; }
.sev-theme form.woocommerce-checkout #customer_details { display: block; width: 100%; margin: 0; }
.sev-theme form.woocommerce-checkout #customer_details .col-1, .sev-theme form.woocommerce-checkout #customer_details .col-2 { float: none; width: auto; max-width: none; margin: 0; padding: 0; }
.sev-theme form.woocommerce-checkout #customer_details .col-1 { display: grid; gap: 22px; }
.sev-theme .woocommerce-checkout .woocommerce-billing-fields, .sev-theme .woocommerce-checkout .woocommerce-shipping-fields, .sev-theme .woocommerce-checkout .woocommerce-additional-fields { padding: 26px 26px 14px; }
.sev-theme .woocommerce-checkout .woocommerce-shipping-fields:empty { display: none; }
.sev-theme .woocommerce-checkout .woocommerce-billing-fields h3, .sev-theme .woocommerce-checkout .woocommerce-additional-fields h3, .sev-theme .woocommerce-checkout #ship-to-different-address, .sev-theme #order_review_heading {
	display: flex; align-items: center; gap: 0.6rem; margin: 0 0 18px; padding: 0 0 14px; border-bottom: 1px solid #f0e8d8; color: var(--sev-ink); font-family: var(--sev-font-tamil); font-size: 1.2rem; font-weight: 800;
}
.sev-theme .woocommerce-checkout .woocommerce-billing-fields h3::before { content: "1"; }
.sev-theme .woocommerce-checkout .woocommerce-additional-fields h3::before { content: "2"; }
.sev-theme .woocommerce-checkout .woocommerce-billing-fields h3::before, .sev-theme .woocommerce-checkout .woocommerce-additional-fields h3::before { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sev-gold-soft); color: var(--sev-gold-deep); font-family: var(--sev-font-head); font-size: 0.85rem; }
.sev-theme .woocommerce-checkout .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.sev-theme .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row { float: none; width: auto; grid-column: 1 / -1; }
.sev-theme .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first { grid-column: 1; }
.sev-theme .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last { grid-column: 2; }
.sev-theme #order_review_heading { float: none; width: auto; }
.sev-theme .woocommerce-checkout-review-order { float: none !important; width: auto !important; }
.sev-theme .woocommerce-checkout-review-order-table thead { display: none; }
.sev-theme .woocommerce-checkout-review-order-table td.product-name { color: var(--sev-ink); font-weight: 600; }
.sev-review-item { display: inline-flex; align-items: center; gap: 12px; }
.sev-review-item__img { flex: none; width: 44px !important; height: 64px !important; object-fit: cover; border-radius: 3px 6px 6px 3px; box-shadow: 0 8px 16px -10px rgba(0, 0, 0, 0.6); }
.sev-theme .woocommerce-checkout-review-order-table .product-quantity { color: var(--sev-muted); font-weight: 700; }
.sev-theme .woocommerce-checkout-review-order-table td.product-total { text-align: right; font-family: var(--sev-font-head); font-weight: 700; white-space: nowrap; }
.sev-theme .woocommerce-checkout-review-order-table tfoot th { color: var(--sev-muted); font-weight: 600; text-transform: none; }
.sev-theme .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.sev-theme .woocommerce-checkout-review-order-table .order-total th, .sev-theme .woocommerce-checkout-review-order-table .order-total td { border-bottom: 0 !important; color: var(--sev-ink); font-size: 1.1rem; }
/* Payment box */
.sev-theme #payment { margin-top: 18px; border-radius: 16px !important; background: var(--sev-paper) !important; border: 1px solid #ece3d0; }
.sev-theme #payment ul.payment_methods { padding: 14px 16px !important; border-bottom: 1px solid #ece3d0 !important; }
.sev-theme #payment ul.payment_methods li { font-family: var(--sev-font-tamil); }
.sev-theme #payment ul.payment_methods li > label { font-weight: 700; color: var(--sev-ink); }
.sev-theme #payment div.payment_box { margin: 10px 0 4px !important; padding: 14px !important; border-radius: 12px !important; background: var(--sev-white) !important; border: 1px solid #ece3d0; color: var(--sev-text) !important; }
.sev-theme #payment div.payment_box::before { display: none; }
.sev-theme #payment .place-order { padding: 16px !important; }
.sev-theme .woocommerce-privacy-policy-text p { margin: 0 0 14px; color: var(--sev-muted); font-size: 0.8rem; line-height: 1.6; }
.sev-theme .woocommerce-privacy-policy-text a { color: var(--sev-teal-deep); }
.sev-theme #payment .woocommerce-info { margin: 0 !important; }

/* ---------- Thank-you page ---------- */
.sev-theme .woocommerce-order { padding: 32px; }
.sev-theme .woocommerce-order .woocommerce-thankyou-order-received, .sev-theme .woocommerce-order .woocommerce-notice--success {
	display: flex; flex-direction: column; align-items: center; gap: 0.6rem; margin: 0 0 24px; padding: 10px 0 24px; border-bottom: 1px solid #f0e8d8; color: var(--sev-ink); font-family: var(--sev-font-tamil); font-size: 1.4rem; font-weight: 800; text-align: center;
}
.sev-theme .woocommerce-order .woocommerce-thankyou-order-received::before, .sev-theme .woocommerce-order .woocommerce-notice--success::before { content: "✓"; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #e7f6ec; color: #2e9d62; font-size: 2rem; }
.sev-theme ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 28px !important; padding: 0 !important; list-style: none; }
.sev-theme ul.woocommerce-order-overview li { margin: 0 !important; padding: 14px 16px !important; border: 1px solid #ece3d0 !important; border-radius: 14px; background: var(--sev-paper); color: var(--sev-muted); font-family: var(--sev-font-tamil); font-size: 0.8rem !important; }
.sev-theme ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; color: var(--sev-ink); font-size: 1rem; }
.sev-theme .woocommerce-order-details__title, .sev-theme .woocommerce-column__title { font-family: var(--sev-font-tamil); font-size: 1.2rem; }
.sev-theme .woocommerce-customer-details address { padding: 16px !important; border: 1px solid #ece3d0 !important; border-radius: 14px; background: var(--sev-paper); }

/* ---------- Account / login ---------- */
.sev-theme.woocommerce-account .woocommerce form.login, .sev-theme.woocommerce-account .woocommerce form.register, .sev-theme.woocommerce-account .woocommerce form.lost_reset_password { max-width: 480px; margin: 0 auto; padding: 30px 30px 20px; }
.sev-theme.woocommerce-account .woocommerce > h2, .sev-theme.woocommerce-account .u-column1 > h2, .sev-theme.woocommerce-account .u-column2 > h2 { font-family: var(--sev-font-tamil); text-align: center; }
.sev-theme.woocommerce-account .woocommerce form .button { width: 100%; min-height: 50px; border-radius: 999px !important; }
.sev-theme .woocommerce-MyAccount-navigation ul { margin: 0; padding: 8px; list-style: none; border: 1px solid #ece3d0; border-radius: 16px; background: var(--sev-white); }
.sev-theme .woocommerce-MyAccount-navigation li a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--sev-text) !important; font-weight: 600; text-decoration: none !important; }
.sev-theme .woocommerce-MyAccount-navigation li.is-active a, .sev-theme .woocommerce-MyAccount-navigation li a:hover { background: var(--sev-gold-soft); color: var(--sev-ink) !important; }

/* ---------- Book list ---------- */
.sev-theme .woocommerce-ordering select { min-height: 42px; padding: 0 2.2rem 0 1rem; border: 1.5px solid #e3d9c4; border-radius: 999px; background-color: var(--sev-white); font-family: var(--sev-font-tamil); font-size: 0.9rem; }
.sev-theme ul.products li.product { display: flex; flex-direction: column; padding: 14px 14px 18px !important; border-color: #ece3d0; }
.sev-theme ul.products li.product .astra-shop-thumbnail-wrap { margin-bottom: 14px; }
.sev-theme ul.products li.product .ast-on-card-button { display: none; }
.sev-theme ul.products li.product .astra-shop-summary-wrap { display: flex; flex: 1; flex-direction: column; padding: 0 4px; }
.sev-theme ul.products li.product .woocommerce-loop-product__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 !important; padding: 0 !important; font-weight: 800 !important; }
.sev-theme ul.products li.product .sev-loop-author { margin: 0.2rem 0 0.6rem; font-size: 0.82rem; }
.sev-theme ul.products li.product .price { margin: auto 0 0.8rem !important; font-size: 1.1rem; }
.sev-theme ul.products li.product .button { width: 100%; justify-content: center; text-align: center; border-radius: 999px !important; }

/* ---------- Book page ---------- */
.sev-theme.single-product .product_meta { display: none; }
.sev-theme.single-product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; margin: 0 0 18px !important; padding: 0 !important; border: 0 !important; }
.sev-theme.single-product .woocommerce-tabs ul.tabs::before { display: none; }
.sev-theme.single-product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.sev-theme.single-product .woocommerce-tabs ul.tabs li a { display: block; padding: 0.55em 1.2em !important; border: 1.5px solid #e3d9c4; border-radius: 999px; color: var(--sev-text) !important; font-family: var(--sev-font-tamil); font-weight: 700; }
.sev-theme.single-product .woocommerce-tabs ul.tabs li.active a { border-color: var(--sev-gold); background: var(--sev-gold); color: var(--sev-ink) !important; }
.sev-theme.single-product .woocommerce-tabs ul.tabs li.active::before, .sev-theme.single-product .woocommerce-tabs ul.tabs li::after, .sev-theme.single-product .woocommerce-tabs ul.tabs li::before { display: none; }
.sev-theme.single-product .related > h2, .sev-theme.single-product .upsells > h2 { font-family: var(--sev-font-tamil); font-size: 1.6rem; text-align: center; }
.sev-theme.single-product form.cart .single_add_to_cart_button { min-height: 50px; padding: 0 2em !important; border-radius: 999px !important; font-size: 1rem !important; }

/* ---------- Small screens ---------- */
@media (max-width: 960px) {
	.sev-theme.woocommerce-cart .woocommerce { grid-template-columns: 1fr; }
	.sev-theme.woocommerce-cart .woocommerce > form.woocommerce-cart-form, .sev-theme.woocommerce-cart .woocommerce > .cart-collaterals { grid-column: 1; position: static; }
	.sev-theme form.woocommerce-checkout { grid-template-columns: 1fr; }
	.sev-checkout-main, .sev-theme .sev-checkout-summary { grid-column: 1; position: static; }
}
@media (max-width: 640px) {
	.sev-steps { margin-bottom: 24px; }
	.sev-steps__label { font-size: 0.72rem; }
	.sev-theme.woocommerce-cart .woocommerce > form.woocommerce-cart-form { padding: 6px 14px 14px; }
	.sev-theme table.cart tr.cart_item { display: grid; grid-template-columns: 72px 1fr auto; column-gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0e8d8; }
	.sev-theme table.cart tr.cart_item td { border: 0 !important; padding: 4px 0 !important; text-align: left !important; }
	.sev-theme table.cart tr.cart_item td::before { display: none !important; }
	.sev-theme table.cart tr.cart_item td.product-thumbnail { display: block !important; grid-row: 1 / 4; grid-column: 1; }
	.sev-theme table.cart tr.cart_item td.product-remove { grid-column: 3; grid-row: 1; }
	.sev-theme table.cart tr.cart_item td.product-name { grid-column: 2; grid-row: 1; }
	.sev-theme table.cart tr.cart_item td.product-price { display: none !important; }
	.sev-theme table.cart tr.cart_item td.product-quantity { grid-column: 2; grid-row: 2; }
	.sev-theme table.cart tr.cart_item td.product-subtotal { grid-column: 2 / 4; grid-row: 3; }
	.sev-theme table.cart td.actions .coupon { flex-wrap: wrap; }
	.sev-theme table.cart td.actions .coupon .input-text { flex: 1; width: auto !important; }
	.sev-theme .woocommerce-checkout .woocommerce-billing-fields, .sev-theme .woocommerce-checkout .woocommerce-additional-fields, .sev-theme .sev-checkout-summary { padding: 20px 16px 10px; border-radius: 16px; }
	.sev-theme .woocommerce-checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
	.sev-theme .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-first, .sev-theme .woocommerce-checkout .woocommerce-billing-fields__field-wrapper > .form-row-last { grid-column: 1; }
	.sev-theme .woocommerce-order { padding: 20px 16px; }
}
/* Astra's own checkout widths/floats/borders would fight the two-column layout above. */
.sev-theme form.woocommerce-checkout #customer_details, .sev-theme form.woocommerce-checkout #customer_details .col-1, .sev-theme form.woocommerce-checkout #customer_details .col-2,
.sev-theme form.woocommerce-checkout #order_review_heading, .sev-theme form.woocommerce-checkout #order_review { float: none !important; width: 100% !important; max-width: none !important; margin: 0 !important; }
.sev-theme form.woocommerce-checkout #order_review_heading, .sev-theme form.woocommerce-checkout #order_review { padding: 0 !important; border: 0 !important; background: none !important; }
.sev-theme form.woocommerce-checkout #order_review_heading { padding-bottom: 14px !important; margin-bottom: 6px !important; border-bottom: 1px solid #f0e8d8 !important; }
.sev-theme form.woocommerce-checkout #customer_details .col-1 { display: grid !important; gap: 22px; }
.sev-theme .woocommerce-checkout-review-order-table td.product-name { width: 100%; }
.sev-theme #payment .place-order { display: flex !important; flex-direction: column; align-items: stretch; }
.sev-theme #payment .place-order .sev-secure { width: 100%; }
.sev-theme .woocommerce-checkout .woocommerce-shipping-fields:not(:has(*)) { display: none; }
.sev-theme .woocommerce-result-count { display: none !important; }
/* Long Tamil words must never spill out of a heading's column. */
.sev-theme .sev-section__title { overflow-wrap: break-word; }
.sev-asummary__grid, .sev-ajourney__grid { grid-template-columns: 330px minmax(0, 1fr); }
.sev-theme .sev-asummary__head .sev-section__title, .sev-theme .sev-ajourney__grid > header .sev-section__title { font-size: clamp(1.6rem, 2.3vw, 2.05rem); line-height: 1.4; }
@media (max-width: 960px) {
	.sev-asummary__grid, .sev-ajourney__grid { grid-template-columns: minmax(0, 1fr); }
	.sev-theme .sev-asummary__head .sev-section__title, .sev-theme .sev-ajourney__grid > header .sev-section__title { font-size: clamp(1.6rem, 6vw, 2.1rem); }
}
