/* Modal wrapper: full-screen overlay */
.hawa-story-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: #000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: auto;
  padding: 0;
  margin: 0;
}

/* Inner layout: 2 kolom di desktop */
.story-inner {
  display: flex;
  flex-direction: row;
  width: 90%;
  max-width: 1000px;
  background: #111;
  border-radius: 10px;
  overflow: hidden;
}

/* Video sisi kiri */
.story-video {
  flex: 0 0 60%;
  position: relative;
  aspect-ratio: 9 / 16;
  background: #000;
}

.story-video iframe,
.story-video video {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* Konten sisi kanan */
.story-content {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  background: #111;
}

.story-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.story-body {
  max-height: 4.5em;
  overflow: hidden;
  position: relative;
  line-height: 1.5em;
  transition: max-height 0.3s ease;
}

.story-body.expanded {
  max-height: none;
}

.story-toggle {
  margin-top: 10px;
  display: inline-block;
  cursor: pointer;
  font-weight: bold;
  color: #bbb;
}

/* Tombol close */
.story-close {
  position: fixed;
  top: 16px;
  right: 16px;
  font-size: 24px;
  background: transparent;
  border: none;
  color: #fff;
  z-index: 10000;
  cursor: pointer;
}

/* Responsive mobile: 1 kolom */
@media (max-width: 768px) {
  .story-inner {
    flex-direction: column;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .story-video {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 9 / 16;
  }

  .story-content {
    flex: 1;
    padding: 16px;
    background: #111;
  }

  .story-title {
    font-size: 18px;
  }
}