/*
 * Something Historic: cinematic theme styles (loaded after GeneratePress).
 *
 * Dark by default, with a parchment light mode. Logical properties are
 * used throughout so Urdu (RTL) pages mirror cleanly.
 */

/* Design tokens ---------------------------------------------------------- */

:root {
	/* Light (parchment) */
	--sh-bg: #f4ecd8;
	--sh-bg-2: #ece1c6;
	--sh-surface: #fbf6ea;
	--sh-surface-2: #e9dcbc;
	--sh-text: #2b2118;
	--sh-muted: #6f5d4a;
	--sh-border: #d8c49c;
	--sh-accent: #a67c2d;
	--sh-accent-strong: #7a5a1e;
	--sh-on-accent: #fff;
	--sh-link: #7a4b22;
	--sh-header-solid: rgb(244 236 216 / 96%);
	--sh-header-text: var(--sh-text);
	--sh-shadow: 0 1px 2px rgb(43 33 24 / 8%), 0 12px 32px rgb(43 33 24 / 14%);

	/* Always-dark surfaces (billboards) */
	--sh-cinema: #0b0806;
	--sh-cinema-text: #fff;
	--sh-gold: #e2b85c;

	--sh-font-ui: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--sh-font-heading: "Playfair Display", Georgia, "Times New Roman", serif;
	--sh-font-body: Lora, Georgia, "Times New Roman", serif;
	--sh-line-height: 1.8;
	--sh-reading-width: 44rem;
	--sh-max: 1440px;
	--sh-gutter: clamp(16px, 4vw, 56px);
	--sh-header-h: 76px;
	--sh-logo-h: 52px;
	/* Most logos have a mark above the wordmark; lift the image slightly so
	   the wordmark, not the whole image, lines up with the menu. */
	--sh-logo-shift: -8px;
	--sh-radius: 10px;
	--sh-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	/* GeneratePress global colours */
	--contrast: var(--sh-text);
	--contrast-2: var(--sh-muted);
	--contrast-3: var(--sh-border);
	--base: var(--sh-surface-2);
	--base-2: var(--sh-bg);
	--base-3: var(--sh-surface);
	--accent: var(--sh-accent-strong);

	color-scheme: light;
}

:root[data-theme="dark"] {
	--sh-bg: #0d0a07;
	--sh-bg-2: #15100b;
	--sh-surface: #1b150f;
	--sh-surface-2: #261e16;
	--sh-text: #f2e9d8;
	--sh-muted: #b4a48a;
	--sh-border: rgb(242 233 216 / 12%);
	--sh-accent: #d6a84c;
	--sh-accent-strong: #ecc472;
	--sh-on-accent: #1a1208;
	--sh-link: #ecc472;
	--sh-header-solid: rgb(13 10 7 / 94%);
	--sh-header-text: #f2e9d8;
	--sh-shadow: 0 1px 2px rgb(0 0 0 / 40%), 0 16px 40px rgb(0 0 0 / 50%);

	color-scheme: dark;
}

@media (max-width: 768px) {
	:root { --sh-header-h: 62px; }
}

/* Base ------------------------------------------------------------------- */

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sh-header-h) + 16px); }

body,
body.sh-cinema {
	margin: 0;
	background: var(--sh-bg);
	color: var(--sh-text);
	font-family: var(--sh-font-body);
	font-size: 17px;
	line-height: var(--sh-line-height);
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--sh-font-heading);
	color: inherit;
	font-weight: 700;
	line-height: 1.2;
}

a { color: var(--sh-link); text-underline-offset: 0.18em; }
a:hover, a:focus { color: var(--sh-accent-strong); }

img { max-width: 100%; height: auto; }

::selection { background: var(--sh-accent); color: var(--sh-on-accent); }

:focus-visible { outline: 2px solid var(--sh-accent); outline-offset: 3px; border-radius: 4px; }

hr { background-color: var(--sh-border); border: 0; height: 1px; }

.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:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	width: auto;
	z-index: 100000;
	inset-block-start: 8px;
	inset-inline-start: 8px;
	padding: 10px 16px;
	background: var(--sh-accent);
	color: var(--sh-on-accent);
	font-family: var(--sh-font-ui);
	border-radius: 6px;
}

/* GeneratePress containers: this theme draws its own page frame. */

body .site,
body .site-content,
body.one-container .site-content,
body.separate-containers .site-content {
	display: block;
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	color: inherit;
}

.sh-main { display: block; min-height: 60vh; }

.sh-container {
	max-width: var(--sh-max);
	margin-inline: auto;
	padding-inline: var(--sh-gutter);
}

.sh-dot {
	display: inline-block;
	width: 4px;
	height: 4px;
	margin-inline: 0.6em;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.6;
	vertical-align: middle;
}

.sh-i { flex: none; display: inline-block; vertical-align: middle; }
.rtl .sh-i--prev,
.rtl .sh-i--next { transform: scaleX(-1); }

.sh-section-title {
	margin: 0 0 0.8em;
	font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.sh-empty { color: var(--sh-muted); font-style: italic; }

/* Buttons ---------------------------------------------------------------- */

.sh-btn,
.sh-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 48px;
	padding: 0.65em 1.6em;
	border: 0;
	border-radius: 6px;
	font-family: var(--sh-font-ui);
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, transform 0.2s var(--sh-ease), color 0.2s;
}

.sh-btn--primary,
.sh-button {
	background: var(--sh-gold);
	color: #1a1208;
}

