.MSFTripListWrapper {
	width: 100%;
	margin: clamp(24px, 4vw, 48px) auto clamp(36px, 5vw, 64px);
	box-sizing: border-box;
}

.MSFTripList {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(18px, 2.4vw, 30px);
	align-items: stretch;
}

.MSFTripList .MSFTripCard {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 100%;
	padding: 9px 9px 17px;
	box-sizing: border-box;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 8px;
	background:
		linear-gradient(180deg, rgba(20, 52, 62, 0.98) 0%, rgba(10, 38, 48, 0.98) 58%, rgba(9, 35, 43, 0.98) 100%),
		#0d2d38;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.2),
		0 11px 24px rgba(17, 40, 58, 0.22);
	color: #ffffff;
	text-decoration: none;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.MSFTripList .MSFTripCard::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 0;
	height: 38%;
	background:
		linear-gradient(180deg, rgba(10, 38, 48, 0) 0%, rgba(10, 38, 48, 0.62) 24%, rgba(10, 38, 48, 0.84) 100%),
		url("/themes/MSF26/images/specials/sharedListBkgrd.jpg") center bottom / auto 100% repeat-x;
	pointer-events: none;
}

.MSFTripList .MSFTripCard::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background:
		radial-gradient(circle at 18% 0%, rgba(213, 163, 61, 0.18), rgba(213, 163, 61, 0) 32%),
		linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0) 26%);
	pointer-events: none;
}

.MSFTripCard__photoFrame,
.MSFTripCard__body {
	position: relative;
	z-index: 1;
}

.MSFTripCard__photoFrame {
	display: block;
	aspect-ratio: 1.42 / 1;
	margin: 0 0 16px;
	overflow: hidden;
	border: 7px solid #ffffff;
	background: #ffffff;
	box-shadow:
		0 10px 18px rgba(0, 0, 0, 0.22),
		0 0 0 1px rgba(0, 0, 0, 0.12);
	transform: rotate(-1.1deg);
}

.MSFTripList .MSFTripCard:nth-child(even) .MSFTripCard__photoFrame {
	transform: rotate(1deg);
}

.MSFTripCard__photo {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transform: scale(1.01);
	transition: transform 0.35s ease;
}

.MSFTripCard__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-width: 0;
	padding: 0 11px;
	text-align: center;
}

.MSFTripCard__flag {
	position: absolute;
	top: -31px;
	right: 2px;
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding: 0 10px;
	border-radius: 3px;
	background: #d5a33d;
	box-shadow: 0 7px 14px rgba(0, 0, 0, 0.18);
	color: #092631;
	font: 800 11px/1 var(--body-font, "Noto Sans", Arial, Helvetica, sans-serif);
	letter-spacing: 0.07em;
	text-transform: uppercase;
	transform: rotate(4deg);
}

.MSFTripCard.flag-is-empty .MSFTripCard__flag {
	display: none;
}

.MSFTripCard__location {
	display: block;
	min-height: 14px;
	margin: 0 0 6px;
	color: #d5a33d;
	font: 400 17px/1.1 "Rock Salt", cursive;
}

.MSFTripCard__location:empty {
	display: none;
}

.MSFTripList h2 {
	margin: 0 0 10px;
	color: #ffffff;
	font: 700 clamp(29px, 3vw, 39px)/0.96 var(--title-font, "Barlow Condensed", "Arial Narrow", Arial, sans-serif);
	letter-spacing: 0;
	text-transform: none;
}

.MSFTripList .desc {
	display: -webkit-box;
	max-width: 100%;
	margin: 0 auto;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.88);
	font: 400 16px/1.42 var(--body-font, "Noto Sans", Arial, Helvetica, sans-serif);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
}

.MSFTripCard__meta {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: flex-end;
	gap: 13px;
	margin-top: 18px;
}

