/* ===================================================================
   Sorabit Journal — WordPress blog layouts
   Built on top of the Sorabit gen02 design system (app.css)
   =================================================================== */

/* ---------- Base / utilities ---------- */
.ico {
	width: 1em;
	height: 1em;
	flex: 0 0 auto;
	vertical-align: -0.12em;
}

.screen-reader-text,
.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: fixed;
	top: 10px;
	left: 10px;
	z-index: 200;
	transform: translateY(-160%);
	padding: 10px 14px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	transition: transform 0.18s ease;
}

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

.site-main {
	min-height: 50vh;
}

html {
	scroll-padding-top: calc(var(--header-h, 74px) + 18px);
}

html:not(.js) .reveal,
html:not(.js) .reveal-x {
	opacity: 1;
	transform: none;
}

/* ---------- Header additions ---------- */
.site-header .brand-logo {
	max-width: 190px;
	height: auto;
	max-height: 34px;
	object-fit: contain;
}

.site-footer .brand-logo {
	filter: brightness(0) invert(1);
}

.brand-name {
	font-family: var(--font-display);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.03em;
	color: var(--text);
}

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

.header-tools {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.header-search {
	width: clamp(190px, 21vw, 280px);
}

.header-search-form {
	padding: 3px;
	border-radius: 999px;
	box-shadow: none;
}

.header-search-form .search-field {
	padding: 8px 12px;
	font-size: 12.5px;
}

.header-search-form .search-submit {
	padding: 8px 11px;
}

.header-search-form .search-submit-label {
	display: none;
}

.header-search-toggle {
	display: none;
}

.header-portal .ico {
	width: 13px;
	height: 13px;
}

.theme-icon-moon,
[data-theme="light"] .theme-icon-sun {
	display: inline-block;
}

[data-theme="light"] .theme-icon-moon,
[data-theme="dark"] .theme-icon-sun {
	display: none;
}

/* Search panel below the header */
.search-panel {
	border-top: 1px solid var(--line);
	background: color-mix(in srgb, var(--panel) 96%, transparent);
	backdrop-filter: blur(18px);
}

.search-panel-inner {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-block: 14px;
}

.search-panel .search-form {
	flex: 1;
}

.search-panel[hidden] {
	display: none;
}

/* Dropdown group heading inside the mobile drawer */
.drawer-group-label {
	display: block;
	padding: 12px 0 6px;
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.drawer-nav > a:first-child,
.drawer-group-label + a {
	padding-top: 8px;
}

/* ---------- Blog hero ---------- */
.blog-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(54px, 8vw, 104px) 0 clamp(38px, 5vw, 66px);
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(800px 420px at 8% -10%, var(--wash-1), transparent 64%),
		radial-gradient(900px 440px at 94% 0%, var(--wash-2), transparent 62%),
		var(--bg);
}

.blog-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.5;
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: linear-gradient(to bottom, #000 0, transparent 68%);
}

.blog-hero .shell {
	position: relative;
	z-index: 1;
}

.blog-hero-copy {
	display: flex;
	max-width: 900px;
	margin-inline: auto;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 18px;
}

.blog-hero .display {
	max-width: 19ch;
	font-size: clamp(2.2rem, 5.2vw, 4.6rem);
}

.blog-hero .lead {
	max-width: 63ch;
	margin-inline: auto;
}

.blog-hero-search {
	width: min(680px, 100%);
	margin-top: 8px;
}

.blog-hero .hero-meta {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin-top: 8px;
}

.blog-hero .hero-meta > div {
	min-width: 112px;
	padding: 11px 16px;
	border: 1px solid var(--line);
	border-radius: 14px;
	background: color-mix(in srgb, var(--panel) 88%, transparent);
	text-align: left;
	box-shadow: 0 20px 40px -34px rgb(21 18 51 / 0.38);
}

.blog-hero .hero-meta strong {
	display: block;
	color: var(--text);
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1;
}

.blog-hero .hero-meta span {
	display: block;
	margin-top: 5px;
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 9px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Compact hero for archive/search */
.blog-hero--compact {
	padding-block: clamp(34px, 5vw, 58px) clamp(28px, 4vw, 46px);
}

.archive-head {
	max-width: 850px;
}

.archive-head .display {
	margin: 16px 0 14px;
	max-width: 22ch;
	font-size: clamp(2rem, 4.2vw, 3.7rem);
}

.archive-head .lead {
	margin-top: 12px;
}

.archive-head .lead p:last-child {
	margin-bottom: 0;
}

.archive-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
	color: var(--muted);
	font-size: 12px;
}

.archive-meta .meta-dot {
	width: 4px;
	height: 4px;
	border-radius: 999px;
	background: var(--dim);
}

.archive-count {
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* ---------- Search forms ---------- */
.search-form {
	display: flex;
	align-items: center;
	gap: 4px;
	width: 100%;
	padding: 5px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--panel);
	box-shadow: 0 18px 40px -34px rgb(21 18 51 / 0.35);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.search-form:focus-within {
	border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
	box-shadow: 0 20px 44px -32px rgb(91 46 230 / 0.45);
}

.search-field {
	flex: 1 1 auto;
	min-width: 0;
	padding: 11px 15px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--text);
	font: inherit;
	font-size: 14px;
}

.search-field::placeholder {
	color: var(--dim);
}

.search-submit {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 11px 17px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #7350ff, var(--accent));
	color: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.search-submit:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 24px -14px rgb(91 46 230 / 0.7);
}

.search-submit .ico {
	width: 15px;
	height: 15px;
}

.search-form--hero {
	padding: 6px;
}

.search-form--hero .search-field {
	font-size: 14.5px;
}

.search-form--panel .search-field {
	font-size: 14px;
}

/* ---------- Section / featured ---------- */
.featured-section {
	background:
		radial-gradient(700px 360px at 100% 0%, color-mix(in srgb, var(--tone-blue) 6%, transparent), transparent 68%),
		var(--bg);
}

.featured-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.13fr) minmax(0, 0.87fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}

