@charset "UTF-8";
@font-face {
  font-family: "DM Sans";
  src: url("/themes/custom/lhp_custom_theme/fonts/DMSans-VariableFont_opsz,wght.ttf") format("truetype-variations");
  font-weight: 100 1000;
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("/themes/custom/lhp_custom_theme/fonts/DMSans-Italic-VariableFont_opsz,wght.ttf") format("truetype-variations");
  font-weight: 100 1000;
  font-style: italic;
  font-stretch: normal;
  font-display: swap;
}

body {
  --color-accent: #aa305c;
  --color-accent-rgb: 170, 48, 92;
  --bs-body-bg: #fff8ed;
  --bs-primary: var(--bs-body-bg);
  --navbar-height: 4rem;
  --bs-link-color: var(--color-accent);
  --bs-link-color-rgb: 170, 48, 92;
  --bs-font-sans-serif: "DM Sans", sans-serif;
  --bs-body-font-family: "DM Sans", sans-serif;
  --bs-body-line-height: 1.5;
  --exhibit-content-width: 800px;

  font-optical-sizing: auto;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bs-body-bg) !important;
}

p,
figure {
  margin-bottom: 2rem;
}

figure.figure-resized {
  margin-block: 2rem !important;
}

a:hover {
  color: inherit;
}

.path-exhibits .row {
  --bs-gutter-y: 1.5rem !important;
}

[data-component-id="lhp_custom_theme:heading"],
.node-exhibit-content h1 {
  max-width: 860px;
  margin: 0 auto 0.25rem;
  text-align: center;
  text-wrap: balance;
  color: var(--color-accent);
  line-height: 1;
}

@media (max-width: 768px) {
  [data-component-id="lhp_custom_theme:heading"],
  .node-exhibit-content h1 {
    text-align: left;
    font-size: 2.5rem;
  }

  [dir="rtl"] [data-component-id="lhp_custom_theme:heading"],
  [dir="rtl"] .node-exhibit-content h1 {
    text-align: right;
  }
}

body.path-node-type-page [data-component-id="lhp_custom_theme:heading"] {
  margin-bottom: 2rem;
}

body.path-node-type-exhibit #block-lhp-custom-theme-page-title {
  margin-top: 1rem;
}

.archivist--archivist-card h2 a {
  text-decoration: none;
  color: var(--color-accent);
}

.field__label {
  font-weight: bold;
}

.page-node-type-landing-page-lb main.mb-3 {
  margin-bottom: 0 !important;
}

.custom-page {
  width: 100vw;
  margin-left: calc(-1 * (100vw - 100%) / 2);
}

[dir="rtl"] .custom-page {
  margin-right: calc(-1 * (100vw - 100%) / 2);
  margin-left: 0;
}

main:has(.custom-page) .content-above {
  display: none;
}

@media (max-width: 768px) {
  .exhibit--full .field--name-field-body figure,
  .node-exhibit-content figure {
    width: 100% !important;
  }

  .exhibit--full .field--name-field-body figure .media-embed-resized,
  .node-exhibit-content figure .media-embed-resized {
    width: 100% !important;
  }
}

#block-lhp-custom-theme-footer-logo .media-type-image img {
  max-width: 160px;
}

.full-bleed-width {
  width: 100vw;
  margin-left: calc(-1 * (100vw - 100%) / 2);
}

[dir="rtl"] .full-bleed-width {
  margin-right: calc(-1 * (100vw - 100%) / 2);
  margin-left: 0;
}

.navbar[data-component-id="lhp_custom_theme:navbar"] {
  height: var(--navbar-height);
}

.navbar[data-component-id="lhp_custom_theme:navbar"] .navbar-nav .nav-item a.nav-link {
  color: white;
}

.navbar[data-component-id="lhp_custom_theme:navbar"],
.navbar[data-component-id="lhp_custom_theme:navbar"] > div.container {
  background: var(--color-accent);
  background-color: var(--color-accent) !important;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  color: var(--color-accent);
  background-color: color-mix(in sRGB, var(--color-accent) 15%, transparent);
}

