/* ==========================================================================
   The Capital — Flush Slider Cards
   Left content column + right slider that runs flush to the viewport edge.
   ========================================================================== */

/* ------------------------------------------------------------------
   1. Section wrapper
   ------------------------------------------------------------------ */
.tc-flush-slider {
	background: #000 !important;
	overflow: hidden !important;
	padding-bottom: 80px !important;

	@media (max-width: 767px) {
		padding-bottom: 100px !important;
	}
}

/* ------------------------------------------------------------------
   2. Left content column
   ------------------------------------------------------------------ */
.tc-flush-slider-content {
	display: flex;
	flex-direction: column;
	margin-top: 20px;
	width: 40% !important;
}

.tc-flush-slider-content .elementor-widget-wrap {
	height: stretch;
	flex-direction: column;
	padding-left: 20px !important;

	@media (min-width: 1440px) {
		padding-left: calc((100vw - 1400px) / 2) !important;
		padding-right: 95px !important;
	}
}

.tc-flush-slider-content .elementor-heading-title {
	font-size: 55px !important;
	line-height: 64px !important;
	font-weight: 400 !important;

	@media (max-width: 767px) {
		font-size: 40px !important;
		line-height: 48px !important;
	}
}

.tc-flush-slider-content .elementor-widget-text-editor {
	font-size: 16px;
	line-height: 27px;
	font-weight: normal;
	color: var(--tc-white);
}

.tc-flush-title {
	margin-bottom: 16px !important;
}

.tc-flush-body {
	margin-bottom: 0 !important;
}

/* Nav arrows — desktop: absolute overlay on .tc-flush-outer; mobile: in .tc-flush-mobile-controls */
.tc-flush-nav {
	display: flex;
	gap: 12px;
	margin-top: 10px;
}

.tc-flush-prev svg,
.tc-flush-next svg {
	width: 25px;
	height: 25px;
}

.tc-flush-prev,
.tc-flush-next {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: #fff !important;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #000;
	transition: background 0.2s ease;
	padding: 0;
}

/* Desktop: absolute overlay on .tc-flush-outer */
.tc-flush-outer > .tc-flush-prev,
.tc-flush-outer > .tc-flush-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
}

.tc-flush-outer > .tc-flush-prev { left: -25px; transform: translate(-100%, -50%); }
.tc-flush-outer > .tc-flush-next { right: 40px; }

.tc-flush-prev:hover,
.tc-flush-next:hover {
	background: rgba(255, 255, 255, 0.75) !important;
}

.tc-flush-prev.swiper-button-disabled,
.tc-flush-next.swiper-button-disabled {
	opacity: 0.25;
	cursor: default;
	pointer-events: none;
}

/* ------------------------------------------------------------------
   3. Right slider column — flush to viewport edge
   ------------------------------------------------------------------ */
.tc-flush-slider-col {
	overflow: visible !important;
	padding: 0 !important;
	width: 60% !important;
}

.tc-flush-slider-col > .elementor-widget-wrap,
.tc-flush-slider-col > .elementor-element-populated {
	overflow: visible !important;
	padding: 0 !important;
}

/* ------------------------------------------------------------------
   4. Swiper container (built by JS)
   ------------------------------------------------------------------ */
.tc-flush-outer {
	position: relative;
	overflow: visible;
	/* Width is set by JS to match the slider column's actual width */
}

.tc-flush-outer .swiper {
	overflow: hidden;
	padding-right: 30px;

	@media (max-width: 767px) {
		padding-right: 0;
		padding-left: 20px;
	}
}

.tc-flush-outer .swiper .swiper-slide {
	height: auto;
}

/* ------------------------------------------------------------------
   5. Card styling
   ------------------------------------------------------------------ */
.tc-flush-card {
	background: transparent;
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	padding: 30px;

	@media (max-width: 767px) {
		padding: 15px;
	}
}

.tc-flush-card .elementor-element-populated {
	padding: 0 !important;
}

/* Card image */
.tc-flush-card .tc-flush-card-img img,
.tc-flush-card .elementor-widget-image img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
	border-radius: 5px;
}

/* Card title */
.tc-flush-card-title {
	margin-top: 16px !important;
	margin-bottom: 8px !important;
}

/* Card description */
.tc-flush-card-desc {
	margin-bottom: 0 !important;
}

.tc-flush-card .elementor-widget-heading {

}

.tc-flush-card .elementor-widget-heading .elementor-heading-title {
	font-size: 25px !important;
	font-weight: 400 !important;
	font-family: 'DM Sans', var(--tc-font-body), sans-serif !important;

	@media (max-width: 767px) {
		font-size: 21px !important;
	}
}

