:root {
	--ink: #092328;
	--deep: #12544f;
	--green: #2a835f;
	--sage: #8bbb92;
	--wine: #760031;
	--on-ink: #cfe0db;
	--on-ink-muted: #8fa9a4;

	--bg: #fff;
	--surface: #eef4f1;
	--text: #2f4346;
	--heading: var(--ink);
	--muted: #5e7375;
	--line: #d6e3de;
	--accent: var(--green);
	--hot: var(--wine);

	--gutter: clamp(1rem, 4vw, 2.5rem);
	--radius: 6px;
	--column: min(100% - 2 * var(--gutter), 46rem);
	color-scheme: light;
}

[data-theme="dark"] {
	--bg: var(--ink);
	--surface: #0e2f34;
	--text: #d3e2de;
	--heading: #f2f7f5;
	--muted: #9fb5b0;
	--line: #1d4248;
	--accent: var(--sage);
	--hot: #d9718f;
	color-scheme: dark;
}

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

html { font-size: 112.5%; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	color: var(--text);
	font-family: var(--wp--preset--font-family--ct, Tahoma, sans-serif);
	font-size: 1rem;
	line-height: 1.85;
	font-synthesis: none;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	overflow-x: clip;
	overflow-wrap: break-word;
}

.site-main { flex: 1; }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .6em;
	color: var(--heading);
	font-weight: 800;
	line-height: 1.5;
	text-wrap: balance;
}

p { margin: 0 0 1em; }

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

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

::selection { background: var(--sage); color: var(--ink); }

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	z-index: 1000;
	top: 1rem;
	inset-inline-start: 1rem;
	width: auto;
	height: auto;
	clip-path: none;
	padding: .75rem 1.25rem;
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--heading);
	font-weight: 800;
}

.icon {
	width: 1.25rem;
	height: 1.25rem;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.icon-x { fill: currentColor; stroke: none; }
.rtl .icon-next, .rtl .icon-prev { transform: scaleX(-1); }
[data-theme="dark"] .icon-moon, :root:not([data-theme="dark"]) .icon-sun { display: none; }

.button,
.search-submit,
.form-submit .submit,
.post-password-form input[type="submit"],
.wp-element-button,
.wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0 1.75rem;
	border: 0;
	border-radius: 999px;
	background: var(--heading);
	color: var(--bg);
	font-weight: 800;
	cursor: pointer;
	transition: background-color .2s;
}
.button:hover,
.search-submit:hover,
.form-submit .submit:hover,
.post-password-form input[type="submit"]:hover,
.wp-element-button:hover,
.wpcf7-submit:hover { background: var(--accent); color: var(--bg); }

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
textarea {
	width: 100%;
	padding: .75rem 1rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--bg);
	color: var(--heading);
	transition: border-color .2s;
}
input:focus, textarea:focus { border-color: var(--accent); }
input[type="email"], input[type="url"] { direction: ltr; }
input[type="email"]:placeholder-shown, input[type="url"]:placeholder-shown, input[type="tel"]:placeholder-shown { direction: inherit; }

.search-form { display: flex; gap: .5rem; }
.search-form label { flex: 1; }
.search-form .search-field {
	min-height: 3rem;
	padding-inline: 1.25rem;
	border-radius: 999px;
	background: var(--surface);
}

.site-header {
	position: relative;
	z-index: 20;
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}

