/*
Theme Name: Bite of Tech Infrastructure
Theme URI: https://biteoftech.com/
Author: Bite of Tech
Description: A lightweight editorial theme for Bite of Tech, built around systems, networks, code, and practical projects.
Version: 1.0.9
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: biteoftech
*/

:root {
	--bot-ink: #11171d;
	--bot-ink-soft: #17222a;
	--bot-panel: #1b272e;
	--bot-panel-2: #202f36;
	--bot-bone: #f1e9dc;
	--bot-bone-soft: #d8d0c4;
	--bot-teal: #3a9a93;
	--bot-teal-bright: #55b8af;
	--bot-orange: #d06432;
	--bot-orange-bright: #e57a46;
	--bot-line: rgba(241, 233, 220, 0.16);
	--bot-line-strong: rgba(241, 233, 220, 0.3);
	--bot-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
	--bot-radius-sm: 10px;
	--bot-radius: 18px;
	--bot-radius-lg: 30px;
	--bot-content: 1180px;
	--bot-reading: 780px;
	--bot-header-height: 72px;
	--bot-font-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
	--bot-font-body: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 12% 5%, rgba(58, 154, 147, 0.11), transparent 30rem),
		radial-gradient(circle at 92% 22%, rgba(208, 100, 50, 0.09), transparent 26rem),
		var(--bot-ink);
	color: var(--bot-bone);
	font-family: var(--bot-font-body);
	font-size: 16px;
	line-height: 1.62;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.nav-open {
	overflow: hidden;
}

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

a {
	color: var(--bot-teal-bright);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover,
a:focus-visible {
	color: var(--bot-orange-bright);
}

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

button,
input[type="submit"] {
	cursor: pointer;
}

::selection {
	background: var(--bot-orange);
	color: #fff;
}

:focus-visible {
	outline: 3px solid var(--bot-orange-bright);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute;
	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 {
	z-index: 100000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: var(--bot-bone);
	color: var(--bot-ink);
	border-radius: 6px;
}

.site-shell {
	width: min(calc(100% - 40px), var(--bot-content));
	margin-inline: auto;
}

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

.site-header {
	position: sticky;
	z-index: 1000;
	top: 0;
	height: var(--bot-header-height);
	border-bottom: 1px solid var(--bot-line);
	background: rgba(17, 23, 29, 0.9);
	backdrop-filter: blur(18px);
}

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

.header-inner {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 22px;
	height: 100%;
}

.site-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--bot-bone);
	text-decoration: none;
}

.brand-symbol {
	position: relative;
	width: 54px;
	height: 42px;
	overflow: hidden;
	flex: 0 0 auto;
	border: 1px solid var(--bot-line-strong);
	border-radius: 8px;
	background: #0f151a;
}

.brand-symbol img {
	width: 54px;
	height: 42px;
	max-width: none;
	object-fit: cover;
}

.brand-type {
	display: flex;
	align-items: baseline;
	font-family: var(--bot-font-display);
	font-size: 19px;
	font-stretch: condensed;
	font-weight: 900;
	letter-spacing: 0.035em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.brand-type__of {
	margin-inline: 5px;
	color: var(--bot-orange-bright);
	font-size: 0.56em;
	letter-spacing: 0.08em;
}

.brand-type__tech {
	color: var(--bot-teal-bright);
}

.primary-nav {
	justify-self: end;
}

.primary-nav ul {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-nav a {
	display: block;
	padding: 10px 13px;
	color: var(--bot-bone-soft);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a:focus-visible,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a {
	color: var(--bot-bone);
}

.primary-nav .current-menu-item > a {
	box-shadow: inset 0 -2px var(--bot-orange);
}

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

.icon-button {
	display: inline-grid;
	width: 42px;
	height: 42px;
	padding: 0;
	place-items: center;
	border: 1px solid var(--bot-line);
	border-radius: 50%;
	background: transparent;
	color: var(--bot-bone);
}

.icon-button:hover {
	border-color: var(--bot-teal);
	background: rgba(58, 154, 147, 0.1);
}

.icon-button svg {
	width: 20px;
	height: 20px;
}

.menu-toggle {
	display: none;
}

.search-panel {
	position: fixed;
	z-index: 1100;
	inset: var(--bot-header-height) 0 auto;
	padding: 24px 20px;
	border-bottom: 1px solid var(--bot-line);
	background: rgba(17, 23, 29, 0.97);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-120%);
	visibility: hidden;
	transition: transform 180ms ease, opacity 180ms ease, visibility 0s linear 180ms;
}

.admin-bar .search-panel {
	inset-block-start: calc(var(--bot-header-height) + 32px);
}

.search-panel.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
	visibility: visible;
	transition-delay: 0s;
}

.search-form {
	display: flex;
	width: min(100%, 780px);
	margin-inline: auto;
}

.search-form label {
	flex: 1;
}

.search-field {
	width: 100%;
	min-height: 52px;
	padding: 0 18px;
	border: 1px solid var(--bot-line-strong);
	border-radius: 9px 0 0 9px;
	background: var(--bot-panel);
	color: var(--bot-bone);
}

.search-submit {
	min-width: 120px;
	padding: 0 20px;
	border: 0;
	border-radius: 0 9px 9px 0;
	background: var(--bot-orange);
	color: #fff;
	font-weight: 800;
}

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(44px, 5vw, 72px) 0 44px;
	border-bottom: 1px solid var(--bot-line);
}

