/* ==================================================================== *
 * BLOG PAGE WIDGET
 * ==================================================================== */

.wl-blog {
	padding: 48px 0 80px;
}

.wl-blog__intro {
	text-align: center;
	margin: 0 0 48px;
}

.wl-blog__eyebrow {
	margin: 0 0 14px;
	font-size: 12px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--wl-rose);
}

.wl-blog__title {
	font-family: var(--wl-font-display);
	font-size: clamp(36px, 5.2vw, 64px);
	line-height: 1.1;
	margin: 0;
	font-weight: 500;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--wl-dark);
}

.wl-blog__label {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 28px;
}

.wl-blog__label-text {
	font-family: var(--wl-font-display);
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 400;
	line-height: 1.2;
	color: var(--wl-ink);
	white-space: nowrap;
}

.wl-blog__label-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #6b9ec4;
	flex-shrink: 0;
}

.wl-blog__label-line {
	flex: 1;
	height: 1px;
	background: var(--wl-line);
	min-width: 24px;
}

.wl-blog__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
	align-items: stretch;
}

.wl-blog__grid > .wl-empty {
	grid-column: 1 / -1;
}

.wl-blog-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e8e4e0;
	overflow: hidden;
}

.wl-blog-card__media {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eee;
}

.wl-blog-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.wl-blog-card:hover .wl-blog-card__media img {
	transform: scale(1.06);
}

.wl-blog-card__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 18px 18px 22px;
	flex: 1;
}

.wl-blog-card__title {
	margin: 0 0 10px;
	font-size: clamp(18px, 1.5vw, 22px);
	font-weight: 700;
	line-height: 1.3;
}

.wl-blog-card__title a {
	color: var(--wl-ink);
	text-decoration: none;
	transition: color 0.25s ease;
}

.wl-blog-card__title a:hover {
	color: var(--wl-rose);
}

.wl-blog-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin: 0 0 12px;
	font-size: 13px;
	color: var(--wl-muted);
}

.wl-blog-card__meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.wl-blog-card__meta svg {
	width: 14px;
	height: 14px;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.5;
	flex-shrink: 0;
}

.wl-blog-card__excerpt {
	margin: 0 0 16px;
	font-size: 15px;
	line-height: 1.6;
	color: #4a4a4a;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.wl-blog-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	padding: 9px 18px;
	border: 1px solid var(--wl-ink);
	background: #fff;
	color: var(--wl-ink);
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.wl-blog-card__btn:hover {
	background: var(--wl-rose);
	border-color: var(--wl-rose);
	color: #fff;
}

.wl-blog__pages {
	margin-top: 48px;
}

.wl-blog__pages ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wl-blog__pages a,
.wl-blog__pages span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--wl-line);
	color: var(--wl-ink);
	text-decoration: none;
	font-size: 14px;
}

.wl-blog__pages .current {
	background: var(--wl-rose);
	border-color: var(--wl-rose);
	color: #fff;
}

.wl-blog__pages a:hover {
	border-color: var(--wl-rose);
	color: var(--wl-rose);
}

