/* === MOBILE-FIRST STYLES: MEDIA-LEFT SECTION ================ */

/* Wrapper section layout */
.media-left {
  display: flex;
  flex-direction: column;           /* heading → image → text */
}

/* Heading (mobile) */
.media-left__heading {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-blue);
  text-transform: uppercase;
  font-size: clamp(28px, 8vw, 48px);
  margin: 2rem 1.5rem;
}

/* --- Order & spacing -------------------------------------- */
.media-left__wrapper {
  display: flex;
  flex-direction: column;           /* image first, text below */
  gap: 2rem;                        /* space between image and copy */
}

/* Image block */
.media-left__image {
  margin: 0 1.5rem;                 /* white space left / right */
  max-height: 75vh;                 /* keep image reasonable */
  overflow: hidden;
}
.media-left__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Text content */
.media-left__content {
  margin: 0 1.5rem 3rem;
  font-size: 1rem;
  line-height: 1.6;
}

.steps {
  list-style: none;
  padding: 0;
}
.steps li {
  margin-bottom: 1rem;
}

.subheading {
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  color: var(--color-blue);
}

.media-left__image iframe {
  width: 100%;
  height: 400px;       /* forces iframe to 600px while leaving other images unaffected */
  display: block;
}


/* ---------- Tablet (768 – 1023 px) ---------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .media-left__heading {
    font-size: clamp(32px, 6vw, 56px);
    margin: 4rem 2rem 2.5rem;
  }

  .media-left__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;          /* anchor low */
    padding: 0 2rem 8vh;                /* bottom offset */
    max-width: 700px;
    margin: 0 auto;
  }

  .media-left__image {
    flex: 0 0 45%;
    margin: 0;
    max-height: 60vh;
  }
}

/* ------------- DESKTOP (≥ 1024 px) --------------------- */
@media (min-width: 1024px) {
  .media-left__wrapper {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }

  .media-left__image {
    flex: 0 0 50%;
    max-width: 50%;
    max-height: 100vh;
  }

  .media-left__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .media-left__content {
    flex: 0 0 50%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 6rem 0 4rem;            /* left 4 rem, right 6 rem */
  }

  .media-left__heading {
    font-size: clamp(40px, 4vw, 64px);
    margin: 6rem 0 3rem;
    text-align: center;
  }

  /* push text toward bottom third */
  .media-left__content {
    justify-content: flex-end;
    padding-bottom: 8vh;
  }

  .media-left__image iframe {
    width: 100%;
    height: 100%;       /* forces iframe to 600px while leaving other images unaffected */
    display: block;
  }
}

/* ---------- Mobile: force text above image --------------- */
@media (max-width: 767px) {
  .media-left__image   { order: 2; }   /* show after content */
  .media-left__content { order: 1; }   /* show before image  */
}

/* === Bullet list styling ================================ */
.media-left__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.media-left__list li {
  position: relative;
  padding-left: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.media-left__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid var(--color-blue);
  border-radius: 50%;
  box-sizing: border-box;
}

.media-left__list li span {
  font-weight: 700;
  margin-right: 0.25rem;
}