.navbar-nav .dropdown-item:active,
.navbar-nav .dropdown-item.active {
  color: white;
  background-color: var(--color-accent);
}

.navbar-nav .nav-item:last-child .dropdown-menu,
.navbar-nav .nav-item:nth-last-child(2) .dropdown-menu {
  right: 0;
  left: auto;
}

[dir="rtl"] .navbar-nav .nav-item:last-child .dropdown-menu,
[dir="rtl"] .navbar-nav .nav-item:nth-last-child(2) .dropdown-menu {
  right: auto;
  left: 0;
}

.path-frontpage .navbar[data-component-id="lhp_custom_theme:navbar"] {
  position: relative;
  z-index: 10;
  border-bottom: 2px solid var(--color-accent);
  background: rgba(255, 255, 255, 0.75) !important;
  background-color: rgba(255, 255, 255, 0.75) !important;
  backdrop-filter: blur(4px);
}

.path-frontpage .navbar[data-component-id="lhp_custom_theme:navbar"] > div.container {
  background: transparent !important;
  background-color: transparent !important;
}

.path-frontpage .navbar[data-component-id="lhp_custom_theme:navbar"] .navbar-nav .nav-item a.nav-link {
  color: var(--color-accent);
}

.path-frontpage .navbar[data-component-id="lhp_custom_theme:navbar"] .navbar-nav .nav-item a.nav-link:hover,
.path-frontpage .navbar[data-component-id="lhp_custom_theme:navbar"] .navbar-nav .nav-item a.nav-link:focus,
.path-frontpage .navbar[data-component-id="lhp_custom_theme:navbar"] .navbar-nav .nav-item a.nav-link:active {
  color: var(--color-accent) !important;
}

.path-frontpage .navbar[data-component-id="lhp_custom_theme:navbar"] .navbar-brand,
.path-frontpage .navbar[data-component-id="lhp_custom_theme:navbar"] .navbar-brand span {
  color: var(--color-accent);
}

.path-frontpage .navbar[data-component-id="lhp_custom_theme:navbar"] .navbar-toggler {
  border-color: var(--color-accent);
}

.path-frontpage .navbar[data-component-id="lhp_custom_theme:navbar"] .navbar-toggler .navbar-toggler-icon {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 30 30%27%3e%3cpath stroke=%27%23aa305c%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 stroke-width=%272%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3e%3c/svg%3e");
}

footer.footer {
  color: black;
  border-top: 2px solid black;
  background-color: #eee0ca !important;
}

footer.footer p,
footer.footer a,
footer.footer a::before {
  color: inherit !important;
}

.breadcrumb-item a,
.breadcrumb-item + .breadcrumb-item::before {
  color: #999;
}

.archivist--full .breadcrumb-item a {
  color: inherit;
}

.exhibit--full .field--name-field-archivist.field--label-inline,
.node-exhibit-content .field--name-field-archivist.field--label-inline {
  display: flex;
  justify-content: center;
  color: var(--color-accent);
  font-size: 18px;
}

@media (max-width: 768px) {
  .exhibit--full .field--name-field-archivist.field--label-inline,
  .node-exhibit-content .field--name-field-archivist.field--label-inline {
    justify-content: flex-start;
  }
}

.exhibit--full .field--name-field-archivist.field--label-inline .field__label::after,
.node-exhibit-content .field--name-field-archivist.field--label-inline .field__label::after {
  padding-right: 0.25rem;
  content: ": ";
}

[dir="rtl"] .exhibit--full .field--name-field-archivist.field--label-inline .field__label::after,
[dir="rtl"] .node-exhibit-content .field--name-field-archivist.field--label-inline .field__label::after {
  padding-right: 0;
  padding-left: 0.25rem;
}

.exhibit--full .field--name-field-archivist.field--label-inline .field__item a,
.node-exhibit-content .field--name-field-archivist.field--label-inline .field__item a {
  color: inherit;
  font-weight: bold;
}

.node-exhibit-content .field--name-field-chapter-content > *,
.exhibit--full .field--name-field-body > * {
  display: block;
  max-width: var(--exhibit-content-width);
  margin-bottom: 2rem;
  margin-inline: auto;
}

