/**
 * FPL Theme — Activity Overview Hub Stylesheet
 * 
 * Scoped to .fpl-activity-hub-main for pages 27 (RU), 28 (KK), 29 (EN)
 * Design tokens:
 *   --fpl-color-diviza: #165567
 *   --fpl-color-aviazone: #7FBAC2
 *   --fpl-color-cielo: #E7F0ED
 */

.fpl-activity-hub-main {
	width: 100%;
	max-width: 100%;
	overflow-x: hidden;
	color: #1A2B32;
	background-color: #ffffff;
}

/* ==========================================================================
   Common Layout & Container
   ========================================================================== */

.fpl-act-container {
	width: 100%;
	max-width: var(--fpl-container-max, 1240px);
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(16px, 3vw, 32px);
	padding-right: clamp(16px, 3vw, 32px);
	box-sizing: border-box;
}

.fpl-act-section {
	padding: clamp(44px, 4vw, 58px) 0;
	position: relative;
}

.fpl-act-section-heading {
	margin-bottom: clamp(24px, 2.5vw, 36px);
}

.fpl-act-section-kicker {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #165567;
	margin-bottom: 8px;
}

.fpl-act-section-title {
	font-family: var(--fpl-font-heading);
	font-size: clamp(24px, 2.8vw, 32px);
	font-weight: 700;
	line-height: 1.25;
	color: #165567;
	margin: 0 0 10px 0;
}

.fpl-act-section-lead {
	font-family: 'Montserrat', sans-serif;
	font-size: 15px;
	line-height: 1.6;
	color: #506169;
	max-width: 780px;
	margin: 0;
}

/* ==========================================================================
   Section 1 — Hero
   ========================================================================== */

.fpl-act-hero {
	background: linear-gradient(135deg, #F3F8F8 0%, #FFFFFF 100%);
	padding: clamp(24px, 3vw, 40px) 0 clamp(44px, 4vw, 60px) 0;
	border-bottom: 1px solid rgba(22, 85, 103, 0.08);
	position: relative;
	overflow: hidden;
}

.fpl-act-hero::before {
	content: '';
	position: absolute;
	right: -60px;
	top: 50%;
	transform: translateY(-50%);
	width: 320px;
	height: 320px;
	border-radius: 50%;
	border: 1px solid rgba(127, 186, 194, 0.35);
	box-shadow: 0 0 0 35px rgba(231, 240, 237, 0.45),
	            0 0 0 70px rgba(127, 186, 194, 0.12);
	pointer-events: none;
	z-index: 0;
}

.fpl-act-hero-content {
	position: relative;
	z-index: 1;
	max-width: 880px;
}

.fpl-act-hero .fpl-breadcrumbs,
.fpl-act-hero nav.breadcrumbs {
	margin-bottom: 16px;
}

.fpl-act-hero-badge {
	display: inline-block;
	font-family: 'Montserrat', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #165567;
	background: rgba(22, 85, 103, 0.08);
	padding: 5px 12px;
	border-radius: 20px;
	margin-bottom: 14px;
}

.fpl-act-hero-title {
	font-family: var(--fpl-font-heading);
	font-size: clamp(28px, 3.6vw, 44px);
	font-weight: 600;
	line-height: 1.2;
	color: #165567;
	margin: 0 0 16px 0;
}

.fpl-act-hero-desc {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(15px, 1.2vw, 17px);
	line-height: 1.65;
	color: #40535B;
	margin: 0;
}

/* ==========================================================================
   Section 2 — Strategic Directions (2 prominent cards)
   ========================================================================== */

.fpl-act-strategic-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(20px, 2.5vw, 32px);
}