.hero::before {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(58, 154, 147, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(58, 154, 147, 0.055) 1px, transparent 1px);
	background-size: 42px 42px;
	mask-image: linear-gradient(to right, black, transparent 82%);
	content: "";
	pointer-events: none;
}

.hero-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
	align-items: center;
	gap: clamp(28px, 4vw, 52px);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	color: var(--bot-teal-bright);
	font-family: var(--bot-font-display);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.17em;
	line-height: 1.3;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 34px;
	height: 3px;
	background: var(--bot-orange);
	content: "";
}

.hero-title,
.page-title,
.entry-title,
.section-title {
	margin: 0;
	color: var(--bot-bone);
	font-family: var(--bot-font-display);
	font-weight: 900;
	letter-spacing: -0.035em;
	line-height: 0.98;
	text-transform: uppercase;
}

.hero-title {
	max-width: 760px;
	font-size: clamp(42px, 5vw, 68px);
}

.hero-title em {
	color: var(--bot-orange-bright);
	font-style: normal;
}

.hero-copy {
	max-width: 650px;
	margin: 18px 0 0;
	color: var(--bot-bone-soft);
	font-size: clamp(16px, 1.5vw, 18px);
	line-height: 1.55;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.button {
	display: inline-flex;
	min-height: 48px;
	padding: 0 21px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--bot-orange);
	border-radius: 7px;
	background: var(--bot-orange);
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: transform 150ms ease, background 150ms ease, border-color 150ms ease;
}

.button:hover,
.button:focus-visible {
	background: var(--bot-orange-bright);
	border-color: var(--bot-orange-bright);
	color: #fff;
	transform: translateY(-2px);
}

.button--ghost {
	border-color: var(--bot-line-strong);
	background: transparent;
	color: var(--bot-bone);
}

.button--ghost:hover,
.button--ghost:focus-visible {
	border-color: var(--bot-teal);
	background: rgba(58, 154, 147, 0.1);
}

.hero-art {
	position: relative;
}

.hero-art::before {
	position: absolute;
	z-index: -1;
	inset: 12% 7%;
	border-radius: 50%;
	background: rgba(58, 154, 147, 0.18);
	filter: blur(48px);
	content: "";
}

.hero-art img {
	width: 100%;
	border: 1px solid var(--bot-line);
	border-radius: var(--bot-radius-lg);
	box-shadow: var(--bot-shadow);
}

.hero-proof {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin-top: 18px;
	overflow: hidden;
	border: 1px solid var(--bot-line);
	border-radius: 12px;
	background: var(--bot-line);
}

.hero-proof span {
	padding: 10px 12px;
	background: rgba(17, 23, 29, 0.92);
	color: var(--bot-bone-soft);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-align: center;
	text-transform: uppercase;
}

.section {
	padding: clamp(48px, 5vw, 72px) 0;
}

.section--bone {
	background: var(--bot-bone);
	color: var(--bot-ink);
}

.section--border {
	border-block: 1px solid var(--bot-line);
}

