/* Destination page v2 — hero */

.eqc-destination-v2 .mkdf-content,
.eqc-destination-v2 .mkdf-content-inner {
	background: transparent;
}

.eqc-destination-v2 .mkdf-title-holder,
.eqc-destination-v2 .mkdf-page-header + .mkdf-title {
	display: none !important;
}

.eqc-destination-v2__main {
	--eqc-navy: #1a1f3c;
	--eqc-blue: #3fa9f5;
	--eqc-red: #e53935;
	--eqc-paper: #f2f0e9;
	--eqc-ink: #2a2a2a;
	--eqc-orange: #f48c34;
	--eqc-btn-radius: 5px; /* same as .b-nav__next */
	--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;
	min-height: 40vh;
}

.eqc-destination-v2__preview-banner {
	background: #2271b1;
	color: #fff;
	padding: 10px 20px;
	text-align: center;
	font-size: 14px;
	position: relative;
	z-index: 5;
}

.eqc-destination-v2__preview-banner p {
	margin: 0;
}

/* ---- Hero ---- */

.eqc-dest-hero {
	position: relative;
	isolation: isolate;
	width: 100%;
	background:
		linear-gradient(var(--eqc-navy), var(--eqc-navy)) top / 100% 96px no-repeat,
		var(--eqc-blue);
}

.eqc-dest-hero__paper {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	padding: 128px max(24px, calc((100vw - 1200px) / 2)) 72px;
	box-sizing: border-box;
	overflow: visible;
	z-index: 1;
	background: transparent;
}

.eqc-dest-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-dest-hero__paper > * {
	position: relative;
	z-index: 1;
}

.eqc-dest-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: 40px 48px;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
}

.eqc-dest-hero__copy {
	max-width: 520px;
}

.eqc-dest-hero__title {
	margin: 0 0 12px;
	font-family: var(--eqc-font-hand);
	font-size: clamp(3.6rem, 7vw, 5.6rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--eqc-navy);
}

.eqc-dest-hero__tagline {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px 14px;
	margin: 0 0 28px;
	line-height: 1;
}

.eqc-dest-hero__tagline-lead {
	font-family: var(--eqc-font-body);
	font-size: clamp(1.05rem, 1.6vw, 1.25rem);
	font-weight: 600;
	color: var(--eqc-navy);
	padding-bottom: 0.35em;
}

.eqc-dest-hero__ages {
	display: inline-flex;
	align-items: flex-end;
	gap: 10px;
	color: var(--eqc-blue);
}

.eqc-dest-hero__age-range {
	font-family: var(--eqc-font-hand);
	font-weight: 700;
	font-size: clamp(2.4rem, 4.5vw, 3.6rem);
	letter-spacing: -0.02em;
	line-height: 0.8;
}

.eqc-dest-hero__age-years {
	position: relative;
	font-family: var(--eqc-font-hand);
	font-weight: 700;
	font-size: clamp(1.25rem, 2.2vw, 1.7rem);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding-bottom: 0.28em;
	align-self: center;
	top: -0.15em;
}

.eqc-dest-hero__age-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-dest-hero__features {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px 18px;
}

.eqc-dest-hero__feature {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.eqc-dest-hero__feature-icon {
	width: 48px;
	height: 48px;
	flex-shrink: 0;
	object-fit: contain;
}

.eqc-dest-hero__feature-label {
	font-family: var(--eqc-font-display);
	font-size: 0.92rem;
	font-weight: bold;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--eqc-navy);
	line-height: 1.2;
}

.eqc-dest-hero__price {
	margin: 0;
	font-family: var(--eqc-font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--eqc-navy);
	line-height: 1.1;
}

.eqc-dest-hero__price-wrap {
	margin: 0 0 20px;
}

.eqc-dest-hero__price-note {
	margin: 6px 0 0;
	font-family: var(--eqc-font-body, Roboto, sans-serif);
	font-size: 0.85rem;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: #666;
	line-height: 1.3;
}

.eqc-dest-hero__cta {
	display: inline-block;
	background: var(--eqc-red);
	color: #fff;
	padding: 16px 28px;
	border: none;
	border-radius: var(--eqc-btn-radius);
	text-transform: uppercase;
	font-family: Oswald, var(--eqc-font-display);
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-decoration: none;
	line-height: 1.2;
	transition: opacity 0.2s ease;
}

