:root {
	--pc-cat-ink: #1a0f0e;
	--pc-cat-brown: #4f3428;
	--pc-cat-muted: #72584c;
	--pc-cat-orange: #f26522;
	--pc-cat-caramel: #a63b00;
	--pc-cat-border: rgba(166, 59, 0, 0.18);
	--pc-cat-shadow: 0 18px 45px rgba(62, 39, 35, 0.12);
}

.pc-category-archive {
	background:
		linear-gradient(180deg, #fff 0%, #fff9f2 330px, #fff 820px);
	padding: 30px 0 64px;
}

.pc-category-hero,
.pc-category-related,
.pc-category-posts {
	width: min(1180px, calc(100% - 32px));
	margin-inline: auto;
}

.pc-category-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 380px;
	align-items: stretch;
	gap: 26px;
	overflow: hidden;
	margin-bottom: 26px;
	padding: 30px;
	border: 1px solid var(--pc-cat-border);
	border-radius: 22px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 239, 0.9)),
		radial-gradient(circle at 92% 10%, rgba(242, 101, 34, 0.16), transparent 34%);
	box-shadow: var(--pc-cat-shadow);
}

.pc-category-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 260px;
}

.pc-category-kicker {
	display: inline-flex;
	margin-bottom: 9px;
	color: var(--pc-cat-orange);
	font-family: "Manrope", sans-serif;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.pc-category-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 10px;
	color: var(--pc-cat-muted);
	font-family: "Manrope", sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
}

.pc-category-breadcrumb a {
	color: var(--pc-cat-caramel);
	text-decoration: none;
	transition: color 0.2s ease;
}

.pc-category-breadcrumb a:hover,
.pc-category-breadcrumb a:focus-visible {
	color: var(--pc-cat-orange);
}

.pc-category-breadcrumb .separator,
.pc-category-breadcrumb .last,
.pc-category-breadcrumb__sep {
	color: rgba(114, 88, 76, 0.7);
}

.pc-category-hero h1,
.pc-category-related h2,
.pc-category-posts__head h2 {
	margin: 0;
	color: var(--pc-cat-ink);
	font-family: "Manrope", sans-serif;
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: 0;
}

.pc-category-hero h1 {
	font-size: 42px;
}

.pc-category-hero p {
	max-width: 680px;
	margin: 12px 0 0;
	color: var(--pc-cat-muted);
	font-family: "Manrope", sans-serif;
	font-size: 16px;
	line-height: 1.72;
}

.pc-category-hero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 22px;
}

.pc-category-hero__meta span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	padding: 8px 12px;
	border: 1px solid rgba(166, 59, 0, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.84);
	color: var(--pc-cat-muted);
	font-family: "Manrope", sans-serif;
	font-size: 13px;
	font-weight: 800;
}

.pc-category-hero__meta strong {
	color: var(--pc-cat-caramel);
	font-size: 15px;
	line-height: 1;
}

.pc-category-hero__media {
	position: relative;
	min-height: 260px;
	overflow: hidden;
	border-radius: 18px;
	background: var(--pc-cat-brown);
	box-shadow: 0 14px 34px rgba(62, 39, 35, 0.12);
}

.pc-category-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, transparent 40%, rgba(26, 15, 14, 0.32)),
		linear-gradient(90deg, rgba(166, 59, 0, 0.12), transparent 55%);
}

.pc-category-hero__media img,
.pc-category-hero__fallback {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 260px;
	object-fit: cover;
}

.pc-category-hero__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #5a392b, #a63b00 54%, #f26522);
}

.pc-category-hero__fallback .material-symbols-outlined {
	color: rgba(255, 255, 255, 0.24);
	font-size: 92px;
}

.pc-category-related {
	display: grid;
	grid-template-columns: minmax(220px, 290px) 1fr;
	gap: 22px;
	margin-bottom: 34px;
	padding: 22px;
	border: 1px solid var(--pc-cat-border);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 12px 30px rgba(62, 39, 35, 0.08);
}

.pc-category-related h2,
.pc-category-posts__head h2 {
	font-size: 30px;
}

