*, *::before, *::after { box-sizing: border-box; }
body, html { margin: 0; background-color: #000; }
body {
  font-family: 'Lato', sans-serif;
  color: #F6F7E2;
  font-size: 16px;
  line-height: 1.625;
}
a { color: #F6F7E2; }
h1, h2, h3, h4, h5, h6 { color: #F6F7E2; font-weight: 400; }
p { font-size: 1.25rem; }

/* Folger header */
.fsl-header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  width: 100%;
  color: #fff;
  background-color: #000;
  font-size: 2rem;
}

/* Site header */
.site-header {
  background-size: cover;
  background-position: center;
  position: relative;
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.header-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 50px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  color: #F6F7E2;
}

/* Navigation */
.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  background-color: rgba(0, 0, 0, 0.5);
}
.primary-nav li a {
  display: block;
  padding: 1rem;
  color: #F6F7E2;
  text-decoration: none;
}
.primary-nav li a:hover { text-decoration: underline; }

/* Content */
.content-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 2rem;
}

/* Footer */
.site-footer iframe {
  width: 100%;
  height: 500px;
  border: 0;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  margin-bottom: 1rem;
}
.breadcrumb a {
  padding: 5px 10px;
  text-decoration: none;
}
.breadcrumb a:first-child { padding-left: 0; }
.breadcrumb .separator {
  padding: 0 5px;
}
.breadcrumb > span:last-child {
  padding: 5px 10px;
}

/* Buttons */
.c-btn {
  display: inline-block;
  padding: 0.5em 1em;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  background-color: #e03100;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 80%;
}
.c-btn:hover { opacity: 0.9; }

/* OpenSeadragon */
.openseadragon-container {
  width: 100%;
  height: 470px;
  background: #707070;
}
.viewerDirections { display: block; margin-bottom: 0.5rem; }

/* SVG overlay tiles */
.tile {
  fill: transparent;
  cursor: pointer;
}
.tile:focus, .tile:active {
  fill: red;
  fill-opacity: 0.5;
}
@media(hover: hover) and (pointer: fine) {
  .tile:hover {
    fill: red;
    fill-opacity: 0.5;
  }
}

/* Map zones (home page) */
.map-zone {
  fill: transparent;
  cursor: pointer;
}

/* Artwork pages */
.object-headline-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.artwork-layout {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.artwork-viewer {
  flex: 1;
  min-width: 300px;
}
.artwork-info {
  flex: 1;
  min-width: 300px;
}
#openseadragonPage {
  width: 100%;
  height: 600px;
  background-color: #707070;
}
.artwork-info h2 { margin: 2rem 0 1.5rem 0; }

/* Home page */
.home-content h1 { display: none; }
.home-content .openseadragon-container { margin-bottom: 2rem; }
.home-content h2 { margin-top: 2rem; }

/* Mobile navigation */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: #F6F7E2;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: #F6F7E2;
  left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.menu-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .primary-nav {
    display: none;
    width: 100%;
    order: 3;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav ul {
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.8);
  }

  .primary-nav li a {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}