/*
Theme Name: Otkritie Reading
Description: Russian-first, lightweight reading theme for otkritie.cc.
Template: astra
Version: 0.3.10
Text Domain: otkritie-reading
*/

:root {
	color-scheme: light;
	--otkv2-paper: #f8f8f5;
	--otkv2-surface: #ffffff;
	--otkv2-ink: #252d29;
	--otkv2-muted: #59645f;
	--otkv2-navy: #244239;
	--otkv2-navy-raised: #31564a;
	--otkv2-cobalt: #2d604f;
	--otkv2-cobalt-hover: #20483b;
	--otkv2-saffron: #c85f43;
	--otkv2-mist: #f0eee8;
	--otkv2-line: #e0e3dd;
	--otkv2-focus: #1557a6;
	--otkv2-font-ui: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--otkv2-font-reading: Georgia, "Times New Roman", serif;
	--otkv2-measure-reading: 42rem;
	--otkv2-measure-page: 78rem;
	--otkv2-gutter: clamp(16px, 4vw, 42px);
	--otkv2-radius-control: 4px;
}

html {
	background: var(--otkv2-paper);
	color: var(--otkv2-ink);
	scroll-padding-top: 1rem;
}

body {
	min-width: 320px;
	margin: 0;
	background: var(--otkv2-paper);
	color: var(--otkv2-ink);
	font-family: var(--otkv2-font-ui);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body #page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--otkv2-paper);
}

body .site-content,
body.ast-separate-container .site-content {
	background: var(--otkv2-paper);
}

body .site-footer:not(.otkv2-footer--builder) {
	background: var(--otkv2-navy);
	color: #cbd5e3;
}

body .site-content {
	flex: 1 0 auto;
}

body #page > #content,
body #page > .site-content {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0;
}

body #page > #content > .ast-container,
body #page > .site-content > .ast-container {
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	margin: 0 auto;
	padding: 0;
	display: block;
}

body.ast-separate-container #primary,
body.ast-no-sidebar #primary {
	float: none;
	width: 100%;
	margin: 0;
}

body :where(a, button, input, summary, textarea):focus-visible {
	outline: 3px solid var(--otkv2-focus);
	outline-offset: 3px;
}

.otkv2-header:not(.otkv2-header--builder) :where(a, button, input, summary, textarea):focus-visible,
.otkv2-footer:not(.otkv2-footer--builder) :where(a, button, input, summary, textarea):focus-visible {
	outline-color: var(--otkv2-saffron);
}

.otkv2-header--builder :where(a, button, input, summary, textarea):focus-visible,
.otkv2-footer--builder :where(a, button, input, summary, textarea):focus-visible {
	outline-color: #ffffff;
	box-shadow: 0 0 0 2px var(--otkv2-navy);
}

body .site-content a {
	color: var(--otkv2-cobalt);
	text-underline-offset: 0.17em;
}

body .site-content a:hover {
	color: var(--otkv2-cobalt-hover);
}

body img,
body svg,
body video {
	max-width: 100%;
}

.otkv2-skip {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 1000;
	transform: translateY(-160%);
	padding: 10px 14px;
	background: var(--otkv2-surface);
	color: var(--otkv2-navy);
	font-weight: 700;
}

.otkv2-skip:focus {
	transform: translateY(0);
}

/* Calm ink header, pale reading canvas, and one warm book-corner cue. */
.otkv2-header {
	position: relative;
	z-index: 5;
	border-bottom: 4px solid var(--otkv2-saffron);
	background: var(--otkv2-navy);
	color: #f8faff;
}

/* Keep Astra's configured masthead row intact and add the editorial tools below it. */
.otkv2-header--builder .otkv2-header__builder-tools {
	width: min(calc(100% - var(--otkv2-gutter) - var(--otkv2-gutter)), var(--otkv2-measure-page));
	min-height: 70px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(235px, 275px);
	align-items: center;
	gap: clamp(16px, 2.4vw, 32px);
}

.otkv2-header--builder .otkv2-header__topics {
	justify-content: flex-start;
}

.otkv2-header--builder .otkv2-header__builder-tools > .otkv2-search {
	width: 100%;
	max-width: 275px;
	justify-self: end;
}

/* Suppress only an empty Astra HFB placeholder button; real destinations remain. */
.otkv2-header--builder [data-section^="section-hb-button-"] .ast-custom-button-link[href="#"],
.otkv2-header--builder [data-section^="section-hb-button-"] a.menu-link[href="#"],
.ast-hfb-header .ast-mobile-popup-content [data-section^="section-hb-button-"] .ast-custom-button-link[href="#"],
.ast-hfb-header .ast-mobile-popup-content [data-section^="section-hb-button-"] a.menu-link[href="#"] {
	display: none;
}

@supports selector(:has(*)) {
	.otkv2-header--builder [data-section^="section-hb-button-"]:has(.ast-custom-button-link[href="#"], a.menu-link[href="#"]),
	.ast-hfb-header .ast-mobile-popup-content [data-section^="section-hb-button-"]:has(.ast-custom-button-link[href="#"], a.menu-link[href="#"]) {
		display: none;
	}
}

.otkv2-header__inner {
	width: min(calc(100% - var(--otkv2-gutter) - var(--otkv2-gutter)), var(--otkv2-measure-page));
	min-height: 88px;
	margin-inline: auto;
	display: grid;
	grid-template-columns: minmax(210px, 250px) minmax(0, 1fr) minmax(235px, 275px);
	align-items: center;
	gap: clamp(16px, 2.4vw, 32px);
}

.otkv2-brand {
	min-width: 0;
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #ffffff;
	font-size: clamp(1rem, 1.5vw, 1.22rem);
	font-weight: 740;
	letter-spacing: -0.035em;
	line-height: 1.12;
	text-decoration: none;
}

.otkv2-brand:hover,
.otkv2-footer__brand:hover {
	color: #ffffff;
}

.otkv2-brand__mark {
	position: relative;
	width: 27px;
	height: 31px;
	flex: 0 0 27px;
	border: 2px solid var(--otkv2-saffron);
	border-radius: 2px 7px 2px 2px;
}

