/* Public masthead and navigation, using the NOOS journal palette. */
.ims-site .masthead .ims-brand-with-logo{display:flex;align-items:center;gap:18px}
.ims-site .ims-journal-logo{display:block;width:68px;height:68px;flex:0 0 68px;object-fit:contain;background:#fff;border-radius:5px}
.ims-site .ims-brand-text{display:block;min-width:0}
.ims-site .masthead-tools{flex:0 0 270px;display:flex;flex-direction:column;align-items:flex-end;gap:12px;min-width:0}
.ims-site .masthead-account{display:flex;justify-content:flex-end;align-items:center;gap:22px;font-size:14px;line-height:1.5;margin-left:auto}
.ims-site .ims-join-menu{position:relative}.ims-site .ims-join-menu summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;white-space:nowrap}.ims-site .ims-join-menu summary::-webkit-details-marker{display:none}.ims-site .ims-join-menu summary svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}.ims-site .ims-join-menu[open] summary svg{transform:rotate(180deg)}
.ims-site .ims-join-dropdown{position:absolute;top:calc(100% + 12px);left:0;z-index:30;min-width:210px;margin:0;padding:7px;list-style:none;background:var(--navy);border:1px solid #4b5e73;border-radius:4px;box-shadow:0 8px 24px rgba(0,0,0,.18)}.ims-site .ims-join-dropdown a{display:block;padding:10px 12px;font-size:14px;color:var(--on-navy)}.ims-site .ims-join-dropdown a:hover,.ims-site .ims-join-dropdown a:focus-visible{background:#1b416c;color:var(--accent-light)}
.ims-site .ims-global-search{display:flex;align-items:stretch;width:100%;margin:0;background:#fff;border:1px solid #cddae6;border-radius:4px;overflow:hidden}
.ims-site .ims-global-search input{flex:1;min-width:0;width:100%;border:0;padding:10px 12px;background:#fff;color:var(--ink);font-size:14px;line-height:1.5;border-radius:0}
.ims-site .ims-global-search input::placeholder{color:var(--muted);opacity:1}
.ims-site .ims-global-search button{flex:0 0 auto;display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-left:1px solid #cddae6;background:#eaf1f8;color:var(--navy);padding:9px 12px;font-size:13px;line-height:1.5;font-weight:600}
.ims-site .ims-global-search button:hover{background:#dceaf2}
.ims-site .ims-global-search svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0}
.ims-site .ims-global-search:focus-within{outline:3px solid var(--accent-light);outline-offset:3px}
.ims-site .ims-global-search input:focus{outline:none;box-shadow:none}
.ims-site .ims-footer-meta{display:flex;flex-direction:column;align-items:flex-end;gap:4px;text-align:right}
.ims-site .ims-issn-placeholder{font-variant-numeric:tabular-nums;letter-spacing:.4px}
@media(max-width:1000px){.ims-site .masthead-tools{flex-basis:240px}.ims-site .nav-links{gap:16px}}
@media(max-width:720px){.ims-site .masthead{flex-wrap:wrap}.ims-site .masthead .brand{flex-basis:100%}.ims-site .masthead-tools{flex:1 1 100%;flex-direction:row;align-items:center;gap:18px}.ims-site .masthead-tools .mast-note{max-width:none;font-size:10px;padding-top:0}.ims-site .ims-global-search{max-width:340px;flex:1;min-width:0}.ims-site .ims-global-search input{padding:9px 10px}.ims-site .ims-footer-meta{align-items:flex-start;text-align:left}.ims-site .nav-actions{flex-wrap:wrap;row-gap:10px}}
@media(max-width:390px){.ims-site .masthead-tools{flex-wrap:wrap;gap:10px}.ims-site .ims-global-search{max-width:none;flex-basis:100%}}
@media(max-width:720px){.ims-site .masthead .ims-brand-with-logo{gap:12px}.ims-site .ims-journal-logo{width:48px;height:48px;flex-basis:48px}}
.ims-site .hero-art.ims-cover-hero{width:100%;height:auto;max-width:400px;aspect-ratio:1200/1698;justify-self:center;background:transparent;box-shadow:0 12px 36px rgba(16,43,80,.14)}
.ims-site .ims-cover-hero img{display:block;width:100%;height:100%;object-fit:contain}
.ims-site .ims-issue-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
.ims-site .ims-issue-card{min-width:0;background:white;border:1px solid var(--line);border-radius:5px;overflow:hidden}
.ims-site .ims-issue-link{display:block;height:100%}
.ims-site .ims-issue-link>img{display:block;width:100%;height:auto;aspect-ratio:1200/1698;object-fit:contain;background:var(--navy)}
.ims-site .ims-issue-details{padding:22px}.ims-site .ims-issue-details h2{font-size:28px;line-height:1.2;margin:0 0 10px}.ims-site .ims-issue-details p{font-size:14px;color:var(--muted);margin:0 0 14px}.ims-site .ims-issue-details span{font-size:14px;color:var(--accent);font-weight:600}
.ims-site .ims-issue-decade{font-size:36px;margin:28px 0 22px}.ims-site .ims-issue-decade:first-child{margin-top:0}
.ims-site .ims-issue-empty{grid-column:1/-1;display:flex;gap:38px;align-items:center;background:white;border:1px solid var(--line);padding:32px}.ims-site .ims-issue-empty>img{width:210px;height:auto;flex:0 0 210px}.ims-site .ims-issue-empty h2{font-size:36px}.ims-site .ims-issue-empty p{color:var(--muted);margin:18px 0 24px}
@media(max-width:1000px){.ims-site .ims-issue-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}}
@media(max-width:720px){.ims-site .hero-art.ims-cover-hero{width:min(100%,360px);height:auto}.ims-site .ims-issue-grid{grid-template-columns:1fr}.ims-site .ims-issue-empty{flex-direction:column;align-items:flex-start;gap:24px;padding:24px}.ims-site .ims-issue-empty>img{width:180px;flex-basis:auto}}
.ims-site .footer-bottom{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.ims-site .ims-footer-copyright{grid-column:2;text-align:center;line-height:1.6}
.ims-site .ims-copyright-separator{padding:0 .35em}
.ims-site .footer-bottom .ims-footer-meta{grid-column:3;justify-self:end;align-items:flex-end;text-align:right}
@media(max-width:720px){.ims-site .footer-bottom{grid-template-columns:1fr;gap:14px}.ims-site .ims-footer-copyright{grid-column:1}.ims-site .footer-bottom .ims-footer-meta{grid-column:1;justify-self:end}}

/* Compact footer links; journal identity remains in the centred copyright. */
.ims-site .footer-inner{display:block}.ims-site .footer-inner .footer-links{flex-direction:row;flex-wrap:wrap;justify-content:center;gap:12px 28px}
