/* -------------------------------------------------------------------------- */
/* Blog — basic 3-column list + single                                        */
/* -------------------------------------------------------------------------- */

.blog-page {
	background: #05051e;
	color: #f9f9ff;
}

.blog-hero {
	position: relative;
	z-index: 2;
	padding: clamp(100px, 12vw, 140px) var(--ykg-gutter) clamp(48px, 6vw, 72px);
	background: #05051e;
	text-align: center;
	overflow: visible;
}

.blog-hero--single {
	padding-bottom: clamp(40px, 6vw, 64px);
	text-align: left;
}

.blog-hero--single .blog-hero__inner {
	width: min(100%, 760px);
	margin-left: auto;
	margin-right: auto;
}

.blog-hero__inner {
	width: min(100%, 640px);
	margin: 0 auto;
}

.blog-hero__eyebrow {
	margin: 0 0 10px;
	font-family: var(--ykg-font);
	font-size: 0.9rem;
	font-weight: 500;
	color: rgba(249, 249, 255, 0.5);
}

.blog-hero__eyebrow a {
	color: inherit;
	text-decoration: none;
}

.blog-hero__eyebrow a:hover,
.blog-hero__eyebrow a:focus-visible {
	color: #2cac66;
}

.blog-hero__title {
	margin: 0 0 12px;
	font-family: var(--ykg-font);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: #fff;
}

.blog-hero--single .blog-hero__title {
	font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}

.blog-hero__lead {
	margin: 0 auto;
	max-width: 28rem;
	font-family: var(--ykg-font);
	font-size: 1rem;
	line-height: 1.55;
	color: rgba(249, 249, 255, 0.55);
}

.blog-hero__meta {
	margin: 0;
	font-family: var(--ykg-font);
	font-size: 0.95rem;
	color: rgba(249, 249, 255, 0.5);
}

.blog-hero__dot {
	margin: 0 0.35em;
}

.blog-hero__bottom-join {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 5;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	height: 29px;
	transform: translateY(calc(100% - 2px));
	color: #05051e;
	pointer-events: none;
	line-height: 0;
}

.blog-hero__bottom-join svg {
	display: block;
	width: min(527px, 92vw);
	height: auto;
	aspect-ratio: 527 / 29;
	transform: scaleY(-1);
}

/* -------------------------------------------------------------------------- */
/* Grid — 3 equal boxes                                                       */
/* -------------------------------------------------------------------------- */

.blog-main {
	position: relative;
	z-index: 1;
	padding: clamp(56px, 7vw, 88px) var(--ykg-gutter) clamp(56px, 7vw, 96px);
	background: #f4f4f4;
	color: #05051e;
}

.blog-main__inner {
	width: min(100%, calc(var(--ykg-container-max) + 40px));
	margin: 0 auto;
}

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

.blog-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border: 1px solid #d9d9d9;
	overflow: hidden;
}

.blog-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #12122a;
	text-decoration: none;
}

.blog-card__media img,
.blog-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-card__placeholder {
	background: linear-gradient(145deg, #12122a, #163528 55%, #05051e);
}

.blog-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 18px 18px 20px;
}

.blog-card__meta {
	margin: 0 0 8px;
	font-family: var(--ykg-font);
	font-size: 0.8rem;
	color: rgba(5, 5, 30, 0.45);
}

.blog-card__title {
	margin: 0 0 10px;
	font-family: var(--ykg-font);
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.3;
}

.blog-card__title a {
	color: #05051e;
	text-decoration: none;
}

.blog-card__title a:hover,
.blog-card__title a:focus-visible {
	color: #2cac66;
}

.blog-card__excerpt {
	margin: 0 0 16px;
	font-family: var(--ykg-font);
	font-size: 0.92rem;
	line-height: 1.5;
	color: rgba(5, 5, 30, 0.55);
	flex: 1 1 auto;
}

.blog-card__more {
	align-self: flex-start;
	margin-top: auto;
	font-family: var(--ykg-font);
	font-size: 0.9rem;
	font-weight: 600;
	color: #2cac66;
	text-decoration: none;
}

