:root {
	--fma-green: #86bb46;
	--fma-text: #1f2933;
	--fma-muted: #6c757d;
	--fma-border: #dee2e6;
	--fma-light: #f8f9fa;
}

.fma-project-archive,
.fma-project-single {
	padding: 60px 0;
}

.fma-project-grid {
	display: grid;
	gap: 28px;
}

.fma-project-grid--1 { grid-template-columns: 1fr; }
.fma-project-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fma-project-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fma-project-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.fma-project-card {
	background: #fff;
	border: 1px solid #edf0f2;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(0,0,0,.06);
	transition: transform .25s ease, box-shadow .25s ease;
}

.fma-project-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 42px rgba(0,0,0,.10);
}

.fma-project-card__image {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--fma-light);
}

.fma-project-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.fma-project-card:hover .fma-project-card__image img {
	transform: scale(1.03);
}

.fma-project-card__status {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255,255,255,.95);
	color: var(--fma-green);
	font-size: 12px;
	font-weight: 700;
}

.fma-project-card__body {
	padding: 20px;
}

.fma-project-card__title {
	margin: 0 0 8px;
	font-size: 21px;
	line-height: 1.25;
}

.fma-project-card__location {
	margin: 0 0 14px;
	color: var(--fma-muted);
}

.fma-project-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-top: 1px solid #eef1f3;
	border-bottom: 1px solid #eef1f3;
	font-weight: 600;
}

.fma-project-card__link {
	display: inline-block;
	margin-top: 16px;
	color: var(--fma-green);
	font-weight: 700;
}

.fma-project-single__header,
.fma-project-single__content,
.fma-project-data,
.fma-project-progress,
.fma-project-timeline,
.fma-project-media,
.fma-project-gallery,
.fma-project-documents,
.fma-project-related {
	margin-bottom: 42px;
}

.fma-project-single__subtitle {
	font-size: 20px;
	color: var(--fma-muted);
}

.fma-project-data__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.fma-project-data__grid > div {
	padding: 18px;
	border: 1px solid var(--fma-border);
	border-radius: 8px;
	background: #fff;
}

.fma-project-data__grid span,
.fma-project-data__grid strong {
	display: block;
}

.fma-project-data__grid span {
	color: var(--fma-muted);
	font-size: 13px;
}

.fma-project-data__grid strong {
	margin-top: 4px;
	font-size: 19px;
	color: var(--fma-text);
}

.fma-project-progress__label {
	display: flex;
	justify-content: space-between;
	margin-bottom: 8px;
}

.fma-project-progress__bar {
	height: 10px;
	border-radius: 999px;
	background: #e9ecef;
	overflow: hidden;
}

.fma-project-progress__bar span {
	display: block;
	height: 100%;
	background: var(--fma-green);
}

.fma-project-timeline__grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
}

.fma-project-timeline__step {
	padding: 12px;
	border-radius: 8px;
	background-color: var(--fma-light);
	border: 1px solid var(--fma-border);
	transition: all .3s ease;
	text-align: center;
}

.fma-project-timeline__dot {
	display: block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	margin: 0 auto 6px;
	background-color: #ccc;
}

.fma-project-timeline__step small {
	display: block;
	margin-top: 4px;
	color: var(--fma-muted);
}