.bar {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-height: 4.75rem;
	padding: .75rem var(--gutter);
	background: var(--ink);
	color: var(--on-ink);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.bar-side { flex: 1; display: flex; align-items: center; gap: .5rem; }
.bar-end { justify-content: flex-end; }
.today { font-size: .875rem; color: var(--on-ink-muted); white-space: nowrap; }

.brand { margin: 0; line-height: 0; }
.brand a { display: block; }
.custom-logo { display: block; width: auto; height: 6rem; transition: filter .35s; }
.brand a:hover .custom-logo, .brand a:focus-visible .custom-logo {
	filter: drop-shadow(0 0 6px rgba(139, 187, 146, .9)) drop-shadow(0 0 18px rgba(139, 187, 146, .5));
}
.footer-top .custom-logo { height: 6rem; margin-inline: auto; }

.icon-btn,
.social a {
	display: inline-grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: var(--on-ink);
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.icon-btn:hover, .social a:hover { background: var(--sage); color: var(--ink); }
.icon-btn .icon, .social .icon { width: 1.15rem; height: 1.15rem; }

.nav-menu, .nav-menu ul, .drawer-menu, .drawer-menu ul, .footer-menu, .social { margin: 0; padding: 0; list-style: none; }
.social { display: flex; flex-wrap: wrap; gap: .5rem; }

.nav-menu { display: flex; }
.nav-menu > li { position: relative; flex: 1 1 0; min-width: 0; border-inline-end: 1px solid var(--line); }
.nav-menu > li:last-child { border-inline-end: 0; }
.nav-menu > li > a {
	display: block;
	padding: 1rem;
	overflow: hidden;
	color: var(--heading);
	font-weight: 800;
	text-align: center;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: color .2s, box-shadow .2s;
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a { color: var(--accent); }
.nav-menu > .current-menu-item > a,
.nav-menu > .current-menu-ancestor > a { box-shadow: inset 0 -3px var(--accent); }
.nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	inset-inline-start: -1px;
	z-index: 30;
	min-width: max(100% + 2px, 15rem);
	padding: .6rem 0;
	background: var(--bg);
	border: 1px solid var(--line);
	box-shadow: 0 16px 32px rgba(9, 35, 40, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(.5rem);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-menu .sub-menu .sub-menu { top: -.6rem; inset-inline-start: 100%; }
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu .sub-menu li { position: relative; }
.nav-menu .sub-menu a { display: block; padding: .45rem 1.25rem; }
.nav-menu .menu-item-has-children > a::after {
	content: "";
	display: inline-block;
	width: .38em;
	height: .38em;
	margin-inline-start: .5em;
	border: solid currentColor;
	border-width: 0 2px 2px 0;
	opacity: .6;
	transform: translateY(-.15em) rotate(45deg);
}
.nav-menu .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); }
.rtl .nav-menu .sub-menu .menu-item-has-children > a::after,
.nav-menu > li:nth-last-child(-n+3) .sub-menu .menu-item-has-children > a::after { transform: rotate(135deg); }
.rtl .nav-menu > li:nth-last-child(-n+3) .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); }
.nav-menu > li:nth-last-child(-n+3) > .sub-menu { inset-inline-start: auto; inset-inline-end: -1px; }
.nav-menu > li:nth-last-child(-n+3) .sub-menu .sub-menu { inset-inline-start: auto; inset-inline-end: 100%; }