.otkv2-brand__mark::after {
	position: absolute;
	top: -2px;
	right: -2px;
	width: 10px;
	height: 10px;
	border-left: 2px solid var(--otkv2-saffron);
	border-bottom: 2px solid var(--otkv2-saffron);
	background: var(--otkv2-navy);
	content: "";
}

.otkv2-header__topics {
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 2px clamp(8px, 1.35vw, 20px);
}

.otkv2-header__topics > a,
.otkv2-topics summary,
.otkv2-topics a {
	min-width: 0;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	color: #edf2fa;
	font-size: 0.88rem;
	font-weight: 580;
	line-height: 1.3;
	text-decoration: none;
	text-wrap: pretty;
}

.otkv2-header__topics > a:hover,
.otkv2-topics a:hover,
.otkv2-mobile-topics__links a:hover {
	color: var(--otkv2-saffron);
}

.otkv2-header__topics [aria-current="page"],
.otkv2-mobile-topics [aria-current="page"],
.otkv2-section-topics [aria-current="page"] {
	color: var(--otkv2-saffron);
	font-weight: 720;
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 0.3em;
}

.otkv2-topics {
	position: relative;
}

.otkv2-topics summary {
	min-height: 44px;
	padding-inline: 3px;
	cursor: pointer;
	list-style: none;
}

.otkv2-topics summary::-webkit-details-marker,
.otkv2-mobile-topics summary::-webkit-details-marker {
	display: none;
}

.otkv2-topics summary::after,
.otkv2-mobile-topics summary::after {
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	margin: -4px 0 0 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	content: "";
}

.otkv2-topics[open] summary::after,
.otkv2-mobile-topics[open] summary::after {
	margin-top: 4px;
	transform: rotate(225deg);
}

.otkv2-topics__panel {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 10;
	width: min(370px, calc(100vw - 32px));
	padding: 8px 12px;
	border: 1px solid var(--otkv2-line);
	border-top: 3px solid var(--otkv2-saffron);
	background: var(--otkv2-navy-raised);
	box-shadow: 0 14px 28px rgb(9 20 38 / 0.2);
}

.otkv2-topics__panel a {
	width: 100%;
	padding: 3px 10px;
}

.otkv2-topics__panel a:hover {
	background: rgb(255 255 255 / 0.07);
	text-decoration: underline;
}

.otkv2-search {
	width: 100%;
	min-width: 0;
	display: grid;
	align-content: center;
	gap: 4px;
}

.otkv2-search__label {
	color: #cbd5e3;
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.2;
}

.otkv2-search__controls {
	min-width: 0;
	display: flex;
	align-items: stretch;
	gap: 5px;
}

.otkv2-search input[type="search"] {
	width: 100%;
	min-width: 0;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid #d2dce8;
	border-radius: var(--otkv2-radius-control);
	background: #ffffff;
	color: var(--otkv2-ink);
	font: inherit;
}

.otkv2-search input[type="search"]::placeholder {
	color: var(--otkv2-muted);
	opacity: 1;
}

.otkv2-search button {
	min-width: 58px;
	min-height: 44px;
	padding-inline: 12px;
	border: 1px solid var(--otkv2-cobalt);
	border-radius: var(--otkv2-radius-control);
	background: var(--otkv2-cobalt);
	color: #ffffff;
	font: inherit;
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
}

.otkv2-search button:hover {
	border-color: #3971c3;
	background: #3971c3;
}

.site-main .otkv2-search {
	max-width: 39rem;
	margin: 0 0 28px;
}

.site-main .otkv2-search__label {
	color: var(--otkv2-muted);
}

.otkv2-mobile-topics {
	display: none;
}

.otkv2-shell {
	box-sizing: border-box;
	width: min(calc(100% - var(--otkv2-gutter) - var(--otkv2-gutter)), var(--otkv2-measure-page));
	max-width: var(--otkv2-measure-page);
	margin-inline: auto;
	padding-inline: 0;
	padding-block: clamp(24px, 3vw, 42px) clamp(56px, 6vw, 80px);
}

/* Keep Astra's nested container and primary-area rules from stretching the editorial measure. */
body.ast-separate-container #page > #content > .ast-container > #primary.otkv2-shell,
body.ast-separate-container #page > .site-content > .ast-container > #primary.otkv2-shell,
body.ast-no-sidebar #page > #content > .ast-container > #primary.otkv2-shell,
body.ast-no-sidebar #page > .site-content > .ast-container > #primary.otkv2-shell {
	float: none;
	width: min(calc(100% - var(--otkv2-gutter) - var(--otkv2-gutter)), var(--otkv2-measure-page));
	max-width: var(--otkv2-measure-page);
	margin-inline: auto;
	padding-inline: 0;
}

.otkv2-page-head {
	position: relative;
	margin: 0 0 clamp(24px, 3vw, 36px);
	padding-left: clamp(16px, 2vw, 24px);
	border-left: 5px solid var(--otkv2-saffron);
}

.otkv2-page-head h1 {
	max-width: 18ch;
	font-size: clamp(2rem, 3.2vw, 3rem);
	letter-spacing: -0.04em;
	line-height: 1.08;
}

.otkv2-page-head h1,
.otkv2-story__title,
.otkv2-feature__title {
	margin: 0;
	color: var(--otkv2-ink);
	font-family: var(--otkv2-font-ui);
	font-weight: 760;
	letter-spacing: -0.045em;
	line-height: 1.08;
	text-wrap: balance;
	overflow-wrap: break-word;
}

.otkv2-story__title {
	max-width: 22ch;
	font-size: clamp(2rem, 4vw, 3.5rem);
}

.otkv2-feature__title {
	max-width: 24ch;
	font-size: clamp(1.65rem, 2.65vw, 2.55rem);
}

.otkv2-page-head > div {
	max-width: 48rem;
	margin-top: 12px;
	color: var(--otkv2-muted);
}

.otkv2-section-title {
	margin: 0 0 18px;
	color: var(--otkv2-ink);
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	font-weight: 720;
	letter-spacing: -0.035em;
	line-height: 1.2;
	text-wrap: balance;
}