.node-exhibit-content .field--name-field-chapter-content > figure > figcaption {
  margin-top: 0.5rem;
  font-size: inherit;
}

.node-exhibit-content .field--name-field-chapter-content > figure > figcaption a {
  text-decoration: none;
  color: inherit;
}

.exhibit--full .field--name-field-body p,
.node-exhibit-content .field--name-field-chapter-content p {
  text-align: justify;
  font-size: 1.25rem;
  line-height: 31px;
}

@media (max-width: 768px) {
  .exhibit--full .field--name-field-body p,
  .node-exhibit-content .field--name-field-chapter-content p,
  a.item-embed-link {
    font-size: 16px;
    line-height: 25px;
  }
}

.node-exhibit-content .field--name-field-chapter-content .item-embed-link img {
  max-height: var(--exhibit-content-width);
  object-fit: contain;
}

.exhibit--full .field--name-field-cover-media {
  width: 100%;
  max-width: 960px;
  margin: 2rem auto 3.5rem;
}

.exhibit--full .field--name-field-cover-media img {
  max-height: 700px;
}

#exhibit-cover > div {
  display: grid;
}

#exhibit-cover > div > div {
  grid-row: 1;
  grid-column: 1;
  align-self: center;
  justify-self: center;
}

.enter-exhibit-btn {
  padding: 16px 20px;
  color: white;
  border-radius: 7px;
  background: var(--color-accent);
  line-height: 1;
}

.enter-exhibit-btn:hover,
.enter-exhibit-btn:active,
.enter-exhibit-btn:focus {
  color: white !important;
  background: color-mix(in sRGB, var(--color-accent) 90%, black 10%) !important;
}

#exhibit-bottom-button-container .enter-exhibit-btn {
  display: block;
  margin: 0 auto 3rem;
}

.exhibit--full .field--name-field-teachers-guide > .field__item::after {
  display: block;
  content: "Educator Guides are created by LHP youth for New York City teachers. Based on focus groups with NYC educators, we learned that teachers don't need more lesson plans—they need primary sources. These guides compile the primary and secondary sources featured in each exhibit, making them easy to print and integrate into existing classroom materials.";
  color: inherit;
  font-size: inherit;
}

.exhibit--full .field--name-field-teachers-guide .field__label {
  margin-bottom: 0.5rem;
}

.exhibit--full .field--name-field-teachers-guide .field--name-thumbnail img {
  float: left;
  max-width: 105px;
  margin-right: 0.8rem;
  margin-bottom: 0.5rem;
  object-fit: cover;
  border: var(--color-accent) 1px solid;
  border-radius: 8px;
  aspect-ratio: 1;
}

[dir="rtl"] .exhibit--full .field--name-field-teachers-guide .field--name-thumbnail img {
  float: right;
  margin-right: 0;
  margin-left: 0.8rem;
}

.exhibit--full .field--name-field-teachers-guide,
.exhibit--full .field--name-field-archivist .archivist--archivist-card .field--name-field-teachers-guide .field__label {
  color: var(--color-accent);
}

.exhibit--full .field--name-field-archivist .archivist--archivist-card h2,
.exhibit--full .field--name-field-archivist .archivist--archivist-card .field--name-field-bio {
  color: var(--color-accent);
  font-size: inherit;
}

.exhibit--full .field--name-field-archivist .archivist--archivist-card h2 a {
  text-decoration: none;
  color: inherit;
}

.exhibit--full .field--name-field-archivist .archivist--archivist-card p {
  margin: 0;
}

.exhibit--full #exhibit-bordered-area {
  width: 100vw;
  margin-bottom: 3.5rem;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  outline: 2px solid black;
}

[dir="rtl"] .exhibit--full #exhibit-bordered-area {
  margin-right: calc(-1 * (100vw - 100%) / 2);
  margin-left: 0;
}

.exhibit--full #exhibit-bordered-area .col-sm-6 {
  padding: 1rem 2rem;
}

.exhibit--full #exhibit-bordered-area .col-sm-6:last-child {
  border-left: 2px solid black;
}

