/*
Theme Name: Ferme du Luteau Child
Theme URI: https://fermeduluteau.fr/
Description: Child theme for Hello Elementor with a custom header for La Ferme du Luteau.
Author: Arev
Template: hello-elementor
Version: 1.0.1
Text Domain: fermeduluteau-child
*/

.arev-site-header {
	background: #000;
	border-bottom: 1px solid #b99757;
	color: #fff;
	width: 100%;
	position: relative;
	z-index: 1000;
}

.arev-site-header__inner {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	gap: 2.25rem;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1040px;
	min-height: 73px;
	padding: 0.35rem 1.25rem;
	width: 100%;
}

.arev-site-header__logo {
	align-items: center;
	display: inline-flex;
	flex: 0 0 auto;
	text-decoration: none;
}

.arev-site-header__logo-image {
	display: block;
	height: auto;
	max-width: 92px;
	width: 92px;
}

.arev-site-header__nav {
	align-items: center;
	display: flex;
	flex: 1 1 auto;
	justify-content: flex-end;
	min-width: 0;
}

.arev-site-header__menu {
	align-items: center;
	display: flex;
	flex-wrap: nowrap;
	gap: 1.95rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.arev-site-header__menu-item {
	line-height: 1;
	margin: 0;
	padding: 0;
}

.arev-site-header__menu-link {
	border-bottom: 2px solid transparent;
	color: rgba(255, 255, 255, 0.82);
	display: inline-block;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.2;
	padding: 0.15rem 0 0.28rem;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.arev-site-header__menu-link:hover,
.arev-site-header__menu-link:focus-visible {
	color: #fff;
}

.arev-site-header__menu-item.is-current .arev-site-header__menu-link {
	border-bottom-color: #c8a15a;
	color: #fff;
}

.arev-site-header__nav--mobile {
	display: none;
}

.arev-site-header__toggle {
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 6px;
	list-style: none;
	padding: 0.5rem;
}

.arev-site-header__toggle::-webkit-details-marker {
	display: none;
}

.arev-site-header__toggle span {
	background: #fff;
	display: block;
	height: 2px;
	width: 30px;
}

@media (max-width: 1024px) {
	.arev-site-header__inner {
		max-width: 100%;
		padding: 0.45rem 1rem;
	}

	.arev-site-header__logo-image {
		max-width: 88px;
		width: 88px;
	}

	.arev-site-header__menu {
		gap: 1.2rem;
	}
}

@media (max-width: 900px) {
	.arev-site-header {
		border-bottom: 0;
	}

	.arev-site-header__inner {
		min-height: 188px;
		padding: 1.45rem 2.2rem;
	}

	.arev-site-header__logo-image {
		max-width: 132px;
		width: 132px;
	}

	.arev-site-header__nav--desktop {
		display: none;
	}

	.arev-site-header__nav--mobile {
		display: block;
		flex: 0 0 auto;
		position: relative;
	}

	.arev-site-header__nav--mobile[open] .arev-site-header__menu {
		display: flex;
	}

	.arev-site-header__nav--mobile .arev-site-header__menu {
		background: #000;
		display: none;
		flex-direction: column;
		gap: 0.85rem;
		min-width: 190px;
		padding: 1rem;
		position: absolute;
		right: 0;
		top: calc(100% + 0.75rem);
		z-index: 20;
	}

	.arev-site-header__menu-link {
		font-size: 16px;
	}
}

.arev-site-footer {
	background: #fff;
	color: #000;
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	line-height: 1.3;
	padding: 16px 0;
	width: 100%;
}

.arev-site-footer__inner {
	box-sizing: border-box;
	display: grid;
	grid-template-columns: 1fr;
	margin: 0 auto;
	max-width: 1224px;
	min-height: 107px;
	padding: 8px 77px 0;
	row-gap: 12px;
	width: 100%;
}

.arev-site-footer p {
	margin: 0;
}

.arev-site-footer a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.arev-site-footer__address {
	font-size: 14px;
	text-align: left;
}

.arev-site-footer__bottom {
	align-items: end;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.arev-site-footer__contact {
	align-items: end;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 22px;
	justify-content: start;
}

.arev-site-footer__phone {
	font-size: 16px;
	white-space: nowrap;
}

.arev-site-footer__socials {
	align-items: center;
	display: flex;
	gap: 20px;
}

.arev-site-footer__socials a {
	color: #000;
	display: inline-flex;
	height: 24px;
	line-height: 1;
	text-decoration: none;
	width: 24px;
}

.arev-site-footer__socials a:hover,
.arev-site-footer__socials a:focus-visible {
	color: #3a3a3a;
}

.arev-site-footer__socials svg {
	display: block;
	height: 24px;
	width: 24px;
}

.arev-site-footer__legal {
	font-size: 14px;
	text-align: right;
}

.arev-news-page {
	background: #baa06f;
	box-sizing: border-box;
	color: #fff;
	min-height: 70vh;
	padding: 68px 24px 92px;
	width: 100%;
}

.arev-news-page__inner {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1224px;
	width: 100%;
}

.arev-news-page__header {
	margin: 0 0 48px;
	text-align: center;
}

.arev-news-page__title {
	color: #fff;
	font-family: "Oswald", sans-serif;
	font-size: clamp(48px, 6vw, 82px);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	margin: 0;
	text-transform: uppercase;
}

.arev-news-grid {
	display: grid;
	gap: 42px 34px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.arev-news-card {
	color: #fff;
	min-width: 0;
}

.arev-news-card__media {
	background: rgba(0, 0, 0, 0.22);
	display: block;
	overflow: hidden;
	text-decoration: none;
}

.arev-news-card__image {
	aspect-ratio: 1.35 / 1;
	display: block;
	height: auto;
	object-fit: cover;
	transition: transform 0.25s ease;
	width: 100%;
}

.arev-news-card__media:hover .arev-news-card__image,
.arev-news-card__media:focus-visible .arev-news-card__image {
	transform: scale(1.035);
}

.arev-news-card__placeholder {
	align-items: center;
	aspect-ratio: 1.35 / 1;
	color: rgba(255, 255, 255, 0.72);
	display: flex;
	font-family: "Oswald", sans-serif;
	font-size: 24px;
	justify-content: center;
	padding: 24px;
	text-align: center;
	text-transform: uppercase;
}

.arev-news-card__body {
	padding: 18px 0 0;
}

.arev-news-card__date {
	color: rgba(255, 255, 255, 0.72);
	display: block;
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	line-height: 1.2;
	margin-bottom: 8px;
}

.arev-news-card__title {
	font-family: "Oswald", sans-serif;
	font-size: clamp(26px, 2.2vw, 38px);
	font-weight: 700;
	line-height: 1.04;
	margin: 0;
	text-transform: uppercase;
}

.arev-news-card__title a {
	color: #fff;
	text-decoration: none;
}

.arev-news-card__title a:hover,
.arev-news-card__title a:focus-visible {
	color: #000;
}

.arev-news-card__excerpt {
	color: rgba(255, 255, 255, 0.9);
	font-family: "Work Sans", sans-serif;
	font-size: 15px;
	line-height: 1.45;
	margin: 12px 0 0;
}

.arev-news-page__empty {
	font-family: "Work Sans", sans-serif;
	font-size: 18px;
	margin: 0;
	text-align: center;
}

body.single-post {
	background: #000;
}

.arev-recipe-page {
	background: #000;
	color: #fff;
	font-family: "Work Sans", sans-serif;
	width: 100%;
}

.arev-recipe-header {
	background: #000;
	box-sizing: border-box;
	padding: 45px 30px;
	text-align: center;
}

.arev-recipe-header__inner {
	margin: 0 auto;
	max-width: 954px;
	width: 100%;
}

.arev-recipe-title {
	color: #fff;
	font-family: "Oswald", sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0;
	text-transform: uppercase;
}

.arev-recipe-meta {
	color: #fff;
	display: flex;
	font-family: "Work Sans", sans-serif;
	font-size: 14px;
	font-weight: 300;
	gap: 0.45rem;
	justify-content: center;
	line-height: 1.6;
	margin-top: 12px;
}

.arev-recipe-meta span + span::before {
	content: "";
}

.arev-recipe-body {
	background: #000;
	box-sizing: border-box;
	padding: 0 30px 96px;
}

.arev-recipe-body__inner {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 812px;
	width: 100%;
}

.arev-recipe-summary {
	color: #fff;
	font-family: "Work Sans", sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.5;
	margin: 0 0 24px;
}

.arev-recipe-featured {
	margin: 0 0 24px;
}

.arev-recipe-featured__image {
	aspect-ratio: 812 / 600;
	display: block;
	height: 600px;
	object-fit: cover;
	width: 100%;
}

.arev-recipe-page .arev-recipe-featured__image.wp-post-image {
	height: 600px;
	max-height: none;
}

.arev-recipe-content {
	color: #fff;
	font-family: "Work Sans", sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.45;
}

.arev-recipe-content p,
.arev-recipe-content li {
	color: #fff;
	font-family: "Work Sans", sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.45;
}

.arev-recipe-content p {
	margin: 0 0 19px;
}

.arev-recipe-content ul,
.arev-recipe-content ol {
	margin: 0 0 23px 1.4em;
	padding: 0;
}

.arev-recipe-content strong {
	font-weight: 600;
}

@media (max-width: 900px) {
	.arev-site-footer {
		padding: 40px 0;
	}

	.arev-site-footer__inner {
		min-height: 0;
		padding: 0 16px;
		row-gap: 20px;
	}

	.arev-site-footer__address,
	.arev-site-footer__legal {
		text-align: center;
	}

	.arev-site-footer__bottom {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.arev-site-footer__contact {
		grid-template-columns: 1fr;
		gap: 18px;
		justify-items: center;
		text-align: center;
	}

	.arev-news-page {
		padding: 44px 18px 64px;
	}

	.arev-news-page__header {
		margin-bottom: 34px;
		text-align: left;
	}

	.arev-news-grid {
		gap: 34px;
		grid-template-columns: 1fr;
	}

	.arev-recipe-header {
		padding: 16px;
	}

	.arev-recipe-title {
		font-size: 32px;
	}

	.arev-recipe-body {
		padding: 56px 16px;
	}

	.arev-recipe-summary {
		margin-bottom: 18px;
	}

	.arev-recipe-featured {
		margin-bottom: 56px;
	}
}

@media (max-width: 767px) {
	.arev-recipe-page .arev-recipe-featured__image.wp-post-image {
		aspect-ratio: 328 / 320;
		height: min(88.89vw, 320px);
	}
}

@media (min-width: 901px) and (max-width: 1120px) {
	.arev-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
