.utk-gallery-body {
  background: #e8f8fd;
}

.utk-gallery-page {
  overflow: hidden;
  background: transparent;
}

.utk-gallery {
  padding: clamp(56px, 7vw, 88px) 0 clamp(72px, 9vw, 112px);
}

.utk-gallery__inner {
  width: min(100% - 40px, 1180px);
  margin-inline: auto;
}

.utk-gallery__heading {
  margin-bottom: clamp(32px, 4vw, 48px);
  text-align: center;
}

.utk-gallery__label {
  margin: 0 0 12px;
  color: #ee4b9b;
  font-family: var(--utk-font-rounded);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .04em;
}

.utk-gallery__heading p:last-child {
  margin: 0;
  color: #30231f;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.8;
}

.utk-gallery__mobile-break {
  display: none;
}

.utk-gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.utk-gallery__item {
  min-width: 0;
  margin: 0;
  padding: 10px;
  border: 1px solid rgb(8 127 167 / 12%);
  border-radius: 22px;
  background: rgb(255 255 255 / 88%);
  box-shadow: 0 3px 0 rgb(8 127 167 / 10%);
}

.utk-gallery__photo {
  display: grid;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  place-items: center;
  border-radius: 15px;
  background: #171717;
}

.utk-gallery__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.utk-gallery__empty {
  margin: 0;
  text-align: center;
  font-weight: 700;
  line-height: 1.8;
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .utk-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 767px) {
  .utk-gallery {
    padding-top: 48px;
  }

  .utk-gallery__inner {
    width: min(100% - 32px, 560px);
  }

  .utk-gallery__label {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .utk-gallery__heading p:last-child {
    font-size: 1rem;
    line-height: 1.7;
  }

  .utk-gallery__mobile-break {
    display: block;
  }

  .utk-gallery__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .utk-gallery__item {
    padding: 8px;
    border-radius: 18px;
  }

  .utk-gallery__photo {
    border-radius: 12px;
  }
}
