/* ==========================================================================
   Vesti (blog) — listing page + single post
   ========================================================================== */

/* --- Hero (listing page) -------------------------------------------------- */

.vesti-hero {
	background-color: var(--heading-color);
	padding: 150px 0 70px;
	text-align: center;
}

.vesti-hero .vesti-eyebrow {
	color: var(--border-color) !important;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.vesti-hero .hero-title {
	color: #fff !important;
	margin-top: 10px;
}

.vesti-hero-subtitle {
	color: #B4B9C9 !important;
	font-size: 16px !important;
	line-height: 26px !important;
	max-width: 620px;
	margin: 16px auto 0 !important;
}

/* --- Section wrapper + grid ------------------------------------------------ */

.vesti-section {
	padding: 60px 0 120px;
}

.vesti-empty {
	text-align: center;
	padding: 40px 0;
}

.vesti-grid {
	margin-top: 4px;
}

/* --- Card -------------------------------------------------------------- */

.vesti-card {
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 30px rgba(21, 23, 67, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vesti-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(21, 23, 67, 0.12);
}

.vesti-card-image {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: var(--background-color);
}

.vesti-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.vesti-card:hover .vesti-card-image img {
	transform: scale(1.06);
}

.vesti-card-category {
	position: absolute;
	top: 16px;
	left: 16px;
	background: var(--border-color);
	color: #151743;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 6px 14px;
	border-radius: 30px;
}

.vesti-card-body {
	padding: 24px 26px 28px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.vesti-card-date {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px !important;
	color: #8b8f9c !important;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 10px;
}

.vesti-card-title {
	font-size: 22px !important;
	line-height: 28px !important;
	text-transform: none;
	margin: 0 0 12px !important;
}

.vesti-card-title a {
	color: var(--heading-color);
	text-decoration: none;
	transition: color 0.25s ease;
}

.vesti-card-title a:hover {
	color: var(--border-color);
}

.vesti-card-excerpt {
	flex: 1;
	font-size: 14px !important;
	line-height: 22px !important;
	color: var(--text-color) !important;
	margin-bottom: 18px !important;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-height: 66px;
}

.vesti-card-link {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--border-color);
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
}

.vesti-card-link svg {
	transition: transform 0.25s ease;
}

.vesti-card-link:hover svg {
	transform: translateX(4px);
}

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

.vesti-pagination {
	margin-top: 56px;
}

.vesti-pagination .page-link {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 4px;
	border-radius: 50%;
	border: 1px solid var(--border-color);
	color: var(--heading-color);
	background: transparent;
}

.vesti-pagination .page-item.active .page-link {
	background: var(--heading-color);
	border-color: var(--heading-color);
	color: #fff;
}

.vesti-pagination .page-item.disabled .page-link {
	opacity: 0.4;
}

/* --- Single post hero ------------------------------------------------------ */

.vesti-single-hero {
	position: relative;
	min-height: 520px;
	display: flex;
	align-items: flex-end;
	background-color: var(--heading-color);
	background-size: cover;
	background-position: center;
}

.vesti-single-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(21, 23, 67, 0) 30%, rgba(21, 23, 67, 0.92) 100%);
}

.vesti-single-hero--plain {
	min-height: 320px;
}

.vesti-single-hero--plain::before {
	background: rgba(21, 23, 67, 0.15);
}

.vesti-single-hero .container {
	position: relative;
	z-index: 1;
	padding-bottom: 36px !important;
}

.vesti-single-category {
	display: inline-block;
	background: var(--border-color);
	color: #151743;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 6px 16px;
	border-radius: 30px;
	margin-bottom: 18px;
}

.vesti-single-title {
	color: #fff !important;
	margin: 0 !important;
	max-width: 820px;
}

.vesti-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 20px;
}

.vesti-single-meta span {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #E7E4D8;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* --- Single post body ------------------------------------------------------ */

.vesti-single-body {
	padding: 60px 0 30px;
}



.vesti-back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--border-color);
	text-decoration: none;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 36px;
}

.vesti-entry-content {
	font-size: 17px;
	line-height: 30px;
	color: var(--text-color);
}

.vesti-entry-content p {
	font-size: 17px !important;
	line-height: 30px !important;
	margin-bottom: 22px;
}

.vesti-entry-content h2 {
	font-size: 32px !important;
	line-height: 38px !important;
	margin: 44px 0 18px !important;
	text-transform: none;
}

.vesti-entry-content h3 {
	font-family: 'Cormorant Garamond', serif !important;
	font-size: 26px !important;
	line-height: 32px !important;
	font-weight: 600 !important;
	margin: 36px 0 16px !important;
	color: var(--heading-color) !important;
}

.vesti-entry-content ul,
.vesti-entry-content ol {
	margin-bottom: 22px;
	padding-left: 22px;
}

.vesti-entry-content li {
	font-size: 17px !important;
	line-height: 28px !important;
	color: var(--text-color) !important;
}

.vesti-entry-content a {
	color: var(--border-color);
	text-decoration: underline;
}

.vesti-entry-content img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	display: block;
}

.vesti-entry-content figure {
	margin: 32px 0;
}

.vesti-entry-content figcaption {
	text-align: center;
	font-style: italic;
	font-size: 13px !important;
	color: #8b8f9c !important;
	margin-top: 10px;
}

.vesti-entry-content .wp-block-gallery,
.vesti-entry-content .blocks-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	list-style: none;
	padding: 0;
	margin: 32px 0;
}

.vesti-entry-content .wp-block-gallery img,
.vesti-entry-content .blocks-gallery-grid img {
	height: 100%;
	object-fit: cover;
}

.vesti-entry-content blockquote {
	border-left: 3px solid var(--border-color);
	padding: 6px 0 6px 24px;
	margin: 32px 0;
	font-family: 'Cormorant Garamond', serif;
	font-size: 24px !important;
	line-height: 34px !important;
	font-style: italic;
	color: var(--heading-color) !important;
}

/* --- Tags -------------------------------------------------------------- */

.vesti-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgba(21, 23, 67, 0.1);
}

.vesti-tags a {
	border: 1px solid var(--border-color);
	color: var(--heading-color);
	border-radius: 30px;
	padding: 6px 16px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.vesti-tags a:hover {
	background: var(--border-color);
	color: #fff;
}

/* --- Related posts ------------------------------------------------------- */

.vesti-related {
	padding: 20px 0 110px;
}

.vesti-related-title {
	text-align: center;
	text-transform: uppercase;
	font-size: 32px !important;
	margin-bottom: 40px !important;
}

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

@media screen and (max-width: 768px) {
	.vesti-hero {
		padding: 120px 0 50px;
	}

	.vesti-single-hero {
		min-height: 380px;
	}

	.vesti-single-title {
		font-size: 34px !important;
		line-height: 38px !important;
	}

	.vesti-single-meta {
		gap: 14px;
	}

	.vesti-entry-content,
	.vesti-entry-content p,
	.vesti-entry-content li {
		font-size: 16px !important;
		line-height: 26px !important;
	}
}
.vesti-author {
	display: none !important;
}