.filter-field {
  border: 1px solid rgba(0, 0, 0, 0.45);
  color: #000;
  background-color: rgba(255, 255, 255, 0.9);
  transition: border-color 0.2s ease;
}

.filter-field::placeholder {
  color: rgba(0, 0, 0, 0.55);
}

[data-bs-theme="dark"] .filter-field {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
  background-color: rgba(0, 0, 0, 0.2);
}

[data-bs-theme="dark"] .filter-field::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.filter-field:focus,
.filter-field:focus-visible,
.filter-field.show {
  border-color: var(--bs-primary) !important;
  box-shadow: 0 0 0 0.1rem rgba(var(--bs-primary-rgb), 0.25);
}

.portfolio-card-figure {
  border-radius: 0.75rem;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}

.portfolio-card-figure a {
  display: block;
  width: 100%;
  height: 100%;
}

.portfolio-card-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  transition: transform 0.35s ease;
  object-fit: cover;
  object-position: center;
}

.portfolio-card-image.is-portrait {
  object-fit: contain;
  background-color: rgba(0, 0, 0, 0.08);
}

[data-bs-theme="dark"] .portfolio-card-image.is-portrait {
  background-color: rgba(255, 255, 255, 0.12);
}

.portfolio-card-figure:hover .portfolio-card-image {
  transform: scale(1.02);
}

@supports not (aspect-ratio: 1) {
  .portfolio-card-figure {
    height: 0;
    padding-bottom: 56.25%;
  }

  .portfolio-card-figure a {
    position: absolute;
    inset: 0;
  }
}

.btn.portfolios-load-more-btn {
  --bs-btn-font-weight: 500;
  --bs-btn-border-width: 1px;
  --bs-btn-color: #000000;
  --bs-btn-border-color: #000000;
  --bs-btn-bg: transparent;
  --bs-btn-hover-color: #000;
  --bs-btn-hover-bg: rgba(0, 0, 0, 0.08);
  --bs-btn-hover-border-color: #000000;
  --bs-btn-focus-shadow-rgb: 0, 0, 0;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: rgba(0, 0, 0, 0.16);
  --bs-btn-active-border-color: #000000;
  --bs-btn-disabled-color: #000000;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #000000;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

[data-bs-theme="dark"] .btn.portfolios-load-more-btn {
  --bs-btn-color: #ffffff;
  --bs-btn-border-color: #ffffff;
  --bs-btn-bg: transparent;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.16);
  --bs-btn-hover-border-color: #ffffff;
  --bs-btn-focus-shadow-rgb: 255, 255, 255;
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: rgba(255, 255, 255, 0.22);
  --bs-btn-active-border-color: #ffffff;
  --bs-btn-disabled-color: #ffffff;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #ffffff;
}

.btn.portfolios-load-more-btn:disabled,
.btn.portfolios-load-more-btn.disabled {
  opacity: 1;
}
