/* =========================================================================
   Anchor — Blog (index, single, category)
   ========================================================================= */


/* ============================================================
   FILTER PILLS
   ============================================================ */

.blog-filter__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	padding-bottom: 18px;
}

.blog-filter__pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 18px;
	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--brand-text);
	background: var(--surface-soft);
	border: 1px solid rgba(66, 27, 73, 0.10);
	border-radius: 999px;
	text-decoration: none;
	transition: all 0.2s var(--ease);
}
.blog-filter__pill:hover {
	border-color: var(--brand-secondary);
	color: var(--brand-secondary);
}
.blog-filter__pill.is-active {
	background: var(--brand-secondary);
	border-color: var(--brand-secondary);
	color: #fff;
}
.blog-filter__pill span {
	font-size: 10px;
	font-weight: 600;
	padding: 2px 6px;
	background: rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	color: inherit;
}
.blog-filter__pill:not(.is-active) span {
	background: rgba(66, 27, 73, 0.08);
	color: var(--brand-primary);
}


/* ============================================================
   FEATURED POST (top of index)
   ============================================================ */

.blog-featured__card {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 56px);
	align-items: center;
	background: #fff;
	border-radius: 18px;
	overflow: hidden;
}
@media (max-width: 860px) {
	.blog-featured__card { grid-template-columns: 1fr; }
}

.blog-featured__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 14px;
	display: block;
}
.blog-featured__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s var(--ease);
}
.blog-featured__card:hover .blog-featured__media img {
	transform: scale(1.04);
}

.blog-featured__tag {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 2;
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(0, 0, 0, 0.55);
	padding: 8px 14px;
	border-radius: 999px;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.blog-featured__body { padding: 0; }

.blog-featured__eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--brand-secondary);
	margin-bottom: 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(201, 86, 28, 0.4);
}

.blog-featured__title {
	font-family: var(--font-display);
	font-size: clamp(28px, 4vw, 44px);
	line-height: 1.1;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: var(--brand-primary);
	margin: 0 0 16px;
	text-wrap: balance;
}
.blog-featured__title a {
	color: inherit;
	text-decoration: none;
	background-image: linear-gradient(var(--brand-secondary), var(--brand-secondary));
	background-size: 0% 2px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	transition: background-size 0.4s var(--ease);
}
.blog-featured__title a:hover {
	background-size: 100% 2px;
}

.blog-featured__excerpt {
	font-size: 17px;
	line-height: 1.7;
	color: var(--brand-text);
	font-weight: 300;
	margin: 0 0 18px;
}

.blog-featured__meta {
	display: flex;
	gap: 8px;
	font-size: 12px;
	letter-spacing: 0.06em;
	color: var(--brand-text);
	font-weight: 500;
	text-transform: uppercase;
	margin-bottom: 22px;
}

.blog-featured__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 28px;
	background: var(--brand-secondary);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	border-radius: 999px;
	transition: all 0.2s var(--ease);
}
.blog-featured__cta:hover {
	background: var(--brand-primary);
	color: #fff;
	transform: translateX(2px);
}


/* ============================================================
   POSTS GRID
   ============================================================ */

.blog-grid__cards {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 24px;
	margin-top: 32px;
}
@media (min-width: 640px) {
	.blog-grid__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.blog-grid__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.blog-card {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(66, 27, 73, 0.06);
	transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}
.blog-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 56px rgba(66, 27, 73, 0.14);
	border-color: rgba(201, 86, 28, 0.3);
}

.blog-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	display: block;
	background: var(--brand-primary);
}
.blog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}
.blog-card:hover .blog-card__media img { transform: scale(1.05); }

.blog-card__tag {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	font-family: var(--font-body);
	font-size: 9px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(0, 0, 0, 0.55);
	padding: 6px 12px;
	border-radius: 999px;
	backdrop-filter: blur(6px);
}

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

.blog-card__title {
	font-family: var(--font-display);
	font-size: 19px;
	font-weight: 500;
	line-height: 1.25;
	color: var(--brand-primary);
	letter-spacing: -0.01em;
	margin: 0 0 10px;
}
.blog-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s var(--ease);
}
.blog-card__title a:hover { color: var(--brand-secondary); }

.blog-card__excerpt {
	font-size: 14px;
	line-height: 1.65;
	color: var(--brand-text);
	font-weight: 300;
	margin: 0 0 14px;
	flex: 1;
}

.blog-card__meta {
	display: flex;
	gap: 6px;
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--brand-text);
	font-weight: 500;
}


/* ============================================================
   SINGLE POST
   ============================================================ */

.post-hero {
	position: relative;
	min-height: 60vh;
	min-height: 60dvh;
	display: flex;
	align-items: flex-end;
	color: #fff;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(100px, 16vh, 180px) 0 clamp(40px, 6vh, 70px);
}

.post-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}
.post-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: heroZoom 16s var(--ease) forwards;
}

