/* Infrastructure inner restyle. Title band from inner.css; chrome + apply from home-5.css */

.asb-infra-page {
	overflow-x: clip;
}

.asb-infra-intro {
	background: #f9f8f4;
	padding: 4.5rem 0;
}

@media (min-width: 1200px) {
	.asb-infra-intro {
		padding: 7.5rem 0;
	}
}

.asb-infra-intro h2 {
	margin: 1.15rem 0 1.25rem;
	max-width: 18ch;
	color: #111;
	font-family: Montserrat, sans-serif;
	font-size: clamp(1.7rem, 3vw, 2.35rem);
	font-weight: 500;
	line-height: 1.25;
}

.asb-infra-intro__grid {
	display: grid;
	gap: 2.5rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.asb-infra-intro--split .asb-infra-intro__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 4rem;
	}
}

.asb-infra-intro__video video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 14px;
	background: #111;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.asb-infra-intro p:last-child,
.asb-infra-intro__copy > p:last-child {
	margin: 0;
	max-width: 52rem;
	color: #666;
	font-family: Inter, sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

.asb-infra-video {
	background: #fff;
	padding: 0 0 4.5rem;
}

@media (min-width: 1200px) {
	.asb-infra-video {
		padding: 0 0 7.5rem;
	}
}

.asb-infra-video video {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	max-height: 32rem;
	object-fit: cover;
	border-radius: 10px;
	background: #111;
}

.asb-infra-gallery {
	position: relative;
	overflow: visible;
	background: #fff;
	padding: 3rem 0 4.5rem;
}

@media (min-width: 1200px) {
	.asb-infra-gallery {
		padding: 4rem 0 7.5rem;
	}
}

.asb-infra-gallery__inner {
	position: relative;
	z-index: 1;
}

.asb-infra-gallery h2.asb-h5-programs__title {
	margin: 0 0 2rem;
	max-width: 18ch;
	color: #292929;
	font-family: "Work Sans", Montserrat, sans-serif;
	font-size: clamp(1.85rem, 4vw, 3.125rem);
	font-weight: 700;
	line-height: 1.2;
	text-align: left;
}

.asb-infra__masonry {
	column-count: 1;
	column-gap: 1rem;
}

@media (min-width: 640px) {
	.asb-infra__masonry {
		column-count: 2;
	}
}

@media (min-width: 1024px) {
	.asb-infra__masonry {
		column-count: 3;
	}
}

.asb-infra__figure {
	break-inside: avoid;
	margin: 0 0 1rem;
}

.asb-infra__thumb {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 10px;
	overflow: hidden;
	background: transparent;
	cursor: pointer;
}

.asb-infra__thumb img {
	display: block;
	width: 100%;
	height: auto;
	min-height: 10rem;
	border-radius: 10px;
	object-fit: cover;
}

.asb-infra__lightbox {
	max-width: min(94vw, 1400px);
	padding: 0;
	border: 0;
	background: transparent;
}

.asb-infra__lightbox::backdrop {
	background: rgba(15, 23, 42, 0.85);
}

.asb-infra__lightbox img {
	display: block;
	max-height: 88vh;
	width: auto;
	max-width: 100%;
	margin-inline: auto;
	border-radius: 10px;
	object-fit: contain;
}

.asb-infra__lightbox-close,
.asb-infra__lightbox-nav {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: #1f2937;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.asb-infra__lightbox-close {
	top: 0.5rem;
	right: 0.5rem;
}

.asb-infra__lightbox-nav--prev {
	left: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
}

.asb-infra__lightbox-nav--next {
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
}

.asb-infra-tours {
	background: #f9f8f4;
	padding: 4.5rem 0;
}

@media (min-width: 1200px) {
	.asb-infra-tours {
		padding: 7.5rem 0;
	}
}

.asb-infra-tours h2 {
	margin: 1.15rem 0 1.25rem;
	max-width: 18ch;
	color: #111;
	font-family: Montserrat, sans-serif;
	font-size: clamp(1.7rem, 3vw, 2.35rem);
	font-weight: 500;
	line-height: 1.25;
}

.asb-infra-tours__lede {
	margin: 0 0 2.25rem;
	max-width: 52rem;
	color: #666;
	font-family: Inter, sans-serif;
	font-size: 16px;
	line-height: 1.75;
}

.asb-infra-tours__group + .asb-infra-tours__group {
	margin-top: 2.25rem;
}

.asb-infra-tours__group h3 {
	margin: 0 0 1rem;
	color: #0f0d34;
	font-family: Montserrat, sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.asb-infra-tours__grid {
	display: grid;
	gap: 1rem;
}

@media (min-width: 640px) {
	.asb-infra-tours__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 1024px) {
	.asb-infra-tours__grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.asb-infra-tours__card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 7.25rem;
	padding: 1.35rem 1.4rem 1.15rem;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 14px 36px rgba(15, 13, 52, 0.06);
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.2s ease;
}

.asb-infra-tours__card:hover {
	box-shadow: 0 16px 40px rgba(228, 46, 45, 0.14);
}

.asb-infra-tours__card h4 {
	margin: 0;
	padding-left: 14px;
	border-left: 2px solid #e42e2d;
	color: #111;
	font-family: Montserrat, sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.35;
}

.asb-infra-tours__card .asb-h5-text-link {
	margin-top: 0.85rem;
}

.asb-infra-tours__card:hover .asb-h5-text-link {
	color: #e42e2d;
}

/* Booking card — same design as Contact "Send a Message" */
.asb-infra-page .asb-h5-apply__card {
	overflow: hidden;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.asb-infra-page .asb-h5-apply__copy {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: #121a2e;
	padding: 2.75rem 1.75rem;
}

@media (min-width: 768px) {
	.asb-infra-page .asb-h5-apply__copy {
		padding: 3.5rem 3rem;
	}
}

.asb-infra-page .asb-h5-apply__copy::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: linear-gradient(180deg, rgba(18, 26, 46, 0.9), rgba(18, 26, 46, 0.78)), url("../images/home/serene-campus-architectural-sketch.jpg") center / cover no-repeat;
}

.asb-infra-page .asb-h5-apply__copy::after {
	content: "";
	position: absolute;
	right: -4rem;
	bottom: -5rem;
	z-index: -1;
	width: 15rem;
	height: 15rem;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #e42e2d, #8f1418);
	opacity: 0.85;
}

.asb-infra-page .asb-h5-apply__copy .asb-h5-badge {
	align-self: flex-start;
	margin-bottom: 1.5rem;
	padding: 0.45rem 1rem;
	border-radius: 999px;
	background: #fff;
	color: #111;
	font-size: 13px;
	font-weight: 600;
}

.asb-infra-page .asb-h5-apply__copy h2 {
	max-width: 10em;
	margin: 0 0 1.5rem;
	font-family: Montserrat, sans-serif;
	font-size: clamp(2.2rem, 3.4vw, 2.8rem);
	font-weight: 700;
	line-height: 1.08;
}

.asb-infra-page .asb-h5-apply__copy h2 span {
	display: block;
	color: #e42e2d;
}

.asb-infra-page .asb-h5-apply__copy li {
	align-items: center;
	gap: 14px;
	padding: 0.6rem 0;
	color: #fff;
	font-size: 16px;
}

.asb-infra-page .asb-h5-apply__copy li::before {
	width: 22px;
	height: 22px;
	margin-top: 0;
	border-radius: 0;
	background: #e42e2d;
	-webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='m8 12.5 2.8 2.8L16 9.5'/></svg>") center / contain no-repeat;
	mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='m8 12.5 2.8 2.8L16 9.5'/></svg>") center / contain no-repeat;
}
