/**
 * Visit Benalmádena — News front-end styles.
 * Matches the site's "quiet luxury editorial" system: cream paper, ink,
 * terracotta accent, hairline rules, spaced-capital labels, square corners.
 */

.vbn {
	font-family: var(--wp--preset--font-family--eb-garamond, Georgia, serif);
	color: #24333A;
	max-width: 100%;
}

/* Eyebrow label — Fraunces spaced capitals. */
.vbn-eyebrow {
	font-family: var(--wp--preset--font-family--fraunces, Georgia, serif);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #087EAE; /* quiet Mediterranean blue accent for labels */
	margin: 0 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(36, 51, 58, 0.2);
	display: inline-block;
}

/* ---------------- Full /news/ page ---------------- */
.vbn-news__hero {
	padding-bottom: 40px;
	margin-bottom: 48px;
	border-bottom: 1px solid rgba(36, 51, 58, 0.25);
}
.vbn-news__title {
	font-family: var(--wp--preset--font-family--fraunces, Georgia, serif);
	font-weight: 400;
	font-size: clamp(2rem, 5vw, 3.4rem);
	line-height: 1.05;
	margin: 0 0 18px;
	color: #24333A;
	max-width: 760px;
}
.vbn-news__intro {
	font-size: 1.12rem;
	line-height: 1.7;
	color: rgba(36, 51, 58, 0.82);
	max-width: 640px;
	margin: 0 0 14px;
}
.vbn-news__updated {
	font-family: var(--wp--preset--font-family--fraunces, Georgia, serif);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(36, 51, 58, 0.6);
	margin: 0;
}
.vbn-empty { font-size: 1.1rem; color: rgba(36, 51, 58, 0.75); }

.vbn-news__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 28px 40px;
}
.vbn-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	border-top: 1px solid rgba(36, 51, 58, 0.28);
	padding-top: 0;
}
.vbn-card__image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #ECE2D2;
	margin-bottom: 18px;
}
.vbn-card__eyebrow {
	font-family: var(--wp--preset--font-family--fraunces, Georgia, serif);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	display: flex;
	justify-content: space-between;
	gap: 12px;
	color: rgba(36, 51, 58, 0.65);
	margin: 0 0 12px;
}
.vbn-card__eyebrow time { color: #087EAE; }
.vbn-card__title {
	font-family: var(--wp--preset--font-family--fraunces, Georgia, serif);
	font-weight: 400;
	font-size: 1.28rem;
	line-height: 1.28;
	margin: 0 0 10px;
}
.vbn-card__title a { color: #24333A; text-decoration: none; }
.vbn-card__title a:hover { color: #D87854; }
.vbn-card__excerpt {
	font-size: 1.02rem;
	line-height: 1.65;
	color: rgba(36, 51, 58, 0.82);
	margin: 0 0 16px;
	flex-grow: 1;
}
.vbn-card__read { margin: 0 0 0 auto; }
.vbn-card__read a { text-decoration: none; }
.vbn-card__readlabel {
	position: relative;
	font-family: var(--wp--preset--font-family--fraunces, Georgia, serif);
	font-size: 0.7rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #D87854;
	padding-bottom: 3px;
}
.vbn-card__readlabel::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 1px;
	width: 100%;
	background: currentColor;
	transform-origin: left;
	transition: transform 600ms ease;
}
.vbn-card__read a:hover .vbn-card__readlabel::after {
	transform: scaleX(1);
}
.vbn-news__note {
	max-width: 720px;
	margin: 48px auto 0;
	padding-top: 22px;
	border-top: 1px solid rgba(36, 51, 58, 0.2);
	font-size: 0.95rem;
	line-height: 1.65;
	color: rgba(36, 51, 58, 0.62);
	text-align: center;
}

/* ---------------- Homepage "Latest news" ---------------- */
.vbn-latest {
	width: 100%;
	padding-top: 6px;
}
.vbn-latest__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}
.vbn-latest__all {
	font-family: var(--wp--preset--font-family--fraunces, Georgia, serif);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #D87854;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	padding-bottom: 2px;
	transition: border-color 600ms ease;
}
.vbn-latest__all:hover { border-color: #D87854; }
.vbn-latest__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 24px 40px;
}
.vbn-latest__item {
	border-top: 1px solid rgba(36, 51, 58, 0.28);
	padding-top: 14px;
}
.vbn-item__meta {
	font-family: var(--wp--preset--font-family--fraunces, Georgia, serif);
	font-size: 0.68rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #087EAE;
	margin: 0 0 8px;
}
.vbn-latest__title {
	font-family: var(--wp--preset--font-family--fraunces, Georgia, serif);
	font-weight: 400;
	font-size: 1.12rem;
	line-height: 1.35;
	margin: 0;
}
.vbn-latest__title a { color: #24333A; text-decoration: none; }
.vbn-latest__title a:hover { color: #D87854; }

/* ---------------- Responsive ---------------- */
@media (max-width: 700px) {
	.vbn-news__list { grid-template-columns: 1fr; gap: 26px; }
	.vbn-latest__list { grid-template-columns: 1fr; }
	.vbn-card__eyebrow { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
	.vbn-card__readlabel::after { transition: none; }
	.vbn-latest__all { transition: none; }
}
