/* Homepage v2 — hero / scrapbook */

.eqc-homepage-v2 .mkdf-content,
.eqc-homepage-v2 .mkdf-content-inner {
	background: transparent;
}

.eqc-homepage-v2 .mkdf-title-holder,
.eqc-homepage-v2 .mkdf-page-header + .mkdf-title {
	display: none;
}

.eqc-home-v2 {
	--eqc-navy: #1a1f3c;
	--eqc-blue: #3fa9f5;
	--eqc-red: #e53935;
	--eqc-paper: #f2f0e9;
	--eqc-ink: #2a2a2a;
	--eqc-orange: #f48c34;
	--eqc-card-navy: #1a3351;
	--eqc-font-display: "Oswald", "Arial Narrow", sans-serif;
	--eqc-font-hand: "Caveat", "Segoe Print", cursive;
	--eqc-font-body: "Muli", "Nunito Sans", sans-serif;
	--eqc-paper-tile: url("../img/homepage-v2/paper-tile.png");
	position: relative;
	overflow-x: clip;
}

.eqc-hero {
	position: relative;
	isolation: isolate;
	width: 100%;
	background:
		linear-gradient(var(--eqc-navy), var(--eqc-navy)) top / 100% 72px no-repeat,
		var(--eqc-blue);
}

@media (min-width: 768px) {
	.eqc-hero__scrapbook {
		top: 140px;
	}
}

.eqc-hero__paper {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 48px max(24px, calc((100vw - 1320px) / 2)) 64px;
	box-sizing: border-box;
	overflow: visible;
	z-index: 1;
	background: transparent;
}

.eqc-hero__paper::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-color: var(--eqc-paper);
	background-image: var(--eqc-paper-tile);
	background-repeat: repeat;
	background-size: 256px 256px;
	background-position: center top;
}

.eqc-hero__paper > * {
	position: relative;
	z-index: 1;
}

.eqc-hero__stamp {
	position: absolute;
	width: 110px;
	right: 5%;
	bottom: 18%;
	z-index: 2;
	opacity: 0.92;
	transform: rotate(8deg);
	pointer-events: none;
}

/* ---- Scrapbook ---- */

.eqc-hero__scrapbook {
	position: relative;
	max-width: 1320px;
	margin: 0 auto 36px;
	min-height: 432px;
	z-index: 3;
}

.eqc-hero__line {
	position: absolute;
	left: 4%;
	right: 2%;
	top: 22px;
	height: 48px;
	z-index: 1;
	pointer-events: none;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 40' fill='none'%3E%3Cpath d='M0 22C150 8 300 32 450 18C600 6 750 30 900 16' stroke='%238B6914' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")
		center / 100% 100% no-repeat;
}

.eqc-polaroid {
	position: absolute;
	margin: 0;
	background: #fff;
	padding: 12px 12px 44px;
	box-shadow:
		0 10px 28px rgba(26, 31, 60, 0.14),
		0 2px 4px rgba(26, 31, 60, 0.08);
	z-index: 2;
}

.eqc-polaroid__pin {
	position: absolute;
	top: -40px;
	left: 50%;
	transform: translateX(-50%);
	width: 43px;
	z-index: 4;
	filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.25));
}

.eqc-polaroid__pin img {
	display: block;
	width: 100%;
	height: auto;
}

.eqc-polaroid__frame {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: #d9d6cf;
}

.eqc-polaroid__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eqc-polaroid__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, #e8e4db 25%, #d5d1c7 25%, #d5d1c7 50%, #e8e4db 50%, #e8e4db 75%, #d5d1c7 75%);
	background-size: 16px 16px;
}

.eqc-polaroid__caption {
	position: absolute;
	left: 10px;
	right: 10px;
	bottom: 8px;
	font-family: var(--eqc-font-hand);
	font-size: 1.35rem;
	line-height: 1;
	color: var(--eqc-navy);
	display: flex;
	align-items: center;
	gap: 4px;
}

