/*
 * Template-level styles (front page, author page, single/page, archives,
 * search, 404, shared post cards). Post-card styles are shared — archive,
 * search, 404 and the author page all reuse them.
 */

/* ---------- Front page ---------- */

.xecf13b43 {
	padding-bottom: var(--sn-sp-16);
}

/* ---------- Author page (T5) ---------- */

/* E-E-A-T surface (§7): framed and solid, and deliberately calmer than the
   conversion blocks. Trust furniture that behaves like a promotion reads
   like a promotion. */
.x5969297b {
	display: flex;
	flex-direction: column;
	gap: var(--sn-sp-6);
	background: var(--sn-pat-scanlines), var(--sn-surface);
	border: var(--sn-rule) solid var(--sn-acc-2);
	border-radius: var(--sn-radius);
	clip-path: var(--sn-notch-path);
	filter: drop-shadow(0 0 16px color-mix(in srgb, var(--sn-acc-2) 32%, transparent));
	padding: var(--sn-sp-8) var(--sn-sp-6);
	margin: var(--sn-sp-8) 0;
}

.x526ca5d7 {
	padding-bottom: var(--sn-sp-16);
}

.xc6d2ec72 {
	flex: 0 0 auto;
	width: 108px;
	height: 108px;
	border-radius: 50%;
	border: var(--sn-rule) solid var(--sn-bg);
	box-shadow: 0 0 0 3px var(--sn-acc-1), 0 0 0 6px var(--sn-acc-3);
}

.xeaea1225 {
	margin: 0 0 var(--sn-sp-2);
	letter-spacing: 0;
}

.xeee7a203 {
	margin: 0;
}

.x6bc12893 {
	margin: var(--sn-sp-2) 0 0;
	color: var(--sn-acc-2-fg);
	font-weight: 600;
}

.x902bd007 {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: var(--sn-sp-3);
	margin: var(--sn-sp-4) 0 0;
	padding: 0;
}

/* Expertise chips take the rotation from base.css. */
.x55f16a9b {
	padding: var(--sn-sp-1) var(--sn-sp-4);
	background: color-mix(in srgb, var(--sn-acc) 14%, transparent);
	border: var(--sn-rule) solid var(--sn-acc);
	border-radius: 4px;
	clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
	font-size: var(--sn-fs-xs);
	font-weight: 600;
	color: var(--sn-heading);
}

.x6df210af {
	margin: var(--sn-sp-4) 0 0;
	max-width: 65ch;
}

.x1f981893 {
	list-style: none;
	display: flex;
	gap: var(--sn-sp-4);
	margin: var(--sn-sp-4) 0 0;
	padding: 0;
	font-size: var(--sn-fs-sm);
}

.x2190e6fc {
	margin: 0 0 var(--sn-sp-8);
}

@media (min-width: 768px) {
	.x5969297b {
		flex-direction: row;
		padding: var(--sn-sp-8);
	}

	.xc6d2ec72 {
		width: 140px;
		height: 140px;
	}
}

/* ---------- Single post / page (T4) ---------- */

.x97c677fa,
.xd231fcb8 {
	padding-bottom: var(--sn-sp-16);
}

.x10999766 {
	margin: var(--sn-sp-6) 0 0;
	font-size: var(--sn-fs-xs);
	color: var(--sn-text-muted);
}

.x10999766 a {
	color: var(--sn-text-muted);
}

.x10999766 a:hover,
.x10999766 a:focus {
	color: var(--sn-acc-1);
}

.x6bfa3f97 {
	margin: 0 var(--sn-sp-2);
	font-family: var(--sn-font-accent);
	color: var(--sn-acc-4-fg);
}

.xa735d056,
.x5975fa70 {
	margin: var(--sn-sp-4) 0 var(--sn-sp-8);
}

.xa7177912 > :first-child {
	margin-top: 0;
}

/* ---------- Post cards (shared with archives, T6) ---------- */

.x5755a3ee {
	display: grid;
	gap: var(--sn-sp-8);
	margin-bottom: var(--sn-sp-12);
}

