.smotes-cms-exemples {
  width: auto;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 40px 10vw;
  background: #f6f1ea;
  font-family: "Open Sans", Arial, sans-serif;
  box-sizing: border-box;
  overflow: visible;
}

.smotes-cms-exemples__title {
  margin: 0 0 28px;
  text-align: center;
  line-height: 1;
}

.smotes-cms-exemples__title-small,
.smotes-cms-exemples__title-large {
  font-family: "Sweet Candy", cursive;
  font-weight: normal;
}

.smotes-cms-exemples__title-small {
  font-size: clamp(44px, 4vw, 88px);
  color: #2f2f2f;
}

.smotes-cms-exemples__title-large {
  font-size: clamp(56px, 5vw, 116px);
  color: #e8943a;
}

.smotes-cms-exemples__subtitle {
  display: block;
  margin-top: 8px;
  font-size: clamp(18px, 1.7vw, 28px);
  font-weight: 700;
  color: #86543a;
}

.smotes-cms-exemples__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.smotes-cms-exemples__grid--videos {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.smotes-cms-exemples__videos-block {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 2px solid rgba(134, 84, 58, 0.18);
}

.smotes-cms-exemples__item {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.smotes-cms-exemples__media {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #ece2d5;
  border: 0;
}

.smotes-cms-exemples__media--video {
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.smotes-cms-exemples__zoom {
  display: block;
}

.smotes-cms-exemples__caption {
  margin: 0;
  padding: 12px 14px 14px;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  color: #5d3e2e;
}

body#cms .smotes-cms-exemples .smotes-cms-exemples__videos-title {
  display: block;
  margin: 0 0 18px;
  text-align: center;
  font-size: clamp(54px, 4.8vw, 110px) !important;
  line-height: 0.95 !important;
  color: #e8943a !important;
  font-family: "Sweet Candy", cursive !important;
  font-weight: normal !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

.smotes-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.smotes-lightbox.is-open {
  display: flex;
}

.smotes-lightbox__img {
  max-width: min(92vw, 1200px);
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.smotes-lightbox__caption {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  max-width: 90vw;
}

.smotes-lightbox__close {
  position: fixed;
  top: 14px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}

.smotes-lightbox__nav {
  position: fixed !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 72px !important;
  height: 72px !important;
  min-width: 72px !important;
  min-height: 72px !important;
  border: 0 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 54px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  color: #fff !important;
  background: rgba(0, 0, 0, 0.38) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 10001 !important;
  padding: 0 !important;
}

.smotes-lightbox__nav--prev {
  left: 26px !important;
  right: auto !important;
}

.smotes-lightbox__nav--next {
  right: 26px !important;
  left: auto !important;
}

.smotes-lightbox__nav:hover,
.smotes-lightbox__close:hover {
  background: rgba(0, 0, 0, 0.56) !important;
}

@media (max-width: 640px) {
  .smotes-lightbox__nav {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    font-size: 42px !important;
  }

  .smotes-lightbox__nav--prev {
    left: 10px !important;
  }

  .smotes-lightbox__nav--next {
    right: 10px !important;
  }
}

@media (max-width: 1100px) {
  .smotes-cms-exemples {
    padding: 34px 10vw 56px;
  }

  .smotes-cms-exemples__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .smotes-cms-exemples {
    padding: 28px 10vw 44px;
  }

  .smotes-cms-exemples__grid {
    grid-template-columns: 1fr;
  }

  .smotes-cms-exemples__grid--videos {
    grid-template-columns: 1fr;
  }
}