.eqc-polaroid__mark {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

.eqc-polaroid__tape {
	position: absolute;
	left: -8px;
	bottom: 40px;
	width: 48px;
	height: 18px;
	background: rgba(229, 57, 53, 0.72);
	transform: rotate(-28deg);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
	z-index: 3;
}

.eqc-polaroid--adventure {
	width: 312px;
	left: 1%;
	top: 28px;
	transform: rotate(-8deg);
	z-index: 4;
	padding-bottom: 62px;
}

.eqc-polaroid--adventure .eqc-polaroid__caption {
	font-size: 2.2rem;
}

.eqc-polaroid--fun {
	width: 202px;
	left: 33%;
	top: 12px;
	transform: rotate(3deg);
}

.eqc-polaroid--challenge {
	width: 202px;
	left: 52%;
	top: 28px;
	transform: rotate(-4deg);
}

.eqc-polaroid--friendship {
	width: 202px;
	left: 71%;
	top: 10px;
	transform: rotate(6deg);
}

/* ---- Copy ---- */

.eqc-hero__copy {
	position: relative;
	z-index: 3;
	max-width: 1160px;
	margin: 0 auto;
	text-align: center;
	padding: 8px 16px 0;
}

.eqc-hero__title {
	margin: 0 0 14px;
	font-family: var(--eqc-font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 0.95;
}

.eqc-hero__title-line {
	display: block;
}

.eqc-hero__title-line--intl {
	color: var(--eqc-navy);
	font-size: clamp(1.75rem, 3.6vw, 2.75rem);
}

.eqc-hero__title-line--camps {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: var(--eqc-blue);
	font-size: clamp(2rem, 4.4vw, 3.4rem);
	margin-top: 2px;
}

.eqc-hero__motion {
	width: 28px;
	flex-shrink: 0;
	opacity: 0.95;
}

.eqc-hero__motion--left {
	transform: scaleX(-1);
}

.eqc-hero__title-line--teens {
	margin-top: 10px;
}

.eqc-hero__brush {
	display: inline-block;
	position: relative;
	color: #fff;
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	padding: 0.28em 0.85em 0.22em;
	z-index: 0;
}

.eqc-hero__brush::before {
	content: "";
	position: absolute;
	inset: 8% -4% 12%;
	background: var(--eqc-red);
	border-radius: 2px 40% 3px 45% / 40% 4px 50% 6px;
	transform: rotate(-1.5deg) skewX(-2deg);
	z-index: -1;
	box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
}

/* ---- Destination chips ---- */

.eqc-destinations {
	margin: 8px auto 0;
	max-width: 1160px;
}

.eqc-destinations__heading {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: center;
	gap: 10px 14px;
	margin: 0 0 28px;
	line-height: 1;
}

.eqc-destinations__lead {
	font-family: var(--eqc-font-body);
	font-size: clamp(1.05rem, 1.6vw, 1.35rem);
	font-weight: 600;
	color: var(--eqc-navy);
	padding-bottom: 0.35em;
}

.eqc-destinations__ages {
	display: inline-flex;
	align-items: flex-end;
	gap: 10px;
	color: var(--eqc-blue);
}

.eqc-destinations__range {
	font-family: var(--eqc-font-hand);
	font-weight: 700;
	font-size: clamp(2.6rem, 5.4vw, 4.1rem);
	letter-spacing: -0.02em;
	line-height: 0.8;
}

.eqc-destinations__years {
	position: relative;
	font-family: var(--eqc-font-hand);
	font-weight: 700;
	font-size: clamp(1.35rem, 2.4vw, 1.85rem);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding-bottom: 0.28em;
	align-self: center;
	top: -0.15em;
}

.eqc-destinations__years::after {
	content: "";
	position: absolute;
	left: -4%;
	right: -8%;
	bottom: 0.08em;
	height: 0.22em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 8' fill='none'%3E%3Cpath d='M1 5.2C22 1.2 44 7 62 3.6C82 0.2 100 6.4 119 3' stroke='%233fa9f5' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
	pointer-events: none;
}

.eqc-destinations__list {
	list-style: none;
	margin: 0;
	padding: 12px 0 4px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 22px 14px;
}

.eqc-destinations__list > li {
	flex: 1 1 170px;
	max-width: 214px;
	min-width: 158px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eqc-dest-chip {
	--chip-color: var(--eqc-navy);
	--chip-tilt: 0deg;
	display: block;
	position: relative;
	height: 100%;
	padding-top: 10px;
	text-decoration: none;
	color: var(--chip-color);
	transform: rotate(var(--chip-tilt));
	transition: transform 0.2s ease;
	filter: drop-shadow(0 6px 10px rgba(26, 31, 60, 0.12));
}

.eqc-dest-chip:hover,
.eqc-dest-chip:focus {
	transform: rotate(0deg) translateY(-3px);
	text-decoration: none;
	color: var(--chip-color);
}

.eqc-dest-chip:focus {
	outline: none;
}

.eqc-dest-chip:focus-visible {
	outline: 2px solid var(--chip-color);
	outline-offset: 4px;
}

.eqc-dest-chip--spain {
	--chip-color: #d23a3a;
	--chip-tilt: -1.2deg;
}

.eqc-dest-chip--portugal {
	--chip-color: #1a7a4a;
	--chip-tilt: 0.9deg;
}

.eqc-dest-chip--cyprus {
	--chip-color: #dece1f;
	--chip-tilt: -0.4deg;
}

.eqc-dest-chip--italy {
	--chip-color: #3a6ea8;
	--chip-tilt: 1.1deg;
}

.eqc-dest-chip--uk {
	--chip-color: #7b4aa8;
	--chip-tilt: -0.8deg;
}

.eqc-dest-chip__tape {
	position: absolute;
	top: 1px;
	left: 50%;
	z-index: 2;
	width: 46px;
	height: 16px;
	transform: translateX(-50%) rotate(-3deg);
	pointer-events: none;
}

.eqc-dest-chip--spain .eqc-dest-chip__tape {
	background: rgba(210, 58, 58, 0.88);
}

.eqc-dest-chip--portugal .eqc-dest-chip__tape {
	background: repeating-linear-gradient(
		-42deg,
		#1a7a4a 0 7px,
		#f7f4ee 7px 13px
	);
	transform: translateX(-50%) rotate(4deg);
}

.eqc-dest-chip--cyprus .eqc-dest-chip__tape {
	background: rgb(228 241 37 / 90%);
	transform: translateX(-50%) rotate(2deg);
}

.eqc-dest-chip--italy .eqc-dest-chip__tape {
	background: rgba(58, 110, 168, 0.88);
	transform: translateX(-50%) rotate(-5deg);
}

.eqc-dest-chip--uk .eqc-dest-chip__tape {
	background-color: #7b4aa8;
	background-image: radial-gradient(#f7f4ee 1.35px, transparent 1.45px);
	background-size: 7px 7px;
	background-position: 2px 1px;
	transform: translateX(-50%) rotate(6deg);
}

.eqc-dest-chip__paper {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 72px;
	padding: 14px 12px 12px 8px;
	background: #fff;
	-webkit-mask: url("../img/homepage-v2/dest-chip-paper.svg") center / 100% 100% no-repeat;
	mask: url("../img/homepage-v2/dest-chip-paper.svg") center / 100% 100% no-repeat;
}

.eqc-dest-chip__icon {
	width: 44px;
	height: 44px;
	object-fit: contain;
	flex-shrink: 0;
}

.eqc-dest-chip__name {
	flex: 1 1 auto;
	min-width: 0;
	font-family: var(--eqc-font-hand);
	font-weight: 700;
	font-size: clamp(1.45rem, 1.8vw, 1.75rem);
	line-height: 1;
	text-align: left;
}

.eqc-dest-chip__go {
	position: relative;
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--chip-color);
	transition: transform 0.2s ease;
}

.eqc-dest-chip__go::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 46%;
	width: 7px;
	height: 7px;
	border-right: 2px solid #fff;
	border-top: 2px solid #fff;
	transform: translate(-50%, -50%) rotate(45deg);
}

.eqc-dest-chip:hover .eqc-dest-chip__go,
.eqc-dest-chip:focus .eqc-dest-chip__go {
	transform: scale(1.08) translateX(1px);
}

@media (min-width: 1100px) {
	.eqc-destinations__list {
		flex-wrap: nowrap;
		gap: 16px 12px;
	}

	.eqc-destinations__list > li {
		flex: 1 1 0;
		max-width: none;
		min-width: 0;
	}
}

.eqc-hero__cta {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin: 0;
	padding: 48px 16px;
	box-sizing: border-box;
	text-align: center;
}

.eqc-hero__cta .b-nav__next {
	display: inline-block;
	background-color: #3197d4;
	color: #fff;
	padding: 15px 25px;
	border: none;
	text-transform: uppercase;
	font-family: Oswald, var(--eqc-font-display);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-align: center;
	min-width: 168px;
	cursor: pointer;
	line-height: 1.2;
}

.eqc-hero__cta .b-nav__next:hover,
.eqc-hero__cta .b-nav__next:focus {
	opacity: 0.7;
	color: #fff;
	text-decoration: none;
}

@media (max-width: 767px) {
	.eqc-hero__cta {
		padding: 32px 16px;
	}
}

/* ---- Features ---- */

.eqc-hero__features-wrap {
	position: relative;
	z-index: 4;
	background: #fff;
	margin-top: -36px;
}

.eqc-hero__torn {
	height: 28px;
	background-repeat: no-repeat;
	background-size: 100% 100%;
	pointer-events: none;
}

.eqc-hero__torn--top {
	background-image: url("../img/homepage-v2/torn-top.svg");
	margin-top: -27px;
	position: relative;
	z-index: 1;
}

.eqc-hero__torn--bottom {
	background-image: url("../img/homepage-v2/torn-bottom.svg");
	margin-bottom: -1px;
	position: relative;
	z-index: 1;
}

.eqc-hero__features {
	list-style: none;
	margin: 0;
	padding: 8px 24px 4px;
	display: flex;
	align-items: stretch;
	justify-content: center;
	gap: 0;
	max-width: 1100px;
	margin-inline: auto;
}

.eqc-hero__feature {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 14px 16px;
	min-width: 0;
	position: relative;
}

.eqc-hero__feature:not(:last-child)::after {
	content: "";
	position: absolute;
	right: 0;
	top: 18%;
	bottom: 18%;
	width: 1px;
	background: #d8d5cd;
}

.eqc-hero__feature-icon {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	object-fit: contain;
}

.eqc-hero__feature-label {
	font-family: var(--eqc-font-body);
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--eqc-navy);
	line-height: 1.25;
}

.eqc-hero__blue-band {
	display: none;
}

/* ---- Tablet ---- */

@media (max-width: 960px) {
	.eqc-hero__scrapbook {
		min-height: 360px;
	}

	.eqc-polaroid--adventure {
		width: 252px;
	}

	.eqc-polaroid--fun,
	.eqc-polaroid--challenge,
	.eqc-polaroid--friendship {
		width: 168px;
	}

	.eqc-polaroid__pin {
		width: 36px;
		top: -34px;
	}

	.eqc-hero__stamp {
		width: 88px;
		bottom: 12%;
	}

	.eqc-hero__feature {
		flex-direction: column;
		text-align: center;
		gap: 8px;
		padding: 12px 8px;
	}

	.eqc-hero__feature-label {
		font-size: 1.1rem;
	}
}

/* ---- Mobile ---- */

@media (max-width: 767px) {
	.eqc-hero__paper {
		padding: 28px 16px 48px;
	}

	.eqc-hero__stamp {
		width: 72px;
		right: 10px;
		bottom: auto;
		top: 52%;
	}

	.eqc-hero__scrapbook {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 12px 10px;
		min-height: 0;
		max-width: 420px;
		padding-top: 8px;
	}

	.eqc-hero__line {
		display: none;
	}

	.eqc-polaroid {
		position: relative;
		left: auto !important;
		top: auto !important;
		width: 100% !important;
		transform: none !important;
		padding: 6px 6px 28px;
	}

	.eqc-polaroid--adventure {
		grid-column: 1 / -1;
		justify-self: center;
		width: 58% !important;
		max-width: 220px;
		transform: rotate(-5deg) !important;
		margin-bottom: 4px;
	}

	.eqc-polaroid--fun {
		transform: rotate(-3deg) !important;
	}

	.eqc-polaroid--challenge {
		transform: rotate(2deg) !important;
	}

	.eqc-polaroid--friendship {
		transform: rotate(-4deg) !important;
	}

	.eqc-polaroid__pin {
		width: 18px;
		top: -18px;
	}

	.eqc-polaroid__caption {
		font-size: 1.1rem;
		bottom: 6px;
		left: 6px;
		right: 6px;
	}

	.eqc-polaroid--adventure .eqc-polaroid__caption {
		font-size: 1.35rem;
	}

	.eqc-polaroid__tape {
		width: 36px;
		height: 14px;
		bottom: 28px;
	}

	.eqc-hero__copy {
		padding-top: 16px;
	}

	.eqc-destinations__heading {
		margin-bottom: 18px;
		gap: 6px 10px;
	}

	.eqc-destinations__list {
		gap: 16px 10px;
	}

	.eqc-destinations__list > li {
		flex: 1 1 calc(50% - 10px);
		max-width: calc(50% - 10px);
		min-width: 140px;
	}

	.eqc-dest-chip__icon {
		width: 38px;
		height: 38px;
	}

	.eqc-dest-chip__name {
		font-size: 1.4rem;
	}

	.eqc-hero__title-line--camps {
		flex-wrap: wrap;
		gap: 8px;
	}

	.eqc-hero__motion {
		width: 22px;
	}

	.eqc-hero__features {
		flex-direction: column;
		padding: 4px 20px 8px;
		max-width: 420px;
	}

	.eqc-hero__feature {
		flex-direction: row;
		justify-content: flex-start;
		text-align: left;
		padding: 14px 4px;
		gap: 14px;
	}

	.eqc-hero__feature:not(:last-child)::after {
		top: auto;
		right: 0;
		left: 0;
		bottom: 0;
		width: auto;
		height: 1px;
	}

	.eqc-hero__feature-label {
		font-size: 1rem;
	}
}

/* ---- Section divider (reuse between homepage sections) ---- */

.eqc-section-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	width: 100%;
	max-width: 720px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.eqc-section-divider::before,
.eqc-section-divider::after {
	content: "";
	flex: 1;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--eqc-navy));
	opacity: 0.28;
}

