/* Pagine Bandi UE / Regione Marche (bandi.html, grants.html, foerderungen.html) */
html { background: linear-gradient(#507713, #bbdf73) fixed; min-height: 100%; }
body { margin: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; color: #2b2b2b; overflow-x: hidden; }
.helvetica { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }

/* Testata, come nel resto del sito */
.topbar { position: relative; height: 140px; background: linear-gradient(rgba(40,57,9,.9), rgba(40,57,9,0)); }
.topbar .logo { position: absolute; top: 4px; left: 17px; }
.topbar .logo img { display: block; width: 280px; height: auto; max-width: 60vw; }
.topbar .lang { position: absolute; top: 22px; right: 28px; font-size: 14px; letter-spacing: 1px; }
.topbar .lang a { color: #fff; text-decoration: none; margin-left: 8px; opacity: .75; }
.topbar .lang a[aria-current], .topbar .lang a:hover { opacity: 1; font-weight: bold; }
#trigger-overlay { position: fixed; top: 60px; right: 20px; z-index: 5; border: 0; background: transparent; color: #fff; cursor: pointer; text-shadow: 0 1px 4px rgba(0,0,0,.4); }

/* Menu a tutto schermo (stesso stile delle altre pagine) */
.overlay { position: fixed; inset: 0; background: rgba(80,119,19,.95); z-index: 10; overflow-y: auto;
  visibility: hidden; transform: translateX(-100%); transition: transform .5s, visibility 0s .5s; }
.overlay.open { visibility: visible; transform: translateX(0); transition: transform .5s; }
.overlay .overlay-close { position: absolute; top: 20px; right: 20px; border: 0; background: transparent; color: #fff; cursor: pointer; }
.overlay nav { text-align: center; padding: 70px 16px 30px; }
.overlay ul { list-style: none; margin: 0; padding: 0; }
.overlay li a { display: block; padding: 10px 0; font-size: 44px; font-weight: 300; color: #fff; text-decoration: none; line-height: 1.15; }
.overlay li a:hover { color: #f0f0f0; }
@media (max-width: 700px) { .overlay li a { font-size: 30px; } }
@media (max-width: 400px) { .overlay li a { font-size: 24px; } }

/* Contenuto */
.content { max-width: 1000px; margin: 0 auto 40px; padding: 0 16px; }
h1 { color: #fff; font-weight: 300; font-size: 38px; margin: 10px 0 24px; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.progetto, .info { background: #fff; border-radius: 6px; padding: 28px 32px; margin-bottom: 24px; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.programma { color: #3b6b1a; font-weight: bold; margin: 0 0 14px; line-height: 1.4; }
.progetto h2 { font-family: "Times New Roman", Times, serif; font-size: 26px; margin: 0 0 16px; }
dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 24px; font-size: 17px; }
dt { font-weight: bold; text-transform: uppercase; font-size: 14px; letter-spacing: .5px; padding-top: 2px; }
dd { margin: 0; }
figure { margin: 0; }
figure img { display: block; width: 100%; height: auto; border: 1px solid #ddd; }
.info h2 { color: #3b6b1a; font-size: 22px; margin: 0 0 12px; }
.info p { line-height: 1.6; }
.info a { color: #3b6b1a; }
.footer { text-align: center; color: #fff; font-size: 14px; line-height: 1.7; padding: 20px 16px 40px; background: rgba(40,57,9,.6); }
.footer a { color: #fff; }

@media (max-width: 600px) {
  h1 { font-size: 28px; }
  .progetto, .info { padding: 20px 16px; }
  dl { grid-template-columns: 1fr; gap: 2px; }
  dd { margin-bottom: 8px; }
  .topbar { height: 120px; }
  #trigger-overlay { top: 55px; }
}
