

.fa-add-header-offset {
  margin-top: calc(var(--header-height) + 32px );
}

.fa-section-banner {
    text-align: left;
    text-transform: uppercase;

    width: min(var(--min-page-width), 100%);
    margin: 16px auto 30px auto;
    padding: 0 20px;

    font-family: 'WestwingMono', serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: #121212;
}

/* Ligne */
.fa-section-banner::after {
    content: "";
    display: block;
    width: 60px;
    height: 1px;
    background: #121212;
    margin-top: 10px;
}

.filtered-gallery-heading {
  display: flex;
  align-items: center;
  position: relative;
  box-sizing: border-box;
  padding-right: 128px;
  padding-bottom: 14px;
}

.filtered-gallery-heading::after {
  position: absolute;
  left: 20px;
  bottom: 0;
  margin-top: 0;
}

.filtered-gallery-heading .studio-gallery-switch {
  position: absolute;
  right: min(20px, calc((var(--min-page-width) - 100vw) / 2 + 20px));
  top: 0;
  margin-left: 0;
}

.banner-overlay {
  padding-bottom: 12px;
}

.fa-search-status {
  width: min(var(--min-page-width), 100%);
  margin: 0 auto;
  padding: 0 20px;
}

.fa-search-status .search-active-tag {
  margin: 0;
}

#search-active-tag-slot #results-badge:not(:empty) {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

#search-active-tag-slot .search-active-tag,
#search-active-tag-slot .search-active-tag.visible {
  display: none !important;
}

#gallery-filtered-section #gallery-filtered-rows {
  display: none;
}

.search-results-loader {
  display: none;
  width: min(var(--min-page-width), 100%);
  min-height: clamp(280px, 42vh, 420px);
  margin: 0 auto;
  padding: 12px 20px 48px;
  align-items: center;
  justify-content: center;
}

html.search-results-loading .search-results-loader {
  display: flex;
}

html.search-results-loading #gallery-filtered-section {
  display: block !important;
}

html.search-results-loading #gallery-filtered-section > #editorial-gallery-section,
html.search-results-loading #gallery-filtered-section > #gallery-filtered-rows,
html.search-results-loading #gallery-filtered-section > #studio-global-gallery-section {
  display: none !important;
}

.search-results-loader-card {
  width: min(420px, 100%);
  padding: 36px 28px;
  border: 1px solid rgba(18, 18, 18, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.95), rgba(245, 242, 236, 0.98)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 241, 232, 0.92));
  box-shadow: 0 24px 60px rgba(18, 18, 18, 0.08);
  text-align: center;
}

.search-results-loader-visual {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
}

.search-results-loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 3px solid rgba(18, 18, 18, 0.08);
  border-top-color: rgba(18, 18, 18, 0.85);
  animation: fa-loader-spin 0.95s linear infinite;
}

.search-results-loader-star {
  width: 28px;
  height: 28px;
  fill: #121212;
  animation: fa-loader-pulse 1.25s ease-in-out infinite;
}

.search-results-loader-title {
  margin: 0;
  font-family: 'WestwingMono', serif;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #121212;
}

.search-results-loader-copy {
  margin: 12px 0 0;
  /*font-family: 'WestwingGaisyr', serif;*/
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(18, 18, 18, 0.7);
}

@keyframes fa-loader-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fa-loader-pulse {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.72;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .filtered-gallery-heading {
    padding-left: 16px;
    padding-right: 112px;
  }

  .filtered-gallery-heading::after {
    left: 16px;
  }

  .filtered-gallery-heading .studio-gallery-switch {
    right: 16px;
  }

  .search-results-loader {
    min-height: 240px;
    padding-bottom: 32px;
  }

  .search-results-loader-card {
    border-radius: 22px;
    padding: 28px 22px;
  }

  .search-results-loader-title {
    font-size: 0.92rem;
  }

  .search-results-loader-copy {
    font-size: 0.94rem;
  }
}
