.brandonic-blog-page {
	--blog-black: #050607;
	--blog-ink: #101114;
	--blog-soft: #f5f5f1;
	--blog-white: #ffffff;
	--blog-muted: rgba(255, 255, 255, 0.62);
	--blog-line: rgba(255, 255, 255, 0.12);
	--blog-line-dark: rgba(16, 17, 20, 0.12);
	--blog-accent: #c8ff00;
	background: var(--blog-black);
	color: var(--blog-white);
	overflow: clip;
}

.brandonic-blog-page :where(.blog-hero h1, .single-hero h1, .related-posts h2, .blog-card--dark h3, .blog-card--dark .blog-card__read) {
	color: var(--blog-white) !important;
	-webkit-text-fill-color: var(--blog-white) !important;
}

.brandonic-blog-page :where(.blog-index h2, .blog-card h3, .blog-card__read, .blog-empty h2, .single-content h2, .single-content h3, .single-content h4) {
	color: var(--blog-ink) !important;
	-webkit-text-fill-color: var(--blog-ink) !important;
}

.brandonic-blog-page :where(a, a:hover, a:focus-visible) {
	-webkit-text-fill-color: currentColor;
}

.blog-container {
	margin-inline: auto;
	width: min(1160px, calc(100vw - 40px));
}

.blog-hero {
	isolation: isolate;
	min-height: clamp(500px, 64vh, 650px);
	overflow: hidden;
	padding: clamp(140px, 14vw, 178px) 0 clamp(70px, 8vw, 104px);
	position: relative;
}

.blog-hero::before {
	background:
		radial-gradient(circle at 18% 24%, rgba(200, 255, 0, 0.16), transparent 30%),
		radial-gradient(circle at 78% 16%, rgba(255, 255, 255, 0.08), transparent 24%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 58%);
	content: "";
	inset: 0;
	position: absolute;
	z-index: -2;
}

.blog-hero__grid {
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 86px 86px;
	inset: 0;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.86), transparent 92%);
	position: absolute;
	z-index: -1;
}

.blog-hero__inner {
	position: relative;
	z-index: 2;
}

.blog-eyebrow {
	align-items: center;
	color: rgba(255, 255, 255, 0.55);
	display: inline-flex;
	font-family: var(--font-display);
	font-size: clamp(0.72rem, 0.82vw, 0.82rem);
	font-weight: 600;
	gap: 14px;
	letter-spacing: 0.18em;
	line-height: 1;
	margin: 0 0 24px;
	text-transform: uppercase;
}

.blog-eyebrow span {
	background: var(--blog-accent);
	border-radius: 50%;
	box-shadow: 0 0 28px rgba(200, 255, 0, 0.42);
	display: inline-block;
	height: 10px;
	width: 10px;
}

.blog-hero h1 {
	color: var(--blog-white);
	font-family: var(--font-display);
	font-size: clamp(3.8rem, 8vw, 6.8rem);
	font-weight: 600;
	letter-spacing: -0.026em;
	line-height: 0.96;
	margin: 0;
	max-width: 780px;
	text-transform: none;
}

.blog-hero p:not(.blog-eyebrow) {
	color: rgba(255, 255, 255, 0.56);
	font-size: clamp(1.04rem, 1.45vw, 1.34rem);
	font-weight: 400;
	line-height: 1.55;
	margin: clamp(28px, 4vw, 46px) 0 0;
	max-width: 680px;
}

.blog-index {
	background:
		radial-gradient(circle at 88% 12%, rgba(200, 255, 0, 0.18), transparent 26%),
		var(--blog-soft);
	color: var(--blog-ink);
	padding: clamp(78px, 9vw, 118px) 0;
}

.blog-index .blog-eyebrow {
	color: rgba(16, 17, 20, 0.52);
}

.blog-index__heading {
	align-items: start;
	border-bottom: 1px solid var(--blog-line-dark);
	display: grid;
	gap: clamp(14px, 2vw, 22px);
	justify-content: stretch;
	margin-bottom: clamp(34px, 5vw, 56px);
	padding-bottom: clamp(28px, 4vw, 44px);
}

.blog-index__title {
	min-width: 0;
}

.blog-index__heading h2,
.related-posts h2,
.blog-empty h2 {
	color: inherit;
	font-family: var(--font-display);
	font-size: clamp(2.05rem, 4vw, 4.05rem);
	font-weight: 550;
	letter-spacing: -0.024em;
	line-height: 1.03;
	margin: 0;
	max-width: none;
}

.blog-index__heading h2 {
	white-space: nowrap;
}

.blog-index__title p {
	color: rgba(16, 17, 20, 0.58);
	font-size: clamp(1rem, 1.35vw, 1.22rem);
	font-weight: 400;
	line-height: 1.55;
	margin: clamp(16px, 2vw, 24px) 0 0;
	max-width: 760px;
}