.eqc-dest-hero__cta:hover,
.eqc-dest-hero__cta:focus {
	opacity: 0.85;
	color: #fff;
	text-decoration: none;
}

/* ---- Hero photo ---- */

.eqc-dest-hero__media {
	position: relative;
}

.eqc-dest-hero__photo {
	position: relative;
	margin: 0;
	background: #fff;
	padding: 12px 12px 18px;
	box-shadow: 0 10px 28px rgba(26, 31, 60, 0.12);
	transform: rotate(1.2deg);
}

.eqc-dest-hero__photo-frame {
	position: relative;
}

.eqc-dest-hero__photo-frame::before,
.eqc-dest-hero__photo-frame::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	height: 14px;
	pointer-events: none;
	z-index: 2;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

.eqc-dest-hero__photo-frame::before {
	top: -6px;
	background-image: url("../img/homepage-v2/torn-top.svg");
    transform: rotate(180deg);
}

.eqc-dest-hero__photo-frame::after {
	bottom: -2px;
	background-image: url("../img/homepage-v2/torn-bottom.svg");
	opacity: 1;
    transform: rotate(180deg);
}

.eqc-dest-hero__photo-img,
.eqc-dest-hero__photo-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #d9d6cf;
}

.eqc-dest-hero__flag {
	position: absolute;
	top: -20px;
	right: -23px;
	z-index: 3;
	width: 120px;
	height: 80px;
	padding: 4px;
	background: #fff;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
	transform: rotate(6deg);
	overflow: hidden;
}

.eqc-dest-hero__flag img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eqc-dest-hero__highlights {
	list-style: none;
	margin: 18px 0 0;
	padding: 4px 4px 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	box-sizing: border-box;
}

.eqc-dest-hero__highlight {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 0 10px;
	box-sizing: border-box;
}

.eqc-dest-hero__highlight:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 6px;
	right: 0;
	bottom: 6px;
	border-right: 1px dashed #b8b4ab;
}

.eqc-dest-hero__highlight-icon {
	display: block;
	width: 36px;
	height: 36px;
	object-fit: contain;
	margin: 0 0 10px;
}

.eqc-dest-hero__highlight-title {
	display: block;
	font-family: var(--eqc-font-display);
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--eqc-navy);
}

.eqc-dest-hero__highlight-label {
	display: block;
	margin-top: 4px;
	font-family: var(--eqc-font-body);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--eqc-red);
}

/* ---- Responsive ---- */