.sh-btn--primary:hover,
.sh-btn--primary:focus,
.sh-button:hover,
.sh-button:focus {
	background: #f0cd7c;
	color: #1a1208;
	transform: translateY(-1px);
}

.sh-btn--ghost {
	background: rgb(255 255 255 / 16%);
	color: #fff;
	backdrop-filter: blur(6px);
}

.sh-btn--ghost:hover,
.sh-btn--ghost:focus {
	background: rgb(255 255 255 / 26%);
	color: #fff;
}

.sh-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	transition: background-color 0.2s;
}

.sh-icon-btn:hover,
.sh-icon-btn:focus-visible { background: rgb(127 127 127 / 18%); color: inherit; }

/* Header ----------------------------------------------------------------- */

.sh-header {
	position: fixed;
	inset-block-start: 0;
	inset-inline: 0;
	z-index: 900;
	color: var(--sh-header-text);
	background: var(--sh-header-solid);
	border-block-end: 1px solid var(--sh-border);
	background-origin: border-box;
	backdrop-filter: saturate(1.3) blur(10px);
	transition: background-color 0.35s, border-color 0.35s, box-shadow 0.35s;
}

/* Dark mode: the header floats over the billboard until you scroll. */
:root[data-theme="dark"] .sh-header:not(.is-scrolled):not(.is-search-open) {
	background: linear-gradient(to bottom, rgb(0 0 0 / 72%), rgb(0 0 0 / 0%));
	border-color: transparent;
	backdrop-filter: none;
	color: #fff;
}

.sh-header.is-scrolled { box-shadow: 0 8px 30px rgb(0 0 0 / 18%); }

.admin-bar .sh-header { inset-block-start: 32px; }

@media (max-width: 782px) {
	.admin-bar .sh-header { inset-block-start: 46px; }
}

.sh-header__inner {
	display: flex;
	align-items: center;
	gap: clamp(12px, 2vw, 28px);
	height: var(--sh-header-h);
	padding-inline: var(--sh-gutter);
}

.sh-header__burger { display: none; margin-inline-start: -8px; }

.sh-header__tools {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-inline-start: auto;
}

/* Logo */

.sh-brand {
	display: inline-flex;
	align-items: center;
	flex: none;
	color: inherit;
	text-decoration: none;
}

.sh-brand:hover { color: inherit; }

.sh-brand__img {
	display: block;
	width: auto;
	height: auto;
	max-height: var(--sh-logo-h);
	max-width: 200px;
	transform: translateY(var(--sh-logo-shift));
	transition: filter 0.3s;
}

.sh-brand--text {
	font-family: var(--sh-font-heading);
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

.sh-brand__img--dark { display: none; }

:root[data-theme="dark"] .sh-brand--pair .sh-brand__img--light { display: none; }
:root[data-theme="dark"] .sh-brand--pair .sh-brand__img--dark,
:root[data-theme="dark"] .sh-brand .sh-brand__img--dark:only-child { display: block; }
:root:not([data-theme="dark"]) .sh-brand .sh-brand__img--dark:only-child { display: block; }

/* A dark logo turns light (keeping its warm tone) on the dark background. */
:root[data-theme="dark"] .sh-brand--recolor .sh-brand__img--light {
	filter: invert(1) hue-rotate(180deg) saturate(1.4) brightness(1.08) drop-shadow(0 1px 6px rgb(0 0 0 / 35%));
}

/* Main menu */

.sh-nav { flex: 1 1 auto; min-width: 0; }

.sh-menu,
.sh-menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sh-nav .sh-menu {
	display: flex;
	align-items: center;
	gap: 2px;
}

.sh-nav .sh-menu > li { position: relative; }

.sh-nav .sh-menu a {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 6px;
	color: inherit;
	font-family: var(--sh-font-ui);
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	opacity: 0.86;
	transition: opacity 0.2s, background-color 0.2s;
}

.sh-nav .sh-menu > li > a:hover,
.sh-nav .sh-menu > li:focus-within > a,
.sh-nav .sh-menu > .current-menu-item > a,
.sh-nav .sh-menu > .current-menu-ancestor > a {
	opacity: 1;
}

.sh-nav .sh-menu > .current-menu-item > a,
.sh-nav .sh-menu > .current-menu-ancestor > a { font-weight: 700; }

.sh-nav .menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-block-start: -4px;
	border-inline-end: 1.5px solid currentColor;
	border-block-end: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.7;
}

.sh-nav .sub-menu {
	position: absolute;
	inset-block-start: calc(100% + 6px);
	inset-inline-start: 0;
	z-index: 10;
	min-width: 230px;
	padding: 8px;
	background: var(--sh-surface);
	color: var(--sh-text);
	border: 1px solid var(--sh-border);
	border-radius: 12px;
	box-shadow: var(--sh-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s, transform 0.2s var(--sh-ease), visibility 0.2s;
}

.sh-nav .sub-menu::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-end: 100%;
	height: 10px;
}

.sh-nav li:hover > .sub-menu,
.sh-nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.sh-nav .sub-menu a { padding: 10px 12px; opacity: 1; }
.sh-nav .sub-menu a:hover { background: var(--sh-surface-2); color: var(--sh-text); }


/* Language switcher */

.sh-lang-switcher ul {
	display: inline-flex;
	gap: 2px;
	margin: 0;
	padding: 3px;
	list-style: none;
	border: 1px solid rgb(127 127 127 / 35%);
	border-radius: 999px;
}

.sh-lang-switcher a {
	display: block;
	padding: 4px 12px;
	border-radius: 999px;
	color: inherit;
	font-family: var(--sh-font-ui);
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	opacity: 0.85;
}

