.hero-media {
  position: relative;
  width: 94%;
  max-width: 980px;
  min-height: 0;
  margin-inline: auto;
}

.presentation-display {
  position: relative;
  width: 100%;
  padding: 0.72rem 0.72rem 0.62rem;
  overflow: hidden;
  border: 1px solid rgba(231, 197, 116, 0.42);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(120deg, #132a34 0%, #06141b 44%, #0b2029 100%);
  box-shadow:
    0 38px 100px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 42px rgba(39, 151, 202, 0.1);
  color: #f4f8f8;
}

.presentation-display :where(h1, h2, h3, h4, strong, b) {
  color: #ffffff;
}

.presentation-display :where(p, label) {
  color: #c8d8dc;
}

.presentation-display::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  pointer-events: none;
}

.presentation-display-head,
.presentation-display-foot {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #9eb4b9;
  font: 700 0.66rem/1.2 "Manrope", "Tajawal", sans-serif;
  letter-spacing: 0.1em;
}

.presentation-display-head {
  min-height: 36px;
  padding: 0 0.48rem 0.65rem;
}

.presentation-display-id {
  display: inline-flex;
  align-items: center;
  gap: 0.58rem;
}

.presentation-display-id b {
  color: #e9f1f2;
  font-size: inherit;
}

.presentation-display-light {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #42c283;
  box-shadow: 0 0 14px rgba(66, 194, 131, 0.92);
}

.presentation-display-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 13px;
  background: #01070a;
  box-shadow:
    0 0 0 4px #020a0e,
    0 0 0 5px rgba(255, 255, 255, 0.07),
    0 16px 40px rgba(0, 0, 0, 0.5);
}

.presentation-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  visibility: hidden;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 0.55s ease, transform 0.75s ease, visibility 0s linear 0.55s;
  pointer-events: none;
}

.presentation-slide.is-active {
  z-index: 1;
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
  pointer-events: auto;
}

.presentation-display .video-stage {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  aspect-ratio: auto;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #01070a;
  box-shadow: none;
}

.presentation-display .video-stage::before {
  height: 3px;
  opacity: 0.86;
}

.presentation-display .energy-film {
  object-fit: contain;
  background: #01070a;
}

.presentation-display .video-actions {
  position: absolute;
  z-index: 5;
  inset-inline-end: 0.8rem;
  bottom: 0.72rem;
  display: flex;
  gap: 0.42rem;
}

.presentation-display .video-actions .video-control,
.presentation-display .video-actions .video-sound-control {
  position: static;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(2, 16, 23, 0.86);
  color: #f4f8f8;
  font: 700 0.66rem "Manrope", "Tajawal", sans-serif;
  cursor: pointer;
}

.presentation-display .video-sound-control.is-active {
  border-color: rgba(101, 216, 237, 0.8);
  color: #8ee9f7;
}

.presentation-display .video-disclosure {
  position: absolute;
  z-index: 4;
  inset-inline-start: 0.8rem;
  bottom: 0.78rem;
  max-width: min(52%, 520px);
  padding: 0.38rem 0.56rem;
  border-radius: 6px;
  background: rgba(2, 16, 23, 0.8);
  color: #d8e5e7;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.45;
}

.presentation-display-foot {
  min-height: 34px;
  padding: 0.68rem 0.48rem 0;
  font-size: 0.58rem;
  color: #80989e;
}

.presentation-display-caption {
  color: #d7bd78;
}

