/* Independent by design – bird vs. autoplaying elephant video.
 * Replaces t3e-elephant-scrub.css. The video's background is #F5F5F5,
 * the same as .independent-section, so it has no visible edge. */

.el-video {
  position: relative;
  width: 100%;
  aspect-ratio: 1152 / 704;
  background: #F5F5F5;
}
.el-video-player,
.el-video-end {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #F5F5F5;
  pointer-events: none;          /* no tap-to-pause, no context menu */
}

/* Belt and braces: never show browser controls or the iOS start button */
.el-video-player::-webkit-media-controls,
.el-video-player::-webkit-media-controls-panel,
.el-video-player::-webkit-media-controls-start-playback-button,
.el-video-player::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
}

/* The elephant sits straight on the section background, no gradient card behind it */
.independent-section .elephant-img {
  background: none;
  width: 100%;
}

/* Desktop: equal heights. The row is a size container; the elephant fills the
 * 7-column width, and the bird gets the elephant's height (width ÷ 1.636). */
@media (min-width: 992px) {
  .independent-section .indie-compare {
    container-type: inline-size;
    --indie-h: calc((58.3333cqw - 3rem) / 1.63636);   /* 7/12 of the row, minus the g-5 gutter */
  }
  .independent-section .indie-compare .indie-image-placeholder {
    margin-bottom: 0;
  }
  .independent-section .hummingbird-img {
    width: auto;
    height: var(--indie-h);
    aspect-ratio: 927 / 885;
    max-width: 100%;
    margin-left: auto;          /* sits against the divider, facing the elephant */
  }
  .independent-section .bird-graphic,
  .independent-section .bird-graphic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .independent-section .elephant-img {
    height: var(--indie-h);
  }
}