.sh-lang-switcher .lang-item-ur a { font-family: "Noto Nastaliq Urdu", var(--sh-font-ui); line-height: 1.7; padding-block: 0 2px; }
.sh-lang-switcher a:hover { opacity: 1; color: inherit; }
.sh-lang-switcher .is-current a { background: var(--sh-gold); color: #1a1208; opacity: 1; }

/* Dark mode toggle */

.sh-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 42px;
	height: 42px;
	padding: 0 10px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.sh-theme-toggle:hover { background: rgb(127 127 127 / 18%); color: inherit; }
.sh-theme-toggle > span { display: inline-flex; }
.sh-theme-toggle__sun,
.sh-theme-toggle__label--light { display: none !important; }
:root[data-theme="dark"] .sh-theme-toggle__sun,
:root[data-theme="dark"] .sh-theme-toggle__label--light { display: inline-flex !important; }
:root[data-theme="dark"] .sh-theme-toggle__moon,
:root[data-theme="dark"] .sh-theme-toggle__label--dark { display: none !important; }

.sh-theme-toggle--labelled {
	border: 1px solid var(--sh-border);
	padding-inline: 14px 16px;
	font-family: var(--sh-font-ui);
	font-size: 0.9rem;
}

/* Header search */

.sh-search {
	padding: 0 var(--sh-gutter) 14px;
}

.sh-search__form,
.sh-drawer__search,
.sh-searchform {
	display: flex;
	align-items: center;
	gap: 10px;
	max-width: 720px;
	margin-inline: auto;
	padding: 4px 6px 4px 16px;
	padding-inline: 16px 6px;
	border: 1px solid var(--sh-border);
	border-radius: 999px;
	background: var(--sh-surface);
	color: var(--sh-text);
}

.sh-search__form input,
.sh-drawer__search input,
.sh-searchform input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-family: var(--sh-font-ui);
	font-size: 1rem;
	outline: none;
	box-shadow: none;
}

.sh-searchform button {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--sh-gold);
	color: #1a1208;
	cursor: pointer;
}

/* Responsive header: the menu moves into a drawer below 1100px. */

@media (max-width: 1100px) {
	.sh-nav { display: none; }
	.sh-header__burger { display: inline-grid; }
}

@media (max-width: 600px) {
	.sh-header__tools .sh-lang-switcher { display: none; }
	.sh-header__inner { gap: 8px; }
	:root { --sh-logo-h: 42px; --sh-logo-shift: -6px; }
	.sh-brand__img { max-width: 150px; }
	.sh-brand--text { font-size: 1.2rem; }
}

/* Drawer */

.sh-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
}

.sh-drawer[hidden] { display: none; }

.sh-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(0 0 0 / 60%);
	opacity: 0;
	transition: opacity 0.3s;
}

.sh-drawer__panel {
	position: absolute;
	inset-block: 0;
	inset-inline-start: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
	width: min(88vw, 380px);
	padding: 16px 20px 28px;
	overflow-y: auto;
	background: var(--sh-bg-2);
	color: var(--sh-text);
	box-shadow: var(--sh-shadow);
	transform: translateX(-100%);
	transition: transform 0.35s var(--sh-ease);
}

.rtl .sh-drawer__panel { transform: translateX(100%); }

.sh-drawer.is-open .sh-drawer__backdrop { opacity: 1; }
.sh-drawer.is-open .sh-drawer__panel { transform: none; }

.admin-bar .sh-drawer__panel { padding-block-start: 48px; }

@media (min-width: 783px) {
	.admin-bar .sh-drawer__panel { padding-block-start: 40px; }
}

.sh-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.sh-drawer__search { margin: 0; padding-inline: 14px 10px; }

.sh-drawer__nav .sh-menu > li { border-block-end: 1px solid var(--sh-border); }

.sh-drawer__nav a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 4px;
	color: var(--sh-text);
	font-family: var(--sh-font-ui);
	font-size: 1.05rem;
	font-weight: 600;
	text-decoration: none;
}

.sh-drawer__nav .current-menu-item > a { color: var(--sh-accent-strong); }

.sh-drawer__nav .sub-menu {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 12px;
	padding-block-end: 10px;
}

.sh-drawer__nav .sub-menu a {
	padding: 8px 4px;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--sh-muted);
}

.sh-drawer__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-block-start: auto;
}

body.sh-drawer-open { overflow: hidden; }

/* Billboard (cinematic hero) --------------------------------------------- */

.sh-billboard {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(460px, 74vh, 780px);
	overflow: hidden;
	isolation: isolate;
	background: var(--sh-cinema);
	color: var(--sh-cinema-text);
}

.sh-billboard--tall { min-height: clamp(540px, 90vh, 920px); }
.sh-billboard--short { min-height: clamp(300px, 46vh, 460px); }

.sh-billboard__media {
	position: absolute;
	inset: 0;
	z-index: -1;
}

.sh-billboard__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: sh-drift 26s ease-out both;
}

.sh-billboard__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top, var(--sh-bg) 0%, rgb(11 8 6 / 0%) 26%),
		linear-gradient(90deg, rgb(11 8 6 / 92%) 0%, rgb(11 8 6 / 66%) 36%, rgb(11 8 6 / 12%) 72%),
		linear-gradient(to bottom, rgb(11 8 6 / 55%), rgb(11 8 6 / 0%) 24%);
}