[dir="rtl"] .exhibit--full #exhibit-bordered-area .col-sm-6:last-child {
  border-right: 2px solid black;
  border-left: none;
}

@media (max-width: 768px) {
  .exhibit--full #exhibit-bordered-area .col-sm-6 {
    padding: 1rem;
  }

  .exhibit--full #exhibit-bordered-area .col-sm-6:last-child {
    border-top: 2px solid black;
    border-left: none;
  }

  [dir="rtl"] .exhibit--full #exhibit-bordered-area .col-sm-6:last-child {
    border-right: none;
    border-left: none;
  }
}

.view-exhibits,
.view-neighborhood-exhibits {
  --card-radius: 10px;

  margin-top: 1rem;
}

.view-exhibits .views-field-field-cover-media .field--name-field-media-image,
.view-neighborhood-exhibits .views-field-field-cover-media .field--name-field-media-image {
  margin-bottom: 0;
}

.view-exhibits .views-field-field-cover-media .field--name-field-media-image img,
.view-neighborhood-exhibits .views-field-field-cover-media .field--name-field-media-image img {
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.view-exhibits .views-field-title a,
.view-neighborhood-exhibits .views-field-title a {
  display: block;
  padding: 0.8rem 0.8rem 1.3rem;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  color: black;
  border-radius: 0 0 var(--card-radius) var(--card-radius);
  background: white;
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 140%;
}

.view-exhibits .views-view-responsive-grid__item-inner,
.view-neighborhood-exhibits .views-view-responsive-grid__item-inner {
  transition:
    transform 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
  border-radius: var(--card-radius);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.view-exhibits .views-view-responsive-grid__item-inner:hover,
.view-neighborhood-exhibits .views-view-responsive-grid__item-inner:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.exhibit-filter-container {
  display: flex;
  font-size: 16px;
  gap: 1rem;
}

.exhibit-filter {
  margin-bottom: 2rem;
}

.exhibit-filter label {
  display: block;
  margin-bottom: 0.25rem;
  color: #212529;
  font-weight: bold;
}

.exhibit-filter .exhibit-filter__select {
  width: 100%;
  max-width: 270px;
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  cursor: pointer;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
  color: #212529;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: white;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2712%27 height=%2712%27 viewBox=%270 0 12 12%27%3E%3Cpath fill=%27%23333%27 d=%27M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z%27/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
  font-size: 1rem;
  line-height: 1.5;
  appearance: none;
}

[dir="rtl"] .exhibit-filter .exhibit-filter__select {
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  background-position: left 0.75rem center;
}

.exhibit-filter .exhibit-filter__select:hover {
  border-color: #999;
}

.exhibit-filter .exhibit-filter__select:focus {
  border-color: var(--color-accent);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(170, 48, 92, 0.25);
}

.page-node-type-exhibit .block-field-blocknodeexhibitfield-theme {
  display: none;
}

.node-exhibit-content h1 {
  margin-top: 2rem;
  border-radius: 7px;
}

.node-exhibit-content .exhibit-tabs {
  position: relative;
  margin-top: 3rem;
}

.node-exhibit-content .tab-content {
  position: relative;
  scroll-margin-top: 3rem;
}

.node-exhibit-content .tab-content::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  box-sizing: border-box;
  width: 100vw;
  height: 100%;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  pointer-events: none;
  border: 1px solid #000;
}

[dir="rtl"] .node-exhibit-content .tab-content::before {
  margin-right: calc(-1 * (100vw - 100%) / 2);
  margin-left: 0;
}

.node-exhibit-content .tab-pane {
  padding: 3rem 0;
}

.node-exhibit-content .tab-pane.fade {
  transition: opacity 0.15s linear;
}

@media (prefers-reduced-motion: reduce) {
  .node-exhibit-content .tab-pane.fade {
    transition-duration: 0.01ms;
  }
}

.node-exhibit-content .tab-pane.fade:not(.show) {
  opacity: 0;
}

.node-exhibit-content .tab-pane.fade.show {
  opacity: 1;
}

.field--name-field-chapter-content > .media,
.field--name-field-chapter-content > div:has(iframe) {
  margin-bottom: 2rem;
}

.field--name-field-chapter-content .item-embed-caption {
  margin-top: 0.5rem;
}

.chapter-label {
  white-space: pre;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 65%;
  font-weight: 600;
  line-height: 1;
}

.chapter-title {
  white-space: break-spaces;
  font-family: var(--bs-font-sans-serif);
  font-weight: normal;
  line-height: 1.3;
}

.chapter-dropdown-container {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.5rem;
}

.chapter-dropdown-container::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  box-sizing: border-box;
  width: 100vw;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  content: "";
  pointer-events: none;
  border-bottom: 1px solid #000;
  background: var(--bs-body-bg);
}

