/* AFAMS Page Header Banner Widget Stylesheet */

.afam-page-header-wrapper {
	position: relative;
	width: 100%;
	min-height: 360px;
	background-color: #041026;
	display: flex;
	align-items: center;
	overflow: hidden;
	box-sizing: border-box;
	padding: 55px 0;
	font-family: 'Montserrat', 'Open Sans', sans-serif;
}

.afam-page-header-wrapper *,
.afam-page-header-wrapper *::before,
.afam-page-header-wrapper *::after {
	box-sizing: border-box;
}

/* BACKGROUND IMAGE */
.afam-page-header-bg {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 60%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center right;
	z-index: 1;
	transition: all 0.3s ease;
}

/* DARK GRADIENT OVERLAY FOR SMOOTH BLENDING & TEXT READABILITY */
.afam-page-header-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #041026 0%, #041026 38%, rgba(4, 16, 38, 0.88) 60%, rgba(4, 16, 38, 0.35) 85%, rgba(4, 16, 38, 0.1) 100%);
	z-index: 2;
	pointer-events: none;
}

/* CENTER CREST WATERMARK LOGO EMBLEM */
.afam-page-header-watermark {
	position: absolute;
	top: 50%;
	left: 45%;
	transform: translate(-50%, -50%);
	width: 320px;
	height: 320px;
	z-index: 2;
	pointer-events: none;
	opacity: 0.2;
}

.afam-watermark-svg {
	width: 100%;
	height: 100%;
	filter: drop-shadow(0 0 12px rgba(96, 165, 250, 0.2));
}

/* CONTAINER & CONTENT */
.afam-page-header-wrapper .afam-container {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 24px;
}

.afam-page-header-content {
	max-width: 650px;
}

/* BREADCRUMB */
.afam-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Montserrat', sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: #8a99ad;
	margin-bottom: 18px;
}

.afam-breadcrumb-link {
	color: #8a99ad;
	text-decoration: none;
	transition: color 0.25s ease;
}

.afam-breadcrumb-link:hover {
	color: #d4af37;
}

.afam-breadcrumb-sep {
	color: #8a99ad;
	opacity: 0.6;
	font-size: 12px;
}

.afam-breadcrumb-current {
	color: #cbd5e1;
	font-weight: 600;
}

/* MAIN TITLE */
.afam-page-header-title {
	font-family: 'Georgia', 'Playfair Display', serif;
	font-size: 46px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.15;
	margin: 0 0 14px 0;
	letter-spacing: -0.5px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* GOLD SUBTITLE TAGLINE */
.afam-page-header-subtitle {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: 600;
	color: #d4af37;
	line-height: 1.35;
	margin: 0 0 16px 0;
	letter-spacing: 0.1px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* PARAGRAPH DESCRIPTION */
.afam-page-header-desc {
	font-family: 'Open Sans', 'Montserrat', sans-serif;
	font-size: 14.5px;
	line-height: 1.65;
	color: #cbd5e1;
	margin: 0;
	max-width: 640px;
	font-weight: 400;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
	.afam-page-header-bg {
		width: 70%;
	}
	.afam-page-header-title {
		font-size: 38px;
	}
	.afam-page-header-subtitle {
		font-size: 18px;
	}
}

@media (max-width: 768px) {
	.afam-page-header-wrapper {
		min-height: 300px;
		padding: 40px 0;
	}
	.afam-page-header-bg {
		width: 100%;
		opacity: 0.35;
	}
	.afam-page-header-overlay {
		background: linear-gradient(180deg, rgba(4, 16, 38, 0.92) 0%, rgba(4, 16, 38, 0.96) 100%);
	}
	.afam-page-header-watermark {
		left: 50%;
		width: 250px;
		height: 250px;
	}
	.afam-page-header-title {
		font-size: 32px;
	}
	.afam-page-header-subtitle {
		font-size: 16.5px;
	}
	.afam-page-header-desc {
		font-size: 13.5px;
	}
}

@media (max-width: 480px) {
	.afam-page-header-wrapper {
		padding: 32px 0;
	}
	.afam-page-header-title {
		font-size: 27px;
	}
	.afam-page-header-subtitle {
		font-size: 15px;
	}
}