.eqc-section-divider::after {
	background: linear-gradient(90deg, var(--eqc-navy), transparent);
}

.eqc-section-divider span {
	width: 10px;
	height: 10px;
	border: 2px solid var(--eqc-orange);
	transform: rotate(45deg);
	flex-shrink: 0;
}

/* ---- Adventures / country cards ---- */

.eqc-adventures {
	width: 100%;
	padding: 40px 0 72px;
	background: #fff;
}

.eqc-adventures__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.eqc-adventures__title {
	margin: 0 0 40px;
	text-align: center;
	font-family: var(--eqc-font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1;
	color: var(--eqc-navy);
}

.eqc-adventures__title span {
	display: block;
}

.eqc-adventures__title span:first-child {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	margin-bottom: 6px;
}

.eqc-adventures__title span:last-child {
	font-size: clamp(1.75rem, 3.6vw, 2.75rem);
	color: var(--eqc-blue);
}

.eqc-adventures__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 20px 20px;
	align-items: center;
}

.eqc-country-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e4e1da;
	box-shadow: 0 10px 24px rgba(26, 31, 60, 0.1);
	padding: 12px 12px 20px;
	box-sizing: border-box;
	border-radius: 10px;
	color: var(--eqc-navy);
}

.eqc-country-card--1 {
	transform: rotate(-2.2deg);
}

.eqc-country-card--2 {
	transform: rotate(1.6deg);
	margin-top: 12px;
}

.eqc-country-card--3 {
	transform: rotate(-1.4deg);
}

.eqc-country-card--4 {
	transform: rotate(2deg);
	margin-top: 8px;
}

.eqc-country-card__tape {
	position: absolute;
	top: -10px;
	left: 50%;
	width: 54px;
	height: 18px;
	margin-left: -27px;
	background: rgba(210, 180, 120, 0.72);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
	transform: rotate(-2deg);
	z-index: 2;
	pointer-events: none;
}

.eqc-country-card--4 .eqc-country-card__tape {
	transform: rotate(3deg);
}

.eqc-country-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #d9d6cf;
	margin-bottom: 14px;
}

.eqc-country-card__media img,
.eqc-country-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eqc-country-card__placeholder {
	background-size: cover;
	background-position: center;
	background-color: #c5d5e3;
}

.eqc-country-card__placeholder.image-camp-1 {
	background-image: url("../img/booking/camp1.jpg");
}

.eqc-country-card__placeholder.image-camp-2 {
	background-image: url("../img/booking/camp2.jpg");
}

.eqc-country-card__placeholder.image-camp-3 {
	background-image: url("../img/booking/camp3.jpg");
}

.eqc-country-card__placeholder.image-camp-4 {
	background-image: url("../img/booking/camp4.jpg");
}

.eqc-country-card__name {
	margin: 0 0 10px;
	font-family: var(--eqc-font-display);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--eqc-navy);
}

.eqc-country-card__meta {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.eqc-country-card__meta li {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--eqc-font-body);
	font-size: 0.92rem;
	font-weight: 500;
	line-height: 1.3;
	color: #333;
}

.eqc-country-card__price {
	align-items: flex-start;
}

.eqc-country-card__price .eqc-country-card__icon {
	margin-top: 2px;
}

.eqc-country-card__price-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.eqc-country-card__price-note {
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.3;
	color: #888;
}

.eqc-country-card__icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	display: inline-flex;
	color: var(--eqc-navy);
}

.eqc-country-card__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.eqc-country-card__cta {
	margin-top: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	padding: 11px 12px;
	background: var(--eqc-orange);
	color: #fff;
	font-family: var(--eqc-font-display);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	line-height: 1.2;
	border-radius: 6px;
}

.eqc-country-card__cta:hover,
.eqc-country-card__cta:focus {
	color: #fff;
	text-decoration: none;
	opacity: 0.9;
}

@media (max-width: 1100px) {
	.eqc-adventures__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.eqc-adventures {
		padding: 28px 0 56px;
	}

	.eqc-adventures__inner {
		padding: 0;
	}

	.eqc-adventures__title {
		margin: 0 16px 28px;
	}

	.eqc-adventures__grid {
		display: flex;
		gap: 18px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 16px 20px 28px;
		cursor: grab;
		touch-action: pan-x;
	}

	.eqc-adventures__grid::-webkit-scrollbar {
		display: none;
	}

	.eqc-adventures__grid.is-dragging {
		cursor: grabbing;
		scroll-snap-type: none;
	}

	.eqc-country-card {
		flex: 0 0 min(78vw, 280px);
		scroll-snap-align: center;
		margin-top: 0;
	}

	.eqc-country-card--1,
	.eqc-country-card--2,
	.eqc-country-card--3,
	.eqc-country-card--4 {
		transform: rotate(0deg);
	}

	.eqc-country-card--1,
	.eqc-country-card--3 {
		transform: rotate(-1.2deg);
	}

	.eqc-country-card--2,
	.eqc-country-card--4 {
		transform: rotate(1.2deg);
	}
}

/* ---- What makes us different ---- */

.eqc-different {
	width: 100%;
	padding: 40px 0 72px;
	background: #fff;
}