@media (max-width: 960px) {
	.eqc-dest-hero__inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.eqc-dest-hero__copy {
		max-width: none;
		text-align: center;
	}

	.eqc-dest-hero__tagline {
		justify-content: center;
	}

	.eqc-dest-hero__features {
		max-width: 520px;
		margin-left: auto;
		margin-right: auto;
		text-align: left;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.eqc-dest-hero__media {
		max-width: 560px;
		margin: 0 auto;
		width: 100%;
	}
}

@media (max-width: 600px) {
	.eqc-dest-hero__paper {
		padding: 108px 20px 56px;
	}

	.eqc-dest-hero__features {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px 12px;
		max-width: none;
	}

	.eqc-dest-hero__feature {
		justify-content: flex-start;
	}

	.eqc-dest-hero__feature-icon {
		width: 40px;
		height: 40px;
	}

	.eqc-dest-hero__feature-label {
		font-size: 0.75rem;
	}

	.eqc-dest-hero__photo {
		padding: 10px 10px 14px;
		transform: rotate(0.6deg);
	}

	.eqc-dest-hero__flag {
		width: 44px;
		height: 32px;
		top: 14px;
		right: 14px;
	}

	.eqc-dest-hero__highlights {
		margin-top: 14px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px 0;
	}

	.eqc-dest-hero__highlight:nth-child(2)::after {
		display: none;
	}

	.eqc-dest-hero__highlight-icon {
		width: 32px;
		height: 32px;
	}

	.eqc-dest-hero__highlight-title,
	.eqc-dest-hero__highlight-label {
		font-size: 0.85rem;
	}
}

/* ---- Section divider (same as homepage) ---- */

.eqc-destination-v2__main .eqc-section-divider {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	width: 100%;
	max-width: 720px;
	margin: 24px auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.eqc-destination-v2__main .eqc-section-divider::before,
.eqc-destination-v2__main .eqc-section-divider::after {
	content: "";
	flex: 1 1 auto;
	height: 2px;
	min-width: 24px;
	background: linear-gradient(90deg, transparent, #1a1f3c);
	opacity: 0.28;
}

.eqc-destination-v2__main .eqc-section-divider::after {
	background: linear-gradient(90deg, #1a1f3c, transparent);
}

.eqc-destination-v2__main .eqc-section-divider span {
	display: block;
	width: 10px;
	height: 10px;
	margin: 0;
	padding: 0;
	border: 2px solid #f48c34;
	border-radius: 0;
	background: transparent;
	transform: rotate(45deg);
	flex-shrink: 0;
	box-sizing: border-box;
}

/* ---- Benefits (same pattern as homepage .eqc-different) ---- */

.eqc-dest-benefits.eqc-different {
	width: 100%;
	padding: 48px 0 72px;
	background: #fff;
}

.eqc-dest-benefits .eqc-different__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.eqc-dest-benefits .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-dest-benefits .eqc-different__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	align-items: start;
}

.eqc-dest-benefits .eqc-different__item {
	position: relative;
	padding: 8px 22px;
}

.eqc-dest-benefits .eqc-different__details {
	width: 100%;
}

.eqc-dest-benefits .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-dest-benefits .eqc-different__trigger::-webkit-details-marker {
	display: none;
}

.eqc-dest-benefits .eqc-different__trigger::marker {
	content: "";
}

.eqc-dest-benefits .eqc-different__trigger:focus {
	outline: none;
}

.eqc-dest-benefits .eqc-different__trigger:focus-visible {
	outline: 2px solid var(--eqc-diff-color, var(--eqc-navy));
	outline-offset: 4px;
	border-radius: 4px;
}

.eqc-dest-benefits .eqc-different__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 18%;
	bottom: 18%;
	right: 0;
	width: 1px;
	background: #e6e6e6;
}

.eqc-dest-benefits .eqc-different__icon {
	width: 64px;
	height: 64px;
	object-fit: contain;
	margin-bottom: 16px;
}

.eqc-dest-benefits .eqc-different__title-row {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	max-width: 100%;
}

.eqc-dest-benefits .eqc-different__heading {
	margin: 0;
	font-family: var(--eqc-font-display);
	font-size: 0.90rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.25;
	color: var(--eqc-diff-color, var(--eqc-navy));
}

.eqc-dest-benefits .eqc-different__chevron {
	position: relative;
	width: 10px;
	height: 10px;
	flex-shrink: 0;
}

.eqc-dest-benefits .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-dest-benefits .eqc-different__details[open] .eqc-different__chevron::after {
	top: 60%;
	transform: translate(-50%, -50%) rotate(-135deg);
}

.eqc-dest-benefits .eqc-different__text {
	margin: 12px auto 0;
	font-family: var(--eqc-font-body);
	font-size: 0.92rem;
	line-height: 1.45;
	color: #333;
	max-width: 18em;
	text-align: center;
	animation: eqc-benefit-text-in 0.25s ease;
}

@keyframes eqc-benefit-text-in {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 1100px) {
	.eqc-dest-benefits .eqc-different__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px 0;
	}

	.eqc-dest-benefits .eqc-different__item:nth-child(2n)::after {
		display: none;
	}
}

@media (max-width: 767px) {
	.eqc-dest-benefits.eqc-different {
		padding: 24px 0 48px;
	}

	.eqc-dest-benefits .eqc-different__inner {
		padding: 0 16px;
	}

	.eqc-dest-benefits .eqc-different__title {
		margin-bottom: 32px;
	}

	.eqc-dest-benefits .eqc-different__grid {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin: 0 auto;
		gap: 0;
	}

	.eqc-dest-benefits .eqc-different__item {
		padding: 24px 8px;
	}

	.eqc-dest-benefits .eqc-different__item:not(:last-child)::after {
		top: auto;
		right: 16%;
		left: 16%;
		bottom: 0;
		width: auto;
		height: 1px;
	}
}

/* ---- Highlights cards (Beyond the Classroom) ---- */

.eqc-dest-highlights {
	width: 100%;
	padding: 40px 0 72px;
	background: #fff;
}

.eqc-dest-highlights__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.eqc-dest-highlights__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-dest-highlights__track {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 28px 24px;
	align-items: start;
}

.eqc-dest-highlight-card {
	position: relative;
	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;
}

.eqc-dest-highlight-card--1 {
	transform: rotate(-2.2deg);
}

.eqc-dest-highlight-card--2 {
	transform: rotate(1.6deg);
	margin-top: 12px;
}

.eqc-dest-highlight-card--3 {
	transform: rotate(-1.4deg);
}

.eqc-dest-highlight-card--4 {
	transform: rotate(2deg);
	margin-top: 8px;
}

.eqc-dest-highlight-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-dest-highlight-card--4 .eqc-dest-highlight-card__tape {
	transform: rotate(3deg);
}

.eqc-dest-highlight-card__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #d9d6cf;
	margin-bottom: 14px;
}