.section-header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.section-title {
	font-size: clamp(32px, 4vw, 48px);
}

.section--bone .section-title {
	color: var(--bot-ink);
}

.section-intro {
	max-width: 560px;
	margin: 14px 0 0;
	color: var(--bot-bone-soft);
}

.section--bone .section-intro {
	color: #4d565c;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: inherit;
	font-size: 14px;
	font-weight: 850;
	text-decoration: none;
}

.text-link::after {
	content: "→";
	transition: transform 150ms ease;
}

.text-link:hover::after {
	transform: translateX(4px);
}

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

.post-card {
	grid-column: span 4;
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--bot-line);
	border-radius: var(--bot-radius);
	background: var(--bot-panel);
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.post-card:hover {
	border-color: rgba(58, 154, 147, 0.6);
	box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
	transform: translateY(-5px);
}

.post-card--featured {
	grid-column: span 8;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
}

.post-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background:
		linear-gradient(135deg, rgba(58, 154, 147, 0.28), rgba(208, 100, 50, 0.18)),
		var(--bot-ink-soft);
}

.post-card--featured .post-card__media {
	min-height: 100%;
	aspect-ratio: auto;
}

.post-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 300ms ease;
}

.post-card:hover .post-card__media img {
	transform: scale(1.035);
}

.post-card__fallback {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
}

.post-card__fallback span {
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: clamp(36px, 6vw, 72px);
	font-weight: 900;
	color: rgba(241, 233, 220, 0.88);
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px;
}

.post-card--featured .post-card__body {
	justify-content: center;
	padding: clamp(28px, 4vw, 50px);
}

.post-card__meta,
.entry-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 15px;
	align-items: center;
	margin-bottom: 14px;
	color: #9aa9ad;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.category-chip {
	display: inline-flex;
	padding: 5px 9px;
	border: 1px solid rgba(58, 154, 147, 0.55);
	border-radius: 999px;
	color: var(--bot-teal-bright);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-decoration: none;
	text-transform: uppercase;
}

.post-card__title {
	margin: 0;
	color: var(--bot-bone);
	font-family: var(--bot-font-display);
	font-size: clamp(21px, 2vw, 27px);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.12;
	text-transform: uppercase;
}

.post-card--featured .post-card__title {
	font-size: clamp(32px, 4vw, 48px);
}

.post-card__title a {
	color: inherit;
	text-decoration: none;
}

.post-card__excerpt {
	margin: 10px 0 0;
	color: var(--bot-bone-soft);
	font-size: 15px;
	line-height: 1.5;
}

.post-card__footer {
	margin-top: auto;
	padding-top: 14px;
}

.topic-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.topic-card {
	position: relative;
	min-height: 180px;
	padding: 20px;
	overflow: hidden;
	border: 1px solid rgba(17, 23, 29, 0.16);
	border-radius: var(--bot-radius);
	background: #fffdf8;
	color: var(--bot-ink);
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.topic-card:hover {
	color: var(--bot-ink);
	box-shadow: 0 18px 36px rgba(17, 23, 29, 0.12);
	transform: translateY(-5px);
}

.topic-card::after {
	position: absolute;
	right: -30px;
	bottom: -52px;
	width: 150px;
	height: 150px;
	border: 24px solid rgba(58, 154, 147, 0.1);
	border-radius: 50%;
	content: "";
}

.topic-card__index {
	color: var(--bot-orange);
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 13px;
	font-weight: 900;
}

.topic-card h3 {
	margin: 28px 0 8px;
	font-family: var(--bot-font-display);
	font-size: 23px;
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.05;
	text-transform: uppercase;
}

.topic-card p {
	margin: 0;
	color: #566269;
	font-size: 14px;
	line-height: 1.55;
}

.about-strip {
	display: grid;
	grid-template-columns: 0.8fr 1.2fr;
	align-items: center;
	gap: 70px;
}

.about-visual {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--bot-line);
	border-radius: var(--bot-radius-lg);
	background: #0e1419;
}

.about-visual img {
	width: 100%;
}

.about-copy h2 {
	margin: 0 0 22px;
	font-family: var(--bot-font-display);
	font-size: clamp(40px, 5vw, 66px);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 0.98;
	text-transform: uppercase;
}

