/* Luxury Blog Grid - Classic (light) layout: [classic_blog_grid] / [classic_featured_post]
 * Scoped to .lbg-classic so the luxury grid is not affected. */

.lbg-wrap.lbg-classic {
	padding-top: 56px;
	padding-bottom: 64px;
	color: var(--lbgc-text);
	/* Section background runs edge to edge while the content stays centred. */
	box-shadow: 0 0 0 100vmax var(--lbg-wrap-bg, transparent);
	clip-path: inset(0 -100vmax);
}
.lbg-wrap.lbg-classic.lbg-classic--hero-only { padding-bottom: 40px; }

.lbg-classic .lbg-ico {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------- Featured (newest post) hero ---------- */
.lbg-classic .lbg-chero {
	display: grid;
	grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr);
	gap: clamp(26px, 3.4vw, 56px);
	align-items: center;
	margin: 0 0 clamp(48px, 5vw, 80px);
	padding: 14px;
	border: 1px solid var(--lbgc-border);
	border-radius: calc(var(--lbgc-radius) + 6px);
	background: var(--lbgc-card);
	box-shadow: 0 24px 50px -34px rgba(60, 40, 20, .35);
}
.lbg-classic--hero-only .lbg-chero { margin-bottom: 0; }
.lbg-classic .lbg-chero__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: var(--lbgc-radius);
	background: #d9cfc2;
}
.lbg-classic .lbg-chero__media img,
.lbg-classic .lbg-chero__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
	transition: transform .9s ease;
}
.lbg-classic .lbg-chero__badge {
	position: absolute;
	top: 18px;
	left: 18px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 15px;
	border-radius: 999px;
	background: var(--lbgc-accent);
	font-family: var(--lbg-font-b);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .02em;
	color: #fff;
	box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45);
}
.lbg-classic .lbg-chero__badge .lbg-ico { width: 14px; height: 14px; fill: currentColor; stroke-width: 1; }
.lbg-classic .lbg-chero__body { padding: 18px clamp(8px, 2vw, 34px) 18px 0; }
.lbg-classic .lbg-chero__cat {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 18px;
	font-family: var(--lbg-font-b);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--lbgc-accent);
}
.lbg-classic .lbg-chero__cat::before {
	content: "";
	width: 42px;
	height: 1px;
	background: var(--lbgc-accent-line);
}
.lbg-classic .lbg-chero__title {
	margin: 0 0 18px;
	padding: 0;
	font-family: var(--lbg-font-h);
	font-size: var(--lbgc-hero-size);
	font-weight: 500;
	font-style: normal;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: none;
	color: var(--lbgc-title);
}
.lbg-classic .lbg-chero__title a,
.lbg-classic .lbg-chero__title a:hover,
.lbg-classic .lbg-chero__title a:focus { color: inherit; text-decoration: none; box-shadow: none; }
.lbg-classic .lbg-chero__title span { color: var(--lbgc-hl); }
.lbg-classic .lbg-chero__excerpt {
	margin: 0 0 22px;
	font-family: var(--lbg-font-b);
	font-size: 16px;
	line-height: 1.75;
	color: var(--lbgc-text);
}
.lbg-classic .lbg-chero__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 26px;
	margin: 0 0 28px;
	font-family: var(--lbg-font-b);
	font-size: 14px;
	color: var(--lbgc-text);
}
.lbg-classic .lbg-chero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.lbg-classic .lbg-chero__meta .lbg-ico { width: 17px; height: 17px; color: var(--lbgc-accent); }
.lbg-classic .lbg-chero__btn,
.lbg-classic .lbg-chero__btn:hover,
.lbg-classic .lbg-chero__btn:focus {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 15px 28px;
	border-radius: 999px;
	background: var(--lbgc-accent);
	font-family: var(--lbg-font-b);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 14px 28px -14px var(--lbgc-accent);
	transition: transform .3s ease, filter .3s ease;
}
.lbg-classic .lbg-chero__btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.lbg-classic.lbg-hover .lbg-chero:hover .lbg-chero__media img { transform: scale(1.04); }