.eqc-dest-highlight-card__media img,
.eqc-dest-highlight-card__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eqc-dest-highlight-card__title {
	margin: 0 0 8px;
	font-family: var(--eqc-font-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--eqc-navy);
}

.eqc-dest-highlight-card__text {
	margin: 0;
	font-family: var(--eqc-font-body);
	font-size: 0.92rem;
	line-height: 1.4;
	color: #333;
}

@media (max-width: 1100px) {
	.eqc-dest-highlights__track {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.eqc-dest-highlights {
		padding: 28px 0 56px;
	}

	.eqc-dest-highlights__inner {
		padding: 0;
	}

	.eqc-dest-highlights__title {
		margin: 0 16px 28px;
	}

	.eqc-dest-highlights__track {
		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-dest-highlights__track::-webkit-scrollbar {
		display: none;
	}

	.eqc-dest-highlights__track.is-dragging {
		cursor: grabbing;
		scroll-snap-type: none;
	}

	.eqc-dest-highlight-card {
		flex: 0 0 min(78vw, 280px);
		scroll-snap-align: center;
		margin-top: 0;
	}

	.eqc-dest-highlight-card--1,
	.eqc-dest-highlight-card--2,
	.eqc-dest-highlight-card--3,
	.eqc-dest-highlight-card--4 {
		transform: rotate(0deg);
	}

	.eqc-dest-highlight-card--1,
	.eqc-dest-highlight-card--3 {
		transform: rotate(-1.2deg);
	}

	.eqc-dest-highlight-card--2,
	.eqc-dest-highlight-card--4 {
		transform: rotate(1.2deg);
	}
}

/* ---- Stay / Learn / Grow ---- */

.eqc-dest-stay {
	width: 100%;
	padding: 40px 0 72px;
	background: #fff;
}

.eqc-dest-stay__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.eqc-dest-stay__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-dest-stay__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.eqc-dest-stay-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e4e1da;
	box-shadow: 0 10px 28px rgba(26, 31, 60, 0.08);
	padding: 28px 24px 28px 28px;
	box-sizing: border-box;
	border-radius: 10px;
}

.eqc-dest-stay-card__main {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 20px;
	align-items: center;
}

.eqc-dest-stay-card__heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 6px;
}

.eqc-dest-stay-card__icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
	object-fit: contain;
}

.eqc-dest-stay-card__title {
	margin: 0;
	font-family: var(--eqc-font-display);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	line-height: 1.2;
	color: var(--eqc-navy);
}

.eqc-dest-stay-card__subtitle {
	margin: 0 0 16px;
	font-family: var(--eqc-font-hand);
	font-size: clamp(1.25rem, 2vw, 1.55rem);
	font-weight: 600;
	line-height: 1.2;
	color: var(--eqc-red);
}

.eqc-dest-stay-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.eqc-dest-stay-card__list li {
	position: relative;
	padding-left: 28px;
	font-family: var(--eqc-font-body);
	font-size: 0.98rem;
	line-height: 1.35;
	color: #333;
}

.eqc-dest-stay-card__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.15em;
	width: 1em;
	height: 1em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8.2l3.2 3.2L13 4.5' stroke='%231a1f3c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.eqc-dest-stay-card__list li:first-child {
	padding-left: 0;
	margin-bottom: 8px;
	font-family: var(--eqc-font-display);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
	color: var(--eqc-navy);
}

.eqc-dest-stay-card__list li:first-child::before {
	display: none;
}