/* Each card frames itself in its own rotated neon (base.css) and is lit from
   inside. NOT notched: the thumbnail is bled to the card's top edge under
   `overflow: hidden`, and a clip-path would take a bite out of the picture
   rather than out of the frame. The bento offset at 768px carries the
   asymmetry instead. */
.x7ba597b3 {
	display: flex;
	flex-direction: column;
	background: var(--sn-pat-scanlines), var(--sn-surface);
	border: var(--sn-rule) solid var(--sn-acc);
	border-radius: var(--sn-radius);
	box-shadow:
		inset 0 0 30px color-mix(in srgb, var(--sn-acc) 9%, transparent),
		0 0 16px color-mix(in srgb, var(--sn-acc) 28%, transparent);
	overflow: hidden;
	transition: transform .3s ease-out, box-shadow .3s ease-out;
}

.x5755a3ee > .x7ba597b3:hover {
	transform: translateY(-5px);
	box-shadow:
		inset 0 0 30px color-mix(in srgb, var(--sn-acc) 14%, transparent),
		0 0 30px color-mix(in srgb, var(--sn-acc) 60%, transparent),
		0 0 70px color-mix(in srgb, var(--sn-acc) 28%, transparent);
	z-index: 2;
}

.x140469bf img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-bottom: var(--sn-rule) dashed var(--sn-acc);
}

.xe3f3af53 {
	padding: var(--sn-sp-6);
}

.x903f982a {
	margin: 0 0 var(--sn-sp-3);
	font-size: var(--sn-fs-lg);
	text-shadow: var(--sn-ts-1);
}

.x903f982a a {
	color: var(--sn-heading);
	text-decoration: none;
}

.x903f982a a:hover,
.x903f982a a:focus {
	color: var(--sn-acc-1);
	text-decoration: none;
}

.xcf02273d {
	margin: 0 0 var(--sn-sp-3);
}

.x2050bb80 {
	font-size: var(--sn-fs-sm);
}

.x2050bb80 > :last-child {
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.x5755a3ee {
		grid-template-columns: repeat(2, 1fr);
	}

	/* Broken grid: the right-hand column rides lower than the left. */
	.x5755a3ee > .x7ba597b3:nth-child(even) {
		margin-top: var(--sn-sp-8);
	}
}

@media (prefers-reduced-motion: reduce) {
	.x7ba597b3 {
		transition: none;
	}

	.x5755a3ee > .x7ba597b3:hover {
		transform: none;
	}
}

/* ---------- Archive / Search (T6) ---------- */

.x45c3d49b,
.xd0ab6e88 {
	padding-bottom: var(--sn-sp-16);
}

.xfd6c864e {
	margin: var(--sn-sp-12) 0;
}

.x7ba99e13 {
	margin: 0;
}

.x7ba99e13 span {
	color: var(--sn-acc-1);
}

.x8813517c {
	margin: var(--sn-sp-4) 0 0;
	max-width: 65ch;
	color: var(--sn-text-muted);
}

.xc29650af {
	margin-top: var(--sn-sp-6);
	max-width: 520px;
}

.x6debe3c0,
.xfc657992 {
	margin: var(--sn-sp-12) 0;
}

/* ---------- Search form (used by search + 404) ---------- */

.search-form {
	display: flex;
	gap: var(--sn-sp-3);
}

.search-form label {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}

