/*
 * Jawadi Translations — main stylesheet.
 * Mobile first. Logical properties throughout (RTL/LTR).
 *
 * 1. Tokens   2. Base   3. Layout   4. Header & navigation   5. Search
 * 6. Components   7. Cards   8. Home   9. Article   10. Blocks
 * 11. Listing & pages   12. Footer   13. Motion & print
 */

/* 1. Tokens — colours come from theme.json presets; dark values are defined here only. */
:root {
	--paper: var(--wp--preset--color--paper);
	--paper-2: var(--wp--preset--color--paper-2);
	--card: var(--wp--preset--color--card);
	--ink: var(--wp--preset--color--ink);
	--ink-2: var(--wp--preset--color--ink-2);
	--ink-3: var(--wp--preset--color--ink-3);
	--line: var(--wp--preset--color--line);
	--gold: var(--wp--preset--color--gold);
	--gold-ink: var(--wp--preset--color--gold-ink);
	--gold-soft: var(--wp--preset--color--gold-soft);
	--accent-2: var(--wp--preset--color--firouzeh);
	--ink2: var(--ink-2); --ink3: var(--ink-3); --paper2: var(--paper-2);
	--alert: #a3362b;
	--head-bg: rgb(248 246 239 / .9);
	--shadow: 0 18px 40px -24px rgb(60 50 20 / .35);
	--ph1: #dcd5bf; --ph2: #ece7d7;
	--ph: repeating-linear-gradient(-45deg, var(--ph1) 0 1px, transparent 1px 12px), var(--ph2);
	--logo-tile: #fffdf7;
	--pn-bg: #eee8d4; --pn-ink: #23221e; --pn-ink2: #57544a; --pn-ink3: #77725f; --pn-gold: #978a3a; --pn-gold-ink: #6c6122;
	--pn-line: rgb(151 138 58 / .3); --pn-on-gold: #fff; --pn-soft: rgb(255 255 255 / .55);
	--girih: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='11' cy='11' r='.9' fill='%23978a3a' fill-opacity='.38'/%3E%3C/svg%3E");

	--font: var(--wp--preset--font-family--vazirmatn);
	--fs-s: var(--wp--preset--font-size--small);
	--fs-m: var(--wp--preset--font-size--medium);
	--fs-l: var(--wp--preset--font-size--large);
	--fs-xl: var(--wp--preset--font-size--x-large);
	--fs-xxl: var(--wp--preset--font-size--xx-large);

	--r-s: var(--wp--custom--radius--s);
	--r-m: var(--wp--custom--radius--m);
	--r-l: var(--wp--custom--radius--l);
	--r-pill: var(--wp--custom--radius--pill);

	--w-site: var(--wp--custom--width--site);
	--w-read: var(--wp--custom--width--read);
	--w-wide: 1320px;
	--gutter: clamp(16px, 4vw, 40px);
	--gap: clamp(16px, 2.2vw, 28px);
	--section: clamp(40px, 6vw, 72px);
	--header-h: 72px;
	--ease: cubic-bezier(.2, .8, .2, 1);
}

html[data-theme="dark"] {
	--paper: #15140f; --paper-2: #1b1a14; --card: #1f1e18; --ink: #ece5d3; --ink-2: #b5ad97; --ink-3: #9d957d;
	--line: #35322a; --gold: #c4b468; --gold-ink: #cfbf72; --gold-soft: #2a2717; --accent-2: #6fb6b8; --alert: #e0796c;
	--head-bg: rgb(21 20 15 / .88); --shadow: 0 18px 40px -24px rgb(0 0 0 / .8); --ph1: #302d24; --ph2: #23211a; --logo-tile: #e9e4d5;
	--pn-bg: #0d0c09; --pn-ink: #f1e9d2; --pn-ink2: #cfc7ae; --pn-ink3: #9d957d; --pn-gold: #c4b468; --pn-gold-ink: #e2d79f; --pn-line: rgb(196 180 104 / .3); --pn-on-gold: #1a1914; --pn-soft: rgb(255 255 255 / .04);
	color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
	html:not([data-theme="light"]) {
		--paper: #15140f; --paper-2: #1b1a14; --card: #1f1e18; --ink: #ece5d3; --ink-2: #b5ad97; --ink-3: #9d957d;
		--line: #35322a; --gold: #c4b468; --gold-ink: #cfbf72; --gold-soft: #2a2717; --accent-2: #6fb6b8; --alert: #e0796c;
		--head-bg: rgb(21 20 15 / .88); --shadow: 0 18px 40px -24px rgb(0 0 0 / .8); --ph1: #302d24; --ph2: #23211a; --logo-tile: #e9e4d5;
	--pn-bg: #0d0c09; --pn-ink: #f1e9d2; --pn-ink2: #cfc7ae; --pn-ink3: #9d957d; --pn-gold: #c4b468; --pn-gold-ink: #e2d79f; --pn-line: rgb(196 180 104 / .3); --pn-on-gold: #1a1914; --pn-soft: rgb(255 255 255 / .04);
		color-scheme: dark;
	}
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
	margin: 0; min-height: 100vh; overflow-x: clip;
	background: var(--paper); color: var(--ink);
	font-family: var(--font); font-size: var(--fs-m); line-height: 2;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--gold-ink); text-decoration: none; transition: color .2s; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { line-height: 1.6; font-weight: 800; margin: 0; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link { position: absolute; inset-inline-start: 12px; top: -100px; z-index: 200; padding: 10px 18px; border-radius: var(--r-s); background: var(--ink); color: var(--paper); font-weight: 700; }
.skip-link:focus { top: 12px; color: var(--paper); }
.no-js .js-only { display: none !important; }
.site-main:focus { outline: none; }
.icon { flex: none; }

/* 3. Layout */
.container { width: 100%; max-width: var(--w-site); margin-inline: auto; padding-inline: var(--gutter); }
.container--read { max-width: calc(var(--w-read) + 2 * var(--gutter)); }
.container--wide { max-width: calc(var(--w-wide) + 2 * var(--gutter)); }
.home-section { padding-block: 0 var(--section); }
.card-grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
	.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.card-grid--media { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.card-grid--notices, .card-grid--rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.card-grid--books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .card-grid--books { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .card-grid--books { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* 4. Header — full bar that turns into a floating pill (.is-compact) */
.wrap { max-width: 1440px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 40px); }
.dia { display: inline-block; flex: none; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
.dia--6 { width: 6px; height: 6px; } .dia--9 { width: 9px; height: 9px; } .dia--14 { width: 14px; height: 14px; opacity: .6; }
.arrow-glyph::before { content: "←"; }
[dir="ltr"] .arrow-glyph::before { content: "→"; }
[dir="ltr"] .chev-prev, [dir="ltr"] .chev-next { transform: scaleX(-1); }
.only-dark { display: none !important; }
html[data-theme="dark"] .only-dark { display: block !important; }
html[data-theme="dark"] .only-light { display: none !important; }
@media (prefers-color-scheme: dark) {
	html:not([data-theme="light"]) .only-dark { display: block !important; }
	html:not([data-theme="light"]) .only-light { display: none !important; }
}
.more-link { display: inline-flex; gap: 8px; font-size: 13.5px; font-weight: 700; }

.hd { position: sticky; top: 0; z-index: 40; padding: 0; pointer-events: none; transition: padding .5s cubic-bezier(.2,.8,.2,1); }
.admin-bar .hd { top: 32px; }
@media (max-width: 782px) { .admin-bar .hd { top: 46px; } }
@media (max-width: 600px) { .admin-bar .hd { top: 0; } }
.hd__shell {
	pointer-events: auto; position: relative; max-width: 3000px; margin: 0 auto;
	background: var(--head-bg); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px);
	border: 1px solid var(--line); border-width: 0 0 1px 0; border-radius: 0; box-shadow: none;
	transition: max-width .55s cubic-bezier(.2,.8,.2,1), border-radius .55s cubic-bezier(.2,.8,.2,1), box-shadow .4s, border-width .3s;
}
.hd.is-scrolled .hd__shell { box-shadow: var(--shadow); }
.hd.is-compact { padding: 10px clamp(10px, 3vw, 24px) 0; }
.hd.is-compact .hd__shell { max-width: 1280px; border-radius: 999px; border-width: 1px; box-shadow: 0 14px 34px -14px rgb(40 32 10 / .35); }
.hd__row { max-width: 1440px; margin: 0 auto; padding: 10px clamp(16px, 4vw, 40px); display: flex; align-items: center; gap: 16px; transition: padding .5s cubic-bezier(.2,.8,.2,1); }
.hd.is-compact .hd__row { padding: 6px 8px; }
.hd__brand { display: flex; align-items: center; flex: none; min-width: 0; }
.hd__emblem { display: block; position: relative; height: 40px; transition: height .5s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.hd__emblem img { height: 100%; width: auto; }
.hd.is-compact .hd__emblem { height: 34px; transform: rotate(360deg); }
.hd__wordmark { display: flex; align-items: center; gap: 16px; overflow: hidden; max-width: 640px; opacity: 1; padding-inline-start: 16px; transition: max-width .55s cubic-bezier(.2,.8,.2,1), opacity .35s, padding .5s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1); }
.hd__wordmark img { flex: none; height: 44px; width: auto; }
.hd__sep { flex: none; width: 1px; height: 40px; background: var(--gold); opacity: .5; }
.hd.is-compact .hd__wordmark { max-width: 0; opacity: 0; padding-inline-start: 0; transform: translateY(-6px); }
.hd__mini { flex: 1; min-width: 0; display: flex; justify-content: center; overflow: hidden; opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .4s .1s, transform .5s cubic-bezier(.2,.8,.2,1); }
.hd__mini-list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 2px; }
.hd__mini-list li:nth-child(n+7) { display: none; }
.hd__mini-list a { display: block; padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink2); white-space: nowrap; }
.hd__mini-list a:hover { color: var(--gold-ink); background: var(--gold-soft); }
.hd__mini-list .current-menu-item > a, .hd__mini-list .current-menu-ancestor > a, .hd__mini-list .current_page_parent > a { font-weight: 800; color: var(--ink); background: var(--gold-soft); }
@media (min-width: 900px) { .hd.is-compact .hd__mini { opacity: 1; transform: none; pointer-events: auto; } }
.hd__tools { display: flex; align-items: center; gap: 8px; flex: none; margin-inline-start: auto; }
.hd__search { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink2); transition: border-color .2s; }
.hd__search:hover { border-color: var(--gold); color: var(--ink2); }
.hd__search-label { display: flex; align-items: center; gap: 10px; overflow: hidden; white-space: nowrap; max-width: 120px; transition: max-width .5s cubic-bezier(.2,.8,.2,1); font-size: 13.5px; }
.hd__search-label kbd { font-size: 11px; border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--ink3); font-family: ui-monospace, monospace; line-height: 1.5; }
.hd.is-compact .hd__search-label { max-width: 0; }
.hd__mode { position: relative; width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink2); display: grid; place-items: center; cursor: pointer; overflow: hidden; transition: border-color .2s, color .2s, background .25s; }
.hd__mode:hover { border-color: var(--gold); color: var(--gold-ink); }
.hd__mode svg { grid-area: 1 / 1; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.hd__sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
.hd__mode[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--pn-on-gold); }
.hd__mode[aria-pressed="true"] .hd__moon { opacity: 0; transform: rotate(90deg) scale(.5); }
.hd__mode[aria-pressed="true"] .hd__sun { opacity: 1; transform: none; }
.hd__lang { position: relative; }
.hd__lang-btn { height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; font-weight: 600; }
.hd__lang-btn:hover { border-color: var(--gold); }
.hd__lang-list { position: absolute; top: 50px; inset-inline-end: 0; min-width: 190px; margin: 0; padding: 6px; list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); z-index: 60; }
.no-js .hd__lang:focus-within .hd__lang-list, .no-js .hd__lang:hover .hd__lang-list { display: block; }
.hd__lang-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 9px; color: var(--ink); font-size: 14.5px; }
.hd__lang-list a:hover, .hd__lang-list a[aria-current] { background: var(--gold-soft); color: var(--ink); }
.hd__lang-code { font-size: 11px; letter-spacing: .08em; color: var(--gold-ink); font-weight: 700; }
.hd__nav { border-top: 1px solid var(--line); display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .5s cubic-bezier(.2,.8,.2,1), opacity .3s; }
.hd.is-compact .hd__nav { grid-template-rows: 0fr; opacity: 0; border-top-color: transparent; }
.hd__nav-clip { overflow: hidden; min-height: 0; }
.hd__nav-list { max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); list-style: none; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.hd__nav-list a { position: relative; padding: 13px 14px 14px; font-size: 14.5px; font-weight: 500; color: var(--ink2); white-space: nowrap; display: flex; flex-direction: column; align-items: center; }
.hd__nav-list a:hover { color: var(--gold-ink); }
.hd__nav-list .current-menu-item > a, .hd__nav-list .current-menu-ancestor > a, .hd__nav-list .current_page_parent > a { font-weight: 700; color: var(--ink); }
.hd__nav-list .current-menu-item > a::after, .hd__nav-list .current-menu-ancestor > a::after, .hd__nav-list .current_page_parent > a::after { content: ""; position: absolute; bottom: -4px; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
.hd__progress { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; pointer-events: none; transition: inset .5s cubic-bezier(.2,.8,.2,1); }
.hd.is-compact .hd__progress { inset-inline: 28px; }
.hd__progress span { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; opacity: 0; transition: opacity .3s; background: linear-gradient(90deg, transparent, var(--gold)); border-radius: 2px; }
[dir="rtl"] .hd__progress span { background: linear-gradient(-90deg, transparent, var(--gold)); }
.hd__progress span::after { content: ""; position: absolute; top: 50%; inset-inline-end: -4px; width: 7px; height: 7px; margin-top: -3.5px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 3px color-mix(in oklab, var(--gold) 25%, transparent); }
@media (max-width: 759px) {
	.hd__row { padding: 8px 14px; }
	.hd__search-label { max-width: 0; }
	.hd__nav { grid-template-rows: 0fr; opacity: 0; border-top-color: transparent; }
}
@media (max-width: 599px) { .hd__wordmark { max-width: 0; opacity: 0; padding-inline-start: 0; } }

/* Ticker */
.ticker { border-bottom: 1px solid var(--line); background: var(--paper-2); }
.ticker__inner { max-width: 1440px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); display: flex; align-items: center; gap: 16px; height: 46px; }
.ticker__label { display: flex; align-items: center; gap: 8px; flex: none; color: var(--gold-ink); font-weight: 700; font-size: 13px; }
.ticker__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent-2) 22%, transparent); }
.ticker__sep { width: 1px; height: 18px; background: var(--line); flex: none; }
.ticker__list { flex: 1; min-width: 0; list-style: none; margin: 0; padding: 0; }
.ticker__list a { display: block; color: var(--ink); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 46px; }
.ticker__list a:hover { color: var(--gold-ink); }
.ticker__count { flex: none; font-size: 12px; color: var(--ink3); }
.ticker__btns { display: flex; gap: 4px; flex: none; }
.ticker__btns button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink2); cursor: pointer; display: grid; place-items: center; padding: 0; }
.ticker__btns button:hover { border-color: var(--gold); color: var(--gold-ink); }
@media (max-width: 479px) { .ticker__count { display: none; } }

