.menu-toggle {
	display: none;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0.65rem;
	border: 1px solid var(--np-line);
	border-radius: 50%;
	background: var(--np-surface);
	color: var(--np-ink);
}

.menu-toggle__line {
	display: block;
	width: 100%;
	height: 2px;
	margin: 0.25rem 0;
	background: currentColor;
}

.icon-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.45rem;
	height: 2.45rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: rgba(12, 14, 19, 0.3);
	color: #fff;
	font-size: 1.1rem;
	line-height: 1;
}

.icon-button:hover,
.icon-button:focus-visible {
	border-color: #fff;
	background: #fff;
	color: var(--np-ink);
}

.hero-dot {
	width: 0.48rem;
	height: 0.48rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
}

.hero-dot.is-active {
	background: #fff;
	transform: scale(1.35);
}

.post-card {
	overflow: hidden;
	border: 1px solid var(--np-line);
	border-radius: var(--np-radius);
	background: var(--np-surface);
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.post-card:hover,
.post-card:focus-within {
	border-color: rgba(214, 37, 37, 0.3);
	box-shadow: var(--np-shadow);
	transform: translateY(-3px);
}

.post-card__image-link {
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: #d9dde3;
}

.post-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 420ms ease;
}

.post-card:hover .post-card__image,
.post-card:focus-within .post-card__image {
	transform: scale(1.04);
}

.post-card__body {
	display: flex;
	flex-direction: column;
	min-height: 14rem;
	padding: 1.25rem;
}

.post-card__title {
	margin: 0.8rem 0 0;
	font-family: var(--np-serif);
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	letter-spacing: -0.04em;
	line-height: 1.08;
}

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

.post-card__excerpt {
	margin: 0.7rem 0 1.2rem;
	color: var(--np-muted);
	font-size: 0.9rem;
	line-height: 1.45;
}

.post-card__footer {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: auto;
	color: var(--np-muted);
	font-size: 0.75rem;
	font-weight: 700;
}

.ad-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 5rem;
	margin: 0 auto 2rem;
	overflow: hidden;
	background: rgba(225, 229, 234, 0.45);
	color: var(--np-muted);
	text-align: center;
}

.ad-slot__label {
	display: block;
	margin-right: 0.6rem;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ad-slot__content {
	min-width: 0;
}

.ad-slot--header {
	width: min(100%, 728px);
	min-height: 3.2rem;
	margin: 0;
	background: transparent;
}

.ad-slot--grid {
	grid-column: 1 / -1;
	min-height: 7rem;
}

.ad-slot--sidebar {
	min-height: 14rem;
}

.ad-slot--footer {
	min-height: 6rem;
	margin: 0;
	background: rgba(255, 255, 255, 0.06);
}

.widget {
	margin-bottom: 2rem;
}

.widget-title {
	margin: 0 0 1rem;
	font-size: 0.75rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

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

.widget li + li {
	margin-top: 0.55rem;
}

.widget a {
	font-weight: 700;
	text-decoration: none;
}

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

.trending-list li {
	border-top: 1px solid var(--np-line);
}

.trending-list li:last-child {
	border-bottom: 1px solid var(--np-line);
}

.trending-list a {
	display: grid;
	grid-template-columns: 2.5rem 1fr;
	align-items: start;
	gap: 0.7rem;
	padding: 0.9rem 0;
}

.trending-list__rank {
	color: var(--np-accent);
	font-family: var(--np-serif);
	font-size: 1.35rem;
	font-weight: 800;
}

.trending-list strong {
	display: block;
	font-family: var(--np-serif);
	font-size: 1rem;
	line-height: 1.15;
}

.trending-list small {
	display: block;
	margin-top: 0.35rem;
	color: var(--np-muted);
	font-size: 0.72rem;
	font-weight: 500;
}

.single-post__header {
	max-width: 820px;
	margin-bottom: 2rem;
}

.single-post__header h1 {
	margin: 0.9rem 0 1.2rem;
	font-family: var(--np-serif);
	font-size: clamp(2.5rem, 6vw, 5rem);
	letter-spacing: -0.065em;
	line-height: 0.98;
}

.single-post__byline {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	color: var(--np-muted);
	font-size: 0.85rem;
	font-weight: 700;
}

.avatar {
	border-radius: 50%;
}

.single-post__image {
	margin: 0 0 2.5rem;
}

.single-post__image img {
	width: 100%;
	border-radius: var(--np-radius);
}

.single-post__image figcaption {
	margin-top: 0.55rem;
	color: var(--np-muted);
	font-size: 0.75rem;
}

.entry-content {
	max-width: 760px;
	font-family: var(--np-serif);
	font-size: 1.12rem;
	line-height: 1.75;
}

.entry-content p:first-child {
	font-size: 1.25rem;
	line-height: 1.6;
}

.single-post__footer {
	max-width: 760px;
	margin-top: 2rem;
	border-top: 1px solid var(--np-line);
	padding-top: 1rem;
}

.tag-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	color: var(--np-muted);
	font-family: var(--np-sans);
	font-size: 0.8rem;
}

.tag-list a {
	color: var(--np-accent-dark);
	font-weight: 750;
}

.comments-area {
	max-width: 760px;
	margin-top: 3.5rem;
	border-top: 1px solid var(--np-line);
	padding-top: 2rem;
}

.comments-title {
	font-family: var(--np-serif);
}

.comment-list {
	padding-left: 1.25rem;
}

.comment-list article {
	margin: 1.25rem 0;
}

.comment-form input,
.comment-form textarea,
.search-form input {
	width: 100%;
	border: 1px solid var(--np-line);
	border-radius: 6px;
	background: var(--np-surface);
	padding: 0.75rem;
}

.comment-form input:focus,
.comment-form textarea:focus,
.search-form input:focus {
	border-color: var(--np-accent);
	outline: 3px solid rgba(214, 37, 37, 0.16);
}

.search-form {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 1.5rem 0;
}

.search-form label {
	flex: 1;
}

.search-form .search-submit {
	flex: 0 0 auto;
	width: auto;
	border: 0;
}

.empty-state,
.not-found {
	border: 1px solid var(--np-line);
	border-radius: var(--np-radius);
	background: var(--np-surface);
	padding: clamp(2rem, 7vw, 5rem);
	text-align: center;
}

.empty-state h2,
.not-found h1 {
	margin: 0;
	font-family: var(--np-serif);
	font-size: clamp(2rem, 5vw, 4.5rem);
	letter-spacing: -0.06em;
	line-height: 1;
}

.empty-state p:not(.eyebrow),
.not-found p:not(.eyebrow) {
	max-width: 32rem;
	margin: 1rem auto;
	color: var(--np-muted);
}

.not-found .button {
	margin-top: 0.5rem;
}

@media (max-width: 640px) {
	.menu-toggle {
		display: block;
	}

	.site-header__actions .ad-slot--header {
		display: none;
	}

	.ad-slot {
		margin-bottom: 1.5rem;
	}
}