.eqc-dest-stay-card__photo {
	margin: 0;
	background: #fff;
	padding: 8px;
	box-shadow: 0 8px 20px rgba(26, 31, 60, 0.14);
	transform: rotate(1.5deg);
    border-radius: 10px;
}

.eqc-dest-stay-card--residence .eqc-dest-stay-card__photo {
	transform: rotate(-1.5deg);
}

.eqc-dest-stay-card__photo img,
.eqc-dest-stay-card__placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: #d9d6cf;
}

@media (max-width: 900px) {
	.eqc-dest-stay {
		padding: 28px 0 56px;
	}

	.eqc-dest-stay__grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.eqc-dest-stay-card {
		padding: 24px 20px;
	}

	.eqc-dest-stay-card__main {
		grid-template-columns: 1fr;
	}

	.eqc-dest-stay-card__photo {
		max-width: 280px;
		margin: 0 auto;
		transform: rotate(0.8deg);
	}

	.eqc-dest-stay-card--residence .eqc-dest-stay-card__photo {
		transform: rotate(-0.8deg);
	}
}

/* ---- Fun & Learning activities ---- */

.eqc-dest-activities {
	width: 100%;
	padding: 40px 0 72px;
	background: #fff;
}

.eqc-dest-activities__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.eqc-dest-activities__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-dest-activities__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 36px 28px;
}

.eqc-dest-activity {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 8px 12px;
	box-sizing: border-box;
	min-width: 0;
	flex: 0 1 calc((100% - 56px) / 3);
}

.eqc-dest-activities__grid--count-4 {
	max-width: 840px;
	margin-inline: auto;
}

.eqc-dest-activities__grid--count-4 .eqc-dest-activity {
	flex-basis: calc((100% - 28px) / 2);
}

.eqc-dest-activity--1 .eqc-dest-activity__icon { transform: rotate(-3deg); }
.eqc-dest-activity--2 .eqc-dest-activity__icon { transform: rotate(2deg); }
.eqc-dest-activity--3 .eqc-dest-activity__icon { transform: rotate(-1.5deg); }
.eqc-dest-activity--4 .eqc-dest-activity__icon { transform: rotate(2.5deg); }
.eqc-dest-activity--5 .eqc-dest-activity__icon { transform: rotate(-2deg); }
.eqc-dest-activity--6 .eqc-dest-activity__icon { transform: rotate(1.5deg); }

.eqc-dest-activity__icon {
	width: 120px;
	height: 120px;
	object-fit: contain;
	margin-bottom: 16px;
}

.eqc-dest-activity__label {
	margin: 0 0 10px;
	font-family: var(--eqc-font-display);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	line-height: 1.25;
	color: var(--eqc-navy);
}

.eqc-dest-activity__text {
	margin: 0;
	max-width: 22em;
	font-family: var(--eqc-font-body);
	font-size: 0.95rem;
	line-height: 1.45;
	color: #333;
}

@media (max-width: 900px) {
	.eqc-dest-activities {
		padding: 28px 0 56px;
	}

	.eqc-dest-activities__grid {
		gap: 28px 18px;
	}

	.eqc-dest-activity,
	.eqc-dest-activities__grid--count-4 .eqc-dest-activity {
		flex-basis: calc((100% - 18px) / 2);
	}

	.eqc-dest-activities__grid--count-4 {
		max-width: none;
	}

	.eqc-dest-activity__icon {
		width: 96px;
		height: 96px;
	}
}

@media (max-width: 560px) {
	.eqc-dest-activity,
	.eqc-dest-activities__grid--count-4 .eqc-dest-activity {
		flex-basis: 100%;
		max-width: 360px;
	}
}

/* ---- More than an English class (same as homepage .eqc-world) ---- */

.eqc-destination-v2__main .eqc-world {
	width: 100%;
	padding: 24px 24px 72px;
	background: #fff;
	box-sizing: border-box;
}

.eqc-destination-v2__main .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-destination-v2__main .eqc-world__copy {
	padding: 44px 40px 40px 48px;
	z-index: 1;
}

.eqc-destination-v2__main .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-destination-v2__main .eqc-world__lead,
.eqc-destination-v2__main .eqc-world__note {
	margin: 0;
	font-family: var(--eqc-font-body);
	font-size: 1.05rem;
	line-height: 1.45;
	color: #222;
}