.about-copy p {
	max-width: 620px;
	margin: 0 0 26px;
	color: var(--bot-bone-soft);
	font-size: 18px;
}

.page-hero {
	padding: 46px 0 32px;
	border-bottom: 1px solid var(--bot-line);
}

.page-title {
	max-width: 900px;
	font-size: clamp(40px, 5vw, 64px);
}

.archive-description {
	max-width: 680px;
	margin-top: 20px;
	color: var(--bot-bone-soft);
}

.content-section {
	padding: 40px 0 64px;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, var(--bot-reading)) 250px;
	align-items: start;
	justify-content: space-between;
	gap: 40px;
}

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

.single-hero {
	padding: 40px 0 26px;
}

.entry-title {
	max-width: 1040px;
	font-size: clamp(38px, 5vw, 64px);
}

.single-hero .entry-meta {
	margin: 14px 0 0;
}

.featured-image {
	overflow: hidden;
	margin-top: 24px;
	border: 1px solid var(--bot-line);
	border-radius: var(--bot-radius-lg);
}

.featured-image img {
	width: 100%;
	max-height: 480px;
	object-fit: cover;
}

.entry-content {
	color: #e0d9cf;
	font-size: 17px;
	line-height: 1.68;
}

/*
 * Some legacy articles carry dark inline text colors from the previous
 * light theme. Keep those authored layouts while restoring readable contrast.
 */
.entry-content p,
.entry-content li,
.entry-content dt,
.entry-content dd,
.entry-content figcaption,
.entry-content td,
.entry-content th,
.entry-content blockquote {
	color: #e0d9cf !important;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	color: var(--bot-bone) !important;
}

.entry-content a {
	color: var(--bot-teal-bright) !important;
}

.entry-content a:hover,
.entry-content a:focus-visible {
	color: var(--bot-orange-bright) !important;
}

.entry-content pre,
.entry-content [style*="background-color: #f1f1f1"],
.entry-content [style*="background-color:#f1f1f1"] {
	border-color: var(--bot-line) !important;
	background: #0b1116 !important;
	color: #8ad7d0 !important;
}