.featured-primary {
	min-width: 0;
	padding-right: clamp(0px, 2vw, 12px);
}

.featured-list {
	display: grid;
	gap: 0;
	min-width: 0;
	border-left: 1px solid var(--line);
	padding-left: clamp(20px, 3vw, 40px);
}

.featured-grid .section-head {
	margin-bottom: 28px;
}

.featured-card {
	position: relative;
}

.featured-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--panel-2);
	box-shadow: var(--shadow);
}

.featured-card-media img,
.post-card-media img,
.featured-item-media img,
.widget-post-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.featured-card:hover .featured-card-media img,
.post-card:hover .post-card-media img,
.featured-item:hover .featured-item-media img {
	transform: scale(1.035);
}

.featured-card-badge {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgb(13 11 31 / 0.78);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 8.5px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	backdrop-filter: blur(8px);
}

.featured-card-body {
	display: flex;
	flex-direction: column;
	gap: 13px;
	padding-top: 22px;
}

.post-kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.02em;
	text-transform: none;
}

.post-kicker time {
	color: var(--dim);
}

.category-pill {
	display: inline-flex;
	align-items: center;
	padding: 4px 9px 5px;
	border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent-text);
	font-family: var(--font-sans);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1;
	text-decoration: none;
	text-transform: none;
}

.category-pill:hover {
	border-color: color-mix(in srgb, var(--accent) 55%, transparent);
	color: var(--accent-text);
}

.meta-dot {
	display: inline-block;
	width: 4px;
	height: 4px;
	border-radius: 999px;
	background: var(--dim);
	flex: 0 0 auto;
}

.featured-card-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.7rem, 3.1vw, 2.55rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.08;
	text-wrap: balance;
}

.featured-card-title a {
	color: var(--text);
	text-decoration: none;
}

.featured-card-title a:hover {
	color: var(--accent-text);
}

.featured-card-excerpt {
	max-width: 62ch;
	margin: 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.7;
}

.featured-card-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 14px;
	border-top: 1px solid var(--line);
}

.read-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--accent-text);
	font-size: 12.5px;
	font-weight: 700;
	white-space: nowrap;
}

.read-link .ico {
	width: 13px;
	height: 13px;
	transition: transform 0.18s ease;
}

.read-link:hover .ico {
	transform: translateX(3px);
}

.featured-item {
	display: grid;
	grid-template-columns: 126px minmax(0, 1fr);
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
}

.featured-item:first-child {
	padding-top: 0;
}

.featured-item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.featured-item-media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: var(--panel-2);
}

.featured-item-copy {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 7px;
}

.featured-item-title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.featured-item-title a {
	color: var(--text);
}

.featured-item-title a:hover {
	color: var(--accent-text);
}

.featured-item-copy p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 0;
	color: var(--muted);
	font-size: 12.5px;
	line-height: 1.55;
}

