/* Single Realisation Page Styles */ 

/* Block 1: Hero Section - Full width image */
.section-hero-single {
  width: 100%;
  overflow: hidden;
  background-size: cover;
  position: relative;
  background-position: center;
    height: 35vw;
    display: flex;
    align-items: center;
    justify-content: center;
}
.realisation-title {
      width: 35vw;
    max-height: 20vw;
    max-width: 400px;
    object-fit: contain;
    margin-top: 5vw;
}
/* Block 2: Content Section */
.section-content-single {
  padding: 50px 0 160px;
  background-color: #FAF7F0;
  width: 100%;
}

.section-content-single .content-wrapper.container {
  display: grid;
  max-width: 1180px;
  padding: 0 0 0 0;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left Column: Tags + Content */
.content-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Tags */
.content-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
}

.content-tags .tag-item {
 background-color: #fff;
    border: 1px solid #fff;
    padding: 12px 25px 10px;
    font-size: 15px;
  font-family: 'Archivo';
  color: #0C0400;
  text-transform: uppercase;
  text-align: left;
  border-radius: 15px;
}

/* Content Text */
.content-text {
  
  color: #0C0400;
}

.content-text p {
  margin-bottom: 22px;
  font-size: 18px;
  line-height: 26px;
}

.content-text h2,
.content-text h3 {
  font-family: 'Instrumentserif';
  font-weight: 400;
  margin-bottom: 16px;
  margin-top: 24px;
}

.content-text h2 {
  font-size: 24px;
}

.content-text h3 {
  font-size: 20px;
}

/* Right Column: Image */
.content-image {
  width: 100%;
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Block 3: Gallery Section */
.section-gallery-single {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.gallery-wrapper {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  background-color: #fff;
  padding: 0 0 60px;
}

.gallery-container {
  width: 100%;
  max-width: 100%;
  height: 36vw;
  margin: 0 auto;
  padding: 0 0px;
}

.gallery-container img {
  width: 100%;
  height: auto;
  display: block;
  object-position: center;
      object-fit: cover;
}

.section-gallery-single .green-divider {
   background-image: url('../img/bg-green2.webp');
  position: relative;
  z-index: 2;
  margin-top: -7vw;
}

/* Mobile Styles */
@media only screen and (max-width: 767px) {
  /* Block 1: Hero Section */
  .section-hero-single {
    height: 100vw;
  }
  .realisation-title {
    width: 70vw;
    max-height: 40vw;
    margin-top: 10vw;
  }
  /* Block 2: Content Section */
  .section-content-single {
    padding: 10vw 0 15vw;
  }

  .section-content-single .content-wrapper.container {
    grid-template-columns: 1fr;
    gap: 8vw;
    padding: 0 6vw;
  }

  .content-left {
    gap: 6vw;
  }

  .content-tags {
    gap: 2vw;
  }

  .content-tags .tag-item {
    font-size: 3.2vw;
    padding: 2vw 4vw;
  }
  .content-text p {
    font-size: 3.8vw;
    line-height: 6vw;
    margin-bottom: 4vw;
  }

  .content-text h2 {
    font-size: 5.5vw;
    margin-top: 6vw;
    margin-bottom: 3vw;
  }

  .content-text h3 {
    font-size: 4.5vw;
    margin-top: 5vw;
    margin-bottom: 2vw;
  }

  .content-image {
    width: 100%;
  }

  /* Block 3: Gallery Section - Draggable */
  .section-gallery-single {
    overflow: visible;
  }

  .section-gallery-single .green-divider {
    margin-top: -18vw;
  }

  .gallery-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
  }

  .gallery-wrapper.dragging {
    cursor: grabbing;
  }

  .gallery-container {
    width: auto;
    height: unset;
    max-width: none;
    padding: 0 0vw;
  }

  .gallery-container img {
    width: auto;
    height: 120vw;
    max-width: none;
    object-fit: cover;
    display: block;
    pointer-events: none;
  }

  /* Hide scrollbar but keep functionality */
  .gallery-wrapper::-webkit-scrollbar {
    display: none;
  }

  .gallery-wrapper {
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 0 0 8vw;
  }
}
