/* ==========================================================================
   The Capital — Meeting Rooms
   ========================================================================== */

.tc-meeting-rooms {
	width: 100%;
	color: #fff;
	border-top: 1px solid rgba(216, 218, 215, 0.33);
	padding-top: 80px;
	margin-top: 40px;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.tc-mr-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 90px;
}

.tc-mr-title {
	font-family: 'Gilda Display', serif;
	font-size: 56px;
	font-weight: 400;
	line-height: 1.05;
	color: #fff;
	margin: 0;
}

/* ── Capacity Filter (select dropdown) ──────────────────────────────────── */
.tc-mr-filter-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
	border-bottom: 1px solid rgba( 255, 255, 255, 0.4 );
	padding-bottom: 15px;
	min-width: 220px;
	flex-shrink: 0;
}

.tc-mr-filter-wrap .tc-mr-person-icon {
	width: 17px;
	height: 17px;
	flex-shrink: 0;
	color: #fff;
}

.tc-mr-filter-select {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: none;
	color: #fff;
	font-family: 'DM Sans', sans-serif;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.02em;
	cursor: pointer;
	flex: 1;
	outline: none;
	padding-right: 20px;
}

.tc-mr-filter-select option {
	background: #111;
	color: #fff;
	padding: 10px 14px; /* respected by Firefox; Chrome uses OS-native rendering */
}

.tc-mr-filter-chevron {
	position: absolute;
	right: 0;
	width: 19px;
	height: 19px;
	pointer-events: none;
	color: #fff;
	flex-shrink: 0;
}

/* ── Stage ──────────────────────────────────────────────────────────────── */
.tc-mr-stage {
	position: relative;
}

/* ── Outer Nav Arrows — outside the card ────────────────────────────────── */
.tc-mr-prev,
.tc-mr-next {
	position: absolute;
	top: 50%;
	transform: translateY( -50% );
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 53px;
	height: 53px;
	border-radius: 50%;
	border: none;
	background: #fff !important;
	color: #000;
	cursor: pointer;
	transition: background 0.2s;
	flex-shrink: 0;
}

.tc-mr-prev { left: -80px; }
.tc-mr-next { right: -80px; }

.tc-mr-prev:hover,
.tc-mr-next:hover {
	background: rgba( 255, 255, 255, 0.75 ) !important;
}

.tc-mr-prev svg,
.tc-mr-next svg {
	width: 27px;
	height: 27px;
}

.tc-mr-prev.swiper-button-disabled,
.tc-mr-next.swiper-button-disabled {
	opacity: 0.25;
	cursor: not-allowed;
	pointer-events: none;
}

/* ── Swiper ─────────────────────────────────────────────────────────────── */
.tc-mr-swiper {
	width: 100%;
	overflow: hidden;
}

/* ── Slide hidden by filter ─────────────────────────────────────────────── */
.tc-mr-slide.tc-mr-hidden {
	display: none;
}

/* ── Card — two-column layout ───────────────────────────────────────────── */
.tc-mr-card {
	display: flex;
	align-items: stretch;
	gap: 80px;
}

/* ── Left Column ────────────────────────────────────────────────────────── */
.tc-mr-card__left {
	width: 320px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	padding: 4px 0 0;
}

/* ── Pills ──────────────────────────────────────────────────────────────── */
.tc-mr-card__pills {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 35px;
}

.tc-mr-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 3px 9px;
	border: 1px solid rgba( 255, 255, 255, 0.3 );
	border-radius: 100px;
	font-family: 'DM Sans', sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 23px;
	color: var(--tc-white);
	white-space: nowrap;
	letter-spacing: 0.04em;
}

.tc-mr-pill .tc-mr-person-icon {
	width: 13px;
	height: 13px;
	flex-shrink: 0;
	color: var(--tc-white);
}

/* ── Room name ──────────────────────────────────────────────────────────── */
.tc-mr-card__name {
	font-family: 'Gilda Display', serif;
	font-size: 30px !important;
	font-weight: 400;
	line-height: 1 !important;
	color: var(--tc-white);
	margin: 0 0 5px;
}

/* ── Meta: "200 pax • 133m²" ────────────────────────────────────────────── */
.tc-mr-card__meta {
	font-family: 'DM Sans', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 29px;
	color: var(--tc-white);
	margin: 0 0 35px;
}

/* ── Divider ────────────────────────────────────────────────────────────── */
.tc-mr-divider {
	border: none;
	border-top: 1px solid rgba( 255, 255, 255, 0.15 );
	margin: 24px 0;
}

/* ── Vertical Tab List ──────────────────────────────────────────────────── */
.tc-mr-tabs {
	display: flex;
	flex-direction: column;
}

