/* Croosswood Corporate Travel Partner — base layout
   (Dynamic colors / fonts / sizes are injected by Elementor via the widget controls.
   This file only handles structure + responsiveness.) */

.cw-banner {
	position: relative;
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	min-height: 480px;
	overflow: hidden;
	background: #0d3f70;
}

/* ---------- Left panel ---------- */
.cw-left-panel {
	position: relative;
	z-index: 2;
	width: 45%;
	flex: 0 0 45%;
	box-sizing: border-box;
	padding: 50px 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.cw-small-heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	font-weight: 600;
}

.cw-small-heading .cw-line {
	display: inline-block;
	width: 24px;
	height: 1px;
	background-color: currentColor;
}

.cw-title {
	margin: 0 0 40px;
	font-size: 40px;
	line-height: 1.25;
	font-weight: 600;
}

.cw-features {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	row-gap: 30px;
	column-gap: 40px;
}

.cw-feature {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.cw-feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 30px;
	line-height: 1;
}

.cw-feature-icon svg {
	width: 1em;
	height: 1em;
}

.cw-feature-copy {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.cw-feature-title,
.cw-feature-text {
	font-size: 16px;
}

.cw-feature-title {
	font-weight: 600;
}

/* ---------- Right panel (image) ---------- */
.cw-right-panel {
	position: relative;
	flex: 1 1 auto;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 480px;
}

.cw-overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(10, 35, 66, 0.35);
	pointer-events: none;
}

/* Diagonal split between panels */
.cw-diagonal .cw-left-panel {
	clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
	margin-right: -8%;
}

/* ---------- Quote text ---------- */
.cw-quote {
	position: absolute;
	z-index: 3;
	max-width: 60%;
	font-style: italic;
	text-align: right;
	line-height: 1.15;
	padding-bottom: 14px;
}

.cw-quote::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 60px;
	height: 2px;
	background-color: #ffffff;
}

.cw-quote-bottom-right {
	right: 40px;
	bottom: 40px;
	text-align: right;
}

.cw-quote-bottom-left {
	left: 40px;
	bottom: 40px;
	text-align: left;
}
.cw-quote-bottom-left::after { right: auto; left: 0; }

.cw-quote-top-right {
	right: 40px;
	top: 40px;
	text-align: right;
}

.cw-quote-top-left {
	left: 40px;
	top: 40px;
	text-align: left;
}
.cw-quote-top-left::after { right: auto; left: 0; }

.cw-quote-center {
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	max-width: 80%;
}
.cw-quote-center::after { left: 50%; right: auto; transform: translateX(-50%); }

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */
@media (max-width: 1024px) {
	.cw-left-panel {
		width: 50%;
		flex: 0 0 50%;
		padding: 40px 40px;
	}

	.cw-title {
		font-size: 32px;
		margin-bottom: 28px;
	}

	.cw-banner,
	.cw-right-panel {
		min-height: 400px;
	}

	.cw-quote {
		font-size: 24px;
	}
}

/* =========================================================
   RESPONSIVE — MOBILE (stack vertically)
   ========================================================= */
@media (max-width: 767px) {
	.cw-banner {
		flex-direction: column;
	}

	.cw-diagonal .cw-left-panel {
		clip-path: none;
		margin-right: 0;
	}

	.cw-left-panel {
		width: 100%;
		flex-basis: auto;
		padding: 32px 24px;
	}

	.cw-features {
		grid-template-columns: 1fr;
		row-gap: 22px;
	}

	.cw-title {
		font-size: 26px;
		margin-bottom: 24px;
	}

	.cw-small-heading {
		margin-bottom: 14px;
	}

	.cw-banner,
	.cw-right-panel {
		min-height: 320px;
	}

	.cw-quote {
		font-size: 20px;
		max-width: 85%;
		right: 20px;
		left: 20px;
		bottom: 20px;
		text-align: left;
	}

	.cw-quote::after {
		right: auto;
		left: 0;
	}
}
