/* H-Lead Section Title — badge/label (radius 12, padding 24/16) */

.hl-section-title {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--hl-space-16) var(--hl-space-24);
	border-radius: var(--hl-radius-12);
	background-color: var(--hl-color-warning-400);
}

.hl-section-title__text {
	margin: 0;
	font-family: var(--hl-font-family);
	font-weight: var(--hl-font-weight-medium);
	font-size: var(--hl-section-title-text-size);
	line-height: var(--hl-section-title-text-line-height);
	color: var(--hl-color-white);
}

/* Plain variant — the homepage section headings ("Hospitality Services",
 * "Fleet Highlights", ...): dark centered 36/44 bold, no badge. */
.hl-section-title--plain {
	padding: 0;
	border-radius: 0;
	background-color: transparent;
	width: 100%;
}

.hl-section-title--plain .hl-section-title__text {
	width: 100%;
	text-align: center;
	font-weight: 700;
	font-size: 36px;
	line-height: 44px;
	color: var(--hl-color-brand-700);
}

@media (max-width: 991px) {
	.hl-section-title--plain .hl-section-title__text {
		font-size: 24px;
		line-height: 32px;
	}
}

/* Left-cta variant — title left-aligned, "All latest news"-style link + arrow
 * on the right (latest-news "title & cta" row, 36/44 bold title, 15/18 link). */
.hl-section-title--left-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--hl-space-24);
	width: 100%;
	padding: 0;
	border-radius: 0;
	background-color: transparent;
}

.hl-section-title--left-cta .hl-section-title__text {
	width: auto;
	text-align: left;
	font-weight: 700;
	font-size: 36px;
	line-height: 44px;
	color: var(--hl-color-brand-700);
}

.hl-section-title__cta {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: var(--hl-space-8);
	font-family: var(--hl-font-family);
	font-weight: var(--hl-font-weight-medium);
	font-size: var(--hl-text-link-size);
	line-height: var(--hl-text-link-line-height);
	color: var(--hl-btn-link-content-default);
	text-decoration: none;
	white-space: nowrap;
}

.hl-section-title__cta svg {
	width: var(--hl-space-20);
	height: var(--hl-space-20);
	flex: 0 0 auto;
}

.hl-section-title__cta:hover {
	color: var(--hl-btn-link-content-hover);
}

@media (max-width: 991px) {
	.hl-section-title--left-cta .hl-section-title__text {
		font-size: 24px;
		line-height: 32px;
	}

	.hl-section-title--left-cta {
		flex-wrap: wrap;
		row-gap: var(--hl-space-16);
	}
}

/* Applied by card-carousel.js on the title immediately preceding a carousel
 * that's currently showing its prev/next arrows — pushes the title left so
 * it shares the row visually with the arrows above the carousel. */
.hl-section-title--carousel-arrows {
	justify-content: flex-start;
}

.hl-section-title--carousel-arrows .hl-section-title__text {
	width: auto;
	text-align: left;
}