.tc-mr-tab {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 15px 0;
	border: none;
	border-bottom: 1px solid rgba( 255, 255, 255, 0.12 );
	background: transparent;
	color: rgba( 255, 255, 255, 0.65 );
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 27px;
	text-align: left;
	cursor: pointer;
	transition: color 0.2s;
	width: 100%;
}

.tc-mr-tab:first-child {
	border-top: 1px solid rgba( 255, 255, 255, 0.12 );
}

.tc-mr-tab:hover {
	color: #fff;
}

.tc-mr-tab--active {
	color: #fff;
}

.tc-mr-tab__label {
	flex: 1;
}

.tc-mr-tab__arrow {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: rgba( 255, 255, 255, 0.25 );
	transition: color 0.2s;
}

.tc-mr-tab--active .tc-mr-tab__arrow,
.tc-mr-tab:hover .tc-mr-tab__arrow {
	color: var( --tc-gold, #EBA318 );
}

/* ── Custom pagination (inside left column) ─────────────────────────────── */
.tc-mr-custom-pagination {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
}

.tc-mr-cp-bullet {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.35 );
	cursor: pointer;
	transition: background 0.2s, width 0.2s, border-radius 0.2s;
	flex-shrink: 0;
}

.tc-mr-cp-bullet--active {
	background: var( --tc-gold, #EBA318 );
	width: 28px;
	border-radius: 4px;
}

/* ── Contact Us button — gold fill, black text (matches button-gold style) ─ */
.tc-mr-contact-btn.elementor-button {
	display: block;
	width: 100%;
	margin-top: 44px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-align: center;
	width: fit-content;
	padding: 14px 18px;
}

/* ── Right Column ───────────────────────────────────────────────────────── */
.tc-mr-card__right {
	flex: 1;
	min-width: 0;
	border: 1px solid rgba( 255, 255, 255, 0.1 );
	border-radius: 8px;
	overflow: hidden;
	/* background: #0c0c0c; */
	display: flex;
	flex-direction: column;
	min-height: 520px;
	max-height: 85vh;
}

/* ── Panels ─────────────────────────────────────────────────────────────── */
.tc-mr-panel {
	display: none;
	flex-direction: column;
	flex: 1;
}

.tc-mr-panel--active {
	display: flex;
}

/* ── 360° Panel ─────────────────────────────────────────────────────────── */
.tc-mr-tour-link {
	display: flex;
	flex: 1;
	text-decoration: none;
}

.tc-mr-tour-thumb {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	padding: 60px 40px;
	background: transparent;
	transition: background 0.2s, opacity 0.2s;
	position: relative;
}

/* When a custom background image is set */
.tc-mr-tour-thumb--has-bg {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Darken the bg image slightly so icon/text remain legible */
.tc-mr-tour-thumb--has-bg::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba( 0, 0, 0, 0.45 );
	transition: background 0.2s;
}

.tc-mr-tour-link:hover .tc-mr-tour-thumb--has-bg::before {
	background: rgba( 0, 0, 0, 0.3 );
}

.tc-mr-tour-link:hover .tc-mr-tour-thumb:not(.tc-mr-tour-thumb--has-bg) {
	background: rgba( 255, 255, 255, 0.03 );
}

/* Icon and text sit above the ::before overlay */
.tc-mr-tour-icon,
.tc-mr-tour-cta {
	position: relative;
	z-index: 1;
}

.tc-mr-tour-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border: 1.5px solid var( --tc-gold, #EBA318 );
	border-radius: 50%;
	color: var( --tc-gold, #EBA318 );
}

.tc-mr-tour-icon svg {
	width: 28px;
	height: 28px;
}

.tc-mr-tour-cta {
	color: #fff;
	font-family: 'DM Sans', sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ── Floor Plan Panel ───────────────────────────────────────────────────── */
.tc-mr-panel--floorplan {
	align-items: center;
	justify-content: center;
}

.tc-mr-panel--floorplan a {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	padding: 32px;
}

.tc-mr-floorplan-img {
	max-width: 100%;
	max-height: 380px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

/* ── Configurations Panel ───────────────────────────────────────────────── */
.tc-mr-panel--configs {
	position: relative;
}

.tc-mr-config-counter {
	position: absolute;
	top: 18px;
	right: 20px;
	z-index: 10;
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 23px;
	color: rgba( 255, 255, 255, 0.45 );
	pointer-events: none;
}

/* Config swiper fills available height — fixed min-height fixes image display */
.tc-mr-config-swiper {
	flex: 1;
	min-height: 360px;
	overflow: hidden;
}

.tc-mr-config-slide {
	height: 100%;
	width: 100% !important;
}

.tc-mr-config-figure {
	margin: 0;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 48px 48px 20px;
	box-sizing: border-box;
}

.tc-mr-config-figure img {
	display: block;
	max-width: 100%;
	max-height: 300px;
	width: auto;
	height: auto;
	object-fit: contain;
	flex-shrink: 0;
}

.tc-mr-config-caption {
	margin-top: 35px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
}

.tc-mr-config-type {
	display: block;
	color: #fff;
	font-family: 'DM Sans', sans-serif;
	font-size: 25px;
	font-weight: 400;
	line-height: 1.1;
}

.tc-mr-config-pax {
	display: block;
	color: rgba(255, 255, 255, 0.6);
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.4;
}

/* ── Config bottom bar ──────────────────────────────────────────────────── */
.tc-mr-config-bottom {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	padding: 16px 24px;
	flex-shrink: 0;
}

.tc-mr-config-prev,
.tc-mr-config-next {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.2s, border-color 0.2s;
}

.tc-mr-config-prev:hover,
.tc-mr-config-next:hover {
	/* background: var( --tc-gold, #EBA318 );
	border-color: var( --tc-gold, #EBA318 ); */
}

.tc-mr-config-prev svg,
.tc-mr-config-next svg {
	width: 26px;
	height: 26px;
}

/* ── Config pagination ──────────────────────────────────────────────────── */
.tc-mr-config-pagination {
	display: flex;
	align-items: center;
	gap: 6px;
	position: static !important;
	width: auto !important;
	bottom: auto !important;
}

.tc-mr-config-pagination .swiper-pagination-bullet {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba( 255, 255, 255, 0.3 );
	opacity: 1;
	cursor: pointer;
	margin: 0 !important;
	transition: background 0.2s, width 0.2s;
}

.tc-mr-config-pagination .swiper-pagination-bullet-active {
	background: var( --tc-gold, #EBA318 );
	width: 20px;
	border-radius: 3px;
}

/* ── No results ─────────────────────────────────────────────────────────── */
.tc-mr-no-results {
	text-align: center;
	color: rgba( 255, 255, 255, 0.45 );
	padding: 48px 0;
	font-family: 'DM Sans', sans-serif;
	font-size: 15px;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media ( max-width: 1600px ) {
	.tc-meeting-rooms {
		padding-left: 80px;
		padding-right: 80px;
	}
}

@media ( max-width: 1200px ) {
	.tc-mr-prev { left: -64px; }
	.tc-mr-next { right: -64px; }
	.tc-mr-prev,
	.tc-mr-next {
		width: 40px;
		height: 40px;
	}
}

@media ( max-width: 1024px ) {
	.tc-mr-title { font-size: 44px; }
	.tc-mr-card { gap: 36px; }
	.tc-mr-card__left { width: 280px; }
	.tc-mr-prev { left: auto; right: calc(100% + 20px) }
	.tc-mr-next { right: auto; left: calc(100% + 20px) }
}

@media ( max-width: 860px ) {
	.tc-meeting-rooms {
		padding-left: 20px;
		padding-right: 20px;
	}
	.tc-meeting-rooms .tc-mr-contact-btn {
		margin-top: 0;
	}
	.tc-mr-custom-pagination {
		margin-top: 45px;
	}
	.tc-mr-stage {
		display: flex;
		flex-direction: column;
		padding: 0 30px;
		padding-top: 20px;		
	}

	.tc-mr-config-figure {
		padding: 0px;
	}

	/* Hide in-slide pagination — replaced by external element below swiper */
	.tc-mr-custom-pagination {
		display: none;
	}

	/* External pagination sits between swiper and nav arrows */
	.tc-mr-ext-pagination {
		display: flex;
		gap: 8px;
		order: 2;
		margin-top: 28px;
	}

	.tc-mr-swiper { order: 1; }

	.tc-mr-prev,
	.tc-mr-next {
		order: 3;
		transform: translateY(-50%);
        top: 50%;
        bottom: auto;
        position: absolute;
		width: 30px;
		height: 30px;
	}

	.tc-mr-prev {
		left: -15px;
		right: auto;
	}

	.tc-mr-next {
		right: -15px;
		left: auto;
	}

	.tc-mr-card {
		flex-direction: column;
		gap: 0;
		height: 100%;
	}

	.tc-mr-config-bottom {
		position: absolute;
		bottom: 0;
		width: 100%;
		justify-content: space-between;
		z-index: 10;
	}

	.tc-mr-card__left {
		width: 100%;
		padding-bottom: 32px;
	}

	.tc-mr-card__right {
		min-height: 380px;
		max-height: 380px;
		margin-top: auto;
	}

	.tc-mr-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		padding-bottom: 40px;
	}

	.tc-mr-title { font-size: 36px; }
}

@media ( max-width: 480px ) {
	.tc-mr-config-figure { padding: 24px 24px 16px; }
	.tc-mr-config-figure img { max-height: 220px; }
}
