/*
	==========================================================================================================
	 Page-prezentare
	==========================================================================================================
*/

.tpl-shell {
	max-width: 1200px;
}

.tpl-section {
	padding: 4rem 0;
}

/* .tpl-section--story {
} */

.tpl-section--tabs {
	padding-top: 0;
}

/* .tpl-section--sections {
} */

.tpl-section--cta {
	padding-top: 0;
}

/* ── Hero ─────────────────────────────────────────────── */
.tpl-hero {
	position: relative;
	min-height: 430px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-size: cover;
	background-position: center 34%;
	background-repeat: no-repeat;
	padding: 5rem 0;
}

.tpl-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 36, 64, 0.56) 0%, rgba(10, 36, 64, 0.82) 100%);
}

.tpl-hero--no-image {
	background: linear-gradient(135deg, #0a2440 0%, #153a63 100%);
}

.tpl-hero__content {
	position: relative;
	z-index: 1;
	max-width: 800px;
	margin: 0 auto;
	padding: 1rem 1.5rem;
}

.tpl-hero__tagline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.85rem;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(10px);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
	margin-bottom: 1rem;
}

.tpl-hero__title {
	font-size: clamp(2rem, 4.3vw, 3.35rem);
	font-weight: 700;
	line-height: 1.12;
	color: #fff;
	margin-bottom: 1rem;
}

.tpl-hero__subtitle {
	font-size: 1.05rem;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.88);
	max-width: 640px;
	margin: 0 auto;
}

/* ── Panels ───────────────────────────────────────────── */
.tpl-panel {
	background: #fff;
	border: 1px solid #ebe6dd;
	border-radius: 1.25rem;
	box-shadow: 0 20px 55px rgba(10, 36, 64, 0.06);
}

.tpl-panel--story {
	padding: 2.5rem 1.25rem;
}

.tpl-panel--soft {
	padding: 1.5rem;
}

.tpl-panel--empty {
	padding: 2rem 1.5rem;
}

/* ── Story / editable content ─────────────────────────── */
.tpl-story {
	color: #3e3d38;
}

.tpl-story > *:last-child {
	margin-bottom: 0;
}

.tpl-story h2,
.tpl-story h3,
.tpl-story h4,
.tpl-story h5,
.tpl-story h6 {
	color: #0a2440;
	font-weight: 700;
	line-height: 1.25;
	margin-top: 2rem;
	margin-bottom: 0.9rem;
}

.tpl-story h2:first-child,
.tpl-story h3:first-child,
.tpl-story h4:first-child {
	margin-top: 0;
}

.tpl-story p,
.tpl-story li,
.tpl-story blockquote {
	font-size: 1.06rem;
	line-height: 1.9;
}

.tpl-story p,
.tpl-story ul,
.tpl-story ol,
.tpl-story blockquote {
	margin-bottom: 1.25rem;
}

.tpl-story ul,
.tpl-story ol {
	padding-left: 1.3rem;
}

.tpl-story strong {
	color: #0a2440;
}

.tpl-story a {
	color: #0a2440;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

.tpl-story img {
	max-width: 100%;
	height: auto;
	border-radius: 0.9rem;
}

/* ── Heading ──────────────────────────────────────────── */
.tpl-section-heading {
	max-width: 760px;
	margin: 0 auto 2.25rem;
}

.tpl-section-heading__eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #7b6d54;
	margin-bottom: 0.65rem;
}

.tpl-section-heading__title {
	font-size: clamp(1.8rem, 3vw, 2.45rem);
	font-weight: 700;
	line-height: 1.2;
	color: #0a2440;
	margin-bottom: 0.8rem;
}

.tpl-section-heading__text {
	font-size: 1rem;
	line-height: 1.75;
	color: #5d5b56;
	margin-bottom: 0;
}

/* ── Cards ────────────────────────────────────────────── */
.tpl-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #e8e2d8;
	border-radius: 1rem;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	box-shadow: 0 10px 28px rgba(10, 36, 64, 0.04);
}

.tpl-card:hover,
.tpl-card:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(10, 36, 64, 0.1);
	border-color: rgba(10, 36, 64, 0.18);
	color: inherit;
	text-decoration: none;
}

.tpl-card__img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	background: #ece9e2;
}

.tpl-card__img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #b0a89a;
	font-size: 2rem;
}

.tpl-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.35rem;
	flex: 1;
}

.tpl-card__title {
	font-size: 1.12rem;
	font-weight: 700;
	line-height: 1.3;
	color: #0a2440;
	margin: 0;
}

.tpl-card__desc {
	font-size: 0.96rem;
	line-height: 1.65;
	color: #5d5b56;
	margin: 0;
}

.tpl-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	margin-top: auto;
	font-size: 0.9rem;
	font-weight: 700;
	color: #0a2440;
}

/* ── CTA ──────────────────────────────────────────────── */
.tpl-cta {
	background: linear-gradient(135deg, #0a2440 0%, #183f6a 100%);
	border-radius: 1.5rem;
	padding: 2rem;
	box-shadow: 0 22px 52px rgba(10, 36, 64, 0.14);
}

.tpl-cta__eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.64);
	margin-bottom: 0.7rem;
}

.tpl-cta__title {
	/* font-size: clamp(1.5rem, 2.6vw, 2.2rem); */
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
	margin-bottom: 0.8rem;
}

.tpl-cta__text {
	font-size: 1rem;
    line-height: 1.75;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: inherit;
}

.tpl-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.8rem 1.35rem;
	border-radius: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	border-width: 1px;
	transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.tpl-btn:hover,
.tpl-btn:focus-visible {
	transform: translateY(-1px);
	text-decoration: none;
}

.tpl-btn--light {
	background: #fff;
	border-color: #fff;
	color: #0a2440;
}

.tpl-btn--light:hover,
.tpl-btn--light:focus-visible {
	background: #f4f7fa;
	border-color: #f4f7fa;
	color: #0a2440;
}

.tpl-btn--outline {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.26);
	color: #fff;
}

.tpl-btn--outline:hover,
.tpl-btn--outline:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.38);
	color: #fff;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 991.98px) {
	.tpl-section {
		padding: 3.5rem 0;
	}

	.tpl-hero {
		min-height: 380px;
		padding: 4rem 0;
	}

	.tpl-panel--story {
		padding: 2rem 1rem;
	}

	.tpl-card__img {
		height: 210px;
	}
}

@media (max-width: 575.98px) {
	.tpl-section {
		padding: 3rem 0;
	}

	.tpl-hero {
		min-height: 320px;
		padding: 3rem 0;
	}

	.tpl-hero__content {
		padding: 0.5rem 0.75rem;
	}

	.tpl-hero__subtitle,
	.tpl-section-heading__text,
	.tpl-story p,
	.tpl-story li,
	.tpl-story blockquote,
	.tpl-cta__text {
		font-size: 0.98rem;
	}

	.tpl-card__img {
		height: 190px;
	}

	.tpl-cta {
		padding: 1.5rem;
	}
}
