/*
Theme Name: EEL Professional
Author: EEL Project
Description: Bilingual institutional digital library theme for EMPHNET.
Version: 0.8.0
Requires PHP: 8.0
Text Domain: eel-theme
*/
:root{--navy:#12365a;--teal:#087f91;--aqua:#23a6a0;--mist:#f2f7fa;--ink:#203348}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;color:var(--ink);line-height:1.7}a{color:var(--teal)}.container{width:min(1180px,92%);margin:auto}.top{background:var(--navy);color:white}.top a{color:white;text-decoration:none}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:90px;flex-wrap:wrap}.brand{font-size:1.2rem;font-weight:800}.nav{display:flex;gap:18px;flex-wrap:wrap}.nav a{font-size:.92rem}.lang{border:1px solid #ffffff80;padding:5px 12px;border-radius:30px}.hero{background:linear-gradient(120deg,#12365a,#087f91);color:white;padding:90px 0}.hero h1{font-size:clamp(2.1rem,4.5vw,4rem);line-height:1.15;max-width:800px}.hero p{max-width:670px;font-size:1.1rem}.button,button[type=submit]{display:inline-block;background:var(--aqua);color:#082d39;border:0;padding:12px 22px;border-radius:8px;text-decoration:none;font-weight:700;cursor:pointer}.button.outline{background:white;color:var(--navy)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.section{padding:65px 0}.section.mist{background:var(--mist)}.section h2{font-size:2rem;margin:0 0 20px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{border:1px solid #dce7ec;border-radius:14px;background:white;padding:26px;box-shadow:0 8px 30px #12365a0a}.card h3{margin-top:0}.searchbar{display:flex;gap:10px;flex-wrap:wrap}.searchbar input,.searchbar select,.request-form input,.request-form textarea{padding:13px;border:1px solid #a8bbc8;border-radius:8px;font:inherit;min-width:0}.searchbar input{flex:1;min-width:210px}.request-form{max-width:740px;display:grid;gap:14px}.request-form label{display:grid;gap:5px;font-weight:600}.request-form textarea{min-height:140px}.footer{background:#102d49;color:white;padding:45px 0}.footer a{color:#bde8ea}.entry{padding:55px 0;min-height:40vh}.entry h1{color:var(--navy)}.meta{color:#5b7080;font-size:.9rem}.skip{position:absolute;top:-100px}.skip:focus{top:0;background:white;padding:10px;z-index:100}html[dir=rtl] body{text-align:right}html[dir=rtl] .hero{background:linear-gradient(240deg,#12365a,#087f91)}@media(max-width:760px){.grid{grid-template-columns:1fr}.header-inner{padding:18px 0}.hero{padding:65px 0}.nav{gap:12px}.section{padding:45px 0}}

/* v0.2: accessible bilingual switcher and refined library UI */
.eel-language-switch{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;white-space:nowrap;list-style:none;margin:0;padding:0}
.eel-language-switch a{display:inline-flex;align-items:center;padding:6px 11px;border-radius:20px;font-size:.86rem;color:#fff;text-decoration:none;line-height:1.3}
.eel-language-switch a.is-current{background:#ffffff26;font-weight:750}
.eel-language-switch a:hover,.eel-language-switch a:focus-visible{background:#ffffff35;outline-offset:3px}
.lang{border:1px solid #ffffff55;padding:3px 5px;border-radius:30px;flex-shrink:0}
.hero{background:linear-gradient(120deg,#12365a 0%,#0b5c77 60%,#087f91 100%);padding:82px 0 92px}
.hero h1{letter-spacing:-.035em;margin:26px 0;max-width:850px}
.hero-search{display:flex;align-items:stretch;gap:8px;background:white;padding:8px;border-radius:13px;max-width:780px;margin-top:34px;box-shadow:0 14px 40px #082d3940}
.hero-search input{flex:1;min-width:0;border:0;background:transparent;padding:10px 14px;font:inherit;color:#203348}
.hero-search input:focus{outline:2px solid #087f91;outline-offset:-2px;border-radius:7px}
.hero-search button{flex-shrink:0}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:24px;flex-wrap:wrap}
.section-heading h2{margin:0}.eyebrow{font-size:.78rem;letter-spacing:.11em;font-weight:800;color:#087f91;margin:0 0 8px}
.resource-card{display:flex;flex-direction:column;min-height:225px}.resource-card h3{line-height:1.4}.resource-card h3 a{text-decoration:none;color:#12365a}.resource-card p{flex:1}.card-kicker{font-size:.76rem;font-weight:800;color:#087f91;text-transform:uppercase;letter-spacing:.07em}.card-more{font-weight:750;text-decoration:none}.empty-library{grid-column:1/-1;background:white;border:1px dashed #aac2cd;padding:28px;border-radius:12px}
html[dir=rtl] .hero h1{letter-spacing:normal}html[dir=rtl] .eel-language-switch{direction:ltr}html[dir=rtl] .hero-search{direction:rtl}
@media(max-width:850px){.header-inner{justify-content:center;gap:12px}.brand{margin-inline-end:auto}.nav{order:3;width:100%;justify-content:center}.hero{padding:65px 0}.hero h1{font-size:clamp(2.3rem,7vw,3.7rem)}}
@media(max-width:520px){.header-inner{justify-content:space-between}.nav{gap:8px}.nav a{font-size:.8rem}.hero-search{flex-direction:column}.hero-search button{width:100%}.lang{padding:2px}.eel-language-switch a{padding:6px}}

/* v0.3: EMPHNET logo-derived brand palette and lighter institutional UI */
:root{--navy:#153e63;--teal:#1572b9;--aqua:#1572b9;--mist:#f3f7fb;--ink:#253746;--brand-red:#e30613}
.top{background:#fff;color:var(--ink);border-bottom:1px solid #e1e8ef;box-shadow:0 2px 12px #173d6210}
.top a{color:#153e63}
.header-inner{min-height:96px;gap:20px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex-shrink:0}
.eel-brand-logo{display:block;width:170px;max-width:34vw;height:auto}
.eel-brand-library{font-size:1.1rem;color:#1572b9;border-inline-start:2px solid #d6e1eb;padding-inline-start:12px;letter-spacing:.03em}
.nav a:hover,.nav a:focus-visible{color:#1572b9;text-decoration:underline;text-underline-offset:5px}
.lang{border:1px solid #ccdbe9;background:#f5f8fc}
.eel-language-switch a{color:#153e63}
.eel-language-switch a.is-current{background:#dcebf8;color:#104a79}
.eel-language-switch a:hover,.eel-language-switch a:focus-visible{background:#e5f1fa}
.hero,html[dir=rtl] .hero{background:linear-gradient(110deg,#f5f9fd 0%,#eaf3fa 65%,#f8fbfd 100%);color:#153e63;border-bottom:1px solid #e0eaf3}
.hero h1{color:#153e63}
.hero p{color:#40576b}
.hero .eyebrow{color:#1572b9}
.button,button[type=submit]{background:#1572b9;color:#fff}
.button:hover,button[type=submit]:hover{background:#105b95}
.button.outline{background:#fff;color:#153e63;border:1px solid #b8cadb}
.hero-search{box-shadow:0 10px 32px #153e631c;border:1px solid #dce7f1}
.section h2,.entry h1{color:#153e63}
.card{border-color:#e0e8f0;box-shadow:0 7px 24px #153e6309}
.resource-card h3 a{color:#153e63}
.card-kicker,.eyebrow,.card-more{color:#1572b9}
.footer{background:#153e63;color:#fff}
.footer a{color:#d9edff}
.eel-footer-logo{display:block;width:215px;max-width:70%;height:auto;margin-bottom:16px}
.eel-footer-label{display:block;margin-bottom:10px;font-size:1.08rem}
@media(max-width:850px){.eel-brand-logo{width:150px}.header-inner{gap:12px}}
@media(max-width:520px){.eel-brand-logo{width:125px}.eel-brand-library{font-size:.95rem;padding-inline-start:8px}.hero{padding:55px 0}}

/* EEL identity: wide supplied logo variants */
.eel-brand-logo{width:220px;max-width:40vw;height:auto}
.eel-footer-logo{width:290px;max-width:85%;height:auto}
@media(max-width:850px){.eel-brand-logo{width:175px}}
@media(max-width:520px){.eel-brand-logo{width:145px;max-width:45vw}}

/* v0.5 – unified bilingual institutional design */
:root{--navy:#163f60;--teal:#1976b9;--aqua:#1976b9;--mist:#eaf4fa;--ink:#263e52;--line:#dbe7f0;--brand-red:#e30620}
body{background:#f7f9fc;font-family:Inter,system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;font-size:16px;line-height:1.65}
h1,h2,h3{line-height:1.24;letter-spacing:-.025em}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #d61c36;outline-offset:3px}
.container{width:min(1200px,92%)}.top{position:relative;z-index:3}.header-inner{min-height:102px}.nav{gap:clamp(12px,1.7vw,25px)}.nav a{font-weight:550}.eel-brand-logo{width:245px}.lang{background:#f5f9fd}.section{padding:64px 0}.section h2{font-size:clamp(1.6rem,2.7vw,2.3rem)}.section.mist{background:#eaf4fa}.eyebrow{color:#1976b9;letter-spacing:.12em}.card{border:1px solid var(--line);box-shadow:0 10px 28px #163f6009;border-radius:16px;transition:box-shadow .18s ease,transform .18s ease}.card:hover,.eel-quick-card:hover{transform:translateY(-3px);box-shadow:0 16px 38px #163f6015}.button,button[type=submit]{background:#1976b9;color:white;border-radius:9px;padding:13px 22px;line-height:1.4}.button.outline{border:1px solid #bed3e5;background:white;color:#163f60}.button:hover,button[type=submit]:hover{background:#125c92}.button.outline:hover{background:#eaf4fa}.eel-hero{background:linear-gradient(115deg,#f0f8fd,#e3f1fa);padding:74px 0 82px;overflow:hidden}.eel-hero-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);align-items:center;gap:clamp(28px,5vw,90px)}.eel-hero h1{font-size:clamp(2.6rem,4.6vw,4.6rem);line-height:1.11;max-width:750px;color:#163f60;margin:20px 0 24px}.eel-hero-copy>.eyebrow{font-size:.82rem}.eel-lead{font-size:1.12rem;color:#48677e;max-width:720px;margin-bottom:28px}.eel-main-search{display:flex;gap:8px;background:#fff;border:1px solid #cfe0ec;padding:7px;border-radius:12px;box-shadow:0 10px 30px #163f6010;max-width:740px}.eel-main-search input{min-width:0;flex:1;border:0;padding:11px 13px;font:inherit;background:transparent}.eel-main-search button{white-space:nowrap}.eel-hero .actions{margin-top:18px}.eel-hero-art{min-height:430px;border-radius:18px;background:linear-gradient(145deg,#298dc2,#174e7a);display:grid;place-items:center;position:relative;box-shadow:0 20px 48px #163f6020}.eel-art-orbit{width:82%;height:75%;border:1px solid #ffffff33;border-radius:50%;display:grid;place-items:center}.eel-art-orbit>span{position:absolute;top:15%;right:16%;color:#dbeaf6;font-size:3rem}.eel-art-panel{border:1px solid #ffffff66;border-radius:20px;padding:32px;background:#ffffff22;backdrop-filter:blur(6px);width:83%;color:#fff;display:grid;gap:17px}.eel-art-panel small{letter-spacing:.14em;font-size:.74rem;font-weight:700}.eel-art-panel strong{font-size:clamp(1.6rem,2.8vw,2.6rem);line-height:1.15}.eel-art-panel i{display:block;background:#e30620;width:66px;height:4px;border-radius:4px}.eel-quick-section{padding-top:0;padding-bottom:18px;background:#f7f9fc}.eel-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:-27px;position:relative;z-index:1}.eel-quick-card{display:flex;flex-direction:column;gap:7px;background:white;padding:24px;border:1px solid #e0eaf2;border-radius:15px;color:#163f60;text-decoration:none;box-shadow:0 8px 28px #163f600b;transition:transform .18s,box-shadow .18s}.eel-quick-icon{width:43px;height:43px;background:#eaf4fa;color:#1976b9;border-radius:11px;display:grid;place-items:center;font-size:1.5rem;font-weight:800}.eel-quick-card h3{font-size:1.06rem;margin:6px 0 0}.eel-quick-card p{font-size:.9rem;color:#60788b;margin:0;flex:1}.eel-quick-arrow{color:#1976b9;align-self:flex-end;font-size:1.2rem}.eel-feature-grid{background:#fff;border:1px solid #e0eaf2;border-radius:18px;padding:35px;display:grid;grid-template-columns:1fr 1.1fr;align-items:center;gap:30px}.eel-feature-grid h2{margin:0 0 12px}.eel-feature-grid p:not(.eyebrow){margin:0;color:#5e7589}.eel-scholar{box-shadow:none}.eel-feature-card{display:flex;flex-direction:column;min-height:230px}.eel-feature-card h3{font-size:1.22rem;margin:12px 0}.eel-feature-card p{color:#62798b;flex:1}.eel-feature-card a,.eel-section-link{font-weight:750;text-decoration:none}.eel-feature-mark{color:#e30620;font-size:1.9rem}.section-heading{align-items:end}.section-heading h2{margin:0}.resource-card{min-height:250px}.resource-card p{color:#5c7182}.eel-info-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:32px;align-items:center}.eel-info-grid p{color:#526b80}.eel-info-panel{background:white;padding:30px;border:1px solid #dbe7f0;border-radius:16px}.eel-page-intro{background:#eaf4fa;padding:62px 0 55px;border-bottom:1px solid #dceaf3}.eel-page-intro h1{font-size:clamp(2.1rem,3.7vw,3.5rem);color:#163f60;margin:8px 0 15px}.eel-page-intro p:not(.eyebrow){max-width:760px;color:#506c80;margin:0}.eel-filter-form{padding:24px;border-radius:16px;border:1px solid #dce8f1;background:#fff}.eel-filter-form label{display:block;font-weight:750;color:#163f60;margin-bottom:10px}.eel-filter-form .searchbar{flex-wrap:nowrap}.eel-filter-form .searchbar input{border-color:#d0e0ec}.eel-result-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:32px 0 22px}.eel-result-heading h2{margin:0;font-size:1.6rem}.eel-result-heading span{color:#62798b}.eel-results-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.eel-publication-list{display:grid;gap:12px}.eel-publication-row{display:flex;align-items:center;gap:20px;padding:24px;background:white;border:1px solid #dce8f1;border-radius:14px}.eel-publication-row>div{flex:1;min-width:0}.eel-publication-row h3{font-size:1.05rem;margin:0 0 8px}.eel-publication-row h3 a{text-decoration:none;color:#163f60}.eel-publication-row p{color:#63798b;margin:0;font-size:.9rem}.eel-pdf-icon{display:grid;place-items:center;width:46px;height:54px;border-radius:7px;background:#fff0f2;color:#d61c36;font-size:.7rem;font-weight:900;flex-shrink:0}.eel-view-link{white-space:nowrap;text-decoration:none;font-weight:700}.eel-pagination{margin-top:30px}.eel-page-content{background:white;border:1px solid #e0eaf2;padding:clamp(22px,4vw,46px);border-radius:18px;max-width:950px;min-height:170px}.eel-page-content input,.eel-page-content textarea,.eel-page-content select{max-width:100%}.footer{padding:55px 0}.eel-footer-logo{width:290px}.footer small{color:#d6e5f1}html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3{letter-spacing:normal}html[dir=rtl] .eel-hero{background:linear-gradient(245deg,#f0f8fd,#e3f1fa)}html[dir=rtl] .eel-hero-art{direction:rtl}html[dir=rtl] .eel-art-orbit>span{right:auto;left:16%}html[dir=rtl] .eel-quick-arrow{transform:scaleX(-1)}
@media(max-width:1050px){.eel-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eel-hero-grid{grid-template-columns:1.3fr .7fr}.eel-hero-art{min-height:350px}.eel-brand-logo{width:190px}}
@media(max-width:760px){.eel-hero-grid,.eel-feature-grid,.eel-info-grid{grid-template-columns:1fr}.eel-hero-art{min-height:230px}.eel-art-panel{max-width:360px}.eel-hero{padding:50px 0 65px}.eel-results-grid{grid-template-columns:1fr 1fr}.eel-filter-form .searchbar{flex-wrap:wrap}.eel-filter-form .searchbar input{flex-basis:100%}.eel-publication-row{flex-wrap:wrap}.eel-publication-row>div{flex-basis:calc(100% - 70px)}.eel-view-link{margin-inline-start:66px}}
@media(max-width:520px){.eel-quick-grid,.eel-results-grid{grid-template-columns:1fr}.eel-hero h1{font-size:2.45rem}.eel-main-search{flex-direction:column}.eel-main-search button{width:100%}.eel-feature-grid{padding:23px}.eel-hero-art{display:none}.eel-quick-grid{margin-top:-15px}.eel-page-intro{padding:40px 0}.eel-brand-logo{width:145px}}

/* v0.6.2: compact header, consistent page layouts, centered member/contact forms */
.top{background:#fff;color:#173e60;border-bottom:1px solid #e1ebf2;box-shadow:0 3px 16px rgba(17,60,94,.035)}
.top a{color:#173e60}.header-inner{min-height:78px;flex-wrap:nowrap;gap:20px;padding-block:8px}.eel-brand-logo{width:190px;max-width:100%;height:auto}.nav{align-items:center;justify-content:center;gap:clamp(10px,1.35vw,22px)}.nav a{font-size:.87rem;font-weight:650;white-space:nowrap}.nav a:hover,.nav a:focus-visible{color:#087fbb}.eel-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.lang{border:1px solid #d5e4ee;background:#f4f8fc;padding:4px 8px}.eel-auth-link{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#167fbd!important;color:#fff!important;border-radius:10px;padding:10px 15px;text-decoration:none;font-weight:750;font-size:.86rem;white-space:nowrap}.eel-auth-link:hover{background:#075b90!important}.eel-auth-outline{background:#e9f3fa!important;color:#155a82!important}
.eel-page-intro{padding:29px 0 26px;background:#eaf4fa}.eel-page-intro h1{font-size:clamp(1.8rem,3vw,2.7rem);margin:3px 0 0}.eel-page-intro .eyebrow{font-size:.7rem;margin:0}.eel-page-intro + .section{padding:42px 0 64px;background:#f7f9fc}.eel-page-intro + .section .container{display:flex;justify-content:center}.eel-page-content{width:100%;max-width:960px;margin-inline:auto;min-height:0;padding:clamp(20px,3vw,38px)}.eel-page-content:has(.eel-member-panel),.eel-page-content:has(.eel-contact-panel){display:flex;justify-content:center;align-items:flex-start}.eel-page-content .eel-member-panel{margin:0 auto;width:100%;max-width:600px}.eel-page-content form input:not([type=checkbox]),.eel-page-content form textarea{font-size:1rem}
@media(max-width:1100px){.header-inner{flex-wrap:wrap;justify-content:center}.nav{order:3;width:100%;padding-bottom:8px}.eel-header-actions{margin-inline-start:auto}}
@media(max-width:760px){.header-inner{gap:10px}.eel-brand-logo{width:145px}.nav{gap:12px;overflow-x:auto;justify-content:flex-start}.eel-header-actions{gap:6px}.eel-auth-link{padding:8px 10px}.eel-page-intro{padding:25px 0}.eel-page-intro + .section{padding:24px 0 40px}.eel-page-content{padding:18px}}

/* EEL v0.7 homepage and footer */
.eel-auth-outline,.eel-auth-outline:visited,.eel-auth-outline:hover,.eel-auth-outline:focus-visible{color:#fff!important}.eel-auth-outline{background:#0a598b!important}.eel-auth-outline:hover,.eel-auth-outline:focus-visible{background:#073e68!important}
.eel-learning-grid{align-items:stretch}.eel-learning .eel-feature-card{padding:32px;min-height:310px}.eel-learning .eel-feature-card h3{font-family:inherit;font-size:1.3rem;line-height:1.3;color:#163f60}.eel-learning .eel-feature-card p{font-size:1rem;line-height:1.75}.eel-learning .eel-feature-card a{margin-top:auto;color:#1179b5}.eel-topic-icon{width:62px;height:62px;display:grid;place-items:center;border-radius:17px;background:#e8f4fc;color:#087bb9}.eel-topic-icon svg{width:34px;height:34px}
.eel-news-section{background:#f5f9fd}.eel-news-layout{display:grid;grid-template-columns:minmax(230px,.85fr) minmax(0,1.4fr);gap:38px;align-items:start}.eel-news-intro h2{margin-bottom:15px}.eel-news-intro>p:last-child{color:#536e84}.eel-news-feed{border:1px solid #dce9f3;border-radius:20px;background:#fff;min-height:175px;padding:18px 28px}.eel-news-item{display:grid;grid-template-columns:110px minmax(0,1fr) 22px;gap:18px;align-items:center;padding:20px 0;text-decoration:none;color:#173e60;border-bottom:1px solid #e3edf4}.eel-news-item:last-child{border-bottom:0}.eel-news-item time{font-size:.84rem;color:#59768c}.eel-news-item strong{font-size:1rem}.eel-news-item>span{color:#167fbd}.eel-news-item:hover strong{text-decoration:underline}.eel-news-empty{color:#5a7286;margin:35px 0}
.eel-useful-section{background:#eaf4fa;padding-top:28px}.eel-useful-wrap{border:1px solid #e0eaf2;border-radius:22px;background:#fff;padding:34px}.eel-useful-wrap h2{font-size:1.55rem;margin:0 0 22px}.eel-useful-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.eel-useful-grid a{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#eff7fc;border:1px solid #e0ecf5;border-radius:12px;padding:19px 20px;text-decoration:none;font-weight:750;color:#155e8a}.eel-useful-grid a:hover,.eel-useful-grid a:focus-visible{background:#e0f0fa;box-shadow:0 6px 18px #163f6010}.eel-useful-grid a span{flex-shrink:0}
.eel-site-footer{background:#103d60;color:#fff;padding:58px 0 25px}.eel-footer-grid{display:grid;grid-template-columns:1.65fr 1fr 1fr;gap:clamp(25px,5vw,70px)}.eel-site-footer .eel-footer-logo{width:225px;max-width:100%;height:auto}.eel-footer-about p{max-width:370px;color:#d6e6f0;font-size:.95rem;line-height:1.8}.eel-footer-grid nav{display:flex;flex-direction:column;gap:11px}.eel-footer-grid h3{color:#fff;font-size:1.02rem;margin:0 0 8px}.eel-site-footer a{color:#dceef8;text-decoration:none}.eel-site-footer a:hover,.eel-site-footer a:focus-visible{color:#fff;text-decoration:underline}.eel-footer-bottom{border-top:1px solid #ffffff30;margin-top:42px;padding-top:20px;display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;font-size:.82rem;color:#d6e6f0}.eel-footer-bottom small{color:inherit;font-size:inherit}
@media(max-width:900px){.eel-news-layout{grid-template-columns:1fr}.eel-footer-grid{grid-template-columns:1fr 1fr}.eel-footer-about{grid-column:1/-1}}
@media(max-width:760px){.eel-learning .eel-feature-card{min-height:0}.eel-useful-grid{grid-template-columns:1fr}.eel-news-item{grid-template-columns:1fr 20px;gap:5px}.eel-news-item time{grid-column:1/-1}.eel-footer-grid{grid-template-columns:1fr}.eel-footer-about{grid-column:auto}.eel-useful-wrap{padding:24px}}

/* v0.7.1 — Resources cards and accessible description dialogs */
.eel-resource-section{background:#eaf4fa}.eel-resource-section .container{display:block!important}
.eel-resource-card{padding:0;overflow:hidden;cursor:pointer;min-height:345px;display:flex;flex-direction:column}
.eel-resource-card:focus-visible{outline:3px solid #1976b9;outline-offset:3px}
.eel-resource-logo{height:135px;background:#f4f9fc;display:grid;place-items:center;border-bottom:1px solid #e0eaf2;padding:16px}
.eel-resource-logo img{width:auto;max-width:100%;max-height:105px;object-fit:contain}
.eel-resource-logo span{font-size:2.6rem}
.eel-resource-card-body{padding:20px;display:flex;flex-direction:column;flex:1;min-width:0}
.eel-resource-meta{display:flex;justify-content:space-between;gap:10px;color:#0874b8;font-size:.75rem;font-weight:750;text-transform:uppercase;letter-spacing:.04em}
.eel-resource-card h3{font-size:1.08rem;line-height:1.4;margin:16px 0 24px;color:#163f60;overflow-wrap:anywhere;flex:1}
.eel-resource-card-actions{border-top:1px solid #dce8f1;padding-top:16px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.eel-description-button{background:#fff;border:1px solid #1976b9;color:#12659c;border-radius:8px;padding:9px 12px;font:inherit;font-size:.76rem;font-weight:800;cursor:pointer}
.eel-description-button:hover,.eel-description-button:focus-visible{background:#eaf4fa}
.eel-resource-card .card-more{font-size:.86rem;white-space:nowrap;color:#1976b9}
.eel-resource-modal[hidden]{display:none!important}
.eel-resource-modal{position:fixed;inset:0;z-index:99999;background:#102b44ad;display:flex;justify-content:center;align-items:center;padding:20px}
.eel-resource-modal-panel{background:#fff;border-radius:18px;width:min(820px,100%);max-height:min(85vh,800px);overflow:auto;box-shadow:0 25px 90px #061b3050}
.eel-resource-modal-header{padding:22px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #dce8f1}
.eel-resource-modal-header h2{font-size:clamp(1.2rem,2.5vw,1.7rem);margin:0;color:#163f60}
.eel-modal-close{width:45px;height:45px;flex:0 0 45px;border:0;border-radius:50%;background:#1976b9;color:#fff;font-size:2rem;line-height:1;cursor:pointer}
.eel-modal-close:hover,.eel-modal-close:focus-visible{background:#125c92}
.eel-resource-modal-content{padding:24px 28px;color:#425e76;font-size:1.04rem;line-height:1.9;overflow-wrap:anywhere}
.eel-resource-modal-content p{margin:0 0 20px}.eel-resource-modal-content p:last-child{margin-bottom:0}
body.eel-modal-open{overflow:hidden}
@media(max-width:520px){.eel-resource-card{min-height:300px}.eel-resource-modal-header,.eel-resource-modal-content{padding:18px}.eel-resource-card-actions{flex-wrap:wrap}}

/* v0.8 Unified EEL Next resource catalogue */
.eel-unified-section{background:#e3f1f9}.eel-unified-filter{padding:25px;background:#f7fbfe;border-radius:20px;margin-bottom:26px}.eel-unified-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.eel-unified-filter-grid label{display:grid;gap:7px;font-weight:700;font-size:.92rem}.eel-unified-filter-grid .eel-filter-search{grid-column:span 2}.eel-unified-filter-grid input,.eel-unified-filter-grid select{width:100%;padding:13px;border:1px solid #d2e4ef;background:#fff;border-radius:10px;font:inherit;min-width:0}.eel-unified-filter-actions{display:flex;gap:10px;margin-top:16px;align-items:center}.eel-unified-filter-actions .button.outline{border:1px solid #c6ddea}.eel-unified-section .eel-resource-card{cursor:pointer;min-height:360px;padding:0;overflow:hidden;transition:transform .2s,box-shadow .2s}.eel-unified-section .eel-resource-card:hover{transform:translateY(-3px);box-shadow:0 12px 32px #12365a20}.eel-unified-section .eel-resource-logo{height:155px;display:flex;align-items:center;justify-content:center;background:#f4f9fc;padding:16px}.eel-unified-section .eel-resource-logo img{max-width:100%;max-height:120px;object-fit:contain}.eel-unified-section .eel-resource-card-body{padding:20px;display:flex;flex:1;flex-direction:column;gap:12px}.eel-unified-section .eel-resource-card-body h3{font-size:1.08rem;margin:0;color:#143b5d;line-height:1.45}.eel-unified-section .eel-resource-meta{display:flex;justify-content:space-between;gap:10px;color:#0874ac;font-size:.72rem;font-weight:750;text-transform:uppercase;letter-spacing:.04em}.eel-unified-section .eel-resource-card-actions{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:15px;border-top:1px solid #dbe8ef}.eel-unified-section .eel-description-button{padding:8px 10px;border:1px solid #087cba;background:#f1f9ff;border-radius:7px;color:#00669e;font-weight:700;cursor:pointer;font-size:.78rem}.eel-unified-section .card-more{font-size:.83rem}.eel-unified-pages{display:flex;gap:8px;margin-top:25px}.eel-unified-pages a{padding:8px 14px;border-radius:8px;background:white}.eel-unified-pages a[aria-current]{background:#0a79b5;color:white}.eel-resource-modal[hidden]{display:none!important}.eel-resource-modal{position:fixed;inset:0;z-index:99999;background:#122c429c;display:flex;align-items:center;justify-content:center;padding:22px}.eel-resource-modal-panel{width:min(760px,100%);max-height:85vh;overflow:auto;background:#fff;border-radius:18px;box-shadow:0 25px 75px #0004}.eel-resource-modal-header{padding:24px 28px;border-bottom:1px solid #dbe7ee;display:flex;justify-content:space-between;gap:20px;align-items:center}.eel-resource-modal-header h2{font-size:1.5rem;margin:0}.eel-modal-close{background:#0879b6!important;color:white!important;border:0;border-radius:50%;width:44px;height:44px;padding:0!important;font-size:2rem;line-height:1}.eel-resource-modal-content{padding:26px 28px;line-height:1.9;white-space:pre-line}.eel-modal-open{overflow:hidden}@media(max-width:720px){.eel-unified-filter-grid{grid-template-columns:1fr}.eel-unified-filter-grid .eel-filter-search{grid-column:auto}.eel-unified-section .eel-resource-card{min-height:320px}}
