html {
  background: #fff;
}

body {
  background: #fff;
  min-height: 100vh;
}


/* Mobile only */
@media (max-width: 768px) {
  .layout--twocol-section {
    flex-wrap: wrap !important;
  }
}


@media (max-width: 768px) {
  .field--name-field-audio-snippets {
    column-count: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .audio-snippet {
    border: none !important;
    border-radius: 0;
     position: relative;
  }
}

@media (max-width: 768px) {
.audio-snippet:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: #ddd;
  }
}



/* ==================================================
    INTERVIEWEE CONTENT TYPE
   ================================================== */

/* Match the Places field label in Interviewee content type to the site's H2 heading style. */

.field--name-field-places > .field__label {
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .field--name-field-places > .field__label {
    font-size: 2rem;
  }
}


/* Add a left border to separate interview highlights from the main content. */

.field--name-field-audio-snippets {
  border-left: 4px solid #ddd;
  padding-left: 1.5rem;
}

/* Add a top border to separate the biography from the main content. */

.field--name-field-basic-biography {
  border-top: 4px solid #ddd;
  padding-top: 1.5rem;
}


/* ==========================================================
   AUDIO SNIPPETS FIELD
   Two-column layout for timestamp links
   ========================================================== */


@media (min-width: 769px) {
.field--name-field-audio-snippets {
  column-count: 2;
  column-gap: .5rem;
  max-width: 900px;
  width: 900px !important;
}
}



.audio-snippet {
  display: block;
  width: 100%;
  break-inside: avoid;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.8rem 0.2rem 1.6rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.15s ease;
  position: relative;
}

.audio-snippet::before {
  content: "▸";
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  color: #005a9c;
}

.audio-snippet:hover {
  background-color: #f4f4f4;
}

.audio-snippet__title {
  display: block;
  color: #005a9c;
  line-height: 1.4;
}


/* Prevent two-column layout regions from stacking vertically */
/* Desktop only */
@media (min-width: 769px) {
.layout--twocol-section {
  flex-wrap: nowrap;
}
}




/* ==================================================

   VIEWS VANILLA JAVASCRIPT SLIDESHOW (VVJS)

   ================================================== */

/* Create a fixed-height image area and center images within it */
.vvjs .vvjs-item-inner {
  height: 400px;
  width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vvjs .vvjs-item-inner img {
  display: block;
  margin: 0 auto;
  width: auto;
  max-width: 400px;
  max-height: 400px;
}
}

/* Map tweaks */
.marker-tid {
  display: none;
}



/* ==================================================
   Places content type
   ================================================== */

/* Match the Location field label to the site's H2 heading style. */

.field--name-field-location > .field__label {
  margin-top: 0;
  margin-bottom: .5rem;
  font-weight: 500;
  line-height: 1.2;
}

@media (min-width: 1200px) {
  .field--name-field-location > .field__label {
    font-size: 2rem;
  }
}



/* ==================================================
   grid changes
   ================================================== */

/* Style title links for front page grid cards. */
.grid-card__title a {
  color: #fff;
  text-decoration: none;
}




/* CARD WRAPPER (Views row class) */


.view-content {  /*grid for entire page */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(390px, 1fr));
  gap: 1.5rem;
}

.grid-card {
  position: relative;        /* anchor for overlay */
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

/* IMAGE WRAPPER */
.grid-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;  
  overflow: hidden;
}

/* IMAGE ITSELF */
.grid-card__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* OVERLAY BAND */
.grid-card__band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  z-index: 10;
}

/* OPTIONAL: text cleanup */
.grid-card__band h3,
.grid-card__band p {
  margin: 0;
  line-height: 1.25;
}



/* Cancel Bootstrap's default gutter padding on grid cards */
.grid-card.views-row {
  padding-left: 0;
  padding-right: 0;
}



/* Makes places Map span all grid columns so it's full screen */
.path-places .view-content > div {
  grid-column-start: 1;
  grid-column-end: -1;
}


/* Makes locations map span all grid columns so it's full width */
.path-locations .view-content > div {
  grid-column: 1 / -1;
}


/* Push the logo image down from the top of the navbar */
.navbar-brand img {
  padding-top: 100px;
}

