.hestia-category-showcase {
	--category-bg: #f6f9ff;
	--category-panel: rgba(255, 255, 255, 0.92);
	--category-border: rgba(74, 120, 255, 0.14);
	--category-shadow: 0 18px 50px rgba(37, 66, 145, 0.12);
	--category-text: #14213d;
	--category-muted: #667085;
	--category-primary: #2f6bff;
	--category-primary-soft: rgba(47, 107, 255, 0.12);
	--category-highlight: #f97316;
	background:
		radial-gradient(circle at top left, rgba(47, 107, 255, 0.08), transparent 35%),
		radial-gradient(circle at top right, rgba(111, 168, 255, 0.12), transparent 28%),
		linear-gradient(180deg, #f9fbff 0%, #f3f7ff 100%);
	padding: 48px 0 72px;
}

.hestia-category-showcase .container {
	max-width: 1320px;
}

.hestia-category-showcase__hero,
.hestia-category-showcase__feature,
.hestia-category-showcase__post-card,
.hestia-category-showcase__quick-card {
	background: var(--category-panel);
	border: 1px solid var(--category-border);
	box-shadow: var(--category-shadow);
}

.hestia-category-showcase__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
	gap: 32px;
	border-radius: 28px;
	padding: 40px;
	position: relative;
	overflow: hidden;
}

.hestia-category-showcase__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(135deg, rgba(47, 107, 255, 0.08), transparent 34%),
		linear-gradient(320deg, rgba(126, 167, 255, 0.12), transparent 42%);
	pointer-events: none;
}

.hestia-category-showcase__hero-copy,
.hestia-category-showcase__hero-media,
.hestia-category-showcase__feature-media,
.hestia-category-showcase__feature-content {
	position: relative;
	z-index: 1;
}

.hestia-category-showcase__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--category-primary-soft);
	color: var(--category-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hestia-category-showcase__title,
.hestia-category-showcase__section-title,
.hestia-category-showcase__feature-title,
.hestia-category-showcase__post-title {
	margin: 0;
	color: var(--category-text);
}

.hestia-category-showcase__title {
	margin-top: 20px;
	font-size: clamp(34px, 5vw, 60px);
	line-height: 1.05;
	font-weight: 800;
}

.hestia-category-showcase__summary {
	max-width: 760px;
	margin: 18px 0 0;
	font-size: 16px;
	line-height: 1.85;
	color: var(--category-muted);
}

.hestia-category-showcase__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

.hestia-category-showcase__chip {
	display: inline-flex;
	align-items: center;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(47, 107, 255, 0.14);
	color: var(--category-text);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
}

.hestia-category-showcase__chip:hover,
.hestia-category-showcase__feature-title a:hover,
.hestia-category-showcase__post-title a:hover {
	color: var(--category-primary);
}

.hestia-category-showcase__stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 28px;
}

.hestia-category-showcase__stat {
	padding: 18px 20px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(47, 107, 255, 0.1);
}

.hestia-category-showcase__stat-value {
	display: block;
	font-size: 28px;
	line-height: 1.1;
	font-weight: 800;
	color: var(--category-text);
}

.hestia-category-showcase__stat-label {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	color: var(--category-muted);
}

.hestia-category-showcase__hero-media,
.hestia-category-showcase__feature-media,
.hestia-category-showcase__post-media {
	min-height: 100%;
}

.hestia-category-showcase__hero-thumb__image,
.hestia-category-showcase__feature-thumb__image,
.hestia-category-showcase__post-thumb__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 24px;
}

.hestia-category-showcase__hero-thumb__placeholder,
.hestia-category-showcase__feature-thumb__placeholder,
.hestia-category-showcase__post-thumb__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 220px;
	border-radius: 24px;
	background:
		linear-gradient(135deg, rgba(47, 107, 255, 0.14), rgba(47, 107, 255, 0.04)),
		repeating-linear-gradient(135deg, rgba(47, 107, 255, 0.06) 0, rgba(47, 107, 255, 0.06) 20px, transparent 20px, transparent 40px);
	border: 1px solid rgba(47, 107, 255, 0.14);
}

.hestia-category-showcase__hero-thumb__placeholder span,
.hestia-category-showcase__feature-thumb__placeholder span,
.hestia-category-showcase__post-thumb__placeholder span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 92px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.84);
	color: var(--category-primary);
	font-size: 28px;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.hestia-category-showcase__quick-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-top: 26px;
}

.hestia-category-showcase__quick-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	border-radius: 22px;
	padding: 22px;
	text-decoration: none;
	color: var(--category-text);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.hestia-category-showcase__quick-card:hover,
.hestia-category-showcase__post-card:hover,
.hestia-category-showcase__feature:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 60px rgba(37, 66, 145, 0.18);
}

.hestia-category-showcase__quick-card.is-blue {
	border-color: rgba(47, 107, 255, 0.2);
}

