/*****************************************************************************/
/* OPI-2025 - stred box */

.OPI-2025-stred_box-banner {
  height: auto;
}

.OPI-2025-stred_box-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  box-sizing: border-box;
  height: 495px;
}

.OPI-2025-stred_box-box {
  position: relative;
  width: 50%;
  height: 495px;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px;
  color: white;
  z-index: 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right bottom;
}

/* LEFT BOX */
.OPI-2025-stred_box-left {
  padding: 0;
}

/* RIGHT BOX */
.OPI-2025-stred_box-right {
  background-image: url('https://cdn.myshoptet.com/usr/www.opishop.cz/user/documents/upload/2025/GELevate/GES-2025-stred_box-m-5.jpg');
  text-align: right;
  align-items: flex-end;
}

.OPI-2025-stred_box-right .OPI-2025-stred_box-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* COMMON VIDEO STYLES */
.OPI-2025-stred_box-video-wrapper {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.OPI-2025-stred_box-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

/* DEFAULT: Hide both video versions */
.OPI-2025-stred_box-video-desktop,
.OPI-2025-stred_box-video-mobile {
  display: none;
}

/* Video content layer */
.OPI-2025-stred_box-content {
  position: absolute;
  top: 0;
  left: 0;
  padding: 40px;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  z-index: 2;
}

/* Desktop */
@media (min-width: 769px) {
  .OPI-2025-stred_box-video-desktop {
    display: block;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .OPI-2025-stred_box-container {
    flex-direction: column;
    height: auto;
    margin: 0 20px;
  }

  .OPI-2025-stred_box-box {
    width: 100%;
    padding: 20px;
  }

  .OPI-2025-stred_box-left {
    background-image: none;
  }

  .OPI-2025-stred_box-video-mobile {
    display: block;
  }

  .OPI-2025-stred_box-content {
    padding: 20px;
  }

  .OPI-2025-stred_box-subtext {
    max-width: 280px;
  }

}

/* Text & Button Styles */
.OPI-2025-stred_box-text-large {
  font-size: 32px;
  font-weight: 300;
  line-height: 40px;
  margin: 0;
  text-align: left;
}

.OPI-2025-stred_box-label {
  display: inline-block;
  padding: 0px 15px;
  background-color: #000;
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  line-height: 54px;
  margin: 0 0 5px 0;
  white-space: pre-line; /* Allow manual line breaks if added via <br> */
}

.OPI-2025-stred_box-subtext {
  max-width: 340px;
  margin: 0 0 15px 0;
  line-height: 28px;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 1px;
}

.OPI-2025-stred_box-event-info {
  line-height: 40px;
  font-weight: 400;
  margin: 0;
}

.OPI-2025-stred_box-pill {
  display: inline-block;
  padding: 0px 15px;
  background-color: #ef2665;
  color: #fff;
  margin: 0 5px 5px 0;
}

/* Button */
.OPI-2025-stred_box-button {
  width: fit-content;
  padding: 10px 25px;
  background-color: #fff;
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6rem;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.OPI-2025-stred_box-button:hover {
  background-color: #1066E6;
}