/* Placeholder art */
.media-placeholder {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background:
		radial-gradient(120% 120% at 10% 10%, rgb(115 80 255 / 0.28), transparent 55%),
		radial-gradient(100% 100% at 100% 100%, rgb(255 91 44 / 0.2), transparent 60%),
		linear-gradient(135deg, var(--panel-3), var(--panel-2));
	color: var(--accent-text);
}

.media-placeholder::after {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.6;
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 28px 28px;
}

.media-placeholder-mark {
	position: absolute;
	inset: auto auto 12px 14px;
	color: color-mix(in srgb, var(--accent-text) 48%, transparent);
	font-family: var(--font-display);
	font-size: clamp(18px, 3vw, 32px);
	font-weight: 800;
	letter-spacing: -0.04em;
	line-height: 1;
}

.media-placeholder-icon {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
	border-radius: 15px;
	background: color-mix(in srgb, var(--panel) 65%, transparent);
	color: var(--accent-text);
	box-shadow: 0 16px 30px -22px rgb(21 18 51 / 0.55);
}

.media-placeholder-icon .ico {
	width: 22px;
	height: 22px;
}

.media-placeholder--small {
	min-height: 100%;
}

.media-placeholder--small .media-placeholder-icon {
	width: 36px;
	height: 36px;
	border-radius: 11px;
}

.media-placeholder--small .media-placeholder-icon .ico {
	width: 17px;
	height: 17px;
}

.media-placeholder--small .media-placeholder-mark {
	font-size: 13px;
	bottom: 8px;
	left: 10px;
}

.media-placeholder--tiny {
	width: 100%;
	height: 100%;
}

.media-placeholder--tiny .media-placeholder-mark {
	display: none;
}

.media-placeholder--tiny .media-placeholder-icon {
	width: 24px;
	height: 24px;
	border-radius: 7px;
}

.media-placeholder--tiny .media-placeholder-icon .ico {
	width: 12px;
	height: 12px;
}

/* ---------- Topic cloud ---------- */
.topics-card {
	padding: clamp(22px, 3vw, 34px);
	border: 1px solid var(--line);
	border-radius: 24px;
	background:
		radial-gradient(600px 260px at 100% 0%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 65%),
		var(--panel);
	box-shadow: 0 28px 70px -50px rgb(21 18 51 / 0.4);
}

.topics-card-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 28px;
}

.topics-card-head .display-2 {
	margin-top: 11px;
	font-size: clamp(1.55rem, 2.5vw, 2.2rem);
}

.topic-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 10px;
	margin-top: 26px;
}

.topic {
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 9px;
	padding: 14px 8px;
	border: 1px solid transparent;
	border-radius: 16px;
	text-align: center;
	transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.topic:hover {
	border-color: var(--line);
	background: var(--panel-2);
	transform: translateY(-2px);
}

.topic-icon {
	position: relative;
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line));
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent-text);
}

.topic:nth-child(6n + 2) .topic-icon {
	border-color: color-mix(in srgb, var(--tone-blue) 28%, var(--line));
	background: color-mix(in srgb, var(--tone-blue) 11%, var(--panel));
	color: var(--tone-blue);
}

.topic:nth-child(6n + 3) .topic-icon {
	border-color: color-mix(in srgb, var(--tone-coral) 28%, var(--line));
	background: color-mix(in srgb, var(--tone-coral) 10%, var(--panel));
	color: var(--tone-coral);
}

.topic:nth-child(6n + 4) .topic-icon {
	border-color: color-mix(in srgb, var(--tone-teal) 28%, var(--line));
	background: color-mix(in srgb, var(--tone-teal) 11%, var(--panel));
	color: var(--tone-teal);
}

.topic:nth-child(6n + 5) .topic-icon {
	border-color: color-mix(in srgb, var(--tone-violet) 28%, var(--line));
	background: color-mix(in srgb, var(--tone-violet) 11%, var(--panel));
	color: var(--tone-violet);
}

.topic-icon .ico {
	width: 24px;
	height: 24px;
}

.topic-count {
	position: absolute;
	top: -5px;
	right: -4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 23px;
	height: 21px;
	padding: 0 5px;
	border: 2px solid var(--panel);
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-family: var(--font-mono);
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
}

.topic-name {
	color: var(--text);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
}

/* ---------- Latest grid ---------- */
.latest-section .section-head {
	border-top: 1px solid var(--line);
	padding-top: clamp(28px, 4vw, 44px);
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(22px, 3vw, 30px);
}

