/* Resource Center (/kaynaklar/) visual parity with reference design while preserving theme tokens and accessibility. */
body:has(.bc-res-shell) .wp-site-blocks {
	padding-block: 0;
	padding-inline: 0;
}
.wp-site-blocks > main.bc-res-shell {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}
.bc-res-body .wp-block-post-content {
	max-width: none;
	margin: 0;
}

/* 1. Full-width Mountain & Compass Hero */
.bc-res-hero {
	position: relative;
	overflow: hidden;
	background-color: #0b1b34;
	background-image:
		linear-gradient(90deg, rgba(8, 22, 44, 0.91) 0%, rgba(12, 31, 58, 0.74) 44%, rgba(12, 31, 58, 0.16) 76%, rgba(12, 31, 58, 0.03) 100%),
		url('../references/resources-hero-mountains.jpg');
	background-size: cover;
	background-position: center 62%;
	color: #ffffff;
	padding-block: clamp(2.6rem, 4.5vw, 3.5rem) clamp(4.6rem, 6.8vw, 5.6rem);
}
.bc-res-hero__inner {
	max-width: 1280px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 3.5vw, 2rem);
}
.bc-res-hero .bc-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 0.7rem;
	color: #cbd5e1;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.bc-res-hero .bc-eyebrow::after {
	content: '';
	display: inline-block;
	width: 30px;
	height: 2px;
	background: #38bdf8;
	border-radius: 2px;
}
.bc-res-hero h1 {
	margin: 0 0 0.9rem;
	color: #ffffff;
	font-family: var(--wp--preset--font-family--manrope);
	font-size: clamp(2.15rem, 3.7vw, 3.1rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.025em;
}
.bc-res-intro {
	max-width: 58ch;
	margin: 0 0 1.65rem;
	color: #e2e8f0;
	font-size: clamp(0.95rem, 1.15vw, 1.05rem);
	line-height: 1.58;
}
.bc-res-pillars {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bc-res-pillar {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #f1f5f9;
	font-size: 0.88rem;
	font-weight: 500;
	line-height: 1.3;
}
.bc-res-pillar:not(:last-child) {
	padding-inline-end: 1.5rem;
	border-inline-end: 1px solid rgba(255, 255, 255, 0.22);
}
.bc-res-pillar svg {
	width: 18px;
	height: 18px;
	color: #e2e8f0;
	flex-shrink: 0;
}

/* 2. Centered Body Wrapper & Overlapping Tinted Category Cards */
.bc-res-body {
	max-width: 1280px;
	margin-inline: auto;
	padding: 0 clamp(1rem, 3.5vw, 2rem) clamp(3rem, 5vw, 4.5rem);
}
.bc-resource-categories-wrap {
	position: relative;
	z-index: 3;
	margin-block-start: clamp(-3.25rem, -4vw, -2.5rem);
	margin-block-end: clamp(2.25rem, 4vw, 3rem);
}
.bc-resource-categories {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.15rem;
}
.bc-resource-cat-card {
	display: flex;
	align-items: flex-start;
	gap: 0.9rem;
	min-width: 0;
	padding: 1.2rem 1.15rem;
	background: #eef5fd;
	border: 1px solid #d8e7fa;
	border-radius: 14px;
	box-shadow: 0 10px 26px rgba(15, 35, 64, 0.08);
	text-decoration: none;
	color: #0f172a;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.bc-resource-cat-card[data-category="arastirma-raporlari"] {
	background: #eef5fd;
	border-color: #d8e7fa;
}
.bc-resource-cat-card[data-category="kontrol-listeleri"] {
	background: #edf8f5;
	border-color: #d0ebe3;
}
.bc-resource-cat-card[data-category="degerlendirme-araclari"] {
	background: #fdf6ec;
	border-color: #f4e4c8;
}
.bc-resource-cat-card[data-category="sablonlar"] {
	background: #f3f0fc;
	border-color: #e1d8f7;
}
.bc-resource-cat-card:hover,
.bc-resource-cat-card.is-active {
	border-color: #1652ac;
	box-shadow: 0 14px 30px rgba(22, 82, 172, 0.14);
	transform: translateY(-2px);
}
.bc-resource-cat-icon {
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #1652ac;
	flex-shrink: 0;
	margin-top: 2px;
}
.bc-resource-cat-icon svg {
	width: 28px;
	height: 28px;
	display: block;
}
.bc-resource-cat-copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	flex: 1;
}
.bc-resource-cat-card h3 {
	margin: 0 0 0.35rem;
	color: #0f172a;
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 1.03rem;
	font-weight: 800;
	line-height: 1.25;
}
.bc-resource-cat-card p {
	margin: 0 0 0.7rem;
	color: #334155;
	font-size: 0.85rem;
	line-height: 1.45;
}
.bc-resource-cat-link {
	margin-top: auto;
	color: #1652ac;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.3;
}

/* 3. Section Header & Filter Pills */
.bc-resource-catalog-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	margin-block-end: 1.15rem;
}
.bc-resource-section-heading {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
	margin: 0;
	color: #0f172a;
	font-family: var(--wp--preset--font-family--manrope);
	font-size: clamp(1.35rem, 2.2vw, 1.65rem);
	font-weight: 800;
	line-height: 1.2;
}
.bc-resource-section-heading::before {
	content: '';
	display: inline-block;
	width: 28px;
	height: 2.5px;
	background: #1652ac;
	border-radius: 2px;
	flex-shrink: 0;
}
.bc-resource-all-link {
	color: #1652ac;
	font-size: 0.92rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}
