/*
Theme Name: Zoomb
Author: Zoomb Team
Description: A minimal, RTL-ready technology magazine theme with a clean reading experience.
Version: 0.17.6
Requires at least: 6.2
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zoomb
Tags: blog, news, rtl-language-support, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

@font-face {
	font-family: "Estedad";
	src: url("assets/fonts/estedad/Estedad-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

:root {
	--zoomb-color-primary: #2563eb;
	--zoomb-color-primary-dark: #1d4ed8;
	--zoomb-color-accent: #06b6d4;
	--zoomb-color-text: #172033;
	--zoomb-color-muted: #667085;
	--zoomb-color-heading: #101828;
	--zoomb-color-surface: #ffffff;
	--zoomb-color-background: #f6f8fb;
	--zoomb-color-border: #e4e8f0;
	--zoomb-color-soft: #eef4ff;
	--zoomb-dark-color-surface: #121826;
	--zoomb-dark-color-background: #0b1020;
	--zoomb-dark-color-text: #e7ecf5;
	--zoomb-dark-color-muted: #a8b3c7;
	--zoomb-dark-color-heading: #f8fafc;
	--zoomb-dark-color-border: #263247;
	--zoomb-dark-color-soft: rgba(6, 182, 212, 0.13);
	--zoomb-shadow-sm: 0 8px 24px rgba(16, 24, 40, 0.06);
	--zoomb-shadow-md: 0 16px 40px rgba(16, 24, 40, 0.09);
	--zoomb-radius-sm: 10px;
	--zoomb-radius-md: 18px;
	--zoomb-radius-lg: 26px;
	--zoomb-container: 1240px;
	--zoomb-content: 760px;
	--zoomb-sidebar: 320px;
	--zoomb-card-gap: 22px;
	--zoomb-body-font-size: 16px;
	--zoomb-heading-h1: 54px;
	--zoomb-heading-h2: 36px;
	--zoomb-heading-h3: 28px;
	--zoomb-heading-h4: 22px;
	--zoomb-heading-h5: 18px;
	--zoomb-heading-h6: 16px;
	--zoomb-sidebar-h1: 32px;
	--zoomb-sidebar-h2: 22px;
	--zoomb-body-line-height: 1.9;
	--zoomb-body-font-weight: 400;
	--zoomb-heading-weight: 800;
	--zoomb-control-height: 44px;
	--zoomb-logo-width: 180px;
	--zoomb-blog-columns: 2;
	--zoomb-sidebar-gap: 20px;
	--zoomb-sidebar-title-gap: 20px;
	--zoomb-transition: 180ms ease;
	--zoomb-reading-scale: 1;
}

html[data-zoomb-theme="dark"],
html[data-zoomb-default-theme="dark"]:not([data-zoomb-theme]) {
	color-scheme: dark;
	--zoomb-color-text: var(--zoomb-dark-color-text);
	--zoomb-color-muted: var(--zoomb-dark-color-muted);
	--zoomb-color-heading: var(--zoomb-dark-color-heading);
	--zoomb-color-surface: var(--zoomb-dark-color-surface);
	--zoomb-color-background: var(--zoomb-dark-color-background);
	--zoomb-color-border: var(--zoomb-dark-color-border);
	--zoomb-color-soft: var(--zoomb-dark-color-soft);
	--zoomb-shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.2);
	--zoomb-shadow-md: 0 16px 40px rgba(0, 0, 0, 0.28);
}

@media (prefers-color-scheme: dark) {
	html[data-zoomb-default-theme="system"]:not([data-zoomb-theme]) {
		color-scheme: dark;
		--zoomb-color-text: var(--zoomb-dark-color-text);
		--zoomb-color-muted: var(--zoomb-dark-color-muted);
		--zoomb-color-heading: var(--zoomb-dark-color-heading);
		--zoomb-color-surface: var(--zoomb-dark-color-surface);
		--zoomb-color-background: var(--zoomb-dark-color-background);
		--zoomb-color-border: var(--zoomb-dark-color-border);
		--zoomb-color-soft: var(--zoomb-dark-color-soft);
		--zoomb-shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.2);
		--zoomb-shadow-md: 0 16px 40px rgba(0, 0, 0, 0.28);
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--zoomb-color-background);
	color: var(--zoomb-color-text);
	font-family: "Estedad", Tahoma, Arial, sans-serif;
	font-size: var(--zoomb-body-font-size);
	font-weight: var(--zoomb-body-font-weight);
	line-height: var(--zoomb-body-line-height);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.menu-open,
body.search-open {
	overflow: hidden;
}

a {
	color: var(--zoomb-color-primary);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color var(--zoomb-transition), opacity var(--zoomb-transition);
}

a:hover {
	color: var(--zoomb-color-primary-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--zoomb-color-primary) 32%, transparent);
	outline-offset: 3px;
}

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

figure {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
.button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--zoomb-control-height);
	padding: 0.65rem 1.15rem;
	border: 1px solid transparent;
	border-radius: var(--zoomb-radius-sm);
	background: var(--zoomb-color-primary);
	color: #ffffff;
	font-weight: 650;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: transform var(--zoomb-transition), background-color var(--zoomb-transition), box-shadow var(--zoomb-transition);
}

button:hover,
.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.wp-element-button:hover {
	background: var(--zoomb-color-primary-dark);
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
	transform: translateY(-1px);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
	width: 100%;
	min-height: 46px;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--zoomb-color-border);
	border-radius: var(--zoomb-radius-sm);
	background: var(--zoomb-color-surface);
	color: var(--zoomb-color-text);
	transition: border-color var(--zoomb-transition), box-shadow var(--zoomb-transition);
}

textarea {
	min-height: 140px;
	resize: vertical;
}

.zoomb-container {
	width: min(calc(100% - 32px), var(--zoomb-container));
	margin-inline: auto;
}

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

.screen-reader-text:focus {
	top: 8px;
	inset-inline-start: 8px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto !important;
	background: var(--zoomb-color-surface);
	color: var(--zoomb-color-primary);
	box-shadow: var(--zoomb-shadow-md);
}

.site-header {
	position: relative;
	z-index: 50;
	border-bottom: 1px solid var(--zoomb-color-border);
	background: rgba(255, 255, 255, 0.96);
}

html.zoomb-dark-active .site-header,
html[data-zoomb-theme="dark"] .site-header,
html[data-zoomb-default-theme="dark"]:not([data-zoomb-theme]) .site-header {
	background: rgba(18, 24, 38, 0.94);
}

@media (prefers-color-scheme: dark) {
	html[data-zoomb-default-theme="system"]:not([data-zoomb-theme]) .site-header {
		background: rgba(18, 24, 38, 0.94);
	}
}

.site-header.is-sticky {
	position: sticky;
	top: 0;
	box-shadow: 0 8px 24px rgba(16, 24, 40, 0.05);
}

.zoomb-reading-progress {
	display: block;
	width: 100%;
	height: 4px;
	background: rgba(37, 99, 235, 0.16);
	background: color-mix(in srgb, var(--zoomb-color-primary) 16%, transparent);
	pointer-events: none;
	box-shadow: 0 1px 8px rgba(37, 99, 235, 0.18);
}

.zoomb-reading-progress-top-viewport,
.zoomb-reading-progress-bottom-viewport {
	position: fixed;
	inset-inline: 0;
	z-index: 140;
}

.zoomb-reading-progress-top-viewport {
	top: 0;
}

.zoomb-reading-progress-bottom-viewport {
	bottom: 0;
}

.zoomb-reading-progress-fill {
	display: block;
	width: 100%;
	height: 100%;
	background: var(--zoomb-color-primary);
	background: linear-gradient(90deg, var(--zoomb-color-primary), var(--zoomb-color-accent));
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform 120ms linear;
}

.zoomb-reading-progress-inline {
	position: sticky;
	top: 0.5rem;
	z-index: 20;
	margin: -0.6rem 0 1.25rem;
	border-radius: 999px;
}

body h1 {
	font-size: clamp(2rem, 5vw, var(--zoomb-heading-h1));
}

body h2 {
	font-size: clamp(1.35rem, 3vw, var(--zoomb-heading-h2));
}

body h3 {
	font-size: clamp(1.2rem, 2.4vw, var(--zoomb-heading-h3));
}

body h4 {
	font-size: clamp(1.08rem, 2vw, var(--zoomb-heading-h4));
}

body h5 {
	font-size: clamp(1rem, 1.5vw, var(--zoomb-heading-h5));
}

body h6 {
	font-size: clamp(0.95rem, 1.2vw, var(--zoomb-heading-h6));
}

html[dir="ltr"] .zoomb-reading-progress-fill {
	transform-origin: left center;
}

body.admin-bar .site-header.is-sticky {
	top: 32px;
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 84px;
	gap: 2rem;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.8rem;
	min-width: 0;
}

.main-navigation {
	order: 2;
	margin-inline-start: auto;
}

.header-actions {
	order: 3;
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

.custom-logo-link {
	display: inline-flex;
}

.custom-logo {
	width: min(var(--zoomb-logo-width), 45vw);
	max-width: 100%;
	max-height: 54px;
	object-fit: contain;
}

.site-title {
	margin: 0;
	font-size: clamp(1.4rem, 3vw, 1.8rem);
	font-weight: 850;
	line-height: 1.2;
}

.site-title a {
	color: var(--zoomb-color-heading);
	text-decoration: none;
}

.site-description {
	margin: 0;
	color: var(--zoomb-color-muted);
	font-size: 0.8rem;
}

.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 0.65rem 0.85rem;
	border-radius: 8px;
	color: var(--zoomb-color-heading);
	font-size: 0.93rem;
	font-weight: 600;
	text-decoration: none;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	background: var(--zoomb-color-soft);
	color: var(--zoomb-color-primary);
}

.main-navigation ul ul {
	position: absolute;
	top: calc(100% + 8px);
	inset-inline-start: 0;
	display: block;
	min-width: 220px;
	padding: 0.45rem;
	border: 1px solid var(--zoomb-color-border);
	border-radius: var(--zoomb-radius-sm);
	background: var(--zoomb-color-surface);
	box-shadow: var(--zoomb-shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--zoomb-transition), visibility var(--zoomb-transition), transform var(--zoomb-transition);
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.menu-toggle {
	display: none;
	width: 44px;
	min-height: 44px;
	padding: 0;
}

.header-search-toggle,
.zoomb-search-close,
.theme-toggle {
	width: 44px;
	min-height: 44px;
	padding: 0;
	border-color: var(--zoomb-color-border);
	background: var(--zoomb-color-surface);
	color: var(--zoomb-color-heading);
}

.header-search-toggle:hover,
.zoomb-search-close:hover,
.theme-toggle:hover {
	border-color: color-mix(in srgb, var(--zoomb-color-primary) 30%, var(--zoomb-color-border));
	background: var(--zoomb-color-soft);
	color: var(--zoomb-color-primary);
}

.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 8.25rem;
	min-width: 8.25rem;
	gap: 0.45rem;
	padding: 0.35rem 0.7rem;
	font-size: 0.78rem;
	font-weight: 700;
	white-space: nowrap;
}

.theme-toggle-mobile,
.mobile-menu-head,
.mobile-menu-tools {
	display: none;
}

.theme-toggle-icons {
	flex: 0 0 20px;
}

.theme-toggle-label {
	display: inline-block;
	min-inline-size: 4.3rem;
	text-align: center;
	line-height: 1.2;
}

.theme-toggle-icons {
	position: relative;
	display: grid;
	width: 20px;
	height: 20px;
	place-items: center;
	color: var(--zoomb-color-heading);
}

.theme-toggle-sun,
.theme-toggle-moon {
	position: absolute;
	top: 50%;
	left: 50%;
	transition: opacity var(--zoomb-transition), transform var(--zoomb-transition);
}

.theme-toggle-sun {
	width: 11px;
	height: 11px;
	transform: translate(-50%, -50%);
	border: 2px solid currentColor;
	border-radius: 50%;
	box-shadow: 0 -7px 0 -5px currentColor, 0 7px 0 -5px currentColor, 7px 0 0 -5px currentColor, -7px 0 0 -5px currentColor, 5px 5px 0 -5px currentColor, -5px -5px 0 -5px currentColor, 5px -5px 0 -5px currentColor, -5px 5px 0 -5px currentColor;
}

.theme-toggle-moon {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	box-shadow: -4px 2px 0 1px currentColor;
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.72) rotate(-20deg);
}

.theme-toggle.is-dark .theme-toggle-icons {
	color: var(--zoomb-color-accent);
}

.theme-toggle.is-dark .theme-toggle-sun {
	opacity: 0;
	transform: translate(-50%, -50%) scale(0.72) rotate(30deg);
}

.theme-toggle.is-dark .theme-toggle-moon {
	opacity: 1;
	transform: translate(-50%, -50%) scale(1) rotate(0);
}

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

.zoomb-search-drawer {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: grid;
	place-items: start center;
	padding: min(12vh, 8rem) 1rem 1rem;
	background: rgba(16, 24, 40, 0.48);
	backdrop-filter: blur(5px);
}

.zoomb-search-drawer-panel {
	width: min(100%, 680px);
	padding: 1.25rem;
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: var(--zoomb-radius-md);
	background: var(--zoomb-color-surface);
	box-shadow: var(--zoomb-shadow-md);
}

.zoomb-search-drawer-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}

.zoomb-search-drawer h2 {
	margin: 0;
	color: var(--zoomb-color-heading);
	font-size: 1.1rem;
}

.menu-toggle-lines,
.menu-toggle-lines span {
	display: block;
}

.menu-toggle-lines {
	width: 20px;
}

.menu-toggle-lines span {
	height: 2px;
	margin: 4px 0;
	border-radius: 2px;
	background: currentColor;
	transition: transform var(--zoomb-transition), opacity var(--zoomb-transition);
}

.site-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2rem;
	padding-block: clamp(2rem, 5vw, 4rem);
}

.site-layout.has-sidebar {
	grid-template-columns: minmax(0, 1fr) var(--zoomb-sidebar);
}

.site-layout.has-sidebar.sidebar-position-start {
	grid-template-columns: var(--zoomb-sidebar) minmax(0, 1fr);
}

.site-layout.sidebar-position-start .site-main {
	grid-column: 2;
	grid-row: 1;
}

.site-layout.sidebar-position-start .widget-area {
	grid-column: 1;
	grid-row: 1;
}

.page-layout {
	padding-block: clamp(2rem, 5vw, 4rem);
}

.page-layout .site-main {
	width: min(100%, var(--zoomb-content));
	margin-inline: auto;
}

.page-header {
	margin-bottom: 1.75rem;
}

.page-title,
.entry-title {
	color: var(--zoomb-color-heading);
	font-weight: var(--zoomb-heading-weight);
	line-height: 1.35;
}

.page-title {
	margin: 0;
	font-size: clamp(1.8rem, 4vw, var(--zoomb-heading-h1));
}

.archive-description {
	max-width: 720px;
	color: var(--zoomb-color-muted);
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(var(--zoomb-blog-columns), minmax(0, 1fr));
	gap: var(--zoomb-card-gap);
}

.posts-columns-2 {
	--zoomb-blog-columns: 2;
}

.posts-columns-3 {
	--zoomb-blog-columns: 3;
}

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

.posts-list .post-card {
	display: grid;
	grid-template-columns: minmax(240px, 36%) minmax(0, 1fr);
	align-items: stretch;
}

.posts-list .post-card-thumbnail {
	height: 100%;
	min-height: 230px;
	aspect-ratio: auto;
}

.posts-list .post-card-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(1.25rem, 3vw, 2rem);
}

.posts-list .read-more {
	align-self: flex-start;
}

.posts-card-bordered .post-card {
	box-shadow: none;
}

.posts-card-minimal .post-card {
	border-color: transparent;
	background: transparent;
	box-shadow: none;
}

.posts-card-minimal .post-card:hover {
	border-color: transparent;
	box-shadow: none;
	transform: none;
}

.posts-card-minimal .post-card-thumbnail,
.posts-card-minimal .post-card-content {
	border-radius: var(--zoomb-radius-md);
	background: var(--zoomb-color-surface);
}

.posts-card-minimal .post-card-content {
	margin-top: 0.7rem;
}

.post-card {
	overflow: hidden;
	border: 1px solid var(--zoomb-color-border);
	border-radius: var(--zoomb-radius-md);
	background: var(--zoomb-color-surface);
	box-shadow: var(--zoomb-shadow-sm);
	transition: transform var(--zoomb-transition), box-shadow var(--zoomb-transition), border-color var(--zoomb-transition);
}

.post-card:hover {
	border-color: color-mix(in srgb, var(--zoomb-color-primary) 25%, var(--zoomb-color-border));
	box-shadow: var(--zoomb-shadow-md);
	transform: translateY(-3px);
}

.post-card-thumbnail {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: var(--zoomb-color-soft);
}

.post-card-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 350ms ease;
}

.post-card:hover .post-card-thumbnail img {
	transform: scale(1.025);
}

.post-card-content {
	padding: 1.25rem;
}

.post-card .entry-title {
	margin: 0.5rem 0;
	font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.post-card .entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-categories {
	min-height: 1.5em;
}

.entry-categories a,
.cat-links a {
	display: inline-block;
	color: var(--zoomb-color-primary);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 1rem;
	color: var(--zoomb-color-muted);
	font-size: 0.78rem;
}

@media (max-width: 720px) {
	.single-entry .entry-meta {
		flex-wrap: nowrap;
		gap: 0.35rem;
		min-width: 0;
		overflow: hidden;
		font-size: 0.68rem;
		white-space: nowrap;
	}

	.single-entry .entry-meta > * {
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

.entry-meta a {
	color: inherit;
	text-decoration: none;
}

.entry-summary {
	color: var(--zoomb-color-muted);
	font-size: 0.92rem;
}

.entry-summary p:last-child {
	margin-bottom: 0;
}

.read-more {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin-top: 1rem;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none;
}

.single-entry,
.page-entry,
.comments-area,
.post-navigation {
	padding: clamp(1.25rem, 3vw, 2.4rem);
	border: 1px solid var(--zoomb-color-border);
	border-radius: var(--zoomb-radius-md);
	background: var(--zoomb-color-surface);
	box-shadow: var(--zoomb-shadow-sm);
}

.single-entry .entry-header,
.page-entry .entry-header {
	margin-bottom: 1.5rem;
}

.single-entry .entry-title,
.page-entry .entry-title {
	margin: 0.45rem 0 0.8rem;
	font-size: clamp(2rem, 5vw, var(--zoomb-heading-h1));
}

.single-thumbnail {
	overflow: hidden;
	margin: 1.5rem 0 2rem;
	border-radius: var(--zoomb-radius-md);
}

.single-thumbnail img {
	display: block;
	width: 100%;
}

.single-action-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-top: 1rem;
}

.single-action-button,
.zoomb-back-to-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-height: 40px;
	margin-top: 0;
	padding: 0.45rem 0.75rem;
	border: 1px solid var(--zoomb-color-border);
	border-radius: var(--zoomb-radius-sm);
	background: var(--zoomb-color-surface);
	color: var(--zoomb-color-heading);
	font: inherit;
	font-size: 0.78rem;
	font-weight: 700;
	cursor: pointer;
	transition: border-color var(--zoomb-transition), background-color var(--zoomb-transition), color var(--zoomb-transition), transform var(--zoomb-transition);
}

.single-action-button:hover,
.single-action-button:focus-visible,
.zoomb-back-to-top:hover,
.zoomb-back-to-top:focus-visible {
	border-color: var(--zoomb-color-primary);
	background: var(--zoomb-color-soft);
	color: var(--zoomb-color-primary);
	transform: translateY(-1px);
}

.single-action-button[data-tooltip] {
	position: relative;
}

.single-action-button[data-tooltip]::after {
	position: absolute;
	right: 50%;
	bottom: calc(100% + 0.45rem);
	z-index: 30;
	max-width: 14rem;
	padding: 0.35rem 0.55rem;
	border: 1px solid var(--zoomb-color-border);
	border-radius: var(--zoomb-radius-sm);
	background: var(--zoomb-color-heading);
	color: var(--zoomb-color-surface);
	content: attr(data-tooltip);
	font-size: 0.7rem;
	font-weight: 600;
	line-height: 1.5;
	opacity: 0;
	pointer-events: none;
	transform: translate(50%, 0.25rem);
	transition: opacity var(--zoomb-transition), transform var(--zoomb-transition);
	white-space: nowrap;
}

.single-action-button[data-tooltip]:hover::after,
.single-action-button[data-tooltip]:focus-visible::after {
	opacity: 1;
	transform: translate(50%, 0);
}

.zoomb-micro-interactions-disabled .single-action-button,
.zoomb-micro-interactions-disabled .post-card,
.zoomb-micro-interactions-disabled .related-post-card,
.zoomb-micro-interactions-disabled .nav-post-card {
	transition: none;
}

.zoomb-micro-interactions-disabled .post-card:hover,
.zoomb-micro-interactions-disabled .related-post-card:hover,
.zoomb-micro-interactions-disabled .nav-post-card:hover,
.zoomb-micro-interactions-disabled .single-action-button:hover,
.zoomb-micro-interactions-disabled .single-action-button:focus-visible {
	transform: none;
}

.single-action-button.is-success {
	border-color: var(--zoomb-color-accent);
	color: var(--zoomb-color-primary);
}

.zoomb-reading-appearance {
	position: fixed;
	inset-inline-end: 1rem;
	top: 7rem;
	z-index: 120;
}

.zoomb-appearance-toggle,
.zoomb-toc-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-width: 42px;
	min-height: 42px;
	padding: 0.45rem 0.65rem;
	border: 1px solid var(--zoomb-color-border);
	border-radius: 999px;
	background: var(--zoomb-color-surface);
	color: var(--zoomb-color-heading);
	font: inherit;
	font-weight: 800;
	box-shadow: var(--zoomb-shadow-sm);
	cursor: pointer;
	transition: background-color var(--zoomb-transition), color var(--zoomb-transition), transform var(--zoomb-transition);
}

.zoomb-appearance-toggle:hover,
.zoomb-appearance-toggle:focus-visible,
.zoomb-toc-toggle:hover,
.zoomb-toc-toggle:focus-visible {
	background: var(--zoomb-color-soft);
	color: var(--zoomb-color-primary);
	transform: translateY(-1px);
}

.zoomb-appearance-panel {
	position: absolute;
	inset-inline-end: 0;
	top: calc(100% + 0.5rem);
	display: grid;
	gap: 0.6rem;
	width: 210px;
	padding: 0.8rem;
	border: 1px solid var(--zoomb-color-border);
	border-radius: var(--zoomb-radius-md);
	background: var(--zoomb-color-surface);
	box-shadow: var(--zoomb-shadow-md);
	font-size: 0.78rem;
}

.zoomb-appearance-panel[hidden],
.zoomb-toc-panel[hidden],
.zoomb-midpoint-banner[hidden] {
	display: none;
}

.zoomb-appearance-panel input[type="range"] {
	width: 100%;
	accent-color: var(--zoomb-color-primary);
}

.zoomb-appearance-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.3rem;
}

.zoomb-appearance-actions button {
	min-width: 28px;
	min-height: 28px;
	padding: 0.1rem 0.35rem;
	border: 1px solid var(--zoomb-color-border);
	border-radius: var(--zoomb-radius-sm);
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.zoomb-appearance-actions button:last-child {
	font-size: 0.68rem;
}

.zoomb-active-toc {
	position: fixed;
	inset-inline-start: 1rem;
	top: 7rem;
	z-index: 119;
	max-width: min(240px, 23vw);
}

.zoomb-active-toc[hidden] {
	display: none;
}

.zoomb-toc-toggle {
	font-size: 0.75rem;
}

.zoomb-toc-panel {
	max-height: min(52vh, 420px);
	overflow: auto;
	margin-top: 0.45rem;
	padding: 0.55rem;
	border: 1px solid var(--zoomb-color-border);
	border-radius: var(--zoomb-radius-md);
	background: var(--zoomb-color-surface);
	box-shadow: var(--zoomb-shadow-md);
}

.zoomb-toc-panel ol {
	display: grid;
	gap: 0.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zoomb-toc-panel li a {
	display: block;
	padding: 0.35rem 0.45rem;
	border-radius: var(--zoomb-radius-sm);
	color: var(--zoomb-color-muted);
	font-size: 0.72rem;
	line-height: 1.6;
	text-decoration: none;
	transition: background-color var(--zoomb-transition), color var(--zoomb-transition);
}

.zoomb-toc-panel li.is-subsection a {
	padding-inline-start: 1rem;
	font-size: 0.68rem;
}

.zoomb-toc-panel li.is-active a,
.zoomb-toc-panel li a:hover,
.zoomb-toc-panel li a:focus-visible {
	background: var(--zoomb-color-soft);
	color: var(--zoomb-color-primary);
}

.zoomb-spotlight-enabled .entry-content p {
	opacity: 0.96;
	transition: opacity var(--zoomb-transition);
}

.zoomb-spotlight-enabled .entry-content p.is-spotlight {
	opacity: 1;
}

.zoomb-midpoint-banner {
	position: fixed;
	inset-inline-end: 1.2rem;
	bottom: 1.2rem;
	z-index: 130;
	display: flex;
	align-items: flex-start;
	gap: 0.8rem;
	width: min(370px, calc(100vw - 2rem));
	padding: 1.1rem 1rem 1.1rem 1.2rem;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--zoomb-color-accent) 45%, var(--zoomb-color-border));
	border-radius: var(--zoomb-radius-md);
	background: radial-gradient(circle at 88% 8%, color-mix(in srgb, var(--zoomb-color-accent) 22%, transparent), transparent 42%), linear-gradient(135deg, var(--zoomb-color-surface) 0%, color-mix(in srgb, var(--zoomb-color-primary) 8%, var(--zoomb-color-surface)) 100%);
	box-shadow: var(--zoomb-shadow-md);
	transform-origin: bottom left;
	animation: zoomb-banner-in 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.zoomb-midpoint-banner::before {
	position: absolute;
	inset-inline-end: -3rem;
	bottom: -4rem;
	width: 11rem;
	height: 11rem;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--zoomb-color-primary) 20%, transparent), transparent 68%);
	content: '';
	pointer-events: none;
}

.zoomb-midpoint-copy {
	position: relative;
	z-index: 2;
}

.zoomb-midpoint-copy strong {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--zoomb-color-heading);
	font-size: 0.9rem;
}

.zoomb-midpoint-copy p {
	margin: 0 0 0.5rem;
	color: var(--zoomb-color-muted);
	font-size: 0.78rem;
	line-height: 1.7;
}

.zoomb-midpoint-copy a {
	color: var(--zoomb-color-primary);
	font-size: 0.76rem;
	font-weight: 800;
	text-decoration: none;
}

.zoomb-midpoint-copy a span {
	display: inline-block;
	margin-inline-start: 0.25rem;
}

.zoomb-midpoint-close {
	position: relative;
	z-index: 3;
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 32px;
	min-width: 32px;
	height: 32px;
	min-height: 32px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--zoomb-color-soft);
	color: var(--zoomb-color-heading);
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.zoomb-midpoint-particles {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.zoomb-midpoint-particles i {
	position: absolute;
	top: var(--zoomb-particle-y, 50%);
	left: var(--zoomb-particle-x, 50%);
	width: var(--zoomb-particle-size, 6px);
	height: var(--zoomb-particle-size, 6px);
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 8px currentColor;
	color: var(--zoomb-particle-color, var(--zoomb-color-accent));
	transform: translate(-50%, -50%) rotate(var(--zoomb-particle-angle)) translateY(-12px);
	animation: zoomb-particle-burst 860ms ease-out both;
}

@keyframes zoomb-banner-in {
	from { opacity: 0; transform: translate(28px, 28px) scale(0.88); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes zoomb-particle-burst {
	from { opacity: 0; transform: translate(-50%, -50%) rotate(var(--zoomb-particle-angle)) translateY(-8px) scale(0.35); }
	45% { opacity: 1; }
	to { opacity: 0; transform: translate(-50%, -50%) rotate(var(--zoomb-particle-angle)) translateY(calc(var(--zoomb-particle-radius, 48px) * -1.7)) scale(1.15); }
}

@media (min-width: 961px) {
	.widget-area > .zoomb-midpoint-banner {
		position: relative;
		inset: auto;
		display: flex;
		width: 100%;
		max-height: 0;
		margin: 0;
		padding: 0 1rem;
		border-width: 0;
		opacity: 0;
		pointer-events: none;
		transform: translateY(-14px) scale(0.98);
		transition: max-height 520ms ease, margin 520ms ease, padding 520ms ease, border-width 520ms ease, opacity 360ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
	}

	.widget-area > .zoomb-midpoint-banner.is-visible {
		max-height: 360px;
		margin-bottom: var(--zoomb-sidebar-gap);
		padding: 1rem;
		border-width: 1px;
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0) scale(1);
	}

	.widget-area > .zoomb-midpoint-banner.is-visible + .zoomb-sidebar-scroll {
		animation: zoomb-sidebar-content-drop 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
	}
}

@keyframes zoomb-sidebar-content-drop {
	from { opacity: 0.82; transform: translateY(-10px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomb-action-success {
	0% { transform: scale(1); }
	45% { transform: scale(1.035); }
	100% { transform: scale(1); }
}

.zoomb-micro-interactions-enabled .single-action-button.is-success {
	animation: zoomb-action-success 260ms ease;
}

.zoomb-back-to-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 80;
	box-shadow: var(--zoomb-shadow-sm);
}

body.zoomb-focus-mode .site-layout.has-sidebar,
html.zoomb-focus-mode .site-layout.has-sidebar {
	grid-template-columns: minmax(0, 1fr);
}

body.zoomb-focus-mode .site-layout .widget-area,
html.zoomb-focus-mode .site-layout .widget-area {
	display: none;
}

html.zoomb-focus-mode .widget-area,
body.zoomb-focus-mode .widget-area {
	display: none !important;
}

body.zoomb-focus-mode .site-layout .site-main,
html.zoomb-focus-mode .site-layout .site-main {
	grid-column: 1 / -1;
	max-width: min(100%, 920px);
	margin-inline: auto;
}

body.zoomb-focus-mode .site-layout .single-entry,
html.zoomb-focus-mode .site-layout .single-entry {
	box-shadow: 0 18px 48px rgba(16, 24, 40, 0.1);
}

html.zoomb-focus-mode .single-entry {
	max-width: 920px;
	margin-inline: auto;
	box-shadow: 0 18px 48px rgba(16, 24, 40, 0.1);
}

.entry-content {
	font-size: calc(1.05rem * var(--zoomb-reading-scale, 1));
}

.zoomb-animated-underline-enabled .entry-content a:not(.wp-element-button):not(.wp-block-button__link) {
	background-image: linear-gradient(90deg, var(--zoomb-color-accent), var(--zoomb-color-primary));
	background-position: 100% 100%;
	background-repeat: no-repeat;
	background-size: 0 2px;
	text-decoration: none;
	transition: color var(--zoomb-transition), background-size 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity var(--zoomb-transition);
}

.zoomb-animated-underline-enabled .entry-content a:not(.wp-element-button):not(.wp-block-button__link):hover,
.zoomb-animated-underline-enabled .entry-content a:not(.wp-element-button):not(.wp-block-button__link):focus-visible {
	background-size: 100% 2px;
}

.zoomb-kinetic-highlight-enabled .entry-content mark,
.zoomb-kinetic-highlight-enabled .entry-content strong,
.zoomb-kinetic-highlight-enabled .entry-content mark.is-kinetic-visible,
.zoomb-kinetic-highlight-enabled .entry-content strong.is-kinetic-visible {
	background-color: transparent;
	background-image: linear-gradient(90deg, color-mix(in srgb, var(--zoomb-color-accent) 38%, transparent), color-mix(in srgb, var(--zoomb-color-primary) 22%, transparent));
	background-position: 100% 88%;
	background-repeat: no-repeat;
	background-size: 100% 42%;
	transition: none;
}

.entry-content > * {
	max-width: var(--zoomb-content);
	margin-inline: auto;
}

.entry-content > .alignwide {
	max-width: 1000px;
}

.entry-content > .alignfull {
	max-width: none;
}

.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin-top: 1.8em;
	color: var(--zoomb-color-heading);
	font-weight: var(--zoomb-heading-weight);
	line-height: 1.5;
}

.entry-content blockquote {
	position: relative;
	margin-block: 1.8rem;
	padding: 1rem 1.25rem;
	border-inline-start: 4px solid var(--zoomb-color-primary);
	border-radius: var(--zoomb-radius-sm);
	background: var(--zoomb-color-soft);
	color: var(--zoomb-color-heading);
}

.zoomb-quote-interaction-enabled .entry-content blockquote {
	overflow: hidden;
}

.zoomb-quote-interaction-enabled .entry-content blockquote::before {
	position: absolute;
	top: 0.1rem;
	inset-inline-end: 0.8rem;
	color: var(--zoomb-color-accent);
	content: '“';
	font-family: Georgia, serif;
	font-size: 2.2rem;
	line-height: 1;
	opacity: 0.52;
	transform: scale(0.9);
	transform-origin: center;
	transition: opacity var(--zoomb-transition), transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.zoomb-quote-interaction-enabled .entry-content blockquote:hover::before,
.zoomb-quote-interaction-enabled .entry-content blockquote:focus-within::before {
	opacity: 0.9;
	transform: scale(1.18);
}

.zoomb-copy-quote {
	position: absolute;
	top: 0.32rem;
	inset-inline-start: 0.8rem;
	min-height: 30px;
	padding: 0.3rem 0.55rem;
	border: 1px solid color-mix(in srgb, var(--zoomb-color-primary) 24%, var(--zoomb-color-border));
	border-radius: 999px;
	background: var(--zoomb-color-surface);
	color: var(--zoomb-color-primary);
	font: inherit;
	font-size: 0.7rem;
	font-weight: 700;
	opacity: 0;
	transform: translateY(-3px);
	transition: opacity var(--zoomb-transition), transform var(--zoomb-transition), background-color var(--zoomb-transition);
	cursor: pointer;
}

.zoomb-quote-interaction-enabled .entry-content blockquote:hover .zoomb-copy-quote,
.zoomb-quote-interaction-enabled .entry-content blockquote:focus-within .zoomb-copy-quote,
.zoomb-copy-quote:focus-visible {
	opacity: 1;
	transform: translateY(0);
}

.zoomb-copy-quote:hover,
.zoomb-copy-quote:focus-visible {
	background: var(--zoomb-color-soft);
}

.entry-content code,
.entry-content pre {
	font-family: Consolas, Monaco, monospace;
}

.entry-content code {
	padding: 0.15em 0.4em;
	border-radius: 5px;
	background: #edf0f5;
	font-size: 0.88em;
}

html.zoomb-dark-active .entry-content code,
html[data-zoomb-theme="dark"] .entry-content code,
html[data-zoomb-default-theme="dark"]:not([data-zoomb-theme]) .entry-content code {
	background: #1b2638;
	color: var(--zoomb-color-text);
}

@media (prefers-color-scheme: dark) {
	html[data-zoomb-default-theme="system"]:not([data-zoomb-theme]) .entry-content code {
		background: #1b2638;
		color: var(--zoomb-color-text);
	}
}

.entry-content pre {
	overflow-x: auto;
	padding: 1.2rem;
	border-radius: var(--zoomb-radius-sm);
	background: #111827;
	color: #e5e7eb;
	direction: ltr;
	text-align: left;
}

.entry-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.entry-content table,
.widget table {
	width: 100%;
	border-collapse: collapse;
	background: var(--zoomb-color-surface);
}

.entry-content th,
.entry-content td,
.widget th,
.widget td {
	padding: 0.75rem;
	border: 1px solid var(--zoomb-color-border);
	text-align: start;
}

.entry-content th,
.widget th {
	background: var(--zoomb-color-soft);
	color: var(--zoomb-color-heading);
}

.entry-footer {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid var(--zoomb-color-border);
}

.reading-time::before {
	margin-inline-end: 0.3rem;
	color: var(--zoomb-color-border);
	content: '•';
}

.single-layout-wide:not(.has-sidebar) .site-main {
	width: min(100%, 1060px);
	margin-inline: auto;
}

.single-layout-wide .entry-content > * {
	max-width: 860px;
}

.single-layout-editorial .site-main {
	width: min(100%, 1000px);
	margin-inline: auto;
}

.single-layout-editorial .single-entry {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
}

.single-layout-editorial .entry-header {
	max-width: 900px;
	margin-inline: auto;
	padding: clamp(1rem, 3vw, 2rem);
	border-radius: var(--zoomb-radius-lg);
	background: var(--zoomb-color-soft);
}

.single-layout-editorial .single-thumbnail {
	margin-top: 2rem;
	border-radius: var(--zoomb-radius-lg);
}

.single-layout-editorial .entry-content,
.single-layout-editorial .entry-footer {
	max-width: var(--zoomb-content);
	margin-inline: auto;
}

.tags-links a {
	display: inline-block;
	margin: 0.2rem;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	background: var(--zoomb-color-soft);
	font-size: 0.78rem;
	text-decoration: none;
}

.widget-area {
	min-width: 0;
}

.widget-area.is-sticky {
	align-self: start;
	position: sticky;
	top: calc(84px + 1.5rem);
}

.widget-area.is-scroll-follow {
	align-self: start;
	position: sticky;
	top: calc(84px + 1.5rem);
	max-height: calc(100vh - 3rem);
	overflow: hidden;
}

.zoomb-sidebar-scroll {
	will-change: transform;
	transition: transform 180ms ease;
}

body.admin-bar .widget-area.is-sticky {
	top: calc(116px + 1.5rem);
}

body.admin-bar .widget-area.is-scroll-follow {
	top: calc(116px + 1.5rem);
}

.widget {
	margin-bottom: var(--zoomb-sidebar-gap);
	padding: 1.25rem;
	border: 1px solid var(--zoomb-color-border);
	border-radius: var(--zoomb-radius-md);
	background: var(--zoomb-color-surface);
	box-shadow: var(--zoomb-shadow-sm);
}

.widget-area.sidebar-style-minimal .widget {
	padding: 0 0 var(--zoomb-sidebar-gap);
	border-width: 0 0 1px;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.widget-area.sidebar-style-outline .widget {
	box-shadow: none;
}

.widget-title {
	margin: 0 0 var(--zoomb-sidebar-title-gap);
	color: var(--zoomb-color-heading);
	font-size: var(--zoomb-sidebar-h2);
	font-weight: var(--zoomb-heading-weight);
}

.widget-area h1 {
	font-size: var(--zoomb-sidebar-h1);
}

.widget-area h2:not(.widget-title) {
	font-size: var(--zoomb-sidebar-h2);
}

.widget-area.sidebar-title-accent .widget-title {
	padding-inline-start: 0.75rem;
	border-inline-start: 3px solid var(--zoomb-color-primary);
}

.widget-area.sidebar-title-boxed .widget-title {
	display: inline-block;
	padding: 0.35rem 0.65rem;
	border-radius: 8px;
	background: var(--zoomb-color-soft);
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li + li {
	margin-top: 0.6rem;
	padding-top: 0.6rem;
	border-top: 1px solid var(--zoomb-color-border);
}

.widget a {
	color: var(--zoomb-color-text);
	text-decoration: none;
}

.widget a:hover {
	color: var(--zoomb-color-primary);
}

.search-form {
	display: flex;
	align-items: stretch;
	gap: 0.5rem;
}

.search-form label {
	flex: 1;
}

.navigation.pagination {
	margin-top: 2rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.5rem;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 0.4rem 0.75rem;
	border: 1px solid var(--zoomb-color-border);
	border-radius: 9px;
	background: var(--zoomb-color-surface);
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	border-color: var(--zoomb-color-primary);
	background: var(--zoomb-color-primary);
	color: #ffffff;
}

.post-navigation,
.comments-area {
	margin-top: 1.5rem;
}

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

.nav-post-card {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 0.8rem;
	align-items: center;
	min-width: 0;
	padding: 0.55rem;
	border-radius: var(--zoomb-radius-sm);
	background: var(--zoomb-color-background);
	color: var(--zoomb-color-heading);
	text-decoration: none;
	transition: background-color var(--zoomb-transition), transform var(--zoomb-transition), box-shadow var(--zoomb-transition);
}

.nav-post-card:hover,
.nav-post-card:focus-visible {
	background: var(--zoomb-color-soft);
	box-shadow: var(--zoomb-shadow-sm);
	transform: translateY(-2px);
}

.nav-next {
	grid-template-columns: minmax(0, 1fr) 88px;
	text-align: end;
}

.nav-next .nav-post-thumbnail {
	grid-column: 2;
}

.nav-next .nav-post-copy {
	grid-column: 1;
	grid-row: 1;
}

.nav-post-thumbnail,
.nav-post-thumbnail-fallback {
	display: block;
	overflow: hidden;
	width: 88px;
	aspect-ratio: 4 / 3;
	border-radius: calc(var(--zoomb-radius-sm) - 2px);
	background: var(--zoomb-color-border);
}

.nav-post-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--zoomb-transition);
}

.nav-post-card:hover .nav-post-thumbnail img,
.nav-post-card:focus-visible .nav-post-thumbnail img {
	transform: scale(1.04);
}

.nav-post-thumbnail-fallback {
	background: linear-gradient(135deg, var(--zoomb-color-soft), var(--zoomb-color-border));
}

.nav-subtitle {
	display: block;
	color: var(--zoomb-color-muted);
	font-size: 0.75rem;
}

.nav-title {
	display: block;
	overflow: hidden;
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.7;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.author-box,
.related-posts {
	margin-top: 1.5rem;
	border: 1px solid var(--zoomb-color-border);
	border-radius: var(--zoomb-radius-md);
	background: var(--zoomb-color-surface);
	box-shadow: var(--zoomb-shadow-sm);
}

.author-box {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	padding: 1.1rem;
}

.author-box-avatar-link {
	flex: 0 0 auto;
	border-radius: 50%;
}

.author-box-avatar {
	display: block;
	width: 72px;
	height: 72px;
	border: 2px solid var(--zoomb-color-soft);
	border-radius: 50%;
}

.author-box-content {
	min-width: 0;
}

.author-box-eyebrow,
.section-kicker {
	display: block;
	margin-bottom: 0.2rem;
	color: var(--zoomb-color-primary);
	font-size: 0.75rem;
	font-weight: 700;
}

.author-box-title {
	margin: 0;
	font-size: 1rem;
}

.author-box-content p {
	margin: 0.38rem 0 0;
	color: var(--zoomb-color-muted);
	font-size: 0.88rem;
	line-height: 1.9;
}

.author-box-link {
	display: inline-flex;
	margin-top: 0.55rem;
	color: var(--zoomb-color-primary);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
}

.related-posts {
	padding: clamp(1.1rem, 2.5vw, 1.5rem);
}

.section-heading {
	margin-bottom: 1rem;
}

.section-heading h2 {
	margin: 0;
	font-size: clamp(1.15rem, 2.5vw, 1.4rem);
}

.related-posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.9rem;
}

.related-post-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--zoomb-color-border);
	border-radius: var(--zoomb-radius-sm);
	background: var(--zoomb-color-background);
	transition: border-color var(--zoomb-transition), transform var(--zoomb-transition), box-shadow var(--zoomb-transition);
}

.related-post-card:hover {
	border-color: color-mix(in srgb, var(--zoomb-color-primary) 30%, var(--zoomb-color-border));
	box-shadow: var(--zoomb-shadow-sm);
	transform: translateY(-3px);
}

.related-post-thumbnail,
.related-post-thumbnail-fallback {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, var(--zoomb-color-soft), var(--zoomb-color-border));
}

.related-post-thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--zoomb-transition);
}

.related-post-card:hover .related-post-thumbnail img {
	transform: scale(1.04);
}

.related-post-copy {
	padding: 0.75rem 0.8rem 0.85rem;
}

.related-post-date {
	display: block;
	margin-bottom: 0.3rem;
	color: var(--zoomb-color-muted);
	font-size: 0.72rem;
}

.related-post-copy h3 {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.85;
}

.related-post-copy h3 a {
	color: var(--zoomb-color-heading);
	text-decoration: none;
}

.comment-list {
	padding-inline-start: 1.5rem;
}

.comment-body {
	margin-bottom: 1rem;
	padding: 1rem;
	border: 1px solid var(--zoomb-color-border);
	border-radius: var(--zoomb-radius-sm);
}

.comment-meta {
	font-size: 0.82rem;
}

.comment-author img {
	border-radius: 50%;
}

.not-found-page {
	padding-block: clamp(3rem, 10vw, 8rem);
	text-align: center;
}

.error-code {
	margin: 0;
	color: var(--zoomb-color-primary);
	font-size: clamp(5rem, 18vw, 10rem);
	font-weight: 900;
	line-height: 1;
	opacity: 0.16;
}

.not-found-page .search-form {
	max-width: 560px;
	margin: 1.5rem auto;
}

.site-footer {
	margin-top: 2rem;
	padding-block: 3rem 1.25rem;
	border-top: 1px solid var(--zoomb-color-border);
	background: var(--zoomb-color-surface);
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.footer-widgets .widget {
	padding: 0;
	border: 0;
	box-shadow: none;
}

.site-info {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--zoomb-color-border);
	color: var(--zoomb-color-muted);
	font-size: 0.82rem;
}

.site-info p {
	margin: 0;
}

.footer-menu {
	display: flex;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-menu a {
	color: inherit;
	text-decoration: none;
}

.alignleft {
	float: left;
	margin: 0 1.25rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1.25rem;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption,
.gallery-caption {
	max-width: 100%;
	color: var(--zoomb-color-muted);
	font-size: 0.82rem;
}

.sticky,
.bypostauthor {
	display: block;
}

@media (max-width: 960px) {
	.site-layout.has-sidebar,
	.site-layout.has-sidebar.sidebar-position-start {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-layout.sidebar-position-start .site-main,
	.site-layout.sidebar-position-start .widget-area {
		grid-column: auto;
		grid-row: auto;
	}

	.widget-area.is-sticky {
		position: static;
	}

	.widget-area.is-scroll-follow {
		position: static;
		max-height: none;
		overflow: visible;
	}

	.zoomb-sidebar-scroll {
		transform: none !important;
	}

	.menu-toggle {
		display: inline-flex;
	}

	body.admin-bar .site-header.is-sticky {
		top: 46px;
	}

	.main-navigation {
		position: fixed;
		top: 0;
		inset-inline-start: 0;
		z-index: 100;
		width: min(86vw, 360px);
		height: 100dvh;
		padding: 1.25rem 1rem 1.5rem;
		background: var(--zoomb-color-surface);
		box-shadow: var(--zoomb-shadow-md);
		transform: translateX(-110%);
		transition: transform 240ms ease;
		overflow-y: auto;
	}

	.rtl .main-navigation {
		transform: translateX(110%);
	}

	.main-navigation.is-open {
		transform: translateX(0);
	}

	.main-navigation ul {
		display: block;
	}

	.mobile-menu-head {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 1rem;
		margin: 0 0 1rem;
		padding: 0.15rem 0.35rem 0.85rem;
		border-bottom: 1px solid var(--zoomb-color-border);
		color: var(--zoomb-color-heading);
		font-size: 1rem;
		font-weight: 800;
	}

	.mobile-menu-kicker {
		color: var(--zoomb-color-primary);
		font-size: 0.72rem;
		letter-spacing: 0.08em;
		text-transform: uppercase;
	}

	.main-navigation ul ul {
		position: static;
		display: block;
		min-width: 0;
		margin-inline-start: 1rem;
		padding: 0;
		border: 0;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.main-navigation a {
		padding: 0.78rem 0.7rem;
		border-radius: var(--zoomb-radius-sm);
		font-size: 0.95rem;
	}

	.main-navigation li + li {
		margin-top: 0.2rem;
	}

	.mobile-menu-tools {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.8rem;
		margin-top: 1.25rem;
		padding: 0.8rem 0.35rem 0;
		border-top: 1px solid var(--zoomb-color-border);
		color: var(--zoomb-color-muted);
		font-size: 0.76rem;
		font-weight: 700;
	}

	.mobile-menu-tools .theme-toggle-mobile {
		display: inline-flex;
		width: auto;
		min-width: 8rem;
		min-height: 40px;
	}

	.theme-toggle-desktop {
		display: none;
	}

	.menu-open .menu-toggle {
		position: fixed;
		top: 20px;
		inset-inline-start: 20px;
		z-index: 110;
	}

	.menu-open .menu-toggle-lines span:nth-child(1) {
		transform: translateY(6px) rotate(45deg);
	}

	.menu-open .menu-toggle-lines span:nth-child(2) {
		opacity: 0;
	}

	.menu-open .menu-toggle-lines span:nth-child(3) {
		transform: translateY(-6px) rotate(-45deg);
	}
}

@media (max-width: 720px) {
	.header-inner {
		min-height: 72px;
		gap: 0.75rem;
	}

	.custom-logo {
		max-height: 44px;
	}

	.site-description {
		display: none;
	}

	.posts-grid,
	.footer-widgets,
	.post-navigation .nav-links,
	.related-posts-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.posts-list .post-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.posts-list .post-card-thumbnail {
		height: auto;
		min-height: 0;
		aspect-ratio: 3 / 2;
	}

	.single-entry,
	.page-entry,
	.comments-area,
	.post-navigation {
		padding: 1.1rem;
	}

	.nav-post-empty {
		display: none;
	}

	.site-info {
		align-items: flex-start;
		flex-direction: column;
	}

	.search-form {
		align-items: stretch;
		flex-direction: column;
	}

	.zoomb-back-to-top {
		right: 0.75rem;
		bottom: 0.75rem;
	}

	.single-action-bar {
		flex-wrap: nowrap;
		gap: 0.35rem;
	}

	.single-action-button {
		flex: 1 1 0;
		min-width: 0;
		padding-inline: 0.3rem;
		font-size: clamp(0.62rem, 2.4vw, 0.78rem);
		white-space: nowrap;
	}

	.single-action-button > span:last-child {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

@media print {
	.site-header,
	.site-footer,
	.widget-area,
	.post-navigation,
	.comments-area,
	.author-box,
	.related-posts,
	.single-action-bar,
	.zoomb-active-toc,
	.zoomb-reading-appearance,
	.zoomb-midpoint-banner,
	.zoomb-reading-progress,
	.zoomb-back-to-top {
		display: none !important;
	}

	.zoomb-container,
	.site-layout,
	.site-layout .site-main {
		display: block !important;
		max-width: none !important;
		margin: 0 !important;
	}

	.single-entry {
		padding: 0 !important;
		border: 0 !important;
		box-shadow: none !important;
	}

	.single-entry .entry-content {
		max-width: 100% !important;
		font-size: 12pt;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zoomb-reading-progress-fill {
		transition: none;
	}

	.zoomb-midpoint-banner,
	.zoomb-midpoint-particles i {
		animation: none;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media (max-width: 720px) {
	.zoomb-quote-interaction-enabled .entry-content blockquote .zoomb-copy-quote {
		opacity: 1;
		transform: none;
	}

	.zoomb-active-toc {
		inset-inline-start: 0.65rem;
		top: 5.5rem;
		max-width: 72vw;
	}

	.zoomb-reading-appearance {
		inset-inline-end: 0.65rem;
		top: 5.5rem;
	}

	.zoomb-midpoint-banner {
		inset-inline: 0.75rem;
		bottom: 0.75rem;
		width: auto;
		padding: 1rem;
		border-radius: 20px;
	}

	.single-action-button[data-tooltip]::after {
		display: none;
	}
}