.search-form .search-field {
	width: 100%;
	padding: var(--sn-sp-3) var(--sn-sp-6);
	background: var(--sn-surface-2);
	border: var(--sn-rule) solid var(--sn-acc-1);
	border-radius: var(--sn-radius-sm);
	color: var(--sn-heading);
	font-family: var(--sn-font-accent);
	font-size: var(--sn-fs-md);
	font-weight: 400;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.search-form .search-field::placeholder {
	color: var(--sn-text-muted);
	font-weight: 400;
}

.search-form .search-field:focus {
	border-color: var(--sn-acc-3);
	box-shadow: 0 0 20px color-mix(in srgb, var(--sn-acc-3) 55%, transparent);
}

/* An arcade key, in azure rather than the slime of a money CTA — a search
   button must not read as the page's conversion action. Ink on it measures
   6.59:1. Same press mechanics as .x5861cc7d: one solid underside, and the key
   travels exactly its depth. */
.search-form .search-submit {
	flex: 0 0 auto;
	padding: var(--sn-sp-3) var(--sn-sp-6);
	border: var(--sn-rule) solid var(--sn-heading);
	border-radius: var(--sn-radius-sm);
	background: var(--sn-acc-3);
	color: var(--sn-bg);
	font-family: var(--sn-font-display);
	font-weight: 600;
	cursor: pointer;
	box-shadow:
		0 var(--sn-arcade-drop) 0 color-mix(in srgb, var(--sn-acc-3) 38%, #000),
		0 var(--sn-arcade-drop) 18px color-mix(in srgb, var(--sn-acc-3) 35%, transparent);
	transition: box-shadow .2s ease, transform .1s ease;
}

.search-form .search-submit:hover,
.search-form .search-submit:focus {
	box-shadow:
		0 var(--sn-arcade-drop) 0 color-mix(in srgb, var(--sn-acc-3) 38%, #000),
		0 0 26px color-mix(in srgb, var(--sn-acc-3) 70%, transparent);
}

.search-form .search-submit:active {
	transform: translateY(var(--sn-arcade-drop));
	box-shadow: 0 0 18px color-mix(in srgb, var(--sn-acc-3) 50%, transparent);
}

/* ---------- Posts navigation (archive/search/author) ---------- */

.posts-navigation {
	margin-top: var(--sn-sp-12);
}

.posts-navigation .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--sn-sp-4);
}

.posts-navigation .nav-links a {
	display: inline-block;
	padding: var(--sn-sp-2) var(--sn-sp-6);
	background: transparent;
	border: var(--sn-rule) dashed var(--sn-acc-3);
	border-radius: var(--sn-radius-sm);
	color: var(--sn-heading);
	font-weight: 600;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, border-style .2s ease;
}

.posts-navigation .nav-links a:hover,
.posts-navigation .nav-links a:focus {
	border-style: solid;
	background: var(--sn-acc-3);
	color: var(--sn-bg);
	text-decoration: none;
	box-shadow: 0 0 22px color-mix(in srgb, var(--sn-acc-3) 55%, transparent);
}

/* ---------- 404 (T6) ---------- */

/* ::after on this element is the "888" background type (base.css). */
.x14529642 {
	position: relative;
	overflow: hidden;
	padding: var(--sn-sp-16) 0;
	text-align: center;
}

/* THE STROKE HEADLINE. The brief puts 30-40% of large headings in an
   outlined treatment, and this is the theme's clearest case for it: a purely
   numeric string (so the Thai tone-mark hazard in base.css's .x30b1d928 note
   cannot arise), at a size where an outline reads as deliberate, on the one
   page that has nothing else to look at. The glow does the weight the fill
   would have done. */
.x2e707983 {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: var(--sn-font-accent);
	font-size: clamp(5rem, 18vw, 11rem);
	font-weight: 700;
	line-height: 1;
	color: transparent;
	-webkit-text-stroke: 3px var(--sn-acc-1);
	paint-order: stroke fill;
	text-shadow: 0 0 .12em color-mix(in srgb, var(--sn-acc-1) 55%, transparent);
	animation: xe57130fb 3.5s steps(1) infinite;
}

@media (prefers-reduced-motion: reduce) {
	.x2e707983 {
		animation: none;
	}
}

.x3183cffe,
.x52a9b1f6,
.x7a7bb7b0,
.xc9c64518,
.x4e0d1233,
.x14529642 .x5755a3ee {
	position: relative;
	z-index: 1;
}

.x3183cffe {
	margin: var(--sn-sp-4) 0 0;
}

.x52a9b1f6 {
	margin: var(--sn-sp-4) auto var(--sn-sp-8);
	max-width: 52ch;
	color: var(--sn-text-muted);
}

.x7a7bb7b0 {
	margin: 0 0 var(--sn-sp-8);
}

.xc9c64518 {
	max-width: 480px;
	margin: 0 auto var(--sn-sp-16);
}

.x4e0d1233 {
	margin: 0 0 var(--sn-sp-8);
	text-align: left;
}

/* Card text stays left-aligned inside the centred 404 column. */
.x14529642 .x7ba597b3 {
	text-align: left;
}