.rtl .sh-billboard__media::after {
	background:
		linear-gradient(to top, var(--sh-bg) 0%, rgb(11 8 6 / 0%) 26%),
		linear-gradient(270deg, rgb(11 8 6 / 92%) 0%, rgb(11 8 6 / 66%) 36%, rgb(11 8 6 / 12%) 72%),
		linear-gradient(to bottom, rgb(11 8 6 / 55%), rgb(11 8 6 / 0%) 24%);
}

.sh-billboard--short .sh-billboard__media img { opacity: 0.55; animation: none; }

.sh-billboard--center .sh-billboard__media::after,
.rtl .sh-billboard--center .sh-billboard__media::after {
	background:
		linear-gradient(to top, var(--sh-bg) 0%, rgb(11 8 6 / 0%) 30%),
		radial-gradient(ellipse at center, rgb(11 8 6 / 72%), rgb(11 8 6 / 45%) 70%);
}

@keyframes sh-drift {
	from { transform: scale(1.08); }
	to { transform: scale(1); }
}

.sh-billboard__content {
	width: 100%;
	max-width: var(--sh-max);
	margin-inline: auto;
	padding: calc(var(--sh-header-h) + 48px) var(--sh-gutter) clamp(56px, 11vh, 128px);
	animation: sh-rise 0.8s var(--sh-ease) both;
}

.sh-billboard__content > * { max-width: 700px; }

.sh-billboard--center .sh-billboard__content { text-align: center; }
.sh-billboard--center .sh-billboard__content > * { margin-inline: auto; }
.sh-billboard--center .sh-billboard__eyebrow,
.sh-billboard--center .sh-billboard__meta,
.sh-billboard--center .sh-billboard__actions { justify-content: center; }

@keyframes sh-rise {
	from { opacity: 0; transform: translateY(16px); }
	to { opacity: 1; transform: none; }
}

.sh-billboard__eyebrow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0 0 0.9em;
	color: var(--sh-gold);
	font-family: var(--sh-font-ui);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1.5;
	text-transform: uppercase;
}

.sh-billboard__eyebrow a { color: inherit; text-decoration: none; }
.sh-billboard__eyebrow a:hover { color: #fff; }

.sh-billboard__title {
	margin: 0 0 0.25em;
	color: #fff;
	font-size: clamp(2.3rem, 6vw, 4.6rem);
	font-weight: 800;
	line-height: 1.04;
	letter-spacing: -0.01em;
	text-shadow: 0 2px 24px rgb(0 0 0 / 45%);
	text-wrap: balance;
}

.sh-billboard--short .sh-billboard__title { font-size: clamp(2rem, 4.6vw, 3.4rem); }

.sh-billboard__subtitle {
	margin: 0 0 0.6em;
	color: rgb(255 255 255 / 92%);
	font-family: var(--sh-font-heading);
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	font-style: italic;
	line-height: 1.35;
}

.sh-billboard__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0 0 1em;
	color: rgb(255 255 255 / 82%);
	font-family: var(--sh-font-ui);
	font-size: 0.95rem;
	line-height: 1.6;
}

.sh-billboard__text {
	display: -webkit-box;
	margin: 0 0 1.5em;
	overflow: hidden;
	color: rgb(255 255 255 / 84%);
	font-size: clamp(1rem, 1.4vw, 1.15rem);
	line-height: 1.7;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.sh-billboard__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.sh-billboard .sh-searchform { margin-block-start: 24px; }

/* Rows (horizontal scrollers) -------------------------------------------- */

.sh-rows {
	display: flex;
	flex-direction: column;
	gap: clamp(28px, 4vw, 48px);
	padding-block: 12px clamp(40px, 6vw, 72px);
}

.sh-billboard + .sh-rows { margin-block-start: clamp(-72px, -6vw, -24px); position: relative; z-index: 1; }

.sh-row { position: relative; }
.sh-row[hidden] { display: none; }

.sh-row__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	padding-inline: var(--sh-gutter);
	margin-block-end: 4px;
}

.sh-row__eyebrow {
	margin: 0;
	color: var(--sh-accent-strong);
	font-family: var(--sh-font-ui);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sh-row__title {
	margin: 0;
	font-size: clamp(1.25rem, 2.2vw, 1.7rem);
	line-height: 1.3;
}

.sh-row__title a { color: inherit; text-decoration: none; }
.sh-row__title a:hover { color: var(--sh-accent-strong); }

.sh-row__more {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex: none;
	color: var(--sh-muted);
	font-family: var(--sh-font-ui);
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.sh-row__more:hover { color: var(--sh-accent-strong); }

.sh-row__viewport { position: relative; }

.sh-row__track {
	--sh-tile-w: clamp(250px, 24vw, 340px);
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: var(--sh-tile-w);
	gap: clamp(10px, 1.2vw, 18px);
	padding: 12px var(--sh-gutter) 18px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--sh-gutter);
	scrollbar-width: none;
}

.sh-row__track::-webkit-scrollbar { display: none; }
.sh-row__track > * { scroll-snap-align: start; }

.sh-row--posters .sh-row__track { --sh-tile-w: clamp(170px, 17vw, 240px); }
.sh-row--posts .sh-row__track { --sh-tile-w: clamp(260px, 26vw, 360px); }

@media (max-width: 600px) {
	.sh-row__track { --sh-tile-w: 74vw; }
	.sh-row--posters .sh-row__track { --sh-tile-w: 44vw; }
	.sh-row--posts .sh-row__track { --sh-tile-w: 80vw; }
}

.sh-row__arrow {
	position: absolute;
	inset-block: 12px 18px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: calc(var(--sh-gutter) - 4px);
	min-width: 40px;
	padding: 0;
	border: 0;
	background: linear-gradient(90deg, var(--sh-bg) 10%, transparent);
	color: var(--sh-text);
	cursor: pointer;
	opacity: 0;
	transition: opacity 0.25s;
}

.sh-row__arrow--prev { inset-inline-start: 0; }
.sh-row__arrow--next { inset-inline-end: 0; background: linear-gradient(270deg, var(--sh-bg) 10%, transparent); }
.rtl .sh-row__arrow--prev { background: linear-gradient(270deg, var(--sh-bg) 10%, transparent); }
.rtl .sh-row__arrow--next { background: linear-gradient(90deg, var(--sh-bg) 10%, transparent); }
.sh-row__arrow[hidden] { display: none; }
.sh-row:hover .sh-row__arrow,
.sh-row__arrow:focus-visible { opacity: 1; }

@media (hover: none) {
	.sh-row__arrow { display: none; }
}

/* Tiles ------------------------------------------------------------------ */

.sh-tile { position: relative; min-width: 0; }

.sh-tile__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.sh-tile__link:hover,
.sh-tile__link:focus { color: inherit; }

.sh-tile__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--sh-radius);
	background: var(--sh-surface-2);
	box-shadow: 0 6px 18px rgb(0 0 0 / 18%);
	transition: transform 0.35s var(--sh-ease), box-shadow 0.35s;
}