.tc-flush-card .elementor-widget-text-editor {
	font-size: 16px !important;
	line-height: 27px !important;
	font-weight: normal !important;
	color: var(--tc-white) !important;

	@media (max-width: 767px) {
		font-size: 14px !important;
		line-height: 22px !important;
	}
}

.tc-flush-card .elementor-widget-text-editor p {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------
   5. Reason Card
   ------------------------------------------------------------------ */
.tc-flush-card {
	background: transparent;
	border-radius: 8px;
	border: 1px solid rgba(216, 218, 215, 0.33);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100% !important;
	position: relative;
	transition: border-color 0.3s ease;
}

.tc-flush-card .elementor-element-populated {
	padding: 0 !important;
}

.tc-flush-card:hover {
	border-color: rgba(235, 163, 24, 0.4);
}

/* Card Image */
.tc-flush-card .tc-flush-card-img img,
.tc-flush-card .tc-flush-card-img .elementor-image img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	display: block;
}

/* Card Body — text area below image */
.tc-flush-card .tc-flush-card-title,
.tc-flush-card .tc-flush-card-desc,
.tc-flush-card .tc-flush-card-link {
	padding-left: 28px;
	padding-right: 28px;
}

.tc-flush-card .tc-flush-card-title {
	padding-top: 15px;
	margin-bottom: 5px !important;
}

.tc-flush-card .tc-flush-card-title .elementor-heading-title {
	font-size: 24px;
	font-family: 'DM Sans', var(--tc-font-body), sans-serif;

	@media (max-width: 767px) {
		font-size: 21px;
	}
}

.tc-flush-card .tc-flush-card-desc {
	margin-bottom: 10px !important;
	font-size: 16px;

	@media (max-width: 767px) {
		font-size: 14px;
	}
}

.tc-flush-card .tc-flush-card-link {
	padding-bottom: 28px;
	margin-top: auto;
}

/* Remove Elementor default widget margins inside card */
.tc-flush-card > .elementor-widget {
	margin-bottom: 8px;
}

.tc-flush-card > .elementor-widget:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------
   6. Counter badge  (01 / 10)
   ------------------------------------------------------------------ */
.tc-flush-counter {
	position: absolute;
	top: 54px;
	left: 54px;
	background: rgba(0, 0, 0, 1);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	border-radius: 20px;
	border: 1px solid #454545;
	padding: 4px 12px;
	font-family: 'DM Sans', var(--tc-font-body), sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: var(--tc-white);
	z-index: 2;
	pointer-events: none;
}

/* ------------------------------------------------------------------
   7. Pagination dots — below slider, left-aligned
   ------------------------------------------------------------------ */
.tc-flush-pagination {
	display: flex;
	gap: 8px;
	margin-top: auto;
	padding-left: 0;
	margin-bottom: 20px;
}

.tc-flush-pagination .swiper-pagination-bullet {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #fff;
	opacity: 0.5;
	cursor: pointer;
	transition: all 0.3s ease;
	margin: 0 !important;
}

.tc-flush-pagination .swiper-pagination-bullet-active {
	width: 26px;
	height: 7px;
	border-radius: 7px;
	background: var(--tc-gold, #EBA318);
	opacity: 1;
}

/* ------------------------------------------------------------------
   8. Responsive
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	.tc-flush-card .tc-flush-card-img img,
	.tc-flush-card .elementor-widget-image img {
		height: 220px;
	}
}

/* ------------------------------------------------------------------
   9. Mobile controls host — receives nav + pagination on mobile
   ------------------------------------------------------------------ */
.tc-flush-mobile-controls {
	display: none;
}

@media (max-width: 767px) {

	.tc-flush-counter {
		top: 24px;
		left: 24px;
		font-size: 12px;
	}

	/* Stack columns */
	.tc-flush-slider > .elementor-container > .elementor-column,
	.tc-flush-slider > .elementor-container > .elementor-row > .elementor-column {
		width: 100% !important;
	}

	.tc-flush-slider-content {
		padding-bottom: 0px !important;
	}

	.tc-flush-card .tc-flush-card-img img,
	.tc-flush-card .elementor-widget-image img {
		height: 200px;
	}

	/* Show mobile controls host, stack nav + pagination below slider */
	.tc-flush-mobile-controls {
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
		gap: 30px;
		padding: 30px 20px 0;
		width: 100%;
	}

	.tc-flush-mobile-controls .tc-flush-nav {
		margin-top: 0;
		order: 2;
	}

	.tc-flush-mobile-controls .tc-flush-pagination {
		margin-top: 0;
		margin-bottom: 0;
		order: 1;
		justify-content: center;
	}
}
