/* eu-projects.css - the EU-funded projects page only (pl/eu-projects.html, eu-projects.html).
   The official marks bars sit on plain white, full colour, as the FE handbook asks; nothing is drawn over them.
   Below 600px the official vertical bar replaces the horizontal one (handbook 05.2026, sec. 8.4). */
.eu-page .legal-body{max-width:940px}
.eu-page .eu-intro{color:var(--muted);font-size:1rem;line-height:1.7;margin-bottom:28px}
.eu-entry{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:0 0 26px;margin:0 0 32px;overflow:hidden}
.eu-entry > *:not(.eu-marks){margin-left:28px;margin-right:28px}
.eu-marks{background:#fff;margin:0 0 24px;padding:12px 16px;display:flex;align-items:center;justify-content:center;min-height:96px}
.eu-marks picture{display:block;width:100%}
.eu-marks img{display:block;width:100%;height:auto}
.eu-marks .eu-marks-slot{color:#3d4a5c;font-size:.86rem;line-height:1.45;text-align:center;border:2px dashed #b5bfcc;border-radius:8px;padding:16px 18px;width:100%;margin:6px 0}
.eu-entry h2{font-size:1.35rem;font-weight:700;color:var(--txt);margin-top:0;margin-bottom:6px}
.eu-entry .eu-when{color:var(--accent-2);font-size:.92rem;margin-bottom:18px}
.eu-facts{display:grid;grid-template-columns:minmax(150px,210px) 1fr;gap:10px 22px;margin-bottom:18px}
.eu-facts dt{color:var(--txt);font-weight:600;font-size:.9rem;line-height:1.5}
.eu-facts dd{color:var(--muted);font-size:.95rem;line-height:1.55;margin:0}
.eu-entry .eu-did{color:var(--txt);font-size:.98rem;line-height:1.65;margin-bottom:16px}
.eu-entry .eu-official{border-left:3px solid var(--accent);padding:4px 0 4px 16px;color:var(--txt);font-size:.95rem;line-height:1.65;margin-bottom:10px}
.eu-official-label{display:block;color:var(--muted);font-size:.74rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;margin-bottom:6px}
.eu-entry .eu-translation{color:var(--muted);font-size:.9rem;line-height:1.6;padding-left:19px;margin-bottom:10px}
.eu-todo{background:rgba(255,196,0,.16);color:#ffd970;border-radius:4px;padding:0 4px;font-weight:600}
.eu-marks-slot .eu-todo{background:#fff1bf;color:#5c4300}
@media(max-width:640px){
  .eu-entry > *:not(.eu-marks){margin-left:18px;margin-right:18px}
  .eu-facts{grid-template-columns:1fr;gap:2px 0}
  .eu-facts dd{margin-bottom:10px}
}
@media(max-width:600px){
  .eu-marks{padding:16px 12px}
  .eu-marks picture{width:180px;margin:0 auto}
}
.eu-page .eu-back{margin-top:40px}
