/* ==========================================================================
   Formal Peptides — Blog (archive + single)
   ========================================================================== */

/* --- Archive hero --- */
.fp-blog-page {
	background: linear-gradient(180deg, #f8fbfe 0%, #eef4f8 45%, #fff 100%);
}

.fp-blog-hero {
	position: relative;
	padding: clamp(64px, 9vw, 108px) 0 clamp(48px, 6vw, 72px);
	overflow: hidden;
	background: linear-gradient(145deg, var(--fp-navy-900, #002137) 0%, #053a5c 48%, #0a4d6e 100%);
	color: #fff;
}

.fp-blog-hero__bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.fp-blog-hero__grid {
	position: absolute;
	inset: 0;
	opacity: 0.35;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
}

.fp-blog-hero__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	opacity: 0.45;
}

.fp-blog-hero__glow--1 {
	width: 420px;
	height: 420px;
	top: -120px;
	right: -80px;
	background: var(--fp-teal-500, #00a3c4);
}

.fp-blog-hero__glow--2 {
	width: 320px;
	height: 320px;
	bottom: -100px;
	left: -60px;
	background: var(--fp-gold-400, #d4a853);
	opacity: 0.25;
}

.fp-blog-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 820px;
}

.fp-blog-hero__eyebrow {
	margin: 0 0 12px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fp-teal-300, #5eead4);
}

.fp-blog-hero__title {
	margin: 0 0 16px;
	font-size: clamp(2.25rem, 5.5vw, 3.75rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	background: linear-gradient(135deg, #fff 0%, var(--fp-teal-300, #5eead4) 50%, var(--fp-gold-400, #d4a853) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.fp-blog-hero__title em {
	font-style: italic;
	font-weight: 700;
}

.fp-blog-hero__subtitle {
	margin: 0 0 32px;
	max-width: 58ch;
	font-size: clamp(1rem, 2vw, 1.125rem);
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.78);
}

.fp-blog-hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.fp-blog-hero__stat {
	padding: 18px 20px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(8px);
}

.fp-blog-hero__stat strong {
	display: block;
	margin-bottom: 4px;
	font-size: 1.375rem;
	font-weight: 800;
	color: #fff;
}

.fp-blog-hero__stat span {
	font-size: 0.8125rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.68);
}

/* --- Archive body --- */
.fp-blog-archive {
	padding: clamp(48px, 7vw, 88px) 0;
}

.fp-blog-archive__head {
	margin-bottom: 32px;
}

.fp-blog-archive__title {
	margin: 0 0 8px;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: var(--fp-navy-900, #002137);
}

.fp-blog-archive__title span {
	background: linear-gradient(135deg, var(--fp-navy-900, #002137), var(--fp-teal-500, #00a3c4));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.fp-blog-archive__head p {
	margin: 0;
	color: var(--fp-gray-600, #5a7494);
	font-size: 1rem;
	line-height: 1.6;
}

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

/* --- Blog cards --- */
.fp-blog-card {
	height: 100%;
}

.fp-blog-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid rgba(0, 33, 55, 0.08);
	border-radius: 20px;
	overflow: hidden;
	box-shadow:
		0 1px 2px rgba(0, 33, 55, 0.04),
		0 8px 28px rgba(0, 33, 55, 0.07);
	transition:
		transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.3s ease;
}

.fp-blog-card__link:hover {
	transform: translateY(-8px);
	border-color: rgba(0, 163, 196, 0.22);
	box-shadow:
		0 12px 36px rgba(0, 33, 55, 0.1),
		0 24px 56px rgba(0, 33, 55, 0.08);
}

.fp-blog-card--featured {
	margin-bottom: 40px;
}

.fp-blog-card--featured .fp-blog-card__link {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	min-height: 320px;
}

.fp-blog-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #e8f4f8, #d4e8f0);
}

.fp-blog-card--featured .fp-blog-card__media {
	aspect-ratio: auto;
	min-height: 100%;
}

.fp-blog-card__media--teal {
	background: linear-gradient(135deg, #0a4d6e 0%, #00a3c4 100%);
}

.fp-blog-card__media--navy {
	background: linear-gradient(135deg, #002137 0%, #0a4d6e 100%);
}

.fp-blog-card__media--gold {
	background: linear-gradient(135deg, #0a4d6e 0%, #8b6914 85%);
}

.fp-blog-card__media--ice {
	background: linear-gradient(135deg, #d4e8f0 0%, #00a3c4 100%);
}

.fp-blog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.fp-blog-card__link:hover .fp-blog-card__media img {
	transform: scale(1.06);
}

.fp-blog-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 180px;
	color: rgba(255, 255, 255, 0.85);
}

.fp-blog-card__shine {
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
	opacity: 0;
	transition: opacity 0.4s ease;
}

.fp-blog-card__link:hover .fp-blog-card__shine {
	opacity: 1;
}

.fp-blog-card__cat {
	position: absolute;
	bottom: 14px;
	left: 14px;
	z-index: 2;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(0, 163, 196, 0.92);
}

.fp-blog-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 24px 26px;
	flex: 1;
}

.fp-blog-card--featured .fp-blog-card__body {
	justify-content: center;
	padding: clamp(24px, 4vw, 40px);
}

.fp-blog-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fp-teal-600, #0891b2);
}

.fp-blog-card__dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.5;
}

.fp-blog-card__title {
	margin: 0;
	font-size: clamp(1rem, 2vw, 1.125rem);
	font-weight: 700;
	line-height: 1.35;
	color: var(--fp-navy-900, #002137);
}

.fp-blog-card--featured .fp-blog-card__title {
	font-size: clamp(1.375rem, 2.5vw, 1.75rem);
}

.fp-blog-card__excerpt {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--fp-gray-600, #5a7494);
}

.fp-blog-card__read {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--fp-teal-600, #0891b2);
}

/* --- Pagination --- */
.fp-blog-pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.fp-blog-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: 12px;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--fp-navy-900, #002137);
	background: #fff;
	border: 1px solid rgba(0, 33, 55, 0.1);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fp-blog-pagination .page-numbers:hover,
.fp-blog-pagination .page-numbers.current {
	background: var(--fp-teal-500, #00a3c4);
	border-color: var(--fp-teal-500, #00a3c4);
	color: #fff;
}

/* --- CTA band --- */
.fp-blog-cta {
	padding: 0 0 clamp(64px, 8vw, 96px);
}

.fp-blog-cta__card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding: clamp(28px, 4vw, 40px);
	border-radius: 24px;
	background: linear-gradient(135deg, var(--fp-navy-900, #002137) 0%, #0a4d6e 100%);
	color: #fff;
	box-shadow: 0 24px 60px rgba(0, 33, 55, 0.18);
}

.fp-blog-cta__eyebrow {
	margin: 0 0 8px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fp-teal-300, #5eead4);
}

.fp-blog-cta__card h2 {
	margin: 0;
	max-width: 28ch;
	font-size: clamp(1.25rem, 2.5vw, 1.625rem);
	font-weight: 700;
	line-height: 1.35;
}





.fp-blog-single__layout {
	padding: clamp(40px, 6vw, 64px) 0;
}

.fp-blog-single__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 40px;
	align-items: start;
}

.fp-blog-single__article {
	background: #fff;
	border-radius: 24px;
	border: 1px solid rgba(0, 33, 55, 0.08);
	box-shadow: 0 16px 48px rgba(0, 33, 55, 0.06);
	overflow: hidden;
}

.fp-blog-single__featured-media {
	position: relative;
	max-height: 420px;
	overflow: hidden;
}

.fp-blog-single__featured-media img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
}

.fp-blog-single__featured-media--teal,
.fp-blog-single__featured-media--navy,
.fp-blog-single__featured-media--gold,
.fp-blog-single__featured-media--ice {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	color: rgba(255, 255, 255, 0.9);
}

.fp-blog-single__featured-media--teal { background: linear-gradient(135deg, #0a4d6e, #00a3c4); }
.fp-blog-single__featured-media--navy { background: linear-gradient(135deg, #002137, #0a4d6e); }
.fp-blog-single__featured-media--gold { background: linear-gradient(135deg, #0a4d6e, #8b6914); }
.fp-blog-single__featured-media--ice { background: linear-gradient(135deg, #d4e8f0, #00a3c4); }

.fp-blog-single__content {
	padding: clamp(28px, 4vw, 48px);
	font-size: 1.0625rem;
	line-height: 1.85;
	color: rgba(0, 33, 55, 0.84);
}

.fp-blog-single__content > p:first-of-type::first-letter {
	float: left;
	margin: 0.08em 0.12em 0 0;
	font-size: 3.25em;
	font-weight: 800;
	line-height: 0.85;
	color: var(--fp-teal-600, #0891b2);
}

.fp-blog-single__content h2,
.fp-blog-single__content h3 {
	margin: 2.25em 0 0.85em;
	font-weight: 800;
	line-height: 1.25;
	color: var(--fp-navy-900, #002137);
}

.fp-blog-single__content h2 {
	font-size: clamp(1.375rem, 2.5vw, 1.75rem);
	padding-left: 16px;
	border-left: 4px solid var(--fp-teal-500, #00a3c4);
}

.fp-blog-single__content h3 {
	font-size: 1.25rem;
}

.fp-blog-single__content p {
	margin: 0 0 1.35em;
}

.fp-blog-single__content ul,
.fp-blog-single__content ol {
	margin: 0 0 1.35em;
	padding-left: 1.35em;
}

.fp-blog-single__content li {
	margin-bottom: 0.5em;
}

.fp-blog-single__content a {
	color: var(--fp-teal-600, #0891b2);
	font-weight: 600;
}

.fp-blog-single__content blockquote {
	margin: 2em 0;
	padding: 20px 24px;
	border-left: 4px solid var(--fp-teal-500, #00a3c4);
	border-radius: 0 12px 12px 0;
	background: linear-gradient(90deg, rgba(0, 163, 196, 0.08), transparent);
	font-style: italic;
	color: var(--fp-navy-900, #002137);
}

.fp-blog-single__footer {
	padding: 0 clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px);
}

.fp-blog-single__ruo {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 18px 20px;
	margin-bottom: 24px;
	border-radius: 14px;
	background: rgba(0, 163, 196, 0.06);
	border: 1px solid rgba(0, 163, 196, 0.15);
	color: var(--fp-navy-900, #002137);
}

.fp-blog-single__ruo p {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.6;
}

.fp-blog-single__ruo svg {
	flex-shrink: 0;
	color: var(--fp-teal-600, #0891b2);
}

.fp-blog-single__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.fp-blog-single__aside-card {
	padding: 22px;
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(0, 33, 55, 0.08);
	box-shadow: 0 8px 28px rgba(0, 33, 55, 0.05);
}

.fp-blog-single__aside-card + .fp-blog-single__aside-card {
	margin-top: 20px;
}

.fp-blog-single__aside-card--sticky {
	position: sticky;
	top: 100px;
}

.fp-blog-single__aside-card h2,
.fp-blog-single__aside-card h3 {
	margin: 0 0 14px;
	font-size: 0.9375rem;
	font-weight: 800;
	color: var(--fp-navy-900, #002137);
}

.fp-blog-single__aside-card p {
	margin: 0 0 16px;
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--fp-gray-600, #5a7494);
}

.fp-blog-single__toc {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fp-blog-single__toc a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	color: var(--fp-gray-600, #5a7494);
	transition: background 0.2s ease, color 0.2s ease;
}

.fp-blog-single__toc a:hover,
.fp-blog-single__toc a.is-active {
	background: rgba(0, 163, 196, 0.08);
	color: var(--fp-teal-600, #0891b2);
}

.fp-blog-single__toc:empty::after {
	content: 'Headings will appear as you scroll.';
	font-size: 0.8125rem;
	color: var(--fp-gray-500, #94a3b8);
}

/* --- Related --- */
.fp-blog-related {
	padding: clamp(48px, 7vw, 80px) 0 clamp(64px, 8vw, 96px);
	background: linear-gradient(180deg, #fff 0%, #eef4f8 100%);
}

.fp-blog-related__head {
	margin-bottom: 32px;
}

.fp-blog-related__eyebrow {
	margin: 0 0 8px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fp-teal-600, #0891b2);
}

.fp-blog-related__head h2 {
	margin: 0;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	color: var(--fp-navy-900, #002137);
}

.fp-blog-related__head h2 em {
	font-style: italic;
	background: linear-gradient(135deg, var(--fp-navy-900, #002137), var(--fp-teal-500, #00a3c4));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

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

/* --- Reveal animation --- */
[data-fp-reveal] {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: calc(var(--fp-i, 0) * 80ms);
}

[data-fp-reveal].is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1023px) {
	.fp-blog-archive__grid,
	.fp-blog-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fp-blog-single__grid {
		grid-template-columns: 1fr;
	}

	.fp-blog-single__aside-card--sticky {
		position: static;
	}
}

@media (max-width: 767px) {
	.fp-blog-hero__stats {
		grid-template-columns: 1fr;
	}

	.fp-blog-card--featured .fp-blog-card__link {
		grid-template-columns: 1fr;
	}

	.fp-blog-archive__grid,
	.fp-blog-related__grid {
		grid-template-columns: 1fr;
	}

	.fp-blog-cta__card {
		flex-direction: column;
		align-items: flex-start;
	}

	.fp-blog-single__content > p:first-of-type::first-letter {
		font-size: 2.5em;
	}
}

/* --- Single post (standard page hero + article layout) --- */
.fp-blog-single {
	background: #f8fbfe;
}

.fp-page-hero--blog .fp-page-hero__title {
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

.fp-page-hero--blog .fp-page-hero__subtitle {
	max-width: 720px;
}

.fp-blog-single__toolbar {
	background: #fff;
	border-bottom: 1px solid rgba(0, 33, 55, 0.08);
}

.fp-blog-single__toolbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	padding: 14px 0;
}

.fp-blog-single__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--fp-teal-600, #0891b2);
	text-decoration: none;
}

.fp-blog-single__back:hover {
	text-decoration: underline;
}

.fp-blog-single__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--fp-gray-500, #64748b);
}

.fp-blog-single__cat {
	padding: 4px 10px;
	border-radius: 4px;
	background: rgba(0, 163, 196, 0.1);
	color: var(--fp-teal-600, #0891b2);
}

.fp-blog-single__dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
	opacity: 0.45;
}

/* Blog archive: shop-style hero */
.fp-page-hero--blog-archive .fp-page-hero__eyebrow{margin:0 0 10px;font-size:.6875rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--fp-teal-300,#5eead4)}.fp-page-hero--blog-archive .fp-page-hero__title em{font-style:italic;font-weight:700}.fp-page-hero--blog-archive .fp-page-hero__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:720px;margin:28px auto 0;text-align:left}.fp-page-hero--blog-archive .fp-page-hero__stat{padding:16px 18px;border-radius:12px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}.fp-page-hero--blog-archive .fp-page-hero__stat strong{display:block;margin-bottom:4px;font-size:1.25rem;font-weight:800;color:#fff}.fp-page-hero--blog-archive .fp-page-hero__stat span{font-size:.8125rem;line-height:1.45;color:rgba(255,255,255,.72)}


/* Single post hero restored */
.fp-blog-single__hero{position:relative;padding:clamp(40px,6vw,72px) 0 clamp(36px,5vw,56px);background:linear-gradient(145deg,var(--fp-navy-900,#002137) 0%,#053a5c 100%);color:#fff;overflow:hidden}.fp-blog-single__hero-bg{position:absolute;inset:0;pointer-events:none}.fp-blog-single__hero-grid{position:absolute;inset:0;opacity:.3;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:40px 40px}.fp-blog-single__hero-glow{position:absolute;width:500px;height:500px;top:-200px;right:-100px;border-radius:50%;background:var(--fp-teal-500,#00a3c4);filter:blur(100px);opacity:.3}.fp-blog-single__hero-inner{position:relative;z-index:1;max-width:900px}.fp-blog-single__back{display:inline-flex;align-items:center;gap:8px;margin-bottom:24px;font-size:.8125rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--fp-teal-300,#5eead4);text-decoration:none}.fp-blog-single__meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-bottom:18px;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.72)}.fp-blog-single__cat{padding:5px 10px;border-radius:4px;background:rgba(0,163,196,.25);color:var(--fp-teal-300,#5eead4)}.fp-blog-single__dot{width:4px;height:4px;border-radius:50%;background:currentColor;opacity:.5}.fp-blog-single__title{margin:0 0 16px;font-size:clamp(2rem,4.5vw,3.25rem);font-weight:800;line-height:1.12;color:#fff}.fp-blog-single__dek{margin:0;max-width:62ch;font-size:clamp(1.0625rem,2vw,1.25rem);line-height:1.65;color:rgba(255,255,255,.78)}