.blog-card__more:hover,
.blog-card__more:focus-visible {
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* -------------------------------------------------------------------------- */
/* Empty + buttons                                                            */
/* -------------------------------------------------------------------------- */

.blog-empty {
	text-align: center;
	padding: 48px 16px;
}

.blog-empty__text {
	margin: 0 auto 24px;
	max-width: 24rem;
	font-family: var(--ykg-font);
	font-size: 1rem;
	line-height: 1.55;
	color: rgba(5, 5, 30, 0.55);
}

.blog-empty__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.blog-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	border-radius: 999px;
	font-family: var(--ykg-font);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
}

.blog-btn--primary {
	background: #2cac66;
	color: #fff;
	border: 1px solid #2cac66;
}

.blog-btn--primary:hover,
.blog-btn--primary:focus-visible {
	background: #249657;
	border-color: #249657;
	color: #fff;
}

.blog-btn--ghost {
	background: transparent;
	color: #05051e;
	border: 1px solid rgba(5, 5, 30, 0.22);
}

.blog-btn--ghost:hover,
.blog-btn--ghost:focus-visible {
	border-color: #05051e;
}

/* -------------------------------------------------------------------------- */
/* Pagination                                                                 */
/* -------------------------------------------------------------------------- */

.blog-pagination,
.navigation.pagination {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid #d9d9d9;
}

.blog-pagination .nav-links,
.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.blog-pagination .page-numbers,
.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0 10px;
	font-family: var(--ykg-font);
	font-size: 0.9rem;
	font-weight: 500;
	color: rgba(5, 5, 30, 0.55);
	text-decoration: none;
	border: 1px solid transparent;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers:focus-visible,
.navigation.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:focus-visible {
	color: #05051e;
	border-color: #d9d9d9;
}

.blog-pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
	color: #fff;
	background: #05051e;
	border-color: #05051e;
}

/* -------------------------------------------------------------------------- */
/* Single article                                                             */
/* -------------------------------------------------------------------------- */

.blog-article {
	position: relative;
	z-index: 1;
	padding: clamp(48px, 7vw, 80px) var(--ykg-gutter) clamp(40px, 5vw, 64px);
	background: #f4f4f4;
	color: #05051e;
}

.blog-article__inner {
	width: min(100%, 720px);
	margin: 0 auto;
}

.blog-article__figure {
	margin: 0 0 28px;
	overflow: hidden;
}

.blog-article__figure img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.blog-article__content {
	font-family: var(--ykg-font);
	font-size: 1.05rem;
	line-height: 1.7;
	color: rgba(5, 5, 30, 0.78);
}

.blog-article__content > *:first-child {
	margin-top: 0;
}

.blog-article__content h2,
.blog-article__content h3 {
	margin: 1.5em 0 0.5em;
	font-weight: 500;
	letter-spacing: -0.02em;
	color: #05051e;
}

.blog-article__content p,
.blog-article__content ul,
.blog-article__content ol {
	margin: 0 0 1.1em;
}

.blog-article__content a {
	color: #2cac66;
}

.blog-article__content img {
	max-width: 100%;
	height: auto;
}

.blog-article__footer {
	margin-top: 36px;
	padding-top: 20px;
	border-top: 1px solid #d9d9d9;
}

.blog-article__back {
	font-family: var(--ykg-font);
	font-size: 0.95rem;
	font-weight: 600;
	color: #2cac66;
	text-decoration: none;
}

.blog-article__back:hover,
.blog-article__back:focus-visible {
	text-decoration: underline;
}

.blog-related {
	padding: 0 var(--ykg-gutter) clamp(64px, 8vw, 96px);
	background: #f4f4f4;
}

.blog-related__inner {
	width: min(100%, calc(var(--ykg-container-max) + 40px));
	margin: 0 auto;
	padding-top: 28px;
	border-top: 1px solid #d9d9d9;
}

.blog-related__title {
	margin: 0 0 24px;
	font-family: var(--ykg-font);
	font-size: 1.35rem;
	font-weight: 500;
	color: #05051e;
}

body.blog,
body.single-post,
body.category,
body.tag,
body.author,
body.page-template-page-blog-php,
body.blog .site-footer,
body.single-post .site-footer,
body.category .site-footer,
body.tag .site-footer,
body.author .site-footer,
body.page-template-page-blog-php .site-footer {
	background: #05051e;
}

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

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