.hestia-category-showcase__quick-card.is-orange {
	border-color: rgba(249, 115, 22, 0.2);
}

.hestia-category-showcase__quick-card.is-green {
	border-color: rgba(22, 163, 74, 0.2);
}

.hestia-category-showcase__quick-card.is-violet {
	border-color: rgba(124, 58, 237, 0.2);
}

.hestia-category-showcase__quick-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--category-primary);
}

.hestia-category-showcase__quick-title {
	font-size: 22px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--category-text);
}

.hestia-category-showcase__quick-excerpt,
.hestia-category-showcase__section-note,
.hestia-category-showcase__feature-excerpt,
.hestia-category-showcase__post-excerpt,
.hestia-category-showcase__empty p {
	color: var(--category-muted);
}

.hestia-category-showcase__quick-meta,
.hestia-category-showcase__quick-excerpt,
.hestia-category-showcase__post-excerpt {
	font-size: 14px;
	line-height: 1.8;
}

.hestia-category-showcase__quick-meta {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-weight: 500;
}

.hestia-category-showcase__feature {
	display: grid;
	grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
	gap: 28px;
	margin-top: 26px;
	padding: 28px;
	border-radius: 28px;
}

.hestia-category-showcase__feature-tags,
.hestia-category-showcase__post-categories,
.hestia-category-showcase__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
}

.hestia-category-showcase__tag,
.hestia-category-showcase__post-categories a {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: var(--category-primary-soft);
	color: var(--category-primary);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.hestia-category-showcase__tag.is-light {
	background: rgba(20, 33, 61, 0.06);
	color: var(--category-text);
}

.hestia-category-showcase__feature-title {
	margin-top: 18px;
	font-size: clamp(28px, 3vw, 42px);
	line-height: 1.15;
	font-weight: 800;
}

.hestia-category-showcase__feature-title a,
.hestia-category-showcase__post-title a {
	color: inherit;
	text-decoration: none;
}

.hestia-category-showcase__feature-excerpt {
	margin: 18px 0 0;
	font-size: 15px;
	line-height: 1.9;
}

.hestia-category-showcase__meta {
	margin-top: 18px;
	font-size: 13px;
	color: var(--category-muted);
}

.hestia-category-showcase__button,
.hestia-category-showcase__pager-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 168px;
	padding: 14px 24px;
	border-radius: 14px;
	border: 1px solid transparent;
	background: linear-gradient(135deg, #2f6bff, #1758f6);
	box-shadow: 0 14px 30px rgba(47, 107, 255, 0.18);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.hestia-category-showcase__button {
	margin-top: 24px;
}

.hestia-category-showcase__button:hover,
.hestia-category-showcase__pager-link:hover {
	color: #fff;
	transform: translateY(-2px);
}

.hestia-category-showcase__listing {
	margin-top: 34px;
}

.hestia-category-showcase__section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 20px;
}

.hestia-category-showcase__section-title {
	margin-top: 0;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.15;
	font-weight: 800;
}

.hestia-category-showcase__section-note {
	margin: 0;
	font-size: 14px;
	text-align: right;
}

.hestia-category-showcase__posts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.hestia-category-showcase__post-card {
	display: flex;
	flex-direction: column;
	gap: 0;
	height: 100%;
	padding: 0;
	border-radius: 22px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid rgba(47, 107, 255, 0.12);
	box-shadow: 0 18px 42px rgba(37, 66, 145, 0.1);
}

.hestia-category-showcase__post-media {
	display: block;
	flex: 0 0 188px;
	height: 188px;
	min-height: 0;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(233, 241, 255, 0.9), rgba(244, 248, 255, 0.98));
}

.hestia-category-showcase__post-thumb__image,
.hestia-category-showcase__post-thumb__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
}

.hestia-category-showcase__post-thumb__placeholder {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	min-height: 0;
	background:
		radial-gradient(circle at 24% 18%, rgba(47, 107, 255, 0.16), transparent 22%),
		linear-gradient(145deg, #edf4ff 0%, #dfeafe 54%, #f7faff 100%);
	border: 1px solid rgba(47, 107, 255, 0.1);
}

.hestia-category-showcase__post-thumb__placeholder::before {
	content: "";
	position: absolute;
	inset: auto 22px 22px auto;
	width: 62px;
	height: 62px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 12px 24px rgba(47, 107, 255, 0.1);
}

.hestia-category-showcase__post-thumb__placeholder::after {
	content: "";
	position: absolute;
	left: 22px;
	right: 22px;
	bottom: 22px;
	height: 42px;
	border-radius: 14px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.76)),
		repeating-linear-gradient(180deg, rgba(47, 107, 255, 0.12) 0, rgba(47, 107, 255, 0.12) 8px, transparent 8px, transparent 18px);
}

