.hubdb-gallery-full{
  scroll-margin-top:160px;
}
.hubdb__not-found-results{
  color:var(--secondary)
}

{#******* STATUS / INFINITE SCROLL *******#}
.hubdb-full__status{
  text-align: center;
  color: var(--secondary);
  margin: 32px auto;
}
.hubdb-full__load-more.button {
  display: flex;
  justify-content: center;
  margin: 0 auto 32px;
  width: fit-content;
}
.hubdb-full__sentinel{
  height: 1px;
}

{#******* CARD *******#}
.hubdb-full__container{
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}
.photo-card {
  width: 100%;
  height: 250px;
}

.photo-card__media {
  background: #f4f1ed;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}

.photo-card__image {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
  width: 100%;
}

.photo-card__download {
  align-items: center;
  background: rgb(255 255 255 / 0.72);
  color: inherit;
  display: flex;
  inset: 0;
  justify-content: center;
  letter-spacing: 0.12em;
  opacity: 0;
  position: absolute;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 200ms ease;
}

.photo-card__media:hover .photo-card__download,
.photo-card__media:focus-within .photo-card__download {
  opacity: 1;
}

.photo-card__media:hover .photo-card__image {
  transform: scale(1.025);
}

{#*************** MEDIA QUERYS ***************#}
@media screen and (max-width: 992px){
  /* `.hubdb-full__card { height: fit-content }` below also matches the photo cards,
     which carry both classes, and it overrides `.photo-card { height: 250px }`.
     That let every card size itself to its own photo, so at 2 columns the cards
     came out at different heights. A ratio keeps them uniform and lets them
     scale with the wider column instead of staying at a squat 250px. */
  .hubdb-full__card.photo-card{
    aspect-ratio: 4 / 3;
    height: auto;
  }
  .hubdb-full__card{
    margin: 0 auto;
    height: fit-content;
    flex-direction: column;
    align-items: stretch;
    max-width: 818px;
    width: 100%;
  }
}

.gallery-category-toolbar {
  align-items: center;
  background: #f4efe6;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 24px;
  padding: 12px 20px;
}
.gallery-category-toolbar__categories {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
/* .gallery-category-toolbar__* buttons are real <button> elements (for keyboard/screen-reader
   support), so the theme's global "button, .button, .hs-button" skin in css/_buttons.css also
   matches them. These resets neutralize that global chrome (its ::before/::after pseudo-elements
   in particular are `position: absolute`, which would otherwise pull our own "•" separator out of
   normal text flow and make it collapse against the previous button). */
.gallery-category-toolbar__category-button {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  letter-spacing: .08em;
  padding: 0 8px;
  position: static;
  transform: none;
}
.gallery-category-toolbar__category-button::before,
.gallery-category-toolbar__category-button::after {
  content: none;
}
.gallery-category-toolbar__category-button + .gallery-category-toolbar__category-button::before {
  content: none;
  margin-right: 16px;
  position: static;
  text-decoration: none;
}
.gallery-category-toolbar__category-button[aria-pressed="true"] {
  border-bottom: 2px solid currentColor;
}
.gallery-category-toolbar__download-row {
  display: flex;
  flex-basis: 100%;
  justify-content: center;
  margin-top: 10px;
}

.gallery-category-toolbar__download-button {
  cursor: pointer;
  font-size: 12px;
}

.gallery-category-toolbar__download-button[disabled] { cursor: wait; opacity: .65; }