dialog { padding: 0; border: 0; color: var(--text); background: var(--bg); }
dialog::backdrop { background: rgba(9, 35, 40, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
dialog[open] { animation: fade-in .2s ease-out; }
@keyframes fade-in { from { opacity: 0; } }
.dialog-inner { padding: 1.25rem; }

.search-dialog {
	width: min(40rem, 100% - 2rem);
	margin-top: 14vh;
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

.drawer { width: min(22rem, 88vw); height: 100%; max-height: none; margin-block: 0; margin-inline: auto 0; }
.drawer .dialog-inner { display: flex; flex-direction: column; gap: 1.25rem; min-height: 100%; }
.drawer-foot { margin: auto -1.25rem -1.25rem; padding: 1.4rem 1.25rem; background: var(--ink); text-align: center; }
.drawer-foot .custom-logo { height: 2.5rem; margin-inline: auto; }
.drawer .icon-btn, .drawer .social a { background: var(--surface); color: var(--heading); }
.drawer-menu a { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--heading); font-weight: 800; }
.drawer-menu .sub-menu { padding-inline-start: 1rem; }
.drawer-menu .sub-menu a { font-weight: 400; }
.drawer-menu .current-menu-item > a { color: var(--accent); }
.drawer-menu li { position: relative; }
.drawer-menu .menu-item-has-children > a { padding-inline-end: 3rem; }
.sub-toggle {
	position: absolute;
	top: .35rem;
	inset-inline-end: 0;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 50%;
	background: var(--surface);
	color: var(--heading);
	cursor: pointer;
}
.sub-toggle .icon { width: 1rem; height: 1rem; transition: transform .2s; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer-menu .sub-menu {
	max-height: 40rem;
	overflow: hidden;
	opacity: 1;
	visibility: visible;
	transition: max-height .35s ease, opacity .25s ease, visibility 0s;
}
.sub-toggle[aria-expanded="false"] + .sub-menu {
	max-height: 0;
	opacity: 0;
	visibility: hidden;
	transition: max-height .3s ease, opacity .2s ease, visibility 0s .3s;
}

.strip { padding: 1.75rem 0 2rem; background: var(--bg); border-block: 1px solid var(--line); }
.strip + .strip { border-top: 0; }
.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0 var(--gutter) 1rem;
}
.label { display: flex; align-items: center; gap: .55rem; margin: 0; font-size: 1.05rem; }
.label::before { content: ""; width: .6rem; height: .6rem; background: var(--hot); }
.strip-nav { display: flex; gap: .4rem; }
.strip-nav button {
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: none;
	color: var(--heading);
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.strip-nav button:hover { background: var(--heading); color: var(--bg); }
.strip-list {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(15rem, calc((100% - 4 * 1.25rem) / 5));
	gap: 1.25rem;
	margin: 0;
	padding: 0 var(--gutter);
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: var(--gutter);
	scroll-behavior: smooth;
	scrollbar-width: none;
}
.strip-list::-webkit-scrollbar { display: none; }
.strip-item { scroll-snap-align: start; }
.strip-img { position: relative; isolation: isolate; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--deep); }
.strip-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.strip-item:hover img { transform: scale(1.05); }
.strip-text { display: flex; align-items: flex-start; gap: .9rem; padding-top: .9rem; }
.strip-num { flex: none; color: var(--hot); font-size: 2.6rem; font-weight: 800; line-height: .95; }
.strip-title {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 1rem;
	line-height: 1.7;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.strip-views { display: block; margin-top: .2rem; color: var(--muted); font-size: .8125rem; }

.card-title a, .strip-title a {
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
	transition: background-size .4s;
}
.rtl .card-title a, .rtl .strip-title a { background-position: 100% 100%; }
.card:hover .card-title a, .strip-item:hover .strip-title a { background-size: 100% 2px; }

.feed { background: var(--ink); color: var(--on-ink); }
.feed .section-head { padding-top: 1.5rem; }
.feed .label { color: #fff; }
.feed .label::before { background: var(--sage); }

.grid {
	display: grid;
	grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
	grid-auto-rows: clamp(21rem, 31vw, 30rem);
}
@media (min-width: 600px) { .grid { --cols: 2; } }
@media (min-width: 1024px) { .grid { --cols: 3; } }
@media (min-width: 600px) and (max-width: 1023.98px) {
	.grid > :last-child:nth-child(2n+1) { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.grid > :last-child:nth-child(3n+1) { grid-column: 1 / -1; }
	.grid > :last-child:nth-child(3n+2) { grid-column: span 2; }
}

.card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: flex-start;
	overflow: hidden;
	background:
		radial-gradient(circle at 85% 12%, rgba(118, 0, 49, .65), transparent 55%),
		linear-gradient(rgba(139, 187, 146, .12) 1px, transparent 1px) 0 0 / 28px 28px,
		linear-gradient(90deg, rgba(139, 187, 146, .12) 1px, transparent 1px) 0 0 / 28px 28px,
		var(--deep);
	box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .06);
}
.card-img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.card:hover .card-img { transform: scale(1.06); }
.card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(to top, rgba(9, 35, 40, .96) 6%, rgba(9, 35, 40, .55) 42%, rgba(9, 35, 40, 0) 72%);
}

.badge {
	display: grid;
	min-width: 4.4rem;
	margin: 1.25rem;
	padding: .35rem .5rem 0;
	border-radius: 4px;
	background: #fff;
	color: var(--ink);
	font-size: .6875rem;
	line-height: 1.6;
	text-align: center;
}
.badge b { margin-top: .25rem; padding: .15rem 0 .2rem; border-top: 1px solid #d6e3de; font-size: 1.55rem; line-height: 1.2; }
.card.sticky .badge { background: var(--wine); color: #fff; }
.card.sticky .badge b { border-color: rgba(255, 255, 255, .25); }

.card-body { width: 100%; padding: 1.5rem; }
.meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .25rem .6rem;
	margin: 0 0 .35rem;
	color: var(--on-ink-muted);
	font-size: .8125rem;
}
.meta .cat { position: relative; z-index: 2; color: var(--sage); font-weight: 800; }
.meta .cat:hover { color: #fff; }
.meta > * + *::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin-inline-end: .6rem;
	border-radius: 50%;
	background: currentColor;
	vertical-align: middle;
	opacity: .7;
}
.card-title { margin: 0; color: #fff; font-size: clamp(1.05rem, .95rem + .35vw, 1.3rem); line-height: 1.65; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.pagination { padding: 2rem var(--gutter); border-top: 1px solid rgba(255, 255, 255, .06); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 3rem;
	height: 3rem;
	padding: 0 .75rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	color: var(--on-ink);
	font-weight: 800;
	transition: background-color .2s, color .2s;
}
.page-numbers.current, a.page-numbers:hover { background: var(--sage); color: var(--ink); }
.page-numbers.dots { background: none; }

.cat-sections {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 32rem), 1fr));
	gap: 0 2.5rem;
	padding: 1rem var(--gutter) 2.5rem;
	background: var(--bg);
}
.cat-section { padding-top: 1.75rem; border-top: 1px solid var(--line); container-type: inline-size; }
.cat-section .section-head { padding-inline: 0; }
.cat-section .more { display: inline-flex; align-items: center; gap: .3rem; color: var(--accent); font-size: .875rem; font-weight: 800; }
.cat-section .more .icon { width: 1rem; height: 1rem; }
.cat-grid { display: grid; gap: 1.1rem; }
.cat-grid .card { min-height: 20rem; border-radius: var(--radius); }
@container (min-width: 44rem) {
	.cat-grid { grid-template-columns: 1.1fr 1fr; }
}
.cat-list { display: grid; align-content: start; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.cat-list a { display: flex; align-items: center; gap: .9rem; }
.cat-list img, .cat-ph { flex: none; width: 7rem; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--deep); }
.cat-list b {
	display: -webkit-box;
	overflow: hidden;
	color: var(--heading);
	font-size: .95rem;
	line-height: 1.65;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	transition: color .2s;
}
.cat-list a:hover b { color: var(--accent); }
.cat-list time { display: block; margin-top: .15rem; color: var(--muted); font-size: .8125rem; }

