:root{--blue:#294c2e;--blue-d:#1d3820;--green:#2fac66;--ink:#1f2933;--muted:#5f6b7a;--line:#e3e8ee;--soft:#f3f6f9;--w:1180px}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font:400 1rem/1.6 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:#fff}
img,video{max-width:100%;height:auto}
a{color:var(--blue)}a:hover{color:var(--green)}
:focus-visible{outline:3px solid var(--green);outline-offset:2px}
.wrap{max-width:var(--w);margin:0 auto;padding:0 16px}
.skip{position:absolute;left:-999px;top:0;background:#fff;padding:8px 12px;z-index:10}.skip:focus{left:8px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

.site-header{background:var(--blue);color:#fff}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:10px 28px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
.logo img{display:block;width:150px;height:auto}
.nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:2px 18px}
.nav a{color:#fff;font-weight:600;font-size:.9rem;text-decoration:none;padding:4px 0;border-bottom:2px solid transparent}
.nav a:hover,.nav a[aria-current]{border-color:var(--green);color:#fff}

.hero img{display:block;width:100%;height:auto}
.archive-note{color:var(--muted);font-size:.9rem;font-style:italic;margin-top:24px}
.page-title{background:var(--soft);border-bottom:1px solid var(--line);margin-bottom:32px}
.page-title h1{margin:0;padding:26px 0;color:var(--blue);font-size:clamp(1.45rem,3.2vw,2.1rem);font-weight:600;line-height:1.25}
.subnav{margin:-8px 0 28px}
.subnav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.subnav a{display:inline-block;font-size:.85rem;font-weight:600;text-decoration:none;padding:5px 12px;border-radius:999px;background:var(--soft);color:var(--blue)}
.subnav a[aria-current],.subnav a:hover{background:var(--blue);color:#fff}

.prose{padding-bottom:64px}
.prose h2{color:var(--blue);font-size:1.5rem;margin:2rem 0 .8rem;line-height:1.25}
.prose h3{color:var(--green);font-size:1.2rem;margin:1.6rem 0 .6rem;line-height:1.3}
.prose h4{color:var(--blue);font-size:1.02rem;margin:.9rem 0 .3rem}
.prose h5{color:var(--blue);font-size:.95rem;margin:.6rem 0 .3rem;font-weight:600}
.prose h6{color:var(--green);font-size:.82rem;margin:.2rem 0 .5rem;font-weight:600}
.prose p{margin:0 0 .8rem}
.prose ul,.prose ol{padding-left:1.3rem}
.prose hr{border:0;border-top:1px solid var(--line);margin:2rem 0}
.prose figure{margin:0 0 1rem}
.prose video{display:block;width:100%;background:#000;border-radius:6px;margin-bottom:1.2rem;aspect-ratio:16/9}
.table-wrap{overflow-x:auto;margin:1rem 0}
.prose table{border-collapse:collapse;font-size:.9rem;min-width:100%}
.prose th{background:var(--blue);color:#fff;padding:8px 10px;font-weight:600}
.prose td{padding:7px 10px;border-bottom:1px solid var(--line);text-align:center}
.prose td:first-child{text-align:left;font-weight:600}
.cols{display:grid;gap:10px 36px;margin:1rem 0}
@media(min-width:720px){.cols-2{grid-template-columns:1fr 1fr}.cols-3{grid-template-columns:repeat(3,1fr)}.cols-4{grid-template-columns:repeat(4,1fr)}.cols-5{grid-template-columns:repeat(5,1fr)}.cols-6{grid-template-columns:repeat(6,1fr)}}
@media(min-width:480px) and (max-width:719px){.cols-4,.cols-5,.cols-6{grid-template-columns:1fr 1fr}}
.cols>div>:first-child{margin-top:0}
.btn{display:inline-block;background:var(--blue);color:#fff!important;text-decoration:none;font-weight:600;font-size:.9rem;padding:8px 16px;border-radius:4px}
.btn:hover{background:var(--green)}
.map a{font-weight:600}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:14px;margin:.6rem 0 1.6rem}
.gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:50%}

/* speakers */
.page-k-speakers .cols>div,.page-plenary-lectures .cols>div{text-align:center;font-size:.88rem}
.page-k-speakers figure img,.page-plenary-lectures figure img{width:150px;aspect-ratio:1;object-fit:cover;border-radius:50%;margin:.4rem auto;display:block}
.page-k-speakers .cols,.page-plenary-lectures .cols{margin-bottom:2.2rem}
/* partners */
.page-partners figure img{max-height:110px;width:auto;margin:.6rem auto;display:block}
.page-partners .cols{align-items:center}
/* program */
.toc{background:var(--soft);border-radius:8px;padding:14px 18px;margin-bottom:24px}
.toc ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}
@media(min-width:720px){.toc ul{grid-template-columns:repeat(3,1fr)}}
.toc li>a{font-weight:700;display:block}
.toc span{font-size:.85rem}
.page-program .tab-l1>h2{background:var(--green);color:#fff;padding:8px 14px;border-radius:6px;scroll-margin-top:12px}
.page-program .tab-l2>h3{background:var(--blue);color:#fff;padding:6px 12px;border-radius:6px;display:inline-block;scroll-margin-top:12px}
.page-program .cols-2{grid-template-columns:80px 1fr;gap:4px 18px;margin:.5rem 0;padding:.5rem 0;border-bottom:1px solid var(--line)}
.page-program .cols-2>div:first-child :is(h4,h5){color:var(--muted);font-weight:700;margin:0}
.page-program .cols-2 :is(h3,h4,h5){margin-top:0}
.page-posters-session-1 h5,.page-posters-session-2 h5{font-weight:400;color:var(--ink);border-left:3px solid var(--green);padding-left:10px;margin:.8rem 0}
.page-posters-session-1 h5 strong,.page-posters-session-2 h5 strong{color:var(--blue)}
.page-book-of-abstracts img{max-width:380px;box-shadow:0 6px 24px rgba(0,0,0,.15)}

.site-footer{background:var(--blue);color:#e8f0f7;font-size:.86rem}
.site-footer a{color:#fff}
.ft-grid{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;padding-top:32px;padding-bottom:32px}
.ft-grid p{margin:0}
.ft-label{text-transform:uppercase;letter-spacing:.07em;font-weight:700;font-size:.74rem;color:#fff;margin-bottom:.4rem!important}
.ft-logos{display:flex;gap:18px;align-items:center}
.ft-logos img{height:42px;width:auto;display:block}
.ft-bottom{background:var(--green);color:#fff;text-align:center;font-size:.78rem;padding:12px 0}
/* eafp */
.logo{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;font-weight:600;font-size:.95rem}
.logo img{width:90px;background:#fff;border-radius:4px;padding:4px}
.home-links{list-style:none;padding:0!important;margin:8px 0 40px;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.home-links a{display:block;padding:12px 14px;border:1px solid var(--line);border-radius:6px;text-decoration:none;font-weight:600}
.home-links a:hover{background:var(--soft)}
.page-sponsors figure img{max-height:90px;width:auto;margin:.6rem auto;display:block}
.page-sponsors .cols{align-items:center;text-align:center}
.page-posters h4,.page-posters h5{margin:.7rem 0 .1rem}
.page-accommodation figure img,.page-how-to-arrive-to-coimbra figure img{border-radius:6px}
.ft-logos img{background:#fff;border-radius:4px;padding:4px}
.page-program .cols-2{grid-template-columns:130px 1fr}
.page-sponsors img{max-height:90px;width:auto;max-width:100%}
