/* Gallery body, matched to the old amigosportfishing.com photo gallery (main-area box, bordered photo cards, dark Load More). */
.amigo-gallery-area {
  max-width: 1180px;
  background: #f0f0f0;
  box-shadow: 0 0 12.8px 1.6px rgba(0, 0, 0, .25);
  padding: 72px;
  color: #333;
}
.amigo-gallery-inner { padding: 16px; }
.amigo-gallery-area h2 {
  font-family: "helveticaNeue", Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 36px;
  line-height: 40px;
  color: #013832;
  text-align: center;
  margin: 0 0 8px;
}
.amigo-gallery-row { --bs-gutter-x: 30px; }
.amigo-photo {
  padding: 4px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  margin-bottom: 30px;
  line-height: 20px;
  color: #333;
  display: inline-block;
  max-width: 100%;
  width: auto;
}
.amigo-photo img { display: block; margin: 5px 0; max-width: 100%; height: auto; }
.amigo-photo-weight { font-weight: bold; font-size: 1.5em; text-align: center; }
.amigo-photo-title { font-weight: bold; font-size: 1.2em; text-align: center; }
.amigo-photo-comments { font-size: .9em; text-align: center; }
.amigo-photo-credits { font-size: .8em; font-style: italic; text-align: center; margin-top: 5px; }
.amigo-load-more {
  background: #333;
  border: 1px solid #333;
  color: #fff;
  border-radius: 0;
  font-family: "annual", Arial, Helvetica, sans-serif;
  font-size: 13px;
  min-width: 274px;
  padding: 6px 20px;
  line-height: 40px;
  word-spacing: 1px;
}
.amigo-load-more:hover { background: #202020; border-color: #202020; color: #fff; }
@media (max-width: 767.98px) {
  .amigo-gallery-area { padding: 16px; max-width: none; }
  .amigo-gallery-area h2 { font-size: 24px; line-height: 28px; }
  .amigo-load-more { min-width: 0; width: 250px; padding: 10px; line-height: 40px; }
}

/* Search bar, as the old page: left-aligned, the "Search By" choice, one control at a time, a plain-text Search button. */
.amigo-gallery-search { display: flex; flex-wrap: wrap; align-items: center; margin: 0; }
.amigo-gs-field { display: flex; align-items: center; min-width: 0; margin: 0; }
.amigo-gs-field label { margin: 0; font-weight: 400; color: #000; }
.amigo-gs-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.amigo-gallery-search select,
.amigo-gallery-search input[type=number] { background: #fff; border: 1px solid #ced4da; border-radius: 4px; height: 38px; padding: 6px 12px; color: #495057; font-size: 16px; line-height: 24px; }
.amigo-gallery-search select[name=search_by] { margin-right: 5px; }
.amigo-gallery-search .amigo-gs-ctl[data-for=date], .amigo-gallery-search .amigo-gs-ctl[data-for=fish] { width: 200px; }
.amigo-gallery-search .select2-container { width: 100% !important; }
.amigo-gallery-search .select2-container--default .select2-selection--single { border: 1px solid #aaa; border-radius: 4px; background: #fff; }
.amigo-gallery-search .select2-dropdown { border: 1px solid #aaa; background: #fff; }
.amigo-gallery-search .select2-container--default .select2-results__option--highlighted[aria-selected],
.amigo-gallery-search .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable { background: #5897fb; color: #fff; }
.amigo-gs-button { background: #f0f0f0; border: 1px solid #f0f0f0; color: #212529; border-radius: 0; padding: 6px 20px; margin-left: 5px; line-height: 40px; }
.amigo-gs-button:hover { background: #ddd; border-color: #ddd; color: #212529; }
@media (max-width: 767.98px) {
  .amigo-gs-field { display: block; }
  .amigo-gs-field:not(:last-child) { margin-bottom: 12px; }
  .amigo-gs-field label { margin-bottom: 8px; }
  .amigo-gallery-search select[name=search_by] { width: 126px; }
}

/* Lightbox links wrap the photo; a search or Load More in flight dims the results. */
.amigo-photo-link { display: block; cursor: zoom-in; }
.amigo-photo-link:focus-visible { outline: 3px solid #5897fb; outline-offset: 2px; }
.amigo-busy ~ .amigo-gallery-row { opacity: .6; }