/* Portrait artwork anchors the lead; neighboring titles remain compact. */
.otkv2-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(17rem, 24rem);
	align-items: start;
	justify-content: space-between;
	gap: clamp(18px, 2.4vw, 30px);
	margin: 0 0 clamp(52px, 7vw, 84px);
}

.otkv2-feature__lead {
	min-width: 0;
	align-self: start;
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
	align-items: stretch;
	border: 1px solid var(--otkv2-line);
	border-top: 5px solid var(--otkv2-cobalt);
	background: var(--otkv2-surface);
}

.otkv2-feature__image {
	grid-column: 1;
	grid-row: 1;
	aspect-ratio: 4 / 5;
	margin: 0;
	display: block;
	background: var(--otkv2-mist);
	overflow: hidden;
}

.otkv2-feature__image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	object-position: center;
}

.otkv2-feature__body {
	grid-column: 2;
	grid-row: 1;
	width: auto;
	flex: 1 1 0;
	min-width: 0;
	padding: clamp(20px, 2.6vw, 34px);
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.otkv2-date,
.otkv2-story__meta,
.otkv2-story-row__meta,
.otkv2-list-item__meta {
	color: var(--otkv2-muted);
	font-size: 0.87rem;
	font-variant-numeric: tabular-nums;
}

.otkv2-feature__title {
	max-width: 21ch;
	margin: 8px 0 9px;
	font-size: clamp(1.6rem, 2.6vw, 2.5rem);
	line-height: 1.07;
}

.otkv2-feature__title a,
.otkv2-story-row__title a,
.otkv2-list-item__title a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.otkv2-feature__title a:hover,
.otkv2-story-row__title a:hover,
.otkv2-list-item__title a:hover {
	color: var(--otkv2-cobalt);
}

.otkv2-feature__excerpt {
	max-width: 58ch;
	margin: 10px 0 0;
	color: var(--otkv2-muted);
	font-family: var(--otkv2-font-reading);
	font-size: 1.08rem;
	line-height: 1.58;
	text-wrap: pretty;
}

.otkv2-feature__side {
	min-width: 0;
	width: min(100%, 24rem);
	align-self: start;
	display: flex;
	flex-direction: column;
	align-content: start;
	border-top: 4px solid var(--otkv2-navy);
}

.otkv2-feature__lead--no-image .otkv2-feature__body {
	grid-column: 1 / -1;
}

.otkv2-feature__side .otkv2-story-row {
	flex: 0 0 auto;
	grid-template-columns: 76px minmax(0, 1fr);
	align-items: start;
	gap: clamp(12px, 1.4vw, 18px);
	padding: 14px 0;
	border-top: 0;
	border-bottom: 1px solid var(--otkv2-line);
}

.otkv2-feature__side .otkv2-story-row--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.otkv2-feature__side .otkv2-story-row__title {
	font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.otkv2-story-row {
	min-width: 0;
	display: grid;
	grid-template-columns: minmax(100px, 0.72fr) minmax(0, 1.8fr);
	align-items: center;
	gap: clamp(14px, 2vw, 24px);
	padding: 18px 0;
	border-top: 1px solid var(--otkv2-line);
}

.otkv2-story-row--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.otkv2-story-row__media,
.otkv2-list-item__media {
	width: 100%;
	aspect-ratio: 4 / 3;
	display: block;
	background: var(--otkv2-mist);
	overflow: hidden;
}

.otkv2-story-row__media img,
.otkv2-list-item__media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
	object-position: center;
}

.otkv2-story-row__body,
.otkv2-list-item__body {
	min-width: 0;
}

.otkv2-story-row__title,
.otkv2-list-item__title {
	margin: 0 0 5px;
	font-size: clamp(1.08rem, 1.6vw, 1.38rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.2;
	text-wrap: pretty;
	overflow-wrap: anywhere;
}

.otkv2-story-row__excerpt {
	max-width: 58ch;
	margin: 7px 0 0;
	color: var(--otkv2-muted);
	font-family: var(--otkv2-font-reading);
	font-size: 0.98rem;
	line-height: 1.5;
	text-wrap: pretty;
}

.otkv2-story-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(26px, 4vw, 58px);
	margin: 0 0 34px;
}

.otkv2-archive-list {
	margin: 0 0 34px;
}

.otkv2-list-item {
	min-width: 0;
	display: grid;
	grid-template-columns: minmax(170px, 0.42fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(20px, 4vw, 48px);
	padding: clamp(20px, 2.5vw, 30px) 0;
	border-top: 1px solid var(--otkv2-line);
}

.otkv2-list-item--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.otkv2-list-item__title {
	font-size: clamp(1.2rem, 2vw, 1.62rem);
	line-height: 1.17;
}

.otkv2-list-item__excerpt {
	max-width: 62ch;
	margin: 9px 0 0;
	color: var(--otkv2-muted);
	font-family: var(--otkv2-font-reading);
	font-size: 1rem;
	line-height: 1.52;
	text-wrap: pretty;
}

.otkv2-static-page {
	max-width: var(--otkv2-measure-reading);
	margin-inline: auto;
}

.otkv2-story__header {
	max-width: 54rem;
	margin: 0 auto 26px;
}

.otkv2-story__back {
	min-height: 44px;
	margin: -8px 0 15px;
	display: inline-flex;
	align-items: center;
	color: var(--otkv2-cobalt);
	font-size: 0.94rem;
	font-weight: 680;
	text-decoration: none;
}

.otkv2-story__eyebrow {
	margin: 0 0 6px;
	color: var(--otkv2-muted);
	font-size: 0.75rem;
	font-weight: 720;
	letter-spacing: 0.07em;
	line-height: 1.35;
	text-transform: uppercase;
}

.otkv2-story__category {
	margin: 0 0 8px;
}

.otkv2-story__category a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	color: var(--otkv2-cobalt);
	font-size: 0.93rem;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: var(--otkv2-saffron);
	text-decoration-thickness: 3px;
	text-underline-offset: 4px;
}

.otkv2-story__title {
	margin: 0 0 14px;
	max-width: 22ch;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.05;
}

.otkv2-story__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 16px;
	align-items: center;
}

