/* ==========================================================================
   Breadcrumb — new design (site-wide)
   --------------------------------------------------------------------------
   Source of truth: the light-blue breadcrumb already used on retail.php,
   Gaming-Regulatory-System.php, lottery-gaming-solutions.php, etc.
   Replaces the old gradient-image strip (assets/images/breadcrumbs-bg.webp)
   on every page that renders <div class="breadcrum1"> (issues.docx:
   FAQ, Paper Lottery, Turnkey, Contact, Blogs, Press Releases, Gallery,
   Events, Partnership, Memberships & Certifications, Downloads).

   Loaded from css-specific.php AFTER style.css. Selectors are prefixed with
   .page-banner-wrap so they outrank the older per-page inline rules
   (several of which use !important for white text / image height).
   The text is vertically centred with flexbox instead of the old
   absolute-position + negative-margin offsets, so it no longer depends on
   per-page magic numbers. Long (translated) trails stay on ONE row on
   mobile: items never wrap; if a trail is still wider than the screen, only
   the current-page item is shortened with an ellipsis.
   ========================================================================== */

/* Position of the strip under the (absolute) header — same as retail.php */
.page-banner-section:has(.breadcrum1) {
	padding-top: 71px !important;
}

.page-banner-wrap .breadcrum1 {
	display: flex !important;
	align-items: center;
	justify-content: flex-start;
	width: 100vw;
	max-width: 100%;
	min-height: 50px;
	margin-top: 25px !important;
	padding: 0 !important;
	background: #d5f4ff !important;
	box-sizing: border-box;
}

/* Old gradient image is no longer shown */
.page-banner-wrap .breadcrum1 > img {
	display: none !important;
}

.page-banner-wrap .breadcrum1 .top-left {
	position: static !important;
	margin: 0 !important;
	padding: 0 16px 0 123px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	font-size: 17px !important;
	color: #1a7799;
}

.page-banner-wrap .breadcrum1 ul.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start !important;
	align-items: center;
	margin: 0 !important;
	padding: 0;
	background: transparent;
	line-height: 1.75;
}

/* Neutralise old per-item offsets (e.g. style.css li#faq { margin-left: 83px }) */
.page-banner-wrap .breadcrum1 .breadcrumb-item {
	margin-left: 0 !important;
}

.page-banner-wrap .breadcrum1 .breadcrumb-item,
.page-banner-wrap .breadcrum1 .breadcrumb-item.active,
.page-banner-wrap .breadcrum1 .breadcrumb a {
	color: #1a7799 !important;
}

.page-banner-wrap .breadcrum1 .breadcrumb a:hover {
	color: #0f5a76 !important;
	text-decoration: underline;
}

.page-banner-wrap .breadcrum1 .breadcrumb-item + .breadcrumb-item::before {
	float: left !important;
	padding-right: 0.5rem !important;
	color: #1a7799 !important;
	content: ">" !important;
}

@media only screen and (max-width: 991px) {
	.page-banner-wrap .breadcrum1 .top-left {
		padding-left: 63px;
	}
}

@media only screen and (max-width: 767px) {
	.page-banner-wrap .breadcrum1 {
		margin-top: 45px !important;
	}

	.page-banner-wrap .breadcrum1 .top-left {
		padding: 0 16px;
		font-size: 12px !important;
	}

	/* Single horizontal row (issues.docx – GRS / all languages) */
	.page-banner-wrap .breadcrum1 ul.breadcrumb {
		flex-wrap: nowrap;
		white-space: nowrap;
		overflow: hidden;
	}

	.page-banner-wrap .breadcrum1 .breadcrumb-item {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.page-banner-wrap .breadcrumb-item + .breadcrumb-item {
		padding-left: 0.4rem;
	}

	.page-banner-wrap .breadcrum1 .breadcrumb-item + .breadcrumb-item::before {
		padding-right: 0.4rem !important;
	}

	.page-banner-wrap .breadcrum1 .breadcrumb-item:last-child {
		flex: 0 1 auto;
		min-width: 0;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

@media only screen and (max-width: 389px) {
	.page-banner-wrap .breadcrum1 .top-left {
		font-size: 11px !important;
	}
}