.eqc-destination-v2__main .eqc-world__flags {
	list-style: none;
	margin: 22px 0 20px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 18px;
}

.eqc-destination-v2__main .eqc-world__flags li {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	min-width: 52px;
}

.eqc-destination-v2__main .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-destination-v2__main .eqc-world__globe {
	width: 28px !important;
	height: 28px !important;
	object-fit: contain !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.eqc-destination-v2__main .eqc-world__flags span {
	font-family: var(--eqc-font-body);
	font-size: 0.75rem;
	color: #666;
	line-height: 1.2;
	text-align: center;
}

.eqc-destination-v2__main .eqc-world__list {
	list-style: none;
	margin: 4px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px 16px;
}

.eqc-destination-v2__main .eqc-world__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 6px;
	min-width: 0;
	width: 100%;
	max-width: 100%;
}

.eqc-destination-v2__main .eqc-world__item-icon {
	display: block;
	width: 100%;
	max-width: 128px;
	height: auto;
	margin: 0 0 4px;
}

.eqc-destination-v2__main .eqc-world__item-copy {
	min-width: 0;
	flex: 1;
}

.eqc-destination-v2__main .eqc-world__item-title {
	margin: 0;
	font-family: var(--eqc-font-body);
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--eqc-navy);
	overflow-wrap: break-word;
}

.eqc-destination-v2__main .eqc-world__item-text {
	margin: 4px 0 0;
	font-family: var(--eqc-font-body);
	font-size: 0.82rem;
	font-weight: 400;
	line-height: 1.3;
	color: var(--eqc-navy);
	overflow-wrap: break-word;
}

.eqc-destination-v2__main .eqc-world__media {
	position: relative;
	min-height: 280px;
	background: #d7eaf6;
}

.eqc-destination-v2__main .eqc-world__media img,
.eqc-destination-v2__main .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-destination-v2__main .eqc-world__placeholder {
	background: #c5dcec;
	min-height: 280px;
}

@media (max-width: 900px) {
	.eqc-destination-v2__main .eqc-world {
		padding: 8px 16px 48px;
	}

	.eqc-destination-v2__main .eqc-world__card {
		grid-template-columns: 1fr;
	}

	.eqc-destination-v2__main .eqc-world__copy {
		padding: 28px 20px 12px;
		order: 1;
	}

	.eqc-destination-v2__main .eqc-world__list {
		gap: 10px 8px;
	}

	.eqc-destination-v2__main .eqc-world__item-icon {
		max-width: 96px;
	}

	.eqc-destination-v2__main .eqc-world__item-title {
		font-size: 0.88rem;
	}

	.eqc-destination-v2__main .eqc-world__item-text {
		font-size: 0.74rem;
	}

	.eqc-destination-v2__main .eqc-world__media {
		min-height: 220px;
		order: 2;
	}

	.eqc-destination-v2__main .eqc-world__media img,
	.eqc-destination-v2__main .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%);
	}
}

@media (max-width: 600px) {
	.eqc-destination-v2__main .eqc-world__list {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.eqc-destination-v2__main .eqc-world__item {
		flex-direction: row;
		align-items: center;
		text-align: left;
		gap: 12px;
	}

	.eqc-destination-v2__main .eqc-world__item-icon {
		width: 84px;
		max-width: 84px;
		flex: 0 0 84px;
		margin: 0;
	}

	.eqc-destination-v2__main .eqc-world__item-title {
		font-size: 0.95rem;
	}

	.eqc-destination-v2__main .eqc-world__item-text {
		margin-top: 2px;
		font-size: 0.8rem;
	}
}

/* ---- Reviews: From our campers (same as homepage .eqc-reviews students) ---- */

.eqc-destination-v2__main .eqc-reviews {
	width: 100%;
	padding: 24px 0 72px;
	background: #fff;
}

.eqc-destination-v2__main .eqc-reviews__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 56px;
}

.eqc-destination-v2__main .eqc-reviews__heading {
	text-align: center;
	margin-bottom: 28px;
}

.eqc-destination-v2__main .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-destination-v2__main .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);
	background: var(--eqc-blue);
}

.eqc-destination-v2__main .eqc-reviews__emoji {
	font-size: 0.7em;
	line-height: 1;
}