.post-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 13px;
}

.post-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: var(--panel-2);
}

.post-card-body {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	gap: 9px;
}

.post-card-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.05rem, 1.55vw, 1.27rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.28;
}

.post-card-title a {
	color: var(--text);
}

.post-card-title a:hover {
	color: var(--accent-text);
}

.post-card-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.62;
}

.post-card-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-top: auto;
	padding-top: 11px;
	border-top: 1px solid var(--line);
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 9.5px;
}

.post-card-foot span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	white-space: nowrap;
}

.post-card-foot .ico {
	width: 12px;
	height: 12px;
}

.archive-empty {
	margin: 0;
	padding: 18px 0;
	color: var(--muted);
	font-size: 13px;
}

/* ---------- Article header ---------- */
.reading-progress {
	position: fixed;
	z-index: 200;
	top: 0;
	right: 0;
	left: 0;
	height: 2px;
	pointer-events: none;
}

.reading-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--accent), var(--hot));
	box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 65%, transparent);
	transition: width 0.08s linear;
}

.article-head {
	position: relative;
	overflow: hidden;
	padding: clamp(34px, 5vw, 58px) 0 clamp(30px, 4vw, 46px);
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(800px 400px at 0% 0%, var(--wash-1), transparent 60%),
		radial-gradient(760px 420px at 100% 0%, var(--wash-2), transparent 62%),
		var(--bg);
}

.article-head::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0.45;
	background-image:
		linear-gradient(var(--grid) 1px, transparent 1px),
		linear-gradient(90deg, var(--grid) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: linear-gradient(to bottom, #000 0, transparent 72%);
}

.article-head .shell {
	position: relative;
	z-index: 1;
}

.article-head-inner {
	max-width: 980px;
}

.article-head .display {
	max-width: 21ch;
	margin: 17px 0 0;
	font-size: clamp(2rem, 4.3vw, 3.9rem);
}

.article-head .lead {
	max-width: 60ch;
	margin-top: 17px;
}

.article-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 13px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.01em;
}

.entry-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.entry-meta a {
	color: var(--text);
}

.entry-meta a:hover {
	color: var(--accent-text);
}

.entry-meta .ico {
	width: 13px;
	height: 13px;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 7px;
	margin-bottom: 16px;
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 9.5px;
	letter-spacing: 0.02em;
}

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

.breadcrumbs a:hover {
	color: var(--accent-text);
}

.breadcrumbs span[aria-current="page"] {
	color: var(--text);
}

.share-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.share-label {
	margin-right: 2px;
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 8.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.share-link {
	display: inline-grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
	transition: color 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.share-link:hover {
	border-color: var(--accent);
	background: var(--accent-soft);
	color: var(--accent-text);
}

.share-link .ico {
	width: 13px;
	height: 13px;
}

/* ---------- Article body ---------- */
.article-shell {
	padding-block: clamp(26px, 4vw, 42px) 0;
}

.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(34px, 5vw, 66px);
	align-items: start;
}

.article-layout.no-sidebar {
	grid-template-columns: minmax(0, 780px);
	justify-content: center;
}

.article-main {
	min-width: 0;
}

.article-media {
	margin: 0 0 clamp(26px, 4vw, 40px);
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--panel);
	box-shadow: var(--shadow);
}

.article-media img {
	display: block;
	width: 100%;
	height: auto;
}

.article-media figcaption {
	padding: 11px 16px 12px;
	border-top: 1px solid var(--line);
	color: var(--dim);
	font-size: 11.5px;
	line-height: 1.5;
}

.entry-content {
	max-width: 74ch;
	color: var(--muted);
	font-size: 15.5px;
	line-height: 1.82;
}

