/* =========================================================
   Vaidya Kosha - Classical Texts
   ========================================================= */

.vk-ct {
	--ct-bg: #fbf6ec;
	--ct-card: #fffcf6;
	--ct-soft: #f4ecdd;
	--ct-line: #e8dcc6;
	--ct-green: #1f3b22;
	--ct-green-2: #2f5a33;
	--ct-sage: #e6ecda;
	--ct-sage-2: #d3dec2;
	--ct-gold: #c8a371;
	--ct-ink: #1e2a1f;
	--ct-muted: #6c6a5d;
	--ct-radius: 14px;
	--ct-serif: "Lora", Georgia, serif;
	--ct-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	font-family: var(--ct-sans);
	font-size: 15px;
	line-height: 1.6;
	color: var(--ct-ink);
	background: var(--ct-bg);
	-webkit-font-smoothing: antialiased;
}

.vk-ct *,
.vk-ct *::before,
.vk-ct *::after { box-sizing: border-box; }

.vk-ct a { color: inherit; text-decoration: none; }
.vk-ct img { max-width: 100%; height: auto; display: block; }
.vk-ct button { font: inherit; color: inherit; cursor: pointer; }
.vk-ct [hidden] { display: none !important; }

.vk-ct-ico { width: 20px; height: 20px; flex: none; }
.vk-ct-icon-img { width: 26px; height: 26px; object-fit: contain; }

.vk-ct-wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ---------- type ---------- */

.vk-ct-h1,
.vk-ct-h2,
.vk-ct-h3,
.vk-ct-h4 { font-family: var(--ct-serif); color: var(--ct-ink); margin: 0; font-weight: 600; line-height: 1.2; }
.vk-ct-h1 { font-size: clamp(30px, 3.4vw, 42px); }
.vk-ct-h2 { font-size: clamp(22px, 2.2vw, 27px); margin-bottom: 16px; }
.vk-ct-h3 { font-size: 20px; }
.vk-ct-h4 { font-size: 16.5px; margin-bottom: 10px; }