.eqc-destination-v2__main .eqc-reviews__subtitle {
	margin: 0;
	font-family: var(--eqc-font-body);
	font-size: 0.95rem;
	color: #555;
}

.eqc-destination-v2__main .eqc-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	align-items: stretch;
}

.eqc-destination-v2__main .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;
	background: #fff;
}

.eqc-destination-v2__main .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;
	background: rgba(63, 169, 245, 0.72);
}

.eqc-destination-v2__main .eqc-review-card--student.eqc-review-card--2 {
	background: #eef6fb;
}

.eqc-destination-v2__main .eqc-review-card--student.eqc-review-card--3 {
	background: #fff8f4;
}

.eqc-destination-v2__main .eqc-review-card--1 { transform: rotate(-2deg); }
.eqc-destination-v2__main .eqc-review-card--2 { transform: rotate(1.6deg); }
.eqc-destination-v2__main .eqc-review-card--3 { transform: rotate(-1.2deg); }

.eqc-destination-v2__main .eqc-review-card__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 8px;
}

.eqc-destination-v2__main .eqc-review-card__quote {
	font-family: Georgia, serif;
	font-size: 2.4rem;
	line-height: 0.7;
	color: var(--eqc-red);
}

.eqc-destination-v2__main .eqc-review-card__quote--end {
	align-self: flex-end;
	margin: 4px 0 12px;
}

.eqc-destination-v2__main .eqc-review-card__stars {
	color: #e3b23c;
	letter-spacing: 1px;
	font-size: 0.95rem;
	line-height: 1;
}

.eqc-destination-v2__main .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-destination-v2__main .eqc-review-card__footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
}

.eqc-destination-v2__main .eqc-review-card__footer > :not(.eqc-review-card__sticker) {
	padding-left: 12px;
}

.eqc-destination-v2__main .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-destination-v2__main .eqc-review-card__meta {
	font-family: var(--eqc-font-body);
	font-size: 0.85rem;
	color: #666;
}

.eqc-destination-v2__main .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);
	color: var(--eqc-red);
}

.eqc-destination-v2__main .eqc-reviews__more {
	display: flex;
	justify-content: center;
	margin-top: 8px;
}

.eqc-destination-v2__main .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-destination-v2__main .eqc-reviews__google:hover,
.eqc-destination-v2__main .eqc-reviews__google:focus {
	opacity: 0.75;
	color: #3197d4;
	text-decoration: none;
}

.eqc-destination-v2__main .eqc-reviews__google-icon {
	width: 22px;
	height: 22px;
	display: block;
	flex-shrink: 0;
}

.eqc-destination-v2__main .eqc-reviews__stars {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.eqc-destination-v2__main .eqc-reviews__star {
	display: block;
	fill: #f4b400;
}

@media (max-width: 960px) {
	.eqc-destination-v2__main .eqc-reviews__grid {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin: 0 auto;
	}

	.eqc-destination-v2__main .eqc-review-card--1,
	.eqc-destination-v2__main .eqc-review-card--2,
	.eqc-destination-v2__main .eqc-review-card--3 {
		transform: none;
	}

	.eqc-destination-v2__main .eqc-reviews__inner {
		padding: 0 16px;
		gap: 40px;
	}

	.eqc-destination-v2__main .eqc-reviews {
		padding: 8px 0 48px;
	}
}

/* ---- Our amazing moments (same as homepage .eqc-moments) ---- */

.eqc-destination-v2__main .eqc-moments {
	width: 100%;
	padding: 48px 0 72px;
	background: #fff;
}

.eqc-destination-v2__main .eqc-moments__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
}

.eqc-destination-v2__main .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-destination-v2__main .eqc-moments__video {
	position: relative;
	width: 100%;
	max-width: 960px;
	margin: 0 auto 40px;
	aspect-ratio: 16 / 9;
	border-radius: 20px;
	overflow: hidden;
	background: #111;
}

.eqc-destination-v2__main .eqc-moments__video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

.eqc-destination-v2__main .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-destination-v2__main .eqc-moments__item {
	margin: 0;
	overflow: hidden;
	border-radius: 20px;
	background: #ececec;
    box-shadow: 0 8px 11px rgba(26, 31, 60, 0.2);
}