.entry-content > * + * {
	margin-top: 1.18em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	color: var(--text);
	font-family: var(--font-display);
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.entry-content h2 {
	margin-top: 2.1em;
	font-size: clamp(1.35rem, 2.2vw, 1.7rem);
	line-height: 1.18;
}

.entry-content h3 {
	margin-top: 1.8em;
	font-size: clamp(1.15rem, 1.8vw, 1.35rem);
	line-height: 1.25;
}

.entry-content h4 {
	margin-top: 1.6em;
	font-size: 1rem;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-bottom: 0;
}

.entry-content strong {
	color: var(--text);
}

.entry-content a {
	color: var(--text);
	text-decoration: underline;
	text-decoration-color: var(--line-strong);
	text-underline-offset: 3px;
}

.entry-content a:hover {
	color: var(--accent-text);
	text-decoration-color: var(--accent);
}

.entry-content ul,
.entry-content ol {
	display: grid;
	gap: 0.45em;
	padding-left: 1.35em;
}

.entry-content ul {
	list-style: disc;
}

.entry-content ol {
	list-style: decimal;
}

.entry-content li::marker {
	color: var(--accent-text);
}

.entry-content blockquote,
.entry-content .wp-block-quote {
	margin: 1.8em 0;
	padding: 4px 0 4px 22px;
	border-left: 2px solid var(--accent);
	color: var(--text);
	font-size: 1.05em;
	line-height: 1.65;
}

.entry-content blockquote p:last-child,
.entry-content .wp-block-quote p:last-child {
	margin-bottom: 0;
}

.entry-content blockquote cite,
.entry-content .wp-block-quote cite {
	color: var(--dim);
	font-size: 0.72em;
	font-style: normal;
}

.entry-content code {
	padding: 2px 5px;
	border: 1px solid var(--line);
	border-radius: 5px;
	background: var(--panel-2);
	color: var(--text);
	font-family: var(--font-mono);
	font-size: 0.84em;
}

.entry-content pre,
.entry-content .wp-block-code {
	overflow: auto;
	max-width: 100%;
	margin: 1.6em 0;
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: var(--panel-3);
	color: var(--text);
	font-family: var(--font-mono);
	font-size: 12.5px;
	line-height: 1.7;
}

.entry-content pre code {
	padding: 0;
	border: 0;
	background: transparent;
	font-size: inherit;
}

.entry-content .wp-block-image,
.entry-content figure {
	max-width: 100%;
	margin: 1.7em 0;
}

.entry-content .wp-block-image img,
.entry-content figure img,
.entry-content > img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 13px;
}

.entry-content figcaption,
.entry-content .wp-element-caption {
	margin-top: 8px;
	color: var(--dim);
	font-size: 10.5px;
	line-height: 1.5;
	text-align: center;
}

.entry-content .wp-block-table {
	overflow-x: auto;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.entry-content th,
.entry-content td {
	padding: 9px 10px;
	border: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: var(--panel-2);
	color: var(--text);
	font-weight: 700;
}

.entry-content iframe,
.entry-content .wp-block-embed__wrapper {
	max-width: 100%;
}

.entry-content hr,
.entry-content .wp-block-separator {
	margin: 2em 0;
	border: 0;
	border-top: 1px solid var(--line);
}

.entry-content .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.entry-content .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.entry-content .wp-block-button__link:hover {
	background: var(--accent-text);
	color: #fff;
}

.entry-content .alignleft {
	float: left;
	margin: 0 20px 16px 0;
}

.entry-content .alignright {
	float: right;
	margin: 0 0 16px 20px;
}

.entry-content .aligncenter {
	margin-inline: auto;
}

.entry-content .alignwide,
.entry-content .alignfull {
	width: 100%;
	max-width: 100%;
}

.entry-content .wp-caption {
	max-width: 100%;
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 24px;
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 10px;
}

.page-links a,
.page-links > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 28px;
	height: 28px;
	padding: 0 7px;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--text);
	text-decoration: none;
}

.page-links a:hover {
	border-color: var(--accent);
	color: var(--accent-text);
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 30px 0 22px;
	padding-top: 18px;
	border-top: 1px solid var(--line);
}

.entry-tags-label {
	margin-right: 2px;
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 8.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.entry-tags a {
	padding: 5px 9px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--panel);
	color: var(--muted);
	font-size: 10.5px;
	text-decoration: none;
}

.entry-tags a:hover {
	border-color: var(--accent);
	color: var(--accent-text);
}

.article-share {
	display: flex;
	justify-content: flex-end;
	margin: 0 0 26px;
}

.edit-link {
	margin-top: 20px;
	font-family: var(--font-mono);
	font-size: 10px;
}

/* ---------- Author / post nav ---------- */
.author-box {
	display: grid;
	grid-template-columns: 90px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	margin: 34px 0;
	padding: clamp(20px, 3vw, 28px);
	border: 1px solid var(--line);
	border-radius: 18px;
	background:
		radial-gradient(400px 180px at 100% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%),
		var(--panel);
}

.author-avatar img {
	display: block;
	width: 90px;
	height: 90px;
	border: 1px solid var(--line);
	border-radius: 50%;
}

.author-copy .eyebrow {
	margin-bottom: 8px;
	font-size: 9px;
}