/* 5. Search */
.search-form { display: flex; align-items: center; gap: 6px; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); }
.search-form:focus-within { border-color: var(--gold); }
.search-form__input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 0; background: transparent; outline: none; font-size: 1rem; }
.search-form__input::placeholder { color: var(--ink-3); }
.search-form__submit { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gold); color: #fff; cursor: pointer; }

/* 6. Components */
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border: 1px solid var(--line); border-radius: 50%; background: var(--card); color: var(--ink-2); cursor: pointer; transition: border-color .2s, color .2s; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold-ink); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: var(--fs-s); color: var(--ink-3); line-height: 1.8; }
.badge { display: inline-flex; align-items: center; padding: 1px 10px; border-radius: var(--r-pill); background: var(--gold-soft); color: var(--gold-ink); font-weight: 700; font-size: .8rem; position: relative; z-index: 1; }
.badge--alert { background: var(--alert); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); color: var(--ink-2); font-size: .85rem; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--gold); color: var(--gold-ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); border: 1px solid transparent; font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn--primary { background: var(--gold); color: #fff; }
.btn--primary:hover { background: var(--gold-ink); color: #fff; }
.btn--ghost { border-color: var(--line); background: var(--card); color: var(--ink); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

.section-head { display: flex; align-items: center; gap: 14px; margin-block-end: 22px; }
.section-head__title { font-size: var(--fs-l); font-weight: 900; }
.section-head__rule { flex: 1; height: 1px; background: var(--line); }
.section-head__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: var(--fs-s); white-space: nowrap; }

.breadcrumb ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: var(--fs-s); color: var(--ink-3); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-inline-start: 6px; color: var(--line); }
.breadcrumb a { color: var(--ink-3); }
.breadcrumb a:hover { color: var(--gold-ink); }
.breadcrumb [aria-current] { color: var(--ink-2); display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

.empty-state { display: grid; justify-items: center; gap: 10px; padding: clamp(32px, 6vw, 56px) 20px; border: 1px dashed var(--line); border-radius: var(--r-l); text-align: center; color: var(--ink-2); }
.empty-state__mark { width: 14px; height: 14px; background: var(--gold); transform: rotate(45deg); border-radius: 2px; }
.empty-state__title { font-weight: 800; color: var(--ink); }
.empty-state__search { width: min(520px, 100%); }

.pagination { margin-block-start: clamp(28px, 4vw, 44px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--card); color: var(--ink-2); font-weight: 700; }
.pagination .page-numbers.current { background: var(--gold); border-color: var(--gold); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--gold); color: var(--gold-ink); }
.pagination .dots { border: 0; background: none; }
.prev .icon-arrow { transform: scaleX(-1); }

.thumb-ph { display: block; width: 100%; height: 100%; background: var(--ph); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 0; }

/* 7. Cards */
.card { position: relative; display: flex; flex-direction: column; gap: 14px; }
.card__media { aspect-ratio: 16 / 10; border-radius: var(--r-m); overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img, .media-card:hover img { transform: scale(1.04); }
.card__body { display: grid; gap: 6px; }
.card__title { font-size: 1.06rem; line-height: 1.85; font-weight: 800; }
.card__title a { color: var(--ink); }
.card:hover .card__title a, .media-card:hover .card__title a { color: var(--gold-ink); }
.card__excerpt { color: var(--ink-2); font-size: .95rem; line-height: 2; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card--row { flex-direction: row; align-items: center; gap: 14px; padding-block: 12px; border-block-end: 1px solid var(--line); }
.card--row .card__media { flex: none; width: 112px; aspect-ratio: 3 / 2; border-radius: var(--r-s); }
.card--row .card__title { font-size: .98rem; line-height: 1.8; }

.card-feature { position: relative; min-height: 420px; display: flex; align-items: flex-end; border-radius: var(--r-l); overflow: hidden; background: #1a1914; color: #fbf6e6; isolation: isolate; }
.card-feature__media { position: absolute; inset: 0; z-index: -1; }
.card-feature__media img, .card-feature__media .thumb-ph { width: 100%; height: 100%; object-fit: cover; }
.card-feature__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(12 11 8 / .9) 10%, rgb(12 11 8 / .25) 60%, transparent); }
.card-feature__body { display: grid; gap: 10px; padding: clamp(20px, 3.5vw, 40px); max-width: 860px; }
.card-feature__title { font-size: var(--fs-xl); font-weight: 900; line-height: 1.55; }
.card-feature__title a { color: #fbf6e6; }
.card-feature__excerpt { color: rgb(251 246 230 / .86); max-width: 70ch; }
.card-feature .entry-kicker { color: #e2d79f; }
.meta--light { color: rgb(251 246 230 / .8); }
.meta--light .badge { background: #c4b468; color: #1a1914; }

.notice-card { position: relative; display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); transition: border-color .2s; }
.notice-card:hover { border-color: var(--gold); }
.notice-card.is-important { border-inline-start: 3px solid var(--alert); }
.notice-card__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); }
.notice-card__body { display: grid; gap: 4px; min-width: 0; }
.notice-card__title { font-size: 1rem; line-height: 1.85; }
.notice-card__title a { color: var(--ink); }

.event-card { position: relative; display: flex; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); }
.event-card:hover { border-color: var(--gold); }
.event-card__date { flex: none; display: grid; place-items: center; align-content: center; width: 72px; height: 80px; border-radius: var(--r-s); background: var(--gold-soft); color: var(--gold-ink); line-height: 1.3; text-align: center; }
.event-card__day { font-size: 1.7rem; font-weight: 900; }
.event-card__month { font-size: .78rem; font-weight: 700; }
.event-card__body { display: grid; gap: 6px; min-width: 0; }
.event-card__title { font-size: 1rem; line-height: 1.85; }
.event-card__title a { color: var(--ink); }
.event-card__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; font-size: var(--fs-s); color: var(--ink-3); }
.event-card__facts li { display: flex; align-items: center; gap: 6px; }

