/**
 * Page title and breadcrumb component.
 *
 * Loaded on non-home views that use the reusable page title and breadcrumb template.
 */

/* ============================================================
   PAGE TITLE AND BREADCRUMB SECTION — START
   Freepik source: business-people-working-with-laptop-office
   ============================================================ */
.page-title-section {
	align-items: center;
	background-color: #070b18;
	background-image:
		linear-gradient(90deg, rgb(0 0 0 / 96%) 0%, rgb(0 0 0 / 87%) 43%, rgb(0 0 0 / 58%) 100%), linear-gradient(0deg, rgba(20, 12, 48, 0.38), rgba(20, 12, 48, 0.08)), url(http://localhost/digitaljadugar/wp-content/uploads/2026/10/industry.jpg);
	background-position: center, center, center 42%;
	background-repeat: no-repeat;
	background-size: cover;
	color: #fff;
	display: flex;
	isolation: isolate;
	min-height: clamp(290px, 22vw, 340px);
	overflow: hidden;
	position: relative;
}

.page-title-section::after {
	display: none;
}

.page-title-section__content {
	padding-block: clamp(64px, 6vw, 90px);
	position: relative;
	z-index: 1;
}

.page-title-section__heading {
	color: #fff;
	font-size: clamp(2.2rem, 4.5vw, 3.5rem);
	letter-spacing: -0.04em;
	line-height: 1.15;
	margin: 0 0 16px;
	padding-bottom: 4px;
	max-width: 920px;
	text-wrap: balance;
}

/* ============================================================
   PAGE TITLE BREADCRUMB — START
   ============================================================ */
.page-title-breadcrumb {
	display: inline-flex;
	max-width: 100%;
}

.page-title-breadcrumb__list {
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.page-title-breadcrumb__item {
	align-items: center;
	color: #ffffff;
	display: inline-flex;
	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1.4;
}

.page-title-breadcrumb__item:not(:last-child)::after {
	color: #a78bfa;
	content: "\f054";
	font-family: "Font Awesome 6 Free";
	font-size: 0.58rem;
	font-weight: 900;
	margin-inline: 11px;
}

.page-title-breadcrumb__item a {
	align-items: center;
	color: rgba(255, 255, 255, 0.88);
	display: inline-flex;
	gap: 7px;
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.page-title-breadcrumb__item a:hover,
.page-title-breadcrumb__item a:focus-visible {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.page-title-breadcrumb__item [aria-current="page"] {
	color: #ffffff;
	font-weight: 700;
	text-decoration: underline !important;
	text-underline-offset: 4px !important;
	text-decoration-color: #a78bfa !important;
}

/* PAGE TITLE BREADCRUMB — END */



@media (max-width: 767px) {
	.page-title-section {
		background-image:
			linear-gradient(90deg, rgba(5, 8, 22, 0.94), rgba(7, 11, 27, 0.79)),
			url("http://localhost/digitaljadugar/wp-content/uploads/2026/10/industry.jpg");
		background-position: center, 62% center;
		min-height: 190px !important;
	}
	

	.page-title-section::after { display: none; }

	.page-title-section__content {
		padding-block: clamp(24px, 5vw, 36px) !important;
		text-align: center;
	}

	.page-title-section__eyebrow { margin-bottom: 10px; }

	.page-title-section__heading {
		font-size: clamp(1.75rem, 6.8vw, 2.25rem);
		line-height: 1.12;
		margin: 0 auto 12px;
		max-width: 360px;
		overflow-wrap: break-word;
		text-wrap: balance;
	}

	.page-title-breadcrumb {
		display: flex;
		justify-content: center;
		width: 100%;
	}

	.page-title-breadcrumb__list {
		border-radius: 18px;
		box-sizing: border-box;
		justify-content: center;
		max-width: 100%;
		padding: 9px 14px;
		width: 100%;
	}

	.page-title-breadcrumb__item { font-size: 0.76rem; }

	.page-title-breadcrumb__item:last-child {
		flex: 0 0 100%;
		justify-content: center;
		margin-top: 5px;
		min-width: 0;
		text-align: center;
	}

	.page-title-breadcrumb__item [aria-current="page"] {
		display: block;
		max-width: 100%;
		overflow-wrap: anywhere;
	}

	.service-detail-page .page-title-section__heading {
		font-size: 1.75rem;
		width: min(260px, 100%);
	}

	.service-detail-page .page-title-breadcrumb__item:last-child {
		max-width: none;
	}

	.service-detail-page .page-title-breadcrumb__item:last-child [aria-current="page"] {
		max-width: 270px;
	}

	.page-title-breadcrumb__item:not(:last-child)::after { margin-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
	.page-title-breadcrumb__item a { transition: none; }
}

/* ============================================================
   PAGE TITLE AND BREADCRUMB SECTION — END
   ============================================================ */