.fpl-act-strat-card {
	background: #ffffff;
	border: 1px solid rgba(22, 85, 103, 0.14);
	border-radius: 12px;
	padding: clamp(24px, 2.5vw, 36px);
	box-shadow: 0 4px 18px rgba(22, 85, 103, 0.04);
	display: flex;
	flex-direction: column;
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fpl-act-strat-card:hover {
	transform: translateY(-2px);
	border-color: #7FBAC2;
	box-shadow: 0 8px 24px rgba(22, 85, 103, 0.08);
}

.fpl-act-strat-header {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 16px;
}

.fpl-act-strat-num {
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 8px;
	background: rgba(22, 85, 103, 0.08);
	color: #165567;
	font-family: var(--wp--preset--font-family--montserrat, 'Montserrat', sans-serif);
	font-weight: 800;
	font-size: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fpl-act-strat-card-title {
	font-family: var(--fpl-font-heading);
	font-size: clamp(18px, 1.6vw, 21px);
	font-weight: 700;
	line-height: 1.35;
	color: #165567;
	margin: 0;
}

.fpl-act-strat-card-desc {
	font-family: 'Montserrat', sans-serif;
	font-size: 14.5px;
	line-height: 1.6;
	color: #455A64;
	margin: 0;
}

/* ==========================================================================
   Section 3 — Operational Directions (4 navigation cards)
   ========================================================================== */

.fpl-act-operational-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(18px, 2vw, 28px);
}

.fpl-act-op-card {
	background: #ffffff;
	border: 1px solid rgba(22, 85, 103, 0.12);
	border-radius: 12px;
	padding: clamp(22px, 2vw, 28px);
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	height: 100%;
	box-sizing: border-box;
}

.fpl-act-op-card:hover {
	transform: translateY(-3px);
	border-color: #7FBAC2;
	box-shadow: 0 10px 28px rgba(22, 85, 103, 0.08);
}

.fpl-act-op-card:focus-visible {
	outline: 2px solid #165567;
	outline-offset: 3px;
}

.fpl-act-op-icon-wrap {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #F0F7F8;
	color: #165567;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
	flex-shrink: 0;
}

.fpl-act-op-icon-wrap svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
}

.fpl-act-op-title {
	font-family: var(--fpl-font-heading);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.35;
	color: #165567;
	margin: 0 0 10px 0;
}

.fpl-act-op-desc {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	line-height: 1.55;
	color: #506169;
	margin: 0 0 18px 0;
}

.fpl-act-op-cta {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #165567;
}

.fpl-act-op-cta svg {
	width: 14px;
	height: 14px;
	transition: transform 0.2s ease;
}

.fpl-act-op-card:hover .fpl-act-op-cta svg {
	transform: translateX(4px);
}

/* ==========================================================================
   Section 4 — Documents
   ========================================================================== */

.fpl-act-doc-section {
	background-color: #F8FBFB;
	border-top: 1px solid rgba(22, 85, 103, 0.08);
	border-bottom: 1px solid rgba(22, 85, 103, 0.08);
	padding: clamp(40px, 3.8vw, 54px) 0;
}

.fpl-act-doc-card-wrap {
	margin-top: 24px;
	margin-bottom: 24px;
}

.fpl-act-doc-cta-row {
	margin-top: 20px;
}

.fpl-act-doc-more-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #165567;
	text-decoration: none;
	border-bottom: 1px solid rgba(22, 85, 103, 0.25);
	padding-bottom: 2px;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.fpl-act-doc-more-link:hover {
	color: #114250;
	border-color: #114250;
}

.fpl-act-doc-more-link:focus-visible {
	outline: 2px solid #165567;
	outline-offset: 3px;
}

/* ==========================================================================
   Section 5 — Related Sections
   ========================================================================== */

.fpl-act-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(16px, 2vw, 24px);
}

.fpl-act-related-card {
	background: #ffffff;
	border: 1px solid rgba(22, 85, 103, 0.12);
	border-radius: 12px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	height: 100%;
	box-sizing: border-box;
}

.fpl-act-related-card:hover {
	transform: translateY(-2px);
	border-color: #7FBAC2;
	box-shadow: 0 8px 24px rgba(22, 85, 103, 0.08);
}

.fpl-act-related-card:focus-visible {
	outline: 2px solid #165567;
	outline-offset: 3px;
}

.fpl-act-related-title {
	font-family: var(--fpl-font-heading);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.35;
	color: #165567;
	margin: 0 0 10px 0;
}

.fpl-act-related-desc {
	font-family: 'Montserrat', sans-serif;
	font-size: 13.5px;
	line-height: 1.55;
	color: #506169;
	margin: 0 0 16px 0;
}

.fpl-act-related-cta {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'Montserrat', sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	color: #165567;
}

.fpl-act-related-cta svg {
	width: 14px;
	height: 14px;
	transition: transform 0.2s ease;
}

.fpl-act-related-card:hover .fpl-act-related-cta svg {
	transform: translateX(4px);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 992px) {
	.fpl-act-related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.fpl-act-hero::before {
		display: none;
	}

	.fpl-act-strategic-grid {
		grid-template-columns: 1fr;
	}

	.fpl-act-operational-grid {
		grid-template-columns: 1fr;
	}

	.fpl-act-related-grid {
		grid-template-columns: 1fr;
	}
}