.marquee { overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-time, 60s) linear infinite; }
.rtl .marquee-track { animation-name: marquee-rtl; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.marquee ul { display: flex; margin: 0; padding: 0; list-style: none; }
.topics { background: var(--bg); border-block: 1px solid var(--line); }
.topic { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 2rem; border-inline-end: 1px solid var(--line); }
.topic img, .topic-ph { flex: none; width: 6.5rem; height: 4.25rem; object-fit: cover; border-radius: var(--radius); background: var(--deep); }
.topic b { display: block; color: var(--heading); font-size: 1.05rem; white-space: nowrap; transition: color .2s; }
.topic:hover b { color: var(--accent); }
.topic small { color: var(--muted); font-size: .8125rem; }

.page-head {
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter);
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	text-align: center;
}
.page-head h1 { margin: 0; font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); }
.page-head p, .archive-description { max-width: 42rem; margin: .75rem auto 0; color: var(--muted); }
.page-head .search-form { max-width: 36rem; margin: 1.5rem auto 0; }
.big-404 { display: block; color: var(--hot); font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; }
.empty { padding: 4rem var(--gutter); color: var(--muted); text-align: center; }

.progress {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	inset-inline: 0;
	z-index: 99;
	height: 3px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: 0 50%;
}
.rtl .progress { transform-origin: 100% 50%; }
@supports (animation-timeline: scroll()) {
	.progress { animation: grow linear both; animation-timeline: scroll(root); }
}
@keyframes grow { to { transform: scaleX(1); } }

.entry-head, .entry-content, .entry-foot, .post-navigation, .comments { width: var(--column); margin-inline: auto; }
.entry-head { padding-block: clamp(2rem, 5vw, 4rem) 2rem; }
.crumbs { margin: 0 0 1rem; color: var(--muted); font-size: .8125rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: "/"; margin-inline-end: .35rem; opacity: .6; }
.crumbs a { color: inherit; transition: color .2s; }
.crumbs a:hover { color: var(--accent); }
.page-head .crumbs ol { justify-content: center; }
.entry-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1rem; }
.entry-cats a {
	padding: .1rem .85rem;
	border-radius: 999px;
	background: var(--surface);
	color: var(--accent);
	font-size: .8125rem;
	font-weight: 800;
	transition: background-color .2s, color .2s;
}
.entry-cats a:hover { background: var(--accent); color: var(--bg); }
.entry-title { margin: 0 0 1rem; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.5rem); line-height: 1.45; }
.entry-lead { margin: 0 0 1.5rem; color: var(--muted); font-size: 1.15rem; }
.byline { display: flex; align-items: center; gap: .85rem; }
.byline .avatar { --s: 3rem; width: 3rem; height: 3rem; border-radius: 50%; }
.byline-author { display: block; color: var(--heading); font-weight: 800; }
.byline-meta { display: flex; flex-wrap: wrap; gap: .25rem .9rem; color: var(--muted); font-size: .8125rem; }
.byline-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.byline-meta .icon { width: .95rem; height: .95rem; }

.entry-media { position: relative; isolation: isolate; width: min(100% - 2 * var(--gutter), 56rem); margin: 0 auto 2.5rem; }
.entry-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 599.98px) { .entry-media { width: 100%; } .entry-media img { border-radius: 0; } }
figcaption, .wp-element-caption { margin-top: .6rem; color: var(--muted); font-size: .875rem; text-align: center; }

