@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Roboto+Slab:wght@500;600&display=swap');

:root {
	--prebk-blue: #108dd1;
	--prebk-yellow: #fcd752;
	--prebk-text: #2b2b2b;
	--prebk-accent: #14acff;
	--prebk-navy: #001d3d;
	--prebk-navy-dark: #000814;
	--prebk-navy-mid: #003566;
	--prebk-surface: #f7f8fa;
	--prebk-surface-strong: #ffffff;
	--prebk-border: #d9e2f0;
	--prebk-shadow: 0 20px 60px rgba(0, 29, 61, 0.08);
	--prebk-radius: 20px;
	--prebk-radius-sm: 14px;
}

.prebk-blog-active {
	background: var(--prebk-surface-strong);
	color: var(--prebk-text);
}

.prebk-blog-active h1,
.prebk-blog-active h2,
.prebk-blog-active h3,
.prebk-blog-active h4 {
	color: var(--prebk-text);
	font-family: "Poppins", sans-serif;
}

.prebk-hero__title,
.prebk-featured__title,
.prebk-section-title,
.prebk-single__title {
	color: var(--prebk-blue);
}

.prebk-blog-active p,
.prebk-blog-active li,
.prebk-blog-active a,
.prebk-blog-active span,
.prebk-blog-active div {
	font-family: "Poppins", sans-serif;
}

.prebk-shell {
	width: min(1200px, calc(100% - 48px));
	margin: 0 auto;
}

.prebk-shell--narrow {
	width: min(980px, calc(100% - 48px));
}

.prebk-shell--reading {
	width: min(780px, calc(100% - 48px));
}

.prebk-hero,
.prebk-featured,
.prebk-listing,
.prebk-related,
.prebk-cta,
.prebk-single-hero,
.prebk-single-body {
	padding: 40px 0;
}

.prebk-hero {
	padding-top: 80px;
	padding-bottom: 40px;
}

.prebk-hero .prebk-shell {
	text-align: center;
}

.prebk-hero .prebk-hero__title,
.prebk-hero .prebk-kicker,
.prebk-hero .prebk-hero__intro {
	text-align: center !important;
	margin-left: auto;
	margin-right: auto;
}

.prebk-kicker {
	margin: 0 0 12px;
	color: var(--prebk-navy-mid);
	font-family: "Roboto Slab", serif;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-align: inherit;
}

.prebk-hero__title,
.prebk-single__title {
	margin: 0;
	font-size: clamp(42px, 6vw, 68px);
	line-height: 1.02;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-align: center;
}

.prebk-hero__intro {
	max-width: 680px;
	margin: 20px auto 0;
	font-size: clamp(18px, 2vw, 22px);
	line-height: 1.65;
	color: rgba(43, 43, 43, 0.84);
}

.prebk-category-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
	justify-content: center;
}

.prebk-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border: 1px solid var(--prebk-border);
	border-radius: 999px;
	background: #fff;
	color: var(--prebk-navy);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.prebk-pill:hover,
.prebk-pill:focus {
	transform: translateY(-1px);
	background: var(--prebk-blue);
	border-color: var(--prebk-blue);
	color: #fff;
}

.prebk-pill.is-active,
.prebk-pill.is-static {
	background: var(--prebk-blue);
	border-color: var(--prebk-blue);
	color: #fff;
}

.prebk-featured__panel,
.prebk-cta__panel {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 28px;
	align-items: stretch;
	padding: 26px;
	background: var(--prebk-surface-strong);
	border-radius: var(--prebk-radius);
	box-shadow: var(--prebk-shadow);
}

.prebk-featured__media,
.prebk-featured__copy,
.prebk-cta__copy,
.prebk-cta__action {
	min-width: 0;
}

.prebk-featured__image,
.prebk-card__image,
.prebk-single__image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	border-radius: 16px;
}

.prebk-featured__image { aspect-ratio: 16 / 10; }
.prebk-card__image     { aspect-ratio: 16 / 10; }

.prebk-card__image--placeholder {
	min-height: 260px;
	background: linear-gradient(135deg, rgba(29, 107, 243, 0.95), rgba(0, 29, 61, 0.98));
}

.prebk-featured__title {
	margin: 0 0 12px;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.08;
	font-weight: 700;
}

.prebk-featured__title a,
.prebk-card__title a {
	color: inherit;
	text-decoration: none;
}

.prebk-featured__excerpt {
	margin: 0 0 16px;
	font-size: 18px;
	line-height: 1.7;
	color: rgba(43, 43, 43, 0.85);
}

.prebk-featured__meta,
.prebk-card__meta,
.prebk-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	color: rgba(43, 43, 43, 0.64);
	font-size: 14px;
	font-weight: 500;
}

.prebk-link {
	display: inline-flex;
	margin-top: 18px;
	color: var(--prebk-blue);
	font-weight: 700;
	text-decoration: none;
}

.prebk-section-head { margin-bottom: 24px; }

.prebk-section-title {
	margin: 0;
	font-size: clamp(30px, 4vw, 42px);
	line-height: 1.08;
	font-weight: 700;
}

.prebk-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.prebk-card {
	display: flex;
	flex-direction: column;
	background: var(--prebk-surface-strong);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0, 29, 61, 0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.prebk-card:hover,
.prebk-card:focus-within {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(0, 29, 61, 0.1);
}

.prebk-card__image-link { display: block; }

.prebk-card__body { padding: 20px 20px 22px; }

.prebk-card__category {
	display: inline-flex;
	margin-bottom: 10px;
	color: var(--prebk-navy-mid);
	font-family: "Roboto Slab", serif;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.prebk-card__title {
	margin: 0 0 12px;
	font-size: 26px;
	line-height: 1.12;
	font-weight: 700;
}

.prebk-card__excerpt {
	margin: 14px 0 0;
	color: rgba(43, 43, 43, 0.8);
	font-size: 16px;
	line-height: 1.68;
}

.prebk-pagination { margin-top: 36px; }

.prebk-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.prebk-pagination a,
.prebk-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 10px 14px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--prebk-border);
	color: var(--prebk-navy);
	font-weight: 600;
	text-decoration: none;
}