.presentation-display-nav,
.presentation-display-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.presentation-display-nav > button {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #e6edef;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.presentation-display-dots button {
  width: 18px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.presentation-display-dots button.is-active {
  width: 32px;
  background: #42c283;
}

.display-post {
  display: grid;
  grid-template-columns: minmax(190px, 0.82fr) minmax(0, 1.18fr);
  align-items: stretch;
  isolation: isolate;
  color: #f6fafb;
  background:
    radial-gradient(circle at 12% 18%, rgba(41, 151, 204, 0.28), transparent 31%),
    linear-gradient(125deg, #05151d 0%, #0a2c3a 55%, #06161e 100%);
}

.display-post::before,
.display-post::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.display-post::before {
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.display-post::after {
  width: 36%;
  aspect-ratio: 1;
  inset-inline-end: -8%;
  bottom: -42%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.018), 0 0 0 110px rgba(255, 255, 255, 0.014);
}

.display-post-gold {
  background: radial-gradient(circle at 12% 18%, rgba(231, 197, 116, 0.28), transparent 31%), linear-gradient(125deg, #07151b, #203324 58%, #07161e);
}

.display-post-green {
  background: radial-gradient(circle at 12% 18%, rgba(66, 194, 131, 0.3), transparent 31%), linear-gradient(125deg, #06171c, #0c352e 58%, #07171e);
}

.display-post-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  place-items: center;
  align-content: center;
  gap: clamp(0.35rem, 1vw, 1rem);
  padding: clamp(1rem, 3vw, 2.8rem);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.12);
}

.display-post-visual small {
  position: absolute;
  top: clamp(0.8rem, 2vw, 1.5rem);
  inset-inline-start: clamp(0.8rem, 2vw, 1.5rem);
  color: #86d5f1;
  font: 800 clamp(0.62rem, 1vw, 0.82rem) "Manrope", sans-serif;
  letter-spacing: 0.16em;
}

.display-post-gold .display-post-visual small { color: #ead17f; }
.display-post-green .display-post-visual small { color: #84e5b2; }

.display-post-visual strong {
  font: 800 clamp(1.55rem, 4.4vw, 4rem)/1 "Manrope", sans-serif;
  letter-spacing: -0.06em;
}

.display-post-visual i {
  color: #7ad8f2;
  font: 400 clamp(1rem, 2.6vw, 2.2rem) "Manrope", sans-serif;
}

.display-post-gold .display-post-visual i { color: #ead17f; }
.display-post-green .display-post-visual i { color: #84e5b2; }

.display-post-copy {
  align-self: center;
  padding: clamp(1rem, 3.8vw, 3.6rem);
}

.display-post-copy > small {
  color: #78cde9;
  font: 800 clamp(0.58rem, 1vw, 0.74rem) "Manrope", sans-serif;
  letter-spacing: 0.12em;
}

.display-post-gold .display-post-copy > small { color: #e7ca70; }
.display-post-green .display-post-copy > small { color: #7cdfa9; }

.display-post-copy h2 {
  max-width: 650px;
  margin: 0.7rem 0 0.65rem;
  color: #fff;
  font-size: clamp(1.45rem, 3.4vw, 3.1rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.display-post-copy p {
  max-width: 660px;
  margin: 0;
  color: #e6f0f2;
  font-size: clamp(0.98rem, 1.55vw, 1.22rem);
  font-weight: 600;
  line-height: 1.65;
}

.display-post-copy a {
  display: inline-flex;
  margin-top: clamp(0.65rem, 1.6vw, 1.25rem);
  color: #fff;
  border-bottom: 1px solid currentColor;
  font-size: clamp(0.72rem, 1.1vw, 0.9rem);
  font-weight: 800;
}

.display-process-map {
  padding: clamp(0.35rem, 1vw, 0.8rem);
  background: radial-gradient(circle at 50% 30%, rgba(35, 137, 176, 0.18), transparent 55%), #031018;
}

.display-process-map > a {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

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

.display-process-map span {
  position: absolute;
  inset-inline-end: clamp(0.55rem, 1.4vw, 1.2rem);
  bottom: clamp(0.45rem, 1vw, 0.85rem);
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(2, 12, 17, 0.86);
  color: #f4d582;
  font-size: clamp(0.62rem, 1vw, 0.78rem);
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.presentation-display-stand {
  position: relative;
  width: min(38%, 380px);
  height: 30px;
  margin: 0 auto;
}

.presentation-display-stand::before {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  top: 0;
  width: 72px;
  height: 19px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #07161d, #29414a 48%, #07161d);
  clip-path: polygon(24% 0, 76% 0, 92% 100%, 8% 100%);
}

[dir="rtl"] .presentation-display-stand::before {
  transform: translateX(50%);
}

.presentation-display-stand span {
  position: absolute;
  inset-inline: 0;
  bottom: 2px;
  height: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: linear-gradient(180deg, #20343d, #030b0f);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

@media (max-width: 760px) {
  .hero-media {
    width: 100%;
    margin-top: 1.7rem;
  }

  .presentation-display {
    padding: 0.48rem;
    border-radius: 16px;
  }

  .presentation-display-head {
    min-height: 30px;
    padding: 0 0.3rem 0.45rem;
    font-size: 0.56rem;
  }

  .presentation-display-head > span {
    display: none;
  }

  .presentation-display-viewport {
    aspect-ratio: 16 / 9;
    border-radius: 9px;
  }

  .presentation-display-foot {
    min-height: 28px;
    padding: 0.52rem 0.3rem 0;
    letter-spacing: 0.05em;
  }

  .presentation-display-stand {
    width: 46%;
    height: 24px;
  }

  .display-post {
    grid-template-columns: 0.72fr 1.28fr;
  }

  .display-post-copy h2 {
    margin-block: 0.38rem;
  }

  .display-post-copy p {
    font-size: 0.92rem;
    line-height: 1.55;
  }
}

@media (max-width: 430px) {
  .presentation-display-id b {
    letter-spacing: 0.05em;
  }

  .presentation-display-viewport {
    aspect-ratio: 4 / 3;
  }

  .display-post {
    grid-template-columns: 1fr;
    grid-template-rows: 0.75fr 1.25fr;
  }

  .display-post-visual {
    border-inline-end: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.7rem 1rem 0.35rem;
  }

  .display-post-visual small {
    top: 0.55rem;
  }

  .display-post-copy {
    padding: 0.7rem 1rem 0.85rem;
  }

  .display-post-copy > small,
  .display-post-copy p {
    display: none;
  }

  .display-post-copy h2 {
    margin: 0;
    font-size: 1.24rem;
  }

  .presentation-display-caption {
    max-width: 48%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .display-process-map {
    padding: 0.25rem;
  }

  .presentation-display .video-disclosure {
    display: none;
  }

  .presentation-display .video-actions {
    inset-inline-end: 0.45rem;
    bottom: 0.42rem;
  }

  .presentation-display .video-actions .video-control,
  .presentation-display .video-actions .video-sound-control {
    min-height: 30px;
    padding: 0.34rem 0.48rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .presentation-display-light {
    box-shadow: none;
  }

  .presentation-slide {
    transition: none;
  }
}
