/**
 * ESG Hub — οπτικό ύφος συμβατό με .mps-pbc-layout
 */

.mps-hub {
	--mps-hub-max: 1120px;
	box-sizing: border-box;
	width: 100%;
	max-width: var(--mps-hub-max);
	margin: 0 auto 2.5rem;
	padding: 0 clamp(16px, 4vw, 28px);
	color: #001819;
}

.mps-hub-hero {
	margin-bottom: 1.75rem;
	text-align: center;
}

.mps-hub-kicker {
	display: inline-block;
	border: 1px solid #79b900;
	border-radius: 30px;
	padding: 4px 15px;
	margin: 0 0 12px;
	color: #79b900;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.mps-hub-title {
	margin: 0 0 12px;
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.15;
}

.mps-hub-intro {
	margin: 0 auto;
	max-width: 38rem;
	color: #4a5248;
	font-size: 1.05rem;
	line-height: 1.55;
}

/* —— Account strip —— */
.mps-hub-account {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 18px 28px;
	margin: 0 0 2.25rem;
	padding: 20px 22px;
	background: #f6f7f4;
	border: 1px solid #e7eeda;
	border-radius: 12px;
	text-align: center;
}

.mps-hub-welcome {
	flex: 1 1 200px;
	min-width: 0;
	text-align: center;
}

.mps-hub-welcome-kicker {
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #79b900;
}

.mps-hub-welcome-name {
	margin: 0 0 4px;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
}

.mps-hub-welcome-role {
	margin: 0;
	color: #4a5248;
	font-size: 0.95rem;
}

.mps-hub-stat {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid #d5dcc8;
	border-radius: 10px;
	min-width: 120px;
}

.mps-hub-stat-label {
	font-size: 12px;
	font-weight: 600;
	color: #4a5248;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.mps-hub-stat-value {
	font-size: 1.75rem;
	font-weight: 700;
	color: #79b900;
	line-height: 1.1;
}

.mps-hub-account-actions {
	flex: 1 1 100%;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	justify-content: center;
	list-style: none;
}

.mps-hub-account-actions ul,
.mps-hub-account-actions li {
	list-style: none !important;
	margin: 0;
	padding: 0;
}

.mps-hub-account-actions li::marker {
	content: none;
}

.mps-hub-account-actions .mps-role-menu {
	margin: 0 !important;
	display: contents;
}

.mps-hub-account-actions a {
	display: inline-flex !important;
	align-items: center;
	margin: 0 !important;
	padding: 10px 16px !important;
	border-radius: 8px !important;
	border: 1px solid #d5dcc8 !important;
	background: #fff !important;
	color: #001819 !important;
	font-weight: 600;
	text-decoration: none !important;
	transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.mps-hub-account-actions a:hover {
	border-color: #79b900 !important;
	background: #f0f7e4 !important;
	color: #79b900 !important;
}

/* —— Blocks / cards —— */
.mps-hub-block {
	margin: 0 0 2.5rem;
}

.mps-hub-block-head {
	margin-bottom: 1.25rem;
	text-align: center;
}

.mps-hub-block-kicker {
	display: inline-block;
	border: 1px solid #79b900;
	border-radius: 30px;
	padding: 3px 12px;
	margin: 0 0 10px;
	color: #79b900;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.mps-hub-block-title {
	margin: 0;
	font-size: clamp(1.25rem, 2.5vw, 1.65rem);
	font-weight: 700;
	line-height: 1.2;
}

.mps-hub-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
	align-items: stretch;
}

.mps-hub-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border: 1px solid #eef0ea;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(0, 24, 25, 0.06);
	transition: box-shadow 0.35s, transform 0.35s;
}

.mps-hub-card:hover {
	box-shadow: 0 12px 36px rgba(0, 24, 25, 0.12);
	transform: translateY(-3px);
}

.mps-hub-card-media {
	position: relative;
	display: block;
	min-height: 140px;
	text-decoration: none;
	color: #fff;
	background-image: linear-gradient(145deg, #0d2824 0%, #1a4d3e 42%, #5a8f14 100%);
}

.mps-hub-card--team .mps-hub-card-media {
	background-image: linear-gradient(145deg, #0d2824 0%, #1a3d4d 45%, #2a8f5a 100%);
}

.mps-hub-card--market .mps-hub-card-media,
.mps-hub-card--coupons .mps-hub-card-media {
	background-image: linear-gradient(145deg, #1a2a0d 0%, #3d5a14 45%, #79b900 100%);
}

.mps-hub-card--reg .mps-hub-card-media,
.mps-hub-card--dash .mps-hub-card-media {
	background-image: linear-gradient(145deg, #0d1a28 0%, #1a3d4d 42%, #3a8f6a 100%);
}

.mps-hub-card-scrim {
	pointer-events: none;
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.75) 0%,
		rgba(0, 0, 0, 0.25) 50%,
		rgba(0, 0, 0, 0.08) 100%
	);
}

.mps-hub-card-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	min-width: 2.25rem;
	padding: 6px 10px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	color: #001819;
	background: rgba(255, 255, 255, 0.92);
	text-align: center;
}

.mps-hub-card-media-title {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 14px;
	z-index: 2;
}

.mps-hub-card-heading {
	margin: 0;
	font-size: 1.2rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.25;
}

.mps-hub-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 16px 18px 18px;
	gap: 12px;
}

.mps-hub-card-text {
	margin: 0;
	flex: 1 1 auto;
	color: #4a5248;
	font-size: 0.95rem;
	line-height: 1.5;
}

.mps-hub-card-footer {
	margin-top: auto;
}

.mps-hub-card-cta {
	display: inline-flex;
	align-items: center;
	font-weight: 700;
	color: #79b900;
	text-decoration: none;
}

.mps-hub-card-cta:hover {
	color: #6aa300;
}

/* —— Recent list —— */
.mps-hub-recent {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.mps-hub-recent-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #eef0ea;
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.mps-hub-recent-item:hover {
	border-color: #79b900;
	box-shadow: 0 6px 20px rgba(0, 24, 25, 0.06);
}

.mps-hub-recent-num {
	flex: 0 0 auto;
	min-width: 2.25rem;
	padding: 6px 8px;
	border-radius: 8px;
	background: #f0f7e4;
	color: #001819;
	font-weight: 700;
	font-size: 14px;
	text-align: center;
}

.mps-hub-recent-body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mps-hub-recent-title {
	font-weight: 700;
	color: #001819;
}

.mps-hub-recent-date {
	font-size: 0.875rem;
	color: #4a5248;
}

.mps-hub-recent-arrow {
	flex: 0 0 auto;
	color: #79b900;
	font-weight: 700;
}

.mps-hub-more {
	margin: 16px 0 0;
	text-align: center;
}

.mps-hub-more a {
	font-weight: 700;
	color: #79b900;
	text-decoration: none;
}

.mps-hub-more a:hover {
	color: #6aa300;
}

@media (max-width: 600px) {
	.mps-hub-account {
		padding: 16px;
	}

	.mps-hub-card-media {
		min-height: 120px;
	}
}
