/* Keep the photograph, the credit and patient actions in separate regions. */
body.shortlist-page .inland-banner-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 .75rem;
  padding: .15rem clamp(12px, 3vw, 40px);
  background: var(--sl-paper);
  color: var(--sl-muted);
  font: 500 .75rem/1.4 Arial, sans-serif;
}
.inland-banner-meta > span { padding-block: .25rem; }
.inland-banner-meta .inland-video-toggle {
  position: static;
  min-height: 44px;
  margin-left: auto;
  padding: 0 .25rem;
  border: 0;
  background: transparent;
  color: var(--sl-ink);
  font: 600 .78rem/1.3 Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
}
.inland-banner-meta .inland-video-toggle[hidden] { display: none; }
body.shortlist-page .coordinated-nav.inland-nav {
  position: sticky;
  top: 0;
  z-index: 1400;
  display: grid;
  grid-template: 'menu logo book' auto / auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .35rem;
  padding: .28rem clamp(12px, 2.5vw, 32px);
  background: var(--sl-paper, #fbf7ee);
  color: var(--sl-ink, #39372b);
  border-block: 1px solid var(--sl-line, #d8d1c2);
  box-shadow: none;
  font-family: Arial, sans-serif;
}
.inland-nav .inland-nav-logo {
  grid-area: logo;
  justify-self: center;
  width: 100%;
  max-width: 148px;
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inland-nav .inland-nav-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 49px;
  object-fit: contain;
  filter: url('#shortlist-brand-tint');
}
body.shortlist-page .inland-nav .desktop-links { display: none; }
body.shortlist-page .inland-nav .coordinated-mobile-menu {
  display: block;
  position: static;
  grid-area: menu;
  justify-self: start;
}
.inland-nav .coordinated-book { position: static; grid-area: book; justify-self: end; }
body.shortlist-page .inland-nav details > summary {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  min-height: 44px;
  padding: .35rem .6rem;
  margin: 0;
  border-radius: .3rem;
  font: 600 1rem/1.25 Arial, sans-serif;
  white-space: nowrap;
}
.inland-nav .coordinated-mobile-menu > summary {
  background: transparent;
  border: 1px solid var(--sl-line);
  color: var(--sl-ink);
}
.inland-nav .coordinated-book > summary { color: #fff; background: var(--sl-accent); }
.inland-nav details > summary::after {
  content: '';
  width: .38em;
  height: .38em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-.1em) rotate(45deg);
}
.inland-nav details[open] > summary::after { transform: translateY(.1em) rotate(225deg); }
body.shortlist-page .inland-nav .coordinated-mobile-menu > nav,
body.shortlist-page .inland-nav .inland-office-panel {
  position: absolute;
  z-index: 1;
  top: calc(100% + 1px);
  box-sizing: border-box;
  max-height: min(60vh, 25rem);
  max-height: min(60dvh, 25rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--sl-surface, #fffdf8);
  color: var(--sl-ink);
  border: 1px solid var(--sl-line);
  border-radius: 0 0 .4rem .4rem;
  box-shadow: 0 .5rem 1rem rgb(53 43 25 / .12);
}
body.shortlist-page .inland-nav .coordinated-mobile-menu > nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0 .7rem;
  left: 0;
  right: auto;
  width: min(100%, 24rem);
  padding: .5rem .8rem;
}
.inland-nav .coordinated-mobile-menu > nav a {
  font: 600 1rem/1.3 Arial, sans-serif;
  margin: 0;
  padding-block: .35rem;
  min-height: 44px;
  white-space: normal;
}
.inland-nav button.inland-text-setting {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .4em;
  padding: .25rem 0;
  border: 0;
  background: transparent;
  color: var(--sl-ink);
  font: 600 .95rem/1.35 Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}
.inland-text-setting [data-indicator] {
  padding: .07em .35em;
  border: 1px solid var(--sl-line);
  border-radius: .25em;
  font-size: .82em;
}
.inland-text-setting[aria-pressed='true'] [data-indicator] {
  color: #fff; background: var(--sl-accent); border-color: var(--sl-accent);
}
.inland-nav .inland-office-panel {
  left: auto;
  right: 0;
  width: min(100%, 20rem);
  max-width: 100%;
  padding: .25rem .85rem;
}
.inland-office { padding: .5rem 0 .25rem; }
.inland-office + .inland-office { border-top: 1px solid var(--sl-line); }
.inland-office strong { font: 700 1rem/1.4 Arial, sans-serif; }
.inland-office-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: .75rem;
}
body.shortlist-page .inland-nav .inland-office-panel a {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  min-height: 44px;
  padding: .25rem 0;
  color: var(--sl-accent);
  font: 600 1rem/1.4 Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: .18em;
  white-space: normal;
}
@media (max-width: 79.99em) {
  body.quiet-confidence > :is(.utility, .topbar) { display: none; }
}
@media (max-width: 23.5em) {
  html.inland-reading-large body.shortlist-page .inland-nav {
    grid-template: 'logo logo' auto 'menu book' auto / 1fr 1fr;
    row-gap: 0;
  }
  html.inland-reading-large .inland-nav .inland-nav-logo { max-width: 120px; }
}
@media (min-width: 80em) {
  body.shortlist-page .coordinated-nav.inland-nav {
    grid-template: 'logo links book' auto / 138px minmax(0, 1fr) auto;
    gap: clamp(.5rem, 1.1vw, 1.2rem);
    padding-inline: max(20px, calc((100% - 1520px) / 2));
  }
  body.shortlist-page .inland-nav .desktop-links {
    grid-area: links;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 clamp(.5rem, 1.1vw, 1rem);
  }
  body.shortlist-page .inland-nav .coordinated-mobile-menu { display: none; }
  .inland-nav .coordinated-book { position: relative; }
  .inland-nav .inland-office-panel { width: 20rem; max-width: calc(100vw - 2rem); }
}
@media print {
  .inland-nav, .inland-banner-meta .inland-video-toggle { display: none !important; }
}