[dir="rtl"] .chapter-dropdown-container::before {
  margin-right: calc(-1 * (100vw - 100%) / 2);
  margin-left: 0;
}

.chapter-dropdown-container .dropdown {
  width: 100%;
  max-width: min(100vw, 600px);
}

.chapter-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  text-align: left;
  color: #000;
  border: 1px solid #000;
  background: var(--bs-body-bg);
  line-height: 1.3;
}

[dir="rtl"] .chapter-dropdown-toggle {
  text-align: right;
}

.chapter-dropdown-toggle:hover,
.chapter-dropdown-toggle:focus,
.chapter-dropdown-toggle:active,
.chapter-dropdown-toggle.show {
  color: #000;
  border-color: #000;
  outline: none;
  background: var(--bs-body-bg);
  box-shadow: none;
}

.chapter-dropdown-toggle .chapter-dropdown-text {
  flex: 1;
}

.chapter-dropdown-toggle .chapter-dropdown-caret {
  flex-shrink: 0;
  margin-left: 0.5rem;
  transition: transform 0.15s ease-in-out;
}

[dir="rtl"] .chapter-dropdown-toggle .chapter-dropdown-caret {
  margin-right: 0.5rem;
  margin-left: 0;
}

@media (prefers-reduced-motion: reduce) {
  .chapter-dropdown-toggle .chapter-dropdown-caret {
    transition-duration: 0.01ms;
  }
}

.chapter-dropdown-toggle[aria-expanded="true"] .chapter-dropdown-caret {
  transform: rotate(180deg);
}

[dir="rtl"] .chapter-dropdown-toggle[aria-expanded="true"] .chapter-dropdown-caret {
  transform: rotate(-180deg);
}

.chapter-dropdown-item,
.chapter-dropdown-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chapter-dropdown-menu {
  overflow-y: visible;
  width: 100%;
  max-width: 100%;
  max-height: none;
  margin-top: -1px;
  border: 1px solid #000;
  border-radius: 0;
  background: var(--bs-body-bg);
}

.chapter-dropdown-menu .chapter-dropdown-item {
  padding: 0.75rem 1rem;
  transition: background-color 0.15s ease-in-out;
  color: #000;
  line-height: 1.3;
}

@media (prefers-reduced-motion: reduce) {
  .chapter-dropdown-menu .chapter-dropdown-item {
    transition-duration: 0.01ms;
  }
}

.chapter-dropdown-menu .chapter-dropdown-item:hover,
.chapter-dropdown-menu .chapter-dropdown-item:focus {
  color: #000;
  background-color: rgba(0, 0, 0, 0.05);
}

.chapter-dropdown-menu .chapter-dropdown-item.active {
  background-color: transparent;
}

.chapter-dropdown-menu .chapter-dropdown-item.active .chapter-label,
.chapter-dropdown-menu .chapter-dropdown-item.active .chapter-title {
  font-weight: bold;
}

.chapter-dropdown-menu .chapter-dropdown-item.active:hover,
.chapter-dropdown-menu .chapter-dropdown-item.active:focus {
  background-color: rgba(0, 0, 0, 0.05);
}

.chapter-navigation {
  max-width: var(--exhibit-content-width);
  margin-right: auto;
  margin-left: auto;
}