.otkv2-story__meta a {
	color: inherit;
	text-decoration: none;
}

.otkv2-story__image {
	max-width: var(--otkv2-measure-reading);
	margin: 0 auto 30px;
	background: var(--otkv2-mist);
}

.otkv2-story__image img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
}

/* Keep Astra's single-image output inside the reading frame and preserve source ratios. */
.otkv2-story__image .ast-single-post-featured-section,
.otkv2-story__image .ast-article-image-container--wide {
	width: 100% !important;
	max-width: var(--otkv2-measure-reading) !important;
	height: auto !important;
	max-height: none !important;
	margin: 0 auto !important;
	aspect-ratio: auto !important;
	overflow: visible !important;
}

.otkv2-story__image .ast-single-post-featured-section img,
.otkv2-story__image .ast-article-image-container--wide img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: none !important;
	aspect-ratio: auto !important;
	object-fit: contain !important;
}

.otkv2-story__content,
.otkv2-static-page__content {
	max-width: var(--otkv2-measure-reading);
	margin-inline: auto;
	color: var(--otkv2-ink);
	font-family: var(--otkv2-font-reading);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.76;
	text-align: left;
	text-wrap: pretty;
	overflow-wrap: anywhere;
}

.otkv2-story__content > :first-child,
.otkv2-static-page__content > :first-child {
	margin-top: 0;
}

.otkv2-story__content p,
.otkv2-static-page__content p {
	margin: 0 0 1.4em;
}

.otkv2-story__content h2,
.otkv2-story__content h3,
.otkv2-static-page__content h2,
.otkv2-static-page__content h3 {
	margin: 1.65em 0 0.55em;
	color: var(--otkv2-ink);
	font-family: var(--otkv2-font-ui);
	font-size: 1.32em;
	font-weight: 720;
	letter-spacing: -0.025em;
	line-height: 1.2;
	text-wrap: balance;
}

.otkv2-story__content :where(img, video, iframe),
.otkv2-static-page__content :where(img, video, iframe) {
	max-width: 100%;
}

.otkv2-story__content img,
.otkv2-static-page__content img {
	height: auto;
}

.otkv2-story__content iframe,
.otkv2-static-page__content iframe {
	display: block;
}

.otkv2-story__content blockquote,
.otkv2-static-page__content blockquote {
	margin: 1.5em 0;
	padding: 0.2em 0 0.2em 1.05em;
	border-left: 4px solid var(--otkv2-saffron);
	color: var(--otkv2-muted);
}

.otkv2-story__content a,
.otkv2-static-page__content a {
	color: var(--otkv2-cobalt);
	text-decoration-thickness: 1px;
}

.otkv2-related {
	margin: clamp(50px, 7vw, 78px) 0 0;
	padding-top: 24px;
	border-top: 4px solid var(--otkv2-navy);
}

.otkv2-related .otkv2-story-list {
	grid-template-columns: 1fr;
	column-gap: 0;
}

.otkv2-related .otkv2-story-row {
	grid-template-columns: 96px minmax(0, 1fr);
	align-items: center;
	gap: 16px;
	padding: 15px 0;
	border-top: 0;
	border-bottom: 1px solid var(--otkv2-line);
}

.otkv2-related .otkv2-story-row--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.otkv2-related .otkv2-story-row__title {
	font-size: 1.06rem;
}

.otkv2-pagination {
	margin: 36px 0 0;
}

.otkv2-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.otkv2-pagination .page-numbers {
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--otkv2-line);
	background: var(--otkv2-surface);
	color: var(--otkv2-ink);
	font-size: 0.92rem;
	text-decoration: none;
}

.otkv2-pagination .current {
	border-color: var(--otkv2-navy);
	background: var(--otkv2-navy);
	color: #ffffff;
}

.otkv2-pagination a:hover {
	border-color: var(--otkv2-cobalt);
	background: var(--otkv2-mist);
}

.otkv2-empty {
	max-width: var(--otkv2-measure-reading);
	margin: 0 auto;
	padding: 24px 0;
}

.otkv2-empty h1 {
	margin: 0 0 12px;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
	text-wrap: balance;
}

.otkv2-empty p {
	color: var(--otkv2-muted);
}

.otkv2-comments {
	max-width: var(--otkv2-measure-reading);
	margin: 40px auto 0;
	font-family: var(--otkv2-font-ui);
}

.otkv2-comments :where(.comments-title, .comment-reply-title) {
	color: var(--otkv2-ink);
	font-size: 1.4rem;
	font-weight: 720;
}

.otkv2-comments :where(input:not([type="checkbox"]), textarea) {
	max-width: 100%;
	min-height: 44px;
	padding-inline: 10px;
	border: 1px solid var(--otkv2-line);
	border-radius: var(--otkv2-radius-control);
	background: var(--otkv2-surface);
	color: var(--otkv2-ink);
	font: inherit;
}

.otkv2-comments textarea {
	width: 100%;
	min-height: 150px;
	padding: 10px 12px;
}

.otkv2-comments button,
.otkv2-comments input[type="submit"] {
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--otkv2-cobalt);
	border-radius: var(--otkv2-radius-control);
	background: var(--otkv2-cobalt);
	color: #ffffff;
	font: inherit;
	font-weight: 680;
	cursor: pointer;
}

.otkv2-footer {
	flex: 0 0 auto;
	border-top: 4px solid var(--otkv2-saffron);
}

.otkv2-footer--builder {
	background: var(--otkv2-navy);
	color: #f8faff;
}

/* Preserve Astra's configured copyright output as a quiet footer continuation. */
body .site-footer:not(.otkv2-footer--builder) .ast-small-footer,
body .site-footer:not(.otkv2-footer--builder) .ast-footer-overlay,
body .site-footer:not(.otkv2-footer--builder) .site-primary-footer-wrap,
body .site-footer:not(.otkv2-footer--builder) .site-below-footer-wrap {
	background: var(--otkv2-navy);
	color: #cbd5e3;
}

