.afw-body #main-content.afw-page {
	padding: 0;
	background: #fff;
}

.afw-page {
	color: #1c1c1c;
	font-size: 17px;
	line-height: 1.7;
}

.afw-page h2 {
	margin: 0 0 22px;
	font-family: "Playfair Display", Georgia, serif;
	font-weight: 500;
	font-size: 42px;
	line-height: 1.2;
	letter-spacing: 0;
}

.afw-page p {
	margin: 0 0 18px;
}

.afw-wrap {
	width: min(1120px, calc(100% - 48px));
	margin: 0 auto;
}

.afw-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.afw-hero img {
	display: block;
	width: 100%;
	height: auto;
}

.afw-intro,
.afw-close {
	background: #0c2342;
	color: #fff;
	text-align: center;
	padding: 88px 0 80px;
}

.afw-intro h2,
.afw-close h2 {
	color: #fff;
}

.afw-intro .afw-wrap,
.afw-close .afw-wrap,
.afw-center {
	max-width: 860px;
}

.afw-button {
	display: inline-block;
	margin-top: 14px;
	padding: 12px 28px;
	border: 1px solid #fff;
	color: #fff;
	background: transparent;
	font-size: 16px;
	line-height: 1.3;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.afw-button:hover,
.afw-button:focus {
	background: #fff;
	color: #0c2342;
}

.afw-sergio {
	padding: 88px 0;
	background: #fff;
}

.afw-sergio .afw-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 56px;
	align-items: center;
	width: min(1120px, calc(100% - 48px));
	max-width: none;
}

.afw-sergio h2 {
	color: #142033;
}

.afw-sergio-photo {
	margin: 0;
	position: relative;
}

.afw-sergio-photo img {
	display: block;
	width: 100%;
	height: auto;
}

.afw-sergio-photo figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 48px 22px 18px;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
	color: #fff;
	font-size: 15px;
	line-height: 1.3;
}

.afw-sergio-photo strong {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 22px;
	font-weight: 500;
}

.afw-wineries {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 560px;
	background: #163018 url("assets/vinedo.jpg") center 42% / cover no-repeat;
	color: #fff;
}

.afw-wineries::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(7, 16, 28, 0.78) 0%, rgba(7, 16, 28, 0.42) 40%, rgba(7, 16, 28, 0.08) 70%, rgba(7, 16, 28, 0) 100%);
}

.afw-wineries .afw-wrap {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 480px) 1fr;
	width: min(1120px, calc(100% - 48px));
	padding: 80px 0;
}

.afw-wineries h2,
.afw-wineries p {
	color: #fff;
}

.afw-logo-band {
	background: #fff;
	padding: 36px 0 28px;
}

.afw-restaurants {
	background: #fff;
	padding: 28px 0 72px;
}

.afw-restaurants h2 {
	color: #142033;
}

.afw-logos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 18px 36px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.afw-logos li {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 168px;
	min-height: 78px;
}

.afw-logos img {
	display: block;
	max-width: 150px;
	max-height: 64px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.afw-logos a {
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease;
}

.afw-logos a:hover,
.afw-logos a:focus {
	opacity: 0.55;
}

.afw-signature {
	margin-top: 28px;
	margin-bottom: 0;
}

.afw-signature strong,
.afw-signature span,
.afw-signature a {
	display: block;
}

.afw-signature strong {
	font-family: "Playfair Display", Georgia, serif;
	font-size: 22px;
	font-weight: 500;
}

.afw-signature a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 800px) {
	.afw-page h2 {
		font-size: 32px;
	}

	.afw-hero img {
		height: auto;
		object-fit: contain;
	}

	.afw-intro,
	.afw-close,
	.afw-sergio {
		padding: 56px 0;
	}

	.afw-sergio .afw-wrap,
	.afw-wineries .afw-wrap {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.afw-wineries {
		min-height: 0;
		background-position: center center;
	}

	.afw-wineries::before {
		background: rgba(7, 16, 28, 0.46);
	}

	.afw-wineries .afw-wrap {
		padding: 56px 0;
	}

	.afw-logos li {
		width: calc(50% - 18px);
	}
}