.eqc-different__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.eqc-different__title {
	margin: 0 0 48px;
	text-align: center;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.15;
	color: var(--eqc-navy);
}

.eqc-different__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	align-items: start;
}

.eqc-different__item {
	position: relative;
	padding: 8px 22px;
}

.eqc-different:not(.eqc-different--programme) .eqc-different__details {
	width: 100%;
}

.eqc-different:not(.eqc-different--programme) .eqc-different__trigger {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	list-style: none;
	cursor: pointer;
	-webkit-user-select: none;
	user-select: none;
}

.eqc-different:not(.eqc-different--programme) .eqc-different__trigger::-webkit-details-marker {
	display: none;
}

.eqc-different:not(.eqc-different--programme) .eqc-different__trigger::marker {
	content: "";
}

.eqc-different:not(.eqc-different--programme) .eqc-different__trigger:focus {
	outline: none;
}

.eqc-different:not(.eqc-different--programme) .eqc-different__trigger:focus-visible {
	outline: 2px solid var(--eqc-diff-color, var(--eqc-navy));
	outline-offset: 4px;
	border-radius: 4px;
}

.eqc-different__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 18%;
	bottom: 18%;
	right: 0;
	width: 1px;
	background: #e6e6e6;
}

.eqc-different__icon {
	width: 64px;
	height: 64px;
	object-fit: contain;
	margin-bottom: 16px;
}

.eqc-different:not(.eqc-different--programme) .eqc-different__title-row {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	max-width: 100%;
}

.eqc-different__heading {
	margin: 0;
	font-family: var(--eqc-font-display);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.25;
	color: var(--eqc-diff-color, var(--eqc-navy));
}

.eqc-different:not(.eqc-different--programme) .eqc-different__chevron {
	position: relative;
	width: 10px;
	height: 10px;
	flex-shrink: 0;
}

.eqc-different:not(.eqc-different--programme) .eqc-different__chevron::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 40%;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid var(--eqc-diff-color, var(--eqc-navy));
	border-bottom: 1.5px solid var(--eqc-diff-color, var(--eqc-navy));
	transform: translate(-50%, -50%) rotate(45deg);
	transition: transform 0.2s ease, top 0.2s ease;
}

.eqc-different:not(.eqc-different--programme) .eqc-different__details[open] .eqc-different__chevron::after {
	top: 60%;
	transform: translate(-50%, -50%) rotate(-135deg);
}

.eqc-different__text {
	margin: 0;
	font-family: var(--eqc-font-body);
	font-size: 0.92rem;
	line-height: 1.45;
	color: #333;
	max-width: 18em;
}

.eqc-different:not(.eqc-different--programme) .eqc-different__text {
	margin: 12px auto 0;
	text-align: center;
	animation: eqc-different-text-in 0.25s ease;
}

@keyframes eqc-different-text-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.eqc-different--programme .eqc-different__grid {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-width: 920px;
	margin: 0 auto;
}

.eqc-different--programme .eqc-different__item {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	text-align: left;
	padding: 36px 8px;
}

.eqc-different--programme .eqc-different__item:not(:last-child)::after {
	display: none;
}

.eqc-different--programme .eqc-different__item:not(:last-child) {
	border-bottom: 1px solid #e6e6e6;
}

.eqc-different--programme .eqc-different__item:nth-child(even) {
	flex-direction: row-reverse;
}

.eqc-different--programme .eqc-different__copy {
	flex: 1 1 auto;
	min-width: 0;
}

.eqc-different--programme .eqc-different__heading {
	margin-bottom: 10px;
	font-size: 1.05rem;
}

.eqc-different--programme .eqc-different__text {
	max-width: none;
	font-size: 0.95rem;
	line-height: 1.55;
}

.eqc-different--programme .eqc-different__icon {
	flex: 0 0 auto;
	width: 88px;
	height: 88px;
	margin-bottom: 0;
}

@media (max-width: 1100px) {
	.eqc-different__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 0;
	}

	.eqc-different__item:nth-child(2n)::after {
		display: none;
	}
}

@media (max-width: 767px) {
	.eqc-different {
		padding: 16px 0 48px;
	}

	.eqc-different__inner {
		padding: 0 16px;
	}

	.eqc-different__title {
		margin-bottom: 32px;
	}

	.eqc-different__grid {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin: 0 auto;
		gap: 0;
	}

	.eqc-different__item {
		padding: 24px 8px;
	}

	.eqc-different__item:not(:last-child)::after {
		top: auto;
		right: 16%;
		left: 16%;
		bottom: 0;
		width: auto;
		height: 1px;
	}

	.eqc-different--programme .eqc-different__grid {
		max-width: none;
	}

	.eqc-different--programme .eqc-different__item,
	.eqc-different--programme .eqc-different__item:nth-child(even) {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding: 28px 4px;
	}

	.eqc-different--programme .eqc-different__item:nth-child(even) .eqc-different__icon {
		order: -1;
	}

	.eqc-different--programme .eqc-different__icon {
		width: 72px;
		height: 72px;
	}
}

/* ---- Compare Our Camps ---- */

.eqc-compare {
	width: 100%;
	padding: 40px 0 72px;
	background: #fff;
}

.eqc-compare__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.eqc-compare__intro {
	margin-bottom: 28px;
	text-align: center;
}

.eqc-compare__title {
	margin: 0 0 12px;
	text-align: center;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.15;
	color: var(--eqc-navy);
}

.eqc-compare__lead {
	margin: 0 auto;
	max-width: 36em;
	font-family: var(--eqc-font-body);
	font-size: 0.98rem;
	line-height: 1.5;
	color: #666;
}

.eqc-compare__scroll {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.eqc-compare__table {
	width: 100%;
	min-width: 720px;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #e0e0e0;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	font-family: var(--eqc-font-body);
}

.eqc-compare__th {
	padding: 16px 14px;
	vertical-align: middle;
	text-align: center;
	font-size: 0.82rem;
	font-weight: 600;
	line-height: 1.3;
	color: #fff;
	border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.eqc-compare__th:last-child {
	border-right: none;
}

.eqc-compare__th--dest {
	width: 28%;
	text-align: left;
	background: #24124a;
	font-weight: 600;
}

.eqc-compare__th--cultural,
.eqc-compare__th--outdoors,
.eqc-compare__th--seaside {
	background: var(--eqc-compare-col);
}

.eqc-compare__th-icon {
	display: block;
	width: 28px;
	height: 28px;
	margin: 0 auto 8px;
	object-fit: contain;
}

.eqc-compare__dest {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px;
	text-align: left;
	font-weight: 400;
	background: #fff;
	border-top: 1px solid #ebebeb;
	border-right: 1px solid #ebebeb;
}

.eqc-compare__flag {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 50%;
	flex-shrink: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
	background: #f3f3f3;
}

.eqc-compare__dest-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.eqc-compare__dest-name {
	font-family: var(--eqc-font-display);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.2;
	color: #1a1a1a;
}

.eqc-compare__dest-sub {
	font-size: 0.85rem;
	line-height: 1.2;
	color: #888;
}

.eqc-compare__val {
	padding: 14px 12px;
	text-align: center;
	vertical-align: middle;
	font-family: var(--eqc-font-display);
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1;
	color: var(--eqc-compare-col);
	border-top: 1px solid #ebebeb;
	border-right: 1px solid #ebebeb;
	background: #fff;
}

.eqc-compare__val:last-child {
	border-right: none;
}

.eqc-compare__val--cultural {
	background: #f3f7fd;
}

.eqc-compare__val--seaside {
	background: #fff5f5;
}

.eqc-compare__val--outdoors {
	background: #f3f7fd;
}

@media (max-width: 767px) {
	.eqc-compare {
		padding: 24px 0 48px;
	}

	.eqc-compare__inner {
		padding: 0 16px;
	}

	.eqc-compare__intro {
		margin-bottom: 24px;
	}

	.eqc-compare__th {
		padding: 12px 10px;
		font-size: 0.75rem;
	}

	.eqc-compare__th-icon {
		width: 22px;
		height: 22px;
		margin-bottom: 6px;
	}

	.eqc-compare__val {
		font-size: 1.3rem;
	}
}

/* ---- A day at English Quest ---- */

.eqc-day {
	width: 100%;
	padding: 40px 0 72px;
	background: #fff;
}

.eqc-day__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.eqc-day__title {
	margin: 0 0 40px;
	text-align: center;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.15;
	color: var(--eqc-navy);
}

.eqc-day__scroller {
	width: 100%;
}

.eqc-day__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	align-items: start;
}

.eqc-day__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 8px;
}