.eqc-destination-v2__main .eqc-moments__item--a { grid-area: a; }
.eqc-destination-v2__main .eqc-moments__item--b { grid-area: b; }
.eqc-destination-v2__main .eqc-moments__item--c { grid-area: c; }
.eqc-destination-v2__main .eqc-moments__item--d { grid-area: d; }
.eqc-destination-v2__main .eqc-moments__item--e { grid-area: e; }
.eqc-destination-v2__main .eqc-moments__item--f { grid-area: f; }

.eqc-destination-v2__main .eqc-moments__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 960px) {
	.eqc-destination-v2__main .eqc-moments {
		padding: 32px 0 48px;
	}

	.eqc-destination-v2__main .eqc-moments__inner {
		padding: 0;
	}

	.eqc-destination-v2__main .eqc-moments__title {
		padding: 0 16px;
		margin-bottom: 28px;
	}

	.eqc-destination-v2__main .eqc-moments__video {
		margin: 0 16px 28px;
		width: auto;
		border-radius: 16px;
	}

	.eqc-destination-v2__main .eqc-moments__scroller {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 0 16px 8px;
		scroll-snap-type: x proximity;
	}

	.eqc-destination-v2__main .eqc-moments__scroller::-webkit-scrollbar {
		display: none;
	}

	.eqc-destination-v2__main .eqc-moments__grid {
		display: flex;
		width: max-content;
		grid-template-columns: none;
		grid-template-areas: none;
		grid-auto-rows: auto;
		gap: 12px;
	}

	.eqc-destination-v2__main .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-destination-v2__main .eqc-moments__item--tall {
		min-height: 0;
	}
}

/* ---- Dates & What's Included (CRM CountryTemplate) ---- */

.eqc-dest-dates {
	width: 100%;
	padding: 24px 24px 72px;
	background: #fff;
	box-sizing: border-box;
}

.eqc-dest-dates .wpb_text_column,
.eqc-dest-dates .wpb_wrapper {
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
}

.eqc-dest-dates .wpb_wrapper > h3 {
	margin: 0 0 28px;
	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);
	text-align: center;
}

.eqc-dest-dates .wpb_wrapper > h3 strong {
	font-weight: inherit;
}

.eqc-dest-dates .b-country-programs {
	margin: 0;
}

.eqc-dest-dates .b-country-programs__grid {
	justify-content: center;
}

/* 1 card: center as a single column */
.eqc-dest-dates .b-country-programs__grid:has(> :only-child) {
	grid-template-columns: minmax(0, 420px);
}

/* 2 cards: center as a pair (desktop 3-col layout) */
.eqc-dest-dates .b-country-programs__grid:has(> :nth-child(2):last-child) {
	grid-template-columns: repeat(2, minmax(0, 420px));
}

@media (max-width: 1200px) {
	.eqc-dest-dates .b-country-programs__grid:has(> :nth-child(2):last-child) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 900px;
		margin-inline: auto;
	}
}

@media (max-width: 960px) {
	.eqc-dest-dates {
		padding: 16px 16px 48px;
	}

	.eqc-dest-dates .b-country-programs__grid:has(> :only-child),
	.eqc-dest-dates .b-country-programs__grid:has(> :nth-child(2):last-child) {
		grid-template-columns: minmax(0, 1fr);
		max-width: 420px;
		margin-inline: auto;
	}
}

/* ---- Photo lightbox ---- */

body.eqc-photo-modal-open {
	overflow: hidden;
}

.eqc-destination-v2__main img.eqc-lightbox {
	cursor: zoom-in;
}

.eqc-photo-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	box-sizing: border-box;
}

.eqc-photo-modal[hidden] {
	display: none !important;
}

.eqc-photo-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 14, 28, 0.82);
	cursor: pointer;
}

.eqc-photo-modal__dialog {
	position: relative;
	z-index: 1;
	max-width: min(1100px, 100%);
	max-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.eqc-photo-modal__img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 48px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
	background: #111;
}

.eqc-photo-modal__close {
	position: absolute;
	top: -12px;
	right: -12px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #1a1f3c;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.eqc-photo-modal__close:hover,
.eqc-photo-modal__close:focus {
	opacity: 0.85;
}

@media (max-width: 600px) {
	.eqc-photo-modal {
		padding: 16px;
	}

	.eqc-photo-modal__close {
		top: -8px;
		right: -4px;
	}

	.eqc-photo-modal__img {
		max-height: calc(100vh - 32px);
	}
}