body .site-footer:not(.otkv2-footer--builder) .ast-footer-copyright {
	width: min(calc(100% - var(--otkv2-gutter) - var(--otkv2-gutter)), var(--otkv2-measure-page));
	margin: 0 auto;
	padding: 0 0 18px;
	color: #aebbd0;
	font-size: 0.78rem;
	line-height: 1.45;
	text-align: left;
}

body .site-footer:not(.otkv2-footer--builder) .ast-footer-copyright p {
	margin: 0;
}

body .site-footer:not(.otkv2-footer--builder) .ast-footer-copyright a {
	color: #d7dfeb;
}

body .site-footer:not(.otkv2-footer--builder) .ast-footer-copyright a:hover {
	color: var(--otkv2-saffron);
}

.otkv2-footer__inner {
	width: min(calc(100% - var(--otkv2-gutter) - var(--otkv2-gutter)), var(--otkv2-measure-page));
	margin-inline: auto;
	padding-block: 30px 24px;
	display: grid;
	grid-template-columns: minmax(180px, 0.7fr) minmax(0, 2fr);
	gap: 18px 46px;
}

.otkv2-footer__brand {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	color: #ffffff;
	font-size: 1.02rem;
	font-weight: 730;
	letter-spacing: -0.025em;
	line-height: 1.3;
	text-decoration: none;
}

.otkv2-footer__links {
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 28px;
}

.otkv2-footer__links nav {
	min-width: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 14px;
}

.otkv2-footer__disclosure {
	min-width: min(100%, 12rem);
	max-width: 100%;
}

.otkv2-footer__disclosure > summary {
	min-height: 44px;
	padding: 0 4px 0 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #f4f7fb;
	font-size: 0.92rem;
	font-weight: 680;
	line-height: 1.35;
	text-wrap: pretty;
	cursor: pointer;
	list-style: none;
}

.otkv2-footer__disclosure > summary::-webkit-details-marker {
	display: none;
}

.otkv2-footer__disclosure > summary::marker {
	content: "";
}

.otkv2-footer__disclosure > summary::after {
	width: 1.25rem;
	height: 1.25rem;
	flex: 0 0 1.25rem;
	content: "+";
	display: inline-grid;
	place-items: center;
	border: 1px solid rgb(255 255 255 / 0.38);
	border-radius: 50%;
	color: var(--otkv2-saffron);
	font-size: 1rem;
	line-height: 1;
}

.otkv2-footer__disclosure[open] > summary::after {
	content: "−";
}

.otkv2-footer__disclosure > summary:hover {
	color: var(--otkv2-saffron);
}

.otkv2-footer__disclosure > nav {
	min-width: 0;
	padding: 4px 0 8px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.otkv2-footer__links a {
	min-height: 44px;
	max-width: 100%;
	display: inline-flex;
	align-items: center;
	color: #d7dfeb;
	font-size: 0.9rem;
	line-height: 1.35;
	text-decoration: none;
	text-wrap: pretty;
}

.otkv2-footer__links a:hover {
	color: var(--otkv2-saffron);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.otkv2-section-topics {
	margin-top: 56px;
	padding-top: 24px;
	border-top: 3px solid var(--otkv2-navy);
}

.otkv2-section-topics .otkv2-section-title {
	margin-bottom: 10px;
}

.otkv2-section-topics__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
}

.otkv2-section-topics a {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	color: var(--otkv2-muted);
	font-size: 0.9rem;
	text-decoration: none;
}

.otkv2-section-topics a:hover {
	color: var(--otkv2-cobalt);
	text-decoration: underline;
}

@media (max-width: 1080px) {
	.otkv2-header--builder .otkv2-header__builder-tools {
		min-height: 0;
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding-block: 10px 12px;
	}

	.otkv2-header--builder .otkv2-header__builder-tools > .otkv2-search {
		max-width: none;
		justify-self: stretch;
	}

	.otkv2-header__inner {
		min-height: 76px;
		grid-template-columns: minmax(0, 1fr) minmax(190px, 250px);
		gap: 12px 20px;
	}

	.otkv2-header__topics {
		display: none;
	}

	.otkv2-mobile-topics {
		width: min(calc(100% - var(--otkv2-gutter) - var(--otkv2-gutter)), var(--otkv2-measure-page));
		margin: 0 auto;
		display: block;
		border-top: 1px solid rgb(255 255 255 / 0.16);
	}

	.otkv2-mobile-topics summary {
		min-height: 48px;
		display: flex;
		align-items: center;
		justify-content: space-between;
		color: #f4f7fb;
		font-weight: 690;
		cursor: pointer;
		list-style: none;
	}

	.otkv2-mobile-topics summary::after {
		color: var(--otkv2-saffron);
	}

	.otkv2-mobile-topics__links {
		padding: 0 0 12px;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 2px 14px;
	}

	.otkv2-mobile-topics__links a {
		min-width: 0;
		min-height: 44px;
		display: flex;
		align-items: center;
		color: #d7dfeb;
		font-size: 0.92rem;
		line-height: 1.3;
		text-decoration: none;
		text-wrap: pretty;
		overflow-wrap: anywhere;
	}
}

/* Hide only the Astra trigger whose mobile menu has no rendered destinations; the child Topics disclosure remains the navigator. */
@supports selector(body:has(*)) {
	@media (max-width: 1080px) {
		body.ast-hfb-header #ast-mobile-header[data-type="dropdown"]:has(.ast-mobile-header-content .ast-main-header-bar-alignment:empty):not(:has(.ast-mobile-header-content a, .ast-mobile-header-content button, .ast-mobile-header-content input, .ast-mobile-header-content select, .ast-mobile-header-content textarea, .ast-mobile-header-content summary)) [data-section="section-header-mobile-trigger"] {
			display: none !important;
		}
	}
}

