/* =================================================================
   PAGE GENERIC — page.php
   ================================================================= */

/* ── Hero ── */
.page-hero {
	position: relative;
	min-height: 320px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 3rem 1.5rem 2.5rem;
}

.page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(10, 36, 64, 0.85) 0%,
		rgba(10, 36, 64, 0.4) 100%
	);
	z-index: 1;
}

.page-hero--no-image {
	min-height: 180px;
	background: linear-gradient(135deg, #0a2440 0%, #1f5489 100%);
	align-items: center;
}

.page-hero--no-image::before {
	display: none;
}

.page-hero__content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 800px;
}

.page-hero__title {
	font-family: 'Oswald-Regular', sans-serif;
	font-size: 2.5rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 0.5rem;
	line-height: 1.2;
	letter-spacing: 0.01em;
}

.page-hero__breadcrumb {
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.7);
}

.page-hero__breadcrumb a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.15s;
}

.page-hero__breadcrumb a:hover {
	color: #e5bd07;
}

.page-hero__breadcrumb--inline {
	padding: 1rem;
	font-size: 0.85rem;
	color: #6b6b68;
}

.page-hero__breadcrumb--inline a {
	color: #1f5489;
}

.page-hero__breadcrumb--inline a:hover {
	color: #0a2440;
}


/* ── Content area ── */
.page-content {
	margin-bottom: 2rem;
	padding: 2.5rem 2rem 3rem;
}

.page-content p {
	font-family: 'Roboto-Regular', Roboto, sans-serif;
	font-size: 1.05rem;
	line-height: 1.8;
	color: #3d3d3a;
	margin-bottom: 1.25rem;
}

.page-content p:last-child {
	margin-bottom: 0;
}

.page-content h2 {
	font-family: 'Oswald-Regular', sans-serif;
	font-size: 1.75rem;
	color: #0a2440;
	margin: 2rem 0 1rem;
	font-weight: 600;
}

.page-content h3 {
	font-family: 'Oswald-Regular', sans-serif;
	font-size: 1.35rem;
	color: #0a2440;
	margin: 1.5rem 0 0.75rem;
	font-weight: 600;
}

.page-content h4 {
	font-size: 1.15rem;
	color: #1e205a;
	margin: 1.25rem 0 0.5rem;
	font-weight: 600;
}

.page-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 1rem 0;
}

.page-content ul,
.page-content ol {
	padding-left: 1.5rem;
	margin-bottom: 1.25rem;
	color: #3d3d3a;
}

.page-content ul li,
.page-content ol li {
	font-size: 1.05rem;
	line-height: 1.8;
	margin-bottom: 0.4rem;
}

.page-content blockquote {
	border-left: 4px solid #e5bd07;
	padding: 1rem 1.5rem;
	margin: 1.5rem 0;
	background: #f9f9f9;
	border-radius: 0 6px 6px 0;
	font-style: italic;
	color: #444;
}

.page-content a {
	color: #1f5489;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.page-content a:hover {
	color: #0a2440;
}

.page-content strong {
	font-weight: 700;
	color: #0a2440;
}

.page-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
}

.page-content table th,
.page-content table td {
	padding: 0.75rem 1rem;
	border: 1px solid #eceae6;
	font-size: 0.95rem;
}

.page-content table th {
	background: #0a2440;
	color: #fff;
	font-weight: 600;
	text-align: left;
}

.page-content table tr:nth-child(even) {
	background: #f9f9f9;
}


/* ── Sidebar ── */
.page-sidebar {
	padding: 2.5rem 0 3rem 1.5rem;
}

.page-sidebar .widget {
	margin-bottom: 2rem;
	padding: 1.25rem;
	background: #f9f9f9;
	border-radius: 8px;
	border: 1px solid #eceae6;
}

.page-sidebar .widget-title {
	font-family: 'Oswald-Regular', sans-serif;
	font-size: 1.1rem;
	font-weight: 600;
	color: #0a2440;
	margin: 0 0 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #e5bd07;
}


/* ── Responsive ── */
@media (max-width: 991.98px) {
	.page-hero {
		min-height: 240px;
	}

	.page-hero__title {
		font-size: 2rem;
	}

	.page-sidebar {
		padding: 0 0 2rem;
		border-top: 1px solid #eceae6;
		margin-top: 1rem;
		padding-top: 2rem;
	}
}

@media (max-width: 575.98px) {
	.page-hero {
		min-height: 180px;
		padding: 2rem 1rem 1.5rem;
	}

	.page-hero__title {
		font-size: 1.6rem;
	}

	.page-content {
		padding: 1.5rem 0 2rem;
	}
}
