/* Corsi finanziati: scoped extension of the FORMED visual system. */
.funded-hero { padding-bottom: 48px; }
.funded-hero-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.funded-hero h1 { font-size: clamp(2.15rem, 3.55vw, 3.5rem); line-height: 1.13; margin: 14px 0 24px; }
.funded-hero h1 span { color: var(--green-dark); }
.funded-hero-copy > p { max-width: 57ch; }
.funded-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; margin: 28px 0 18px; }
.funded-hero .funded-caption, .funded-caption { font-size: .875rem; line-height: 1.65; }
.funded-hero-visual { margin: 0; position: relative; min-width: 0; padding-bottom: 24px; }
.funded-hero-visual img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; border-radius: 18px; }
.funded-photo-label { position: relative; width: calc(100% - 40px); margin: -30px auto 0; padding: 18px 24px; border-radius: 12px; background: var(--blue); color: white; box-shadow: 0 8px 25px #10265914; }
.funded-photo-label > span { display: block; font-size: .75rem; letter-spacing: .08em; color: #d4e9b8; margin-bottom: 6px; }
.funded-photo-label strong { font: 800 1.35rem/1.4 Manrope, sans-serif; }
.funded-hero-visual figcaption { position: absolute; bottom: 0; right: 0; font-size: .75rem; color: var(--muted); }
.funded-content { max-width: 1280px; padding-top: 0; }
.funded-nav { display: flex; flex-wrap: wrap; gap: 4px 32px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.funded-nav a { padding: 10px 0; color: var(--blue); font-size: .9375rem; font-weight: 700; text-decoration: none; }
.funded-nav a:hover { color: var(--green-dark); text-decoration: underline; text-underline-offset: 5px; }
.funded-section { padding: clamp(40px, 5vw, 68px) 0; border-bottom: 1px solid var(--border); }
.funded-content [id] { scroll-margin-top: 140px; }
.funded-heading { max-width: 850px; margin-bottom: 30px; }
.funded-content .eyebrow { color: var(--green-dark); font-size: .8125rem; }
.funded-content h2 { color: var(--blue); font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; margin: 12px 0 18px; }
.funded-content h3 { color: var(--blue); font-size: 1.25rem; line-height: 1.4; margin: 12px 0; }
.funded-content p { font-size: 1rem; line-height: 1.75; margin: 0 0 16px; }
.funded-content .funded-source, .funded-content .funded-caption { font-size: .875rem; }
.funded-source { margin: 20px 0 0 !important; }
.funded-source a, .funded-hours figcaption a, .funded-faq a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.funded-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.funded-benefits article { border-top: 2px solid var(--green); padding: 20px 0 4px; }
.funded-number { font: 800 .9375rem/1.4 Manrope, sans-serif; color: var(--green-dark); }
.funded-premium { display: flex; align-items: flex-start; gap: 24px; padding: clamp(24px, 3vw, 36px); margin-top: 36px; background: #edf4e5; border: 1px solid #d5e5c3; border-radius: 16px; }
.funded-premium-sign { display: grid; place-items: center; flex: 0 0 48px; height: 48px; background: var(--green); color: var(--blue); font-size: 2.2rem; font-weight: 700; border-radius: 50%; line-height: 1; }
.funded-premium h3 { font-size: 1.5rem; margin-top: 8px; }
.funded-premium p { max-width: 93ch; }
.funded-hours { margin: 32px 0 24px; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--paper); }
.funded-hours-bar { display: grid; grid-template-columns: 3fr 2fr; font-size: .875rem; font-weight: 800; }
.funded-hours-bar span { padding: 14px 24px; background: var(--blue); color: #fff; }
.funded-hours-bar span + span { background: var(--green); color: var(--blue); }
.funded-phases { display: grid; grid-template-columns: 3fr 2fr; }
.funded-phases > div { padding: 28px; }
.funded-phases > div + div { border-left: 1px solid var(--border); }
.funded-phases h3 { font-size: 1.125rem; }
.funded-phases h3 strong { display: block; font-size: 3rem; line-height: 1.2; margin-bottom: 6px; }
.funded-hours figcaption { border-top: 1px solid var(--border); padding: 14px 28px; font-size: .875rem; color: var(--muted); }
.funded-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 0; }
.funded-facts > div { padding: 18px 0; border-bottom: 1px solid var(--border); }
.funded-facts dt { font-size: .9375rem; font-weight: 800; color: var(--blue); }
.funded-facts dd { margin: 8px 0 0; line-height: 1.7; color: var(--muted); }
.funded-journey { background: var(--blue); color: #fff; padding: clamp(24px, 4vw, 48px); border-radius: 18px; margin-top: 60px; }
.funded-journey h2, .funded-journey h3 { color: #fff; }
.funded-journey .eyebrow { color: #c9e4aa; }
.funded-journey p { color: #d3deef; }
.funded-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin: 32px 0 26px; }
.funded-steps li { position: relative; }
.funded-steps li:not(:last-child)::after { content: '→'; position: absolute; top: 4px; right: 0; font-size: 1.5rem; color: #9cb779; }
.funded-step-number { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: var(--blue); font-weight: 800; }
.funded-steps h3 { margin-top: 20px; }
.funded-journey .funded-caption { padding-top: 20px; border-top: 1px solid #ffffff30; margin-bottom: 0; }
.funded-incentives { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.funded-incentive { padding: clamp(22px, 3vw, 36px); border: 1px solid var(--border); border-radius: 16px; display: flex; align-items: flex-start; flex-direction: column; background: #fff; }
.funded-incentive-south { border-color: #aecb8e; box-shadow: inset 0 4px 0 var(--green); }
.funded-tag { display: inline-block; font-size: .75rem; letter-spacing: .06em; font-weight: 800; color: var(--green-dark); background: #edf4e5; padding: 6px 10px; border-radius: 6px; }
.funded-incentive h3 { font-size: 1.55rem; margin-top: 18px; }
.funded-incentive > p { min-height: 3.5em; }
.funded-incentive dl { margin: 4px 0 24px; width: 100%; }
.funded-incentive dl > div { border-top: 1px solid var(--border); padding: 20px 0; }
.funded-incentive dt { font-size: .875rem; color: var(--muted); margin-bottom: 12px; }
.funded-incentive dd { margin: 0 0 18px; color: var(--blue); }
.funded-incentive dd:last-child { margin-bottom: 0; }
.funded-incentive dd strong { font: 800 2rem/1.3 Manrope, sans-serif; }
.funded-incentive dd span { display: block; font-size: .9375rem; margin-top: 4px; color: var(--muted); }
.funded-incentive > a { margin-top: auto; }
.funded-funding-note { background: var(--paper); border-left: 4px solid var(--yellow); padding: 20px 24px; margin-top: 24px !important; }
.funded-faq details { border-bottom: 1px solid var(--border); }
.funded-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; padding: 22px 0; font-size: 1.0625rem; line-height: 1.6; font-weight: 750; color: var(--blue); cursor: pointer; }
.funded-faq summary::-webkit-details-marker { display: none; }
.funded-faq summary::after { content: '+'; flex-shrink: 0; font-size: 1.5rem; line-height: 1; color: var(--green-dark); }
.funded-faq details[open] summary::after { content: '−'; }
.funded-faq details > div { max-width: 90ch; padding-bottom: 24px; }
.funded-other-projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.funded-other-projects article { padding: 28px; background: var(--paper); border-radius: 16px; display: flex; align-items: flex-start; flex-direction: column; }
.funded-other-projects article .button { margin-top: auto; }
.funded-contact { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 32px; padding: 36px; background: #edf4e5; border-radius: 16px; margin: 56px 0 36px; }
.funded-contact h2 { margin-top: 10px; }
.funded-contact p { margin: 0; }
.funded-contact-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.funded-contact-actions > a:not(.button) { font-size: .9375rem; color: var(--blue); }
.funded-archive { padding: 12px 0 0; }
.funded-archive h2 { font-size: 1.25rem; }
.funded-archive p { font-size: .875rem; }
.funded-archive .editorial-archive-link { padding: 12px 0; margin: 0; border: 0; }
@media (max-width: 1020px) {
  .funded-hero-grid { gap: 28px; }
  .funded-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funded-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .funded-steps li:nth-child(2)::after { display: none; }
  .funded-incentive > p { min-height: 0; }
}
@media (max-width: 760px) {
  .funded-hero-grid, .funded-incentives, .funded-contact { grid-template-columns: minmax(0, 1fr); }
  .funded-hero h1 { font-size: clamp(2.1rem, 7.8vw, 3.25rem); }
  .funded-hero-visual { max-width: 600px; }
  .funded-photo-label { padding: 16px 20px; }
  .funded-hero { padding-bottom: 30px; }
  .funded-content [id] { scroll-margin-top: 110px; }
  .funded-nav { gap: 0 20px; }
  .funded-nav a { font-size: .875rem; }
  .funded-facts, .funded-other-projects { grid-template-columns: minmax(0, 1fr); }
  .funded-premium { gap: 16px; }
  .funded-premium-sign { display: none; }
  .funded-journey { margin-top: 36px; }
  .funded-contact { padding: 26px; margin-top: 36px; }
  .funded-contact-actions { align-items: flex-start; text-align: left; }
}
@media (max-width: 480px) {
  .funded-benefits, .funded-phases, .funded-steps { grid-template-columns: minmax(0, 1fr); }
  .funded-benefits { gap: 14px; }
  .funded-phases > div { padding: 24px; }
  .funded-phases > div + div { border-left: 0; border-top: 1px solid var(--border); }
  .funded-hours-bar span { padding: 12px 10px; font-size: .8125rem; }
  .funded-hours figcaption { padding: 16px 24px; }
  .funded-steps li { padding-left: 62px; }
  .funded-step-number { position: absolute; left: 0; top: 0; }
  .funded-steps h3 { margin-top: 0; }
  .funded-steps li:not(:last-child)::after { content: ''; display: block; left: 20px; top: 52px; bottom: -20px; width: 1px; background: #ffffff40; }
  .funded-actions { align-items: flex-start; flex-direction: column; }
}