.author-name {
	margin: 0;
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.author-copy p:not(.eyebrow) {
	max-width: 58ch;
	margin: 8px 0 12px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.65;
}

.author-copy .underline-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--accent-text);
	font-size: 11.5px;
	font-weight: 700;
}

.author-copy .underline-link .ico {
	width: 12px;
	height: 12px;
}

.post-navigation {
	margin: 30px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	min-width: 0;
	padding: 14px 16px;
	border: 1px solid var(--line);
	border-radius: 13px;
	background: var(--panel);
	transition: border-color 0.18s ease, background 0.18s ease;
}

.post-navigation .nav-previous:hover,
.post-navigation .nav-next:hover {
	border-color: var(--accent);
	background: var(--accent-soft);
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation .nav-subtitle {
	display: block;
	margin-bottom: 5px;
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 8.5px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.post-navigation .nav-title {
	display: block;
	overflow: hidden;
	color: var(--text);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.4;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.post-navigation .nav-links > div:only-child {
	grid-column: 1 / -1;
}

/* ---------- Sidebar ---------- */
.sidebar {
	position: sticky;
	top: calc(var(--header-h) + 20px);
	display: grid;
	min-width: 0;
	gap: 16px;
}

.widget {
	padding: 18px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--panel);
	box-shadow: 0 20px 50px -44px rgb(21 18 51 / 0.4);
}

.widget-title,
.widget .wp-block-heading {
	margin: 0 0 14px;
	color: var(--text);
	font-family: var(--font-display);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.widget-posts {
	display: grid;
	gap: 12px;
}

.widget-post {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 10px;
	align-items: center;
}

.widget-post-media {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--panel-2);
}

.widget-post-copy {
	min-width: 0;
}

.widget-post-copy strong {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	color: var(--text);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

.widget-post:hover .widget-post-copy strong {
	color: var(--accent-text);
}

.widget-post-copy small {
	display: block;
	margin-top: 4px;
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 8.5px;
}

.topic-list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topic-list li + li {
	border-top: 1px solid var(--line);
}

.topic-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 0;
	color: var(--muted);
	font-size: 12px;
}

.topic-list a:hover {
	color: var(--accent-text);
}

.topic-list-count {
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 9px;
}

.widget--topics {
	padding-bottom: 12px;
}

.widget--cta {
	background:
		radial-gradient(120% 130% at 100% 0%, color-mix(in srgb, var(--hot) 14%, transparent), transparent 60%),
		radial-gradient(120% 120% at 0% 100%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 62%),
		var(--panel);
}

.widget--cta .eyebrow {
	margin-bottom: 11px;
	font-size: 9px;
}

.widget--cta h2 {
	margin: 0;
	color: var(--text);
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.widget--cta p:not(.eyebrow) {
	margin: 9px 0 15px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.6;
}

.widget--cta .underline-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	color: var(--accent-text);
	font-size: 11px;
	font-weight: 700;
}

.widget--cta .underline-link .ico {
	width: 12px;
	height: 12px;
}

.sidebar .widget .search-form {
	margin-top: 4px;
}

/* ---------- WordPress block/core widgets ---------- */
.sidebar .widget .wp-block-group {
	margin: 0;
}

.sidebar .widget .wp-block-group > * + * {
	margin-top: 0;
}

.sidebar .widget .wp-block-search {
	margin: 0;
}

.sidebar .widget .wp-block-search__label {
	display: block;
	margin-bottom: 8px;
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.sidebar .widget .wp-block-search__inside-wrapper {
	display: flex;
	gap: 4px;
	padding: 4px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--panel-2);
	box-shadow: none;
}

.sidebar .widget .wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	padding: 9px 13px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--text);
	font: inherit;
	font-size: 12.5px;
}

.sidebar .widget .wp-block-search__button {
	flex: 0 0 auto;
	margin: 0;
	padding: 9px 14px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #7350ff, var(--accent));
	color: #fff;
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
}

.sidebar .widget .wp-block-search__button:hover {
	box-shadow: 0 10px 20px -14px rgb(91 46 230 / 0.7);
}

.sidebar .widget :is(
	.wp-block-latest-posts,
	.wp-block-categories,
	.wp-block-archives,
	.wp-block-page-list,
	.wp-block-categories-dropdown,
	.wp-block-archives-dropdown
) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sidebar .widget :is(
	.wp-block-latest-posts,
	.wp-block-categories,
	.wp-block-archives,
	.widget_categories ul,
	.widget_archive ul,
	.widget_recent_entries ul,
	.widget_pages ul,
	.widget_meta ul,
	.widget_nav_menu ul,
	.widget_pages .children
) {
	display: grid;
	gap: 0;
}