.fma-project-timeline__step--completed { color: #198754; font-weight: 700; }
.fma-project-timeline__step--completed .fma-project-timeline__dot { background: #198754; }
.fma-project-timeline__step--in_progress { color: #ffc107; }
.fma-project-timeline__step--in_progress .fma-project-timeline__dot { background: #ffc107; }
.fma-project-timeline__step--not_started,
.fma-project-timeline__step--planned { color: #6c757d; }
.fma-project-timeline__step--not_started .fma-project-timeline__dot,
.fma-project-timeline__step--planned .fma-project-timeline__dot { background: #ced4da; }
.fma-project-timeline__step--suspended { color: #dc3545; }
.fma-project-timeline__step--suspended .fma-project-timeline__dot { background: #dc3545; }

.fma-project-media__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.fma-project-map,
.fma-project-video {
	min-height: 360px;
	border: 1px solid var(--fma-border);
	border-radius: 8px;
	overflow: hidden;
	background: var(--fma-light);
}

.fma-project-map {
	display: grid;
	place-items: center;
	padding: 24px;
	text-align: center;
}

.fma-project-video iframe,
.fma-project-video video {
	width: 100%;
	height: 360px;
	object-fit: cover;
}

.fma-project-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.fma-project-gallery__item {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 8px;
}

.fma-project-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fma-project-documents__box {
	padding: 18px;
	border: 1px solid var(--fma-border);
	border-radius: 8px;
	background: var(--fma-light);
}

@media (max-width: 991.98px) {
	.fma-project-grid--3,
	.fma-project-grid--4,
	.fma-project-data__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.fma-project-timeline__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.fma-project-archive,
	.fma-project-single {
		padding: 36px 0;
	}

	.fma-project-grid--2,
	.fma-project-grid--3,
	.fma-project-grid--4,
	.fma-project-data__grid,
	.fma-project-media__grid,
	.fma-project-gallery__grid,
	.fma-project-timeline__grid {
		grid-template-columns: 1fr;
	}

	.fma-project-timeline__step {
		display: flex;
		align-items: center;
		gap: 12px;
		text-align: left;
		border-left: 4px solid var(--fma-border);
		border-radius: 0;
		padding-left: 16px;
		background: transparent;
		border-top: 0;
		border-right: 0;
		border-bottom: 1px solid var(--fma-border);
	}

	.fma-project-timeline__dot {
		flex-shrink: 0;
		margin: 0;
	}
}

/* Release 0.2.0 */
.fma-project-grid--1{grid-template-columns:minmax(0,560px);justify-content:center}
.fma-project-card{border-radius:10px;box-shadow:0 12px 30px rgba(13,23,36,.06)}
.fma-project-card__image::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(13,23,36,.28),transparent 48%);pointer-events:none}
.fma-project-card__status,.fma-project-card__type{position:absolute;z-index:2;padding:7px 11px;border-radius:999px;font-size:11px;line-height:1;font-weight:700;text-transform:uppercase;letter-spacing:.35px}
.fma-project-card__status{top:15px;left:15px;background:#86bb46;color:#fff}
.fma-project-card__type{right:15px;bottom:15px;background:rgba(255,255,255,.94);color:#0d1724}
.fma-project-card__body{display:flex;flex:1;flex-direction:column;padding:24px}
.fma-project-card__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:auto;padding:16px 0 10px}
.fma-project-card__meta small,.fma-project-card__meta strong{display:block}.fma-project-card__meta small{font-size:11px;text-transform:uppercase;color:#6f7a86}.fma-project-card__meta strong{color:#0d1724}
.fma-project-card__progress{height:5px;margin-bottom:18px;border-radius:999px;background:#e8ecef;overflow:hidden}.fma-project-card__progress span{display:block;height:100%;background:#86bb46}
.fma-project-card__link::after{content:" →"}
.fma-project-hero{position:relative;display:flex;align-items:flex-end;min-height:440px;padding:85px 0 72px;background:linear-gradient(135deg,#0d1724,#1e3449);color:#fff;overflow:hidden}
.fma-project-hero--with-image{background-position:center;background-size:cover}.fma-project-hero__overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,16,25,.88),rgba(7,16,25,.55) 58%,rgba(7,16,25,.16))}
.fma-project-hero__inner{position:relative;z-index:1}.fma-project-hero__badges{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.fma-project-hero__badges span{padding:7px 11px;border-radius:999px;background:#86bb46;color:#fff;font-size:12px;font-weight:700;text-transform:uppercase}
.fma-project-hero h1{max-width:900px;margin:0;color:#fff;font-size:clamp(40px,5vw,72px);line-height:1.04}.fma-project-hero__subtitle{max-width:760px;margin:18px 0 0;color:rgba(255,255,255,.88);font-size:21px}.fma-project-hero__location{margin:18px 0 0;color:#fff;font-weight:600}
.fma-project-single__main{padding-top:72px;padding-bottom:90px}.fma-project-intro,.fma-project-data,.fma-project-progress,.fma-project-timeline,.fma-project-media,.fma-project-gallery,.fma-project-documents,.fma-project-related{margin-bottom:64px}.fma-project-single__content{max-width:920px;font-size:18px;line-height:1.8}
.fma-section-heading{margin-bottom:26px}.fma-section-heading>span{display:block;margin-bottom:6px;color:#86bb46;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:1px}.fma-section-heading h2{margin:0;font-size:clamp(30px,4vw,44px);color:#0d1724}
.fma-project-data__grid{grid-template-columns:repeat(4,minmax(0,1fr))}.fma-project-data__grid>div{padding:24px 22px;border-radius:10px;box-shadow:0 10px 28px rgba(13,23,36,.045)}.fma-project-data__grid strong{font-size:25px;color:#0d1724}
.fma-project-progress{padding:28px;border-radius:12px;background:#0d1724;color:#fff}.fma-project-progress__label{align-items:flex-end}.fma-project-progress__label span,.fma-project-progress__label strong{display:block}.fma-project-progress__label span{color:#86bb46;font-size:12px;font-weight:700;text-transform:uppercase}.fma-project-progress__label strong{color:#fff;font-size:20px}.fma-project-progress__label b{color:#fff;font-size:28px}.fma-project-progress__bar{height:12px;background:rgba(255,255,255,.18)}
@media(max-width:1199.98px){.fma-project-data__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767.98px){.fma-project-hero{min-height:380px;padding:64px 0 46px}.fma-project-hero__overlay{background:rgba(7,16,25,.72)}.fma-project-hero h1{font-size:40px}.fma-project-single__main{padding-top:46px;padding-bottom:60px}.fma-project-data__grid{grid-template-columns:1fr}.fma-project-progress{padding:22px}}


/* Release 0.3.0: integrazione strutturale con Greenly */
body.single-fma_impianto #primary,
body.post-type-archive-fma_impianto #primary,
body.single-fma_impianto .content-area,
body.post-type-archive-fma_impianto .content-area {
	width: 100%;
	max-width: none;
	flex: 0 0 100%;
	padding: 0;
}

body.single-fma_impianto .site-content,
body.post-type-archive-fma_impianto .site-content {
	padding-top: 0;
}

body.single-fma_impianto .site-content > .container,
body.post-type-archive-fma_impianto .site-content > .container {
	width: 100%;
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.fma-project-single .container,
.fma-project-archive .container {
	width: min(100% - 40px, 1240px);
	max-width: 1240px;
	margin-left: auto;
	margin-right: auto;
}

.fma-project-hero {
	width: 100%;
}

.fma-project-media__grid--single {
	grid-template-columns: minmax(0, 820px);
}

.fma-project-media__column {
	min-width: 0;
}

.fma-project-video {
	position: relative;
	min-height: 0;
	aspect-ratio: 16 / 9;
	background: #0d1724;
}

.fma-project-video iframe,
.fma-project-video video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

.fma-project-video > p {
	display: grid;
	place-items: center;
	height: 100%;
	margin: 0;
	padding: 24px;
}

.fma-project-video > p a {
	color: #fff;
	font-weight: 700;
}

@media (max-width: 767.98px) {
	.fma-project-single .container,
	.fma-project-archive .container {
		width: min(100% - 28px, 1240px);
	}
}

/* Release 0.4.0 */
.fma-project-video__youtube{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:#0d1724;cursor:pointer;overflow:hidden}.fma-project-video__youtube img{width:100%;height:100%;object-fit:cover;opacity:.86;transition:.35s}.fma-project-video__youtube:hover img{transform:scale(1.025);opacity:1}.fma-project-video__play{position:absolute;top:50%;left:50%;width:74px;height:74px;border-radius:50%;background:#86bb46;transform:translate(-50%,-50%);box-shadow:0 12px 28px rgba(0,0,0,.28)}.fma-project-video__play:after{content:"";position:absolute;top:50%;left:52%;border-top:11px solid transparent;border-bottom:11px solid transparent;border-left:18px solid #fff;transform:translate(-45%,-50%)}.fma-project-map--fallback{background:linear-gradient(rgba(247,249,250,.92),rgba(247,249,250,.92)),repeating-linear-gradient(45deg,#e8ecef 0 10px,#f4f6f7 10px 20px)}

/* Release 0.6.0 */
.fma-project-hero{width:100vw;max-width:100vw;margin-left:calc(50% - 50vw);min-height:560px}.fma-project-hero__inner{width:min(100% - 40px,1240px);max-width:1240px;margin:0 auto}.fma-project-data__grid>div{position:relative;padding:26px 22px 24px 76px;min-height:118px}.fma-project-data__grid i{position:absolute;top:24px;left:22px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:rgba(134,187,70,.13);color:var(--fma-green)}.fma-project-data__grid i svg,.fma-project-documents__icon svg,.fma-project-cta__icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.fma-project-media__grid{align-items:start}.fma-project-video,.fma-project-map{width:100%;height:auto;min-height:0;aspect-ratio:16/9}.fma-project-map{padding:0}.fma-project-timeline__track{position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:0}.fma-project-timeline__track:before{content:"";position:absolute;top:28px;left:5%;right:5%;height:3px;background:#e5e9ec}.fma-project-timeline__step{position:relative;min-width:0;padding:0 14px;border:0;background:transparent;text-align:center}.fma-project-timeline__marker{position:relative;z-index:2;display:grid;place-items:center;width:58px;height:58px;margin:0 auto 18px;border:5px solid #fff;border-radius:50%;background:#ced4da;color:#fff;box-shadow:0 0 0 2px #e5e9ec,0 8px 22px rgba(13,23,36,.1)}.fma-project-timeline__marker span{font-size:12px;font-weight:800}.fma-project-timeline__content{padding:18px 14px;border:1px solid var(--fma-border);border-radius:10px;background:#fff;box-shadow:0 10px 28px rgba(13,23,36,.045)}.fma-project-timeline__content small{display:block;margin-bottom:6px;color:var(--fma-muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.fma-project-timeline__content h3{margin:0;color:var(--fma-navy);font-size:17px;line-height:1.35}.fma-project-timeline__content time{display:block;margin-top:9px;color:var(--fma-green-dark);font-weight:700}.fma-project-timeline__step--completed .fma-project-timeline__marker{background:#198754;box-shadow:0 0 0 2px rgba(25,135,84,.28),0 8px 22px rgba(13,23,36,.1)}.fma-project-timeline__step--in_progress .fma-project-timeline__marker{background:#ffc107;box-shadow:0 0 0 2px rgba(255,193,7,.34),0 8px 22px rgba(13,23,36,.1)}.fma-project-timeline__step--planned .fma-project-timeline__marker{background:var(--fma-green)}.fma-project-documents__box{display:grid;grid-template-columns:64px minmax(0,1fr);gap:20px;align-items:start;padding:28px;background:#fff;box-shadow:0 12px 34px rgba(13,23,36,.06)}.fma-project-documents__icon,.fma-project-cta__icon{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:rgba(134,187,70,.13);color:var(--fma-green)}.fma-project-cta{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:22px;align-items:center;margin:70px 0;padding:34px;border-radius:14px;background:var(--fma-navy);color:#fff}.fma-project-cta h2{margin:0 0 8px;color:#fff;font-size:30px}.fma-project-cta p{margin:0;color:rgba(255,255,255,.74)}.fma-project-cta__button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border-radius:6px;background:var(--fma-green);color:#fff;font-weight:800}.fma-project-cta__button:hover{background:var(--fma-green-dark);color:#fff}.fma-lightbox-open{overflow:hidden}.fma-lightbox{position:fixed;inset:0;z-index:999999;display:grid;place-items:center;padding:24px;background:rgba(5,10,16,.95)}.fma-lightbox__dialog{position:relative;display:grid;place-items:center;width:min(96vw,1440px);height:min(92vh,980px)}.fma-lightbox figure{display:grid;place-items:center;max-width:100%;max-height:100%;margin:0}.fma-lightbox img{max-width:100%;max-height:82vh;border-radius:6px;object-fit:contain}.fma-lightbox figcaption{min-height:24px;margin-top:12px;color:rgba(255,255,255,.76);text-align:center}.fma-lightbox__close,.fma-lightbox__nav{position:absolute;z-index:2;display:grid;place-items:center;border:0;background:rgba(255,255,255,.12);color:#fff;cursor:pointer}.fma-lightbox__close{top:0;right:0;width:46px;height:46px;border-radius:50%;font-size:34px}.fma-lightbox__nav{top:50%;width:50px;height:70px;border-radius:8px;font-size:44px;transform:translateY(-50%)}.fma-lightbox__prev{left:0}.fma-lightbox__next{right:0}.fma-lightbox__counter{position:absolute;right:0;bottom:0;padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.12);color:#fff;font-size:12px;font-weight:700}@media(max-width:991.98px){.fma-project-hero{min-height:480px}.fma-project-timeline__track{grid-template-columns:1fr;gap:14px}.fma-project-timeline__track:before{top:0;bottom:0;left:28px;right:auto;width:3px;height:auto}.fma-project-timeline__step{display:grid;grid-template-columns:58px minmax(0,1fr);gap:18px;padding:0;text-align:left}.fma-project-timeline__marker{margin:0}.fma-project-cta{grid-template-columns:58px minmax(0,1fr)}.fma-project-cta__button{grid-column:2;justify-self:start}}@media(max-width:767.98px){.fma-project-hero{min-height:420px}.fma-project-hero__inner{width:min(100% - 28px,1240px)}.fma-project-cta{grid-template-columns:1fr;padding:26px}.fma-project-cta__button{grid-column:1;justify-self:stretch}.fma-project-documents__box{grid-template-columns:1fr}.fma-lightbox__nav{top:auto;bottom:10px;width:44px;height:44px}.fma-lightbox__prev{left:10px}.fma-lightbox__next{right:10px}}


/* Hotfix 0.6.1 */
.fma-project-cta,
.fma-project-cta h2,
.fma-project-cta p,
.fma-project-cta__content,
.fma-project-cta__content * {
	color: #fff !important;
}

.fma-project-cta p {
	color: rgba(255,255,255,.78) !important;
}


/* Hotfix 0.6.2: CTA Greenly override */
body.single-fma_impianto .fma-project-cta,
body.single-fma_impianto section.fma-project-cta {
	display: grid !important;
	grid-template-columns: 64px minmax(0, 1fr) auto !important;
	gap: 22px !important;
	align-items: center !important;
	margin: 70px 0 !important;
	padding: 34px !important;
	border: 0 !important;
	border-radius: 14px !important;
	background: #0d1724 !important;
	background-color: #0d1724 !important;
	box-shadow: none !important;
}

body.single-fma_impianto .fma-project-cta__content,
body.single-fma_impianto .fma-project-cta__content h2,
body.single-fma_impianto .fma-project-cta__content p {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

body.single-fma_impianto .fma-project-cta__content h2 {
	margin: 0 0 8px !important;
	color: #ffffff !important;
	font-size: 30px !important;
	line-height: 1.2 !important;
}

body.single-fma_impianto .fma-project-cta__content p {
	margin: 0 !important;
	color: rgba(255,255,255,.78) !important;
	font-size: 16px !important;
	line-height: 1.6 !important;
}

@media (max-width: 991.98px) {
	body.single-fma_impianto .fma-project-cta,
	body.single-fma_impianto section.fma-project-cta {
		grid-template-columns: 58px minmax(0, 1fr) !important;
	}

	body.single-fma_impianto .fma-project-cta__button {
		grid-column: 2 !important;
		justify-self: start !important;
	}
}

@media (max-width: 767.98px) {
	body.single-fma_impianto .fma-project-cta,
	body.single-fma_impianto section.fma-project-cta {
		grid-template-columns: 1fr !important;
		padding: 26px !important;
	}

	body.single-fma_impianto .fma-project-cta__button {
		grid-column: 1 !important;
		justify-self: stretch !important;
	}
}


/* Release 0.6.3 */
.fma-project-timeline__content h3 {
	text-transform: none !important;
	letter-spacing: 0 !important;
}

.fma-project-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin: 70px 0;
}

.fma-project-navigation__item a {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 110px;
	padding: 22px 24px;
	border: 1px solid var(--fma-border);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(13,23,36,.05);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.fma-project-navigation__item a:hover {
	transform: translateY(-3px);
	border-color: rgba(134,187,70,.55);
	box-shadow: 0 16px 34px rgba(13,23,36,.08);
}

.fma-project-navigation__item small,
.fma-project-navigation__item strong { display: block; }

.fma-project-navigation__item small {
	margin-bottom: 5px;
	color: var(--fma-green);
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .6px;
}

.fma-project-navigation__item strong {
	color: var(--fma-navy);
	font-size: 19px;
	line-height: 1.3;
}

.fma-project-navigation__item--next a {
	justify-content: flex-end;
	text-align: right;
}

.fma-project-navigation__arrow {
	display: grid;
	flex: 0 0 48px;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--fma-navy);
	color: #fff;
	font-size: 24px;
}

.fma-project-navigation__item a:hover .fma-project-navigation__arrow {
	background: var(--fma-green);
}

@media (max-width: 767.98px) {
	.fma-project-navigation { grid-template-columns: 1fr; margin: 50px 0; }
	.fma-project-navigation__item--next a { justify-content: space-between; text-align: left; }
}


/* Release 0.8.0 — immagini card e filtri frontend */
.fma-project-card__image {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	aspect-ratio: 16 / 9 !important;
	min-height: 0 !important;
	overflow: hidden !important;
	background: #edf1f3 !important;
}

.fma-project-card__image img,
.fma-project-card__image .wp-post-image {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover !important;
	object-position: center center !important;
}

.fma-project-card__placeholder {
	position: absolute;
	inset: 0;
	display: block;
	background: linear-gradient(135deg, #edf1f3, #dfe7eb);
}

.fma-project-search {
	display: grid;
	gap: 34px;
}

.fma-project-search__form {
	padding: 28px;
	border: 1px solid var(--fma-border);
	border-radius: 14px;
	background: #f7f9fa;
	box-shadow: 0 14px 38px rgba(13,23,36,.06);
}

.fma-project-search__heading {
	margin-bottom: 22px;
}

.fma-project-search__heading > span {
	display: block;
	margin-bottom: 5px;
	color: var(--fma-green);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .8px;
}

.fma-project-search__heading h2 {
	margin: 0;
	color: #0d1724;
	font-size: clamp(28px, 3vw, 38px);
	line-height: 1.15;
}

.fma-project-search__fields {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.fma-project-search__field {
	display: block;
	min-width: 0;
}

.fma-project-search__field > span {
	display: block;
	margin-bottom: 7px;
	color: #263442;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .45px;
}

.fma-project-search__field select {
	display: block;
	width: 100%;
	height: 50px;
	margin: 0;
	padding: 0 38px 0 14px;
	border: 1px solid #dce2e6;
	border-radius: 7px;
	background-color: #fff;
	color: #1f2933;
	font-size: 14px;
	box-shadow: none;
	cursor: pointer;
}

.fma-project-search__field select:focus {
	border-color: var(--fma-green);
	outline: 2px solid rgba(134,187,70,.18);
	outline-offset: 0;
}

.fma-project-search__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 20px;
}

.fma-project-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 0 25px;
	border: 0;
	border-radius: 7px;
	background: var(--fma-green);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}

.fma-project-search__submit:hover {
	background: #6d9c33;
	transform: translateY(-1px);
}

.fma-project-search__reset {
	color: #66727e;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fma-project-search__summary {
	margin-bottom: 18px;
	color: #66727e;
}

.fma-project-search__summary strong {
	margin-right: 5px;
	color: #0d1724;
	font-size: 22px;
}

.fma-project-search__empty {
	grid-column: 1 / -1;
	padding: 42px 24px;
	border: 1px dashed #ccd5da;
	border-radius: 10px;
	background: #fafbfc;
	text-align: center;
}

.fma-project-search__empty strong {
	display: block;
	margin-bottom: 7px;
	color: #0d1724;
	font-size: 22px;
}

.fma-project-search__empty p {
	margin: 0;
	color: #6c757d;
}

.fma-project-search__pagination {
	margin-top: 34px;
}

.fma-project-search__pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fma-project-search__pagination a,
.fma-project-search__pagination span {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #dce2e6;
	border-radius: 6px;
	background: #fff;
	color: #263442;
	font-weight: 700;
}

.fma-project-search__pagination .current {
	border-color: var(--fma-green);
	background: var(--fma-green);
	color: #fff;
}

@media (max-width: 1199.98px) {
	.fma-project-search__fields {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767.98px) {
	.fma-project-search__form {
		padding: 22px 18px;
	}

	.fma-project-search__fields {
		grid-template-columns: 1fr;
	}

	.fma-project-search__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.fma-project-search__submit {
		width: 100%;
	}

	.fma-project-search__reset {
		align-self: center;
	}
}


/* Release 0.8.1 — Ricerca AJAX professionale */
.fma-project-search__toolbar {
	display: grid;
	grid-template-columns: minmax(220px, 1fr) auto auto;
	gap: 18px;
	align-items: end;
	margin-top: 20px;
}

.fma-project-search__sort {
	display: block;
	max-width: 320px;
}

.fma-project-search__sort > span {
	display: block;
	margin-bottom: 7px;
	color: #263442;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .45px;
}

.fma-project-search__sort select {
	width: 100%;
	height: 50px;
	padding: 0 38px 0 14px;
	border: 1px solid #dce2e6;
	border-radius: 7px;
	background: #fff;
}

.fma-project-search__views {
	display: flex;
	align-items: center;
	gap: 7px;
}

.fma-project-search__views button {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 46px;
	padding: 0 14px;
	border: 1px solid #dce2e6;
	border-radius: 7px;
	background: #fff;
	color: #66727e;
	font-weight: 700;
	cursor: pointer;
}

.fma-project-search__views button.is-active {
	border-color: var(--fma-green);
	background: var(--fma-green);
	color: #fff;
}

.fma-project-search__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 0;
}

.fma-project-search__reset {
	min-height: 46px;
	padding: 0 4px;
	border: 0;
	background: transparent;
	color: #66727e;
	font-weight: 700;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fma-project-search__results {
	position: relative;
	scroll-margin-top: 120px;
}

.fma-project-search__loader {
	position: fixed;
	z-index: 9999;
	right: 24px;
	bottom: 24px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border-radius: 999px;
	background: #0d1724;
	color: #fff;
	box-shadow: 0 12px 30px rgba(13,23,36,.22);
	font-weight: 700;
}

.fma-project-search__loader[hidden] {
	display: none !important;
}

.fma-project-search__loader span {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255,255,255,.35);
	border-top-color: var(--fma-green);
	border-radius: 50%;
	animation: fma-spin .75s linear infinite;
}

@keyframes fma-spin {
	to { transform: rotate(360deg); }
}

.fma-project-search.is-loading [data-fma-grid] {
	opacity: .45;
	pointer-events: none;
	transition: opacity .2s ease;
}

.fma-project-search__pagination button,
.fma-project-search__pagination span {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #dce2e6;
	border-radius: 6px;
	background: #fff;
	color: #263442;
	font-weight: 700;
	cursor: pointer;
}

.fma-project-search__pagination button.current {
	border-color: var(--fma-green);
	background: var(--fma-green);
	color: #fff;
}

.fma-project-grid--list {
	grid-template-columns: 1fr !important;
	gap: 18px;
}

.fma-project-grid--list .fma-project-card {
	display: grid;
	grid-template-columns: minmax(280px, 34%) minmax(0, 1fr);
	min-height: 250px;
}

.fma-project-grid--list .fma-project-card__image {
	height: 100%;
	aspect-ratio: auto !important;
}

.fma-project-grid--list .fma-project-card__body {
	padding: 28px;
}

.fma-project-grid--list .fma-project-card__title {
	font-size: 26px;
}

.fma-project-grid--list .fma-project-card__meta {
	grid-template-columns: repeat(2, minmax(0, 180px));
	justify-content: start;
}

@media (max-width: 991.98px) {
	.fma-project-search__toolbar {
		grid-template-columns: 1fr 1fr;
	}

	.fma-project-search__actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

@media (max-width: 767.98px) {
	.fma-project-search__toolbar {
		grid-template-columns: 1fr;
	}

	.fma-project-search__sort {
		max-width: none;
	}

	.fma-project-search__views {
		justify-content: center;
	}

	.fma-project-search__actions {
		grid-column: auto;
		flex-direction: column;
		align-items: stretch;
	}

	.fma-project-grid--list .fma-project-card {
		display: flex;
		min-height: 0;
	}

	.fma-project-grid--list .fma-project-card__image {
		aspect-ratio: 16 / 9 !important;
		height: auto;
	}
}


/* Hotfix 0.8.2 — AJAX e switch vista */
.fma-project-search.has-error .fma-project-search__summary {
	padding: 13px 16px;
	border: 1px solid #dc3545;
	border-radius: 7px;
	background: #fff5f5;
	color: #a61b29;
}

.fma-project-grid.fma-project-grid--list {
	display: grid !important;
	grid-template-columns: 1fr !important;
}

.fma-project-grid.fma-project-grid--grid {
	display: grid !important;
}

.fma-project-search__views button {
	position: relative;
	z-index: 1;
	pointer-events: auto !important;
}

.fma-project-search__submit,
.fma-project-search__reset {
	position: relative;
	z-index: 1;
	pointer-events: auto !important;
}


/* 0.9.0 — Mappa portfolio e statistiche dinamiche */
.fma-map-hero{width:100%;margin:0 auto 70px}.fma-map-hero__heading{margin-bottom:22px}.fma-map-hero__heading span{display:block;margin-bottom:7px;color:var(--fma-green);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.7px}.fma-map-hero__heading h2{margin:0;color:var(--fma-navy);font-size:clamp(34px,4vw,58px);line-height:1.05}.fma-portfolio-map{width:100%;height:var(--fma-map-height,620px);border-radius:12px;overflow:hidden;background:#edf1f3;box-shadow:0 20px 55px rgba(13,23,36,.10)}.fma-dynamic-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:0;border-radius:0 0 12px 12px;background:var(--fma-navy);overflow:hidden}.fma-dynamic-stat{position:relative;padding:28px 20px;text-align:center;color:#fff}.fma-dynamic-stat+.fma-dynamic-stat:before{content:"";position:absolute;top:22%;bottom:22%;left:0;width:1px;background:rgba(255,255,255,.14)}.fma-dynamic-stat strong{display:block;color:#fff;font-size:clamp(25px,2.7vw,42px);line-height:1;font-weight:850}.fma-dynamic-stat span{display:block;margin-top:9px;color:rgba(255,255,255,.67);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.45px}.fma-map-popup{display:grid;gap:5px;min-width:190px;padding:4px}.fma-map-popup strong{font-size:16px;color:#0d1724}.fma-map-popup span{font-size:12px;color:#66727e}.fma-map-popup a{margin-top:5px;color:#6d9c33;font-weight:800}.fma-project-map{min-height:360px}
@media(max-width:991.98px){.fma-dynamic-stats{grid-template-columns:repeat(3,1fr)}.fma-dynamic-stat:nth-child(4):before{display:none}}
@media(max-width:767.98px){.fma-portfolio-map{height:min(520px,var(--fma-map-height,520px))}.fma-dynamic-stats{grid-template-columns:1fr 1fr}.fma-dynamic-stat:nth-child(odd):before{display:none}.fma-dynamic-stat:last-child{grid-column:1/-1}}


/* 0.9.1 — Marker FMA personalizzato e statistiche premium */
.fma-map-marker{position:relative;width:44px;height:56px;transform:scale(var(--fma-marker-scale,1));transform-origin:50% 100%;filter:drop-shadow(0 7px 8px rgba(13,23,36,.28));cursor:pointer}.fma-map-marker__head{position:relative;z-index:2;display:grid;place-items:center;width:44px;height:44px;border:3px solid #fff;border-radius:50%;background:linear-gradient(145deg,#8fc94f 0%,#6da832 100%);box-shadow:inset 0 0 0 1px rgba(13,23,36,.08)}.fma-map-marker__head svg{width:29px;height:29px;overflow:visible}.fma-marker-panel{fill:none;stroke:#fff;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.fma-marker-sun{fill:#ffd43b;stroke:#fff;stroke-width:1}.fma-map-marker__tip{position:absolute;z-index:1;left:50%;bottom:2px;width:17px;height:17px;border-right:3px solid #fff;border-bottom:3px solid #fff;background:#6da832;transform:translateX(-50%) rotate(45deg);border-radius:0 0 4px 0}.fma-map-marker:hover{z-index:10;filter:drop-shadow(0 9px 10px rgba(13,23,36,.38))}.fma-map-marker:hover .fma-map-marker__head{background:linear-gradient(145deg,#9bd55c 0%,#75b638 100%)}

.fma-dynamic-stats{position:relative;z-index:3;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;margin-top:28px;padding:18px;border:1px solid transparent;border-radius:18px;background:linear-gradient(#fff,#fff) padding-box,linear-gradient(120deg,rgba(134,187,70,.85),rgba(36,92,169,.55),rgba(255,212,59,.75)) border-box;box-shadow:0 18px 45px rgba(13,23,36,.09);overflow:visible}.fma-dynamic-stat{position:relative;display:flex;align-items:center;justify-content:center;gap:15px;min-height:118px;padding:22px 18px;border:1px solid #e7ecef;border-radius:13px;background:linear-gradient(145deg,#ffffff 0%,#f7faf5 100%);text-align:left;color:#0d1724;box-shadow:0 8px 24px rgba(13,23,36,.045);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.fma-dynamic-stat:hover{transform:translateY(-3px);border-color:rgba(134,187,70,.55);box-shadow:0 14px 30px rgba(13,23,36,.09)}.fma-dynamic-stat+.fma-dynamic-stat:before{display:none}.fma-dynamic-stat__icon{flex:0 0 48px;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:linear-gradient(145deg,rgba(134,187,70,.2),rgba(134,187,70,.08));color:#6d9c33}.fma-dynamic-stat__icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.fma-dynamic-stat__content{min-width:0}.fma-dynamic-stat strong{display:block;color:#0d1724;font-size:clamp(25px,2.25vw,38px);line-height:1;font-weight:850;white-space:nowrap}.fma-dynamic-stat span{display:block;margin-top:9px;color:#263442;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.4px;line-height:1.3}.fma-map-hero .fma-dynamic-stats{border-radius:18px}

@media(max-width:1199.98px){.fma-dynamic-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.fma-dynamic-stat:nth-child(4),.fma-dynamic-stat:nth-child(5){grid-column:auto}}
@media(max-width:767.98px){.fma-dynamic-stats{grid-template-columns:1fr;padding:12px;gap:10px}.fma-dynamic-stat{min-height:96px;justify-content:flex-start}.fma-dynamic-stat:last-child{grid-column:auto}.fma-dynamic-stat__icon{flex-basis:44px;width:44px;height:44px}.fma-dynamic-stat strong{font-size:30px}}


/* 0.9.2 — rifiniture titoli, statistiche e pin sovrapposti */
.fma-map-hero__heading{margin-bottom:14px}
.fma-map-hero__heading span{margin-bottom:0}
.fma-map-hero__heading h2{margin-top:8px}
.fma-project-search__heading{margin-bottom:22px}
.fma-project-search__heading span{margin-bottom:0;font-size:15px}
.fma-project-search__heading h2{display:none!important}
.fma-dynamic-stat{flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:18px 12px;text-align:center}
.fma-dynamic-stat__icon{flex:0 0 42px;width:42px;height:42px;border-radius:12px}
.fma-dynamic-stat__icon svg{width:22px;height:22px}
.fma-dynamic-stat__content{width:100%;text-align:center}
.fma-dynamic-stat strong{font-size:clamp(24px,2vw,34px);font-weight:720;letter-spacing:-.5px;white-space:nowrap}
.fma-dynamic-stat span{margin-top:7px;font-size:10px;font-weight:700;letter-spacing:.3px}
@media(max-width:1199.98px){.fma-dynamic-stat{min-height:132px}}
@media(max-width:767.98px){.fma-dynamic-stat{min-height:118px;align-items:center;justify-content:center;text-align:center}.fma-dynamic-stat__content{text-align:center}}


/* Release 0.9.3 — Filtri richiudibili solo su mobile */
.fma-project-search__mobile-toggle {
	display: none;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 56px;
	padding: 0 18px;
	border: 1px solid #dce2e6;
	border-radius: 10px;
	background: #ffffff;
	color: #0d1724;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 8px 22px rgba(13, 23, 36, .07);
}

.fma-project-search__mobile-toggle-icon {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: rgba(134, 187, 70, .14);
	color: var(--fma-green);
	font-size: 17px;
}

.fma-project-search__mobile-toggle-arrow {
	margin-left: auto;
	font-size: 22px;
	line-height: 1;
	transition: transform .25s ease;
}

@media (max-width: 767.98px) {
	.fma-project-search__mobile-toggle {
		display: flex;
	}

	.fma-project-search__form {
		display: none;
		margin-top: 12px;
	}

	.fma-project-search.is-mobile-filters-open .fma-project-search__form {
		display: block;
		animation: fma-mobile-filters-open .22s ease both;
	}

	.fma-project-search.is-mobile-filters-open .fma-project-search__mobile-toggle-arrow {
		transform: rotate(180deg);
	}

	.fma-project-search__heading {
		margin-bottom: 14px;
	}

	.fma-project-search__results {
		margin-top: 18px;
	}
}

@keyframes fma-mobile-filters-open {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}


/* Release 1.1.0 — Premium projects carousel */
.fma-project-carousel {
	--fma-carousel-columns: 3;
	position: relative;
	width: 100%;
	padding: 18px 0 54px;
	overflow: hidden;
}

.fma-project-carousel--1 { --fma-carousel-columns: 1; }
.fma-project-carousel--2 { --fma-carousel-columns: 2; }
.fma-project-carousel--3 { --fma-carousel-columns: 3; }
.fma-project-carousel--4 { --fma-carousel-columns: 4; }

.fma-project-carousel__viewport {
	overflow-x: auto;
	overflow-y: visible;
	padding: 26px 4px 34px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	cursor: grab;
}

.fma-project-carousel__viewport:active {
	cursor: grabbing;
}

.fma-project-carousel__viewport::-webkit-scrollbar {
	display: none;
}

.fma-project-carousel__track {
	display: flex;
	align-items: stretch;
	gap: 28px;
}

.fma-project-carousel__slide {
	flex: 0 0 calc((100% - (28px * (var(--fma-carousel-columns) - 1))) / var(--fma-carousel-columns));
	min-width: 0;
	scroll-snap-align: start;
	transform: scale(.965);
	opacity: .78;
	transition: transform .38s ease, opacity .38s ease, filter .38s ease;
	filter: saturate(.88);
}

.fma-project-carousel__slide.is-active {
	transform: scale(1.025);
	opacity: 1;
	filter: saturate(1);
	z-index: 2;
}

.fma-project-carousel__slide .fma-project-card {
	height: 100%;
}

.fma-project-carousel__arrows {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	gap: 10px;
	z-index: 4;
}

.fma-project-carousel__arrow {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(31,41,51,.13);
	border-radius: 50%;
	background: #fff;
	color: var(--fma-text);
	box-shadow: 0 8px 24px rgba(13,23,36,.08);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.fma-project-carousel__arrow:hover,
.fma-project-carousel__arrow:focus-visible {
	background: var(--fma-green);
	border-color: var(--fma-green);
	color: #fff;
	transform: translateY(-2px);
	outline: none;
}

.fma-project-carousel__arrow:disabled {
	opacity: .35;
	cursor: not-allowed;
	transform: none;
}

.fma-project-carousel__dots {
	position: absolute;
	left: 0;
	bottom: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 16px;
}

.fma-project-carousel__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #cfd6dc;
	cursor: pointer;
	transition: width .25s ease, background .25s ease;
}

.fma-project-carousel__dot.is-active {
	width: 28px;
	background: var(--fma-green);
}

@media (max-width: 991.98px) {
	.fma-project-carousel {
		--fma-carousel-columns: 2;
	}
}

@media (max-width: 767.98px) {
	.fma-project-carousel {
		--fma-carousel-columns: 1;
		padding-bottom: 64px;
	}

	.fma-project-carousel__viewport {
		padding: 18px 8px 28px;
	}

	.fma-project-carousel__track {
		gap: 18px;
	}

	.fma-project-carousel__slide {
		flex-basis: 100%;
		transform: scale(.98);
		opacity: 1;
		filter: none;
	}

	.fma-project-carousel__slide.is-active {
		transform: scale(1);
	}

	.fma-project-carousel__arrows {
		right: 4px;
	}

	.fma-project-carousel__dots {
		left: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fma-project-carousel__viewport {
		scroll-behavior: auto;
	}

	.fma-project-carousel__slide,
	.fma-project-carousel__arrow,
	.fma-project-carousel__dot {
		transition: none;
	}
}

.fma-project-carousel.is-dragging,
.fma-project-carousel.is-dragging * {
	user-select: none;
}

.fma-project-carousel.is-dragging .fma-project-carousel__viewport {
	cursor: grabbing;
	scroll-snap-type: none;
}


/* Release 1.2.0 — Dynamic Image Hotspot content */
.fma-hotspot-projects {
	--fma-hotspot-green: #86bb46;
	width: min(420px, 84vw);
	max-height: min(520px, 72vh);
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	color: #1f2933;
	box-shadow: 0 20px 55px rgba(12, 26, 38, .18);
	font-family: inherit;
	text-align: left;
}

.fma-hotspot-projects--empty {
	width: auto;
	max-width: 320px;
	padding: 18px 20px;
	color: #6c757d;
}

.fma-hotspot-projects__header {
	display: flex;
	flex-direction: column;
	gap: 3px;
	padding: 18px 20px 16px;
	border-bottom: 1px solid #edf0f2;
	background: linear-gradient(135deg, rgba(134,187,70,.14), rgba(134,187,70,.03));
}

.fma-hotspot-projects__eyebrow {
	color: var(--fma-hotspot-green);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.fma-hotspot-projects__title {
	color: #1f2933;
	font-size: 20px;
	line-height: 1.2;
	text-transform: uppercase;
}

.fma-hotspot-projects__summary {
	color: #6c757d;
	font-size: 12px;
	font-weight: 600;
}

.fma-hotspot-projects__list {
	max-height: 330px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #cfd6dc transparent;
}

.fma-hotspot-projects__item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto 18px;
	align-items: center;
	gap: 12px;
	padding: 13px 18px;
	border-bottom: 1px solid #eef1f3;
	color: inherit;
	text-decoration: none !important;
	transition: background .2s ease;
}

.fma-hotspot-projects__item:hover,
.fma-hotspot-projects__item:focus-visible {
	background: #f8faf6;
	outline: none;
}

.fma-hotspot-projects__item-main,
.fma-hotspot-projects__item-meta {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fma-hotspot-projects__item-main strong {
	overflow: hidden;
	color: #1f2933;
	font-size: 13px;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fma-hotspot-projects__item-main small,
.fma-hotspot-projects__item-meta small {
	color: #7b838c;
	font-size: 10px;
	line-height: 1.35;
}

.fma-hotspot-projects__item-meta {
	align-items: flex-end;
	text-align: right;
}

.fma-hotspot-projects__item-meta em {
	margin-top: 3px;
	padding: 3px 7px;
	border-radius: 999px;
	background: rgba(134,187,70,.13);
	color: #628f2f;
	font-size: 8px;
	font-style: normal;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
	white-space: nowrap;
}

.fma-hotspot-projects__arrow {
	color: var(--fma-hotspot-green);
	font-size: 16px;
	transition: transform .2s ease;
}

.fma-hotspot-projects__item:hover .fma-hotspot-projects__arrow {
	transform: translateX(3px);
}

.fma-hotspot-projects__more {
	margin: 0;
	padding: 9px 18px;
	background: #f7f8f9;
	color: #6c757d;
	font-size: 10px;
	text-align: center;
}

.fma-hotspot-projects__footer-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	background: #1f2933;
	color: #fff !important;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: background .2s ease;
}

.fma-hotspot-projects__footer-link:hover,
.fma-hotspot-projects__footer-link:focus-visible {
	background: var(--fma-hotspot-green);
	outline: none;
}

@media (max-width: 767.98px) {
	.fma-hotspot-projects {
		width: min(360px, 88vw);
		max-height: 68vh;
	}

	.fma-hotspot-projects__header {
		padding: 15px 16px 13px;
	}

	.fma-hotspot-projects__title {
		font-size: 17px;
	}

	.fma-hotspot-projects__item {
		grid-template-columns: minmax(0, 1fr) 16px;
		padding: 12px 15px;
	}

	.fma-hotspot-projects__item-meta {
		display: none;
	}
}


/* Release 1.2.1 — carousel links and drag fix */
.fma-project-carousel__slide a {
	pointer-events: auto;
}

.fma-project-carousel__slide .fma-project-card__image,
.fma-project-carousel__slide .fma-project-card__title a,
.fma-project-carousel__slide .fma-project-card__link {
	position: relative;
	z-index: 3;
}


/* Release 1.3.0 — AJAX pagination and results controls */
.fma-project-search__results-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}

.fma-project-search__results-bar .fma-project-search__summary {
	margin-bottom: 0;
}

.fma-project-search__results-options {
	display: flex;
	align-items: center;
	gap: 18px;
	color: #66727e;
	font-size: 13px;
	font-weight: 600;
}

.fma-project-search__per-page {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fma-project-search__per-page select {
	width: auto;
	min-width: 70px;
	height: 40px;
	padding: 0 30px 0 10px;
	border: 1px solid #dce2e6;
	border-radius: 6px;
	background-color: #fff;
	color: #263442;
	font-weight: 700;
	cursor: pointer;
}

.fma-project-search__page-status {
	white-space: nowrap;
}

.fma-project-search__pagination {
	margin-top: 34px;
}

.fma-project-search__pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fma-project-search__pagination button,
.fma-project-search__pagination span {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #dce2e6;
	border-radius: 6px;
	background: #fff;
	color: #263442;
	font-weight: 700;
}

.fma-project-search__pagination button {
	cursor: pointer;
}

.fma-project-search__pagination button:hover,
.fma-project-search__pagination button:focus-visible {
	border-color: var(--fma-green);
	color: var(--fma-green);
	outline: none;
}

.fma-project-search__pagination button.current {
	border-color: var(--fma-green);
	background: var(--fma-green);
	color: #fff;
}

@media (max-width: 767.98px) {
	.fma-project-search__results-bar {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.fma-project-search__results-options {
		width: 100%;
		justify-content: space-between;
	}

	.fma-project-search__page-status {
		font-size: 12px;
	}

	.fma-project-search__pagination ul {
		gap: 5px;
	}

	.fma-project-search__pagination button,
	.fma-project-search__pagination span {
		min-width: 38px;
		height: 38px;
		padding: 0 9px;
	}
}