.blog-card-grid {
	display: grid;
	gap: clamp(18px, 2vw, 26px);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
	min-width: 0;
}

.blog-card__link {
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid rgba(16, 17, 20, 0.1);
	border-radius: 10px;
	box-shadow: 0 20px 60px rgba(16, 17, 20, 0.04);
	color: var(--blog-ink);
	display: grid;
	height: 100%;
	overflow: hidden;
	padding: 12px;
	position: relative;
	transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.blog-card__link:hover {
	border-color: rgba(200, 255, 0, 0.9);
	box-shadow: 0 26px 70px rgba(16, 17, 20, 0.12);
	transform: translateY(-6px);
}

.blog-card__link:focus-visible,
.single-back:focus-visible,
.blog-pagination a:focus-visible {
	outline: 2px solid var(--blog-accent);
	outline-offset: 5px;
}

.blog-card__media {
	aspect-ratio: 1200 / 630;
	background:
		linear-gradient(135deg, rgba(200, 255, 0, 0.65), transparent 42%),
		linear-gradient(45deg, rgba(16, 17, 20, 0.82), transparent 58%),
		#111317;
	border-radius: 7px;
	display: block;
	margin-bottom: 22px;
	overflow: hidden;
}

.blog-card__media img,
.blog-card__placeholder {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.blog-card__body {
	display: flex;
	flex-direction: column;
	min-height: 230px;
	padding: 0 8px 10px;
}

.blog-card__meta {
	align-items: center;
	color: rgba(16, 17, 20, 0.52);
	display: flex;
	font-family: var(--font-ui);
	font-size: 0.74rem;
	font-weight: 600;
	gap: 12px;
	justify-content: space-between;
	letter-spacing: 0.07em;
	margin-bottom: 16px;
	text-transform: uppercase;
}

.blog-card h3 {
	color: var(--blog-ink);
	font-family: var(--font-display);
	font-size: clamp(1.28rem, 1.72vw, 1.62rem);
	font-weight: 600;
	letter-spacing: -0.012em;
	line-height: 1.16;
	margin: 0 0 16px;
}

.blog-card__excerpt {
	color: rgba(16, 17, 20, 0.62);
	display: block;
	font-size: 0.96rem;
	line-height: 1.58;
}

.blog-card__read {
	align-items: center;
	color: var(--blog-ink);
	display: inline-flex;
	font-size: 0.76rem;
	font-weight: 650;
	gap: 10px;
	letter-spacing: 0.12em;
	margin-top: auto;
	padding-top: 28px;
	text-transform: uppercase;
}

.blog-card__read::after {
	content: "→";
	color: var(--blog-accent);
	font-size: 1.2em;
	transition: transform 180ms ease;
}

.blog-card__link:hover .blog-card__read::after {
	transform: translateX(4px);
}

.blog-pagination {
	margin-top: clamp(42px, 6vw, 72px);
}

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

.blog-pagination .page-numbers {
	align-items: center;
	background: rgba(16, 17, 20, 0.06);
	border: 1px solid rgba(16, 17, 20, 0.12);
	border-radius: 999px;
	color: var(--blog-ink);
	display: inline-flex;
	font-size: 0.92rem;
	font-weight: 600;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: 0 16px;
}

.blog-pagination .page-numbers.current {
	background: var(--blog-ink);
	border-color: var(--blog-ink);
	color: var(--blog-white);
}

.blog-empty {
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(16, 17, 20, 0.1);
	border-radius: 12px;
	margin-inline: auto;
	max-width: 820px;
	padding: clamp(34px, 6vw, 70px);
	text-align: center;
}

.blog-empty p:not(.blog-eyebrow) {
	color: rgba(16, 17, 20, 0.62);
	font-size: 1.08rem;
	margin: 20px auto 0;
	max-width: 540px;
}

.single-hero {
	min-height: auto;
	padding: clamp(140px, 13vw, 184px) 0 clamp(58px, 7vw, 86px);
	position: relative;
}

.single-back {
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.72);
	display: inline-flex;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	margin-bottom: clamp(34px, 5vw, 58px);
	padding: 12px 18px;
	text-transform: uppercase;
	transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.single-back:hover {
	background: var(--blog-accent);
	color: var(--blog-black);
	transform: translateY(-2px);
}

.single-hero h1 {
	color: var(--blog-white) !important;
	-webkit-text-fill-color: var(--blog-white) !important;
	font-size: clamp(2.8rem, 5.8vw, 5.4rem);
	font-weight: 600;
	letter-spacing: -0.026em;
	line-height: 1.02;
	max-width: 900px;
}

.single-hero__meta {
	align-items: center;
	color: rgba(255, 255, 255, 0.58);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9rem;
	font-weight: 600;
	gap: 12px;
	letter-spacing: 0.1em;
	margin-top: clamp(28px, 4vw, 46px);
	text-transform: uppercase;
}

.single-featured-image {
	background: var(--blog-black);
	margin: 0;
	padding: 0 min(40px, 4vw) clamp(54px, 7vw, 88px);
}

.single-featured-image img {
	aspect-ratio: 16 / 8.4;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	margin-inline: auto;
	max-width: 1120px;
	object-fit: cover;
	width: 100%;
}

.single-content-wrap {
	padding: clamp(70px, 9vw, 120px) 0;
}

.single-content {
	color: var(--blog-ink);
	font-size: clamp(1rem, 1.1vw, 1.12rem);
	line-height: 1.78;
	max-width: 820px;
}

.single-content > * {
	margin-bottom: 1.4em;
	margin-top: 0;
}

.single-content h2,
.single-content h3,
.single-content h4 {
	color: var(--blog-ink);
	font-family: var(--font-display);
	font-weight: 600;
	letter-spacing: -0.024em;
	line-height: 1.04;
	margin-top: 1.8em;
}

.single-content h2 {
	font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.single-content h3 {
	font-size: clamp(1.55rem, 2.4vw, 2.35rem);
}

.single-content a {
	border-bottom: 1px solid rgba(16, 17, 20, 0.28);
	font-weight: 650;
}

.single-content a:hover,
.single-content a:focus-visible {
	border-color: var(--blog-accent);
	color: #5a7400;
}

.single-content :where(ul, ol) {
	padding-left: 1.35em;
}

.single-content blockquote {
	border-left: 4px solid var(--blog-accent);
	color: rgba(16, 17, 20, 0.72);
	font-size: 1.2em;
	margin-left: 0;
	padding-left: 1.2em;
}

.single-page-links {
	display: flex;
	gap: 10px;
	margin-top: 36px;
}

.related-posts {
	background: var(--blog-black);
	color: var(--blog-white);
	padding: clamp(78px, 10vw, 128px) 0;
}

.related-posts .blog-index__heading {
	border-bottom-color: var(--blog-line);
}

.blog-card--dark .blog-card__link {
	background: rgba(255, 255, 255, 0.055);
	border-color: rgba(255, 255, 255, 0.12);
	color: var(--blog-white);
}

.blog-card--dark .blog-card__meta,
.blog-card--dark .blog-card__excerpt {
	color: rgba(255, 255, 255, 0.58);
}

.blog-card--dark h3,
.blog-card--dark .blog-card__read {
	color: var(--blog-white);
}

@media (prefers-reduced-motion: reduce) {
	.blog-card__link,
	.single-back,
	.blog-card__read::after {
		transition: none;
	}

	.blog-card__link:hover,
	.single-back:hover {
		transform: none;
	}
}

@media (max-width: 1024px) {
	.blog-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.blog-hero {
		min-height: clamp(460px, 58vh, 600px);
	}
}

@media (max-width: 720px) {
	.blog-container {
		width: calc(100vw - 28px);
	}

	.blog-hero,
	.single-hero {
		padding-top: 124px;
	}

	.blog-hero h1 {
		font-size: clamp(2.75rem, 11vw, 4rem);
		font-weight: 600;
		letter-spacing: -0.03em;
		line-height: 1;
	}

	.single-hero h1 {
		color: var(--blog-white) !important;
		-webkit-text-fill-color: var(--blog-white) !important;
		font-size: clamp(2.2rem, 9.2vw, 3.2rem);
		font-weight: 600;
		line-height: 1.06;
	}

	.blog-hero p:not(.blog-eyebrow) {
		font-size: 1rem;
		line-height: 1.58;
	}

	.blog-index__heading {
		align-items: start;
		display: grid;
	}

	.blog-index__heading h2,
	.related-posts h2,
	.blog-empty h2 {
		font-size: clamp(1.85rem, 7.8vw, 2.8rem);
		font-weight: 600;
		line-height: 1.06;
	}

	.blog-index__heading h2 {
		white-space: normal;
	}

	.blog-index__title p {
		font-size: 0.98rem;
		line-height: 1.55;
	}

	.blog-card-grid {
		grid-template-columns: 1fr;
	}

	.blog-card__body {
		min-height: auto;
	}

	.blog-card__meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.blog-card h3 {
		font-size: clamp(1.35rem, 6.4vw, 1.9rem);
		font-weight: 600;
		line-height: 1.14;
	}

	.blog-card__excerpt {
		font-size: 0.95rem;
	}

	.single-featured-image {
		padding-inline: 14px;
	}

	.single-featured-image img {
		aspect-ratio: 1.25;
	}
}