.media-card { position: relative; display: flex; flex-direction: column; gap: 12px; }
.media-card__media { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: #1a1914; }
.media-card__media img, .media-card__media .thumb-ph { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.media-card__play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgb(12 11 8 / .55); border: 1px solid rgb(226 215 159 / .6); color: #fbf6e6; backdrop-filter: blur(6px); }
.media-card__duration { position: absolute; inset-block-end: 8px; inset-inline-end: 8px; padding: 0 8px; border-radius: 6px; background: rgb(12 11 8 / .8); color: #efe6c8; font-size: .75rem; line-height: 1.8; }

.book-card { position: relative; display: grid; gap: 8px; align-content: start; }
.book-card__cover { aspect-ratio: 2 / 3; border-radius: 6px var(--r-s) var(--r-s) 6px; overflow: hidden; background: var(--ph); box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.book-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.book-card:hover .book-card__cover { transform: translateY(-4px); }
.book-card__title { font-size: .98rem; line-height: 1.8; }
.book-card__title a { color: var(--ink); }
.book-card__author { font-size: var(--fs-s); color: var(--ink-3); }
.shelf { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(140px, 180px); gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; padding-block-end: 10px; scrollbar-width: thin; }
.shelf > * { scroll-snap-align: start; }

/* 8. Home */
.hero { max-width: 1440px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 40px) 48px; display: flex; flex-direction: column; gap: 12px; }
.hero__stage { position: relative; min-height: clamp(420px, 62vh, 600px); display: grid; }
.hero__slide { grid-area: 1 / 1; position: relative; min-height: clamp(420px, 62vh, 600px); border-radius: 14px; overflow: hidden; background: var(--ph); display: flex; align-items: flex-end; padding: clamp(12px, 2.4vw, 22px); }
.js .hero__slide { display: flex !important; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.js .hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgb(12 11 8 / .9) 0%, rgb(12 11 8 / .72) 30%, rgb(12 11 8 / .35) 50%, rgb(12 11 8 / 0) 68%); pointer-events: none; }
.hero__top { position: absolute; top: 20px; inset-inline: 22px; display: flex; justify-content: space-between; align-items: center; }
.hero__badge { display: flex; align-items: center; gap: 8px; background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 999px; line-height: 1.6; }
.hero__badge span { width: 6px; height: 6px; background: #fff; transform: rotate(45deg); }
.hero__counter { background: var(--card); color: var(--ink); font-size: 12.5px; font-weight: 800; padding: 6px 12px; border-radius: 999px; letter-spacing: .05em; line-height: 1.6; }
.hero__body { position: relative; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 0 clamp(4px, 1vw, 10px) 4px; color: #fbf6e6; }
.hero__text { flex: 1; min-width: 0; max-width: 720px; display: flex; flex-direction: column; gap: 8px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; color: #ddd5bc; text-shadow: 0 1px 8px rgb(0 0 0 / .45); line-height: 1.8; }
.hero__meta .dia { background: #c4b468; }
.hero__cat { color: #e2d79f; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.hero__title { margin: 0; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.65; font-weight: 900; text-shadow: 0 2px 16px rgb(0 0 0 / .35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hero__title a { color: #fbf6e6; }
.hero__title a:hover { color: #e2d79f; }
.hero__ex { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .45s cubic-bezier(.2,.8,.2,1), opacity .35s; }
.hero__stage:hover .hero__ex, .hero__slide:focus-within .hero__ex { grid-template-rows: 1fr; opacity: 1; }
.hero__ex p { min-height: 0; overflow: hidden; font-size: 14.5px; line-height: 2; color: #ddd5bc; text-align: justify; text-justify: inter-word; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.hero__ctrl { flex: none; display: flex; align-items: center; gap: 6px; }
.hero__nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgb(251 246 230 / .35); background: rgb(12 11 8 / .25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #fbf6e6; cursor: pointer; display: grid; place-items: center; padding: 0; transition: all .2s; }
.hero__nav:hover { background: #c4b468; border-color: #c4b468; color: #1a1914; }
.hero__more { width: 48px; height: 48px; border-radius: 50%; background: #fbf6e6; color: #1a1914; display: grid; place-items: center; font-size: 18px; font-weight: 900; transition: transform .3s, background .2s; }
.hero__more:hover { background: #c4b468; color: #1a1914; transform: rotate(-45deg); }
.hero__thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.hero__thumb { text-align: start; background: transparent; border: 1px solid var(--line); border-top: 2px solid var(--line); border-radius: 0 0 10px 10px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; transition: background .2s; }
.hero__thumb:hover { background: var(--card); }
.hero__thumb.is-active { background: var(--card); border-top-color: var(--gold); }
.hero__thumb-num { font-size: 13px; font-weight: 800; color: var(--ink3); line-height: 1.8; }
.hero__thumb-title { font-size: 13px; line-height: 1.8; font-weight: 600; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero__thumb.is-active .hero__thumb-num { color: var(--gold-ink); }
.hero__thumb.is-active .hero__thumb-title { color: var(--ink); }

.status { padding-bottom: 48px; display: flex; }
.status__box { flex: 1 1 100%; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px clamp(16px, 2.4vw, 26px) 24px; display: flex; flex-direction: column; gap: 20px; }
.status__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; }
.status__title { display: flex; align-items: center; gap: 12px; }
.status__title h2 { margin: 0; font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.status__total { font-size: 12px; color: var(--ink3); padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; }
.status__pipe { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; }
.status__pipe li { display: flex; align-items: center; }
.status__stage { display: flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--ink3); line-height: 1.7; }
.status__stage b { font-weight: 900; }
.status__stage.is-on { background: var(--gold-soft); color: var(--gold-ink); }
.status__link { width: 18px; height: 1px; background: var(--gold); opacity: .5; }
.status__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; align-items: start; }
.status__col { border-radius: 16px; padding: 14px 12px 12px; }
.status__col--done { background: var(--paper); border: 1px solid var(--line); }
.status__col--prog { background: var(--gold-soft); border: 1px solid color-mix(in oklab, var(--gold) 35%, transparent); }
.status__col--queue { border: 1px dashed var(--line); }
.status__col-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 4px 12px; }
.status__col-head > span:first-child { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--ink); }
.status__mark { width: 8px; height: 8px; transform: rotate(45deg); border: 1px solid var(--gold); }
.status__col--done .status__mark { background: var(--gold); }
.status__col--prog .status__mark { background: color-mix(in oklab, var(--gold) 45%, transparent); }
.status__num { min-width: 26px; height: 22px; padding: 0 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 12px; font-weight: 900; display: grid; place-items: center; color: var(--gold-ink); }
.status__items { display: flex; flex-direction: column; gap: 8px; }
.status__item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink); transition: border-color .2s, transform .2s, background .2s; }
.status__item:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--ink); }
.status__item.is-static:hover { border-color: var(--line); transform: none; }
.status__col--queue .status__item { background: transparent; border-style: dashed; }
.status__col--queue .status__item:hover { background: var(--card); transform: none; }
.status__ico { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; }
.status__ico--done { background: var(--gold); color: #fff; }
.status__ico--queue { border: 1px dashed var(--gold); color: var(--gold-ink); }
.status__ring { flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%; background: conic-gradient(var(--gold) var(--deg), var(--line) 0); display: grid; place-items: center; }
.status__ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--card); }
.status__ring span { position: relative; font-size: 11px; font-weight: 900; color: var(--gold-ink); }
.status__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.status__col--prog .status__txt { gap: 3px; }
.status__name { font-size: 13.5px; font-weight: 800; line-height: 1.7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status__sub { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink3); line-height: 1.7; }
.status__sub b { color: var(--ink2); font-weight: 700; }
.status__lang { color: var(--gold-ink); font-weight: 700; }
.status__date { font-size: 11px; color: var(--ink3); }
.status__box > .more-link { align-self: flex-start; font-size: 13px; }

.latest { padding-bottom: 48px; }
.latest__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.latest__head h2 { font-size: 26px; margin: 0; padding-bottom: 12px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.latest__tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.latest__tabs a { position: relative; padding: 8px 12px 14px; color: var(--ink3); font-size: 13.5px; font-weight: 700; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s; }
.latest__tabs a:hover { color: var(--gold-ink); }
.latest__tabs a[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.latest__panel { display: flex; flex-wrap: wrap; gap: 28px; }
.latest__panel[hidden] { display: none; }
.lead { flex: 1.15 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.lead__media { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(-45deg, var(--ph1) 0 1px, transparent 1px 11px), var(--ph2); }
.lead__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead__cat { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--card); color: var(--gold-ink); font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: calc(100% - 28px); line-height: 1.6; }
.lead__title { font-size: 21px; line-height: 1.75; margin: 0; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lead__title a { color: var(--ink); }
.lead__title a:hover { color: var(--gold-ink); }
.lead__ex { margin: 0; font-size: 14.5px; line-height: 2; color: var(--ink2); text-align: justify; text-justify: inter-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lead__meta { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink3); }
.rows { flex: 1 1 380px; min-width: 0; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.rows li { border-bottom: 1px solid var(--line); }
.rows li.rows__all { border-bottom: 0; padding-top: 14px; }
.rows a:not(.more-link) { display: flex; gap: 16px; align-items: center; padding: 14px 0; color: var(--ink); }
.rows a:not(.more-link):hover { color: var(--gold-ink); }
.rows__thumb { flex: none; position: relative; width: 108px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: repeating-linear-gradient(-45deg, var(--ph1) 0 1px, transparent 1px 9px), var(--ph2); }
.rows__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rows__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.rows__cat { font-size: 11.5px; font-weight: 700; color: var(--gold-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.6; }
.rows__title { font-size: 15px; line-height: 1.8; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rows__meta { font-size: 12px; color: var(--ink3); line-height: 1.6; }

.banners { padding-bottom: 48px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.banners__a, .banners__r { width: 100%; }
.banners__r { display: flex; flex-direction: column; gap: 16px; }
.banners__small { display: none; gap: 16px; }
.banners__small > * { flex: 1 1 0; min-width: 0; }
@media (min-width: 640px) {
	.banners { flex-direction: row; }
	.banners__a { flex: 0 0 calc(50% - 1.334px); width: calc(50% - 1.334px); }
	.banners__r { flex: 0 0 calc(50% - 14.666px); width: calc(50% - 14.666px); }
	.banners__small { display: flex; }
}
.bn { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--ph); border: 1px solid var(--line); box-shadow: 0 18px 34px -28px rgb(60 50 20 / .55); transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.bn--a { border-radius: 22px; }
.bn--b { aspect-ratio: 8 / 3; }
a.bn:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -26px rgb(60 50 20 / .6); }
.bn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bn__n { position: absolute; top: 12px; inset-inline-start: 12px; width: 26px; height: 26px; border-radius: 8px; background: var(--card); color: var(--gold-ink); display: grid; place-items: center; font-size: 12px; font-weight: 900; box-shadow: 0 4px 10px -6px rgb(0 0 0 / .4); }

.sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.sec-head h2 { font-size: 24px; margin: 0; font-weight: 800; }
.sec-head__rule { flex: 1; height: 1px; background: var(--line); }
.sec-head__link { font-size: 14px; font-weight: 600; display: flex; gap: 8px; white-space: nowrap; }
.books { padding-bottom: 22px; }
.shelf3d { display: flex; justify-content: safe center; gap: 34px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 14px 18px 26px; perspective: 1100px; }
.b3d { flex: none; width: 150px; scroll-snap-align: center; color: var(--ink); text-align: center; display: flex; flex-direction: column; align-items: center; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.b3d:hover { transform: translateY(-6px); color: var(--ink); }
.b3d__book { position: relative; width: 150px; aspect-ratio: 2 / 3; transform-style: preserve-3d; transform: rotateY(24deg); }
.b3d__back { position: absolute; inset: 0; transform: translateZ(-11px); border-radius: 3px 8px 8px 3px; background: var(--tone); filter: brightness(.7); }
.b3d__front { position: absolute; inset: 0; transform: translateZ(11px); border-radius: 3px 8px 8px 3px; background: var(--tone); box-shadow: inset -10px 0 14px -8px rgb(0 0 0 / .5); overflow: hidden; }
.b3d__front img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b3d__ph { position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgb(255 255 255 / .06) 0 1px, transparent 1px 10px); display: grid; place-items: center; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .06em; color: rgb(241 233 210 / .55); }
.b3d__gloss { position: absolute; inset: 0; background: linear-gradient(105deg, rgb(255 255 255 / .16), transparent 38%, transparent 72%, rgb(0 0 0 / .16)); pointer-events: none; }
.b3d__shadow { width: 120px; height: 14px; margin-top: 6px; border-radius: 50%; background: radial-gradient(ellipse, rgb(0 0 0 / .28), transparent 70%); filter: blur(2px); }
.b3d__title { margin-top: 6px; width: 100%; font-size: 14px; line-height: 1.75; font-weight: 800; color: var(--ink); text-align: center; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; unicode-bidi: plaintext; }
.b3d__lang { margin-top: 2px; width: 100%; font-size: 12.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.b3d__lang b { color: var(--gold-ink); font-weight: 700; }

.media-band { background: var(--paper-2); border-top: 1px solid var(--line); }
.media-band__inner { padding-block: 48px; }
.vgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }
.vcard { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.vcard:hover { color: var(--gold-ink); }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: repeating-linear-gradient(-45deg, var(--ph1) 0 1px, transparent 1px 11px), var(--ph2); }
.vcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgb(20 18 12 / .72); display: grid; place-items: center; box-shadow: 0 0 0 7px rgb(151 138 58 / .3); }
.vcard__play span { width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 14px solid #efe6c8; margin-left: 4px; }
.vcard__dur { position: absolute; bottom: 10px; inset-inline-end: 10px; background: rgb(20 18 12 / .8); color: #efe6c8; font-size: 11.5px; padding: 3px 8px; border-radius: 6px; line-height: 1.5; }
.vcard__txt { display: flex; flex-direction: column; gap: 4px; }
.vcard__kind { font-size: 11.5px; font-weight: 800; color: var(--gold-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard__title { font-size: 15.5px; line-height: 1.8; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.6em; }

.nl-wrap { padding-block: 48px; }
.nl { display: flex; flex-wrap: wrap; gap: 28px 40px; align-items: center; padding: clamp(22px, 3vw, 32px) clamp(22px, 3.5vw, 40px); border-radius: 18px; background: var(--pn-bg); background-image: var(--girih); color: var(--pn-ink); border: 1px solid var(--pn-line); }
.nl fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.nl__intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.nl__intro h2 { font-size: 22px; margin: 0 0 6px; font-weight: 800; color: var(--pn-ink); }
.nl__intro p { margin: 0; font-size: 14px; line-height: 2; color: var(--pn-ink2); text-align: justify; text-justify: inter-word; }
.nl__topics { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.nl__topics legend { float: inline-start; font-size: 12px; font-weight: 700; color: var(--pn-ink3); margin-inline-end: 10px; line-height: 32px; padding: 0; }
.nl__topic { display: flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--pn-line); background: transparent; color: var(--pn-ink2); font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .2s; }
.nl__topic input, .nl__channels input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nl__box { width: 12px; height: 12px; border-radius: 3px; border: 1px solid currentColor; display: grid; place-items: center; font-size: 9px; line-height: 1; }
.nl__topic:has(input:checked) { background: var(--pn-gold); border-color: var(--pn-gold); color: var(--pn-on-gold); }
.nl__topic:has(input:checked) .nl__box::before { content: "✓"; }
.nl__topic:has(input:focus-visible), .nl__channels label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.nl__form { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.nl__channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--pn-line); background: var(--pn-soft); }
.nl__channels label { position: relative; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--pn-ink2); font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all .2s; }
.nl__channels label:has(input:checked) { background: var(--pn-gold); color: var(--pn-on-gold); }
.nl__phone { display: flex; align-items: center; gap: 8px; background: var(--pn-soft); border: 1px solid var(--pn-line); border-radius: 14px; padding: 6px; transition: border-color .2s; }
.nl__phone.is-ok { border-color: var(--pn-gold); }
.nl__phone.is-bad { border-color: #b5533c; }
.nl__field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.nl__prefix { flex: none; display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--pn-ink2); padding-inline-end: 10px; border-inline-end: 1px solid var(--pn-line); }
.nl__prefix svg { color: var(--pn-gold); }
.nl__field input { flex: 1; min-width: 0; height: 44px; background: transparent; border: 0; outline: 0; color: var(--pn-ink); font-size: 17px; font-weight: 700; letter-spacing: .06em; }
.nl__count { flex: none; font-size: 11.5px; font-weight: 700; color: var(--pn-ink3); }
.nl__phone.is-ok .nl__count { color: var(--accent-2); }
.nl__phone button { height: 46px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--pn-gold); color: var(--pn-on-gold); font-weight: 800; cursor: pointer; transition: opacity .2s; }
.nl__phone button:disabled { opacity: .5; cursor: not-allowed; }
.nl__msg { display: flex; align-items: center; gap: 10px; min-height: 22px; font-size: 12.5px; color: var(--pn-ink3); margin: 0; }
.nl__msg > span:first-child { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.nl__msg.is-ok { color: var(--accent-2); }
.nl__msg.is-bad { color: #b5533c; }

.partners { padding-bottom: 48px; }
.partners__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.partners__rule { flex: 1; height: 1px; background: var(--line); }
.partners__head h2 { margin: 0; font-size: 14px; font-weight: 800; color: var(--ink2); display: flex; align-items: center; gap: 10px; }
.partners__grid { display: grid; grid-template-columns: repeat(7, minmax(110px, 1fr)); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; scrollbar-width: none; background: var(--line); gap: 1px; }
.partners__tile { height: 104px; display: grid; place-items: center; padding: 14px; background: var(--logo-tile); }
.partners__tile img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1); opacity: .55; transition: filter .35s, opacity .35s, transform .35s; }
.partners__tile:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.06); }

/* Page hero (all inner pages) */
.phero { padding-top: 18px; }
.phero__box { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 16px clamp(18px, 2.4vw, 26px); border-radius: 18px; background: var(--card); background-image: var(--girih); border: 1px solid var(--line); }
.phero__strip { position: absolute; inset-block: 0; inset-inline-start: 0; width: 4px; background: linear-gradient(to bottom, var(--gold), transparent); }
.phero__main { display: flex; align-items: center; gap: 14px; min-width: 0; }
.phero__mark { flex: none; width: 42px; height: 42px; display: grid; place-items: center; position: relative; }
.phero__mark::before { content: ""; position: absolute; inset: 7px; transform: rotate(45deg); border: 1px solid var(--gold); background: var(--gold-soft); border-radius: 4px; }
.phero__mark span { position: relative; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.phero__txt { min-width: 0; }
.phero__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 11.5px; color: var(--ink3); line-height: 1.8; }
.phero__crumbs a { color: var(--ink3); }
.phero__crumbs a:hover { color: var(--gold-ink); }
.phero__crumbs > span[aria-hidden] { opacity: .6; }
.phero__here { color: var(--gold-ink); }
.phero__title { margin: 0; font-size: clamp(19px, 2vw, 24px); line-height: 1.6; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* News archive */
.news { padding-top: clamp(20px, 2.6vw, 28px); padding-bottom: 64px; min-height: 50vh; }
.news__tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.news__tabs a { padding: 10px 14px 14px; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--ink3); font-size: 14px; font-weight: 700; white-space: nowrap; }
.news__tabs a:hover { color: var(--gold-ink); }
.news__tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--gold); }
.news__tabs a span { font-size: 11px; color: var(--ink3); }
.news__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: -8px 0 20px; font-size: 12.5px; color: var(--ink3); }
.news__tabs + .news__bar { margin-top: -8px; }
.news > .news__bar:first-child { margin-top: 0; }
.news__sort { display: flex; gap: 4px; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.news__sort a { display: grid; place-items: center; height: 30px; padding: 0 12px; border-radius: 9px; color: var(--ink2); font-size: 12px; font-weight: 800; }
.news__sort a[aria-current] { background: var(--ink); color: var(--paper); }
.news.is-loading .news__grid, .news.is-loading .news__bar > span { opacity: .45; transition: opacity .2s .08s; }
.news.is-loading { cursor: progress; }
.news__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 26px; perspective: 1400px; }
.ncard { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; color: var(--ink); box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 2px 3px -1px rgb(60 50 20 / .08), 0 18px 30px -22px rgb(60 50 20 / .45); transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s, border-color .3s; }
.ncard:hover { color: var(--ink); transform: rotateX(3deg) translateY(-6px); box-shadow: 0 2px 4px -1px rgb(60 50 20 / .1), 0 34px 44px -26px rgb(60 50 20 / .55); border-color: var(--gold); }
.ncard__media { position: relative; display: block; flex: none; aspect-ratio: 16 / 10; background: repeating-linear-gradient(-45deg, var(--ph1) 0 1px, transparent 1px 11px), var(--ph2); }
.ncard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ncard__cat { position: absolute; top: 12px; inset-inline-start: 12px; max-width: calc(100% - 24px); background: var(--card); color: var(--gold-ink); font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 10px -6px rgb(0 0 0 / .3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.6; }
.ncard__date { position: absolute; bottom: -18px; inset-inline-end: 18px; width: 48px; height: 48px; display: grid; place-items: center; }
.ncard__dia { position: absolute; inset: 4px; transform: rotate(45deg); background: var(--card); border: 1px solid var(--gold); border-radius: 6px; box-shadow: 0 8px 16px -10px rgb(0 0 0 / .4); }
.ncard__dm { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1.1; }
.ncard__dm b { font-size: 14px; color: var(--gold-ink); }
.ncard__dm span { font-size: 9px; color: var(--ink3); font-weight: 700; }
.ncard__body { padding: 24px 20px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.ncard__new { align-self: flex-start; font-size: 11px; font-weight: 800; color: #fff; background: var(--gold); padding: 3px 10px; border-radius: 999px; line-height: 1.6; }
.ncard__title { font-size: 16.5px; line-height: 1.8; font-weight: 900; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.6em; }
.ncard__ex { font-size: 13.5px; line-height: 2; color: var(--ink2); text-align: justify; text-justify: inter-word; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink3); }
.ncard__views { display: flex; align-items: center; gap: 5px; }
.ncard--feat .ncard__new { display: none; }
@media (min-width: 700px) {
	.ncard--feat { grid-column: span 2; }
	.ncard--feat .ncard__media { aspect-ratio: 16 / 7; }
	.ncard--feat .ncard__title { font-size: 20px; }
	.ncard--feat .ncard__ex { -webkit-line-clamp: 3; }
	.ncard--feat .ncard__new { display: inline-block; }
}
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager__btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font-weight: 800; box-shadow: 0 8px 16px -14px rgb(60 50 20 / .5); transition: transform .2s; }
a.pager__btn:hover { transform: translateY(-2px); color: var(--ink2); }
.pager__btn.current { background: var(--gold); border-color: var(--gold); color: #fff; }
.pager__btn.dots { border-color: transparent; background: transparent; box-shadow: none; }
.pager__btn.is-off { opacity: .4; }
[dir="ltr"] .pager__ar { display: inline-block; transform: scaleX(-1); }

/* Single post (design: Site Pages › post) */
@font-face { font-family: "Noto Naskh Arabic"; src: url("../fonts/NotoNaskhArabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Noto Naskh Arabic"; src: url("../fonts/NotoNaskhArabic-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
:root { --rk: 1; --rfs: 17.5px; --rlh: 2.15; --rff: var(--font); }
@media (min-width: 1360px) { :root { --rk: 1.06; } }
@media (max-width: 399px) { :root { --rk: .96; } }
html[data-rfs="0"] { --rfs: 15px; } html[data-rfs="1"] { --rfs: 16.5px; } html[data-rfs="3"] { --rfs: 19px; } html[data-rfs="4"] { --rfs: 21px; }
html[data-rlh="0"] { --rlh: 1.9; } html[data-rlh="2"] { --rlh: 2.45; }
html[data-rfont="naskh"] { --rff: "Noto Naskh Arabic", serif; }
.single-post .hd__progress { display: none; }
.phero__kicker { margin: 0; font-size: 12.5px; font-weight: 800; color: var(--gold-ink); line-height: 1.8; }
.phero__sub { margin: 2px 0 0; font-size: 14px; line-height: 1.9; color: var(--ink2); }
.single-post .phero__title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; text-wrap: balance; }
.post-wrap { padding-top: clamp(20px, 2.6vw, 28px); padding-bottom: 64px; }
.post-topline { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 100; pointer-events: none; }
.post-topline span { display: block; height: 100%; width: 0; background: linear-gradient(to left, var(--gold), #c4b468); transition: width .12s linear; }
.post-measure { max-width: 1080px; margin: 0 auto; transition: max-width .35s; }
html[data-rfocus="1"] .post-measure, html[data-rfocus="1"] .cms { max-width: 760px; }

.rbar { position: sticky; top: var(--header-h, 116px); z-index: 30; margin-bottom: 24px; }
.rbar__in { position: relative; display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: 0 0 14px 14px; background: var(--head-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); border-top: 0; box-shadow: 0 14px 30px -24px rgb(0 0 0 / .35); }
.rbar__left { flex: none; padding: 0 10px; font-size: 12px; font-weight: 900; color: var(--gold-ink); white-space: nowrap; border-inline-end: 1px solid var(--line); line-height: 32px; }
.rbar__toc { flex: 1; min-width: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.rbar__toc a { flex: none; display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px; border-radius: 9px; color: var(--ink3); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s; }
.rbar__toc a:hover { color: var(--ink); }
.rbar__toc a[aria-current] { background: var(--gold-soft); color: var(--ink); font-weight: 800; }
.rbar__toc a span { font-size: 11px; font-weight: 900; color: var(--gold-ink); }
.rbar__tools { flex: none; display: flex; gap: 2px; padding-inline-start: 6px; border-inline-start: 1px solid var(--line); }
.rbar__toc.is-empty + .rbar__tools { margin-inline-start: auto; }
.rbar__btn { flex: none; width: 32px; height: 32px; border-radius: 9px; border: 0; background: transparent; color: var(--ink2); display: grid; place-items: center; cursor: pointer; font-weight: 900; font-size: 14px; padding: 0; transition: background .2s, color .2s, opacity .2s; }
.rbar__btn:hover, .rbar__btn[aria-expanded="true"] { background: var(--gold-soft); color: var(--gold-ink); }
.rbar__btn[data-read-mark][aria-pressed="true"] svg { fill: currentColor; color: var(--gold-ink); }
[data-read-focus] .i-off, [data-read-focus][aria-pressed="true"] .i-on { display: none; }
[data-read-focus][aria-pressed="true"] .i-off { display: inline; }
.rbar__prog { position: absolute; bottom: -1px; inset-inline: 16px; height: 2px; border-radius: 2px; overflow: hidden; }
.rbar__prog span { display: block; height: 100%; width: 0; background: var(--gold); transition: width .12s linear; }
.rpanel { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; width: min(270px, 90vw); padding: 16px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; z-index: 5; }
.rpanel[hidden] { display: none; }
.rpanel__l { font-size: 11.5px; font-weight: 900; color: var(--ink3); margin-bottom: 6px; }
.rpanel__opts { display: flex; gap: 4px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); }
.rpanel__o { flex: 1; height: 32px; border: 0; border-radius: 9px; background: transparent; color: var(--ink2); font-size: 13px; font-weight: 800; cursor: pointer; padding: 0; }
.rpanel__o[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.rpanel__o--fs-0 { font-size: 11px; } .rpanel__o--fs-1 { font-size: 13px; } .rpanel__o--fs-2 { font-size: 15px; } .rpanel__o--fs-3 { font-size: 17px; } .rpanel__o--fs-4 { font-size: 19px; }
.rpanel__o--font-naskh { font-family: "Noto Naskh Arabic", serif; font-size: 14px; } .rpanel__o--font-sans { font-size: 14px; }
@media (max-width: 479px) { .rbar__left { display: none; } }
@media (max-width: 639px) { .rbar__wide { display: none; } }

.post-paper { --r-ink: var(--ink); --r-ink2: var(--ink2); --r-quote: var(--gold-soft); min-width: 0; width: 100%; color: var(--r-ink); transition: background .35s, color .35s; }
html[data-rtone="paper"] .post-paper { --r-ink: #1c1b17; --r-ink2: #3f3c34; --r-quote: #f3efe2; background: #fff; }
html[data-rtone="sepia"] .post-paper { --r-ink: #3b3226; --r-ink2: #5a4d3a; --r-quote: #e9dcbc; background: #f3ead3; }
html[data-theme="dark"][data-rtone="paper"] .post-paper { --r-ink: #f1ebdc; --r-ink2: #d6cfbd; --r-quote: #2a2717; background: #1f1e18; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"])[data-rtone="paper"] .post-paper { --r-ink: #f1ebdc; --r-ink2: #d6cfbd; --r-quote: #2a2717; background: #1f1e18; } }
html[data-theme="dark"][data-rtone="sepia"] .post-paper { --r-ink: #e9dfc6; --r-ink2: #cfc3a6; --r-quote: #3a3222; background: #2a241a; }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"])[data-rtone="sepia"] .post-paper { --r-ink: #e9dfc6; --r-ink2: #cfc3a6; --r-quote: #3a3222; background: #2a241a; } }
html[data-rtone="paper"] .post-paper, html[data-rtone="sepia"] .post-paper { border-radius: 22px; padding: clamp(18px, 3vw, 36px); }

.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 12.5px; color: var(--ink3); margin-bottom: 16px; line-height: 1.8; }
.post-meta__cat { background: var(--gold); color: #fff; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.post-meta__cat:hover { color: #fff; background: var(--gold-ink); }
.post-meta__dia { width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
.post-figure { margin: 0 0 26px; }
.post-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; background: var(--ph2); }
.post-figure figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink3); display: flex; gap: 8px; line-height: 1.9; }
.post-figure figcaption span { flex: none; width: 12px; height: 1px; background: var(--gold); margin-top: 12px; }

/* Article text */
.post-body { counter-reset: jth; font-family: var(--rff); font-size: calc(var(--rfs) * var(--rk)); line-height: var(--rlh); color: var(--r-ink2); transition: font-size .2s; overflow-wrap: break-word; }
.post-body.entry-content > * + * { margin-block-start: 0; }
.post-body > * { margin-block: 0 1.15em; }
.post-body p { text-align: justify; text-justify: inter-word; color: var(--r-ink2); }
.post-body a { color: var(--gold-ink); text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--gold) 55%, transparent); text-underline-offset: 4px; }
.post-body a:hover { color: var(--r-ink); }
.post-body strong, .post-body b { color: var(--r-ink); }
.post-lead, .post-body p.is-style-jt-lead { margin: 0 0 1.2em; font-size: 1.12em; font-weight: 700; color: var(--r-ink); }
.post-body h2, .post-body h3, .post-body h4 { font-family: var(--font); color: var(--r-ink); scroll-margin-top: 170px; }
.post-body h2 { margin: 1.8em 0 .6em; font-size: 1.3em; line-height: 1.6; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.post-body h2:not(.is-style-jt-plain):not(.is-style-jt-kick) { counter-increment: jth; }
.post-body h2:not(.is-style-jt-plain):not(.is-style-jt-kick)::before { content: counter(jth, persian); flex: none; font-size: .6em; font-weight: 900; color: var(--gold-ink); width: 28px; height: 28px; border-radius: 8px; background: var(--gold-soft); display: grid; place-items: center; line-height: 1; }
:lang(ar) .post-body h2:not(.is-style-jt-plain):not(.is-style-jt-kick)::before { content: counter(jth, arabic-indic); }
:lang(en) .post-body h2:not(.is-style-jt-plain):not(.is-style-jt-kick)::before { content: counter(jth); }
.post-body h3 { margin: 1.5em 0 .5em; font-size: 1.1em; line-height: 1.7; font-weight: 800; }
.post-body h4 { margin: 1.3em 0 .4em; font-size: 1em; font-weight: 800; }
.post-body .is-style-jt-kick { font-size: .8em; color: var(--gold-ink); font-weight: 900; margin-bottom: .2em; }
.post-body ul, .post-body ol { padding-inline-start: 1.3em; }
.post-body li { margin-bottom: .35em; }
.post-body ul:not(.is-style-jt-check) > li::marker { color: var(--gold); content: "◆  "; font-size: .7em; }
.post-body ol > li::marker { color: var(--gold-ink); font-weight: 900; }
.post-body ul.is-style-jt-check { list-style: none; padding-inline-start: 0; }
.post-body ul.is-style-jt-check > li { position: relative; padding-inline-start: 1.7em; }
.post-body ul.is-style-jt-check > li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--gold-ink); font-weight: 900; }
.post-body ol.is-style-jt-steps { list-style: none; padding-inline-start: 0; counter-reset: jts; }
.post-body ol.is-style-jt-steps > li { counter-increment: jts; position: relative; padding-inline-start: 2.6em; margin-bottom: .8em; }
.post-body ol.is-style-jt-steps > li::before { content: counter(jts, persian); position: absolute; inset-inline-start: 0; top: .25em; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--gold); color: #fff; font-size: .8em; font-weight: 900; display: grid; place-items: center; line-height: 1; }
:lang(ar) .post-body ol.is-style-jt-steps > li::before { content: counter(jts, arabic-indic); }
:lang(en) .post-body ol.is-style-jt-steps > li::before { content: counter(jts); }

.post-body blockquote:not(.wp-block-pullquote blockquote) { position: relative; margin: 1.8em 0; padding: 1.2em 1.4em 1em; border: 0; border-radius: 16px; background: var(--r-quote); font-size: 1em; }
.post-body blockquote:not(.wp-block-pullquote blockquote)::before { content: "«"; position: absolute; top: -.55em; inset-inline-start: .5em; font-family: "Noto Naskh Arabic", serif; font-size: 3.2em; line-height: 1; color: var(--gold); }
[dir="ltr"] .post-body blockquote:not(.wp-block-pullquote blockquote)::before { content: "“"; }
.post-body blockquote:not(.wp-block-pullquote blockquote) p { margin: 0 0 .4em; font-size: 1.12em; font-weight: 700; line-height: 2; color: var(--r-ink); text-align: start; }
.post-body blockquote:not(.wp-block-pullquote blockquote) cite { display: block; margin-top: .8em; padding-inline-end: 110px; font-size: 12.5px; color: var(--ink3); font-style: normal; line-height: 1.8; }
.post-body blockquote cite::before { content: "— "; }
.post-body blockquote:not(.wp-block-pullquote blockquote) { font-weight: 700; color: var(--r-ink); }
.post-body blockquote:not(.wp-block-pullquote blockquote) cite { font-weight: 400; }
.jt-copyq { position: absolute; bottom: .9em; inset-inline-end: 1.4em; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font-size: 11.5px; font-weight: 700; cursor: pointer; font-family: var(--font); }
.jt-copyq:hover { border-color: var(--gold); color: var(--gold-ink); }
.post-body .wp-block-quote.is-style-jt-statement p { font-size: 1.35em; line-height: 1.85; font-weight: 900; }
.post-body .wp-block-quote.is-style-jt-hadith { text-align: center; background: transparent; border-block: 1px solid var(--line); border-radius: 0; padding: 1.4em 1em; }
.post-body .wp-block-quote.is-style-jt-hadith::before { content: ""; top: -5px; left: 50%; inset-inline-start: auto; width: 9px; height: 9px; background: var(--gold); transform: translateX(-50%) rotate(45deg); }
.post-body .wp-block-quote.is-style-jt-hadith p { font-family: "Noto Naskh Arabic", serif; font-size: 1.3em; text-align: center; color: var(--gold-ink); }
.post-body .wp-block-quote.is-style-jt-hadith cite { padding-inline-end: 0; }
.post-body .wp-block-quote.is-style-jt-hadith .jt-copyq { position: static; margin-top: .6em; }
.post-body .wp-block-pullquote { margin: 1.8em 0; padding: 1.4em 0; border-block: 2px solid var(--gold); text-align: center; }
.post-body .wp-block-pullquote blockquote { margin: 0; position: relative; }
.post-body .wp-block-pullquote p { font-size: 1.3em; font-weight: 900; line-height: 1.8; color: var(--r-ink); text-align: center; }
.post-body .wp-block-pullquote cite { font-size: 12.5px; color: var(--ink3); font-style: normal; }
.post-body .wp-block-pullquote .jt-copyq { position: static; margin-top: .6em; }

.jt-term { margin: 1.4em 0; display: flex; gap: 14px; padding: 14px 16px; border-inline-start: 3px solid var(--accent-2); background: color-mix(in oklab, var(--accent-2) 8%, transparent); border-start-end-radius: 12px; border-end-end-radius: 12px; font-family: var(--font); }
.jt-term__label { flex: none; font-size: 11px; font-weight: 900; color: var(--accent-2); padding-top: 3px; line-height: 1.8; }
.jt-term__body { font-size: 14px; line-height: 2; color: var(--r-ink2, var(--ink2)); }
.jt-term__word { color: var(--r-ink, var(--ink)); }
.jt-term__word::after { content: ":"; }
.jt-glance { margin: 0 0 30px; padding: 18px 22px; border-radius: 16px; border: 1px solid color-mix(in oklab, var(--gold) 35%, transparent); background: var(--gold-soft); font-family: var(--font); }
.post-body .jt-glance { margin: 0 0 30px; }
.jt-glance__title { margin: 0 0 8px !important; font-size: 12.5px; font-weight: 900; color: var(--gold-ink) !important; display: flex; align-items: center; gap: 8px; text-align: start !important; line-height: 1.8; }
.jt-glance__title::before { content: ""; width: 15px; height: 15px; flex: none; 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='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 11l3 3 8-8M20 12v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h9'/%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='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M9 11l3 3 8-8M20 12v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h9'/%3E%3C/svg%3E") center / contain no-repeat; }
.jt-glance ul { margin: 0 !important; padding: 0 !important; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.jt-glance li { display: flex; gap: 10px; margin: 0 !important; font-size: 14.5px; line-height: 1.95; color: var(--ink); }
.jt-glance li::marker { content: none; }
.jt-glance li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 13px; background: var(--gold); transform: rotate(45deg); }
.jt-readmore { margin: 1.4em 0; font-family: var(--font); }
.jt-readmore a { display: flex; flex-direction: column; gap: 2px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink) !important; text-decoration: none !important; transition: border-color .2s, transform .2s; }
.jt-readmore a:hover { border-color: var(--gold); transform: translateY(-2px); }
.jt-readmore__label { font-size: 11.5px; font-weight: 800; color: var(--gold-ink); }
.jt-readmore__label::after { content: " ←"; }
[dir="ltr"] .jt-readmore__label::after { content: " →"; }
.jt-readmore__title { font-size: 15px; line-height: 1.8; font-weight: 800; }
.post-body p.is-style-jt-note { padding: 14px 18px; border-radius: 12px; background: var(--paper2); border: 1px solid var(--line); font-size: .95em; text-align: start; }
.post-body p.is-style-jt-warn { padding: 14px 18px; border-inline-start: 3px solid var(--alert); background: color-mix(in oklab, var(--alert) 7%, transparent); border-start-end-radius: 12px; border-end-end-radius: 12px; font-size: .95em; text-align: start; color: var(--r-ink); }
.post-body p.is-style-jt-small { font-size: .82em; color: var(--ink3); text-align: start; }
.post-body .wp-block-image, .post-body figure.wp-block-embed, .post-body .wp-block-video, .post-body .wp-block-gallery { margin: 1.6em 0; }
.post-body img { border-radius: 16px; }
.post-body .wp-block-image.is-style-jt-framed img { padding: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
.post-body figcaption, .post-body .wp-element-caption { margin-top: 8px; font-size: 12.5px; color: var(--ink3); line-height: 1.9; text-align: start; }
.post-body .wp-block-separator { border: 0; height: 1px; background: var(--line); margin: 2.2em 0; opacity: 1; }
.post-body .wp-block-separator.is-style-jt-diamond { position: relative; overflow: visible; }
.post-body .wp-block-separator.is-style-jt-diamond::after { content: ""; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--gold); transform: rotate(45deg); box-shadow: 0 0 0 6px var(--paper); }
.post-body table { font-family: var(--font); font-size: .88em; }
.post-body .wp-block-table.is-style-jt-clean td, .post-body .wp-block-table.is-style-jt-clean th { border-inline: 0; }
.post-body .wp-block-footnotes { margin-top: 2.4em; padding-top: 1em; border-top: 1px solid var(--line); font-size: .82em; color: var(--ink3); }

/* After the text */
.post-tags { list-style: none; margin: 30px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { display: block; font-size: 12.5px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink2); line-height: 1.6; }
.post-tags a:hover { border-color: var(--gold); color: var(--gold-ink); }
.post-share { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 22px; }
.post-tags + .post-share { margin-top: -8px; }
.post-share__l { font-size: 12px; font-weight: 900; color: var(--ink3); margin-inline-end: 4px; }
.post-share a, .post-share button { display: inline-grid; place-items: center; height: 32px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font-size: 11.5px; font-weight: 700; cursor: pointer; font-family: var(--font); }
.post-share a:hover, .post-share button:hover { border-color: var(--gold); color: var(--gold-ink); }
.post-vote { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); margin-bottom: 18px; }
.post-vote__q { font-size: 14px; font-weight: 800; color: var(--ink); }
.post-vote__btns { display: flex; gap: 8px; }
.post-vote button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink2); font-weight: 800; font-size: 13px; cursor: pointer; font-family: var(--font); }
.post-vote button:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-ink); }
.post-vote button[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: #fff; }
.post-vote button:disabled { cursor: default; }
.post-vote button:disabled:not([aria-pressed="true"]) { opacity: .5; }
.post-pn { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.post-pn__a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink); }
.post-pn__a:hover { border-color: var(--gold); color: var(--ink); }
.post-pn__a--next { text-align: end; }
.post-pn__a--next:only-child { grid-column: -2; }
.post-pn__k { font-size: 11.5px; font-weight: 800; color: var(--gold-ink); }
.post-pn__t { font-size: 14px; line-height: 1.8; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Comments */
.cms { max-width: 1080px; margin: clamp(40px, 6vw, 64px) auto 0; transition: max-width .35s; }
.cms__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.cms__head h2 { margin: 0; font-size: 19px; font-weight: 900; display: flex; align-items: center; gap: 10px; }
.cms__head h2 span { width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.cms__count { font-size: 12px; font-weight: 900; color: var(--gold-ink); padding: 2px 10px; border-radius: 999px; background: var(--gold-soft); }
.cms__rule { flex: 1; height: 1px; background: var(--line); }
.cms__sort { display: flex; gap: 3px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.cms__sort a { display: grid; place-items: center; height: 32px; padding: 0 12px; border-radius: 9px; color: var(--ink2); font-size: 12px; font-weight: 800; }
.cms__sort a[aria-current] { background: var(--ink); color: var(--paper); }
.comment-respond { margin-bottom: 24px; }
.cmf { display: flex; flex-direction: column; gap: 12px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.cmf__replying { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; color: var(--gold-ink); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cmf__replying:not(:empty) a:not([style*="none"]) { font-size: 12px; font-weight: 800; color: var(--ink2); }
.comment-respond:has(#cancel-comment-reply-link:not([style*="none"])) .cmf__replying { padding: 8px 12px; border-radius: 10px; background: var(--gold-soft); }
.cmf__row { display: flex; gap: 12px; align-items: flex-start; }
.cmf__av { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; font-weight: 900; }
.cmf textarea { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); outline: 0; font-size: 14.5px; line-height: 2; resize: vertical; font-family: var(--font); }
.cmf__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding-inline-start: 52px; }
.cmf__meta input { flex: 1 1 160px; min-width: 0; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); outline: 0; font-size: 13.5px; font-family: var(--font); }
.cmf__meta input[type="email"] { flex-basis: 200px; text-align: start; }
.cmf textarea:focus, .cmf__meta input:focus { border-color: var(--gold); }
.cmf__left { font-size: 11.5px; color: var(--ink3); }
.cmf__submit { height: 42px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--gold); color: #fff; font-weight: 800; cursor: pointer; font-family: var(--font); font-size: 14px; }
.cmf__submit:hover { background: var(--gold-ink); }
.comment-form-cookies-consent { padding-inline-start: 52px; font-size: 12px; color: var(--ink3); display: flex; gap: 8px; align-items: center; }
@media (max-width: 479px) { .cmf__meta, .comment-form-cookies-consent { padding-inline-start: 0; } }
.cms__list, .cms__list .children { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.cms__list .children { gap: 10px; margin-top: 10px; margin-inline-start: 20px; padding-inline-start: 32px; border-inline-start: 1.5px solid var(--line); }
.cm__row { display: flex; gap: 12px; align-items: flex-start; }
.cm__av { flex: none; width: 40px; height: 40px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.cm__bubble { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 16px; border-start-start-radius: 4px; background: var(--card); border: 1px solid var(--line); }
.cm__bubble.is-staff { border-color: color-mix(in oklab, var(--gold) 55%, transparent); }
.cm__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 4px; }
.cm__name { font-size: 13.5px; }
.cm__staff { font-size: 10.5px; font-weight: 800; color: #fff; background: var(--gold); padding: 1px 8px; border-radius: 999px; }
.cm__pending { font-size: 10.5px; font-weight: 800; color: var(--ink3); border: 1px dashed var(--line); padding: 1px 8px; border-radius: 999px; }
.cm__ago { font-size: 11.5px; color: var(--ink3); }
.cm__text { font-size: 14px; line-height: 2; color: var(--ink2); text-align: justify; overflow-wrap: anywhere; }
.cm__text p { margin: 0; }
.cm__text p + p { margin-top: .6em; }
.cm__acts { display: flex; gap: 4px; margin-top: 6px; margin-inline-start: -8px; }
.cm__like, .cm__reply { height: 30px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: var(--ink3); font-size: 12px; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font); }
.cm__like:hover, .cm__reply:hover { background: var(--gold-soft); color: var(--gold-ink); }
.cm__like[aria-pressed="true"] { color: var(--gold-ink); }
.cm__like[aria-pressed="true"] svg { fill: currentColor; }
.cm--reply .cm__av { width: 32px; height: 32px; font-size: 12px; }
.cm--reply .cm__bubble { padding: 10px 14px; border-radius: 14px; border-start-start-radius: 4px; background: var(--paper); }
.cm--reply .cm__text { font-size: 13.5px; }
.cms .comment-navigation .nav-links { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.cms .comment-navigation a { display: inline-grid; place-items: center; height: 42px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font-weight: 800; }
.cms__closed { font-size: 13px; color: var(--ink3); }

/* Related */
.post-related { margin-top: clamp(40px, 6vw, 64px); }
.post-related__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.post-related__head h2 { margin: 0; font-size: 19px; font-weight: 900; }
.post-related__head span { flex: 1; height: 1px; background: var(--line); }
.post-related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 18px; }
.rel-card { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink); box-shadow: 0 14px 24px -22px rgb(60 50 20 / .6); transition: transform .25s, border-color .25s; }
.rel-card:hover { transform: translateY(-3px); border-color: var(--gold); color: var(--ink); }
.rel-card__img { flex: none; position: relative; width: 92px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(-45deg, var(--ph1) 0 1px, transparent 1px 10px), var(--ph2); }
.rel-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rel-card__txt { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.rel-card__cat { font-size: 11.5px; font-weight: 800; color: var(--gold-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rel-card__title { font-size: 14px; line-height: 1.8; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rel-card__date { font-size: 11.5px; color: var(--ink3); }
@media print {
	.rbar, .post-topline, .post-share, .post-vote, .post-pn, .cms, .post-related, .jt-copyq, .phero__crumbs, .appbar, .to-top { display: none !important; }
	.post-paper { background: #fff !important; padding: 0 !important; --r-ink: #000; --r-ink2: #111; }
	.phero__box { border: 0; padding: 0; background: none; }
	.phero__strip, .phero__mark { display: none; }
}

/* Translation status page (design: Site Pages › status) */
.sp { padding-top: clamp(20px, 2.6vw, 28px); padding-bottom: 64px; }
.sp__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
@media (min-width: 760px) { .sp__tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.sp__tab { position: relative; overflow: hidden; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: flex; align-items: center; gap: 14px; box-shadow: 0 14px 26px -24px rgb(60 50 20 / .55); transition: border-color .25s, transform .25s, background .25s; }
.sp__tab--queue { border-style: dashed; }
.sp__tab:hover { border-color: var(--gold); transform: translateY(-2px); color: var(--ink); }
.sp__tab[aria-pressed="true"] { border-color: var(--gold); background: var(--gold-soft); }
.sp__tab-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; transition: background .25s, color .25s; }
.sp__tab[aria-pressed="true"] .sp__tab-ic { background: var(--gold); color: #fff; }
.sp__tab-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sp__tab-l { font-size: 12.5px; font-weight: 700; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp__tab-txt b { font-size: 24px; line-height: 1.35; font-weight: 900; }
.sp__tab-share { font-size: 11.5px; font-weight: 800; color: var(--gold-ink); white-space: nowrap; }
@media (max-width: 420px) { .sp__tab { padding: 12px; gap: 10px; } .sp__tab-ic { width: 34px; height: 34px; } .sp__tab-txt b { font-size: 20px; } .sp__tab-share { display: none; } }
.sp__bar { display: flex; height: 8px; border-radius: 8px; overflow: hidden; background: var(--line); margin-bottom: 22px; gap: 2px; }
.sp__bar > span { flex: 0 1 0; transition: flex-grow .5s; }
.sp__bar-done { background: var(--gold); }
.sp__bar-prog { background: color-mix(in oklab, var(--gold) 50%, var(--line)); }
.sp__bar-queue { background: repeating-linear-gradient(-45deg, var(--gold) 0 2px, transparent 2px 6px); }

.sp__tools { position: sticky; top: calc(var(--header-h, 72px) + 8px); z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px; border-radius: 18px; background: var(--head-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line); margin-bottom: 16px; }
.sp__search { flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--gold); }
.sp__search:focus-within { border-color: var(--gold); }
.sp__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; font-family: var(--font); }
.sp__search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.sp__tools select { height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 13px; font-weight: 700; outline: 0; font-family: var(--font); max-width: 100%; }
.sp__tools select:focus { border-color: var(--gold); }
.sp__tools select[hidden] { display: none; }
.sp__views { display: flex; gap: 3px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); }
.sp__views a { height: 36px; padding: 0 12px; border-radius: 9px; color: var(--ink2); display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.sp__views a:hover { color: var(--ink); }
.sp__views a[aria-checked="true"] { background: var(--ink); color: var(--paper); }
.sp__go { height: 42px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--gold); color: #fff; font-weight: 800; cursor: pointer; font-family: var(--font); }
@media (max-width: 559px) { .sp__tools select { flex: 1 1 40%; } .sp__views { flex: 1 1 100%; } .sp__views a { flex: 1; justify-content: center; } }

.sp__count { font-size: 13px; color: var(--ink2); font-weight: 700; margin: 0 4px 10px; }
.sp__list { display: flex; flex-direction: column; gap: 18px; }
.sp__list[hidden], .sp__matrix[hidden], .sp__group[hidden] { display: none; }
.sp__count { margin-bottom: -8px; }
.sp__group { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.sp__ghead { margin: 0; font-size: inherit; }
.sp__ghead button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 0; border-bottom: 1px solid var(--line); background: var(--paper2); color: var(--ink); cursor: pointer; text-align: start; font-family: var(--font); }
.sp__ghead button[aria-expanded="false"] { border-bottom-color: transparent; }
.sp__gmark { width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid var(--gold); flex: none; }
.sp__group--done .sp__gmark { background: var(--gold); }
.sp__group--prog .sp__gmark { background: color-mix(in oklab, var(--gold) 45%, transparent); }
.sp__ghead b { font-size: 14.5px; flex: 1; }
.sp__gnum { font-size: 12px; font-weight: 900; color: var(--gold-ink); padding: 2px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.sp__gchev { color: var(--ink3); transform: rotate(180deg); transition: transform .25s; }
.sp__ghead button[aria-expanded="false"] .sp__gchev { transform: none; }
.sp__gbody[hidden] { display: none; }
.sp__rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sp__rows > li[hidden] { display: none; }
.sp__row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px 18px; border-bottom: 1px solid var(--line); color: var(--ink); transition: background .2s; }
a.sp__row:hover { background: var(--gold-soft); color: var(--ink); }
.sp__ring { position: relative; width: 38px; height: 38px; border-radius: 50%; background: conic-gradient(var(--gold) var(--deg), var(--line) 0); display: grid; place-items: center; }
.sp__ring::before { content: ""; position: absolute; inset: 3.5px; border-radius: 50%; background: var(--card); }
a.sp__row:hover .sp__ring::before { background: var(--gold-soft); }
.sp__ring span { position: relative; font-size: 10px; font-weight: 900; color: var(--gold-ink); }
.sp__group--queue .sp__ring { background: none; border: 1.5px dashed var(--gold); }
.sp__group--queue .sp__ring::before { display: none; }
.sp__rtxt { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.sp__rtitle { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp__rsub { font-size: 12px; color: var(--ink3); display: flex; gap: 6px; flex-wrap: wrap; align-items: center; line-height: 1.8; }
.sp__iso { font-family: ui-monospace, monospace; font-size: 10px; font-weight: 800; color: var(--gold-ink); background: var(--gold-soft); padding: 1px 6px; border-radius: 4px; line-height: 1.6; }
.sp__rdate { text-align: end; font-size: 11.5px; color: var(--ink3); white-space: nowrap; line-height: 1.7; }
.sp__rdate b { display: block; font-size: 12.5px; color: var(--ink2); }
@media (max-width: 479px) { .sp__row { grid-template-columns: 38px minmax(0, 1fr); padding: 10px 14px; } .sp__rdate { grid-column: 2; text-align: start; display: flex; gap: 6px; } .sp__rdate b { display: inline; } }
.sp__more { width: 100%; height: 46px; border: 0; background: transparent; color: var(--gold-ink); font-weight: 800; font-size: 13px; cursor: pointer; font-family: var(--font); }
.sp__more:hover { background: var(--gold-soft); }
.sp__more[hidden], .sp__empty[hidden] { display: none; }
.sp__empty { margin: 0; padding: 22px; text-align: center; font-size: 13px; color: var(--ink3); }

.sp__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: 0 4px 12px; font-size: 12px; color: var(--ink2); }
.sp__legend > span { display: flex; align-items: center; gap: 6px; }
.sp__legend-t { font-weight: 800; color: var(--ink); }
.sp__dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; }
.sp__dot--done { background: var(--gold); }
.sp__dot--prog { background: conic-gradient(var(--gold) 50%, var(--line) 0); }
.sp__dot--queue { border: 1.5px dashed var(--gold); }
.sp__dot--none { width: 5px; height: 5px; background: var(--line); }
.sp__mwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--card); scrollbar-width: thin; }
.sp__table { border-collapse: separate; border-spacing: 0; min-width: 100%; font-size: 12.5px; }
.sp__table thead th { background: var(--paper2); padding: 10px 4px; border-bottom: 1px solid var(--line); min-width: 44px; font-family: ui-monospace, monospace; font-size: 10.5px; font-weight: 800; color: var(--gold-ink); text-align: center; }
.sp__table thead th.is-on { background: var(--gold-soft); color: var(--ink); }
.sp__table abbr { text-decoration: none; cursor: help; }
.sp__table thead .sp__mwork, .sp__table thead .sp__mcov { font-family: var(--font); font-size: 12.5px; font-weight: 900; color: var(--ink); }
.sp__table .sp__mwork { position: sticky; inset-inline-start: 0; z-index: 1; text-align: start; padding: 9px 16px; min-width: 200px; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; background: var(--card); border-bottom: 1px solid var(--line); }
.sp__table thead .sp__mwork { z-index: 2; background: var(--paper2); padding: 12px 16px; }
.sp__table td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: center; }
.sp__table tbody tr:last-child > * { border-bottom: 0; }
.sp__table tr[hidden] { display: none; }
.sp__cell { display: inline-block; vertical-align: middle; width: 26px; height: 26px; border-radius: 50%; transition: transform .2s, opacity .2s; }
a.sp__cell:hover { transform: scale(1.25); }
.sp__cell--done { background: var(--gold); }
.sp__cell--prog { background: conic-gradient(var(--gold) var(--deg), var(--line) 0); }
.sp__cell--queue { border: 1.5px dashed var(--gold); }
.sp__cell--none { background: radial-gradient(circle, var(--line) 0 2.5px, transparent 3px); }
.sp__cell.is-dim { transform: scale(.55); opacity: .7; }
.sp__mcov { padding: 6px 14px !important; white-space: nowrap; }
.sp__cov { display: flex; align-items: center; gap: 8px; }
.sp__cov > span { width: 56px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.sp__cov > span > span { display: block; height: 100%; background: var(--gold); }
.sp__cov b { font-size: 11.5px; color: var(--ink2); }
.sp__mmore { display: flex; justify-content: center; margin-top: 18px; }
.sp__mmore button { height: 44px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--gold); background: var(--card); color: var(--gold-ink); font-weight: 800; cursor: pointer; font-family: var(--font); }
.sp__mmore button:hover { background: var(--gold); color: #fff; }
.sp__mmore button[hidden] { display: none; }

/* Media archive (design: Site Pages › media) */
.md { padding-top: clamp(20px, 2.6vw, 28px); padding-bottom: 64px; transition: opacity .2s; }
.md.is-loading [data-md-body] { opacity: .45; pointer-events: none; }
.md-feat { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: clamp(16px, 3vw, 32px); margin-bottom: 32px; color: var(--ink); }
.md-feat[hidden] { display: none; }
@media (min-width: 820px) { .md-feat { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.md-feat:hover { color: var(--ink); }
.md-feat__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: repeating-linear-gradient(-45deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 12px), var(--tone); box-shadow: 0 24px 40px -28px rgb(0 0 0 / .7); }
.md-feat__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.md-feat:hover .md-feat__img img { transform: scale(1.03); }
.md-feat__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .45), transparent 50%); }
.md-feat__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: rgb(15 14 10 / .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgb(226 215 159 / .5); display: grid; place-items: center; transition: transform .25s; }
.md-feat:hover .md-feat__play { transform: translate(-50%, -50%) scale(1.06); }
.md-feat__dur, .mv-card__dur { position: absolute; bottom: 12px; inset-inline-end: 12px; background: rgb(15 14 10 / .8); color: #efe6c8; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 6px; line-height: 1.6; }
.md-feat__txt { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.md-feat__kind { font-size: 12px; font-weight: 800; color: var(--gold-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.md-feat__title { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.7; font-weight: 900; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.md-feat:hover .md-feat__title { color: var(--gold-ink); }
.md-feat__meta { font-size: 12.5px; color: var(--ink3); }
.md-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.md-kinds { flex: 1 1 auto; min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.md-kinds a { flex: none; display: grid; place-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font-size: 13px; font-weight: 700; transition: border-color .2s, color .2s; }
.md-kinds a:hover { border-color: var(--gold); color: var(--gold-ink); }
.md-kinds a[aria-current] { border-color: var(--gold); background: var(--gold); color: #fff; }
.md-search { flex: 0 1 240px; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--gold); }
.md-search:focus-within { border-color: var(--gold); }
.md-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13.5px; font-family: var(--font); }
@media (max-width: 559px) { .md-search { flex: 1 1 100%; } }
.md-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 26px 18px; }
.mv-card { display: flex; flex-direction: column; gap: 8px; color: var(--ink); }
.mv-card:hover { color: var(--gold-ink); }
.mv-card__img { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: repeating-linear-gradient(-45deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 12px), var(--tone); }
.mv-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.mv-card:hover .mv-card__img img { transform: scale(1.04); }
.mv-card__dur { bottom: 8px; inset-inline-end: 8px; font-size: 11px; padding: 2px 7px; }
.mv-card__title { font-size: 14px; line-height: 1.75; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mv-card__meta { font-size: 11.5px; color: var(--ink3); margin-top: -4px; }
.md-empty { text-align: center; padding: 50px 10px; color: var(--ink3); margin: 0; }
.md-more { display: flex; justify-content: center; margin-top: 32px; }
.md-more a { display: inline-grid; place-items: center; height: 42px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font-weight: 700; }
.md-more a:hover { border-color: var(--gold); color: var(--gold-ink); }

/* Single video (design: Site Pages › video) */
.vd-stage { position: relative; overflow: hidden; padding: clamp(20px, 4vw, 48px) clamp(16px, 4vw, 40px) clamp(22px, 3vw, 34px); background: #0d0c09; color: #efe6c8; }
.vd-stage__glow { position: absolute; inset: -20% 10% 30%; background: var(--tone); filter: blur(90px); opacity: .45; pointer-events: none; }
.vd-stage__in { position: relative; max-width: 1180px; margin: 0 auto; }
.vd-player { position: relative; aspect-ratio: 16 / 9; border-radius: clamp(12px, 1.6vw, 20px); overflow: hidden; background: repeating-linear-gradient(-45deg, rgb(255 255 255 / .05) 0 1px, transparent 1px 12px), var(--tone); box-shadow: 0 50px 100px -40px rgb(0 0 0 / .9); }
.vd-player::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 45%, transparent 35%, rgb(0 0 0 / .45)); pointer-events: none; transition: opacity .3s; }
.vd.is-playing .vd-player::after, .vd-player:has(.vd-player__embed)::after { opacity: 0; }
.vd-player__media, .vd-player__poster, .vd-player__embed, .vd-player__embed iframe, .vd-player__embed > * { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.vd-player__media { object-fit: contain; background: transparent; }
.vd-player__poster { object-fit: cover; }
audio.vd-player__media { top: auto; height: 54px; inset-inline: 16px; bottom: 16px; width: calc(100% - 32px); z-index: 2; }
.vd-player__play { position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%); width: clamp(60px, 7vw, 88px); height: clamp(60px, 7vw, 88px); border-radius: 50%; border: 1px solid rgb(226 215 159 / .6); background: rgb(13 12 9 / .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); cursor: pointer; display: grid; place-items: center; transition: transform .25s, opacity .3s; padding: 0; }
.vd-player__play:hover { transform: translate(-50%, -50%) scale(1.06); }
.vd-player__play .i-pause, .vd.is-playing .vd-player__play .i-play { display: none; }
.vd.is-playing .vd-player__play .i-pause { display: inline; }
.vd.is-playing .vd-player__play { opacity: 0; pointer-events: none; }
.vd.is-playing .vd-player:hover .vd-player__play { opacity: 0; }
.vd-player__time { position: absolute; z-index: 2; top: 14px; inset-inline-start: 16px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: rgb(13 12 9 / .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); color: #efe6c8; line-height: 1.6; }
.vd-chs { display: flex; gap: 4px; margin-top: 16px; }
.vd-ch { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; text-align: start; font-family: var(--font); }
.vd-ch__bar { position: relative; display: block; height: 5px; border-radius: 5px; background: rgb(239 230 200 / .18); overflow: hidden; }
.vd-ch__bar span { position: absolute; inset-block: 0; inset-inline-start: 0; width: 0; background: #c4b468; }
.vd-ch__txt { display: flex; align-items: baseline; gap: 8px; min-width: 0; opacity: .62; transition: opacity .2s; }
.vd-ch:hover .vd-ch__txt, .vd-ch.is-on .vd-ch__txt { opacity: 1; }
.vd-ch__txt b { flex: none; font-size: 11.5px; color: #c4b468; font-family: ui-monospace, monospace; }
.vd-ch__txt span { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 599px) { .vd-chs { overflow-x: auto; scrollbar-width: none; } .vd-ch { flex: 0 0 auto !important; width: 140px; } }
.vd-body { max-width: calc(820px + 2 * clamp(16px, 4vw, 40px)); margin: 0 auto; padding: clamp(28px, 4vw, 48px) clamp(16px, 4vw, 40px) 0; }
.vd-body .breadcrumb ol { margin-bottom: 14px; }
.vd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; font-size: 12.5px; color: var(--ink3); line-height: 1.8; }
.vd-meta__kind { color: var(--gold-ink); font-weight: 900; }
.vd-meta__dia { width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }
.vd-title { margin: 0 0 20px; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.6; font-weight: 900; text-wrap: balance; }
.vd-desc { margin: 0 0 20px; font-size: clamp(16px, 1.3vw, 17.5px); line-height: 2.15; color: var(--ink2); }
.vd-desc p { text-align: justify; text-justify: inter-word; }
.vd-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.vd-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.vd-tags a { display: block; font-size: 12.5px; padding: 4px 11px; border-radius: 999px; background: var(--gold-soft); color: var(--gold-ink); font-weight: 700; line-height: 1.6; }
.vd-tags a:hover { background: var(--gold); color: #fff; }
.vd-share { display: flex; flex-wrap: wrap; gap: 6px; margin-inline-start: auto; }
.vd-share a, .vd-share button { display: inline-grid; place-items: center; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink2); font-size: 12px; font-weight: 700; cursor: pointer; font-family: var(--font); }
.vd-share a:hover, .vd-share button:hover { border-color: var(--gold); color: var(--gold-ink); }
.vd-tr { --tfs: 15.5px; }
.vd-tr[data-fs="0"] { --tfs: 14px; } .vd-tr[data-fs="2"] { --tfs: 17.5px; }
.vd-tr__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 34px 0 8px; }
.vd-tr__head h2 { margin: 0; font-size: 19px; font-weight: 900; }
.vd-tr__sizes { display: flex; gap: 3px; padding: 3px; border-radius: 12px; border: 1px solid var(--line); }
.vd-tr__z { width: 32px; height: 28px; border: 0; border-radius: 9px; background: transparent; color: var(--ink2); font-weight: 900; cursor: pointer; padding: 0; font-family: var(--font); }
.vd-tr__z--0 { font-size: 12px; } .vd-tr__z--1 { font-size: 14px; } .vd-tr__z--2 { font-size: 16px; }
.vd-tr__z[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.vd-tr__box { position: relative; overflow: hidden; transition: max-height .5s; }
.js .vd-tr__box.is-closed { max-height: 260px; }
.js .vd-tr__box.is-closed::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 120px; background: linear-gradient(to top, var(--paper), transparent); pointer-events: none; }
.vd-tr__line { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; padding: 14px 0; }
.vd-tr__ts { align-self: start; margin-top: 4px; height: 26px; border: 0; border-radius: 8px; background: var(--gold-soft); color: var(--gold-ink); font-family: ui-monospace, monospace; font-size: 11.5px; font-weight: 800; cursor: pointer; }
.vd-tr__ts:hover { background: var(--gold); color: #fff; }
.vd-tr__who { font-size: 12px; font-weight: 900; color: var(--ink3); margin-bottom: 2px; }
.vd-tr__line p { margin: 0; font-size: var(--tfs); line-height: 2.1; color: var(--ink); text-align: justify; }
.vd-tr__toggle { display: flex; justify-content: center; margin-top: 6px; }
.vd-tr__toggle[hidden] { display: none; }
.vd-tr__toggle button { height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--gold-ink); font-weight: 800; font-size: 13px; cursor: pointer; font-family: var(--font); }
.vd-tr__toggle button:hover { border-color: var(--gold); }
.vd-next { max-width: calc(1180px + 2 * clamp(16px, 4vw, 40px)); margin: clamp(44px, 6vw, 72px) auto 0; padding: 0 clamp(16px, 4vw, 40px) 64px; }
.vd-next__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.vd-next__head h2 { margin: 0; font-size: 17px; font-weight: 900; }
.vd-next__head a { font-size: 12.5px; font-weight: 800; color: var(--gold-ink); display: flex; gap: 6px; }
.vd-next__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.vd-next__rail > * { scroll-snap-align: start; }
@media (min-width: 1000px) { .vd-next__rail { grid-auto-columns: calc((100% - 48px) / 4); } }

/* About (design: Site Pages › about) */
.ab { padding-top: clamp(20px, 2.6vw, 28px); padding-bottom: 64px; }
.ab-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 900px) { .ab-intro { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); } }
.ab-intro__txt { min-width: 0; }
.ab-kicker { margin: 0 0 14px; font-size: 12.5px; font-weight: 800; color: var(--gold-ink); display: flex; align-items: center; gap: 10px; }
.ab-kicker span { width: 28px; height: 1px; background: var(--gold); }
.ab-lead { margin: 0 0 18px; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.95; font-weight: 800; color: var(--ink); text-wrap: pretty; }
.ab-body { font-size: 15.5px; line-height: 2.15; color: var(--ink2); max-width: 62ch; }
.ab-body p { text-align: justify; text-justify: inter-word; margin: 0 0 1em; }
.ab-mark { position: relative; aspect-ratio: 1; max-width: 340px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.ab-mark__o { position: absolute; inset: 6%; transform: rotate(45deg); border: 1px solid var(--gold); border-radius: 28px; opacity: .5; }
.ab-mark__i { position: absolute; inset: 17%; transform: rotate(45deg); background: var(--gold-soft); border-radius: 22px; }
.ab-mark img { position: relative; width: 52%; height: auto; }
.ab-orbit { position: absolute; transform: translate(-50%, -50%); font-size: 12px; font-weight: 800; color: var(--gold-ink); background: var(--card); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 16px -12px rgb(60 50 20 / .5); line-height: 1.7; }
.ab-head { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.ab-head h2 { margin: 0; font-size: 20px; font-weight: 900; }
.ab-head span { flex: 1; height: 1px; background: var(--line); }
.ab-steps { list-style: none; margin: 0 0 clamp(40px, 6vw, 64px); padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.ab-steps li { position: relative; display: flex; flex-direction: row; gap: 14px 18px; padding: 0 0 22px; }
.ab-steps__line { position: absolute; top: 44px; bottom: 0; inset-inline-start: 21.5px; width: 1px; background: linear-gradient(to bottom, var(--gold), var(--line)); }
.ab-steps li:last-child .ab-steps__line { display: none; }
.ab-steps__n { position: relative; flex: none; width: 44px; height: 44px; display: grid; place-items: center; }
.ab-steps__n span { position: absolute; inset: 6px; transform: rotate(45deg); border: 1px solid var(--gold); background: var(--paper); border-radius: 5px; }
.ab-steps__n b { position: relative; font-weight: 900; color: var(--gold-ink); }
.ab-steps__txt { display: flex; flex-direction: column; gap: 4px; padding-inline-end: 16px; }
.ab-steps__txt b { font-size: 16px; }
.ab-steps__txt span { font-size: 13.5px; line-height: 2; color: var(--ink2); }
@media (min-width: 900px) {
	.ab-steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
	.ab-steps li { flex-direction: column; padding: 0; }
	.ab-steps__line { top: 22px; bottom: auto; inset-inline-start: 44px; inset-inline-end: 0; width: auto; height: 1px; background: linear-gradient(to left, var(--gold), var(--line)); }
	[dir="ltr"] .ab-steps__line { background: linear-gradient(to right, var(--gold), var(--line)); }
	.ab-steps li:last-child .ab-steps__line { display: block; }
}
.ab-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: clamp(20px, 3vw, 30px) clamp(20px, 3.5vw, 36px); border-radius: 20px; background: var(--ink); color: var(--paper); }
.ab-cta:hover { color: var(--paper); }
.ab-cta__txt { display: flex; flex-direction: column; gap: 4px; }
.ab-cta__txt b { font-size: clamp(17px, 2vw, 21px); }
.ab-cta__txt span { font-size: 13.5px; opacity: .75; }
.ab-cta__btn { height: 46px; padding: 0 24px; border-radius: 999px; background: var(--gold); color: #fff; font-weight: 800; display: flex; align-items: center; gap: 8px; transition: background .2s; }
.ab-cta:hover .ab-cta__btn { background: var(--gold-ink); }

/* Contact (design: Site Pages › contact) */
.ct { padding-top: clamp(20px, 2.6vw, 28px); padding-bottom: 64px; }
.ct-intro { max-width: 820px; margin-bottom: 22px; font-size: 15px; line-height: 2.1; color: var(--ink2); }
.ct-grid { display: flex; flex-wrap: wrap; gap: 28px; align-items: stretch; }
.ct-form { flex: 1.4 1 460px; min-width: 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; scroll-margin-top: 140px; }
.ct-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ct-f { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink2); }
.ct-f--wide { grid-column: 1 / -1; }
.ct-f input, .ct-f select, .ct-f textarea { height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); outline: 0; font-size: 14.5px; font-family: var(--font); font-weight: 400; transition: border-color .2s; }
.ct-f input[dir="ltr"] { text-align: start; }
[dir="rtl"] .ct-f input[dir="ltr"] { text-align: right; }
.ct-f select { padding: 0 12px; }
.ct-f textarea { height: auto; padding: 12px 14px; line-height: 2; resize: vertical; }
.ct-f input:focus, .ct-f select:focus, .ct-f textarea:focus { border-color: var(--gold); }
.ct-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ct-msg { font-size: 13px; color: var(--ink3); }
.ct-msg.is-ok { color: var(--accent-2); }
.ct-msg.is-bad { color: var(--alert); }
.ct-foot button { height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--gold); color: #fff; font-weight: 800; cursor: pointer; font-family: var(--font); font-size: 14.5px; }
.ct-foot button:hover { background: var(--gold-ink); }
.ct-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.ct-card { padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.ct-card__k { font-size: 12px; color: var(--ink3); font-weight: 700; margin-bottom: 4px; }
.ct-card__v { display: block; font-size: 15px; font-weight: 800; line-height: 1.9; color: var(--ink); text-align: start; }
[dir="rtl"] .ct-card__v[dir="ltr"] { text-align: right; }
a.ct-card__v:hover { color: var(--gold-ink); }
.ct-map { flex: 1; min-height: 220px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--ph2); }
.ct-map iframe { display: block; width: 100%; height: 100%; min-height: 220px; border: 0; }

/* Search results (design: Site Pages › search) */
.sr { max-width: calc(860px + 2 * clamp(16px, 4vw, 40px)); padding-top: clamp(20px, 2.6vw, 28px); padding-bottom: 64px; }
.sr-form { display: flex; align-items: center; gap: 14px; height: 62px; padding: 0 8px 0 20px; padding-inline: 20px 8px; border-radius: 18px; border: 1px solid var(--gold); background: var(--card); box-shadow: var(--shadow); color: var(--gold); }
.sr-form input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 18px; font-family: var(--font); }
.sr-form input::-webkit-search-cancel-button { -webkit-appearance: none; }
.sr-form button { flex: none; height: 46px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--gold); color: #fff; font-weight: 800; cursor: pointer; font-family: var(--font); }
.sr-form button:hover { background: var(--gold-ink); }
@media (max-width: 479px) { .sr-form { height: 56px; padding-inline: 14px 6px; } .sr-form input { font-size: 16px; } .sr-form button { padding: 0 14px; } }
.sr-count { font-size: 13px; color: var(--ink3); margin: 20px 4px 10px; }
.sr-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sr-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); }
.sr-item:hover { color: var(--gold-ink); }
.sr-item__type { flex: none; margin-top: 4px; font-size: 11px; font-weight: 800; color: var(--gold-ink); background: var(--gold-soft); padding: 3px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.7; }
.sr-item__txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sr-item__title { font-size: 16.5px; line-height: 1.8; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-item__sub { font-size: 12.5px; color: var(--ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-item__ex { font-size: 13.5px; line-height: 2; color: var(--ink2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-item mark { background: color-mix(in oklab, var(--gold) 32%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.sr-none { text-align: center; padding: 50px 12px; }
.sr-none .dia { display: block; margin: 0 auto 16px; }
.sr-none__t { font-size: 18px; font-weight: 800; margin: 0 0 6px; }
.sr-none__h { font-size: 13.5px; color: var(--ink3); margin: 0; }

/* 404 (design: Site Pages › 404) */
.nf { text-align: center; padding-top: clamp(30px, 8vw, 90px); padding-bottom: clamp(48px, 8vw, 96px); }
.nf-mark { position: relative; width: 180px; height: 180px; margin: 0 auto 26px; display: grid; place-items: center; }
.nf-mark__o { position: absolute; inset: 26px; transform: rotate(45deg); border: 1.5px solid var(--gold); border-radius: 14px; }
.nf-mark__i { position: absolute; inset: 46px; transform: rotate(45deg); background: var(--gold-soft); border-radius: 10px; }
.nf-mark b { position: relative; font-size: 44px; font-weight: 900; color: var(--gold-ink); }
.nf-title { font-size: clamp(24px, 3vw, 34px); font-weight: 900; margin: 0 0 10px; }
.nf-text { margin: 0 auto 26px; max-width: 46ch; font-size: 15px; line-height: 2; color: var(--ink2); }
.nf-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.nf-btn { height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); font-weight: 700; display: flex; align-items: center; transition: border-color .2s, background .2s, color .2s; }
.nf-btn:hover { border-color: var(--gold); color: var(--ink); }
.nf-btn--main { padding: 0 24px; border-color: var(--ink); background: var(--ink); color: var(--paper); font-weight: 800; }
.nf-btn--main:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Join (design: Site Pages › join) */
.jn { max-width: calc(820px + 2 * clamp(16px, 4vw, 40px)); padding-top: clamp(20px, 2.6vw, 28px); padding-bottom: 64px; }
.jn-intro { margin-bottom: 22px; font-size: 15px; line-height: 2.1; color: var(--ink2); }
.jn-steps { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.jn-steps li { display: flex; flex-direction: column; gap: 8px; }
.jn-steps span { height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.jn-steps b { font-size: 12.5px; font-weight: 800; color: var(--ink3); transition: color .3s; }
.jn-steps li.is-on span { background: var(--gold); }
.jn-steps li.is-on b { color: var(--gold-ink); }
.no-js .jn-steps { display: none; }
.jn-box { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); scroll-margin-top: 140px; }
.jn-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.jn-step[hidden] { display: none; }
.no-js .jn-step + .jn-step { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.jn-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.jn-l { display: block; margin: 0 0 10px; padding: 0; font-size: 13px; font-weight: 800; color: var(--ink2); }
.jn-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.jn-chips:last-child { margin-bottom: 0; }
.jn-chip { position: relative; cursor: pointer; }
.jn-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.jn-chip span { display: block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink2); font-size: 13px; font-weight: 700; line-height: 1.6; transition: all .2s; }
.jn-chip:hover span { border-color: var(--gold); }
.jn-chip input:checked + span { background: var(--gold); border-color: var(--gold); color: #fff; }
.jn-chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.jn-mb { margin-bottom: 16px; }
.jn-file { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 120px; border: 1.5px dashed var(--gold); border-radius: 14px; background: var(--gold-soft); cursor: pointer; color: var(--gold-ink); font-size: 13.5px; font-weight: 700; text-align: center; padding: 16px; }
.jn-file small { font-size: 12px; color: var(--ink3); font-weight: 500; }
.jn-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.jn-file:focus-within { outline: 2px solid var(--gold); outline-offset: 2px; }
.jn-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 26px; }
.no-js .jn-nav { justify-content: flex-end; }
.jn-btn { height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink2); font-weight: 700; cursor: pointer; font-family: var(--font); font-size: 14px; display: inline-flex; align-items: center; }
.jn-btn:disabled { opacity: .4; cursor: default; }
.jn-btn[hidden] { display: none; }
.jn-btn--main { padding: 0 26px; border: 0; background: var(--gold); color: #fff; font-weight: 800; margin-inline-start: auto; }
.jn-btn--main:hover { background: var(--gold-ink); color: #fff; }
.jn-err { margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; background: color-mix(in oklab, var(--alert) 8%, transparent); color: var(--alert); font-size: 13px; font-weight: 700; }
.jn-done { text-align: center; padding: 40px 20px; }
.jn-done__mark { display: block; width: 18px; height: 18px; background: var(--gold); transform: rotate(45deg); margin: 0 auto 18px; }
.jn-done__t { font-size: 20px; font-weight: 900; margin: 0 0 8px; }
.jn-done__d { font-size: 14px; color: var(--ink2); line-height: 2; margin: 0 0 22px; }
.jn-done .jn-btn--main { margin: 0 auto; }

/* 9. Article */
.page-head, .entry-header { padding-block: clamp(20px, 4vw, 44px) clamp(18px, 3vw, 28px); }
.entry-kicker { font-size: .95rem; font-weight: 700; color: var(--gold-ink); margin-block-end: 6px; }
.entry-title, .page-head__title { font-size: var(--fs-xxl); font-weight: 900; line-height: 1.5; }
.entry-lead { margin-block-start: 14px; font-size: clamp(1.06rem, 1.6vw, 1.2rem); line-height: 2.1; color: var(--ink-2); }
.entry-meta { margin-block-start: 16px; }
.entry-figure { margin-block: 0 clamp(20px, 3vw, 32px); }
.entry-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-l); }
.entry-figure figcaption { margin-block-start: 8px; font-size: var(--fs-s); color: var(--ink-3); }
.entry-footer { display: grid; gap: 22px; padding-block: 28px var(--section); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share__label { font-size: var(--fs-s); font-weight: 800; color: var(--ink-3); }
.post-navigation .nav-links { display: grid; gap: 12px; }
@media (min-width: 640px) { .post-navigation .nav-links { grid-template-columns: 1fr 1fr; } .post-navigation .nav-next { text-align: end; } }
.post-navigation a { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--card); color: var(--ink); }
.post-navigation a:hover { border-color: var(--gold); }
.post-nav__label { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-s); color: var(--ink-3); }
.post-navigation .nav-next .post-nav__label { justify-content: flex-end; }
.post-nav__title { font-weight: 800; line-height: 1.8; }

.reading-bar { position: sticky; top: var(--header-h); z-index: 40; margin-block-end: 24px; background: var(--head-bg); border-block-end: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.admin-bar .reading-bar { top: calc(var(--header-h) + 32px); }
.reading-bar__inner { display: flex; align-items: center; gap: 8px; min-height: 48px; }
.reading-bar__left { flex: none; font-size: .8rem; font-weight: 800; color: var(--gold-ink); white-space: nowrap; padding-inline-end: 10px; border-inline-end: 1px solid var(--line); }
.reading-bar__toc { flex: 1; min-width: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.reading-bar__toc a { flex: none; display: flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 10px; border-radius: var(--r-s); font-size: .85rem; color: var(--ink-3); white-space: nowrap; }
.reading-bar__toc a[aria-current] { background: var(--gold-soft); color: var(--ink); font-weight: 700; }
.reading-bar__top { width: 36px; height: 36px; }
.reading-bar__progress { position: absolute; inset-inline: 0; bottom: -1px; height: 2px; }
.reading-bar__progress span { display: block; height: 100%; width: 0; background: var(--gold); }
@media (max-width: 479px) { .reading-bar__left { display: none; } }

/* 10. Gutenberg content */
.entry-content { font-size: clamp(1rem, .96rem + .25vw, 1.125rem); line-height: 2.15; color: var(--ink); overflow-wrap: break-word; }
.entry-content > * + * { margin-block-start: 1.4em; }
.entry-content p { text-align: justify; text-justify: inter-word; text-wrap: pretty; }
.entry-content h2 { font-size: var(--fs-l); margin-block-start: 2em; }
.entry-content h3 { font-size: 1.15rem; margin-block-start: 1.8em; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; }
.entry-content li + li { margin-block-start: .4em; }
.entry-content li::marker { color: var(--gold); }
.entry-content blockquote, .wp-block-quote { margin-inline: 0; padding: 18px 22px; border-inline-start: 3px solid var(--gold); background: var(--card); border-radius: var(--r-s); font-size: 1.08em; }
.wp-block-quote cite, .wp-block-pullquote cite { display: block; margin-block-start: 8px; font-size: var(--fs-s); color: var(--ink-3); font-style: normal; }
.wp-block-pullquote { padding: 24px 0; border-block: 1px solid var(--line); text-align: center; }
.wp-block-image figcaption, .wp-block-embed figcaption, .wp-block-gallery figcaption, .wp-block-video figcaption, .wp-block-table figcaption { margin-block-start: 8px; font-size: var(--fs-s); color: var(--ink-3); text-align: center; }
.entry-content img { border-radius: var(--r-m); }
.entry-content .alignwide { margin-inline: calc(-1 * max(0px, min(120px, (100vw - var(--w-read)) / 2 - var(--gutter)))); max-width: none; }
.entry-content .alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.entry-content .alignfull img { border-radius: 0; }
.alignleft { float: left; margin-inline-end: 1.5em; max-width: 50%; }
.alignright { float: right; margin-inline-start: 1.5em; max-width: 50%; }
.aligncenter { margin-inline: auto; }
@media (max-width: 639px) { .alignleft, .alignright { float: none; margin-inline: 0; max-width: 100%; } }
.wp-block-table { overflow-x: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95em; line-height: 1.9; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: start; vertical-align: top; }
.entry-content thead th { background: var(--gold-soft); font-weight: 800; }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--paper-2); }
.wp-block-gallery { gap: 12px; }
.wp-block-embed__wrapper iframe, .wp-block-video video { width: 100%; border-radius: var(--r-m); }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.wp-block-code, .entry-content pre { direction: ltr; text-align: left; overflow-x: auto; padding: 16px; border-radius: var(--r-s); background: var(--paper-2); font-size: .9em; line-height: 1.7; }
.wp-block-button__link { padding: 10px 24px; }
.wp-block-footnotes { font-size: var(--fs-s); color: var(--ink-2); border-block-start: 1px solid var(--line); padding-block-start: 1em; }
.entry-content sup.fn a { text-decoration: none; font-weight: 700; }
.page-links { display: flex; gap: 6px; flex-wrap: wrap; }

/* Book & event */
.book-hero { padding-block: clamp(20px, 4vw, 44px) clamp(24px, 4vw, 40px); }
.book-hero__grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 768px) { .book-hero__grid { grid-template-columns: minmax(200px, 320px) minmax(0, 1fr); } }
.book-cover { margin: 0; max-width: 320px; aspect-ratio: 2 / 3; border-radius: 8px var(--r-m) var(--r-m) 8px; overflow: hidden; background: var(--ph); box-shadow: 0 30px 60px -30px rgb(40 32 10 / .55); }
.book-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-hero__info { display: grid; gap: 16px; align-content: start; }
.book-hero__subtitle { font-size: 1.1rem; color: var(--ink-2); font-weight: 600; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden; background: var(--line); }
.facts > div { padding: 12px 14px; background: var(--card); }
.facts dt { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--ink-3); }
.facts dd { margin: 0; font-weight: 700; line-height: 1.8; }
.facts--box { margin-block-start: 18px; }

/* 11. Listing & pages */
.page-head__desc { margin-block-start: 10px; color: var(--ink-2); max-width: 70ch; }
.page-head__search { margin-block-start: 16px; max-width: 640px; }
.listing { padding-block-end: var(--section); }
.error-404 { display: grid; justify-items: center; gap: 14px; padding-block: clamp(40px, 8vw, 96px) var(--section); text-align: center; }
.error-404__code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 900; line-height: 1; color: var(--gold); letter-spacing: .04em; }
.error-404__title { font-size: var(--fs-xl); }
.error-404__text { max-width: 56ch; color: var(--ink-2); }
.error-404__search { width: min(560px, 100%); }
.error-404 .chips { justify-content: center; }

.comments { padding-block-end: var(--section); }
.comments__title, .comment-reply-title { font-size: var(--fs-l); margin-block-end: 16px; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { padding-inline-start: clamp(16px, 4vw, 40px); }
.comment-body { padding: 16px 0; border-block-end: 1px solid var(--line); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: var(--fs-s); color: var(--ink-3); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-content { margin-block: 8px; }
.comment-form { display: grid; gap: 14px; }
.comment-form label { display: block; font-size: var(--fs-s); font-weight: 700; margin-block-end: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--card); }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--gold); outline: none; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* 12. Footer & app chrome */
.ft { background: var(--pn-bg); color: var(--pn-ink2); position: relative; border-top: 1px solid var(--pn-line); }
.ft__inner { max-width: 1440px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 40px) 0; }
.ft__top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding-bottom: 24px; border-bottom: 1px solid var(--pn-line); }
.ft__logo { width: 128px; flex: none; height: auto; }
.ft__about { flex: 1 1 320px; min-width: 0; margin: 0; font-size: 13.5px; line-height: 2.05; text-align: justify; text-justify: inter-word; padding-inline-start: clamp(0px, 3vw, 32px); border-inline-start: 1px solid var(--pn-line); }
.ft__contact { flex: 0 1 260px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-style: normal; line-height: 1.8; }
.ft__contact > span { display: flex; align-items: center; gap: 9px; }
.ft__contact svg { flex: none; color: var(--pn-gold); }
.ft__phone { color: var(--pn-ink); }
.ft__mail { color: var(--pn-gold-ink); }
.ft__mid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 16px 0; border-bottom: 1px solid var(--pn-line); }
.ft__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.ft__sections, .ft__links, .ft__social-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.ft__sections a { color: var(--pn-ink); font-size: 13.5px; font-weight: 700; }
.ft__links a { color: var(--pn-ink2); font-size: 13px; }
.ft__sections a:hover, .ft__links a:hover { color: var(--pn-gold-ink); }
.ft__dot { width: 4px; height: 4px; background: var(--pn-gold); transform: rotate(45deg); opacity: .7; }
.ft__social-list { gap: 6px; }
.ft__social-list a { display: block; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--pn-line); color: var(--pn-ink2); line-height: 1.6; transition: all .2s; }
.ft__social-list a:hover { background: var(--pn-gold); border-color: var(--pn-gold); color: var(--pn-on-gold); }
.ft__bottom { margin: 0; padding: 14px 0 18px; font-size: 12px; color: var(--pn-ink3); }

.to-top { position: fixed; bottom: 24px; inset-inline-end: 18px; z-index: 30; width: 48px; height: 48px; display: grid; place-items: center; }
.to-top__diamond { position: absolute; width: 36px; height: 36px; background: var(--gold); transform: rotate(45deg); border-radius: 6px; box-shadow: var(--shadow); }
.to-top svg { position: relative; }
.js .to-top { opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.js .to-top.is-visible { opacity: 1; visibility: visible; }
.no-js .to-top { position: static; margin: 0 auto 18px; }

.appbar { display: none; }
.sheet[hidden] { display: none; }
@media (max-width: 759px) {
	body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
	.to-top { bottom: calc(88px + env(safe-area-inset-bottom)); }
	.appbar { position: fixed; z-index: 45; inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); height: 64px; border-radius: 22px; background: var(--head-bg); backdrop-filter: saturate(1.5) blur(16px); -webkit-backdrop-filter: saturate(1.5) blur(16px); border: 1px solid var(--line); box-shadow: 0 14px 34px -14px rgb(40 32 10 / .4); display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0 4px; }
}
.appbar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ink2); min-height: 44px; }
.appbar__item:hover { color: var(--gold-ink); }
.appbar__ico { width: 40px; height: 26px; border-radius: 999px; display: grid; place-items: center; transition: background .25s; }
.appbar__item.is-on { color: var(--gold-ink); }
.appbar__item.is-on .appbar__ico { background: var(--gold-soft); }
.appbar__label { font-size: 10.5px; font-weight: 700; white-space: nowrap; line-height: 1.4; }
.sheet { position: fixed; inset: 0; z-index: 90; background: rgb(18 16 10 / .5); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); display: flex; align-items: flex-end; }
.sheet__panel { width: 100%; background: var(--card); border-radius: 24px 24px 0 0; border-top: 1px solid var(--line); padding: 10px 18px calc(22px + env(safe-area-inset-bottom)); box-shadow: 0 -20px 50px -20px rgb(0 0 0 / .4); }
.sheet__handle { display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 16px; }
.sheet__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sheet__grid a { min-height: 52px; display: grid; place-items: center; text-align: center; padding: 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font-size: 13px; font-weight: 700; line-height: 1.6; }

.so { position: fixed; inset: 0; z-index: 100; background: rgb(18 16 10 / .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: 10vh 16px 16px; }
.so[hidden] { display: none; }
.so__panel { width: 100%; max-width: 720px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 40px 80px -30px rgb(0 0 0 / .6); overflow: hidden; }
.so__head { display: flex; align-items: center; gap: 14px; padding: 0 20px; border-bottom: 1px solid var(--line); background-image: var(--girih); }
.so__head svg { flex: none; color: var(--gold); }
.so__head input { flex: 1; min-width: 0; height: 66px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 19px; }
.so__head input::-webkit-search-cancel-button { display: none; }
.so__esc { flex: none; font-size: 11px; border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; color: var(--ink3); font-family: ui-monospace, monospace; background: transparent; cursor: pointer; }
.so__body { max-height: 58vh; overflow-y: auto; padding: 10px; }
.so__pop { padding: 14px 12px 18px; }
.so__pop p { font-size: 12.5px; color: var(--ink3); margin-bottom: 12px; }
.so__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.so__chips button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; font-size: 14px; line-height: 1.6; }
.so__chips button:hover { border-color: var(--gold); color: var(--gold-ink); }
.so__count { font-size: 12.5px; color: var(--ink3); padding: 8px 12px 10px; }
.so__res { display: flex; gap: 14px; align-items: flex-start; padding: 12px; border-radius: 12px; color: var(--ink); }
.so__res.is-active, .so__res:hover { background: var(--gold-soft); color: var(--ink); }
.so__type { flex: none; margin-top: 4px; font-size: 11px; font-weight: 700; color: var(--gold-ink); background: var(--gold-soft); padding: 3px 9px; border-radius: 999px; white-space: nowrap; line-height: 1.6; }
.so__res.is-active .so__type { background: var(--card); }
.so__res-txt { flex: 1; min-width: 0; }
.so__res-title { display: block; font-size: 16px; line-height: 1.8; font-weight: 600; }
.so__res-title mark { background: color-mix(in oklab, var(--gold) 32%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.so__res-sub { display: block; font-size: 12.5px; color: var(--ink3); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so__res-arrow { flex: none; align-self: center; color: var(--gold); font-size: 14px; opacity: 0; }
.so__res.is-active .so__res-arrow { opacity: 1; }
.so__none { padding: 40px 12px; text-align: center; }
.so__none .dia { display: block; margin: 0 auto 16px; }
.so__none-t { font-size: 18px; margin-bottom: 6px; }
.so__none-h { font-size: 13.5px; color: var(--ink3); }
.so__foot { display: flex; flex-wrap: wrap; gap: 16px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink3); background: var(--paper); }
.so__foot kbd { font-family: ui-monospace, monospace; border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; }

/* Very large screens: scale the whole layout like the design */
@media (min-width: 1920px) { body { zoom: 1.2; } }
@media (min-width: 2240px) { body { zoom: 1.4; } }
@media (min-width: 2560px) { body { zoom: 1.6; } }
@media (min-width: 3200px) { body { zoom: 2; } }

/* 13. Motion & print */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print {
	.site-header, .site-footer, .reading-bar, .share, .post-navigation, .related, .comments, .to-top, .skip-link { display: none !important; }
	body { background: #fff; color: #000; }
	.entry-content a::after { content: " (" attr(href) ")"; font-size: .8em; }
}