.MSFTripList .seasons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	color: rgba(255, 255, 255, 0.9);
	font: 800 10px/1 var(--body-font, "Noto Sans", Arial, Helvetica, sans-serif);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.MSFTripList .seasons__label {
	margin-right: 1px;
}

.MSFTripList .seasons .icon {
	display: inline-block;
	flex: 0 0 auto;
	width: 31px;
	height: 25px;
	background-image: url("/themes/MSF26/images/specials/SeasonSmall-upres.png");
	background-repeat: no-repeat;
	background-size: 124px 50px;
	opacity: 0.48;
}

.MSFTripList .seasons .icon.Spring { background-position: 0 0; }
.MSFTripList .seasons .icon.Summer { background-position: -31px 0; }
.MSFTripList .seasons .icon.Fall { background-position: -62px 0; }
.MSFTripList .seasons .icon.Winter { background-position: -93px 0; }

.MSFTripList .seasons.Spring .icon.Spring,
.MSFTripList .seasons.Summer .icon.Summer,
.MSFTripList .seasons.Fall .icon.Fall,
.MSFTripList .seasons.Winter .icon.Winter {
	opacity: 1;
	background-position-y: -25px;
}

.MSFTripList .learn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: min(100%, 156px);
	min-height: 39px;
	margin: 0 auto;
	border: 1px solid rgba(255,255,255,0.26);
	border-radius: 3px;
	background: linear-gradient(180deg, #b94620 0%, #83260f 100%);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 8px 16px rgba(0, 0, 0, 0.18);
	color: #ffffff;
	font: 700 16px/1 var(--title-font, "Barlow Condensed", "Arial Narrow", Arial, sans-serif);
	letter-spacing: 0.02em;
	white-space: nowrap;
	transition: gap 0.2s ease, background 0.2s ease;
}

.MSFTripList .MSFTripCard:hover,
.MSFTripList .MSFTripCard:focus {
	color: #ffffff;
	transform: translateY(-4px);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.22),
		0 16px 30px rgba(17, 40, 58, 0.28);
}

.MSFTripList .MSFTripCard:hover .MSFTripCard__photo,
.MSFTripList .MSFTripCard:focus .MSFTripCard__photo {
	transform: scale(1.07);
}

.MSFTripList .MSFTripCard:hover .learn,
.MSFTripList .MSFTripCard:focus .learn {
	gap: 13px;
	background: linear-gradient(180deg, #c44c24 0%, #70200d 100%);
}

@media (max-width: 1020px) {
	.MSFTripList {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.MSFTripList .desc {
		-webkit-line-clamp: 4;
	}
}

@media (max-width: 640px) {
	.MSFTripListWrapper {
		position: relative;
		left: 50%;
		width: 100vw;
		margin-top: 24px;
		overflow-x: auto;
		transform: translateX(-50%);
		-webkit-overflow-scrolling: touch;
	}

	.MSFTripList {
		display: flex;
		gap: 18px;
		width: max-content;
		min-width: 100%;
		padding: 0 18px 10px;
		box-sizing: border-box;
	}

	.MSFTripList .MSFTripCard {
		width: min(84vw, 344px);
	}
}

@media (max-width: 390px) {
	.MSFTripList .seasons {
		gap: 3px;
	}

	.MSFTripList .seasons .icon {
		width: 28px;
		height: 23px;
		background-size: 112px 46px;
	}

	.MSFTripList .seasons .icon.Spring { background-position: 0 0; }
	.MSFTripList .seasons .icon.Summer { background-position: -28px 0; }
	.MSFTripList .seasons .icon.Fall { background-position: -56px 0; }
	.MSFTripList .seasons .icon.Winter { background-position: -84px 0; }

	.MSFTripList .seasons.Spring .icon.Spring,
	.MSFTripList .seasons.Summer .icon.Summer,
	.MSFTripList .seasons.Fall .icon.Fall,
	.MSFTripList .seasons.Winter .icon.Winter {
		background-position-y: -23px;
	}
}