.chapter-navigation .chapter-nav-btn {
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.chapter-navigation .chapter-nav-btn:hover {
  color: white;
  background: var(--color-accent);
}

@media (max-width: 767.98px) {
  .chapter-dropdown-container .dropdown {
    max-width: 100vw;
  }

  .chapter-dropdown-toggle,
  .chapter-dropdown-menu {
    border-right: none;
    border-left: none;
  }
}

.varbase-video-player {
  max-width: var(--exhibit-content-width);
  margin: 0 auto;
}

.item--full article.item--item-fields-list h2 {
  line-height: 1.1;
}

.item--full article.item--item-fields-list h2 a {
  text-decoration: none;
  color: var(--color-accent);
}

a.item-embed-link {
  display: block;
  margin: 2rem 0;
  text-decoration: none;
  color: rgba(33, 37, 41, 0.75);
}

.node-exhibit-content .field--name-field-chapter-content drupal-entity[data-entity-type="node"][data-align="left"] .item-embed-link .item-embed {
  max-width: 100%;
}

@media (min-width: 768px) {
  .node-exhibit-content .field--name-field-chapter-content drupal-entity[data-entity-type="node"][data-align="left"] .item-embed-link .item-embed {
    max-width: 400px;
  }
}

.node-exhibit-content .field--name-field-chapter-content drupal-entity[data-entity-type="node"][data-align="center"] .item-embed-link .item-embed {
  max-width: 100%;
}

@media (min-width: 768px) {
  .node-exhibit-content .field--name-field-chapter-content drupal-entity[data-entity-type="node"][data-align="center"] .item-embed-link .item-embed {
    max-width: 650px;
  }
}

.node-exhibit-content .field--name-field-chapter-content drupal-entity[data-entity-type="node"][data-align="right"] .item-embed-link .item-embed {
  max-width: 100%;
}

@media (min-width: 768px) {
  .node-exhibit-content .field--name-field-chapter-content drupal-entity[data-entity-type="node"][data-align="right"] .item-embed-link .item-embed {
    max-width: 1050px;
  }
}

.node-exhibit-content .field--name-field-chapter-content drupal-entity[data-entity-type="node"]:not([data-align]) .item-embed-link .item-embed {
  max-width: 100%;
}

@media (min-width: 768px) {
  .node-exhibit-content .field--name-field-chapter-content drupal-entity[data-entity-type="node"]:not([data-align]) .item-embed-link .item-embed {
    max-width: 1050px;
  }
}

.archivist--full {
  max-width: 720px;
  margin: 0 auto;
}

.archivist--full .field--name-field-headshot {
  float: left;
  width: 200px;
  margin-right: 1rem;
  margin-bottom: 0.5rem;
  border: var(--color-accent) 1px solid;
  border-radius: 8px;
}

[dir="rtl"] .archivist--full .field--name-field-headshot {
  float: right;
  margin-right: 0;
  margin-left: 1rem;
}

.archivist--archivist-card .field--name-field-media-image img {
  float: left;
  max-width: 105px;
  margin-right: 0.8rem;
  margin-bottom: 0.5rem;
  object-fit: cover;
  border: var(--color-accent) 1px solid;
  border-radius: 8px;
  aspect-ratio: 1;
}

[dir="rtl"] .archivist--archivist-card .field--name-field-media-image img {
  float: right;
  margin-right: 0;
  margin-left: 0.8rem;
}

.view-educator-guides {
  max-width: 1280px;
  margin: 0 auto;
  margin-top: 2rem;
}

.view-educator-guides .views-view-responsive-grid__item-inner {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  margin-bottom: 2rem;
}

.view-educator-guides .views-view-responsive-grid__item-inner .views-field-title {
  margin-top: 1rem;
  text-align: center;
  font-weight: bold;
  line-height: 1.3;
}

.view-educator-guides .views-view-responsive-grid__item-inner .views-field-title a {
  text-decoration: none;
}

.view-educator-guides .views-view-responsive-grid__item-inner .views-field-field-teachers-guide {
  min-width: 180px;
  min-height: 232px;
  background: rgba(0, 0, 0, 0.15);
}

.neighborhood-content .view-neighborhood-exhibits {
  max-width: calc(100% - 40px);
  margin: 0 auto;
}

.neighborhood-content .view-neighborhood-exhibits::before {
  display: block;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  content: "Exhibits";
  text-align: center;
  color: var(--color-accent);
  font-size: 3.25rem;
  font-weight: bold;
}

.view-neighborhood-exhibits .views-view-grid {
  justify-content: center;
  margin-bottom: 4rem;
}

.neighborhood-content .field--name-field-banner .field--name-field-media-image div.drimage {
  --vert-spacing: 6rem;

  position: relative;
  padding: var(--vert-spacing) 0;
}

.neighborhood-content .field--name-field-banner .field--name-field-media-image div.drimage img {
  --container-height: calc(100svh - var(--navbar-height) - var(--vert-spacing) * 2);

  display: block;
  max-width: calc(100% - 30px);
  max-height: 80%;
  max-height: var(--container-height);
  object-fit: contain;
  margin-inline: auto;
}

.neighborhood-content .field--name-field-banner .field--name-field-media-image div.drimage::after {
  position: absolute;
  bottom: calc(var(--vert-spacing) / 2);
  left: 50%;
  content: "Scroll\a⌄";
  transform: translate(-50%, 50%);
  text-align: center;
  white-space: pre;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
  color: var(--color-accent);
  font-size: 0.9rem;
  line-height: 12px;
}

[dir="rtl"] .neighborhood-content .field--name-field-banner .field--name-field-media-image div.drimage::after {
  right: 50%;
  left: auto;
  transform: translate(50%, 50%);
}

@media (prefers-reduced-motion: no-preference) {
  .neighborhood-content .field--name-field-banner .field--name-field-media-image div.drimage::after {
    animation: neighborhood-scroll-bounce 2.5s ease-in-out infinite;
  }
}

@keyframes neighborhood-scroll-bounce {
  0%,
  100% {
    transform: translate(-50%, 50%);
  }

  50% {
    transform: translate(-50%, calc(50% + 4px));
  }
}

#interactive-map-app {
  position: relative;
  overflow: hidden;
  height: calc(100lvh - var(--navbar-height));
}

