.video-gallery-block {
  padding: 40px 0;
}
@media only screen and (max-width: 767px) {
  .video-gallery-block {
    padding: 30px 0;
  }
}

.video-gallery__controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
  justify-content: space-between;
}
@media only screen and (max-width: 767px) {
  .video-gallery__controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 24px;
  }
}

.video-gallery__filters {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
@media only screen and (max-width: 767px) {
  .video-gallery__filters {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }
}

.video-gallery__filter {
  position: relative;
}
@media only screen and (max-width: 767px) {
  .video-gallery__filter {
    width: 100%;
  }
}

.video-gallery__filter-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.625rem 1.25rem;
  background: #FAFAFA;
  border: none;
  border-radius: 30px;
  font-family: "Montserrat", sans-serif;
  line-height: 1.5;
  font-weight: 600;
  color: #0A1428;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}
@media only screen and (max-width: 767px) {
  .video-gallery__filter-toggle {
    width: 100%;
    justify-content: space-between;
  }
}
.video-gallery__filter-toggle:hover {
  border-color: rgba(10, 20, 40, 0.2);
  box-shadow: 0 2px 8px rgba(10, 20, 40, 0.08);
}
.video-gallery__filter-toggle .svg-icon {
  transition: transform 0.3s ease;
}
.is-open .video-gallery__filter-toggle .svg-icon {
  transform: rotate(180deg);
}

.video-gallery__filter-label {
  flex: 1;
}

.video-gallery__filter-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 450px;
  background: #FAFAFA;
  border: 1px solid rgba(10, 20, 40, 0.1);
  border-radius: 12px;
  padding: 1.875rem;
  box-shadow: 0 8px 24px rgba(10, 20, 40, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  gap: 1.25rem;
  align-items: flex-end;
}
@media only screen and (max-width: 767px) {
  .video-gallery__filter-dropdown {
    width: 100%;
    left: 0;
    right: 0;
  }
}
.video-gallery__filter-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.video-gallery__filter-apply {
  max-width: 88px;
}

.video-gallery__filter-checkboxes {
  display: flex;
  flex-direction: column;
  gap: 0.625rem 1.5625rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.video-gallery__filter-item {
  position: relative;
  padding-left: 47px;
  cursor: pointer;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 32px;
  overflow: hidden;
  color: #0A1428;
  display: block;
}
.video-gallery__filter-item .filter-checkbox {
  position: absolute;
  left: -9999px;
}
.video-gallery__filter-item .filter-checkbox ~ .filter-checkbox-item {
  position: absolute;
  width: 32px;
  height: 32px;
  top: 0;
  left: 0;
  background-color: rgba(98, 132, 200, 0.4);
  border-radius: 6px;
}
.video-gallery__filter-item .filter-checkbox ~ .filter-checkbox-item:after {
  content: "";
  position: absolute;
  width: 18px;
  height: 14px;
  top: 50%;
  left: 50%;
  margin: -7px 0 0 -9px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='18px' height='14px'%3E%3Cpath fill-rule='evenodd' fill='rgb(16, 31, 61)' d='M17.608,1.846 L7.367,12.072 L7.386,12.092 L6.122,13.353 L6.103,13.334 L6.084,13.353 L4.819,12.092 L4.839,12.072 L0.361,7.599 L1.623,6.338 L6.103,10.810 L16.345,0.585 L17.608,1.846 Z'/%3E%3C/svg%3E");
}
.video-gallery__filter-item .filter-checkbox:not(:checked) ~ .filter-checkbox-item:after {
  display: none;
}
.video-gallery__filter-item .filter-checkbox:checked ~ .filter-checkbox-item:after {
  display: block;
}
.video-gallery__filter-item .filter-checkbox-label {
  display: block;
}

.video-gallery__filter-apply {
  width: 100%;
  justify-content: center;
}

.video-gallery__search {
  position: relative;
  flex: 1;
  max-width: 300px;
}
@media only screen and (max-width: 767px) {
  .video-gallery__search {
    width: 100%;
    max-width: 100%;
  }
}
.video-gallery__search .svg-icon {
  position: absolute;
  left: 1rem;
  width: 1.5rem;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
  color: #0A1428;
  pointer-events: none;
}

.video-gallery__search-input {
  width: 100%;
  padding: 0.625rem 1.25rem 0.625rem 3rem;
  background: #FAFAFA;
  border: none;
  border-radius: 30px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
  font-weight: 600;
  color: #0A1428;
  transition: all 0.3s ease;
}
.video-gallery__search-input::placeholder {
  color: rgba(10, 20, 40, 0.4);
}
.video-gallery__search-input:focus {
  outline: none;
  border-color: rgba(10, 20, 40, 0.2);
  box-shadow: 0 2px 8px rgba(10, 20, 40, 0.08);
}

.video-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 2.5rem 1.25rem;
}
@media only screen and (max-width: 1350px) {
  .video-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media only screen and (max-width: 991px) {
  .video-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media only screen and (max-width: 767px) {
  .video-gallery__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 30px;
  }
}

.video-gallery__card {
  position: relative;
  cursor: pointer;
}
.video-gallery__card:hover .video-gallery__card-image::after {
  opacity: 1;
}
.video-gallery__card.is-hidden {
  display: none;
}
.video-gallery__card[data-media-type=image] .video-gallery__card-image::after, .video-gallery__card--no-media .video-gallery__card-image::after {
  display: none;
}
.video-gallery__card--no-media {
  cursor: default;
}

.video-gallery__card-image {
  aspect-ratio: 1;
  border-radius: 1.875rem;
  position: relative;
  overflow: hidden;
}
.video-gallery__card-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='81' viewBox='0 0 80 81' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 0C17.9086 0 0 18.0417 0 40.2974C0 62.553 17.9086 80.5947 40 80.5947C62.0914 80.5947 80 62.553 80 40.2974C79.9766 18.0517 62.0817 0.0237804 40 0ZM56.8456 41.5813C56.5687 42.1409 56.1185 42.5946 55.5629 42.8736V42.8879L32.7057 54.4015C31.2941 55.112 29.5782 54.5354 28.8727 53.1133C28.6721 52.709 28.5688 52.2628 28.5714 51.811V28.7839C28.5707 27.1942 29.8492 25.905 31.4272 25.9041C31.871 25.904 32.3088 26.0078 32.7057 26.2077L55.5629 37.7213C56.9751 38.4303 57.5495 40.1585 56.8456 41.5813Z' fill='white'/%3E%3C/svg%3E%0A");
  background-size: 5rem 5.0625rem;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(10, 20, 40, 0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 1.875rem;
  z-index: 1;
}
.video-gallery__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.875rem;
}

.video-gallery__card-tags {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  pointer-events: none;
}

.video-gallery__card-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  text-transform: capitalize;
  letter-spacing: 0.2px;
  line-height: 1.2;
  padding: 0.3125rem 0.625rem;
  border-radius: 1.25rem;
  background: #0a1428;
  color: var(--video-tag-color, #FAFAFA);
}

.video-gallery__card-content {
  padding: 1.5625rem 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video-gallery__card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-left: auto;
}

.video-gallery__card-category {
  display: inline-block;
  padding: 0.1875rem 0.625rem;
  background: rgba(98, 132, 200, 0.4);
  border-radius: 21px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.84375rem;
  font-weight: 600;
  color: #FAFAFA;
}

.video-gallery__card-logo {
  width: 4.0625rem;
  height: 2.5rem;
  background: #FAFAFA;
  border-radius: 0.625rem;
  padding: 0.3125rem;
}
.video-gallery__card-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-gallery__load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.video-gallery__load-more {
  min-width: 200px;
}
.video-gallery__load-more.is-loading {
  opacity: 0.6;
  pointer-events: none;
}
.video-gallery__load-more.is-loading .btn__text::after {
  content: "...";
  animation: dots 1.5s infinite;
}
@media only screen and (max-width: 767px) {
  .video-gallery__load-more {
    width: 100%;
  }
}

@keyframes dots {
  0%, 20% {
    content: ".";
  }
  40% {
    content: "..";
  }
  60%, 100% {
    content: "...";
  }
}
.video-gallery__no-results {
  text-align: center;
  padding: 60px 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
  color: #FFDD0C;
  grid-column: span 4;
}
@media only screen and (max-width: 767px) {
  .video-gallery__no-results {
    padding: 40px 20px;
  }
}

.video-gallery-block.is-loading {
  position: relative;
}
.video-gallery-block.is-loading .video-gallery__grid {
  opacity: 0.3;
  pointer-events: none;
}
.video-gallery-block.is-loading::after {
  content: "Loading...";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: "Montserrat", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #0A1428;
  z-index: 10;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/*# sourceMappingURL=style.css.map */
