/*l'nuey collection stuff*/
.lva .view-grid > .view-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* margin: 0.47214rem 0 0.47214rem 2.61803rem; */
}
.lva .grid-item__image {
  margin: 0;
  /*height: 274px;*/
  background: #ece8e3;
  overflow: hidden;
  img {
    border: 1px solid #ccc;
  }
}
.node--type-islandora-object .field--label-inline > .field__item {
  display: table;
}
.lva iframe.pdf {
  height: 1000px;
  border: 1px solid #ccc;
}

/*=======================*/
/*disclaimer*/
details {
  margin: 1rem 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

summary {
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  cursor: pointer;
  font-weight: 600;
  list-style: none; /* removes default marker */
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
} /* Chrome/Safari */

summary::after {
  content: "▼";
  position: absolute;
  right: 1.5rem;
  transition: transform 0.3s;
}

details[open] summary::after {
  transform: rotate(180deg);
}

details > .content {
  padding: 0 1.5rem 1.5rem;
  background: white;
}

/* Optional: smooth height animation (works well in 2025+ browsers) */
details > .content {
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

details[open] > .content {
  max-height: 1000px; /* large enough for your content */
  padding: 1.5rem;
}
/*=======================*/
div#block-olivespostcards-documenttype .block__title {
  line-height: 1;
}
div#block-olivespostcards-solrsearchcontentsearchresultspagerforblock {
  margin: 0;
}
.mirador76 {
  display: none !important;
}
div#block-olivespostcards-solrsearchcontentadvancedsearchforblock h2 {
  line-height: 1;
}
.facets-widget-links ul {
  li {
    margin-bottom: 3px;
  }
  list-style-type: none;
  margin-left: 0;

  span.facet-item__count {
    font-weight: 600;
  }
}
div#block-views-block-media-display-blocks-source {
  margin-block-end: 0;
}
.site-branding__name a {
  color: inherit;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.site-branding__slogan a {
  color: inherit;
  font-size: clamp(1rem, 3vw, 1.5rem);
}
.region--sidebar .block {
  border: 1px solid #ccc;
}
.node--type-islandora-object {
  .field {
    margin: 0;
    border-bottom: 1px dotted #ccc;
    padding-top: 8px;
    padding-bottom: 5px;
  }
  .field__label {
    width: 250px;
  }
}
.page-node-type-islandora-object {
  .region--content {
    margin-block-end: 0 !important;
  }
}
.field--name-field-abstract,
.field--name-field-note,
.field.field--name-field-rights {
  display: flex;
  .field__items {
    float: none;
  }
  .field__label {
    flex: none;
  }
  .field__item {
    line-height: 1.6;
  }
}
div#block-citation-select-block {
  margin: 0;
  margin-bottom: 1em;
  margin-top: 3em;
  input {
    margin: 0 1em;
  }
}

div#block-mirador-block {
  margin-bottom: 0;
}
div#formatted-bibliography .csl-bib-body {
  background: #eeeeee;
  padding: 5px;
  border: 1px dotted #ccc;
}
/*collection grid*/
.grid-item {
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0px 5px 11px -2px rgb(0 0 0 / 39%);
  /*background: #ece8e3;*/
  .grid-item__image {
    margin: 0;
    /*height: 180px;*/
    background: #ece8e3;
    overflow: hidden;
    img {
      width: 100%;
    }
  }
  .views-field-field-abstract,
  .abstract {
    /* line-height: 1.4; */
    display: block;
    /* line-height: 1.4; */
    line-height: 1.4;
    margin-bottom: 5px;
    font-size: 0.9em;
    color: var(--color-text-neutral-medium);
    a.views-more-link {
      text-decoration: underline;
    }
  }
  .grid-item__title {
    display: block;
    padding: 0.5em 0;
    /* text-align: center; */
    line-height: 1.2;
    margin: 5px 0 6px 0;
    /* height: 3em; */
    /* background: #fff; */
    font-weight: bold;
    border-bottom: 1px dotted #574938;

    a {
      text-decoration: none;
      font-family: var(--font-serif);
      /*font-size: var(--font-size-l);*/
      color: #574938;
    }
  }

  .views-field-member-of-title {
    line-height: 1.2;
    .field__label {
      font-size: 0.9em;
      font-family: var(--font-serif);
      color: #574938;
    }
    .field__item {
      font-size: 0.9em;
    }
  }
}
#toggle-facets {
  background-color: #574938;
}
nav.pager {
  display: flex;
  justify-content: space-around;
}
.views-field.views-field-dc-description a {
  /* color: black; */
  text-decoration: none;
  color: var(--color-text-neutral-medium);
}