/* ---------- Section heading + search ---------- */
.lbg-classic .lbg-chead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 22px 40px;
	margin: 0 0 clamp(28px, 3vw, 44px);
}
.lbg-classic .lbg-chead__label {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 12px;
	font-family: var(--lbg-font-b);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--lbgc-accent);
}
.lbg-classic .lbg-chead__label::before {
	content: "";
	width: 42px;
	height: 1px;
	background: var(--lbgc-accent-line);
}
.lbg-classic .lbg-chead__title {
	margin: 0;
	padding: 0;
	font-family: var(--lbg-font-h);
	font-size: var(--lbgc-head-size);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: 0;
	text-transform: none;
	color: var(--lbgc-title);
}
.lbg-classic .lbg-chead__title span { color: var(--lbgc-hl); }
.lbg-classic .lbg-chead__search {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 340px;
	margin: 0;
}
.lbg-classic .lbg-chead__search input[type="search"] {
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 52px 0 22px;
	border: 1px solid var(--lbgc-border);
	border-radius: 999px;
	background: var(--lbgc-card);
	font-family: var(--lbg-font-b);
	font-size: 14px;
	color: var(--lbgc-title);
	box-shadow: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}
.lbg-classic .lbg-chead__search input[type="search"]::placeholder { color: var(--lbgc-text); opacity: .75; }
.lbg-classic .lbg-chead__search input[type="search"]:focus { border-color: var(--lbgc-accent); }
.lbg-classic .lbg-chead__search button {
	position: absolute;
	top: 5px;
	right: 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--lbgc-accent);
	color: #fff;
	cursor: pointer;
}
.lbg-classic .lbg-chead__search button .lbg-ico { width: 17px; height: 17px; }
.lbg-classic .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- Cards ---------- */
.lbg-classic .lbg-item { container-type: normal; }
.lbg-classic .lbg-ccard {
	display: flex;
	flex-direction: column;
	height: 100%;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--lbgc-border);
	border-radius: var(--lbgc-radius);
	background: var(--lbgc-card);
	box-shadow: 0 1px 2px rgba(60, 40, 20, .04);
	transition: transform .4s ease, box-shadow .4s ease;
}
.lbg-classic .lbg-ccard__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: var(--lbgc-ratio, 5 / 3);
	background: #d9cfc2;
}
.lbg-classic .lbg-ccard__media img,
.lbg-classic .lbg-ccard__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0;
	object-fit: cover;
	border-radius: 0;
	transition: transform .8s ease;
}
.lbg-classic .lbg-ccard__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: calc(var(--lbgc-pad) * .9) var(--lbgc-pad) calc(var(--lbgc-pad) * .78);
}
.lbg-classic .lbg-ccard__date {
	margin: 0 0 14px;
	font-family: var(--lbg-font-b);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--lbgc-accent);
}
.lbg-classic .lbg-ccard__date .lbg-sep { margin: 0 8px; }
.lbg-classic .lbg-ccard__title {
	margin: 0 0 16px;
	padding: 0;
	font-family: var(--lbg-font-h);
	font-size: var(--lbgc-title-size);
	font-weight: 500;
	font-style: normal;
	line-height: 1.15;
	letter-spacing: -.005em;
	text-transform: none;
	color: var(--lbgc-title);
}
.lbg-classic .lbg-ccard__title a,
.lbg-classic .lbg-ccard__title a:hover,
.lbg-classic .lbg-ccard__title a:focus { color: inherit; text-decoration: none; box-shadow: none; }
.lbg-classic .lbg-ccard__title span { color: var(--lbgc-hl); }
.lbg-classic .lbg-ccard__excerpt {
	margin: 0 0 26px;
	font-family: var(--lbg-font-b);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.75;
	color: var(--lbgc-text);
}
.lbg-classic .lbg-ccard__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
}
.lbg-classic .lbg-ccard__link,
.lbg-classic .lbg-ccard__link:hover,
.lbg-classic .lbg-ccard__link:focus {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--lbg-font-b);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	color: var(--lbgc-accent);
	text-decoration: none;
	box-shadow: none;
}
.lbg-classic .lbg-ccard__link .lbg-ico { width: 16px; height: 16px; transition: transform .3s ease; }
.lbg-classic .lbg-ccard__circle,
.lbg-classic .lbg-ccard__circle:hover,
.lbg-classic .lbg-ccard__circle:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-left: auto;
	border: 1.5px solid var(--lbgc-accent);
	border-radius: 50%;
	color: var(--lbgc-accent);
	text-decoration: none;
	box-shadow: none;
	transition: background .3s ease, color .3s ease;
}
.lbg-classic .lbg-ccard__circle .lbg-ico { width: 19px; height: 19px; }