.pc-category-related__list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.pc-category-related__list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 8px 13px;
	border: 1px solid rgba(166, 59, 0, 0.18);
	border-radius: 999px;
	background: #fff8f0;
	color: var(--pc-cat-brown);
	font-family: "Manrope", sans-serif;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pc-category-related__list a:hover,
.pc-category-related__list a:focus-visible {
	background: var(--pc-cat-orange);
	color: #fff;
	transform: translateY(-2px);
}

.pc-category-related__list span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: rgba(166, 59, 0, 0.1);
	color: var(--pc-cat-caramel);
	font-size: 12px;
}

.pc-category-posts__head {
	margin-bottom: 18px;
}

.pc-category-posts .posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 34px;
}

.pc-category-posts .post-card {
	height: 100%;
	border: 1px solid rgba(166, 59, 0, 0.16) !important;
	border-radius: 12px !important;
	background: #fff !important;
	box-shadow: 0 14px 32px rgba(62, 39, 35, 0.1) !important;
	cursor: default !important;
}

.pc-category-posts .post-card:hover {
	box-shadow: 0 18px 42px rgba(62, 39, 35, 0.14) !important;
	transform: translateY(-4px);
}

.pc-category-posts .post-card__image {
	aspect-ratio: 16 / 9 !important;
}

.pc-category-posts .post-card__content {
	padding: 15px 16px 18px !important;
}

.pc-category-posts .post-card__meta {
	margin-bottom: 9px !important;
	color: var(--pc-cat-muted) !important;
	font-family: "Manrope", sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
}

.pc-category-posts .post-card__title {
	margin-bottom: 8px !important;
	color: var(--pc-cat-ink) !important;
	font-family: "Manrope", sans-serif !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
}

.pc-category-posts .post-card__excerpt {
	color: var(--pc-cat-muted) !important;
	font-family: "Manrope", sans-serif !important;
	font-size: 14px !important;
	font-style: italic;
	line-height: 1.65 !important;
}

.pc-category-posts .post-card__footer {
	color: var(--pc-cat-caramel) !important;
	font-family: "Manrope", sans-serif !important;
	font-weight: 800 !important;
}

.pagination-wrapper {
	--pc-page-size: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 34px;
}

.pagination-wrapper a,
.pagination-wrapper span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--pc-page-size);
	min-width: var(--pc-page-size);
	height: var(--pc-page-size);
	border: 1px solid rgba(166, 59, 0, 0.16);
	border-radius: 999px;
	background: #fff;
	color: var(--pc-cat-brown);
	font-family: "Manrope", sans-serif;
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pagination-wrapper a:hover,
.pagination-wrapper a:focus-visible,
.pagination-wrapper .current {
	background: var(--pc-cat-orange);
	border-color: var(--pc-cat-orange);
	color: #fff;
	transform: translateY(-2px);
}

.pagination-wrapper .dots {
	width: auto;
	min-width: 24px;
	border: 0;
	background: transparent;
}

.pagination-wrapper .pc-pagination-arrow {
	width: auto;
	min-width: 0;
	height: auto;
	border: 0;
	background: transparent;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 26px;
	line-height: 1;
}

@media (max-width: 1024px) {
	.pc-category-hero {
		grid-template-columns: 1fr;
	}

	.pc-category-related {
		grid-template-columns: 1fr;
	}

	.pc-category-posts .posts-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.pc-category-archive {
		padding-top: 20px;
	}

	.pc-category-hero,
	.pc-category-related,
	.pc-category-posts {
		width: min(100% - 24px, 1180px);
	}

	.pc-category-hero {
		padding: 22px;
	}

	.pc-category-hero__media {
		display: none;
	}

	.pc-category-hero__copy,
	.pc-category-hero__media,
	.pc-category-hero__media img,
	.pc-category-hero__fallback {
		min-height: auto;
	}

	.pc-category-hero__media {
		aspect-ratio: 16 / 10;
	}

	.pc-category-hero h1 {
		font-size: 32px;
	}

	.pc-category-hero p {
		font-size: 15px;
	}

	.pc-category-related h2,
	.pc-category-posts__head h2 {
		font-size: 26px;
	}

	.pc-category-posts .posts-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}
}