.sidebar .widget :is(
	.wp-block-latest-posts,
	.wp-block-categories,
	.wp-block-archives,
	.widget_categories ul,
	.widget_archive ul,
	.widget_recent_entries ul,
	.widget_pages ul,
	.widget_meta ul,
	.widget_nav_menu ul
) > li {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line);
}

.sidebar .widget :is(
	.wp-block-latest-posts,
	.wp-block-categories,
	.wp-block-archives,
	.widget_categories ul,
	.widget_archive ul,
	.widget_recent_entries ul,
	.widget_pages ul,
	.widget_meta ul,
	.widget_nav_menu ul
) > li:first-child {
	border-top: 0;
}

.sidebar .widget :is(
	.wp-block-latest-posts__post-title,
	.wp-block-categories a,
	.wp-block-archives a,
	.widget_categories a,
	.widget_archive a,
	.widget_recent_entries a,
	.widget_pages a,
	.widget_meta a,
	.widget_nav_menu a
) {
	display: block;
	padding: 8px 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.45;
}

.sidebar .widget :is(
	.wp-block-latest-posts__post-title,
	.wp-block-categories a,
	.wp-block-archives a,
	.widget_categories a,
	.widget_archive a,
	.widget_recent_entries a,
	.widget_pages a,
	.widget_meta a,
	.widget_nav_menu a
):hover {
	color: var(--accent-text);
}

.sidebar .widget .wp-block-latest-posts__post-date {
	display: block;
	padding-bottom: 7px;
	color: var(--dim);
	font-family: var(--font-mono);
	font-size: 8.5px;
	line-height: 1.4;
}

.sidebar .widget select {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--panel-2);
	color: var(--text);
	font: inherit;
	font-size: 12px;
}

/* ---------- Pagination ---------- */
.pagination {
	margin-top: clamp(30px, 4vw, 44px);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--panel);
	color: var(--muted);
	font-family: var(--font-mono);
	font-size: 10px;
	text-decoration: none;
}

.pagination .page-numbers:hover {
	border-color: var(--accent);
	color: var(--accent-text);
}

.pagination .page-numbers.current {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

.pagination .page-numbers .ico {
	width: 12px;
	height: 12px;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
	gap: 6px;
	padding-inline: 12px;
	font-family: var(--font-sans);
	font-size: 10.5px;
	font-weight: 600;
}

.pagination .page-numbers.prev span,
.pagination .page-numbers.next span {
	display: inline;
}

/* ---------- Empty / 404 ---------- */
.no-results {
	max-width: 660px;
	padding: clamp(28px, 5vw, 48px);
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--panel);
	box-shadow: var(--shadow);
}

.no-results .display-2 {
	margin: 13px 0 11px;
	font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.no-results .lead {
	margin-bottom: 22px;
}

.not-found-hero {
	padding-block: clamp(46px, 8vw, 100px) clamp(30px, 5vw, 54px);
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(700px 360px at 0% 0%, var(--wash-1), transparent 62%),
		radial-gradient(760px 380px at 100% 0%, var(--wash-2), transparent 62%),
		var(--bg);
}

.not-found-card {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}

.not-found-code {
	color: transparent;
	font-family: var(--font-display);
	font-size: clamp(6rem, 18vw, 13rem);
	font-weight: 800;
	letter-spacing: -0.08em;
	line-height: 0.72;
	-webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 45%, var(--line));
	user-select: none;
}

.not-found-card .display-2 {
	margin: 10px auto 14px;
	max-width: 19ch;
	font-size: clamp(1.65rem, 3.2vw, 2.55rem);
}

.not-found-card .lead {
	max-width: 54ch;
	margin: 0 auto 22px;
}

.not-found-card .search-form {
	max-width: 560px;
	margin: 0 auto 18px;
}

.not-found-card .btn {
	display: inline-flex;
}

/* ---------- Footer tweaks ---------- */
.site-footer {
	margin-top: clamp(40px, 6vw, 72px);
	padding-block: clamp(44px, 7vw, 76px) 28px;
}

.site-footer .footer-minimal {
	display: grid;
	justify-items: center;
	gap: 18px;
	text-align: center;
}

.site-footer .footer-logo {
	display: block;
	width: clamp(150px, 16vw, 190px);
}

