/* International Wood – Progetto PR FESR Toscana 2021-2027 */

.iw-fesr,
.iw-fesr-banner {
	--iw-green: #5d8b2f;
	--iw-green-dark: #45691f;
	--iw-ink: #222;
	--iw-muted: #666;
	--iw-line: #e3e3e3;
	--iw-bg-soft: #f6f7f3;
	--iw-eu: #003399;
	box-sizing: border-box;
}
.iw-fesr *,
.iw-fesr-banner * { box-sizing: inherit; }

/* ---------- Banner home ---------- */
.iw-fesr-banner {
	display: block;
	max-width: 1100px;
	margin: 40px auto;
	padding: 24px 28px;
	background: #fff;
	border: 1px solid var(--iw-line);
	border-top: 4px solid var(--iw-green);
	color: var(--iw-ink);
	text-decoration: none !important;
	transition: box-shadow .2s ease, transform .2s ease;
}
.iw-fesr-banner:hover,
.iw-fesr-banner:focus-visible {
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
	color: var(--iw-ink);
}
.iw-fesr-banner:focus-visible { outline: 2px solid var(--iw-green); outline-offset: 3px; }

.iw-fesr-banner__top {
	display: block;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--iw-line);
}
.iw-fesr-banner__text {
	display: block;
	font-size: 16px;
	line-height: 1.5;
	font-weight: 600;
	text-align: center;
}
.iw-fesr-banner__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 16px;
}
.iw-fesr-banner__loghi { width: 100%; max-width: 560px; height: auto; }
.iw-fesr-banner__cta {
	flex: 0 0 auto;
	padding: 10px 18px;
	background: var(--iw-green);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
	transition: background .2s ease;
}
.iw-fesr-banner:hover .iw-fesr-banner__cta { background: var(--iw-green-dark); }

@media (max-width: 767px) {
	.iw-fesr-banner { margin: 24px 0; padding: 18px 16px; }
	.iw-fesr-banner__top,
	.iw-fesr-banner__bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
	.iw-fesr-banner__text { font-size: 14px; }
	.iw-fesr-banner__cta { align-self: stretch; text-align: center; }
}

/* ---------- Pagina progetto ---------- */
.iw-fesr { color: var(--iw-ink); }
.iw-fesr__wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.iw-fesr__hero { padding: 48px 0 40px; border-bottom: 1px solid var(--iw-line); }
.iw-fesr__loghi { display: block; width: 100%; max-width: 620px; height: auto; margin: 0 0 36px; }
.iw-fesr__eyebrow {
	margin: 0 0 10px;
	color: var(--iw-eu);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.iw-fesr__title {
	margin: 0 0 20px;
	font-size: clamp(28px, 4vw, 42px);
	line-height: 1.15;
}
.iw-fesr__lead { max-width: 820px; margin: 0; font-size: 18px; line-height: 1.6; color: #444; }

.iw-fesr__section { padding: 48px 0; }
.iw-fesr__section + .iw-fesr__section { border-top: 1px solid var(--iw-line); }
.iw-fesr__section h2 {
	margin: 0 0 20px;
	font-size: 24px;
	line-height: 1.25;
	padding-left: 14px;
	border-left: 4px solid var(--iw-green);
}
.iw-fesr__section p { line-height: 1.65; }

.iw-fesr__stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}
.iw-fesr__stats li { padding: 22px 20px; background: var(--iw-bg-soft); }
.iw-fesr__stats strong {
	display: block;
	font-size: 34px;
	line-height: 1;
	color: var(--iw-green-dark);
}
.iw-fesr__stats small { font-size: 16px; font-weight: 600; }
.iw-fesr__stats span { display: block; margin-top: 8px; font-size: 14px; color: var(--iw-muted); }

.iw-fesr__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.iw-fesr__list { margin: 0; padding: 0; list-style: none; }
.iw-fesr__list li { position: relative; padding: 0 0 12px 26px; line-height: 1.55; }
.iw-fesr__list li::before {
	content: "";
	position: absolute;
	left: 0; top: .5em;
	width: 10px; height: 10px;
	background: var(--iw-green);
	border-radius: 50%;
}
.iw-fesr a { color: var(--iw-green-dark); }

.iw-fesr__scheda {
	display: grid;
	grid-template-columns: max-content 1fr;
	margin: 0;
	border-top: 1px solid var(--iw-line);
}
.iw-fesr__scheda dt,
.iw-fesr__scheda dd { margin: 0; padding: 12px 0; border-bottom: 1px solid var(--iw-line); }
.iw-fesr__scheda dt { padding-right: 32px; font-weight: 700; }

.iw-fesr__gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 8px 0 0;
}
.iw-fesr__gallery figure { margin: 0; overflow: hidden; background: var(--iw-bg-soft); }
.iw-fesr__gallery a { display: block; }
.iw-fesr__gallery img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform .4s ease;
}
.iw-fesr__gallery a:hover img { transform: scale(1.03); }

.iw-fesr__content { margin-top: 24px; }
.iw-fesr__content img { max-width: 100%; height: auto; }

.iw-fesr__foot { padding: 32px 0 48px; border-top: 1px solid var(--iw-line); }
.iw-fesr__foot img { display: block; width: 100%; max-width: 620px; height: auto; margin: 0 auto; }

@media (max-width: 900px) {
	.iw-fesr__stats { grid-template-columns: repeat(2, 1fr); }
	.iw-fesr__cols { grid-template-columns: 1fr; gap: 32px; }
	.iw-fesr__gallery { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.iw-fesr__hero { padding: 32px 0; }
	.iw-fesr__section { padding: 36px 0; }
	.iw-fesr__stats strong { font-size: 28px; }
	.iw-fesr__scheda { grid-template-columns: 1fr; }
	.iw-fesr__scheda dt { padding-bottom: 0; border-bottom: 0; }
	.iw-fesr__scheda dd { padding-top: 4px; }
}