.prebk-pagination .current {
	background: var(--prebk-blue);
	border-color: var(--prebk-blue);
	color: #fff;
}

.prebk-cta__panel {
	background: linear-gradient(135deg, var(--prebk-navy) 0%, var(--prebk-navy-mid) 100%);
}

.prebk-cta__copy .prebk-kicker,
.prebk-cta__copy .prebk-section-title,
.prebk-cta__copy p {
	color: #fff;
}

.prebk-cta__copy p:last-child {
	margin: 10px 0 0;
	max-width: 620px;
	font-size: 17px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
	display: block;
}

.prebk-cta__action {
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.prebk-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 26px;
	border-radius: 999px;
	background: var(--prebk-yellow);
	color: var(--prebk-navy-dark);
	font-family: "Poppins", sans-serif;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.prebk-button:hover,
.prebk-button:focus {
	transform: translateY(-2px);
	box-shadow: 0 16px 30px rgba(245, 198, 28, 0.28);
}

.prebk-single-hero { padding-top: 70px; padding-bottom: 22px; }
.prebk-single__meta { margin-top: 20px; }
.prebk-single__featured { margin-top: 28px; }
.prebk-single__image { border-radius: 20px; }

.prebk-content {
	font-size: 20px;
	line-height: 1.75;
	color: var(--prebk-text);
}

.prebk-content > *:first-child { margin-top: 0; }

.prebk-content h2,
.prebk-content h3,
.prebk-content h4 {
	margin: 44px 0 16px;
	line-height: 1.12;
}

.prebk-content h2 { font-size: 36px; }
.prebk-content h3 { font-size: 28px; }

.prebk-content p,
.prebk-content ul,
.prebk-content ol,
.prebk-content blockquote {
	margin: 20px 0;
}

.prebk-content ul,
.prebk-content ol { padding-left: 22px; }

.prebk-content a {
	color: var(--prebk-blue);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.prebk-content blockquote {
	padding: 20px 24px;
	border-left: 4px solid var(--prebk-yellow);
	background: rgba(29, 107, 243, 0.04);
	border-radius: 0 16px 16px 0;
}

.prebk-content img { border-radius: 16px; }

/* ---- Breadcrumbs ---- */

.prebk-breadcrumbs { margin-bottom: 20px; }

.prebk-breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3rem 0.5rem;
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 13px;
	color: rgba(43, 43, 43, 0.55);
}

.prebk-breadcrumbs__list li a {
	color: rgba(43, 43, 43, 0.55);
	text-decoration: none;
	font-family: "Poppins", sans-serif;
	transition: color 0.18s ease;
}

.prebk-breadcrumbs__list li a:hover { color: var(--prebk-blue); }

.prebk-breadcrumbs__list li[aria-current="page"] {
	color: var(--prebk-text);
	font-weight: 500;
}

.prebk-breadcrumbs__sep { color: rgba(43, 43, 43, 0.3); }

/* ---- Author box ---- */

.prebk-author-box {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 40px;
	padding: 1.25rem 1.5rem;
	background: #fff;
	border-left: 4px solid var(--prebk-blue);
	border-radius: 0 var(--prebk-radius-sm) var(--prebk-radius-sm) 0;
	box-shadow: 0 4px 20px rgba(0, 29, 61, 0.07);
}

.prebk-author-box__avatar {
	flex-shrink: 0;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 2px 8px rgba(0, 29, 61, 0.12);
}

.prebk-author-box__name {
	display: block;
	font-family: "Poppins", sans-serif;
	font-weight: 700;
	font-size: 1rem;
	color: var(--prebk-navy);
	text-decoration: none;
	margin-bottom: 0.2rem;
}

.prebk-author-box__name:hover { color: var(--prebk-blue); }

.prebk-author-box__bio {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.55;
	color: rgba(43, 43, 43, 0.72);
}

/* ---- Post tags ---- */

.prebk-post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 32px;
}

.prebk-tag {
	display: inline-flex;
	padding: 0.25rem 0.75rem;
	border-radius: 999px;
	background: var(--prebk-surface);
	border: 1px solid var(--prebk-border);
	color: rgba(43, 43, 43, 0.65);
	font-size: 0.8rem;
	font-weight: 500;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.prebk-tag:hover {
	background: var(--prebk-blue);
	border-color: var(--prebk-blue);
	color: #fff;
}

/* ---- Responsive ---- */

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

	.prebk-featured__panel,
	.prebk-cta__panel {
		grid-template-columns: 1fr;
	}

	.prebk-cta__action { justify-content: flex-start; }
}

@media (max-width: 767px) {
	.prebk-shell,
	.prebk-shell--narrow,
	.prebk-shell--reading {
		width: min(100% - 32px, 100%);
	}

	.prebk-hero,
	.prebk-featured,
	.prebk-listing,
	.prebk-related,
	.prebk-cta,
	.prebk-single-hero,
	.prebk-single-body {
		padding: 28px 0;
	}

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

	.prebk-featured__panel,
	.prebk-cta__panel {
		padding: 18px;
		border-radius: 16px;
	}

	.prebk-card__body { padding: 18px; }

	.prebk-content { font-size: 18px; }
	.prebk-content h2 { font-size: 30px; }
	.prebk-content h3 { font-size: 24px; }
}