.site-footer .footer-logo img {
	display: block;
	width: 100%;
	height: auto;
}

.site-footer .footer-copy {
	margin: 0;
	color: rgb(255 255 255 / 0.5);
	font-family: var(--font-sans);
	font-size: 10px;
	letter-spacing: 0.03em;
	line-height: 1.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
	.header-search {
		width: 210px;
	}

	.featured-grid {
		gap: 26px;
	}
}

@media (max-width: 1120px) {
	.nav,
	.header-search {
		display: none;
	}

	.header-search-toggle {
		display: inline-flex;
	}

	.header-tools {
		margin-left: auto;
	}
}

@media (max-width: 980px) {
	.featured-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.featured-list {
		border-top: 1px solid var(--line);
		border-left: 0;
		padding-top: 22px;
		padding-left: 0;
	}

	.featured-item {
		padding: 16px 0;
	}

	.featured-item:first-child {
		padding-top: 0;
	}

	.topic-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.article-layout {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: static;
	}

	.article-layout.no-sidebar {
		grid-template-columns: 1fr;
	}

	.sidebar {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sidebar .widget--cta {
		grid-column: 1 / -1;
	}
}

@media (max-width: 760px) {
	.header-portal {
		display: none;
	}

	.header-tools {
		gap: 6px;
	}

	.blog-hero {
		padding-top: 44px;
	}

	.blog-hero .display {
		max-width: 22ch;
	}

	.blog-hero .hero-meta > div {
		min-width: 96px;
		padding: 10px 13px;
	}

	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px 16px;
	}

	.featured-card-title {
		font-size: clamp(1.5rem, 4vw, 2.1rem);
	}

	.article-head .display {
		max-width: 24ch;
	}

	.share-links {
		margin-left: 0;
	}

	.article-meta-row {
		gap: 12px;
	}

	.entry-meta {
		gap: 10px;
	}

	.search-submit-label {
		display: none;
	}

	.search-submit {
		width: 42px;
		height: 42px;
		padding: 0;
	}

	.search-field {
		padding-inline: 13px;
	}

	.sidebar {
		grid-template-columns: 1fr;
	}

	.sidebar .widget--cta {
		grid-column: auto;
	}

	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.post-navigation .nav-next {
		text-align: left;
	}

	.author-box {
		grid-template-columns: 68px minmax(0, 1fr);
		gap: 14px;
	}

	.author-avatar img {
		width: 68px;
		height: 68px;
	}
}

@media (max-width: 560px) {
	.topbar-group:first-child .dim,
	.topbar-group:last-child span {
		display: none;
	}

	.topbar-inner {
		min-height: 30px;
	}

	.blog-hero {
		padding-block: 36px 30px;
	}

	.blog-hero .lead {
		font-size: 14px;
	}

	.blog-hero .hero-meta {
		width: 100%;
		gap: 6px;
	}

	.blog-hero .hero-meta > div {
		flex: 1 1 0;
		min-width: 0;
		padding: 9px 10px;
	}

	.blog-hero .hero-meta strong {
		font-size: 18px;
	}

	.blog-hero .hero-meta span {
		font-size: 8px;
	}

	.archive-head .display {
		font-size: clamp(1.8rem, 7vw, 2.7rem);
	}

	.post-grid {
		grid-template-columns: 1fr;
	}

	.post-card-media {
		aspect-ratio: 16 / 9;
	}

	.featured-item {
		grid-template-columns: 96px minmax(0, 1fr);
		gap: 12px;
	}

	.featured-item-title {
		font-size: 15px;
	}

	.featured-item-copy p {
		-webkit-line-clamp: 2;
		font-size: 11.5px;
	}

	.topic-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.topics-card-head {
		align-items: flex-start;
	}

	.article-head {
		padding-top: 28px;
	}

	.article-head .display {
		font-size: clamp(1.8rem, 8vw, 2.7rem);
	}

	.article-meta-row {
		align-items: flex-start;
	}

	.entry-meta {
		width: 100%;
	}

	.share-links {
		width: 100%;
	}

	.author-box {
		grid-template-columns: 1fr;
	}

	.pagination .page-numbers.prev span,
	.pagination .page-numbers.next span {
		display: none;
	}
}

@media (max-width: 380px) {
	.featured-item {
		grid-template-columns: 82px minmax(0, 1fr);
	}

	.blog-hero .hero-meta > div {
		padding-inline: 7px;
	}
}