.eqc-day__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 62px;
	left: 50%;
	width: 100%;
	height: 1px;
	background: #d8d8d8;
	z-index: 0;
	pointer-events: none;
}

.eqc-day__time {
	font-family: var(--eqc-font-display);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--eqc-navy);
	margin-bottom: 14px;
}

.eqc-day__icon-wrap {
	position: relative;
	z-index: 1;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	margin-bottom: 14px;
}

.eqc-day__item:first-child .eqc-day__icon-wrap::before,
.eqc-day__item:last-child .eqc-day__icon-wrap::after,
.eqc-day__item:first-child .eqc-day__icon-wrap::after,
.eqc-day__item:last-child .eqc-day__icon-wrap::before {
	background: var(--eqc-orange);
}

.eqc-day__item:first-child .eqc-day__icon-wrap::before,
.eqc-day__item:last-child .eqc-day__icon-wrap::after {
	display: none;
}

.eqc-day__icon {
	width: 48px;
	height: 48px;
	object-fit: contain;
	display: block;
}

.eqc-day__label {
	font-family: var(--eqc-font-body);
	font-size: 0.92rem;
	line-height: 1.35;
	color: var(--eqc-navy);
	max-width: 11em;
}

.eqc-day__cta {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.eqc-day__week-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid #3197d4;
	background: transparent;
	color: #3197d4;
	font-family: var(--eqc-font-display);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.2;
	cursor: pointer;
	border-radius: 5px;
}

.eqc-day__week-btn:hover,
.eqc-day__week-btn:focus {
	opacity: 0.75;
}

@media (max-width: 960px) {
	.eqc-day__inner {
		padding: 0;
	}

	.eqc-day__title {
		padding: 0 16px;
		margin-bottom: 28px;
	}

	.eqc-day__scroller {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 0 16px 8px;
		scroll-snap-type: x proximity;
	}

	.eqc-day__scroller::-webkit-scrollbar {
		display: none;
	}

	.eqc-day__list {
		display: flex;
		width: max-content;
		gap: 0;
	}

	.eqc-day__item {
		flex: 0 0 132px;
		scroll-snap-align: start;
		padding: 0 6px;
	}

	.eqc-day__cta {
		padding: 0 16px;
		margin-top: 28px;
	}
}

/* ---- Safe hands ---- */

.eqc-safe {
	width: 100%;
	padding: 40px 0 72px;
	background: #fff;
}

.eqc-safe__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
	gap: 48px 56px;
	align-items: start;
}

.eqc-safe__media {
	border-radius: 10px;
	overflow: hidden;
	background: #e8eef3;
}

.eqc-safe__media img,
.eqc-safe__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.eqc-safe__placeholder {
	background: #d9e2ea;
}

.eqc-safe__title {
	margin: 0 0 28px;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.15;
	color: var(--eqc-navy);
}

.eqc-safe__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.eqc-safe__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.eqc-safe__check {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
	margin-top: 2px;
	border-radius: 50%;
	background: #5a9d57;
	position: relative;
}

.eqc-safe__check::after {
	content: "";
	position: absolute;
	left: 7px;
	top: 4px;
	width: 5px;
	height: 9px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.eqc-safe__heading {
	margin: 0 0 4px;
	font-family: var(--eqc-font-body);
	font-size: 1.05rem;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.3;
}

.eqc-safe__text {
	margin: 0;
	font-family: var(--eqc-font-body);
	font-size: 0.95rem;
	line-height: 1.45;
	color: #555;
}

.eqc-safe__text strong {
	font-weight: 700;
	color: #333;
	text-transform: uppercase;
}

@media (max-width: 900px) {
	.eqc-safe__inner {
		grid-template-columns: 1fr;
		gap: 28px;
		padding: 0 16px;
	}

	.eqc-safe {
		padding: 16px 0 48px;
	}

	.eqc-safe__title {
		margin-bottom: 20px;
	}
}

/* ---- More than an English class ---- */

.eqc-world {
	width: 100%;
	padding: 24px 24px 72px;
	background: #fff;
	box-sizing: border-box;
}

.eqc-world__card {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(240px, 0.85fr);
	align-items: stretch;
	border-radius: 10px;
	overflow: hidden;
	background: linear-gradient(90deg, #e7f4fb 0%, #eef7fc 42%, #f7fbfd 70%);
	box-shadow: 0 10px 28px rgba(26, 31, 60, 0.08);
}

.eqc-world__copy {
	padding: 44px 40px 40px 48px;
	z-index: 1;
}

.eqc-world__title {
	margin: 0 0 10px;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.15;
	color: var(--eqc-navy);
}

.eqc-world__lead,
.eqc-world__note {
	margin: 0;
	font-family: var(--eqc-font-body);
	font-size: 1.05rem;
	line-height: 1.45;
	color: #222;
}

.eqc-world__flags {
	list-style: none;
	margin: 22px 0 20px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 18px;
}

.eqc-world__flags li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 52px;
}

.eqc-world__flags img {
	width: 36px;
	height: 24px;
	object-fit: cover;
	border-radius: 3px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
	display: block;
}

.eqc-world__globe {
	width: 28px !important;
	height: 28px !important;
	object-fit: contain !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.eqc-world__flags span {
	font-family: var(--eqc-font-body);
	font-size: 0.75rem;
	color: #666;
	line-height: 1.2;
	text-align: center;
}

.eqc-world__media {
	position: relative;
	min-height: 280px;
	background: #d7eaf6;
}

.eqc-world__media img,
.eqc-world__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 28%);
}

.eqc-world__placeholder {
	background: #c5dcec;
	min-height: 280px;
}

@media (max-width: 900px) {
	.eqc-world {
		padding: 8px 16px 48px;
	}

	.eqc-world__card {
		grid-template-columns: 1fr;
	}

	.eqc-world__copy {
		padding: 28px 20px 12px;
		order: 1;
	}

	.eqc-world__media {
		min-height: 220px;
		order: 2;
	}

	.eqc-world__media img,
	.eqc-world__placeholder {
		aspect-ratio: 16 / 10;
		-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
		mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
	}
}

/* ---- Reviews ---- */

.eqc-reviews {
	width: 100%;
	padding: 24px 0 72px;
	background: #fff;
}

.eqc-reviews__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.eqc-reviews__heading {
	text-align: center;
	margin-bottom: 28px;
}

.eqc-reviews__title {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 0 8px;
	padding: 0.28em 0.9em 0.22em;
	position: relative;
	z-index: 0;
	font-family: var(--eqc-font-hand);
	font-size: clamp(1.8rem, 3.2vw, 2.6rem);
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
}

.eqc-reviews__title::before {
	content: "";
	position: absolute;
	inset: 10% -6% 14%;
	z-index: -1;
	border-radius: 4px 40% 6px 45% / 50% 6px 40% 8px;
	transform: rotate(-1.2deg);
}

.eqc-reviews__block--students .eqc-reviews__title::before {
	background: var(--eqc-blue);
}

.eqc-reviews__block--parents .eqc-reviews__title::before {
	background: var(--eqc-red);
}

.eqc-reviews__emoji {
	font-size: 0.7em;
	line-height: 1;
}