@media (max-width: 860px) {
	.otkv2-feature {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}

	.otkv2-feature__side .otkv2-story-row {
		grid-template-columns: 78px minmax(0, 1fr);
	}

	.otkv2-story-list {
		grid-template-columns: 1fr;
	}

	.otkv2-related .otkv2-story-list {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	:root {
		--otkv2-gutter: 20px;
	}

	.otkv2-shell {
		padding-block: 38px 64px;
	}

	.otkv2-page-head {
		margin-bottom: 30px;
		padding-left: 15px;
		border-left-width: 4px;
	}

	.otkv2-feature {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		margin-bottom: 52px;
	}

	.otkv2-feature__lead {
		grid-template-columns: minmax(0, 1fr);
	}

	.otkv2-feature__body {
		min-height: 0;
		padding: 20px 21px 24px;
		grid-column: 1;
		grid-row: 1;
	}

	.otkv2-feature__image {
		width: 100%;
		max-width: none;
		aspect-ratio: auto;
		height: auto;
		grid-column: 1;
		grid-row: 2;
	}

	.otkv2-feature__image img {
		height: auto;
		object-fit: contain;
	}

	.otkv2-feature__title {
		max-width: 24ch;
		font-size: clamp(1.75rem, 6.5vw, 2.4rem);
	}

	.otkv2-feature__side {
		border-top-width: 3px;
	}

	.otkv2-feature__side .otkv2-story-row {
		grid-template-columns: 84px minmax(0, 1fr);
		padding: 14px 0;
	}

	.otkv2-feature__side .otkv2-story-row--no-image {
		grid-template-columns: minmax(0, 1fr);
	}

	.otkv2-story-row {
		grid-template-columns: 104px minmax(0, 1fr);
		gap: 14px;
		padding: 15px 0;
	}

	.otkv2-story-row__title {
		font-size: 1.05rem;
	}

	.otkv2-story-row__excerpt {
		font-size: 0.92rem;
	}

	.otkv2-list-item {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 17px;
		padding: 17px 0;
	}

	.otkv2-story-row--no-image,
	.otkv2-list-item--no-image {
		grid-template-columns: minmax(0, 1fr);
	}

	.otkv2-list-item__title {
		font-size: 1.1rem;
	}

	.otkv2-list-item__excerpt {
		font-size: 0.93rem;
	}

	.otkv2-story__header {
		margin-bottom: 19px;
	}

	.otkv2-story__title {
		font-size: clamp(2rem, 7.4vw, 2.65rem);
	}

	.otkv2-story__image {
		margin-bottom: 25px;
	}

	.otkv2-story__content,
	.otkv2-static-page__content {
		font-size: 18px;
		line-height: 1.72;
	}

	.otkv2-footer__inner {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.otkv2-footer__links {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.otkv2-footer__disclosure {
		width: 100%;
	}

	.otkv2-footer__links nav {
		gap: 0 12px;
	}
}

@media (max-width: 450px) {
	.otkv2-header__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
		gap: 9px 12px;
		padding-block: 8px;
	}

	.otkv2-brand {
		min-height: 48px;
		gap: 9px;
		font-size: 0.98rem;
		letter-spacing: -0.025em;
	}

	.otkv2-brand__mark {
		width: 24px;
		height: 28px;
		flex-basis: 24px;
	}

	.otkv2-header__inner > .otkv2-search {
		width: 100%;
	}

	.otkv2-search__label {
		font-size: 0.75rem;
	}

	.otkv2-search__controls {
		gap: 4px;
	}

	.otkv2-search button {
		min-width: 52px;
		padding-inline: 8px;
		font-size: 0.82rem;
	}

	.otkv2-feature__image {
		height: auto;
	}

	.otkv2-feature__body {
		padding: 18px 17px 22px;
	}

	.otkv2-feature__side .otkv2-story-row,
	.otkv2-story-row,
	.otkv2-list-item {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 12px;
	}

	.otkv2-feature__side .otkv2-story-row--no-image,
	.otkv2-story-row--no-image,
	.otkv2-list-item--no-image {
		grid-template-columns: minmax(0, 1fr);
	}

	.otkv2-list-item {
		padding-block: 15px;
	}

	.otkv2-list-item__title {
		font-size: 1.04rem;
	}

	.otkv2-related .otkv2-story-row {
		grid-template-columns: 82px minmax(0, 1fr);
	}
}

@media (max-width: 340px) {
	.otkv2-header__inner,
	.otkv2-header--builder .otkv2-header__builder-tools,
	.otkv2-mobile-topics,
	.otkv2-shell,
	.otkv2-footer__inner {
		width: calc(100% - 32px);
	}

	.otkv2-header__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 7px;
	}

	.otkv2-brand {
		white-space: normal;
	}

	.otkv2-header__inner > .otkv2-search {
		grid-row: 2;
	}

	.otkv2-search__controls {
		gap: 6px;
	}

	.otkv2-search button {
		min-width: 60px;
	}

	.otkv2-story-row,
	.otkv2-list-item,
	.otkv2-feature__side .otkv2-story-row {
		grid-template-columns: 76px minmax(0, 1fr);
		gap: 10px;
	}

	.otkv2-story-row--no-image,
	.otkv2-list-item--no-image,
	.otkv2-feature__side .otkv2-story-row--no-image {
		grid-template-columns: minmax(0, 1fr);
	}

	.otkv2-story__content,
	.otkv2-static-page__content {
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* 0.3.8: white-led story reading, with the original content and WP hooks intact. */
body,
body #page,
body .site-content,
body.ast-separate-container .site-content {
	background: var(--otkv2-paper);
}

body .site-footer:not(.otkv2-footer--builder),
.otkv2-footer--builder,
body .site-footer:not(.otkv2-footer--builder) .ast-small-footer,
body .site-footer:not(.otkv2-footer--builder) .ast-footer-overlay,
body .site-footer:not(.otkv2-footer--builder) .site-primary-footer-wrap,
body .site-footer:not(.otkv2-footer--builder) .site-below-footer-wrap {
	background: var(--otkv2-paper);
	color: var(--otkv2-ink);
}

.otkv2-header {
	border-bottom: 1px solid var(--otkv2-line);
	background: var(--otkv2-surface);
	color: var(--otkv2-ink);
}

.otkv2-header--builder .ast-primary-header-bar,
.otkv2-header--builder .ast-above-header-bar,
.otkv2-header--builder .ast-below-header-bar {
	background: var(--otkv2-surface);
}

.otkv2-header--builder .ast-builder-menu .menu-item > .menu-link,
.otkv2-header--builder .site-title a,
.otkv2-header--builder .ast-header-html-1,
.otkv2-header--builder .ast-header-html-2 {
	color: var(--otkv2-ink);
}

.otkv2-header__inner {
	min-height: 78px;
	grid-template-columns: minmax(175px, 220px) minmax(0, 1fr) minmax(220px, 265px);
	gap: clamp(14px, 2vw, 28px);
}

.otkv2-brand,
.otkv2-brand:hover {
	color: var(--otkv2-ink);
}

.otkv2-brand__mark {
	border-color: var(--otkv2-saffron);
}

.otkv2-brand__mark::after {
	border-color: var(--otkv2-saffron);
	background: var(--otkv2-surface);
}

.otkv2-header__topics > a,
.otkv2-topics summary,
.otkv2-topics a {
	color: var(--otkv2-ink);
}

.otkv2-header__topics > a:hover,
.otkv2-topics a:hover,
.otkv2-mobile-topics__links a:hover {
	color: var(--otkv2-cobalt-hover);
}

.otkv2-header__topics [aria-current="page"],
.otkv2-topics [aria-current="page"],
.otkv2-mobile-topics [aria-current="page"],
.otkv2-section-topics [aria-current="page"] {
	color: var(--otkv2-cobalt-hover);
}

.otkv2-topics__panel {
	border-color: var(--otkv2-line);
	border-top-color: var(--otkv2-saffron);
	background: var(--otkv2-surface);
	box-shadow: 0 12px 24px rgb(37 45 41 / 0.12);
}

.otkv2-topics__panel a:hover {
	background: var(--otkv2-paper);
}

.otkv2-search__label {
	color: var(--otkv2-muted);
}

.otkv2-search input[type="search"] {
	border-color: var(--otkv2-line);
}

.otkv2-search button,
.otkv2-comments button,
.otkv2-comments input[type="submit"] {
	border-color: var(--otkv2-cobalt);
	background: var(--otkv2-cobalt);
}

.otkv2-search button:hover,
.otkv2-comments button:hover,
.otkv2-comments input[type="submit"]:hover {
	border-color: var(--otkv2-cobalt-hover);
	background: var(--otkv2-cobalt-hover);
}

.otkv2-mobile-topics {
	border-top-color: var(--otkv2-line);
}

.otkv2-mobile-topics summary {
	color: var(--otkv2-ink);
}

.otkv2-mobile-topics summary::after {
	color: var(--otkv2-cobalt);
}

.otkv2-mobile-topics__links a {
	color: var(--otkv2-muted);
}

.otkv2-feature {
	grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 0.9fr);
	gap: clamp(20px, 3vw, 38px);
	margin-bottom: clamp(42px, 5vw, 64px);
}

.otkv2-feature__lead {
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
	border: 1px solid var(--otkv2-line);
	border-left: 4px solid var(--otkv2-saffron);
	background: var(--otkv2-surface);
}

.otkv2-feature__body {
	grid-column: 1;
	grid-row: 1;
	padding: clamp(22px, 3vw, 36px);
}

.otkv2-feature__image {
	grid-column: 2;
	grid-row: 1;
	aspect-ratio: 4 / 3;
	background: var(--otkv2-mist);
}

.otkv2-feature__image img,
.otkv2-story-row__media img,
.otkv2-list-item__media img {
	object-fit: contain;
}

.otkv2-feature__title {
	max-width: 23ch;
	font-size: clamp(1.6rem, 2.5vw, 2.5rem);
	line-height: 1.1;
}

.otkv2-feature__excerpt,
.otkv2-story-row__excerpt,
.otkv2-list-item__excerpt {
	color: var(--otkv2-muted);
	text-wrap: pretty;
}

.otkv2-card-category {
	margin: 0 0 5px;
	font-size: 0.79rem;
	font-weight: 700;
	line-height: 1.35;
}

.otkv2-card-category a {
	color: var(--otkv2-cobalt);
	text-decoration-color: var(--otkv2-saffron);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.otkv2-card-category a:hover {
	color: var(--otkv2-cobalt-hover);
}

.otkv2-feature__side {
	width: 100%;
	border-top: 2px solid var(--otkv2-cobalt);
}

.otkv2-feature__side .otkv2-story-row {
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 14px;
	padding: 15px 0;
	border-bottom-color: var(--otkv2-line);
}

.otkv2-feature__side .otkv2-story-row__title {
	font-size: 1rem;
}

.otkv2-feature__side .otkv2-story-row__media {
	border-radius: 2px;
}

.otkv2-feature__side .otkv2-story-row--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.otkv2-story-list,
.otkv2-archive-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
	gap: clamp(16px, 2.4vw, 26px);
}

.otkv2-story-list {
	margin-bottom: 34px;
}

.otkv2-story-list > .otkv2-story-row,
.otkv2-archive-list > .otkv2-list-item {
	min-width: 0;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0;
	padding: 0;
	border: 1px solid var(--otkv2-line);
	border-radius: 3px;
	background: var(--otkv2-surface);
	overflow: hidden;
}

.otkv2-story-list > .otkv2-story-row--no-image,
.otkv2-archive-list > .otkv2-list-item--no-image {
	border-top: 3px solid var(--otkv2-saffron);
}

.otkv2-story-list > .otkv2-story-row > .otkv2-story-row__media,
.otkv2-archive-list > .otkv2-list-item > .otkv2-list-item__media {
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: 0;
	background: var(--otkv2-mist);
}

.otkv2-story-list > .otkv2-story-row .otkv2-story-row__media img,
.otkv2-archive-list > .otkv2-list-item .otkv2-list-item__media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.otkv2-story-list > .otkv2-story-row > .otkv2-story-row__body,
.otkv2-archive-list > .otkv2-list-item > .otkv2-list-item__body {
	min-width: 0;
	flex: 1 1 auto;
	padding: clamp(16px, 2vw, 22px);
}

.otkv2-story-list > .otkv2-story-row .otkv2-story-row__title,
.otkv2-archive-list > .otkv2-list-item .otkv2-list-item__title {
	font-size: clamp(1.13rem, 1.55vw, 1.42rem);
	line-height: 1.22;
}

.otkv2-story-list .otkv2-story-row__excerpt,
.otkv2-archive-list .otkv2-list-item__excerpt {
	margin-top: 9px;
	font-size: 0.96rem;
	line-height: 1.56;
}

.otkv2-date,
.otkv2-story__meta,
.otkv2-story-row__meta,
.otkv2-list-item__meta {
	color: var(--otkv2-muted);
	font-size: 0.82rem;
}

.otkv2-story-row__title a,
.otkv2-list-item__title a,
.otkv2-feature__title a {
	color: var(--otkv2-ink);
}

.otkv2-story__header {
	max-width: var(--otkv2-measure-reading);
	margin-bottom: clamp(22px, 3vw, 34px);
}

.otkv2-story__title {
	max-width: 23ch;
	font-size: clamp(2rem, 4vw, 3.25rem);
	line-height: 1.08;
}

.otkv2-story__image {
	max-width: var(--otkv2-measure-reading);
	margin-bottom: clamp(24px, 3vw, 34px);
	background: transparent;
}

.otkv2-story__content,
.otkv2-static-page__content {
	max-width: var(--otkv2-measure-reading);
	font-size: 19px;
	line-height: 1.78;
}

.otkv2-story__content p,
.otkv2-static-page__content p {
	margin-bottom: 1.45em;
}

.otkv2-related {
	max-width: 56rem;
	margin: clamp(42px, 6vw, 64px) auto 0;
	padding-top: 22px;
	border-top: 2px solid var(--otkv2-line);
}

.otkv2-related .otkv2-story-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(14px, 2vw, 22px);
}

.otkv2-related .otkv2-story-row {
	grid-template-columns: 1fr;
	align-items: stretch;
	gap: 0;
	padding: 0;
	border: 1px solid var(--otkv2-line);
	border-radius: 3px;
	background: var(--otkv2-surface);
	overflow: hidden;
}

.otkv2-related .otkv2-story-row__media {
	width: 100%;
	aspect-ratio: 3 / 2;
	background: var(--otkv2-mist);
}

.otkv2-related .otkv2-story-row__body {
	padding: 14px 16px;
}

.otkv2-related .otkv2-story-row__title {
	font-size: 1rem;
}

.otkv2-related .otkv2-story-row--no-image {
	grid-template-columns: minmax(0, 1fr);
}

.otkv2-pagination .current {
	border-color: var(--otkv2-cobalt);
	background: var(--otkv2-cobalt);
}

.otkv2-footer {
	border-top: 1px solid var(--otkv2-line);
}

.otkv2-footer__inner {
	grid-template-columns: minmax(150px, 0.55fr) minmax(0, 2fr);
	padding-block: 22px 18px;
}

.otkv2-footer__brand,
.otkv2-footer__disclosure > summary,
.otkv2-footer__links a,
body .site-footer:not(.otkv2-footer--builder) .ast-footer-copyright,
body .site-footer:not(.otkv2-footer--builder) .ast-footer-copyright a {
	color: var(--otkv2-ink);
}

.otkv2-footer__links a {
	color: var(--otkv2-muted);
}

.otkv2-footer__brand:hover,
.otkv2-footer__links a:hover,
body .site-footer:not(.otkv2-footer--builder) .ast-footer-copyright a:hover {
	color: var(--otkv2-cobalt-hover);
}

.otkv2-footer__disclosure > summary::after {
	border-color: var(--otkv2-line);
	color: var(--otkv2-cobalt);
}

.otkv2-section-topics {
	border-top: 2px solid var(--otkv2-line);
}

@media (max-width: 980px) {
	.otkv2-feature {
		grid-template-columns: minmax(0, 1fr);
	}

	.otkv2-feature__side {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 20px;
	}

	.otkv2-feature__side > .otkv2-story-row {
		grid-template-columns: 74px minmax(0, 1fr);
	}

	.otkv2-feature__side > .otkv2-story-row--no-image {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 720px) {
	:root {
		--otkv2-gutter: 18px;
	}

	.otkv2-header__inner {
		min-height: 72px;
	}

	.otkv2-header--builder .ast-primary-header-bar,
	.otkv2-header--builder .ast-above-header-bar,
	.otkv2-header--builder .ast-below-header-bar {
		background: var(--otkv2-surface);
	}

	.otkv2-shell {
		padding-block: 28px 54px;
	}

	.otkv2-feature {
		gap: 18px;
		margin-bottom: 42px;
	}

	.otkv2-feature__lead {
		grid-template-columns: minmax(0, 1fr);
	}

	.otkv2-feature__body {
		grid-column: 1;
		grid-row: 1;
		padding: 20px;
	}

	.otkv2-feature__image {
		grid-column: 1;
		grid-row: 2;
		width: 100%;
		max-width: none;
		aspect-ratio: 16 / 10;
		height: auto;
	}

	.otkv2-feature__image img {
		width: 100%;
		height: 100%;
		object-fit: contain;
	}

	.otkv2-feature__side,
	.otkv2-story-list,
	.otkv2-archive-list,
	.otkv2-related .otkv2-story-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.otkv2-feature__side > .otkv2-story-row,
	.otkv2-feature__side > .otkv2-story-row--no-image {
		grid-template-columns: minmax(76px, 0.28fr) minmax(0, 1fr);
	}

	.otkv2-feature__side > .otkv2-story-row--no-image {
		grid-template-columns: minmax(0, 1fr);
	}

	.otkv2-feature__side .otkv2-story-row__media {
		aspect-ratio: 4 / 3;
	}

	.otkv2-story__header {
		margin-bottom: 20px;
	}

	.otkv2-story__title {
		font-size: clamp(2rem, 7.5vw, 2.7rem);
	}

	.otkv2-story__content,
	.otkv2-static-page__content {
		font-size: 18px;
		line-height: 1.76;
	}

	.otkv2-footer__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}
}
