/* Ristorante e spiaggia — intro + galleria sotto */

.page-ristorante {
	padding: 1.75rem 0 2.5rem;
	background-color: #f5f4f2;
}

.rs-intro {
	width: min(100% - 1.25rem, 72rem);
	margin: 0 auto;
}

.rs-intro__card {
	padding: 1.35rem 1.15rem 1.45rem;
	background: #fff;
	border: 1px solid rgba(31, 42, 55, 0.08);
	border-radius: 14px;
	box-shadow: 0 18px 48px rgba(20, 16, 12, 0.08);
}

.rs-intro__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: center;
}

.rs-intro__content {
	order: 1;
}

.rs-intro__media {
	order: 2;
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 11;
	border-radius: 12px;
	background: var(--bh-color-burgundy);
}

.rs-intro__line {
	display: block;
	width: 2.4rem;
	height: 1px;
	margin-bottom: 0.95rem;
	background: var(--bh-color-gold);
}

.rs-intro__eyebrow {
	margin: 0 0 0.65rem;
	font-family: var(--bh-font-serif);
	font-style: italic;
	font-size: 1.15rem;
	color: var(--bh-color-gold);
}

.rs-intro__title {
	margin: 0 0 1.15rem;
	font-family: var(--bh-font-serif);
	font-size: clamp(1.85rem, 3.2vw, 2.55rem);
	font-weight: 500;
	line-height: 1.15;
	color: var(--bh-color-dark);
}

.rs-intro__text {
	font-size: 1rem;
	line-height: 1.7;
	color: #5a544e;
	text-align: justify;
	hyphens: auto;
}

.rs-intro__text p {
	margin: 0 0 1rem;
}

.rs-intro__text > p:last-child {
	margin-bottom: 0;
}

.rs-intro__text > p:first-child::first-letter {
	float: left;
	margin: 0.12rem 0.45rem 0 0;
	font-family: var(--bh-font-serif);
	font-size: 3.2rem;
	font-weight: 500;
	line-height: 0.85;
	color: var(--bh-color-gold);
}

.rs-intro__cta {
	margin-top: 1.1rem;
}

.rs-intro__viewport,
.rs-intro__track {
	position: absolute;
	inset: 0;
}

.rs-intro__slide {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	transition: opacity 0.55s ease;
	pointer-events: none;
}

.rs-intro__slide.is-active {
	opacity: 1;
	pointer-events: auto;
}

.rs-intro__slide.is-placeholder {
	background:
		radial-gradient(circle at 30% 35%, rgba(var(--bh-color-gold-rgb), 0.22), transparent 48%),
		linear-gradient(155deg, #3a4452, var(--bh-color-dark));
}

.rs-intro__img,
.rs-intro__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rs-intro__controls {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 0.75rem;
	pointer-events: none;
}

.rs-intro__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.4rem;
	height: 2.4rem;
	color: #fff;
	border: 0;
	border-radius: 999px;
	background: rgba(20, 24, 30, 0.72);
	cursor: pointer;
	pointer-events: auto;
	transition: background 0.2s ease;
}

.rs-intro__arrow:hover,
.rs-intro__arrow:focus-visible {
	background: rgba(20, 24, 30, 0.9);
}

.rs-intro__pager {
	position: absolute;
	left: 50%;
	bottom: 0.85rem;
	display: flex;
	gap: 0.45rem;
	padding: 0.35rem 0.65rem;
	border-radius: 999px;
	background: rgba(20, 24, 30, 0.55);
	translate: -50% 0;
}

.rs-intro__pager-dot {
	width: 6px;
	height: 6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

.rs-intro__pager-dot.is-active {
	background: #fff;
}

@media (min-width: 900px) {
	.page-ristorante {
		padding: 2.75rem 0 5rem;
	}

	.rs-intro {
		width: min(100% - 2rem, 92rem);
	}

	.rs-intro__card {
		padding: 2.25rem 2.25rem 2.25rem 2.75rem;
		border-radius: 16px;
	}

	.rs-intro__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
		gap: 2.75rem;
	}

	.rs-intro__media {
		aspect-ratio: 5 / 4;
	}
}