.sh-tile__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--sh-ease), filter 0.3s;
}

.sh-tile__media::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	box-shadow: inset 0 0 0 1px rgb(255 255 255 / 8%);
	pointer-events: none;
}

.sh-tile__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		radial-gradient(circle at 70% 30%, rgb(226 184 92 / 45%), transparent 55%),
		linear-gradient(135deg, #3a2a1b, #120d08);
}

.sh-tile__link:hover .sh-tile__media,
.sh-tile__link:focus-visible .sh-tile__media {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgb(0 0 0 / 35%), 0 0 0 2px var(--sh-accent);
}

.sh-tile__link:hover .sh-tile__media img { transform: scale(1.07); filter: brightness(1.08); }

.sh-tile__play {
	position: absolute;
	inset-block-end: 10px;
	inset-inline-end: 10px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1.5px solid rgb(255 255 255 / 75%);
	border-radius: 50%;
	background: rgb(0 0 0 / 50%);
	color: #fff;
	opacity: 0;
	transform: scale(0.85);
	transition: opacity 0.25s, transform 0.25s var(--sh-ease);
	backdrop-filter: blur(4px);
}

.rtl .sh-tile__play svg { transform: scaleX(-1); }

.sh-tile__link:hover .sh-tile__play,
.sh-tile__link:focus-visible .sh-tile__play { opacity: 1; transform: none; }

@media (hover: none) {
	.sh-tile__play { opacity: 0.9; transform: none; width: 36px; height: 36px; }
}

.sh-tile__badge {
	position: absolute;
	inset-block-start: 10px;
	inset-inline-start: 10px;
	min-width: 28px;
	padding: 2px 8px;
	border-radius: 6px;
	background: rgb(0 0 0 / 62%);
	color: #fff;
	font-family: var(--sh-font-ui);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.6;
	text-align: center;
	backdrop-filter: blur(4px);
}

.sh-tile__body { padding: 12px 2px 0; }

