/* ---------------- MICE Cities listing ---------------- */

.moss-mc-page { padding: 32px 0 64px; }

.moss-mc-title {
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 18px;
}

.moss-mc-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 28px;
}
.moss-mc-tab {
	position: relative;
	padding: 0 0 14px;
	font-size: 13px;
	font-weight: 500;
	color: #94a3b8;
	white-space: nowrap;
	text-decoration: none;
}
.moss-mc-tab::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 2px;
	background: var(--moss-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.moss-mc-tab.is-active { color: #0f172a; font-weight: 700; }
.moss-mc-tab.is-active::after { transform: scaleX(1); }

.moss-mc-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}

/* tall portrait card, text sitting on a dark wash at the bottom */
.moss-mc-card {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	border-radius: 10px;
	overflow: hidden;
	background: #1e293b;
	text-decoration: none;
}
.moss-mc-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
/* the wash is a pseudo-element so the text never sits on raw photo */
.moss-mc-card::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 58%;
	background: linear-gradient(to bottom, rgba(12, 33, 71, 0) 0%, rgba(12, 33, 71, 0.92) 62%, #0c2147 100%);
}
.moss-mc-card-text {
	position: absolute;
	z-index: 1;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 14px 14px 16px;
}
.moss-mc-card-text small {
	display: block;
	font-size: 10.5px;
	font-weight: 500;
	line-height: 1.4;
	color: #e2e8f0;
	margin-bottom: 4px;
}
.moss-mc-card-text strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
}
.moss-mc-card-text strong.is-gold { color: #f5a623; }
.moss-mc-card-text strong.is-blue { color: #5fa8e8; }

.moss-mc-empty {
	font-size: 13.5px;
	color: #64748b;
	padding: 30px 0;
}

/* ---------------- single city ---------------- */

.moss-ct-page { padding: 24px 0 64px; }

/* full-bleed banner */
.moss-ct-hero {
	position: relative;
	left: 50%;
	right: 50%;
	width: 100vw;
	margin: 14px -50vw 0;
	height: 260px;
	overflow: hidden;
}
.moss-ct-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.moss-ct-title {
	font-size: 32px;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: 0.01em;
	margin: 26px 0 16px;
}

.moss-ct-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 26px;
	border-bottom: 1px solid #e5e7eb;
	margin-bottom: 28px;
}
.moss-ct-tab {
	position: relative;
	padding: 0 0 12px;
	font-size: 13px;
	font-weight: 500;
	color: #94a3b8;
	text-decoration: none;
	white-space: nowrap;
}
.moss-ct-tab::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 100%;
	height: 2px;
	background: var(--moss-orange);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}
.moss-ct-tab.is-active { color: #0f172a; font-weight: 700; }
.moss-ct-tab.is-active::after { transform: scaleX(1); }

.moss-ct-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.moss-ct-section {
	scroll-margin-top: 90px;
	margin-bottom: 34px;
}
.moss-ct-section h2 {
	font-size: 15px;
	font-weight: 700;
	color: #0f172a;
	margin: 0 0 12px;
}
.moss-ct-section p {
	font-size: 13px;
	line-height: 1.85;
	color: #334155;
	margin: 0 0 12px;
}
.moss-ct-figure {
	display: block;
	width: 100%;
	border-radius: 6px;
	margin-top: 8px;
}

.moss-ct-map {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}
.moss-ct-map iframe {
	display: block;
	width: 100%;
	height: 330px;
	border: 0;
}

/* the sidebar reuses the calendar-event blocks (.moss-ev-*) */
.moss-ct-layout .moss-mc-card { aspect-ratio: 3 / 4; }

@media (max-width: 1100px) {
	.moss-mc-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
	.moss-mc-grid { grid-template-columns: repeat(3, 1fr); }
	.moss-ct-layout { grid-template-columns: 1fr; gap: 30px; }
	.moss-ct-hero { height: 200px; }
	.moss-ct-title { font-size: 26px; }
	.moss-mc-tabs,
	.moss-ct-tabs { gap: 18px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; }
}
@media (max-width: 600px) {
	.moss-mc-grid { grid-template-columns: repeat(2, 1fr); }
	.moss-ct-hero { height: 160px; }
}