.eqc-reviews__subtitle {
	margin: 0;
	font-family: var(--eqc-font-body);
	font-size: 0.95rem;
	color: #555;
}

.eqc-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	align-items: stretch;
}

.eqc-review-card {
	position: relative;
	margin: 0;
	padding: 22px 22px 28px;
	border-radius: 4px 12px 12px 12px;
	box-shadow: 0 8px 22px rgba(26, 31, 60, 0.08);
	display: flex;
	flex-direction: column;
}

.eqc-review-card::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 50%;
	width: 52px;
	height: 16px;
	transform: translateX(-50%) rotate(-8deg);
	opacity: 0.72;
	z-index: 2;
}

.eqc-review-card::after {
	content: none;
}

.eqc-review-card--student {
	background: #fff;
}

.eqc-review-card--student::before {
	background: rgba(63, 169, 245, 0.72);
}

.eqc-review-card--parent {
	background: #f7f3ea;
}

.eqc-review-card--parent::before {
	background: rgba(201, 165, 106, 0.78);
}

.eqc-review-card--student.eqc-review-card--2 {
	background: #eef6fb;
}

.eqc-review-card--student.eqc-review-card--3 {
	background: #fff8f4;
}

.eqc-review-card--parent.eqc-review-card--2 {
	background: #fff;
}

.eqc-review-card--parent.eqc-review-card--3 {
	background: #eef6fb;
}

.eqc-review-card--1 { transform: rotate(-2deg); }
.eqc-review-card--2 { transform: rotate(1.6deg); }
.eqc-review-card--3 { transform: rotate(-1.2deg); }

.eqc-review-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 8px;
}

.eqc-review-card__quote {
	font-family: Georgia, serif;
	font-size: 2.4rem;
	line-height: 0.7;
	color: var(--eqc-red);
}

.eqc-review-card--parent .eqc-review-card__quote {
	color: var(--eqc-blue);
}

.eqc-review-card__quote--end {
	align-self: flex-end;
	margin: 4px 0 12px;
}

.eqc-review-card__stars {
	color: #e3b23c;
	letter-spacing: 1px;
	font-size: 0.95rem;
	line-height: 1;
}

.eqc-review-card__text {
	display: block;
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0.98rem;
	font-style: italic;
	line-height: 1.45;
	color: #333;
	flex: 1;
}

.eqc-review-card__footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.eqc-review-card__footer > :not(.eqc-review-card__sticker) {
	padding-left: 12px;
}

.eqc-review-card__name {
	font-family: var(--eqc-font-body);
	font-style: normal;
	font-weight: 700;
	font-size: 0.95rem;
	color: var(--eqc-navy);
}

.eqc-review-card__meta {
	font-family: var(--eqc-font-body);
	font-size: 0.85rem;
	color: #666;
}

.eqc-review-card__sticker {
	display: inline-block;
	margin-top: 8px;
	padding: 3px 8px;
	border: 1.5px dashed currentColor;
	font-family: var(--eqc-font-hand);
	font-size: 1rem;
	line-height: 1.2;
	transform: rotate(-2deg);
}

.eqc-review-card--student .eqc-review-card__sticker {
	color: var(--eqc-red);
}

.eqc-review-card--parent .eqc-review-card__sticker {
	color: var(--eqc-blue);
}

.eqc-reviews__more {
	display: flex;
	justify-content: center;
	margin-top: 8px;
}

.eqc-reviews__google {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 12px 22px;
	border: 1px solid #3197d4;
	color: #3197d4;
	font-family: var(--eqc-font-display);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
    border-radius: 5px;
}

.eqc-reviews__google:hover,
.eqc-reviews__google:focus {
	opacity: 0.75;
	color: #3197d4;
	text-decoration: none;
}

.eqc-reviews__google-icon {
	width: 22px;
	height: 22px;
	display: block;
	flex-shrink: 0;
}

.eqc-reviews__stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.eqc-reviews__star {
	display: block;
	fill: #f4b400;
}

@media (max-width: 960px) {
	.eqc-reviews__grid {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin: 0 auto;
	}

	.eqc-review-card--1,
	.eqc-review-card--2,
	.eqc-review-card--3 {
		transform: none;
	}

	.eqc-reviews__inner {
		padding: 0 16px;
		gap: 40px;
	}

	.eqc-reviews {
		padding: 8px 0 48px;
	}
}

/* ---- Amazing moments ---- */

.eqc-moments {
	width: 100%;
	padding: 48px 0 72px;
	background: #fff;
}

.eqc-moments__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.eqc-moments__title {
	margin: 0 0 40px;
	text-align: center;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.15;
	color: var(--eqc-navy);
}

.eqc-moments__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-template-areas:
		"a b d f"
		"a c e f";
	grid-auto-rows: minmax(180px, 22vw);
	gap: 16px;
}

.eqc-moments__item {
	margin: 0;
	overflow: hidden;
	border-radius: 20px;
	background: #ececec;
}

.eqc-moments__item--a { grid-area: a; }
.eqc-moments__item--b { grid-area: b; }
.eqc-moments__item--c { grid-area: c; }
.eqc-moments__item--d { grid-area: d; }
.eqc-moments__item--e { grid-area: e; }
.eqc-moments__item--f { grid-area: f; }

.eqc-moments__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 960px) {
	.eqc-moments {
		padding: 32px 0 48px;
	}

	.eqc-moments__inner {
		padding: 0;
	}

	.eqc-moments__title {
		padding: 0 16px;
		margin-bottom: 28px;
	}

	.eqc-moments__scroller {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 0 16px 8px;
		scroll-snap-type: x proximity;
	}

	.eqc-moments__scroller::-webkit-scrollbar {
		display: none;
	}

	.eqc-moments__grid {
		display: flex;
		width: max-content;
		grid-template-columns: none;
		grid-template-areas: none;
		grid-auto-rows: auto;
		gap: 12px;
	}

	.eqc-moments__item {
		flex: 0 0 72vw;
		width: 72vw;
		height: 72vw;
		max-width: 280px;
		max-height: 280px;
		border-radius: 16px;
		scroll-snap-align: start;
	}

	.eqc-moments__item--tall {
		min-height: 0;
	}
}

/* ---- FAQ ---- */

.eqc-faq {
	width: 100%;
	padding: 48px 0 72px;
	background: #fff;
}

.eqc-faq__inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.eqc-faq__title {
	margin: 0 0 40px;
	text-align: center;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1.15;
	color: var(--eqc-navy);
}

.eqc-faq__list {
	border-top: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
}

.eqc-faq__item {
	border-bottom: 1px solid #e1e1e1;
}

.eqc-faq__item:last-child {
	border-bottom: none;
}

.eqc-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 48px 22px 0;
	font-family: var(--eqc-font-body);
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	color: #222;
	cursor: pointer;
	list-style: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 1.25em;
}

.eqc-faq__question::-webkit-details-marker {
	display: none;
}

.eqc-faq__item[open] > .eqc-faq__question {
	background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 15 12 9 18 15'%3e%3c/polyline%3e%3c/svg%3e");
}

.eqc-faq__answer {
	padding: 0 48px 22px 0;
}

.eqc-faq__answer p {
	margin: 0;
	font-family: var(--eqc-font-body);
	font-size: 0.98rem;
	line-height: 1.55;
	color: #555;
}

.eqc-faq__more {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.eqc-faq__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid #3197d4;
	border-radius: 5px;
	color: #3197d4;
	font-family: var(--eqc-font-display);
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.2;
}

.eqc-faq__link:hover,
.eqc-faq__link:focus {
	opacity: 0.75;
	color: #3197d4;
	text-decoration: none;
}

@media (max-width: 960px) {
	.eqc-faq {
		padding: 32px 0 48px;
	}

	.eqc-faq__inner {
		padding: 0 16px;
	}

	.eqc-faq__title {
		margin-bottom: 28px;
	}

	.eqc-faq__question {
		padding: 18px 36px 18px 0;
		font-size: 1rem;
	}

	.eqc-faq__answer {
		padding: 0 36px 18px 0;
	}

	.eqc-faq__more {
		margin-top: 28px;
	}
}