.page .entry-content {
	padding: 42px;
	border: 1px solid var(--bot-line);
	border-radius: var(--bot-radius);
	background: var(--bot-panel);
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content > *:last-child {
	margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin: 1.6em 0 0.55em;
	color: var(--bot-bone);
	font-family: var(--bot-font-display);
	font-weight: 900;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.entry-content h2 {
	font-size: clamp(28px, 3vw, 36px);
	text-transform: uppercase;
}

.entry-content h3 {
	font-size: 24px;
}

.entry-content h4 {
	font-size: 20px;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content pre,
.entry-content table,
.entry-content figure {
	margin-block: 1em;
}

.entry-content a {
	font-weight: 650;
}

.entry-content blockquote {
	padding: 4px 0 4px 24px;
	border-left: 4px solid var(--bot-orange);
	color: var(--bot-bone);
	font-size: 1.08em;
}

.entry-content code {
	padding: 0.14em 0.34em;
	border: 1px solid var(--bot-line);
	border-radius: 4px;
	background: #0b1116;
	color: #8ad7d0;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 0.9em;
}

.entry-content pre {
	max-width: 100%;
	padding: 16px;
	overflow-x: auto;
	border: 1px solid var(--bot-line);
	border-left: 4px solid var(--bot-teal);
	border-radius: 8px;
	background: #0b1116;
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.entry-content pre code {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--bot-bone);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content th,
.entry-content td {
	padding: 12px 14px;
	border: 1px solid var(--bot-line-strong);
	text-align: left;
}

.entry-content th {
	background: var(--bot-panel-2);
}

.entry-content img {
	border-radius: 10px;
}

.entry-content iframe {
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	border: 1px solid var(--bot-line-strong);
	border-radius: 10px;
}

.entry-content details {
	margin-block: 1.35em;
	padding: 16px 20px;
	border: 1px solid var(--bot-line-strong);
	border-left: 4px solid var(--bot-orange);
	border-radius: 8px;
	background: var(--bot-panel);
}

.entry-content summary {
	cursor: pointer;
	color: var(--bot-bone);
	font-family: var(--bot-font-display);
	font-weight: 800;
	letter-spacing: 0.01em;
}

.entry-content details[open] summary {
	margin-bottom: 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--bot-line);
}

.entry-content .bot-resource-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	margin-block: 1.1em;
}

.entry-content .bot-resource-grid figure {
	display: grid;
	align-content: space-between;
	gap: 10px;
	min-width: 0;
	margin: 0;
}

.entry-content .bot-resource-grid figure > a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 150px;
	padding: 16px;
	border: 1px solid var(--bot-line-strong);
	border-radius: 10px;
	background: #0b1116;
}

.entry-content .bot-resource-grid img {
	display: block;
	width: 100%;
	max-height: 150px;
	object-fit: contain;
}

.entry-content .bot-resource-grid figcaption {
	margin: 0;
	text-align: center;
}

.entry-content .alignwide {
	width: min(100vw - 40px, 980px);
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-top: 24px;
	margin-top: 30px;
	border-top: 1px solid var(--bot-line);
}

.entry-tags a {
	padding: 7px 11px;
	border: 1px solid var(--bot-line);
	border-radius: 999px;
	color: var(--bot-bone-soft);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.entry-tags a:hover {
	border-color: var(--bot-teal);
	color: var(--bot-bone);
}

.article-aside {
	position: sticky;
	top: calc(var(--bot-header-height) + 28px);
}

.admin-bar .article-aside {
	top: calc(var(--bot-header-height) + 60px);
}

.aside-panel {
	padding: 18px;
	border: 1px solid var(--bot-line);
	border-radius: var(--bot-radius);
	background: var(--bot-panel);
}

.aside-panel + .aside-panel {
	margin-top: 12px;
}

.aside-label {
	margin: 0 0 13px;
	color: var(--bot-orange-bright);
	font-family: var(--bot-font-display);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.aside-panel h2,
.aside-panel h3 {
	margin: 0 0 12px;
	font-family: var(--bot-font-display);
	font-size: 21px;
	line-height: 1.1;
	text-transform: uppercase;
}

.aside-panel p {
	margin: 0;
	color: var(--bot-bone-soft);
	font-size: 14px;
}

.post-navigation {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-top: 54px;
}

.post-navigation a {
	display: block;
	min-height: 100%;
	padding: 22px;
	border: 1px solid var(--bot-line);
	border-radius: 12px;
	background: var(--bot-panel);
	color: var(--bot-bone);
	text-decoration: none;
}

.post-navigation a:hover {
	border-color: var(--bot-teal);
}

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

.post-navigation .meta-nav {
	display: block;
	margin-bottom: 7px;
	color: var(--bot-teal-bright);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 48px;
}

.page-numbers {
	display: inline-grid;
	min-width: 42px;
	height: 42px;
	padding-inline: 12px;
	place-items: center;
	border: 1px solid var(--bot-line);
	border-radius: 7px;
	color: var(--bot-bone);
	font-weight: 800;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	border-color: var(--bot-orange);
	background: var(--bot-orange);
	color: #fff;
}

.comments-area {
	margin-top: 64px;
	padding-top: 42px;
	border-top: 1px solid var(--bot-line);
}

.comments-title,
.comment-reply-title {
	font-family: var(--bot-font-display);
	font-size: 32px;
	text-transform: uppercase;
}

.comment-list {
	padding: 0;
	list-style: none;
}

.comment-list .children {
	list-style: none;
}

.comment-body {
	padding: 24px;
	margin-block: 14px;
	border: 1px solid var(--bot-line);
	border-radius: 12px;
	background: var(--bot-panel);
}

.comment-meta {
	font-size: 13px;
}

.comment-author img {
	display: inline-block;
	margin-right: 10px;
	border-radius: 50%;
	vertical-align: middle;
}

.comment-form label {
	display: block;
	margin-bottom: 6px;
	font-weight: 750;
}

.comment-form input:not([type="checkbox"]):not([type="submit"]),
.comment-form textarea,
.wpcf7-form input:not([type="submit"]),
.wpcf7-form textarea,
.wpcf7-form select {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--bot-line-strong);
	border-radius: 7px;
	background: #0c1318;
	color: var(--bot-bone);
}

.page-id-37 .content-layout {
	grid-template-columns: minmax(0, 1fr) 280px;
}

.page-id-37 .entry-content {
	padding: 0;
	border: 0;
	background: transparent;
}

.bot-contact-intro,
.bot-contact-form-shell {
	padding: clamp(24px, 4vw, 36px);
	border: 1px solid var(--bot-line);
	border-radius: var(--bot-radius);
	background: var(--bot-panel);
}

.bot-contact-intro {
	background:
		linear-gradient(135deg, rgba(58, 154, 147, 0.09), transparent 55%),
		var(--bot-panel);
}

.bot-contact-form-shell {
	margin-top: 18px;
}

.bot-contact-kicker {
	margin: 0 0 10px !important;
	color: var(--bot-teal-bright) !important;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: 12px;
	font-weight: 850;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bot-contact-intro h2,
.bot-contact-form-shell h3 {
	margin: 0 0 12px;
	color: var(--bot-bone);
	font-family: var(--bot-font-display);
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.05;
	text-transform: uppercase;
}

.bot-contact-form-shell h3 {
	font-size: clamp(26px, 3vw, 34px);
}

.bot-contact-intro > p:not(.bot-contact-kicker),
.bot-contact-form-note {
	max-width: 720px;
	margin: 0;
	color: var(--bot-bone-soft) !important;
}

.bot-contact-paths {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	margin-top: 24px;
	overflow: hidden;
	border: 1px solid var(--bot-line);
	border-radius: 10px;
	background: var(--bot-line);
}

.bot-contact-paths div {
	padding: 16px;
	background: rgba(11, 17, 22, 0.72);
}

.bot-contact-paths strong,
.bot-contact-paths span {
	display: block;
}

.bot-contact-paths strong {
	color: var(--bot-bone);
	font-family: var(--bot-font-display);
	font-size: 17px;
	text-transform: uppercase;
}

.bot-contact-paths span {
	margin-top: 5px;
	color: #9aa9ad;
	font-size: 13px;
	line-height: 1.45;
}

.bot-contact-form-note {
	margin-bottom: 22px;
	font-size: 15px;
}

.bot-contact-form-shell .wpcf7-form > p {
	margin: 14px 0 0;
}

.bot-contact-form-shell .wpcf7-form label {
	display: block;
	color: var(--bot-bone);
	font-size: 14px;
	font-weight: 750;
}

.bot-contact-form-shell .wpcf7-form label > span:first-child {
	display: block;
	margin-bottom: 7px;
}

.bot-field-grid {
	display: block;
}

.bot-field-grid > p {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 14px 0 0;
}

.bot-contact-form-shell .wpcf7-form > p > label + label {
	margin-top: 14px;
}

.bot-contact-form-shell .wpcf7-form input:not([type="submit"]),
.bot-contact-form-shell .wpcf7-form textarea {
	margin-top: 7px;
}

.bot-contact-form-shell .wpcf7-form textarea {
	min-height: 180px;
	resize: vertical;
}

.bot-form-actions {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 18px;
}

.bot-form-actions > p {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
}

.bot-form-actions span {
	color: #8f9da1;
	font-size: 12px;
	line-height: 1.4;
}

.wpcf7-not-valid-tip {
	margin-top: 5px;
	color: #ff9a70;
	font-size: 12px;
}

.wpcf7 form .wpcf7-response-output {
	margin: 16px 0 0;
	padding: 10px 14px;
	border-radius: 7px;
	font-size: 14px;
}

.comment-form input[type="submit"],
.wpcf7-form input[type="submit"] {
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 7px;
	background: var(--bot-orange);
	color: #fff;
	font-weight: 850;
}

.empty-state {
	padding: 60px 30px;
	border: 1px solid var(--bot-line);
	border-radius: var(--bot-radius);
	background: var(--bot-panel);
	text-align: center;
}

.empty-state h2 {
	margin: 0 0 12px;
	font-family: var(--bot-font-display);
	font-size: 38px;
	text-transform: uppercase;
}

.site-footer {
	padding: 38px 0 20px;
	border-top: 1px solid var(--bot-line);
	background: #0b1116;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr 0.8fr;
	gap: 36px;
}

.footer-brand {
	max-width: 420px;
}

.footer-brand .brand-type {
	font-size: 24px;
}

.footer-brand p {
	margin: 10px 0 0;
	color: #9da9ac;
	font-size: 14px;
}

.footer-title {
	margin: 0 0 16px;
	color: var(--bot-bone);
	font-family: var(--bot-font-display);
	font-size: 14px;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.footer-nav,
.footer-links {
	padding: 0;
	margin: 0;
	list-style: none;
}

.footer-nav li + li,
.footer-links li + li {
	margin-top: 9px;
}

.footer-nav a,
.footer-links a {
	color: #9da9ac;
	font-size: 14px;
	text-decoration: none;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 18px;
	margin-top: 28px;
	border-top: 1px solid var(--bot-line);
	color: #758387;
	font-size: 12px;
}

@media (max-width: 1080px) {
	.primary-nav a {
		padding-inline: 9px;
		font-size: 13px;
	}

	.hero-grid {
		grid-template-columns: 1fr 0.95fr;
	}

	.post-card {
		grid-column: span 6;
	}

	.post-card--featured {
		grid-column: 1 / -1;
	}

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

@media (max-width: 860px) {
	:root {
		--bot-header-height: 66px;
	}

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

	.header-inner {
		grid-template-columns: 1fr auto;
		gap: 12px;
	}

	.primary-nav {
		position: fixed;
		inset: var(--bot-header-height) 0 0;
		display: none;
		padding: 18px 20px;
		background: rgba(17, 23, 29, 0.985);
	}

	.admin-bar .primary-nav {
		inset-block-start: calc(var(--bot-header-height) + 46px);
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav ul {
		display: block;
	}

	.primary-nav a {
		padding: 12px 4px;
		border-bottom: 1px solid var(--bot-line);
		font-size: 17px;
	}

	.header-tools {
		grid-column: 2;
		grid-row: 1;
	}

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

	.hero-grid,
	.about-strip,
	.content-layout {
		grid-template-columns: 1fr;
	}

	.page-id-37 .content-layout {
		grid-template-columns: 1fr;
	}

	.hero-art {
		max-width: 680px;
	}

	.about-visual {
		max-width: 640px;
	}

	.article-aside {
		position: static;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}

	.aside-panel + .aside-panel {
		margin-top: 0;
	}

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

	.footer-brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 640px) {
	.entry-content .bot-resource-grid {
		grid-template-columns: 1fr;
	}

	.entry-content .bot-resource-grid figure > a {
		min-height: 0;
	}

	body {
		font-size: 16px;
	}

	.site-shell {
		width: min(calc(100% - 24px), var(--bot-content));
	}

	.brand-symbol {
		width: 48px;
		height: 38px;
	}

	.brand-symbol img {
		width: 48px;
		height: 38px;
	}

	.brand-type {
		font-size: 16px;
	}

	.search-toggle {
		display: none;
	}

	.hero {
		padding-top: 36px;
	}

	.hero-grid {
		gap: 28px;
	}

	.hero-title {
		font-size: clamp(38px, 11vw, 52px);
	}

	.hero-proof {
		grid-template-columns: 1fr;
	}

	.post-card,
	.post-card--featured {
		grid-column: 1 / -1;
		display: flex;
	}

	.post-card--featured .post-card__media {
		min-height: 0;
		aspect-ratio: 16 / 9;
	}

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

	.topic-card {
		min-height: 165px;
	}

	.section-header {
		align-items: start;
		flex-direction: column;
	}

	.page-title,
	.entry-title {
		font-size: clamp(36px, 10vw, 50px);
	}

	.page .entry-content {
		padding: 18px;
	}

	.page-id-37 .entry-content {
		padding: 0;
	}

	.bot-contact-intro,
	.bot-contact-form-shell {
		padding: 20px;
	}

	.bot-contact-paths,
	.bot-field-grid > p {
		grid-template-columns: 1fr;
	}

	.bot-form-actions > p {
		align-items: flex-start;
		flex-direction: column;
	}

	.article-aside,
	.post-navigation {
		grid-template-columns: 1fr;
	}

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

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.footer-brand {
		grid-column: auto;
	}

	.footer-bottom {
		align-items: start;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

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