.lbg-classic.lbg-hover .lbg-ccard:hover {
	transform: translateY(-4px);
	box-shadow: 0 22px 44px -26px rgba(60, 40, 20, .35);
}
.lbg-classic.lbg-hover .lbg-ccard:hover .lbg-ccard__media img { transform: scale(1.05); }
.lbg-classic.lbg-hover .lbg-ccard:hover .lbg-ccard__link .lbg-ico { transform: translateX(4px); }
.lbg-classic.lbg-hover .lbg-ccard:hover .lbg-ccard__circle { background: var(--lbgc-accent); color: #fff; }

/* ---------- Pagination (round) ---------- */
.lbg-wrap.lbg-classic .lbg-pagination { gap: 8px; margin-top: 56px; }
.lbg-wrap.lbg-classic .lbg-pg {
	min-width: 46px;
	height: 46px;
	padding: 0 4px;
	border-radius: 50%;
	font-size: 16px;
	font-weight: 500;
	color: var(--lbgc-title);
}
.lbg-wrap.lbg-classic a.lbg-pg:hover { border-color: var(--lbgc-accent-line); background: var(--lbgc-accent-soft); color: var(--lbgc-accent); }
.lbg-wrap.lbg-classic .lbg-pg.is-current {
	border-color: var(--lbgc-accent);
	background: var(--lbgc-accent);
	background-image: none;
	color: #fff;
	font-weight: 600;
	box-shadow: 0 10px 22px -10px var(--lbgc-accent);
}
.lbg-wrap.lbg-classic .lbg-pg--arrow { border-color: var(--lbgc-accent-line); color: var(--lbgc-accent); }
.lbg-wrap.lbg-classic .lbg-pg--arrow svg { width: 18px; height: 18px; }
.lbg-wrap.lbg-classic a.lbg-pg--arrow:hover { background: var(--lbgc-accent); border-color: var(--lbgc-accent); color: #fff; }
.lbg-wrap.lbg-classic .lbg-pg--arrow.is-disabled { opacity: .45; }
.lbg-wrap.lbg-classic .lbg-pg--prev { margin-right: 10px; }
.lbg-wrap.lbg-classic .lbg-pg--next { margin-left: 10px; }
.lbg-wrap.lbg-classic .lbg-pg--dots { padding: 0 6px 12px; font-size: 15px; }
.lbg-wrap.lbg-classic .lbg-pg-info { color: var(--lbgc-text); font-size: 15px; }
.lbg-wrap.lbg-classic .lbg-loadmore-wrap { margin-top: 56px; }
.lbg-wrap.lbg-classic .lbg-loadmore,
.lbg-wrap.lbg-classic .lbg-loadmore:hover,
.lbg-wrap.lbg-classic .lbg-loadmore:focus {
	height: 52px;
	border-color: var(--lbgc-accent);
	border-radius: 999px;
	font-size: 13px;
}
.lbg-wrap.lbg-classic .lbg-loadmore { background: transparent; color: var(--lbgc-accent); }
.lbg-wrap.lbg-classic .lbg-loadmore:hover { background: var(--lbgc-accent); color: #fff; }
.lbg-wrap.lbg-classic .lbg-empty { color: var(--lbgc-text); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.lbg-classic .lbg-chero { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
	.lbg-classic .lbg-chero { grid-template-columns: 1fr; gap: 6px; }
	.lbg-classic .lbg-chero__body { padding: 18px 12px 12px; }
	.lbg-classic .lbg-chead { align-items: flex-start; }
	.lbg-classic .lbg-chead__search { max-width: none; }
}
@media (max-width: 767px) {
	.lbg-wrap.lbg-classic { padding-top: 36px; padding-bottom: 44px; }
	.lbg-classic .lbg-ccard__body { padding: 22px 22px 22px; }
	.lbg-classic .lbg-ccard__title { font-size: 26px; }
	.lbg-wrap.lbg-classic .lbg-pagination { gap: 2px; margin-top: 36px; }
	.lbg-wrap.lbg-classic .lbg-pg { min-width: 38px; height: 38px; font-size: 15px; }
	.lbg-wrap.lbg-classic .lbg-pg--prev { margin-right: 6px; }
	.lbg-wrap.lbg-classic .lbg-pg--next { margin-left: 6px; }
}

@media (prefers-reduced-motion: reduce) {
	.lbg-classic .lbg-ccard,
	.lbg-classic .lbg-ccard__media img,
	.lbg-classic .lbg-chero__media img { transition: none; }
}