.hestia-category-showcase__post-thumb__placeholder span {
	position: relative;
	z-index: 1;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 10px 20px rgba(47, 107, 255, 0.1);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.hestia-category-showcase__post-content {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 16px 18px 18px;
	min-height: 176px;
	background: rgba(255, 255, 255, 0.98);
}

.hestia-category-showcase__post-title {
	margin-top: 10px;
	font-size: 19px;
	line-height: 1.3;
	font-weight: 800;
}

.hestia-category-showcase__post-excerpt {
	margin: 10px 0 0;
	display: -webkit-box;
	overflow: hidden;
	color: var(--category-muted);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.hestia-category-showcase__post-categories a {
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: #5b8cff;
	font-size: 12px;
	font-weight: 700;
}

.hestia-category-showcase__post-categories a:hover {
	color: #2f6bff;
}

.hestia-category-showcase__post-card .hestia-category-showcase__meta {
	margin-top: auto;
	padding-top: 14px;
	gap: 14px;
	font-size: 12px;
	color: #8a94a6;
}

.hestia-category-showcase__post-card .hestia-category-showcase__meta span {
	position: relative;
}

.hestia-category-showcase__post-card .hestia-category-showcase__meta span + span::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin-right: 14px;
	border-radius: 50%;
	background: rgba(138, 148, 166, 0.5);
	vertical-align: middle;
}

.hestia-category-showcase__pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: 32px;
	padding: 20px 0 4px;
	border-top: 1px solid rgba(47, 107, 255, 0.1);
}

.hestia-category-showcase__pager-summary,
.hestia-category-showcase__pager-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
}

.hestia-category-showcase__pager-total {
	font-size: 14px;
	font-weight: 600;
	color: var(--category-muted);
}

.hestia-category-showcase__pager-current {
	font-size: 16px;
	font-weight: 800;
	color: #ff4d4f;
}

.hestia-category-showcase__pager-link.is-text {
	min-width: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--category-text);
	font-size: 14px;
	font-weight: 600;
}

.hestia-category-showcase__pager-link.is-text:hover {
	color: var(--category-primary);
	transform: none;
}

.hestia-category-showcase__pager-form {
	margin-left: auto;
}

.hestia-category-showcase__pager-select {
	min-width: 120px;
	height: 48px;
	padding: 0 42px 0 16px;
	border: 1px solid rgba(47, 107, 255, 0.18);
	border-radius: 16px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
	box-shadow: 0 12px 30px rgba(37, 66, 145, 0.08);
	color: var(--category-text);
	font-size: 14px;
	font-weight: 700;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image:
		linear-gradient(45deg, transparent 50%, #6b7280 50%),
		linear-gradient(135deg, #6b7280 50%, transparent 50%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.96));
	background-position:
		calc(100% - 22px) calc(50% - 3px),
		calc(100% - 16px) calc(50% - 3px),
		0 0;
	background-size:
		6px 6px,
		6px 6px,
		100% 100%;
	background-repeat: no-repeat;
}

.hestia-category-showcase__pager-select:focus {
	outline: none;
	border-color: rgba(47, 107, 255, 0.36);
	box-shadow: 0 0 0 4px rgba(47, 107, 255, 0.1);
}

.hestia-category-showcase__empty {
	padding: 56px 28px;
	border-radius: 28px;
	text-align: center;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid var(--category-border);
	box-shadow: var(--category-shadow);
}

.hestia-category-showcase__empty h3 {
	margin: 0;
	font-size: 28px;
	color: var(--category-text);
}

@media (max-width: 1199px) {
	.hestia-category-showcase__hero,
	.hestia-category-showcase__feature,
	.hestia-category-showcase__post-card {
		grid-template-columns: 1fr;
	}

	.hestia-category-showcase__quick-grid,
	.hestia-category-showcase__stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hestia-category-showcase__posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.hestia-category-showcase {
		padding: 28px 0 48px;
	}

	.hestia-category-showcase__hero,
	.hestia-category-showcase__feature,
	.hestia-category-showcase__post-card,
	.hestia-category-showcase__quick-card {
		border-radius: 22px;
	}

	.hestia-category-showcase__hero,
	.hestia-category-showcase__feature {
		padding: 22px;
	}

	.hestia-category-showcase__quick-grid,
	.hestia-category-showcase__stats {
		grid-template-columns: 1fr;
	}

	.hestia-category-showcase__posts {
		grid-template-columns: 1fr;
	}

	.hestia-category-showcase__section-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.hestia-category-showcase__section-note {
		text-align: left;
	}

	.hestia-category-showcase__pager {
		align-items: flex-start;
	}

	.hestia-category-showcase__pager-form {
		margin-left: 0;
		width: 100%;
	}

	.hestia-category-showcase__button,
	.hestia-category-showcase__pager-select {
		width: 100%;
	}
}