.vk-ct-sanskrit { font-family: var(--ct-serif); color: var(--ct-green-2); font-size: 17px; margin: 6px 0 0; }
.vk-ct-subtitle { font-family: var(--ct-serif); font-size: 18px; color: #444a3d; margin: 8px 0 0; }
.vk-ct-lead { font-size: 15.5px; color: #3b4136; margin: 16px 0 0; max-width: 60ch; }
.vk-ct-muted { color: var(--ct-muted); font-size: 13.5px; margin: 0; }
.vk-ct-empty { padding: 28px; text-align: center; background: var(--ct-card); border: 1px dashed var(--ct-line); border-radius: var(--ct-radius); color: var(--ct-muted); }

.vk-ct-prose { font-size: 15px; color: #33382f; }
.vk-ct-prose > :first-child { margin-top: 0; }
.vk-ct-prose > :last-child { margin-bottom: 0; }
.vk-ct-prose p { margin: 0 0 1em; }
.vk-ct-prose ul,
.vk-ct-prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.vk-ct-prose li { margin: .25em 0; }
.vk-ct-prose h3,
.vk-ct-prose h4 { font-family: var(--ct-serif); margin: 1.2em 0 .5em; }
.vk-ct-prose a { color: var(--ct-green-2); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- building blocks ---------- */

.vk-ct-card { background: var(--ct-card); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); padding: 22px; }
.vk-ct-card--flush { padding: 8px; }
.vk-ct-section { margin-top: 34px; scroll-margin-top: 110px; }
.vk-ct-section.vk-ct-card { padding: 26px; }

.vk-ct .vk-ct-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 9px; font-weight: 600; font-size: 14px; border: 1px solid var(--ct-green); transition: background .2s, color .2s, transform .2s; line-height: 1.2; }
.vk-ct .vk-ct-btn .vk-ct-ico { width: 16px; height: 16px; }
.vk-ct-btn--solid { background: var(--ct-green); color: #fff !important; }
.vk-ct-btn--solid:hover { background: var(--ct-green-2); }
.vk-ct-btn--ghost { background: transparent; color: var(--ct-green) !important; }
.vk-ct-btn--ghost:hover { background: var(--ct-green); color: #fff !important; }
.vk-ct-btn--sm { padding: 8px 14px; font-size: 13px; }
.vk-ct-btn--block { width: 100%; }

.vk-ct-iconcircle { width: 50px; height: 50px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ct-sage); color: var(--ct-green); flex: none; }
.vk-ct-iconcircle .vk-ct-ico { width: 24px; height: 24px; }
.vk-ct-iconcircle--lg { width: 70px; height: 70px; }
.vk-ct-iconcircle--lg .vk-ct-ico { width: 34px; height: 34px; }
.vk-ct-iconcircle--sm { width: 40px; height: 40px; }
.vk-ct-iconcircle--sm .vk-ct-ico { width: 20px; height: 20px; }
.vk-ct-iconcircle--dark { background: var(--ct-green); color: #f4ecdd; }

.vk-ct .vk-ct-iconbtn { width: 34px; height: 34px; border-radius: 8px; display: inline-grid; place-items: center; border: 1px solid var(--ct-line); background: #fff; color: var(--ct-green); transition: background .2s, color .2s; }
.vk-ct .vk-ct-iconbtn .vk-ct-ico { width: 17px; height: 17px; }
.vk-ct .vk-ct-iconbtn:hover { background: var(--ct-green); color: #fff; border-color: var(--ct-green); }

.vk-ct-num { width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--ct-sage); color: var(--ct-green); font-family: var(--ct-serif); font-weight: 600; font-size: 14px; flex: none; }

.vk-ct-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; color: var(--ct-green) !important; margin-top: 12px; }
.vk-ct-link .vk-ct-ico { width: 15px; height: 15px; }

.vk-ct-input { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--ct-line); border-radius: 10px; padding: 0 14px; color: var(--ct-muted); transition: border-color .2s, box-shadow .2s; }
.vk-ct-input:focus-within { border-color: var(--ct-green-2); box-shadow: 0 0 0 3px rgba(47, 90, 51, .12); }
.vk-ct-input input { flex: 1; min-width: 0; border: 0 !important; outline: 0; background: transparent !important; padding: 12px 0 !important; font: inherit; color: var(--ct-ink); box-shadow: none !important; }
.vk-ct-input--sm input { padding: 9px 0 !important; font-size: 13.5px; }
.vk-ct-input .vk-ct-ico { width: 18px; height: 18px; }

.vk-ct .vk-ct-select { width: auto; height: auto; line-height: 1.3; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5a33' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; border: 1px solid var(--ct-line); border-radius: 10px; padding: 11px 36px 11px 14px; font: inherit; font-size: 14px; color: var(--ct-ink); min-width: 150px; }

/* ---------- top bar / breadcrumbs ---------- */

.vk-ct-topbar { border-bottom: 1px solid var(--ct-line); background: var(--ct-card); }
.vk-ct-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vk-ct-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 14px 0; font-size: 13px; color: var(--ct-muted); }
.vk-ct-crumbs a:hover { color: var(--ct-green); }
.vk-ct-crumbs [aria-current] { color: var(--ct-green-2); font-weight: 500; }
.vk-ct-crumbs .vk-ct-ico { width: 15px; height: 15px; }
.vk-ct-crumbs__sep .vk-ct-ico { width: 13px; height: 13px; opacity: .6; }
.vk-ct-crumbs__home { display: inline-flex; color: var(--ct-green); }

.vk-ct-tools { display: flex; gap: 4px; }
.vk-ct .vk-ct-tool { line-height: 1.2; display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: #3b4136; }
.vk-ct .vk-ct-tool .vk-ct-ico { width: 17px; height: 17px; }
.vk-ct .vk-ct-tool:hover { background: var(--ct-soft); }
.vk-ct .vk-ct-tool[aria-pressed="true"] { color: var(--ct-green); font-weight: 600; }
.vk-ct .vk-ct-tool[aria-pressed="true"] .vk-ct-ico { fill: currentColor; }

/* ---------- layout ---------- */

.vk-ct-layout { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 64px; align-items: start; }
.vk-ct-layout--2 { grid-template-columns: 250px minmax(0, 1fr); }
.vk-ct-layout--3 { grid-template-columns: 260px minmax(0, 1fr) 290px; }
.vk-ct-main { min-width: 0; }
.vk-ct-sticky { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 18px; }
.admin-bar .vk-ct-sticky { top: 56px; }

/* ---------- side nav ---------- */

.vk-ct-sidenav ul { list-style: none; margin: 0; padding: 0; }
.vk-ct-sidenav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; font-size: 14px; color: #3b4136; transition: background .2s, color .2s; }
.vk-ct-sidenav a:hover { background: var(--ct-soft); }
.vk-ct-sidenav a.is-active { background: var(--ct-sage); color: var(--ct-green); font-weight: 600; }
.vk-ct-sidenav .vk-ct-ico { width: 18px; height: 18px; }

/* ---------- quote ---------- */

.vk-ct-quote { margin: 0; background: linear-gradient(180deg, #fbf3e3, #f6ead3); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); padding: 24px 22px 0; text-align: center; overflow: hidden; }
.vk-ct-quote:not(.has-image) { padding-bottom: 24px; }
.vk-ct-quote__mark { font-family: var(--ct-serif); font-size: 46px; line-height: .6; color: var(--ct-gold); display: block; height: 22px; }
.vk-ct-quote blockquote { margin: 0; padding: 0; border: 0; font-family: var(--ct-serif); font-size: 15px; font-style: italic; line-height: 1.6; color: #3d3a2e; }
.vk-ct-quote figcaption { margin-top: 10px; font-size: 13px; color: var(--ct-muted); }
.vk-ct-quote__img { margin: 16px -22px 0; }
.vk-ct-quote__img img { width: 100%; mix-blend-mode: multiply; }

/* ---------- hero ---------- */

.vk-ct-hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; padding: 30px; background: linear-gradient(120deg, var(--ct-card) 45%, #f7eedd); overflow: hidden; scroll-margin-top: 110px; }
.vk-ct-hero__media { align-self: stretch; display: grid; place-items: center; }
.vk-ct-hero__media img { width: 100%; max-height: 300px; object-fit: contain; mix-blend-mode: multiply; border-radius: 10px; }
.vk-ct-titlerow { display: flex; align-items: center; gap: 18px; }

.vk-ct-stats { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.vk-ct-stats li { display: flex; align-items: center; gap: 10px; padding: 11px 16px; background: #fff; border: 1px solid var(--ct-line); border-radius: 12px; font-size: 13.5px; color: var(--ct-muted); }
.vk-ct-stats strong { color: var(--ct-ink); font-family: var(--ct-serif); font-size: 16px; }
.vk-ct-stats .vk-ct-ico { color: var(--ct-green-2); width: 22px; height: 22px; }

.vk-ct-statbar { list-style: none; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); padding: 0; }
.vk-ct-statbar li { display: flex; align-items: center; gap: 12px; padding: 16px 20px; font-size: 14px; color: #3b4136; }
.vk-ct-statbar li + li { border-left: 1px solid var(--ct-line); }
.vk-ct-statbar strong { font-family: var(--ct-serif); font-size: 18px; color: var(--ct-ink); margin-right: 3px; }
.vk-ct-statbar .vk-ct-ico { width: 26px; height: 26px; color: var(--ct-green-2); }

/* ---------- listing cards ---------- */

.vk-ct-texts { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; max-width: 1320px; margin: 0 auto; padding: 40px 24px 64px; background: transparent; }
.vk-ct-textcard { display: flex; flex-direction: column; background: linear-gradient(180deg, #fbf1df, var(--ct-card) 55%); border: 1px solid var(--ct-line); border-radius: 16px; overflow: hidden; transition: transform .25s, box-shadow .25s, border-color .25s; }
.vk-ct-textcard:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(31, 59, 34, .45); }
.vk-ct-textcard.is-featured { border: 2px solid var(--ct-green-2); background: linear-gradient(180deg, #e9eedd, var(--ct-card) 55%); }
.vk-ct-textcard__media { aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 14px 14px 0; }
.vk-ct-textcard__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; border-radius: 10px; }
.vk-ct-textcard__ph { width: 60px; height: 60px; color: var(--ct-gold); }
.vk-ct-textcard__body { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 14px 18px; flex: 1; }
.vk-ct-textcard__title { font-family: var(--ct-serif); font-size: 19px; font-weight: 600; line-height: 1.2; margin: 0; }
.vk-ct-textcard__stats { margin: 8px 0 0; font-size: 12.5px; color: var(--ct-muted); display: flex; flex-direction: column; }
.vk-ct-textcard__tagline { margin: 10px 0 14px; font-size: 13px; color: #3b4136; line-height: 1.45; }
.vk-ct-textcard .vk-ct-btn { margin-top: auto; }

/* ---------- sthana grid (text page) ---------- */

.vk-ct-sthanagrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.vk-ct-sthanacard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 22px 14px; background: var(--ct-card); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); transition: transform .25s, border-color .25s, box-shadow .25s; }
.vk-ct-sthanacard:hover { transform: translateY(-3px); border-color: var(--ct-green-2); box-shadow: 0 12px 26px -18px rgba(31, 59, 34, .5); }
.vk-ct-sthanacard .vk-ct-iconcircle { margin-bottom: 6px; }
.vk-ct-sthanacard__title { font-family: var(--ct-serif); font-size: 16.5px; }
.vk-ct-sthanacard__count { font-size: 13px; color: var(--ct-green-2); font-weight: 600; }
.vk-ct-sthanacard__desc { font-size: 12.5px; color: var(--ct-muted); line-height: 1.45; }

/* ---------- topics ---------- */

.vk-ct-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.vk-ct .vk-ct-chip { color: var(--ct-ink); line-height: 1.3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--ct-card); border: 1px solid var(--ct-line); font-size: 13.5px; transition: background .2s, border-color .2s; }
.vk-ct .vk-ct-chip .vk-ct-ico { width: 17px; height: 17px; color: var(--ct-green-2); }
.vk-ct .vk-ct-chip:hover { background: var(--ct-sage); border-color: var(--ct-sage-2); }

.vk-ct-topictiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.vk-ct .vk-ct-topictile { color: var(--ct-ink); line-height: 1.3; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 10px; background: var(--ct-card); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); font-size: 13.5px; font-weight: 500; transition: border-color .2s, background .2s, transform .2s; }
.vk-ct .vk-ct-topictile:hover,
.vk-ct .vk-ct-topictile.is-active { border-color: var(--ct-green-2); background: var(--ct-sage); transform: translateY(-2px); }
.vk-ct-topictile__icon { color: #a8793b; }
.vk-ct-topictile__icon .vk-ct-ico { width: 30px; height: 30px; }

/* ---------- search (text page) ---------- */

.vk-ct-search { margin-top: 14px; }
.vk-ct-results { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.vk-ct-results a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--ct-line); border-radius: 10px; background: #fff; transition: border-color .2s; }
.vk-ct-results a:hover { border-color: var(--ct-green-2); }
.vk-ct-results strong { font-family: var(--ct-serif); font-size: 15.5px; display: block; }
.vk-ct-results small { color: var(--ct-muted); display: block; font-size: 12.5px; }
.vk-ct-results mark { background: #f3e2b8; color: inherit; border-radius: 2px; }
.vk-ct-results .vk-ct-ico { margin-left: auto; color: var(--ct-green-2); }

/* ---------- author ---------- */

.vk-ct-author { display: flex; gap: 24px; align-items: flex-start; }
.vk-ct-author__img { flex: 0 0 140px; }
.vk-ct-author__img img { border-radius: 12px; mix-blend-mode: multiply; }
.vk-ct-author__name { font-family: var(--ct-serif); font-weight: 600; margin: -6px 0 10px; color: var(--ct-green-2); }
.vk-ct-author__name span { color: var(--ct-muted); font-weight: 400; }

/* ---------- sthana: about box ---------- */

.vk-ct-aboutbox { text-align: center; }
.vk-ct-aboutbox__icon { color: var(--ct-gold); display: inline-block; margin-bottom: 4px; }
.vk-ct-aboutbox__icon .vk-ct-ico { width: 30px; height: 30px; }
.vk-ct-aboutbox p { font-size: 13.5px; color: #3b4136; margin: 0 0 12px; }
.vk-ct-aboutbox__count { background: var(--ct-sage); border-radius: 10px; padding: 10px; }

/* ---------- sthana: chapter table ---------- */

.vk-ct-sectionhead { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 16px; }
.vk-ct-sectionhead .vk-ct-h2 { margin-bottom: 4px; }

.vk-ct-toolbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.vk-ct-toolbar__search { flex: 1 1 260px; }
.vk-ct .vk-ct-viewtoggle { display: flex; border: 1px solid var(--ct-line); border-radius: 10px; overflow: hidden; background: #fff; }
.vk-ct .vk-ct-viewtoggle button { border: 0; background: transparent; padding: 0 12px; color: var(--ct-muted); display: grid; place-items: center; }
.vk-ct .vk-ct-viewtoggle button.is-active { background: var(--ct-green); color: #fff; }

.vk-ct-table { padding: 6px 18px; }
.vk-ct-table__head,
.vk-ct-row { display: grid; grid-template-columns: 48px minmax(0, 1.1fr) minmax(0, 1.4fr) 96px; gap: 16px; align-items: center; }
.vk-ct-table__head { padding: 12px 0; font-size: 12.5px; font-weight: 600; color: var(--ct-muted); text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--ct-line); }
.vk-ct-row { padding: 14px 0; border-bottom: 1px solid var(--ct-line); }
.vk-ct-table__body .vk-ct-row:last-child { border-bottom: 0; }
.vk-ct-row__name a { font-family: var(--ct-serif); font-size: 16px; font-weight: 600; display: block; }
.vk-ct-row__name a:hover { color: var(--ct-green-2); }
.vk-ct-row__sk { display: block; font-size: 13px; color: var(--ct-muted); margin-top: 2px; }
.vk-ct-row__desc { font-size: 13.5px; color: #474c41; }
.vk-ct-table__actions { display: flex; justify-content: flex-end; gap: 8px; }

.vk-ct-table.is-grid .vk-ct-table__head { display: none; }
.vk-ct-table.is-grid .vk-ct-table__body { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; padding: 12px 0; }
.vk-ct-table.is-grid .vk-ct-row { grid-template-columns: 1fr; gap: 8px; border: 1px solid var(--ct-line); border-radius: 12px; padding: 16px; background: #fff; }
.vk-ct-table.is-grid .vk-ct-table__actions { justify-content: flex-start; }

.vk-ct-noresults { text-align: center; color: var(--ct-muted); padding: 22px 0; margin: 0; }

.vk-ct .vk-ct-more { color: var(--ct-ink); border-radius: 0; width: 100%; display: flex; align-items: center; gap: 16px; border: 0; border-top: 1px solid var(--ct-line); background: transparent; padding: 16px 4px; text-align: center; }
.vk-ct .vk-ct-more > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.vk-ct .vk-ct-more strong { font-family: var(--ct-serif); font-size: 15px; }
.vk-ct .vk-ct-more small { color: var(--ct-muted); font-size: 12.5px; }
.vk-ct-more__dots { font-size: 22px; letter-spacing: 2px; color: var(--ct-muted); }
.vk-ct .vk-ct-more .vk-ct-ico { color: var(--ct-green); }
.vk-ct .vk-ct-more:hover strong { color: var(--ct-green-2); }

.vk-ct-featgrid,
.vk-ct-relgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.vk-ct-featcard { display: flex; flex-direction: column; gap: 8px; transition: border-color .2s; }
.vk-ct-featcard strong { font-family: var(--ct-serif); font-size: 16px; }
.vk-ct-featcard:hover,
.vk-ct-relcard:hover { border-color: var(--ct-green-2); }
.vk-ct-relcard { padding: 12px; display: flex; flex-direction: column; gap: 10px; font-family: var(--ct-serif); font-weight: 600; }
.vk-ct-relcard img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* ---------- pager + CTA ---------- */

.vk-ct-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 34px; }
.vk-ct-pager__link { display: flex; align-items: center; gap: 14px; padding: 16px 18px; transition: border-color .2s; }
.vk-ct-pager__link:hover { border-color: var(--ct-green-2); }
.vk-ct-pager__link small { display: block; color: var(--ct-muted); font-size: 12.5px; }
.vk-ct-pager__link strong { font-family: var(--ct-serif); font-size: 16px; }
.vk-ct-pager__link .vk-ct-ico { color: var(--ct-green); }
.vk-ct-pager__link--next { justify-content: flex-end; text-align: right; grid-column: 2; }

.vk-ct-cta { display: flex; align-items: center; gap: 20px; margin-top: 34px; padding: 24px 28px; border-radius: var(--ct-radius); background: linear-gradient(110deg, #e7ecda, #f4ecdb); border: 1px solid var(--ct-sage-2); }
.vk-ct-cta > div { flex: 1; }
.vk-ct-cta p { margin: 4px 0 0; font-size: 14px; color: #474c41; }
.vk-ct-cta__icon { width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center; background: var(--ct-card); color: var(--ct-green); flex: none; }
.vk-ct-cta__icon .vk-ct-ico { width: 28px; height: 28px; }

/* ---------- chapter: left ---------- */

.vk-ct-bookcard { display: flex; gap: 14px; align-items: center; padding: 14px; transition: border-color .2s; }
.vk-ct-bookcard:hover { border-color: var(--ct-green-2); }
.vk-ct-bookcard__img { width: 64px; height: 80px; border-radius: 8px; overflow: hidden; background: var(--ct-sage); display: grid; place-items: center; color: var(--ct-green); flex: none; }
.vk-ct-bookcard__img img { width: 100%; height: 100%; object-fit: cover; }
.vk-ct-bookcard strong { font-family: var(--ct-serif); font-size: 17px; display: block; line-height: 1.2; }
.vk-ct-bookcard small { display: block; font-size: 12.5px; color: var(--ct-muted); margin-top: 3px; }

.vk-ct-toc { padding: 14px; }
.vk-ct-toc__label { margin: 16px 4px 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ct-muted); }
.vk-ct-toc__list { list-style: none; margin: 0; padding: 0; }
.vk-ct-toc__list a { display: flex; gap: 6px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; color: #3b4136; transition: background .2s; }
.vk-ct-toc__list a span { color: var(--ct-muted); min-width: 20px; }
.vk-ct-toc__list a:hover { background: var(--ct-soft); }
.vk-ct-toc__list a.is-active { background: var(--ct-sage); color: var(--ct-green); font-weight: 600; }
.vk-ct-toc__list a.is-dim { opacity: .4; }

.vk-ct-download p.vk-ct-muted { margin-bottom: 12px; }

.vk-ct-others__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 8px; }
.vk-ct-others__grid a { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; font-size: 12.5px; line-height: 1.3; }
.vk-ct-others__grid a:hover .vk-ct-iconcircle { background: var(--ct-green); color: #fff; }

/* ---------- chapter: main ---------- */

.vk-ct-pills { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.vk-ct-pill { background: var(--ct-sage); color: var(--ct-green) !important; font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.vk-ct-meta { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: #3b4136; }
.vk-ct-meta li { display: flex; align-items: center; gap: 7px; }
.vk-ct-meta .vk-ct-ico { width: 18px; height: 18px; color: var(--ct-green-2); }
.vk-ct-hero--chapter .vk-ct-hero__media img { max-height: 250px; }

.vk-ct-accordion { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.vk-ct-acc { background: var(--ct-card); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); scroll-margin-top: 110px; }
.vk-ct-acc__head { margin: 0; font-family: var(--ct-serif); }
.vk-ct .vk-ct-acc__head button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; background: none; border: 0; text-align: left; font-family: var(--ct-serif); font-size: 19px; font-weight: 600; color: var(--ct-ink); }
.vk-ct .vk-ct-acc__head button:hover { color: var(--ct-green-2); }
.vk-ct-acc__head .vk-ct-ico { transition: transform .25s; color: var(--ct-muted); }
.vk-ct-acc.is-open .vk-ct-acc__head .vk-ct-ico { transform: rotate(180deg); }
.vk-ct-acc__body { padding: 0 22px 22px; }
.vk-ct-acc.is-dim { opacity: .45; }
.vk-ct-acc mark { background: #f3e2b8; color: inherit; border-radius: 2px; }

/* "What it is / Benefits / ..." table from the Sections content */
.vk-ct-prose table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--ct-line); border-radius: 12px; overflow: hidden; margin: 0 0 1em; font-size: 14px; background: #fff; }
.vk-ct-prose th,
.vk-ct-prose td { padding: 14px 16px; border-bottom: 1px solid var(--ct-line); vertical-align: top; text-align: left; }
.vk-ct-prose tr:last-child th,
.vk-ct-prose tr:last-child td { border-bottom: 0; }
.vk-ct-prose th { width: 32%; font-family: var(--ct-serif); font-weight: 600; background: #fbf6ec; }
.vk-ct-prose th .vk-ct-th { display: flex; align-items: center; gap: 12px; }
.vk-ct-prose th .vk-ct-ico { width: 22px; height: 22px; color: #a8793b; }
.vk-ct-prose td ul { margin: 0; }

/* ---------- chapter: right ---------- */

.vk-ct-dl { margin: 0; }
.vk-ct-dl div { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--ct-line); font-size: 13.5px; }
.vk-ct-dl div:last-child { border-bottom: 0; }
.vk-ct-dl dt { color: var(--ct-muted); }
.vk-ct-dl dd { margin: 0; text-align: right; font-weight: 600; }

.vk-ct-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.vk-ct-tag { background: var(--ct-sage); color: var(--ct-green); font-size: 12.5px; padding: 5px 11px; border-radius: 999px; }

.vk-ct-linklist { list-style: none; margin: 0; padding: 0; }
.vk-ct-linklist a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--ct-line); font-size: 13.5px; }
.vk-ct-linklist li:last-child a { border-bottom: 0; }
.vk-ct-linklist a:hover { color: var(--ct-green-2); }
.vk-ct-linklist .vk-ct-ico { width: 15px; height: 15px; color: var(--ct-muted); }

.vk-ct-navcard a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.vk-ct-navcard a + a { border-top: 1px dashed var(--ct-line); }
.vk-ct-navcard small { display: block; font-size: 12px; color: var(--ct-muted); }
.vk-ct-navcard strong { font-family: var(--ct-serif); font-size: 15px; }
.vk-ct-navcard a:hover .vk-ct-iconbtn { background: var(--ct-green); color: #fff; }

.vk-ct-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ct-green); color: #fff; padding: 10px 18px; border-radius: 10px; font-size: 14px; z-index: 9999; font-family: "Inter", sans-serif; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }

/* ---------- responsive ---------- */

@media (max-width: 1200px) {
	.vk-ct-texts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.vk-ct-layout--3 { grid-template-columns: 240px minmax(0, 1fr); }
	.vk-ct-layout--3 .vk-ct-side--right { grid-column: 2; }
	.vk-ct-layout--3 .vk-ct-side--right .vk-ct-sticky { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

@media (max-width: 900px) {
	.vk-ct-layout--2,
	.vk-ct-layout--3 { grid-template-columns: minmax(0, 1fr); }
	.vk-ct-layout--3 .vk-ct-side--right { grid-column: auto; }
	.vk-ct-sticky { position: static; }
	.vk-ct-side--left { order: 2; }
	.vk-ct-layout--2 .vk-ct-side { order: 2; }
	.vk-ct-main { order: 1; }
	.vk-ct-side--right { order: 3; }
	.vk-ct-hero { grid-template-columns: 1fr; padding: 24px; }
	.vk-ct-hero__media { order: -1; }
	.vk-ct-hero__media img { max-height: 200px; }
	.vk-ct-table__head { display: none; }
	.vk-ct-row { grid-template-columns: 40px minmax(0, 1fr) auto; }
	.vk-ct-row__desc { grid-column: 2 / 4; grid-row: 2; }
	.vk-ct-topbar__inner { flex-direction: column; align-items: flex-start; gap: 0; }
	.vk-ct-tools { margin: -6px 0 8px -10px; }
	.vk-ct-statbar li + li { border-left: 0; border-top: 1px solid var(--ct-line); }
}

@media (max-width: 640px) {
	.vk-ct-wrap { padding: 0 16px; }
	.vk-ct-texts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 28px 16px 48px; }
	.vk-ct-textcard__title { font-size: 16.5px; }
	.vk-ct-pager { grid-template-columns: 1fr; }
	.vk-ct-pager__link--next { grid-column: auto; }
	.vk-ct-cta { flex-direction: column; text-align: center; }
	.vk-ct-author { flex-direction: column; }
	.vk-ct-tool span { display: none; }
	.vk-ct-row .vk-ct-table__actions .vk-ct-iconbtn + .vk-ct-iconbtn { display: none; }
}

/* ---------- print ---------- */

@media print {
	header, footer, .elementor-location-header, .elementor-location-footer,
	.vk-ct-topbar, .vk-ct-side, .vk-ct-pager, .vk-ct-cta, .vk-ct-toolbar { display: none !important; }
	.vk-ct, .vk-ct-card, .vk-ct-acc { background: #fff !important; border-color: #ddd !important; }
	.vk-ct-layout--2, .vk-ct-layout--3 { display: block; padding: 0; }
	.vk-ct-acc__body[hidden] { display: block !important; }
	.vk-ct-acc__head .vk-ct-ico, .vk-ct-hero__media { display: none; }
	.vk-ct-acc { break-inside: avoid-page; }
}

/* ---------- theme overrides ---------- */
.vk-ct button:focus-visible,
.vk-ct a:focus-visible { outline: 2px solid var(--ct-green-2); outline-offset: 2px; }
.vk-ct .vk-ct-acc__head button:hover,
.vk-ct .vk-ct-acc__head button:focus { background: none; color: var(--ct-green-2); }
.vk-ct .vk-ct-viewtoggle button:hover:not(.is-active) { background: var(--ct-soft); color: var(--ct-ink); }
.vk-ct .vk-ct-more:hover,
.vk-ct .vk-ct-more:focus { background: var(--ct-soft); color: var(--ct-ink); }
.vk-ct .vk-ct-tool:focus { background: var(--ct-soft); color: #3b4136; }
.vk-ct-sthanacard__desc,
.vk-ct-featcard .vk-ct-muted { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vk-ct .vk-ct-prose table tbody > tr > td,
.vk-ct .vk-ct-prose table tbody > tr:nth-child(odd) > td,
.vk-ct .vk-ct-prose table tbody > tr:hover > td { background-color: #fff; border: 0; border-bottom: 1px solid var(--ct-line); }
.vk-ct .vk-ct-prose table tbody > tr > th,
.vk-ct .vk-ct-prose table tbody > tr:nth-child(odd) > th,
.vk-ct .vk-ct-prose table tbody > tr:hover > th { background-color: #fbf6ec; border: 0; border-bottom: 1px solid var(--ct-line); border-right: 1px solid var(--ct-line); }
.vk-ct .vk-ct-prose table tbody > tr:last-child > td,
.vk-ct .vk-ct-prose table tbody > tr:last-child > th { border-bottom: 0; }
@media (max-width: 900px) {
	.vk-ct-statbar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vk-ct-statbar li + li { border-top: 0; }
	.vk-ct-statbar li:nth-child(n+3) { border-top: 1px solid var(--ct-line); }
}

/* ---------- v1.1: contents list, mobile order, stacked tables ---------- */
.vk-ct-toc__details > summary { list-style: none; display: flex; align-items: center; gap: 6px; cursor: default; }
.vk-ct-toc__details > summary::-webkit-details-marker { display: none; }
.vk-ct-toc__details > summary span { font-weight: 400; }
.vk-ct-toc__details > summary .vk-ct-ico { display: none; margin-left: auto; width: 16px; height: 16px; transition: transform .2s; }
.vk-ct-sthanacard__count.is-soon { color: var(--ct-muted); font-weight: 500; font-style: italic; }

@media (max-width: 900px) {
	.vk-ct-layout { gap: 16px; }
	/* Chapter page: book card + contents above the text, the rest below. */
	.vk-ct-layout--3 .vk-ct-side--left,
	.vk-ct-layout--3 .vk-ct-side--left .vk-ct-sticky { display: contents; }
	.vk-ct-layout--3 .vk-ct-bookcard { order: 1; }
	.vk-ct-layout--3 .vk-ct-toc { order: 2; }
	.vk-ct-layout--3 .vk-ct-main { order: 3; }
	.vk-ct-layout--3 .vk-ct-download { order: 4; }
	.vk-ct-layout--3 .vk-ct-others { order: 5; }
	.vk-ct-layout--3 .vk-ct-side--right { order: 6; }
	.vk-ct-toc__details > summary { cursor: pointer; margin-bottom: 0; }
	.vk-ct-toc__details > summary .vk-ct-ico { display: block; }
	.vk-ct-toc__details[open] > summary .vk-ct-ico { transform: rotate(180deg); }
	.vk-ct-toc__details[open] > summary { margin-bottom: 8px; }
	.vk-ct-accordion { margin-top: 0; }
}

@media (max-width: 640px) {
	.vk-ct .vk-ct-prose table,
	.vk-ct .vk-ct-prose table tbody,
	.vk-ct .vk-ct-prose table tr,
	.vk-ct .vk-ct-prose table th,
	.vk-ct .vk-ct-prose table td { display: block; width: 100%; }
	.vk-ct .vk-ct-prose table tbody > tr > th,
	.vk-ct .vk-ct-prose table tbody > tr:nth-child(odd) > th { border-right: 0; border-bottom: 0; padding-bottom: 4px; }
	.vk-ct .vk-ct-prose table tbody > tr > td,
	.vk-ct .vk-ct-prose table tbody > tr:nth-child(odd) > td { background-color: #fbf6ec; padding-top: 4px; }
	.vk-ct .vk-ct-prose table tbody > tr:not(:last-child) > td { border-bottom: 1px solid var(--ct-line); }
	.vk-ct-hero { padding: 20px; }
	.vk-ct-section.vk-ct-card { padding: 20px; }
	.vk-ct-acc__head button { padding: 16px 18px; font-size: 17px; }
	.vk-ct-acc__body { padding: 0 18px 18px; }
}


/* ---------- v1.2: Classical Texts listing slider (arrows only) ---------- */
.vk-ct.vk-ct-slider { position: relative;  max-width:100%;  margin: 0 auto; padding: 40px 24px 64px; background: transparent; }
.vk-ct-slider .vk-ct-texts {
	display: grid;
	grid-template-columns: none;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 5 * 18px) / 6);
	gap: 18px;
	max-width: none;
	margin: 0;
	padding: 8px 2px 14px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.vk-ct-slider .vk-ct-texts::-webkit-scrollbar { display: none; }
.vk-ct-slider .vk-ct-textcard { scroll-snap-align: start; }
.vk-ct-slider .vk-ct-textcard:hover { transform: translateY(-3px); }

.vk-ct .vk-ct-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #fff;
	color: var(--ct-green);
	border: 1px solid var(--ct-line);
	box-shadow: 0 8px 20px -10px rgba(31, 59, 34, .45);
	transition: background .2s, color .2s, opacity .2s;
}
.vk-ct .vk-ct-slider__arrow:hover,
.vk-ct .vk-ct-slider__arrow:focus { background: var(--ct-green); color: #fff; border-color: var(--ct-green); }
.vk-ct .vk-ct-slider__arrow:disabled { opacity: .35; cursor: default; background: #fff; color: var(--ct-green); border-color: var(--ct-line); }
.vk-ct .vk-ct-slider__arrow.is-prev { left: -4px; }
.vk-ct .vk-ct-slider__arrow.is-next { right: -4px; }

@media (max-width: 1200px) {
	.vk-ct-slider .vk-ct-texts { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
}
@media (max-width: 640px) {
	.vk-ct.vk-ct-slider { padding: 28px 16px 48px; }
	.vk-ct-slider .vk-ct-texts { gap: 12px; grid-auto-columns: calc((100% - 12px) / 2); }
	.vk-ct .vk-ct-slider__arrow { width: 38px; height: 38px; margin-top: -19px; }
	.vk-ct .vk-ct-slider__arrow.is-prev { left: 2px; }
	.vk-ct .vk-ct-slider__arrow.is-next { right: 2px; }
}

/* Arrows outside the cards when there is room. */
@media (min-width: 1400px) {
	.vk-ct .vk-ct-slider__arrow.is-prev { left: -26px; }
	.vk-ct .vk-ct-slider__arrow.is-next { right: -26px; }
}