.sh-tile__eyebrow {
	margin: 0 0 4px;
	overflow: hidden;
	color: var(--sh-accent-strong);
	font-family: var(--sh-font-ui);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.5;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.sh-tile__title {
	display: -webkit-box;
	margin: 0 0 6px;
	overflow: hidden;
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.35;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.sh-tile__link:hover .sh-tile__title { color: var(--sh-accent-strong); }

.sh-tile__excerpt {
	display: -webkit-box;
	margin: 0 0 8px;
	overflow: hidden;
	color: var(--sh-muted);
	font-size: 0.95rem;
	line-height: 1.6;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.sh-tile__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: 0;
	color: var(--sh-muted);
	font-family: var(--sh-font-ui);
	font-size: 0.8rem;
	line-height: 1.6;
}

/* Poster tiles (empires and series) */

.sh-tile--poster .sh-tile__media { aspect-ratio: 3 / 4; }

.sh-tile__over {
	position: absolute;
	inset: auto 0 0;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 48px 14px 14px;
	background: linear-gradient(to top, rgb(0 0 0 / 88%), rgb(0 0 0 / 0%));
	color: #fff;
}

.sh-tile--poster .sh-tile__title {
	margin: 0;
	color: #fff;
	font-family: var(--sh-font-heading);
	font-size: 1.2rem;
	line-height: 1.25;
}

.sh-tile--poster .sh-tile__meta { color: rgb(255 255 255 / 78%); }
.sh-tile--poster .sh-tile__link:hover .sh-tile__title { color: #fff; }

.sh-tile__status {
	position: absolute;
	inset-block-start: 10px;
	inset-inline-start: 10px;
	z-index: 1;
	padding: 2px 10px;
	border-radius: 999px;
	background: var(--sh-gold);
	color: #1a1208;
	font-family: var(--sh-font-ui);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.8;
	text-transform: uppercase;
}

.sh-tile__status--completed { background: #6fae7c; }

/* Continue reading progress line */
.sh-tile__progress {
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	height: 4px;
	background: rgb(255 255 255 / 25%);
}

.sh-tile__progress span { display: block; width: 45%; height: 100%; background: #e50914; background: var(--sh-gold); }

/* Grids (archives) ------------------------------------------------------- */

.sh-listing { padding-block: clamp(24px, 4vw, 48px) clamp(48px, 6vw, 80px); }

.sh-grid,
.sh-cinema .sh-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
	gap: 36px 22px;
}

.sh-grid .sh-tile--poster { max-width: 320px; }

/* Chips */

.sh-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 1.5em 0 0;
	padding: 0;
	list-style: none;
}

.sh-chip {
	display: inline-block;
	padding: 6px 16px;
	border: 1px solid var(--sh-border);
	border-radius: 999px;
	color: var(--sh-text);
	font-family: var(--sh-font-ui);
	font-size: 0.85rem;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s;
}

.sh-chip:hover,
.sh-chip.is-current { border-color: var(--sh-accent); background: var(--sh-accent); color: var(--sh-on-accent); }

.sh-billboard .sh-chip { border-color: rgb(255 255 255 / 30%); background: rgb(255 255 255 / 8%); color: #fff; }
.sh-billboard .sh-chip:hover,
.sh-billboard .sh-chip.is-current { border-color: var(--sh-gold); background: var(--sh-gold); color: #1a1208; }

/* Pagination */

.sh-pagination { margin-block-start: 48px; }

.sh-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sh-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding-inline: 10px;
	border: 1px solid var(--sh-border);
	border-radius: 8px;
	color: var(--sh-text);
	font-family: var(--sh-font-ui);
	font-weight: 600;
	text-decoration: none;
}

.sh-pagination a.page-numbers:hover { border-color: var(--sh-accent); color: var(--sh-accent-strong); }
.sh-pagination .page-numbers.current { border-color: var(--sh-accent); background: var(--sh-accent); color: var(--sh-on-accent); }
.sh-pagination .page-numbers.dots { border: 0; }

.sh-empty-state { padding: 48px 0; text-align: center; }
.sh-empty-state .sh-searchform { margin-block-start: 24px; }

/* Articles (blog posts, episodes, pages) --------------------------------- */

.sh-reading {
	max-width: calc(var(--sh-reading-width) + 2 * var(--sh-gutter));
	margin-inline: auto;
	padding: clamp(32px, 5vw, 56px) var(--sh-gutter) clamp(32px, 5vw, 56px);
}

.sh-reading__lead {
	margin: 0 0 1.4em;
	color: var(--sh-text);
	font-family: var(--sh-font-heading);
	font-size: clamp(1.25rem, 2.2vw, 1.5rem);
	font-style: italic;
	line-height: 1.55;
}

.sh-prose {
	font-family: var(--sh-font-body);
	font-size: clamp(1.08rem, 1.3vw, 1.2rem);
	line-height: 1.85;
	color: var(--sh-text);
}

.sh-prose > * { margin-block: 0 1.35em; }
.sh-prose p { margin: 0 0 1.35em; }

.sh-prose h2 { margin: 2em 0 0.6em; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.sh-prose h3 { margin: 1.8em 0 0.5em; font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.sh-prose h4 { margin: 1.6em 0 0.5em; font-size: 1.2rem; }

.sh-prose a { color: var(--sh-link); text-decoration-thickness: 1px; }

.sh-prose > p:first-of-type::first-letter,
.sh-prose > .sh-episode-body > p:first-of-type::first-letter {
	float: inline-start;
	margin: 0.08em 0.12em 0 0;
	margin-inline-end: 0.12em;
	color: var(--sh-accent);
	font-family: var(--sh-font-heading);
	font-size: 4.1em;
	font-weight: 800;
	line-height: 0.82;
}

.sh-prose blockquote,
.sh-prose .wp-block-quote,
.sh-prose .wp-block-pullquote {
	margin: 2em 0;
	padding: 0.3em 0 0.3em 1.3em;
	padding-inline: 1.3em 0;
	border: 0;
	border-inline-start: 3px solid var(--sh-accent);
	color: var(--sh-text);
	font-family: var(--sh-font-heading);
	font-size: 1.3em;
	font-style: italic;
	line-height: 1.55;
	background: none;
}

.sh-prose blockquote p:last-child { margin-block-end: 0; }
.sh-prose blockquote cite { display: block; margin-block-start: 0.6em; color: var(--sh-muted); font-family: var(--sh-font-ui); font-size: 0.62em; font-style: normal; }

.sh-prose img,
.sh-prose video,
.sh-prose iframe { border-radius: 8px; }

.sh-prose figure { margin: 2em 0; }
.sh-prose figcaption,
.sh-prose .wp-element-caption {
	margin-block-start: 0.7em;
	color: var(--sh-muted);
	font-family: var(--sh-font-ui);
	font-size: 0.8rem;
	text-align: center;
}

.sh-prose ul,
.sh-prose ol { padding-inline-start: 1.4em; margin-inline: 0; }
.sh-prose li { margin-block-end: 0.4em; }

.sh-prose .alignwide {
	width: auto;
	max-width: none;
	margin-inline: calc(-1 * min(12vw, 10rem));
}

.sh-prose .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	border-radius: 0;
}

.sh-prose .alignfull img { border-radius: 0; }

@media (max-width: 1000px) {
	.sh-prose .alignwide { margin-inline: 0; }
}

.sh-prose table { width: 100%; border-collapse: collapse; font-family: var(--sh-font-ui); font-size: 0.9em; }
.sh-prose th,
.sh-prose td { padding: 0.6em 0.8em; border-block-end: 1px solid var(--sh-border); text-align: start; }

.sh-prose pre,
.sh-prose code { background: var(--sh-surface-2); border-radius: 6px; font-size: 0.85em; }
.sh-prose code { padding: 0.1em 0.35em; }
.sh-prose pre { padding: 1em; overflow-x: auto; }

/* Share */

.sh-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 1.6em 0;
}

.sh-share__label {
	margin-inline-end: 6px;
	color: var(--sh-muted);
	font-family: var(--sh-font-ui);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.sh-share__btn {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--sh-border);
	border-radius: 50%;
	background: transparent;
	color: var(--sh-text);
	cursor: pointer;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.sh-share__btn:hover,
.sh-share__btn:focus-visible { border-color: var(--sh-accent); background: var(--sh-accent); color: var(--sh-on-accent); }
.sh-share__copy.is-done { border-color: #6fae7c; background: #6fae7c; color: #fff; }

/* Author box */

.sh-author {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 2.5em 0;
	padding: 20px 22px;
	border: 1px solid var(--sh-border);
	border-radius: 14px;
	background: var(--sh-surface);
}

.sh-author__avatar { flex: none; border-radius: 50%; }
.sh-author p { margin: 0; }
.sh-author__label { color: var(--sh-muted); font-family: var(--sh-font-ui); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.sh-author__name { font-family: var(--sh-font-heading); font-size: 1.2rem; font-weight: 700; }
.sh-author__name a { color: inherit; text-decoration: none; }
.sh-author__bio { color: var(--sh-muted); font-size: 0.95rem; line-height: 1.6; }

/* Previous / next (posts and episodes) */

.sh-post-nav,
.sh-episode-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 14px;
	margin: 2.5em 0;
}

.sh-post-nav__link,
.sh-cinema .sh-episode-nav__link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--sh-border);
	border-radius: 12px;
	background: var(--sh-surface);
	color: var(--sh-text);
	font-family: var(--sh-font-ui);
	text-decoration: none;
	transition: border-color 0.2s, transform 0.2s var(--sh-ease);
}

.sh-post-nav__link:hover,
.sh-cinema .sh-episode-nav__link:hover { border-color: var(--sh-accent); color: var(--sh-text); transform: translateY(-2px); }
.sh-post-nav__link span,
.sh-cinema .sh-episode-nav__link span { display: flex; flex-direction: column; min-width: 0; }
.sh-post-nav__link small,
.sh-cinema .sh-episode-nav__link small { color: var(--sh-muted); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.sh-post-nav__link strong,
.sh-cinema .sh-episode-nav__link strong { font-family: var(--sh-font-heading); font-size: 1.05rem; line-height: 1.35; }
.sh-post-nav__link--next,
.sh-cinema .sh-episode-nav__link--next { justify-content: flex-end; text-align: end; grid-column: -2; }

/* Episode extras from the plugin */

.sh-cinema .sh-release-notice {
	margin: 2em 0;
	padding: 16px 20px;
	border: 1px solid var(--sh-accent);
	border-radius: 12px;
	background: color-mix(in srgb, var(--sh-accent) 12%, transparent);
	color: var(--sh-text);
	font-family: var(--sh-font-ui);
	font-size: 0.95rem;
}

.sh-cinema .sh-series-episodes { margin-block-start: 3em; }
.sh-cinema .sh-series-episodes__title { font-size: 1.4rem; font-family: var(--sh-font-heading); }
.sh-cinema .sh-series-episodes__title a { color: inherit; }

/* Episode list (series page and under each episode) */

.sh-episodes { padding-block: clamp(32px, 5vw, 56px) 0; }
.sh-episodes .sh-eplist { max-width: 1040px; }

.sh-eplist {
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: var(--sh-font-ui);
}

.sh-eplist__item a {
	display: grid;
	grid-template-columns: 2.6rem minmax(120px, 210px) 1fr;
	align-items: center;
	gap: clamp(12px, 2vw, 22px);
	padding: 16px 14px;
	border-block-end: 1px solid var(--sh-border);
	border-radius: 10px;
	color: var(--sh-text);
	text-decoration: none;
	transition: background-color 0.2s;
}

.sh-eplist__item a:hover,
.sh-eplist__item.is-current a { background: var(--sh-surface); color: var(--sh-text); }
.sh-eplist__item.is-current a { box-shadow: inset 3px 0 0 var(--sh-accent); }
.rtl .sh-eplist__item.is-current a { box-shadow: inset -3px 0 0 var(--sh-accent); }

.sh-eplist__num {
	color: var(--sh-muted);
	font-family: var(--sh-font-heading);
	font-size: 1.7rem;
	font-weight: 700;
	text-align: center;
}

.sh-eplist__item.is-current .sh-eplist__num { color: var(--sh-accent); }

.sh-eplist__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 8px;
	background: var(--sh-surface-2);
}

.sh-eplist__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sh-eplist__thumb .sh-tile__play { inset: 50% auto auto 50%; width: 38px; height: 38px; transform: translate(-50%, -50%) scale(0.85); }
.sh-eplist__item a:hover .sh-tile__play { opacity: 1; transform: translate(-50%, -50%); }

.sh-eplist__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.sh-eplist__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
}

.sh-eplist__title { font-family: var(--sh-font-heading); font-size: 1.12rem; line-height: 1.35; }
.sh-eplist__time { flex: none; color: var(--sh-muted); font-size: 0.8rem; white-space: nowrap; }

.sh-eplist__excerpt {
	display: -webkit-box;
	overflow: hidden;
	color: var(--sh-muted);
	font-family: var(--sh-font-body);
	font-size: 0.95rem;
	line-height: 1.6;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* Narrower list inside an episode's reading column */
.sh-reading .sh-eplist__item a { grid-template-columns: 2rem 130px 1fr; }
.sh-reading .sh-eplist__excerpt { display: none; }

@media (max-width: 600px) {
	.sh-eplist__item a { grid-template-columns: 1.8rem 112px 1fr; padding: 12px 6px; }
	.sh-reading .sh-eplist__item a { grid-template-columns: 1.6rem 96px 1fr; }
	.sh-eplist__num { font-size: 1.2rem; }
	.sh-eplist__head { flex-direction: column; gap: 2px; }
	.sh-eplist__title { font-size: 1rem; }
	.sh-eplist__excerpt { display: none; }
}

/* Empire intro + map */

.sh-intro {
	display: grid;
	gap: clamp(24px, 4vw, 56px);
	padding-block: clamp(32px, 5vw, 56px) 8px;
}

@media (min-width: 900px) {
	.sh-intro.has-map { grid-template-columns: 3fr 2fr; align-items: start; }
}

.sh-intro__text { max-width: 46rem; }
.sh-intro__map { margin: 0; }
.sh-intro__map img { display: block; width: 100%; height: auto; border: 1px solid var(--sh-border); border-radius: 12px; }
.sh-intro__map figcaption { margin-block-start: 8px; color: var(--sh-muted); font-family: var(--sh-font-ui); font-size: 0.8rem; }

/* Comments (GeneratePress markup) */

.sh-comments { padding-block-start: 0; font-family: var(--sh-font-ui); font-size: 0.95rem; }
.sh-comments .comments-area { background: transparent; padding: 0; }
.sh-comments input:not([type="submit"]):not([type="checkbox"]),
.sh-comments textarea {
	box-sizing: border-box;
	max-width: 100%;
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--sh-border);
	border-radius: 8px;
	background: var(--sh-surface);
	color: var(--sh-text);
}
.sh-comments input[type="submit"] {
	padding: 12px 24px;
	border: 0;
	border-radius: 6px;
	background: var(--sh-gold);
	color: #1a1208;
	font-weight: 600;
	cursor: pointer;
}

.sh-page-links { margin: 2em 0; font-family: var(--sh-font-ui); }

/* Footer ----------------------------------------------------------------- */

.sh-footer {
	margin-block-start: clamp(24px, 4vw, 48px);
	border-block-start: 1px solid var(--sh-border);
	background: var(--sh-bg-2);
	color: var(--sh-muted);
	font-family: var(--sh-font-ui);
	font-size: 0.92rem;
	line-height: 1.6;
}

.sh-footer__inner {
	display: grid;
	gap: 36px 28px;
	max-width: var(--sh-max);
	margin-inline: auto;
	padding: clamp(40px, 6vw, 72px) var(--sh-gutter) 36px;
}

@media (min-width: 640px) {
	.sh-footer__inner { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
	.sh-footer__inner { grid-template-columns: 1.6fr; grid-auto-columns: 1fr; grid-auto-flow: column; }
}

.sh-footer__brand { color: var(--sh-text); }
.sh-footer__brand .sh-brand__img { max-height: 60px; max-width: 220px; transform: none; }
.sh-footer__about { max-width: 34ch; margin: 14px 0 18px; color: var(--sh-muted); font-family: var(--sh-font-body); font-size: 1rem; }

.sh-footer__title {
	margin: 0 0 14px;
	color: var(--sh-text);
	font-family: var(--sh-font-ui);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.sh-footer__col ul { margin: 0; padding: 0; list-style: none; }
.sh-footer__col li { margin-block-end: 8px; }

.sh-footer a { color: var(--sh-muted); text-decoration: none; transition: color 0.2s; }
.sh-footer a:hover { color: var(--sh-accent-strong); }

.sh-footer__settings { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sh-footer__settings .sh-footer__title { margin-block-end: 2px; }
.sh-footer .sh-lang-switcher ul { border-color: var(--sh-border); }
.sh-footer .sh-lang-switcher li { margin: 0; }
.sh-footer .sh-lang-switcher a { color: var(--sh-text); }
.sh-footer .sh-lang-switcher .is-current a { color: #1a1208; }
.sh-footer .sh-theme-toggle { color: var(--sh-text); }

.sh-social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sh-social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--sh-border);
	border-radius: 50%;
	color: var(--sh-text);
}
.sh-social a:hover { border-color: var(--sh-accent); background: var(--sh-accent); color: var(--sh-on-accent); }

.sh-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	max-width: var(--sh-max);
	margin-inline: auto;
	padding: 20px var(--sh-gutter) 28px;
	border-block-start: 1px solid var(--sh-border);
	font-size: 0.85rem;
}

.sh-footer__bottom p { margin: 0; }
.sh-to-top { display: inline-flex; align-items: center; gap: 6px; }

/* The plugin's reading progress bar sits above the fixed header. */
.sh-progress { z-index: 950; }
.sh-cinema .sh-progress__bar { background: var(--sh-gold); }

/* Reduced motion --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.sh-billboard__media img,
	.sh-billboard__content { animation: none; }
	.sh-tile__media,
	.sh-tile__media img,
	.sh-drawer__panel,
	.sh-btn { transition: none; }
	.sh-tile__link:hover .sh-tile__media,
	.sh-tile__link:hover .sh-tile__media img { transform: none; }
}