.post-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 30%, rgba(40, 14, 48, 0.92) 100%),
		linear-gradient(180deg, rgba(40, 14, 48, 0.55) 0%, rgba(40, 14, 48, 0.20) 50%, rgba(40, 14, 48, 0) 100%);
}

.post-hero__inner { max-width: 820px; position: relative; }

.post-hero__crumbs {
	font-size: 12px;
	letter-spacing: 0.12em;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 18px;
}
.post-hero__crumbs a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.post-hero__crumbs a:hover { color: var(--brand-secondary); }
.post-hero__crumbs span { margin: 0 8px; opacity: 0.55; }

.post-hero__tag {
	display: inline-block;
	font-family: var(--font-body);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--brand-secondary);
	background: rgba(201, 86, 28, 0.18);
	padding: 8px 16px;
	border-radius: 999px;
	text-decoration: none;
	margin-bottom: 18px;
	transition: all 0.2s var(--ease);
}
.post-hero__tag:hover {
	background: var(--brand-secondary);
	color: #fff;
}

.post-hero__title {
	font-family: var(--font-display);
	font-size: clamp(34px, 5.4vw, 64px);
	line-height: 1.05;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 0 0 16px;
	text-wrap: balance;
}

.post-hero__lede {
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 22px;
	font-weight: 300;
	max-width: 680px;
}

.post-hero__meta {
	display: flex;
	gap: 8px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
	font-weight: 500;
}


/* Body layout with sticky share rail */
.post-body__layout {
	display: grid;
	grid-template-columns: 60px minmax(0, 1fr);
	gap: clamp(20px, 4vw, 56px);
	max-width: 820px;
	margin: 0 auto;
}
@media (max-width: 720px) {
	.post-body__layout { grid-template-columns: 1fr; }
}

.post-share {
	position: sticky;
	top: 120px;
	align-self: start;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: center;
	padding-top: 6px;
}
@media (max-width: 720px) {
	.post-share { flex-direction: row; position: static; }
}

.post-share__label {
	font-family: var(--font-body);
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	font-weight: 600;
	color: var(--brand-primary);
	writing-mode: vertical-rl;
	transform: rotate(180deg);
	margin-bottom: 8px;
}
@media (max-width: 720px) {
	.post-share__label { writing-mode: horizontal-tb; transform: none; margin: 0; }
}

.post-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--surface-soft);
	color: var(--brand-primary);
	transition: all 0.2s var(--ease);
}
.post-share__btn:hover {
	background: var(--brand-secondary);
	color: #fff;
	transform: translateY(-2px);
}
.post-share__btn svg { width: 16px; height: 16px; }


/* Article content typography */
.post-content {
	max-width: none;
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.75;
	color: var(--brand-text);
}
.post-content p,
.post-content ul,
.post-content ol,
.post-content blockquote {
	margin: 0 0 1.4em;
}
.post-content h2 {
	font-family: var(--font-display);
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 500;
	color: var(--brand-primary);
	letter-spacing: -0.01em;
	margin: 2em 0 0.6em;
	line-height: 1.2;
}
.post-content h3 {
	font-family: var(--font-display);
	font-size: clamp(20px, 2.4vw, 24px);
	font-weight: 500;
	color: var(--brand-primary);
	margin: 1.6em 0 0.5em;
	line-height: 1.3;
}
.post-content strong { color: var(--brand-primary); font-weight: 600; }
.post-content em { font-style: italic; }
.post-content a {
	color: var(--brand-secondary);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color 0.2s var(--ease);
}
.post-content a:hover { color: var(--brand-primary); }

.post-content ol,
.post-content ul {
	padding-left: 1.5em;
}
.post-content li { margin-bottom: 0.5em; }
.post-content li::marker { color: var(--brand-secondary); font-weight: 600; }

.post-content blockquote {
	margin: 2em 0;
	padding: 1.4em 1.6em;
	background: var(--surface-soft);
	border-left: 4px solid var(--brand-secondary);
	border-radius: 0 12px 12px 0;
	font-family: var(--font-display);
	font-size: 1.1em;
	color: var(--brand-primary);
	font-weight: 500;
	font-style: italic;
	line-height: 1.45;
}

.post-content img {
	border-radius: 12px;
	margin: 2em auto;
}


/* End-of-article CTA strip */
.post-cta-strip {
	max-width: 820px;
	margin: 56px auto 0;
	padding: 36px 32px;
	background: linear-gradient(135deg, var(--brand-primary) 0%, #2f1135 100%);
	color: #fff;
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	align-items: center;
	text-align: center;
}
.post-cta-strip__title {
	font-family: var(--font-display);
	font-size: 22px;
	font-weight: 500;
	color: #fff;
	margin: 0;
	letter-spacing: -0.01em;
}
.post-cta-strip__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}
.post-cta-strip .btn--outline {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.45);
}
.post-cta-strip .btn--outline:hover {
	background: #fff;
	color: var(--brand-primary);
	border-color: #fff;
}