.bc-resource-all-link:hover {
	text-decoration: underline;
}
.bc-resource-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-block-end: 1.5rem;
}
.bc-resource-filters a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.5rem 1.15rem;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	color: #1e293b;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.bc-resource-filters a:hover {
	background: #f1f5f9;
	border-color: #1652ac;
	color: #0f172a;
}
.bc-resource-filters a[aria-current="page"] {
	background: #1652ac;
	border-color: #1652ac;
	color: #ffffff;
}

/* 4. Four-Column Resource Grid & Editorial Cover Cards */
.bc-resource-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.2rem;
}
.bc-resource-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 8px 24px rgba(15, 35, 64, 0.06);
	transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.bc-resource-card:hover {
	border-color: #cbd5e1;
	box-shadow: 0 14px 30px rgba(15, 35, 64, 0.1);
	transform: translateY(-2px);
}
.bc-resource-card-cover {
	position: relative;
	height: 156px;
	background: #0d2647;
	overflow: hidden;
}
.bc-resource-cover-img,
.bc-resource-cover-svg {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.bc-resource-lock-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 34px;
	height: 34px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.96);
	color: #1e293b;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.18);
}
.bc-resource-lock-badge svg {
	width: 16px;
	height: 16px;
}
.bc-resource-badge {
	position: absolute;
	left: 12px;
	bottom: 10px;
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.7rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.96);
	color: #0f172a;
	font-size: 0.74rem;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.14);
}
.bc-resource-badge:hover {
	color: #1652ac;
}
.bc-resource-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.15rem 1.2rem 1.2rem;
}
.bc-resource-title {
	margin: 0 0 0.55rem;
	color: #0f172a;
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 1.06rem;
	font-weight: 800;
	line-height: 1.32;
}
.bc-resource-desc {
	margin: 0 0 1rem;
	color: #475569;
	font-size: 0.86rem;
	line-height: 1.5;
}
.bc-resource-specs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.9rem;
	margin: auto 0 1rem;
	padding-block: 0.65rem;
	border-top: 1px solid #f1f5f9;
}
.bc-resource-specs > div {
	display: inline-flex;
	align-items: center;
}
.bc-resource-specs dd {
	display: inline-flex;
	align-items: center;
	gap: 0.32rem;
	margin: 0;
	color: #475569;
	font-size: 0.78rem;
	font-weight: 600;
}
.bc-resource-specs dd svg {
	width: 14px;
	height: 14px;
	color: #64748b;
	flex-shrink: 0;
}
.bc-resource-actions {
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}
.bc-resource-btn,
.bc-resource-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0.6rem 1.1rem;
	border-radius: 8px;
	font-family: var(--wp--preset--font-family--inter);
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.bc-resource-btn svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}
.bc-resource-btn {
	background: #1652ac;
	border: 1px solid #1652ac;
	color: #ffffff;
	width: 100%;
}
.bc-resource-btn:hover {
	background: #103e86;
	border-color: #103e86;
	color: #ffffff;
}
.bc-resource-btn-outline {
	background: #ffffff;
	border: 1px solid #17365d;
	color: #17365d;
}
.bc-resource-btn-outline:hover {
	background: #eef5fd;
	border-color: #1652ac;
	color: #1652ac;
}
.bc-resource-register-link {
	text-align: center;
	color: #1652ac;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	padding-block: 0.25rem;
}
.bc-resource-register-link:hover {
	text-decoration: underline;
}
.bc-resource-status {
	color: #475569;
	font-size: 0.84rem;
	line-height: 1.45;
}

/* 5. Intentional Empty State */
.bc-resource-empty {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	padding: clamp(1.5rem, 3vw, 2rem);
	border-radius: 14px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-inline-start: 4px solid #1652ac;
	box-shadow: 0 8px 24px rgba(15, 35, 64, 0.05);
}
.bc-resource-empty-icon {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: #eef5fd;
	border: 1px solid #d8e7fa;
	color: #1652ac;
	flex-shrink: 0;
}
.bc-resource-empty-icon svg {
	width: 22px;
	height: 22px;
	display: block;
}
.bc-resource-empty-body h3 {
	margin: 0 0 0.4rem;
	color: #0f172a;
	font-family: var(--wp--preset--font-family--manrope);
	font-size: 1.15rem;
	font-weight: 800;
}
.bc-resource-empty-body p {
	margin: 0 0 1.15rem;
	color: #334155;
	max-width: 64ch;
	line-height: 1.6;
}
.bc-resource-empty-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}
.bc-resource-empty-actions .bc-resource-btn {
	width: auto;
}

.bc-res-shell :where(a, button):focus-visible {
	outline: 3px solid var(--wp--preset--color--teal);
	outline-offset: 3px;
}

@media (max-width: 1120px) {
	.bc-res-pillar:not(:last-child) {
		padding-inline-end: 0;
		border-inline-end: 0;
	}
	.bc-resource-categories,
	.bc-resource-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 639px) {
	.bc-res-hero {
		background-position: 68% 45%;
		padding-block: 2rem 3.25rem;
		background-image:
			linear-gradient(180deg, rgba(8, 22, 44, 0.88) 0%, rgba(12, 31, 58, 0.82) 70%, rgba(12, 31, 58, 0.90) 100%),
			url('../references/resources-hero-mountains.jpg');
	}
	.bc-res-pillar:not(:last-child) {
		padding-inline-end: 0;
		border-inline-end: 0;
	}
	.bc-resource-categories-wrap {
		margin-block-start: -1.5rem;
	}
	.bc-resource-categories,
	.bc-resource-grid {
		grid-template-columns: 1fr;
	}
	.bc-resource-empty {
		flex-direction: column;
	}
	.bc-resource-empty-actions .bc-resource-btn,
	.bc-resource-empty-actions .bc-resource-btn-outline {
		width: 100%;
	}
}
