/*
Theme Name: SLICES-GR
Description: The Greek node of the SLICES Research Infrastructure.
Version: 1.0.0
Requires PHP: 8.3
Text Domain: slices-gr
*/
:root{--ink:#102e52;--muted:#52677c;--blue:#0755b6;--cyan:#009abe;--pale:#edf6fc;--line:#d9e5ef;--white:#fff;--radius:14px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--ink);font:17px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#fff}a{color:var(--blue);text-underline-offset:5px}a:hover{color:#007eaa}img{max-width:100%;height:auto}button{font:inherit}h1,h2,h3{line-height:1.14;letter-spacing:-.035em;font-weight:650;margin:0 0 22px}h1{font-size:clamp(40px,4.4vw,66px)}h2{font-size:clamp(30px,3vw,42px)}h3{font-size:25px}p{margin:0 0 22px}.wrap{width:min(1240px,calc(100% - 80px));margin-inline:auto}.institutional{background:#082e58;color:#e3f2ff;font-size:12px;letter-spacing:.035em;padding:9px 0}.institutional .wrap{display:flex;justify-content:space-between}.site-header{background:white;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;min-height:108px;gap:36px}.brand{display:block;flex-shrink:0}.brand img{display:block;width:250px}.site-header ul{display:flex;align-items:center;gap:28px;list-style:none;padding:0;margin:0}.site-header a{text-decoration:none}.site-header li a{font-size:14px;font-weight:600;color:var(--ink)}.site-header li.current-menu-item a{color:var(--blue)}.menu-toggle{display:none}.hero{background:linear-gradient(115deg,#f5faff 0%,#eaf5fc 100%);padding:76px 0 0;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:54px}.eyebrow{color:#007e9c;font-size:11px;letter-spacing:.13em;text-transform:uppercase;font-weight:750;margin-bottom:21px;display:block}.hero h1 em{font-style:normal;color:var(--blue)}.hero-intro{max-width:510px;color:var(--muted);font-size:19px;line-height:1.65;margin:28px 0}.actions{display:flex;gap:12px;flex-wrap:wrap}.button{display:inline-flex;gap:18px;justify-content:center;align-items:center;background:var(--blue);color:white;padding:14px 20px;border:1px solid var(--blue);border-radius:6px;text-decoration:none;font-size:14px;font-weight:650}.button:hover{background:#06458d;color:white}.button.secondary{background:transparent;color:var(--ink);border-color:#b5c9dc}.hero-note{font-size:12px;color:var(--muted);margin-top:20px}.hero-image{margin:0;position:relative;background:white;padding:12px 12px 0;border-radius:var(--radius);box-shadow:0 22px 60px #0d42791a;transform:rotate(-1deg)}.hero-image img{display:block;width:100%;height:auto;aspect-ratio:auto;object-fit:contain;object-position:center}.hero-image figcaption{font-size:12px;padding:17px;color:var(--muted);display:flex;align-items:center;gap:10px}.image-dot{background:var(--cyan);width:7px;height:7px;border-radius:50%}.research-strip{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #cfdfec;margin-top:60px;padding:24px 0;font-size:13px;color:#4a6781}.research-strip span:before{content:'+';color:var(--cyan);margin-right:14px}.section{padding-block:88px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:28px}.section-heading h2{margin-bottom:0;max-width:680px}.section-heading .text-link{flex-shrink:0}.section-intro{max-width:760px;color:var(--muted);margin-bottom:36px}.text-link{font-size:14px;font-weight:650;text-decoration:none}.service-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.service-card{border:1px solid var(--line);padding:36px;border-radius:var(--radius);background:white;box-shadow:0 6px 18px #092f5005}.service-card h3{font-size:28px}.service-card p{color:var(--muted);max-width:480px}.service-card .eyebrow{margin-bottom:18px}.research-section{background:#0b325c;padding:80px 0;color:white}.research-section .eyebrow{color:#7ed9ef}.research-section .text-link{color:#afdef9}.research-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:34px;margin-top:52px}.research-grid article{border-top:1px solid #456381;padding-top:25px}.number{font-size:13px;color:#71cfea;display:block;margin-bottom:30px}.research-grid h3{font-size:23px;min-height:55px}.research-grid p{font-size:15px;color:#c6d7e5;line-height:1.8;margin-bottom:0}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}.news-card{border-top:2px solid var(--line);padding-top:26px}.news-card time{font-size:12px;color:var(--muted);display:block;margin-bottom:16px}.news-card h3,.news-card h2{font-size:25px}.news-card h3 a,.news-card h2 a{color:var(--ink);text-decoration:none}.news-card p{font-size:15px;color:var(--muted)}.news-card img{aspect-ratio:1.7;object-fit:cover;margin-bottom:20px}.news-empty{grid-column:1/-1;background:#f4f8fc;border:1px solid var(--line);border-radius:var(--radius);padding:38px}.news-empty p{margin-bottom:0;color:var(--muted)}.about-band{background:#edf6fc;padding:65px 0}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.about-grid p{color:var(--muted)}.about-grid .eyebrow{color:#007e9c}.about-grid h2{margin:0}.site-footer{padding-top:58px;background:#fff}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:70px;padding-bottom:44px}.footer-grid img{display:block;margin-bottom:20px}.footer-grid p{font-size:12px;color:var(--muted)}.footer-grid h2{font-size:15px;letter-spacing:0}.footer-grid a{display:block;font-size:13px;color:var(--muted);text-decoration:none;margin:9px 0}.footer-bottom{border-top:1px solid var(--line);padding-block:23px;font-size:11px;color:var(--muted);display:flex;justify-content:space-between}.document{min-height:55vh}.document>article{max-width:920px}.document h1{margin-bottom:40px}.entry-content h2{font-size:30px;margin-top:44px}.entry-content h3{margin-top:32px}.entry-content p,.entry-content li{color:var(--muted)}.entry-content .service-grid{margin-block:32px}.entry-content a{overflow-wrap:anywhere}.entry-content figure{margin:35px 0}.entry-content img{border-radius:12px}.entry-content blockquote{border-left:3px solid var(--cyan);padding:10px 25px;background:var(--pale);margin:30px 0}.entry-content blockquote p{margin:0;font-size:14px}.skip-link{position:absolute;left:12px;top:-100px;background:white;padding:12px;z-index:100}.skip-link:focus{top:12px}:focus-visible{outline:3px solid #009abe;outline-offset:5px}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.hero{padding-top:100px}.hero-grid{gap:80px}}
@media(max-width:1000px){.wrap{width:calc(100% - 48px)}.header-inner{gap:20px}.brand img{width:200px}.site-header ul{gap:15px}.site-header li a{font-size:12px}.hero-grid{gap:30px}.hero h1{font-size:45px}.research-grid{grid-template-columns:repeat(2,1fr)}.research-grid h3{min-height:0}.footer-grid{gap:35px}.actions{gap:10px}.button{font-size:12px;padding:13px}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.institutional span{display:none}.header-inner{min-height:90px;flex-wrap:wrap;gap:0;padding-block:20px}.menu-toggle{display:flex;gap:15px;border:1px solid var(--line);background:white;border-radius:5px;padding:6px 12px;font-size:14px;color:var(--ink)}#main-navigation{display:none;width:100%;padding-top:22px}#main-navigation.is-open{display:block}.site-header ul{display:flex;flex-direction:column;align-items:stretch;gap:0}.site-header li a{display:block;font-size:16px;padding:10px 0}.hero{padding-top:45px}.hero-grid{grid-template-columns:1fr;gap:24px}.hero h1{font-size:clamp(38px,9vw,57px)}.hero-intro{font-size:17px}.hero-image{transform:none;max-width:560px}.research-strip{display:grid;grid-template-columns:1fr 1fr;margin-top:35px;font-size:11px;gap:14px}.section{padding-block:55px}.section-heading{display:block}.section-heading .text-link{display:inline-block;margin-top:20px}.service-grid,.news-grid,.about-grid{grid-template-columns:1fr}.service-card{padding:28px}.research-section{padding:55px 0}.research-grid{gap:25px}.research-grid h3{font-size:21px}.research-grid p{font-size:14px}.about-grid{gap:25px}.about-band{padding:45px 0}.footer-grid{grid-template-columns:1fr 1fr;gap:20px}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:8px}.document h1{font-size:40px}.eyebrow{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.offering-card{border:1px solid var(--line);border-radius:var(--radius);padding:30px;margin:30px 0;background:#f8fbfe}.entry-content .offering-card h3{margin-top:0}.offering-card .wp-block-column{min-width:0}.offering-vm-photo img{display:block;max-height:255px;width:auto;margin:auto}.offering-photos img{height:210px;object-fit:contain;width:100%;background:white}.entry-content .offering-card figcaption{font-size:12px;color:var(--muted);line-height:1.6;margin-top:10px}.offering-ptp-photo img{display:block;width:100%;height:auto}.entry-content .offering-card pre{font-size:13px;padding:18px}
@media(max-width:760px){.offering-card{padding:22px}.offering-photos img{height:220px}}
.workflow>div{min-width:0}
.documentation-band{background:var(--pale);padding:60px 0}.documentation-band>div>p{color:var(--muted)}.documentation-paths{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;margin-top:30px}.documentation-paths>a{display:flex;flex-direction:column;gap:12px;text-decoration:none;color:var(--ink);border-top:1px solid #b8ccde;padding:22px 0}.documentation-paths strong{font-size:21px}.documentation-paths span{font-size:13px;color:var(--muted)}.documentation-paths span:first-child{color:#007e9c;font-weight:700}.account-step{padding:32px;background:var(--pale);border:1px solid var(--line);border-radius:var(--radius);margin:35px 0 55px}.entry-content .account-step h2{margin-top:0}.account-step .actions{align-items:center;gap:25px}.access-options{scroll-margin-top:25px}.workflow{display:grid;grid-template-columns:55px 1fr;gap:20px;border-top:1px solid var(--line);padding:35px 0}.workflow-number{font-size:24px;font-weight:650;color:#007e9c}.entry-content .workflow h3{margin-top:0}.entry-content pre{padding:22px;background:#0b325c;color:#e5f5ff;overflow:auto;border-radius:8px;font-size:14px;line-height:1.8}.entry-content code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.documentation-help{border-top:1px solid var(--line);padding-top:15px}.documentation-help .actions{gap:30px}
@media(max-width:760px){.documentation-paths{grid-template-columns:1fr;gap:5px}.documentation-band{padding:45px 0}.account-step{padding:25px}.workflow{grid-template-columns:32px 1fr;gap:13px}.workflow-number{font-size:20px}.entry-content pre{font-size:12px;padding:15px}}
.affiliations{border-block:1px solid var(--line);padding:42px 0;background:#f8fbfe}.affiliations .eyebrow{text-align:center;margin-bottom:28px}.affiliation-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:36px;align-items:start}.affiliation{text-align:center;text-decoration:none;color:var(--muted);font-size:12px;line-height:1.5;display:grid;gap:15px}.affiliation-image{height:110px;display:flex;align-items:center;justify-content:center;padding:14px 24px;border-radius:8px;background:white}.affiliation-image img{max-width:100%;max-height:88px;width:auto;height:auto;object-fit:contain}.affiliation-image.ri-logo{background:var(--ink)}.affiliation-image.ri-logo img{max-width:225px;width:100%}.team-grid{margin-top:42px}.person-card{display:grid;grid-template-columns:260px 1fr;overflow:hidden;border:1px solid var(--line);border-radius:var(--radius);background:#f5f9fd}.person-card>img{width:100%;height:100%;min-height:340px;object-fit:cover;object-position:center top;display:block;border-radius:0}.person-details{padding:34px}.person-details h2{margin-top:0;font-size:32px}.person-details .eyebrow{margin-bottom:14px}.person-details .person-affiliation{font-size:14px;line-height:1.6;color:#355979}.person-details p{font-size:16px}.contact-channels{margin-top:45px}.contact-channels .text-link{display:inline-block;margin-left:22px}.entry-content .person-card img{border-radius:0}
@media(max-width:760px){.affiliation-grid{gap:20px;grid-template-columns:1fr}.affiliation{max-width:350px;width:100%;margin:auto}.affiliation-image{height:105px}.person-card{grid-template-columns:1fr}.person-card>img{height:390px;min-height:0;object-fit:contain;background:#e8eef3}.person-details{padding:25px}.person-details h2{font-size:29px}.contact-channels .text-link{display:block;margin:20px 0 0}}
.sgr-site-notice{position:fixed;right:20px;bottom:20px;z-index:1000;width:min(610px,calc(100% - 40px));background:white;border:1px solid var(--line);border-top:4px solid var(--cyan);border-radius:12px;padding:22px;box-shadow:0 10px 45px #102e5230}.sgr-site-notice h2{font-size:22px;margin:0 0 10px}.sgr-site-notice p{font-size:14px;line-height:1.6;margin:0;color:var(--muted)}.sgr-notice-actions{display:flex;align-items:center;flex-wrap:wrap;gap:20px;margin-top:16px}.sgr-notice-actions form{margin:0}.sgr-notice-actions .button{cursor:pointer;padding:10px 24px}.sgr-notice-actions a{font-size:13px;font-weight:600}.sgr-site-notice[hidden]{display:none!important}
@media(max-width:600px){.sgr-site-notice{left:12px;right:12px;bottom:12px;width:auto;padding:18px}.sgr-site-notice h2{font-size:20px}.sgr-site-notice p{font-size:13px}.sgr-notice-actions{gap:16px}}

/* European infrastructure introduction */
.slices-introduction{display:grid;grid-template-columns:minmax(220px,.7fr) minmax(0,1.5fr);align-items:center;gap:64px;border-bottom:1px solid var(--line)}
.slices-ri-mark{background:#102e52;border:1px solid #102e52;border-radius:var(--radius);padding:40px 28px;text-align:center}
.slices-ri-mark img{display:block;width:100%;height:auto;max-height:160px;object-fit:contain;margin:0 auto 26px}
.slices-ri-mark p{color:#ffffff;font-size:clamp(19px,1.6vw,23px);line-height:1.55;font-weight:500;margin:0}
.slices-introduction>div:not(.slices-ri-mark)>p:not(.eyebrow){color:var(--muted)}
@media(min-width:901px){.site-header ul{gap:19px}.header-inner{gap:24px}}
@media(max-width:900px){.slices-introduction{grid-template-columns:1fr;gap:32px}.slices-ri-mark{max-width:420px;width:100%;margin-inline:auto}}
.sgr-notice-actions form{display:flex;flex-wrap:wrap;gap:10px}.sgr-notice-actions .button.secondary{background:#fff;color:var(--ink);border-color:var(--blue)}

.service-start{grid-column:1/-1;background:var(--pale);display:flex;align-items:center;justify-content:space-between;gap:32px}.service-start h3{margin-bottom:15px}.service-start p{max-width:760px;margin-bottom:0}.service-start .button{flex-shrink:0}
@media(max-width:760px){.service-start{flex-direction:column;align-items:flex-start;gap:22px}}
