.site-search-button{font:inherit;color:inherit;background:none;border:0;padding:10px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;flex-shrink:0}.site-search-button svg{display:block;width:20px;height:20px}.site-search-button:hover{color:#c6a45a}
.post-search-dialog{box-sizing:border-box;width:min(760px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid #dce4eb;padding:32px;color:#183650;background:#fff;box-shadow:0 20px 80px #06284b33}
.post-search-dialog::backdrop{background:#06284bb3}
.post-search-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.post-search-heading h2{font-size:28px;margin:0}
.post-search-dialog button,.post-pagination button{font:inherit;font-size:15px;font-weight:700;background:#fff;color:#004483;border:1px solid #b9cad9;padding:10px 18px;cursor:pointer;min-height:44px}
.post-search-form{margin:28px 0 16px}.post-search-form label,.library-search{display:block;font-size:15px;font-weight:700}.post-search-form>div{display:flex;gap:10px;margin-top:8px}
.post-search-form input,.library-search input{box-sizing:border-box;min-width:0;width:100%;font:inherit;font-weight:400;border:1px solid #b9cad9;padding:12px;background:#fff;color:#183650;border-radius:0}
.post-search-status{font-size:15px;color:#607386}.post-search-results article{padding:20px 0;border-bottom:1px solid #dce4eb}.post-search-results h3{font-size:21px;line-height:1.5;margin:4px 0}.post-search-results a{color:#183650}.post-search-results p{font-size:14px;margin:0}
.post-pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin:32px 0;grid-column:1/-1}.post-pagination[hidden]{display:none}.post-pagination button:disabled{opacity:.4;cursor:default}.post-pagination span{font-size:15px}
.library-search{margin:12px 0 20px}.library-search input{margin-top:8px}.library-search [role=status]{display:block;font-weight:400;font-size:13px;margin-top:6px}
.post-search-dialog :focus-visible,.post-pagination button:focus-visible,.site-search-button:focus-visible{outline:3px solid #c6a45a;outline-offset:3px}
@media(max-width:680px){.post-search-dialog{padding:22px}.post-search-heading h2{font-size:23px}.post-search-form>div{gap:8px}.post-pagination{gap:12px}.post-pagination button{padding:10px 14px}.site-search-button{font-size:15px}}

/* Photo previews and long source credits must fit narrow screens. */
.reading-body figcaption{overflow-wrap:anywhere;word-break:normal;max-width:100%}.reading-body p{overflow-wrap:anywhere}.reading-body figure{min-width:0;max-width:100%}.post-card-cover{display:block;margin:0 0 24px;overflow:hidden}.post-card-cover[hidden]{display:none}.post-card-cover img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}.cms-card{min-width:0}

@media(min-width:900px){.post-card-cover img{height:190px;aspect-ratio:auto}.home-page .post-card-cover img{height:180px}.home-page .home-cover{max-height:200px;aspect-ratio:16/9}body:not(.home-page) #activities-list .post-card-cover,body:not(.home-page) #reviews-list .post-card-cover,body:not(.home-page) #commentary-list .post-card-cover{float:left;width:280px;max-width:32%;margin:0 28px 12px 0}#activities-list .cms-card::after,#reviews-list .cms-card::after,#commentary-list .cms-card::after{content:'';display:block;clear:both}.reading-body img{width:auto;max-width:100%;max-height:420px;object-fit:contain;margin-inline:auto}}

/* Grid cards keep the photograph above the full-width title. */
.home-page .home-notice-grid .post-card-cover{float:none;width:100%;max-width:none;margin:0 0 20px}
.home-page .home-notice-grid .post-card-cover img{width:100%;height:180px;aspect-ratio:auto;object-fit:cover}
.home-page .home-notice-grid .cms-card h3{overflow-wrap:normal;word-break:normal}
.home-page .home-notice-grid .byline{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
@media(min-width:681px) and (max-width:1050px){.home-page .home-notice-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Direct navigation search: magnifier followed by an underlined input. */
.site-search{display:flex;align-items:center;gap:2px;margin:0;color:inherit;flex:0 0 154px}
.site-search input{display:block;width:110px;min-width:0;min-height:38px;border:0;border-bottom:1px solid currentColor;border-radius:0;background:transparent;color:inherit;font:inherit;padding:6px 2px;outline-offset:4px}
.site-search input:focus-visible{outline:2px solid #c6a45a}
@media(min-width:901px){.site-header .header-inner{width:min(1440px,calc(100% - 64px));gap:22px}.site-header .primary-nav{gap:16px}}
@media(max-width:900px){
  .site-header .header-inner,.home-page .site-header .header-inner{position:static}
  .site-header .brand{min-width:0;margin-right:auto}
  .site-header .brand-name{min-width:0}
  .site-header .brand-break{display:block}
  .site-header .menu-toggle{display:flex;flex-direction:column;gap:5px;padding:10px;flex-shrink:0}
  .site-header .menu-toggle span:not(.sr-only){width:22px;height:1px;background:currentColor}
  .site-header .primary-nav,.home-page .site-header .primary-nav{display:none;position:absolute;left:0;right:0;top:100%;width:100%;max-height:calc(100dvh - var(--masthead-height,88px));overflow-y:auto;padding:12px max(18px,calc((100vw - 1160px)/2)) 24px;flex-direction:column;align-items:stretch;gap:0;border-top:1px solid #ffffff26}
  .site-header .primary-nav.open,.home-page .site-header .primary-nav.open{display:flex}
  .site-header .primary-nav a:not(.nav-contact){padding:11px 0;border-bottom:1px solid #dce4eb;font-size:15px}
  .home-page .site-header .primary-nav{background:#06284b;color:#fff}
  .home-page .site-header .primary-nav a:not(.nav-contact){color:#fff;border-color:#ffffff26}
  .site-header .primary-nav a[aria-current="page"]:after{display:none}
  .site-header .primary-nav .site-search{flex:0 0 auto;width:100%;padding:12px 0}
  .site-header .primary-nav .site-search input{width:auto;flex:1;min-height:44px}
  .site-header .primary-nav .language-switch{margin:14px 0 0;align-self:flex-start}
}

/* Desktop navigation stays in the header; only small screens use the menu. */
@media(min-width:901px){
.site-header .header-inner,.home-page .site-header .header-inner{width:min(1440px,calc(100% - 48px));height:auto;min-height:88px;padding-block:16px;gap:18px;position:static}
.site-header .menu-toggle,.home-page .site-header .menu-toggle{display:none}
.site-header .brand,.home-page .site-header .brand{flex:0 1 350px;min-width:0;margin-right:auto}
.site-header .brand-break{display:block}
.site-header .brand-name strong{font-size:13px}
.site-header .primary-nav,.home-page .site-header .primary-nav{display:flex;position:static;width:auto;max-height:none;overflow:visible;flex-direction:row;align-items:center;gap:14px;padding:0;border:0;background:transparent;font-size:12px}
.site-header .primary-nav a:not(.nav-contact),.home-page .site-header .primary-nav a:not(.nav-contact){padding:0;border:0;font-size:12px;white-space:nowrap}
.site-header .language-switch,.home-page .site-header .language-switch{margin-left:0;flex-shrink:0}
.site-header .primary-nav .site-search{flex:0 0 144px;width:144px;padding:0}
.site-header .primary-nav .site-search input{width:100px;min-height:38px;flex:none}
}
@media(min-width:901px) and (max-width:1250px){
.site-header .header-inner,.home-page .site-header .header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px}
.site-header .brand{grid-column:1;grid-row:1}
.site-header .language-switch{grid-column:2;grid-row:1}
.site-header .primary-nav,.home-page .site-header .primary-nav{grid-column:1 / -1;grid-row:2;justify-content:space-between;gap:12px}
}

/* Empty-field hint sits over the underline and clears when typing. */
.site-header .primary-nav .site-search{position:relative;gap:0}
.site-header .primary-nav .site-search input{box-sizing:border-box;width:100%;flex:1;padding:6px 8px 6px 35px}
.site-search-hint{position:absolute;inset:0;display:flex;align-items:center;gap:9px;padding:0 8px;pointer-events:none;color:inherit;font:inherit}
.site-search-hint svg{display:block;width:18px;height:18px;flex-shrink:0}
.site-search-hint span{opacity:.5}
.site-search.has-query .site-search-hint span{display:none}
@media(max-width:900px){.site-search-hint{inset:12px 0}}

/* Match the desktop hint and typed text to the same underline geometry. */
@media(min-width:901px){
.site-header .primary-nav .site-search{height:32px;align-items:stretch}
.site-header .primary-nav .site-search input{height:32px;min-height:32px;line-height:20px;padding:5px 8px 6px 35px;margin:0}
.site-header .primary-nav .site-search-hint{inset:0 0 2px;line-height:20px}
.site-header .primary-nav .site-search-hint span{display:block;line-height:20px}
.site-header .primary-nav .site-search.has-query .site-search-hint span{display:none}
}

/* Leave comfortable space around desktop publication copy and metadata. */
@media(min-width:901px){
body:not(.home-page) #activities-list .cms-card,body:not(.home-page) #reviews-list .cms-card,body:not(.home-page) #commentary-list .cms-card{padding:28px 32px}
body:not(.home-page) #activities-list .byline,body:not(.home-page) #reviews-list .byline,body:not(.home-page) #commentary-list .byline{justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;gap:12px 28px;margin-top:20px}
.cms-card .byline time{max-width:100%;white-space:normal}
.home-page .home-notice-grid .cms-card{padding:28px 32px}
.home-page .home-publication-grid .home-card-copy{padding:28px 32px}
.home-page .home-publication-grid .byline{justify-content:flex-start;align-items:flex-start;gap:12px 24px}
}

/* One breakpoint for the masthead and grouped navigation. */
@media(max-width:1300px){
.site-header .header-inner,.home-page .site-header .header-inner{display:flex!important;position:relative!important;min-width:0;width:min(1440px,calc(100% - 48px));gap:14px}
.site-header .brand,.home-page .site-header .brand{flex:1 1 auto;min-width:0;margin-right:auto}
.site-header .menu-toggle,.home-page .site-header .menu-toggle{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;position:static;flex:0 0 42px;width:42px;height:42px;padding:10px;border:0;background:transparent;color:var(--nav-ink)}
.site-header .menu-toggle>span:not(.sr-only){display:block;width:22px;height:1px;margin:0;background:currentColor}
.site-header .primary-nav,.home-page .site-header .primary-nav{display:none!important;position:absolute!important;top:100%;left:0;right:0;width:auto!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:12px 24px 24px!important;max-height:calc(100dvh - 100px);overflow:auto!important;background:var(--nav-surface)!important}
.site-header .primary-nav.open,.home-page .site-header .primary-nav.open{display:flex!important}
.home-page .site-header .primary-nav.open{--nav-surface:#06284b;--nav-ink:#fff;background:#06284b!important}
.site-header .primary-nav>a,.site-header .primary-nav .nav-group-heading>a{padding:11px 0!important;font-size:15px!important}
.site-header .primary-nav .nav-group{width:100%!important;min-width:0}
.site-header .primary-nav .nav-group-heading>a{white-space:normal}
.site-header .primary-nav .site-search{flex:0 0 auto;width:100%;padding:14px 0}
.site-header .primary-nav .site-search input{width:100%;min-width:0}
.site-header .primary-nav .nav-submenu{position:static!important;min-width:0;max-width:100%}
}
@media(min-width:1301px){
.site-header .header-inner,.home-page .site-header .header-inner{display:flex;min-width:0}
.site-header .primary-nav .nav-group{width:auto;min-width:0;flex:0 0 auto}
.site-header .primary-nav .nav-group-heading{width:auto;border:0;min-height:34px;gap:6px}
.site-header .primary-nav .nav-group-heading>a{flex:0 1 auto!important}
.site-header .primary-nav .nav-submenu-toggle{margin-left:0!important}
}

/* Keep byline text aligned and give publication cards room on both sides. */
.cms-card .byline,.home-page .home-notice-grid .byline,.home-page .home-publication-grid .byline,body:not(.home-page) #activities-list .byline,body:not(.home-page) #reviews-list .byline,body:not(.home-page) #commentary-list .byline{flex-direction:row;align-items:baseline;gap:12px 28px;line-height:1.6}
.cms-card .byline time{white-space:nowrap;flex-shrink:0}
.reading-meta{align-items:baseline;line-height:1.6}
.reading-meta strong,.reading-meta time{line-height:inherit}
body:not(.home-page) #activities-list .cms-card,body:not(.home-page) #reviews-list .cms-card,body:not(.home-page) #commentary-list .cms-card,.home-page .home-notice-grid .cms-card{padding:32px clamp(24px,4vw,56px)}
.home-page .home-publication-grid .home-card-copy{padding:32px clamp(24px,3vw,44px)}
@media(max-width:600px){body:not(.home-page) #activities-list .cms-card,body:not(.home-page) #reviews-list .cms-card,body:not(.home-page) #commentary-list .cms-card,.home-page .home-notice-grid .cms-card,.home-page .home-publication-grid .home-card-copy{padding:24px}.cms-card .byline,.home-page .home-notice-grid .byline{gap:10px 18px}}