.path-frontpage #interactive-map-app {
  height: 100lvh;
  margin-top: calc(-1 * var(--navbar-height));
}

#interactive-map-app #map-placeholder-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
}

.map-overlay-hero {
  position: absolute;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.15s ease;
  pointer-events: none;
  opacity: 1;
  inset: 0;
}

.map-overlay-hero--dismissing {
  opacity: 0;
}

.overlay-card {
  width: calc(100% - 2rem);
  max-width: 720px;
  padding: 1.25rem 2rem 1.75rem;
  text-align: center;
  pointer-events: none;
  border-radius: 16px;
  background: #fdf5e6;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.overlay-logo {
  width: 100%;
  max-width: 480px;
  margin-bottom: 0.5rem;
}

.overlay-subtitle {
  margin: 0 0 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--color-accent, #aa305c);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

.overlay-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.overlay-btn {
  flex: 1 1 0;
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  pointer-events: auto;
  border-radius: 7px;
  outline: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}

.overlay-btn--filled {
  color: white;
  border: 2px solid var(--color-accent, #aa305c);
  background: var(--color-accent, #aa305c);
}

.overlay-btn--filled:hover {
  color: white;
  border-color: color-mix(in srgb, var(--color-accent, #aa305c) 90%, black 10%);
  background: color-mix(in srgb, var(--color-accent, #aa305c) 90%, black 10%);
}

.overlay-btn--outline {
  color: var(--color-accent, #aa305c);
  border: 2px solid var(--color-accent, #aa305c);
  background: transparent;
}

.overlay-btn--outline:hover {
  color: white;
  background: var(--color-accent, #aa305c);
}

@media (max-width: 600px) {
  .overlay-card {
    padding: 1rem 1.25rem 1.5rem;
  }

  .overlay-logo {
    max-width: 280px;
  }

  .overlay-buttons {
    flex-direction: column;
  }

  .overlay-btn {
    width: 100%;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-overlay-hero {
    transition-duration: 0.01ms;
  }
}
