/**
 * Σελίδα-επίπεδο masthead — ξεχωριστό από την κάρτα, ενωμένο με το μενού.
 */

body.has-page-masthead #main {
	padding-top: 130px;
}

.page-layout {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.page-masthead--band {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 1.2rem 0 1.05rem;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: linear-gradient(
		105deg,
		#e3ebf5 0%,
		#eaf0f8 38%,
		#f2f6fb 72%,
		#f8fafc 100%
	);
	border-bottom: 1px solid rgba(0, 51, 102, 0.07);
}

.page-masthead__inner {
	position: relative;
	min-width: 0;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.page-masthead__inner::before {
	content: "";
	position: absolute;
	left: 1.25rem;
	top: 0.15rem;
	bottom: 0.15rem;
	width: 4px;
	border-radius: 0 3px 3px 0;
	background: linear-gradient(180deg, #0d9488 0%, #1d4ed8 100%);
}

.page-masthead__kicker {
	margin: 0 0 0.35rem;
	padding-left: 0.85rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #0a4a7a;
}

.page-masthead__title {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	padding-left: 0.85rem;
	font-size: clamp(1.2rem, 2.2vw, 1.45rem);
	font-weight: 700;
	line-height: 1.25;
	color: #003366;
	letter-spacing: -0.02em;
}

.page-masthead__icon {
	flex: 0 0 auto;
	font-size: 1.15em;
	color: #0057b7;
	opacity: 0.92;
}

.page-masthead__lead {
	margin: 0.45rem 0 0;
	padding-left: 0.85rem;
	max-width: 42rem;
	font-size: 0.9rem;
	line-height: 1.5;
	color: #5a6b7d;
}

.page-masthead__meta {
	margin-top: 0.55rem;
	padding-left: 0.85rem;
}

.page-masthead__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
}

.page-layout .page-section-card {
	border: 1px solid rgba(0, 51, 102, 0.09);
	border-radius: 1rem;
	background: #ffffff;
	box-shadow: 0 8px 22px rgba(15, 34, 58, 0.05);
	overflow: hidden;
}

.page-layout .page-section-card > .card-header {
	font-size: 0.85rem;
	font-weight: 700;
	background: #f8fafc;
	color: #003366;
	border-bottom: 1px solid rgba(0, 51, 102, 0.08);
	padding: 0.7rem 1rem;
	text-align: left;
}

.page-layout .upg-lessons-page .upg-lessons-back {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: #1d4ed8;
	text-decoration: none;
}

.page-layout .upg-lessons-page .upg-lessons-back:hover {
	color: #1e40af;
	text-decoration: underline;
}

.page-layout.research-page .research-main-card,
.page-layout.page-layout--scholarship .scholarship-page__content > .card:first-child {
	border: 1px solid rgba(0, 51, 102, 0.09);
	border-radius: 1rem;
	box-shadow: 0 10px 28px rgba(15, 34, 58, 0.06);
	overflow: hidden;
}

.page-layout .page-content-card {
	border: 1px solid rgba(0, 51, 102, 0.09);
	border-radius: 1rem;
	background: #ffffff;
	box-shadow: 0 10px 28px rgba(15, 34, 58, 0.06);
	overflow: hidden;
}

.page-layout .page-content-card > .card-header {
	display: none;
}

.page-layout .page-content-card > .card-body {
	padding: clamp(1.15rem, 2.5vw, 1.5rem);
}

@media (min-width: 768px) {
	.page-layout {
		gap: 1.4rem;
	}

	.page-masthead--band {
		padding: 1.35rem 0 1.15rem;
	}
}

@media (max-width: 575px) {
	.page-masthead__title {
		flex-wrap: wrap;
	}
}
