/* BBSH museum editorial whitespace balance; supplementary, no content hidden. */
.bbsh-cover-visuals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;min-width:0;align-self:stretch}
.bbsh-cover-visuals figure{margin:0;min-width:0;display:grid;grid-template-rows:minmax(0,1fr) auto;background:#16283a;border:1px solid rgba(230,231,225,.2);overflow:hidden;border-radius:5px}
.bbsh-cover-visuals figure>a{display:block;min-height:0;overflow:hidden}
.bbsh-cover-visuals img{display:block;width:100%;height:100%;min-height:195px;object-fit:cover}
.bbsh-cover-visuals .bbsh-cover-early img{object-fit:contain;background:#203245}
.bbsh-cover-visuals figcaption{display:grid;gap:4px;padding:12px 14px;color:#ced9e4;font:400 13px/1.5 system-ui,sans-serif}
.bbsh-cover-visuals figcaption b{font:700 14px/1.3 system-ui,sans-serif;color:#f4cf8e}
.bbsh-cover-visuals figcaption a{color:#f4cf8e;text-underline-offset:3px}
.bbsh-cover-visuals figure.cover-photo img{aspect-ratio:auto;object-fit:cover}
/* Desktop cover: two photographs SHARE the column height instead of
   stacking into a long wall opposite a short introduction. */
@media(min-width:1040px){
 .cover-in{align-items:start}
 .bbsh-cover-visuals{
   grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);
   grid-template-rows:minmax(0,1fr);
   gap:14px;
   align-self:stretch;
   height:auto;
   min-height:0;
 }
 .bbsh-cover-visuals figure{
   min-width:0;
   min-height:0;
   height:100%;
   grid-template-rows:minmax(0,1fr) auto;
 }
 .bbsh-cover-visuals figure>a{min-height:0;height:100%}
 .bbsh-cover-visuals img{height:100%;min-height:0}
 .bbsh-cover-visuals .bbsh-cover-early img{object-fit:contain;object-position:center top}
 .bbsh-cover-visuals .cover-photo img{object-fit:cover;object-position:center 48%}
}
@media(max-width:699px){
 .bbsh-cover-visuals{grid-template-columns:minmax(0,1fr);gap:14px}
 .bbsh-cover-visuals .bbsh-cover-early img{height:230px}
 .bbsh-cover-visuals .cover-photo img{height:auto;aspect-ratio:3/2}
}
.bbsh-balanced-banner{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,34%);column-gap:clamp(22px,4vw,55px);row-gap:9px;align-items:start;min-width:0;padding-top:clamp(29px,4vw,52px)!important;padding-bottom:clamp(25px,3vw,40px)!important}
.bbsh-balanced-banner>.breadcrumbs{grid-column:1/-1;margin-bottom:11px}
.bbsh-balanced-banner>:is(.eyebrow,h1,p,.j-section-ribbon){grid-column:1;min-width:0;margin-top:0}
.bbsh-balanced-banner>h1{margin-top:4px}
.bbsh-balanced-banner>.bbsh-banner-media,.bbsh-balanced-banner>.bbsh-banner-guide{grid-column:2;grid-row:2/span 5;align-self:center;min-width:0}
.bbsh-banner-media{margin:0;background:#f6f0e4;border:1px solid #dfcfb4;border-radius:6px;overflow:hidden}
.bbsh-banner-media>a{display:block;overflow:hidden;background:#eee8df}
.bbsh-banner-media img{width:100%;height:clamp(160px,19vw,255px);object-fit:cover;display:block}
.bbsh-banner-media figcaption{padding:13px 15px;display:block;color:#454e58;font:400 13px/1.55 system-ui,sans-serif}
.bbsh-banner-media figcaption b{display:block;color:#253445;font:700 14px/1.35 system-ui,sans-serif;margin-bottom:4px}
.bbsh-banner-media figcaption a{color:#125273;font-weight:650}
.bbsh-banner-guide{padding:19px 20px;border-radius:7px;border:1px solid #dfccac;background:#f6efe2}
.bbsh-banner-guide strong{display:block;color:#253445;margin-bottom:10px;font-size:17px}
.bbsh-banner-guide a{display:block;padding:6px 0;color:#1b5571;font-weight:650;text-decoration-thickness:1px;text-underline-offset:3px}
.bbsh-banner-guide small{display:block;font-size:13px;line-height:1.45;margin-top:9px;color:#5b6269}
@media(max-width:820px){
 .bbsh-balanced-banner{grid-template-columns:minmax(0,1fr);gap:12px}
 .bbsh-balanced-banner>.breadcrumbs,.bbsh-balanced-banner>:is(.eyebrow,h1,p,.j-section-ribbon),.bbsh-balanced-banner>.bbsh-banner-media,.bbsh-balanced-banner>.bbsh-banner-guide{grid-column:1;grid-row:auto}
 .bbsh-balanced-banner>.bbsh-banner-media{max-width:440px}
 .bbsh-banner-media img{height:220px}
}
@media(max-width:420px){.bbsh-balanced-banner{padding-top:24px!important}.bbsh-banner-media img{height:190px}}

/* Archive landing pages: reduced duplicated intro spacing and better first-viewport use. */
body.j-gallery-page .j-gallery-banner .j-section-ribbon{margin-top:12px}
body.j-gallery-page .ed-gallery-intro{margin-top:0;margin-bottom:7px;padding-block:10px}
body.j-gallery-page .museum-archive-unified-head{margin-top:12px;margin-bottom:18px}
@media(max-width:820px){body.j-gallery-page .ed-gallery-intro{margin-bottom:4px}}

/* 1930s archive page: turn decorative right-hand void into sourced imagery. */
body.v21-discoveries .rr-hero-inner.bbsh-discovery-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,35%);column-gap:clamp(24px,4.5vw,62px);align-items:center}
body.v21-discoveries .rr-hero-inner.bbsh-discovery-split>:is(.rr-kicker,.rr-title,.rr-lede,.rr-metas){grid-column:1;min-width:0}
body.v21-discoveries .rr-hero-inner.bbsh-discovery-split>.rr-title{font-size:clamp(46px,5vw,79px)}
body.v21-discoveries .rr-hero-inner.bbsh-discovery-split>.rr-lede{max-width:60ch;line-height:1.66}
body.v21-discoveries .rr-hero-inner.bbsh-discovery-split>.bbsh-discovery-photo{grid-column:2;grid-row:1/span 4;margin:0;min-width:0;align-self:center;background:#162535;border:1px solid #cfaf784d;border-radius:5px;overflow:hidden}
.bbsh-discovery-photo>a{display:block;background:#e1dbcd}
.bbsh-discovery-photo img{display:block;width:100%;height:auto;max-height:450px;object-fit:contain}
.bbsh-discovery-photo figcaption{display:grid;gap:5px;padding:13px 15px;color:#c5d0db;font-size:13px;line-height:1.5}
.bbsh-discovery-photo figcaption b{font-weight:700;color:#efc987}
.bbsh-discovery-photo figcaption a{color:#f2d29a}
@media(max-width:880px){body.v21-discoveries .rr-hero-inner.bbsh-discovery-split{grid-template-columns:minmax(0,1fr);row-gap:12px}body.v21-discoveries .rr-hero-inner.bbsh-discovery-split>.bbsh-discovery-photo{grid-column:1;grid-row:auto;max-width:520px;margin-top:10px}body.v21-discoveries .rr-hero-inner.bbsh-discovery-split>.rr-title{font-size:clamp(44px,7vw,68px)}}


/* Six equivalent museum name cards; the final card is a heritage designation, not a club rename. */
.cover .bbsh-names-history{border-top:1px solid rgba(231,236,242,.24);padding-top:clamp(22px,3vw,38px);margin:0}
.cover .bbsh-names-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:22px}
.cover .bbsh-names-eyebrow{font:800 11px/1.5 system-ui,sans-serif;letter-spacing:.15em;color:#f1c06c;margin:0 0 9px}
.cover .bbsh-names-head h2{font:700 clamp(25px,3vw,37px)/1.15 Georgia,serif;letter-spacing:-.025em;color:#edf0f2;margin:0 0 9px}
.cover .bbsh-names-head .names-label{font:400 15px/1.6 system-ui,sans-serif;color:#b2c5d8;margin:0;max-width:65ch}
.cover .bbsh-names-more{flex-shrink:0;color:#f1c373;font:700 14px/1.5 system-ui,sans-serif;text-decoration:underline;text-underline-offset:4px;padding:10px 0}
.cover .bbsh-names-history .names-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:stretch;margin:0;padding:0;list-style:none}
.cover .bbsh-names-history .names-list>li{min-width:0;min-height:0;justify-self:stretch;display:block}
.cover .bbsh-names-history .names-list>li>a{min-width:0;min-height:150px;height:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:0;padding:20px 20px 19px;border:1px solid rgba(229,235,240,.22);background:rgba(255,255,255,.035);border-radius:7px;text-decoration:none;color:#edf0f3;transition:background .18s ease,border-color .18s ease}
.cover .bbsh-names-history .names-list>li>a:hover{background:rgba(255,255,255,.085);border-color:rgba(241,196,118,.7)}
.cover .bbsh-names-history .names-list>li>a:focus-visible{outline:3px solid #f1c476;outline-offset:3px}
.cover .bbsh-names-history .names-list .bbsh-names-period{display:block;white-space:normal;font:700 12px/1.4 system-ui,sans-serif;color:#dcb97d;letter-spacing:.045em;margin:0 0 14px}
.cover .bbsh-names-history .names-list b{display:block;margin:0;font:700 clamp(19px,2vw,24px)/1.23 Georgia,serif;color:#f0f0ed;letter-spacing:-.01em;text-decoration:none;overflow-wrap:anywhere}
.cover .bbsh-names-history .names-list .bbsh-names-caption{display:block;margin-top:auto;padding-top:12px;font:400 13px/1.5 system-ui,sans-serif;color:#b3c6d9;white-space:normal}
.cover .bbsh-names-history .names-list>li.bbsh-names-today b{font:700 clamp(17px,1.65vw,21px)/1.32 Georgia,serif;color:#f7dbab;overflow-wrap:anywhere}
.cover .bbsh-names-history .names-list>li.bbsh-names-baltika>a{border-color:rgba(241,196,118,.46)}
.cover .bbsh-names-history .names-list>li.bbsh-names-today>a{background:#1c2f44;border-color:#c29342}
.cover .bbsh-names-history .names-list>li.bbsh-names-today>a:hover{background:#253a51}
.cover .bbsh-names-history .names-legal{max-width:none;border:0;margin:18px 0 0;padding:16px 20px;color:#dbe4ed;background:rgba(255,255,255,.055);border-radius:6px;font:400 14px/1.6 system-ui,sans-serif}
.cover .bbsh-names-history .names-legal strong{color:#f3cc89}
.cover .bbsh-names-history .names-legal a{color:#f3cc89;text-underline-offset:3px}
@media(max-width:1039px){
 .cover .bbsh-names-history .names-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cover .bbsh-names-head{align-items:flex-start}
}
@media(max-width:560px){
 .cover .bbsh-names-head{display:block}
 .cover .bbsh-names-more{display:inline-block;margin-top:7px}
 .cover .bbsh-names-history .names-list{grid-template-columns:minmax(0,1fr);gap:10px}
 .cover .bbsh-names-history .names-list>li>a{min-height:0;padding:16px 18px}
 .cover .bbsh-names-history .names-list .bbsh-names-period{margin-bottom:7px}
 .cover .bbsh-names-history .names-list .bbsh-names-caption{padding-top:8px}
 .cover .bbsh-names-history .names-legal{padding:15px 16px}
}
@media(prefers-reduced-motion:reduce){.cover .bbsh-names-history .names-list>li>a{transition:none}}


/* The entire name chronology spans both columns of the museum cover. */
.cover .cover-in > .bbsh-names-history{
  grid-column:1 / -1;
  min-width:0;
  width:100%;
}
.cover .bbsh-names-history .bbsh-names-head{
  display:block;
  max-width:760px;
  margin-bottom:24px;
}
.cover .bbsh-names-history .bbsh-names-head h2{
  max-width:none;
}
.cover .bbsh-names-history .names-list{
  width:100%;
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.cover .bbsh-names-history .names-list b{
  overflow-wrap:normal;
  word-break:normal;
  hyphens:auto;
}
@media(max-width:1039px){
  .cover .bbsh-names-history .names-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .cover .bbsh-names-history .names-list{grid-template-columns:minmax(0,1fr)}
  .cover .bbsh-names-history .bbsh-names-head{margin-bottom:18px}
}

/* Hero archive thumbnails: show the full historical screenshot without a tall empty card. */
@media (min-width:1040px) {
  .bbsh-cover-visuals figure.bbsh-cover-early {
    height:auto;
    align-self:start;
    grid-template-rows:auto auto;
  }
  .bbsh-cover-visuals figure.bbsh-cover-early>a { height:auto; }
  .bbsh-cover-visuals figure.bbsh-cover-early img {
    height:auto;
    min-height:0;
    object-fit:contain;
  }
}

/* Reader-first museum: quick route, optional background and accessible captions. */
.cover .bbsh-names-history{padding-top:clamp(18px,2.5vw,27px)}
.bbsh-names-toggle{display:flex;flex-direction:column;position:relative;gap:5px;cursor:pointer;list-style:none;padding:17px 52px 18px 19px;border:1px solid rgba(231,236,242,.32);background:rgba(255,255,255,.045);border-radius:7px;min-height:76px}
.bbsh-names-toggle::-webkit-details-marker{display:none}
.bbsh-names-toggle:focus-visible{outline:3px solid #f1c476;outline-offset:3px}
.bbsh-names-toggle::after{content:"+";position:absolute;right:19px;top:50%;transform:translateY(-50%);font:400 30px/1 Georgia,serif;color:#f3ca83}
.bbsh-names-history[open] .bbsh-names-toggle::after{content:"−"}
.bbsh-names-toggle__title{font:700 clamp(23px,3vw,32px)/1.14 Georgia,serif;color:#f0f3f7}
.bbsh-names-toggle__desc{font:400 15px/1.5 system-ui,sans-serif;color:#c2d2e1}
.bbsh-names-details{padding-top:19px}
.cover .bbsh-names-details>.names-label{max-width:72ch;margin:0 0 17px;font-size:15px;line-height:1.58;color:#d5e0ea}
.era .bbsh-context-details{margin:19px 0 5px;border-top:1px solid #afc3d7;border-bottom:1px solid #afc3d7;max-width:690px}
.era .bbsh-context-details>summary{cursor:pointer;list-style:none;min-height:54px;display:flex;align-items:center;gap:10px;padding:10px 0;color:#8f5f0c;font:650 16px/1.45 Inter,"Segoe UI",Roboto,Arial,sans-serif}
.era .bbsh-context-details>summary::-webkit-details-marker{display:none}
.era .bbsh-context-details>summary::before{content:"+";font:500 25px/1 Georgia,serif;color:#8f5f0c;width:20px;flex-shrink:0}
.era .bbsh-context-details[open]>summary::before{content:"−"}
.era .bbsh-context-details>.dates{margin:0 0 13px;border-top:0}
.era .bbsh-context-details>p{margin:5px 0 18px;font-size:16px;line-height:1.7}
.era .bbsh-context-details>.aside{margin:10px 0 18px}
.era .fig figcaption{font-size:16px;line-height:1.58;color:#2c4257}
.era .fig figcaption b{font-size:17px;line-height:1.42;margin-bottom:2px}
@media(max-width:699px){.era .fig figcaption{font-size:15px;line-height:1.58}.era .fig figcaption b{font-size:16px}.bbsh-names-toggle{padding:16px 48px 16px 16px}.bbsh-names-toggle__desc{font-size:14px}.era .bbsh-context-details>summary{font-size:15px}}

/* Readable photo archive, while retaining 131 permanent exhibit anchors. */
.bbsh-filter-advanced{border:1px solid #d0ccc3;background:#fbf8f2;margin:13px 0 19px;border-radius:7px;padding:0 15px}
.bbsh-filter-advanced>summary{cursor:pointer;padding:13px 0;min-height:48px;font-weight:650;color:#1c3958}
.bbsh-filter-advanced .ed-filter-toolbar{margin:0 0 12px}
.bbsh-load-more{text-align:center;margin:26px 0 30px}
.bbsh-load-more[hidden],.bbsh-load-more>button[hidden]{display:none!important}
.bbsh-load-more>button{min-height:50px;min-width:min(100%,300px);padding:12px 23px;border:1px solid #1d3e61;border-radius:6px;color:white;background:#1d3e61;font:700 16px/1.3 system-ui,sans-serif;cursor:pointer}
.bbsh-load-more>button:hover{background:#122942}
.bbsh-load-more>button:focus-visible{outline:3px solid #dfaf5b;outline-offset:3px}
.bbsh-catalog-method{margin-top:25px;line-height:1.6}
.bbsh-catalog-method>summary{cursor:pointer;font-weight:700;color:#14526e;min-height:44px;padding:8px 0}
.bbsh-catalog-method>p{margin:10px 0 0}
body.j-gallery-page .photo-grid .bbsh-unified-card figcaption .bbsh-photo-story__date{font-size:14px;line-height:1.45;color:#45515d}
body.j-gallery-page .photo-grid .bbsh-unified-card figcaption .bbsh-photo-story__hint{font-size:15px;line-height:1.55;color:#384552}

/* Museum gallery readability pass: tighten the fold and avoid edge clipping. */
@media (min-width:1000px){
  body.j-gallery-page .top-nav a{padding-inline:7px}
  body.j-gallery-page .j-gallery-banner{padding-top:25px}
  body.j-gallery-page .j-gallery-banner h1{font-size:clamp(48px,5vw,68px);max-width:1100px;line-height:1.06}
}
body.j-gallery-page .bbsh-collection-hint{display:none}
@media (max-width:650px){
  body.j-gallery-page .j-gallery-banner{padding-top:18px;padding-bottom:8px}
  body.j-gallery-page .j-gallery-banner .eyebrow{display:none}
  body.j-gallery-page .museum-archive-unified-head{padding:16px;margin:10px 0 12px}
  body.j-gallery-page .museum-archive-unified-head h2{font-size:22px;line-height:1.2}
  body.j-gallery-page .museum-archive-shortcuts{display:flex;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;margin-top:9px;padding-bottom:5px;max-width:100%;gap:8px;-webkit-overflow-scrolling:touch}
  body.j-gallery-page .museum-archive-shortcuts button{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start;font-size:14px}
  body.j-gallery-page .bbsh-collection-hint{display:block;font:500 12px/1.5 system-ui,sans-serif;color:#57626d;margin-top:3px}
}

/* Search result count is information, not an error or alert. */
body.j-gallery-page #photo-results{color:#38495c;font-weight:700}