/* ---- Transformative summer ---- */

.eqc-transform {
	position: relative;
	width: 100%;
	overflow: hidden;
	isolation: isolate;
}

.eqc-transform::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-color: var(--eqc-paper);
	background-image: var(--eqc-paper-tile);
	background-repeat: repeat;
	background-size: 256px 256px;
	background-position: center top;
}

.eqc-transform__inner {
	position: relative;
	z-index: 1;
	max-width: 1320px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	align-items: stretch;
	min-height: 420px;
}

.eqc-transform__copy {
	padding: 56px 28px 56px 40px;
	box-sizing: border-box;
}

.eqc-transform__title {
	margin: 0 0 36px;
	font-family: var(--eqc-font-hand);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0.01em;
}

.eqc-transform__title-lead {
	display: block;
	font-size: clamp(2rem, 4.2vw, 3.1rem);
	color: var(--eqc-navy);
}

.eqc-transform__title-accent {
	display: inline-block;
	position: relative;
	margin-top: 4px;
	font-size: clamp(2rem, 4.2vw, 3.1rem);
	color: var(--eqc-blue);;
	z-index: 0;
}


.eqc-transform__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
}

.eqc-transform__item {
	position: relative;
	padding: 0 18px;
	box-sizing: border-box;
	text-align: center;
}

.eqc-transform__item:first-child {
	padding-left: 0;
}

.eqc-transform__item:last-child {
	padding-right: 0;
}

.eqc-transform__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 8px;
	right: 0;
	bottom: 8px;
	border-right: 1px dashed #b8b4ab;
}

.eqc-transform__icon {
	display: block;
	width: 60px;
	height: 60px;
	object-fit: contain;
	margin: 0 auto 14px;
}

.eqc-transform__item-copy {
	margin: 0;
	font-family: var(--eqc-font-body);
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.4;
	color: #333;
}

.eqc-transform__item-copy strong {
	display: block;
	margin: 0 0 6px;
	font-family: var(--eqc-font-display);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.25;
	color: var(--eqc-navy);
}

.eqc-transform__media {
	position: relative;
	min-height: 0;
	overflow: hidden;
	align-self: stretch;
}

.eqc-transform__media img,
.eqc-transform__placeholder {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	-webkit-mask-image: url("../img/homepage-v2/transform-photo-mask.svg");
	mask-image: url("../img/homepage-v2/transform-photo-mask.svg");
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
}

.eqc-transform__placeholder {
	background: #d5d0c6;
}

.eqc-transform__star {
	position: absolute;
	width: 18px;
	height: 18px;
	background: url("../img/homepage-v2/star.svg") center / contain no-repeat;
	pointer-events: none;
	z-index: 2;
}

.eqc-transform__star--1 {
	top: 14%;
	left: 28%;
	width: 16px;
	height: 16px;
	filter: brightness(0) saturate(100%) invert(27%) sepia(84%) saturate(2878%) hue-rotate(346deg) brightness(95%) contrast(90%);
}

.eqc-transform__star--2 {
	top: 22%;
	left: 48%;
	width: 14px;
	height: 14px;
	filter: brightness(0) saturate(100%) invert(78%) sepia(48%) saturate(628%) hue-rotate(358deg) brightness(103%) contrast(96%);
}

.eqc-transform__star--3 {
	top: 10%;
	right: 22%;
	width: 20px;
	height: 20px;
}

.eqc-transform__star--4 {
	top: 28%;
	right: 12%;
	width: 12px;
	height: 12px;
	filter: brightness(0) saturate(100%) invert(27%) sepia(84%) saturate(2878%) hue-rotate(346deg) brightness(95%) contrast(90%);
}

.eqc-transform__brush {
	position: absolute;
	right: -4%;
	bottom: -6%;
	width: min(48%, 260px);
	height: 42px;
	background: var(--eqc-navy);
	border-radius: 40% 8px 45% 6px / 60% 12px 40% 8px;
	transform: rotate(-4deg) skewX(-8deg);
	opacity: 0.92;
	pointer-events: none;
	z-index: 2;
}

@media (max-width: 1100px) {
	.eqc-transform__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 0;
	}

	.eqc-transform__item:nth-child(2)::after {
		display: none;
	}

	.eqc-transform__item:nth-child(odd) {
		padding-left: 0;
	}

	.eqc-transform__item:nth-child(even) {
		padding-right: 0;
	}
}

@media (max-width: 900px) {
	.eqc-transform__inner {
		grid-template-columns: 1fr;
	}

	.eqc-transform__copy {
		padding: 40px 20px 28px;
	}

	.eqc-transform__title {
		margin-bottom: 28px;
		text-align: center;
	}

	.eqc-transform__media {
		min-height: 280px;
		aspect-ratio: 16 / 10;
		order: -1;
	}

	.eqc-transform__media img,
	.eqc-transform__placeholder {
		-webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
		mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
	}

	.eqc-transform__brush {
		right: 8%;
		bottom: 0;
		width: 42%;
		height: 28px;
	}
}

@media (max-width: 560px) {
	.eqc-transform__list {
		grid-template-columns: 1fr;
		gap: 22px;
		max-width: 320px;
		margin: 0 auto;
	}

	.eqc-transform__item {
		padding: 0;
	}

	.eqc-transform__item::after {
		display: none !important;
	}
}

/* ---- Typical week modal ---- */

body.eqc-week-modal-open {
	overflow: hidden;
}

body.eqc-week-modal-open .mkdf-page-header,
body.eqc-week-modal-open .mkdf-sticky-header,
body.eqc-week-modal-open .mkdf-mobile-header {
	z-index: 1;
}

.eqc-week-modal {
	position: fixed;
	inset: 0;
	z-index: 1000100;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.eqc-week-modal.is-open,
.eqc-week-modal:not([hidden]) {
	display: flex;
}

.eqc-week-modal[hidden] {
	display: none !important;
}

.eqc-week-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(26, 31, 60, 0.55);
}

.eqc-week-modal__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(1180px, 100%);
	max-height: min(92vh, 900px);
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 12px 40px rgba(26, 31, 60, 0.28);
	overflow: hidden;
}

.eqc-week-modal__close {
	position: absolute;
	top: 10px;
	right: 12px;
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	color: #333;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.eqc-week-modal__close:hover {
	opacity: 0.7;
}

.eqc-week-modal__title {
	margin: 0;
	padding: 22px 52px 8px 24px;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.3rem, 2.4vw, 1.8rem);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--eqc-navy);
}

.eqc-week-modal__body {
	--eqc-week-other: #f3f3f3;
	--eqc-week-fun: #f6e78a;
	--eqc-week-culture: #f5d031;
	--eqc-week-meals: #c5def5;
	--eqc-week-lesson: #4aa4e8;
	--eqc-week-sleep: #f4c1d1;
	--eqc-week-ink: #3d7eb8;
	flex: 1;
	overflow: auto;
	padding: 8px 24px 24px;
}

.eqc-week {
	display: grid;
	grid-template-columns: 86px repeat(8, minmax(78px, 1fr));
	grid-template-rows: 40px 32px 32px minmax(86px, auto) 32px 42px minmax(70px, auto) 32px 32px minmax(48px, auto) 32px;
	gap: 4px;
	min-width: 980px;
	color: var(--eqc-week-ink);
	font-family: var(--eqc-font-body);
	font-size: 0.72rem;
	line-height: 1.25;
	text-align: center;
}

.eqc-week__cell,
.eqc-week__block,
.eqc-week__band {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px 6px;
	border-radius: 2px;
}

.eqc-week__corner {
	background: #e8f4fb;
	font-weight: 700;
}

