/*!************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[3].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[3].use[3]!./src/blocks/image-gallery/style.scss ***!
  \************************************************************************************************************************************************************************************************************************************************************/
/*
@mixin fsz($size) {
    $fontOutput: calculateRem($size);
    font-size: $fontOutput + rem;
}
*/
.image-gallery {
  position: relative;
}
.image-gallery .container {
  max-width: 1440px;
  padding: 0 5px;
}

.image-gallery__description.entry-content {
  max-width: 770px;
  margin: 0 auto;
  font-size: var(--fs-16);
  line-height: 1.5;
  letter-spacing: -0.16px;
  overflow-wrap: break-word;
  color: rgba(var(--neutral-600), 1);
  padding: var(--gap8) 0;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .image-gallery__description.entry-content {
    padding: var(--gap4) 0;
  }
}
.image-gallery__description.entry-content p:not(:last-child) {
  margin-bottom: 32px;
}
@media screen and (max-width: 768px) {
  .image-gallery__description.entry-content p:not(:last-child) {
    margin-bottom: 20px;
  }
}

.image-gallery__grid--featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  gap: var(--gap1, 10px);
  min-width: 0;
}
@media screen and (max-width: 768px) {
  .image-gallery__grid--featured {
    gap: 5px;
  }
}
@media screen and (max-width: 640px) {
  .image-gallery__grid--featured {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.image-gallery__grid--featured .image-gallery__item {
  min-height: 0;
  overflow: hidden;
}

.image-gallery__grid--featured .image-gallery__item:nth-child(1) {
  grid-row: 1;
  grid-column: 1;
  aspect-ratio: 3/1;
}
@media screen and (max-width: 640px) {
  .image-gallery__grid--featured .image-gallery__item:nth-child(1) {
    grid-column: 1/-1;
    aspect-ratio: 2.5/1;
  }
}

.image-gallery__grid--featured .image-gallery__item:nth-child(2) {
  grid-row: 1;
  grid-column: 2;
  aspect-ratio: 3/1;
}
@media screen and (max-width: 640px) {
  .image-gallery__grid--featured .image-gallery__item:nth-child(2) {
    grid-row: 2;
    grid-column: 1/-1;
    aspect-ratio: 2.5/1;
  }
}

.image-gallery__grid--featured .image-gallery__item:nth-child(3) {
  grid-row: 2;
  grid-column: 1/-1;
  aspect-ratio: 2.33/1;
}
@media screen and (max-width: 640px) {
  .image-gallery__grid--featured .image-gallery__item:nth-child(3) {
    grid-row: 3;
    aspect-ratio: 16/9;
  }
}

.image-gallery__grid--featured .image-gallery__item:nth-child(4) {
  grid-row: 3;
  grid-column: 1;
  aspect-ratio: 3.5/1;
}
@media screen and (max-width: 640px) {
  .image-gallery__grid--featured .image-gallery__item:nth-child(4) {
    grid-row: 4;
    grid-column: 1/-1;
    aspect-ratio: 2.5/1;
  }
}

.image-gallery__grid--featured .image-gallery__item:nth-child(5) {
  grid-row: 3;
  grid-column: 2;
  aspect-ratio: 3.5/1;
}
@media screen and (max-width: 640px) {
  .image-gallery__grid--featured .image-gallery__item:nth-child(5) {
    grid-row: 5;
    grid-column: 1/-1;
    aspect-ratio: 2.5/1;
  }
}

.image-gallery__grid--rest {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.image-gallery__rest-row {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.image-gallery__rest-row:nth-child(1), .image-gallery__rest-row:nth-child(3) {
  grid-template-columns: 345px 1fr 1fr !important;
}
@media screen and (max-width: 1024px) {
  .image-gallery__rest-row:nth-child(1), .image-gallery__rest-row:nth-child(3) {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
}
@media screen and (max-width: 640px) {
  .image-gallery__rest-row:nth-child(1), .image-gallery__rest-row:nth-child(3) {
    grid-template-columns: 1fr !important;
  }
}

.image-gallery__rest-row[data-cols="3"] {
  grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 768px) {
  .image-gallery__rest-row[data-cols="3"] {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

.image-gallery__rest-row[data-cols="4"] {
  grid-template-columns: repeat(4, 1fr);
}
@media screen and (max-width: 960px) {
  .image-gallery__rest-row[data-cols="4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media screen and (max-width: 420px) {
  .image-gallery__rest-row[data-cols="4"] {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}

.image-gallery__grid--rest .image-gallery__item {
  height: auto;
  aspect-ratio: 16/9;
}
@media screen and (min-width: 768px) {
  .image-gallery__grid--rest .image-gallery__item {
    height: 253px;
    aspect-ratio: auto;
  }
}
@media screen and (min-width: 1360px) {
  .image-gallery__grid--rest .image-gallery__item {
    height: 300px;
  }
}
@media screen and (min-width: 1920px) {
  .image-gallery__grid--rest .image-gallery__item {
    height: 400px;
  }
}

@media screen and (max-width: 768px) {
  .image-gallery__rest-row[data-cols="4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media screen and (max-width: 640px) {
  .image-gallery__rest-row[data-cols="4"] {
    grid-template-columns: 1fr !important;
  }
}
.image-gallery__grid {
  gap: 5px;
}
@media screen and (max-width: 640px) {
  .image-gallery__grid {
    gap: 4px;
  }
}

.image-gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgb(var(--neutral-400));
}
.image-gallery__item:hover .image-gallery__item-img {
  transform: scale(1.05);
}
.image-gallery__item:hover .image-gallery__item-place {
  opacity: 1;
}

@media screen and (max-width: 640px) {
  .image-gallery__grid--featured .image-gallery__item {
    aspect-ratio: auto;
  }
}
.image-gallery__item-media {
  position: absolute;
  inset: 0;
}

@media screen and (max-width: 640px) {
  .image-gallery__grid--featured .image-gallery__item-media {
    position: relative;
    inset: auto;
    height: auto;
  }
}
.image-gallery__item-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

@media screen and (max-width: 640px) {
  .image-gallery__grid--featured .image-gallery__item-img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
    vertical-align: top;
  }
}
.image-gallery__item-place {
  font-size: 12px;
  color: rgb(var(--neutral-000));
  position: absolute;
  line-height: 1.5;
  letter-spacing: -0.128px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  padding: 11px 20px;
  border-radius: 99px;
  background: rgba(59, 59, 59, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  z-index: 1;
  transition: opacity 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 24px);
  width: -moz-max-content;
  width: max-content;
  gap: 8px;
  text-decoration: none;
  box-sizing: border-box;
  text-align: center;
  overflow-wrap: break-word;
}
@media screen and (max-width: 640px) {
  .image-gallery__item-place {
    padding: 8px 14px;
    font-size: 11px;
    bottom: 12px;
    max-width: calc(100% - 16px);
  }
}
.image-gallery__item-place:hover {
  color: rgb(var(--neutral-000));
}
.image-gallery__item-place .icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: rgb(var(--neutral-000));
}
@media screen and (max-width: 640px) {
  .image-gallery__item-place .icon {
    width: 16px;
    height: 16px;
  }
}

.image-gallery__item-media-link {
  display: block;
  text-decoration: none;
}

.image-gallery__col {
  padding: 0 5px;
}

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