.entry-content { font-size: calc(1.0625rem * var(--fs, 1)); line-height: 2; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content > * { margin-block: 0 1.4em; }
.entry-content h2 { margin-top: 2em; font-size: 1.6rem; }
.entry-content h3 { margin-top: 1.8em; font-size: 1.3rem; }
.entry-content h4 { font-size: 1.1rem; }
.entry-content a:not(.wp-element-button) { box-shadow: inset 0 -2px var(--accent); transition: background-color .2s, color .2s; }
.entry-content a:not(.wp-element-button):hover { background: var(--accent); color: var(--bg); }
.entry-content img { border-radius: var(--radius); }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4em; }
.entry-content li { margin-bottom: .35em; }
.entry-content blockquote {
	margin-inline: 0;
	padding: 1.25rem 1.5rem;
	border-inline-start: 4px solid var(--accent);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--heading);
	font-size: 1.15rem;
}
.entry-content blockquote p:last-of-type { margin: 0; }
.entry-content cite { display: block; margin-top: .75rem; color: var(--muted); font-size: .9rem; font-style: normal; }
.entry-content pre {
	overflow-x: auto;
	padding: 1.25rem;
	border-radius: var(--radius);
	background: var(--ink);
	color: #e6efec;
	font: .9rem/1.7 ui-monospace, SFMono-Regular, Consolas, monospace;
	direction: ltr;
	text-align: left;
}
.entry-content code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
.entry-content :not(pre) > code { padding: .1em .4em; border-radius: 4px; background: var(--surface); direction: ltr; unicode-bidi: isolate; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th, .entry-content td { padding: .6rem .8rem; border: 1px solid var(--line); text-align: start; }
.entry-content th { background: var(--surface); color: var(--heading); }
.entry-content hr { height: 1px; margin-block: 2.5rem; border: 0; background: var(--line); }
.alignwide { width: min(100vw - 2 * var(--gutter), 75rem); max-width: none; margin-inline: calc(50% - min(50vw - var(--gutter), 37.5rem)); }
.alignfull { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); }
.alignleft { float: left; margin: .3em 0 1em 1.5em; }
.alignright { float: right; margin: .3em 1.5em 1em 0; }
.aligncenter { margin-inline: auto; }
.page-links { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }

.entry-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	margin-top: 2.5rem;
	padding-block: 2rem;
	border-top: 1px solid var(--line);
}
.tags { display: flex; flex-wrap: wrap; gap: .4rem 1rem; }
.tags a { color: var(--heading); font-size: .875rem; font-weight: 800; box-shadow: inset 0 -2px var(--accent); }
.tags a::before { content: "#"; color: var(--accent); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.share-label { margin-inline-end: .35rem; color: var(--muted); font-size: .875rem; }
.share a, .share button, .shortlink button {
	display: inline-grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border: 0;
	border-radius: 50%;
	background: var(--surface);
	color: var(--heading);
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.share a:hover, .share button:hover, .shortlink button:hover { background: var(--heading); color: var(--bg); }
.share .icon, .shortlink .icon { width: 1.1rem; height: 1.1rem; }
[data-action="copy"].is-done .icon-link, [data-action="copy"]:not(.is-done) .icon-check { display: none; }

.byline { flex-wrap: wrap; }
.reader-tools { display: flex; gap: .35rem; margin-inline-start: auto; }
.reader-tools button {
	display: inline-grid;
	place-items: center;
	min-width: 2.4rem;
	height: 2.4rem;
	padding: 0 .5rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: none;
	color: var(--heading);
	font-weight: 800;
	font-size: .875rem;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.reader-tools button:hover { background: var(--heading); color: var(--bg); }
.reader-tools .icon { width: 1.05rem; height: 1.05rem; }

.author-box {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	width: var(--column);
	margin: 0 auto 2rem;
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.author-box .avatar { --s: 4.5rem; flex: none; width: 4.5rem; height: 4.5rem; border-radius: 50%; }
.author-role { margin: 0; color: var(--muted); font-size: .8125rem; }
.author-name { margin: 0 0 .35rem; font-size: 1.2rem; }
.author-name a:hover { color: var(--accent); }
.author-bio { margin: 0 0 .7rem; font-size: .95rem; line-height: 1.9; }
.author-more { display: inline-flex; align-items: center; gap: .45rem; color: var(--accent); font-size: .875rem; font-weight: 800; }
.author-count { padding: 0 .55rem; border-radius: 999px; background: var(--bg); color: var(--heading); font-size: .75rem; line-height: 1.8; }
.page-head .avatar { --s: 5.5rem; width: 5.5rem; height: 5.5rem; margin-bottom: .9rem; border-radius: 50%; vertical-align: middle; }
@media (max-width: 599.98px) {
	.author-box { flex-direction: column; align-items: center; text-align: center; }
}

.post-navigation { margin-block: 1rem 3rem; }
.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.post-navigation .nav-next { grid-column: 2; border-inline-start: 1px solid var(--line); }
.post-navigation a { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1.1rem; }
.post-navigation .nav-next a { flex-direction: row-reverse; text-align: end; }
.post-navigation img { flex: none; width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: var(--radius); }
.post-navigation small { display: block; color: var(--muted); font-size: .8125rem; }
.post-navigation b {
	display: -webkit-box;
	overflow: hidden;
	color: var(--heading);
	line-height: 1.6;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.post-navigation a:hover b { color: var(--accent); }

.peek { display: none; }
@media (min-width: 960px) and (hover: hover) {
	.peek {
		position: fixed;
		top: 50%;
		z-index: 45;
		display: flex;
		align-items: center;
		gap: .6rem;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-50%);
		transition: opacity .3s, visibility .3s;
	}
	.is-scrolled .peek { opacity: 1; visibility: visible; }
	.peek-prev { inset-inline-start: 0; }
	.peek-next { inset-inline-end: 0; flex-direction: row-reverse; }
	.peek-tab {
		display: grid;
		place-items: center;
		width: 2.4rem;
		height: 5.5rem;
		background: var(--ink);
		color: var(--sage);
		box-shadow: 0 8px 24px rgba(9, 35, 40, .25);
		transition: width .25s, background-color .25s, color .25s;
	}
	.peek-prev .peek-tab { border-start-end-radius: 12px; border-end-end-radius: 12px; }
	.peek-next .peek-tab { border-start-start-radius: 12px; border-end-start-radius: 12px; }
	[data-theme="dark"] .peek-tab { background: var(--deep); box-shadow: 0 8px 24px rgba(0, 0, 0, .45); }
	[data-theme="dark"] .peek-card { background: var(--surface); }
	.peek:hover .peek-tab { width: 2.9rem; background: var(--sage); color: var(--ink); }
	.peek-card {
		display: flex;
		align-items: center;
		gap: .9rem;
		width: 20rem;
		padding: .75rem;
		border: 1px solid var(--line);
		border-radius: 12px;
		background: var(--bg);
		box-shadow: 0 18px 40px rgba(9, 35, 40, .22);
		opacity: 0;
		visibility: hidden;
		transform: scale(.94);
		transition: opacity .25s, transform .25s, visibility .25s;
	}
	.peek:hover .peek-card { opacity: 1; visibility: visible; transform: none; }
	.peek-card img { flex: none; width: 4.75rem; height: 4.75rem; object-fit: cover; border-radius: var(--radius); }
	.peek-card small { display: block; color: var(--accent); font-size: .75rem; font-weight: 800; }
	.peek-card b {
		display: -webkit-box;
		overflow: hidden;
		color: var(--heading);
		font-size: .9rem;
		line-height: 1.65;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
	}
}

.comments { padding-block: 3rem; }
.comments-title, .comment-reply-title { margin-bottom: 1.25rem; font-size: 1.25rem; }
.comment-reply-title small { margin-inline-start: .75rem; font-size: .875rem; font-weight: 400; }
.comment-list, .comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { padding-inline-start: clamp(1rem, 4vw, 2.5rem); }
.comment-body { padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .25rem .75rem; margin-bottom: .6rem; }
.comment-author { display: flex; align-items: center; gap: .6rem; color: var(--heading); font-weight: 800; }
.comment-author .avatar { --s: 2.6rem; border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { color: var(--muted); font-size: .8125rem; }
.comment-content p { margin: 0 0 .8em; }
.comment-reply-link {
	display: inline-block;
	padding: .15rem .9rem;
	border-radius: 999px;
	background: var(--surface);
	color: var(--heading);
	font-size: .8125rem;
	font-weight: 800;
}
.comment-reply-link:hover { background: var(--heading); color: var(--bg); }
.comment-respond { margin-top: 2rem; }
.comment-form { display: grid; gap: 1rem; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .875rem; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: .5rem; }
.comment-form-cookies-consent label { margin: 0; }
.comment-notes, .logged-in-as { color: var(--muted); font-size: .875rem; }

.site-footer { background: var(--ink); color: var(--on-ink-muted); }
.footer-top { padding: clamp(2.5rem, 6vw, 4rem) var(--gutter) 2.5rem; text-align: center; }
.tagline { max-width: 36rem; margin: .8rem auto 0; }
.footer-widgets { max-width: 40rem; margin: 2rem auto 0; color: var(--on-ink); }
.footer-widgets .widget-title, .footer-widgets h2 { color: #fff; font-size: 1.1rem; }
.footer-widgets .widget + .widget { margin-top: 1.75rem; }
.footer-widgets ul, .footer-widgets ol { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem 1.25rem; margin: 0; padding: 0; list-style: none; }
.footer-widgets a { color: var(--on-ink); }
.footer-widgets a:hover { color: var(--sage); }

.site-footer .footer-widgets form { max-width: 34rem; margin: 1.1rem auto 0; text-align: start; }
.site-footer .footer-widgets form:has(input[type="email"]) { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem; }
.site-footer .footer-widgets form:has(input[type="email"]) > * { flex: 0 0 auto; max-width: 100%; margin: 0; }
.site-footer .footer-widgets form > :has(input[type="email"]),
.site-footer .footer-widgets form > input[type="email"] { flex: 1 1 15rem; }
.site-footer .footer-widgets form > :not(input, button, :has(input, button)) { flex-basis: 100%; }
.site-footer .footer-widgets label { display: block; margin-bottom: .3rem; color: var(--on-ink-muted); font-size: .8125rem; }
.site-footer .footer-widgets input[type="email"],
.site-footer .footer-widgets input[type="text"] {
	width: 100%;
	min-height: 3.25rem;
	padding: 0 1.25rem;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	color: #fff;
}
.site-footer .footer-widgets input::placeholder { color: var(--on-ink-muted); opacity: 1; }
.site-footer .footer-widgets input[type="submit"],
.site-footer .footer-widgets button {
	min-height: 3.25rem;
	padding: 0 1.75rem;
	border: 0;
	border-radius: 999px;
	background: var(--sage);
	color: var(--ink);
	font-weight: 800;
	cursor: pointer;
	transition: background-color .2s;
}
.site-footer .footer-widgets input[type="submit"]:hover,
.site-footer .footer-widgets button:hover { background: #fff; }
@media (max-width: 599.98px) {
	.site-footer .footer-widgets form:has(input[type="email"]) > * { flex: 1 1 100%; }
	.site-footer .footer-widgets input[type="submit"],
	.site-footer .footer-widgets button { width: 100%; }
}
.footer-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
	padding: 1.5rem var(--gutter);
	padding-inline-end: calc(var(--gutter) + 4.5rem);
	border-top: 4px solid rgba(255, 255, 255, .06);
}
.footer-menu { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-bottom: .35rem; }
.footer-menu a { color: var(--on-ink); font-size: .9rem; }
.footer-menu a:hover { color: var(--sage); }
.copyright { margin: 0; font-size: .875rem; }
.footer-icons { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }

.entry-content .is-lead { color: var(--heading); font-size: 1.25rem; line-height: 1.9; }
.iranhack-card { padding: 1.25rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.iranhack-card > * { margin: 0; }
.iranhack-card > * + * { margin-top: .35rem; }
.iranhack-stats h3 { color: var(--accent); font-size: 1.75rem; }
.wp-block-details { padding: .9rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); }
.wp-block-details summary { color: var(--heading); font-weight: 800; cursor: pointer; }
.wp-block-details[open] summary { margin-bottom: .5rem; }
input[type="tel"], input[type="number"], select { width: 100%; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--heading); }
input[type="tel"] { direction: ltr; }

.banners {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	gap: 1rem;
	padding: 1.25rem var(--gutter);
	background: var(--bg);
	border-bottom: 1px solid var(--line);
}
.banners > * { margin: 0; overflow: hidden; border-radius: var(--radius); text-align: center; }
.banners figure { margin: 0; }
.banners img { display: block; width: 100%; height: auto; transition: transform .6s, filter .3s; }
.banners a:hover img { transform: scale(1.02); filter: brightness(1.08); }

.ticker { --marquee-time: 45s; display: flex; align-items: stretch; background: var(--wine); color: #fff; font-size: .9rem; }
.ticker-label { flex: none; display: flex; align-items: center; gap: .55rem; padding-inline: var(--gutter) 1.1rem; background: rgba(0, 0, 0, .22); font-weight: 800; }
.ticker-label::before { content: ""; width: .5rem; height: .5rem; border-radius: 50%; background: #fff; animation: pulse 1.1s ease-in-out infinite alternate; }
.ticker .marquee { flex: 1; min-width: 0; }
.ticker li { display: flex; align-items: center; }
.ticker li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.ticker a { display: flex; align-items: center; gap: .6rem; padding: .6rem 1.4rem; color: #fff; white-space: nowrap; }
.ticker a:hover { text-decoration: underline; text-underline-offset: .3em; }
.ticker time { font-size: .8125rem; opacity: .75; }

.entry-kicker { margin: 0 0 .3rem; color: var(--hot); font-size: 1.05rem; font-weight: 800; }
.card-kicker { margin: 0 0 .15rem; color: rgba(255, 255, 255, .82); font-size: .875rem; }
.sponsored { display: inline-block; padding: .05rem .7rem; border-radius: 999px; background: var(--wine); color: #fff; font-size: .75rem; font-weight: 800; line-height: 1.8; }
.avatar-initial {
	--s: 2.5rem;
	display: inline-grid;
	place-items: center;
	flex: none;
	width: var(--s);
	height: var(--s);
	border-radius: 50%;
	color: #fff;
	font-size: calc(var(--s) * .44);
	font-weight: 800;
	line-height: 1;
	text-transform: uppercase;
}
.shortlink { display: flex; flex: 1 1 100%; align-items: center; gap: .5rem; margin: 0; color: var(--muted); font-size: .875rem; }
.shortlink input[type="text"] { flex: 1; min-width: 0; max-width: 20rem; padding: .45rem .95rem; border-radius: 999px; background: var(--surface); font-size: .875rem; }

.ad { margin-block: 2rem; text-align: center; }
.entry > .ad { width: var(--column); margin-inline: auto; }
.entry-content > .ad { margin-block: 2rem; }
.ad-label { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .75rem; }
.ad figure { margin: 0; }
.ad img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.ad .banner + .banner { margin-top: .75rem; }
.entry-content .ad a, .entry-content .ad a:hover { box-shadow: none; background: none; }

.card.has-post-thumbnail::before,
.strip-img::before,
.entry-media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -3;
	background: rgba(139, 187, 146, .2);
	animation: pulse .9s ease-in-out 10 alternate;
}
.strip-img::before { z-index: -1; }
.entry-media::before { inset: 0 0 auto; z-index: -1; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--surface); }
@keyframes pulse { from { opacity: .35; } to { opacity: 1; } }
@media (max-width: 599.98px) { .entry-media::before { border-radius: 0; } }
@supports (animation-timeline: view()) {
	.grid .card, .entry-content img {
		animation: reveal linear both;
		animation-timeline: view();
		animation-range: entry 0% entry 45%;
	}
}
@keyframes reveal { from { opacity: 0; transform: translateY(1.5rem); } }

.to-top {
	position: fixed;
	bottom: 1.25rem;
	inset-inline-end: 1.25rem;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	background: conic-gradient(var(--sage) calc(var(--p, 0) * 1turn), rgba(139, 187, 146, .25) 0);
	box-shadow: 0 8px 24px rgba(9, 35, 40, .3);
	opacity: 0;
	visibility: hidden;
	transform: translateY(1rem);
	transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink); transition: background-color .2s; }
.to-top .icon { position: relative; color: #fff; transition: color .2s; }
.to-top:hover::before { background: var(--sage); }
.to-top:hover .icon { color: var(--ink); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

.cursor-dot, .cursor-ring {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	border-radius: 50%;
	pointer-events: none;
	transition: opacity .3s;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--sage); }
.cursor-ring {
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border: 2px solid var(--sage);
	opacity: .6;
	transition: transform .14s ease-out, width .25s, height .25s, margin .25s, background-color .25s, border-color .25s, opacity .3s;
}
.cursor-ring.is-hover {
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-color: transparent;
	background: rgba(139, 187, 146, .22);
	opacity: 1;
}
.cursor-out .cursor-dot, .cursor-out .cursor-ring { opacity: 0; }

@media (max-width: 1023.98px) {
	.brand { order: -1; }
	.bar-side { flex: none; }
	.bar-side:first-of-type { margin-inline-start: auto; }
	.today, .nav { display: none; }
}
@media (min-width: 1024px) {
	.menu-btn { display: none; }
}
@media (max-width: 599.98px) {
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.post-navigation .nav-next { grid-column: auto; border-inline-start: 0; border-top: 1px solid var(--line); }
	.topic { padding: .9rem 1.25rem; }
	.topic img, .topic-ph { width: 5rem; height: 3.5rem; }
}

@media print {
	:root, [data-theme="dark"] {
		--bg: #fff;
		--surface: #fff;
		--text: #111;
		--heading: #000;
		--muted: #444;
		--line: #bbb;
		--accent: #000;
		--hot: #000;
		color-scheme: light;
	}
	body { font-size: 12pt; }
	.site-header, .ticker, .strip, .banners, .ad, .share, .shortlink, .reader-tools, .post-navigation, .peek,
	.crumbs, .related, .comments, .topics, .site-footer, .to-top, .progress, .cursor-dot, .cursor-ring,
	dialog, .skip-link { display: none !important; }
	.entry-head, .entry-content, .entry-foot, .author-box { width: 100%; }
	.entry-media img { max-height: 9cm; }
	.entry-content { font-size: 12pt; line-height: 1.8; }
	.entry-content a { box-shadow: none; text-decoration: underline; }
	.entry-content pre { background: #f2f2f2; color: #000; white-space: pre-wrap; }
	.entry-content img, .entry-content figure, .entry-content blockquote, .entry-content table { break-inside: avoid; }
	.entry-content h2, .entry-content h3 { break-after: avoid; }
	.author-box { border: 1px solid #bbb; }
	.author-more { display: none; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.marquee { overflow-x: auto; }
	.marquee ul[inert] { display: none; }
}