.eqc-week__day {
	font-weight: 700;
	background: #f7f7f7;
}

.eqc-week__band {
	flex-direction: column;
	gap: 4px;
	padding: 8px 4px;
	font-weight: 600;
	line-height: 1.15;
	text-align: center;
}

.eqc-week__band-name {
	font-size: 0.78rem;
	font-weight: 700;
}

.eqc-week__band-hours {
	font-size: 0.62rem;
	font-weight: 600;
}

.eqc-week__band--morning {
	grid-area: 2 / 1 / 6 / 2;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='6' fill='none' stroke='%23e8c84a' stroke-width='1.6'/%3E%3Cg stroke='%23e8c84a' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M16 3v4M16 25v4M3 16h4M25 16h4M6.4 6.4l2.8 2.8M22.8 22.8l2.8 2.8M6.4 25.6l2.8-2.8M22.8 9.2l2.8-2.8'/%3E%3C/g%3E%3C/svg%3E") center 10% / 28px no-repeat,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='6' fill='none' stroke='%23e8c84a' stroke-width='1.6'/%3E%3Cg stroke='%23e8c84a' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='M16 3v4M16 25v4M3 16h4M25 16h4M6.4 6.4l2.8 2.8M22.8 22.8l2.8 2.8M6.4 25.6l2.8-2.8M22.8 9.2l2.8-2.8'/%3E%3C/g%3E%3C/svg%3E") center 90% / 28px no-repeat,
		#f7ecc4;
	color: var(--eqc-week-ink);
}

.eqc-week__band--afternoon {
	grid-area: 6 / 1 / 9 / 2;
	background-color: #f6cdd8;
	background-image: radial-gradient(circle at 22% 18%, #7ec8e8 2px, transparent 2.4px),
		radial-gradient(circle at 74% 28%, #f0c84a 2px, transparent 2.4px),
		radial-gradient(circle at 38% 62%, #e85a7a 2px, transparent 2.4px),
		radial-gradient(circle at 80% 78%, #7ec8e8 2px, transparent 2.4px),
		radial-gradient(circle at 16% 88%, #f0c84a 1.8px, transparent 2.2px);
	color: #27183c;
}

.eqc-week__band--evening {
	grid-area: 9 / 1 / 12 / 2;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23f0c84a' d='M10 2l1.6 4.8H17l-4.2 3 1.6 4.8L10 11.8 5.6 14.6l1.6-4.8L3 6.8h5.4z'/%3E%3C/svg%3E") center 12% / 16px no-repeat,
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23f0c84a' d='M10 2l1.6 4.8H17l-4.2 3 1.6 4.8L10 11.8 5.6 14.6l1.6-4.8L3 6.8h5.4z'/%3E%3C/svg%3E") center 88% / 16px no-repeat,
		#27183c;
	color: #f0c84a;
}

.eqc-week__block--d1-am { grid-area: 2 / 2 / 6 / 3; }
.eqc-week__block--wake { grid-area: 2 / 3 / 3 / 10; }
.eqc-week__block--breakfast { grid-area: 3 / 3 / 4 / 10; }
.eqc-week__block--d2-am { grid-area: 4 / 3 / 5 / 4; }
.eqc-week__block--d3-am { grid-area: 4 / 4 / 5 / 5; }
.eqc-week__block--lessons-am { grid-area: 4 / 5 / 5 / 8; }
.eqc-week__block--d7-am { grid-area: 4 / 8 / 5 / 9; }
.eqc-week__block--d8-am { grid-area: 4 / 9 / 6 / 10; }
.eqc-week__block--lunch { grid-area: 5 / 3 / 6 / 9; }

.eqc-week__block--d1-orient { grid-area: 6 / 2 / 7 / 3; }
.eqc-week__block--rest { grid-area: 6 / 3 / 7 / 8; }
.eqc-week__block--d7-pm { grid-area: 6 / 8 / 9 / 9; }
.eqc-week__block--d8-bye { grid-area: 6 / 9 / 12 / 10; }
.eqc-week__block--d1-pm { grid-area: 7 / 2 / 8 / 3; }
.eqc-week__block--d2-pm { grid-area: 7 / 3 / 8 / 4; }
.eqc-week__block--d3-pm { grid-area: 7 / 4 / 8 / 5; }
.eqc-week__block--d4-pm { grid-area: 7 / 5 / 8 / 6; }
.eqc-week__block--d5-pm { grid-area: 7 / 6 / 8 / 7; }
.eqc-week__block--d6-pm { grid-area: 7 / 7 / 8 / 8; }
.eqc-week__block--dinner-prep { grid-area: 8 / 2 / 9 / 8; }

.eqc-week__block--dinner { grid-area: 9 / 2 / 10 / 9; }
.eqc-week__block--d1-night { grid-area: 10 / 2 / 11 / 3; }
.eqc-week__block--night { grid-area: 10 / 3 / 11 / 9; }
.eqc-week__block--bed { grid-area: 11 / 2 / 12 / 9; }

.eqc-week__block--other { background: var(--eqc-week-other); }
.eqc-week__block--fun { background: var(--eqc-week-fun); }
.eqc-week__block--culture { background: var(--eqc-week-culture); }
.eqc-week__block--meals { background: var(--eqc-week-meals); }
.eqc-week__block--lesson { background: var(--eqc-week-lesson); color: #fff; }
.eqc-week__block--sleep { background: var(--eqc-week-sleep); }

.eqc-week__block--d1-am,
.eqc-week__block--d2-am,
.eqc-week__block--d3-am,
.eqc-week__block--d1-orient,
.eqc-week__block--d1-pm,
.eqc-week__block--d7-pm,
.eqc-week__block--d8-am,
.eqc-week__block--d8-bye {
	font-weight: 600;
}

.eqc-week__block--d8-bye {
	position: relative;
	z-index: 0;
	overflow: hidden;
	flex-direction: column;
	justify-content: flex-end;
	padding: 12px 8px 14px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	font-size: 0.78rem;
	line-height: 1.2;
	background-color: var(--eqc-week-lesson);
}

.eqc-week__block--d8-bye::before {
	content: "";
	position: absolute;
	left: 8%;
	right: 8%;
	top: 8%;
	bottom: 36%;
	background: url("../img/homepage-v2/dest-spain.png") center / contain no-repeat;
	filter: brightness(12);
	opacity: 0.45;
	pointer-events: none;
}

.eqc-week__legend {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 22px;
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
	font-family: var(--eqc-font-body);
	font-size: 0.85rem;
	line-height: 1.2;
	color: #555;
}

.eqc-week__legend li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eqc-week__swatch {
	display: block;
	width: 42px;
	height: 16px;
	border-radius: 2px;
	flex-shrink: 0;
}

.eqc-week__swatch.eqc-week__block--other {
	background: var(--eqc-week-other, #f3f3f3);
}

.eqc-week__swatch.eqc-week__block--fun {
	background: var(--eqc-week-fun, #f6e78a);
}

.eqc-week__swatch.eqc-week__block--culture {
	background: var(--eqc-week-culture, #f5d031);
}

.eqc-week__swatch.eqc-week__block--meals {
	background: var(--eqc-week-meals, #c5def5);
}

.eqc-week__swatch.eqc-week__block--lesson {
	background: var(--eqc-week-lesson, #4aa4e8);
	color: inherit;
}

.eqc-week__swatch.eqc-week__block--sleep {
	background: var(--eqc-week-sleep, #f4c1d1);
}

.eqc-week__legend-label {
	color: #555;
	font-size: 0.85rem;
}

@media (max-width: 767px) {
	.eqc-week-modal {
		padding: 8px;
		align-items: stretch;
	}

	.eqc-week-modal__dialog {
		max-height: 100%;
		border-radius: 6px;
	}

	.eqc-week-modal__title {
		padding: 18px 44px 6px 16px;
	}

	.eqc-week-modal__body {
		padding: 4px 12px 16px;
	}
}
