/**
 * Testimonials Own Words video layout.
 * Split from the approved Testimonials page bundle without visual changes.
 */

.elg-testimonials-page :where(.elg-own-words) {
  position: relative;
}

.elg-own-words__eyebrow {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--elg-gold, #d7ad62);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.3;
  text-transform: uppercase;
}

.elg-own-words__eyebrow picture,
.elg-own-words__eyebrow img {
  width: 50px;
  height: 1px;
  display: block;
  flex: 0 0 50px;
}

.elg-own-words {
  padding-block: 120px;
  isolation: isolate;
  overflow-x: clip;
  background: #0b1b2a;
}

.elg-own-words__glow {
  position: absolute;
  z-index: -1;
  width: 571px;
  height: 512px;
  max-width: none;
  pointer-events: none;
}

.elg-own-words__glow--left {
  top: 120px;
  left: calc(50% - 821px);
}

.elg-own-words__glow--right {
  top: 358px;
  left: calc(50% + 190px);
}

.elg-own-words__container {
  position: relative;
  z-index: 1;
}

.elg-own-words__header {
  display: grid;
  grid-template-columns: minmax(0, 750px) minmax(300px, 410px);
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.elg-own-words__heading-column,
.elg-own-words__intro-column,
.elg-own-words__featured-column,
.elg-own-words__playlist-column {
  width: auto;
  max-width: none;
  min-width: 0;
  flex: none;
  margin: 0;
}

.elg-own-words__heading-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.elg-own-words h2 {
  width: 100%;
  margin: 0;
  color: var(--elg-white, #fff);
  font-family: var(--elg-font-display, "Source Serif 4", Georgia, serif);
  font-size: clamp(56px, 4.86vw, 70px);
  font-weight: 600;
  letter-spacing: -1.4px;
  line-height: 1;
}

.elg-own-words__intro-column > p {
  width: 100%;
  margin: 0;
  color: var(--elg-muted, #98a6b0);
  font-size: 18px;
  line-height: 1.56;
}

.elg-own-words__controls {
  display: flex;
  gap: 15px;
  margin-top: 45px;
}

.elg-own-words__control {
  width: 66px;
  height: 66px;
  display: grid;
  flex: 0 0 66px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(50, 70, 87, 0.58);
  background: #112d45;
  cursor: pointer;
  transition: transform 220ms ease, filter 220ms ease;
}

.elg-own-words__control picture,
.elg-own-words__control img {
  width: 25px;
  height: 25px;
  display: block;
}

.elg-own-words__control:first-child img {
  transform: rotate(180deg);
}

.elg-own-words__control--next {
  border-color: rgba(202, 161, 90, 0.72);
}

.elg-own-words__control:hover,
.elg-own-words__control:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.14);
}

.elg-own-words__control:disabled,
.elg-own-words__up-next:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.elg-own-words__body {
  display: grid;
  grid-template-columns: minmax(0, 790px) minmax(320px, 380px);
  align-items: start;
  justify-content: space-between;
  gap: 30px;
  margin-top: 70px;
}

.elg-own-words__featured {
  width: 100%;
  border: 1px solid #324657;
  background: #112d45;
}

.elg-own-words__featured-media {
  position: relative;
  width: 100%;
  aspect-ratio: 790 / 446;
  overflow: hidden;
  background: #071019;
  touch-action: pan-y pinch-zoom;
}

.elg-own-words__featured-media > picture,
.elg-own-words__featured-media > picture > img {
  width: 100%;
  height: 100%;
  display: block;
}

.elg-own-words__featured-media > picture > img {
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 180ms ease;
}

.elg-own-words__featured-media:hover > picture > img {
  transform: scale(1.025);
}

.elg-own-words__featured-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(82px, 10vw, 120px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 220ms ease, filter 220ms ease;
}

.elg-own-words__featured-play picture,
.elg-own-words__featured-play img {
  width: 100%;
  height: 100%;
  display: block;
}

.elg-own-words__featured-play:hover,
.elg-own-words__featured-play:focus-visible {
  transform: translate(-50%, -50%) scale(1.06);
  filter: brightness(1.12);
}

.elg-own-words__featured-meta {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 384px);
  align-items: stretch;
  gap: 20px;
  padding: 30px;
  background: #112d45;
}

.elg-own-words__now-playing {
  min-width: 0;
}

.elg-own-words__now-playing :where(p, h3, strong) {
  margin: 0;
}

.elg-own-words__now-playing p,
.elg-own-words__now-playing strong,
.elg-own-words__up-next small {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.25;
  text-transform: uppercase;
}

.elg-own-words__now-playing p,
.elg-own-words__up-next small {
  color: var(--elg-muted, #98a6b0);
}

.elg-own-words__now-playing h3 {
  margin-top: 9px;
  color: var(--elg-white, #fff);
  font-family: var(--elg-font-display, "Source Serif 4", Georgia, serif);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.2;
}

.elg-own-words__now-playing strong {
  display: block;
  margin-top: 8px;
  color: var(--elg-gold, #d7ad62);
}

.elg-own-words__up-next {
  min-width: 0;
  min-height: 83px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid #223746;
  background: #071019;
  color: var(--elg-white, #fff);
  text-align: left;
  cursor: pointer;
  transition: border-color 200ms ease, background-color 200ms ease;
}

.elg-own-words__up-next > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.elg-own-words__up-next strong {
  color: var(--elg-white, #fff);
  font-family: var(--elg-font-display, "Source Serif 4", Georgia, serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

.elg-own-words__up-next picture,
.elg-own-words__up-next img {
  width: 18px;
  height: auto;
  display: block;
  flex: 0 0 18px;
}

.elg-own-words__up-next:hover,
.elg-own-words__up-next:focus-visible {
  border-color: var(--elg-gold, #d7ad62);
  background: #0b1823;
}

.elg-own-words__playlist {
  position: relative;
  width: 100%;
  padding-top: 15px;
  border: 1px solid #324657;
  background: #112d45;
}

.elg-own-words__playlist-glow {
  display: none;
}

.elg-own-words__playlist-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 20px 15px;
  color: var(--elg-muted, #98a6b0);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.3;
  text-transform: uppercase;
}

.elg-own-words__playlist-header strong {
  color: var(--elg-gold, #d7ad62);
  font-family: var(--elg-font-display, "Source Serif 4", Georgia, serif);
  font-size: 25px;
}

.elg-own-words__story-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.elg-own-words__story {
  width: 100%;
  min-height: 135px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border: 0;
  border-top: 1px solid #324657;
  background: transparent;
  color: var(--elg-white, #fff);
  text-align: left;
  cursor: pointer;
  transition: background-color 220ms ease;
}

.elg-own-words__story[hidden] {
  display: none !important;
}

.elg-own-words__story.is-active,
.elg-own-words__story:hover,
.elg-own-words__story:focus-visible {
  background: #071019;
}

.elg-own-words__story-media {
  position: relative;
  width: min(164px, 44%);
  aspect-ratio: 164 / 101;
  display: block;
  flex: 0 0 min(164px, 44%);
  overflow: hidden;
  border: 1px solid transparent;
  background: #071019;
  transition: border-color 200ms ease;
}

.elg-own-words__story:is(.is-active, :hover, :focus-visible) .elg-own-words__story-media {
  border-color: var(--elg-gold, #d7ad62);
}

.elg-own-words__story-media > picture:first-child,
.elg-own-words__story-media > picture:first-child img {
  width: 100%;
  height: 100%;
  display: block;
}

.elg-own-words__story-media > picture:first-child img {
  object-fit: cover;
  transition: transform 400ms ease;
}

.elg-own-words__story:hover .elg-own-words__story-media > picture:first-child img {
  transform: scale(1.04);
}

.elg-own-words__story-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  display: block;
  transform: translate(-50%, -50%);
}

.elg-own-words__story-play img {
  width: 100%;
  height: 100%;
  display: block;
}

.elg-own-words__story-copy {
  min-width: 0;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.elg-own-words__story-copy small {
  color: var(--elg-gold, #d7ad62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
}

.elg-own-words__story-copy strong {
  color: var(--elg-white, #fff);
  font-family: var(--elg-font-display, "Source Serif 4", Georgia, serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

.elg-own-words__story-copy em {
  color: var(--elg-muted, #98a6b0);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.2;
  text-transform: uppercase;
}

@media (max-width: 1200px) {

.elg-own-words {
    padding-block: 90px;
  }

.elg-own-words__header {
    grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr);
  }

.elg-own-words__body {
    grid-template-columns: minmax(0, 2fr) minmax(310px, 1fr);
  }

.elg-own-words__featured-meta {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 45%);
    padding: 22px;
  }
}

@media (max-width: 1024px) {

.elg-own-words__header,
.elg-own-words__body {
    grid-template-columns: minmax(0, 1fr);
  }

.elg-own-words__header {
    gap: 40px;
  }

.elg-own-words__intro-column > p {
    max-width: 680px;
  }

.elg-own-words__controls {
    margin-top: 30px;
  }

.elg-own-words__body {
    gap: 30px;
    margin-top: 60px;
  }
}

@media (max-width: 767px) {

.elg-own-words__eyebrow {
    gap: 10px;
    margin: 0;
    font-size: 12px;
    letter-spacing: 1.5px;
  }

.elg-own-words__eyebrow picture,
.elg-own-words__eyebrow img {
    width: 30px;
    flex-basis: 30px;
  }

.elg-own-words__intro-column > p {
    width: 100%;
    margin: 0;
    font-size: 16px;
    line-height: 1.625;
  }

.elg-own-words {
    padding-block: 60px;
  }

.elg-own-words {
    background: #0c1721;
  }

.elg-own-words__glow--left {
    top: 221px;
    left: -101px;
    width: 346px;
    height: 310px;
    content: url("../assets/testimonials-page/testimonials/own-words/glow-mobile.svg");
  }

.elg-own-words__glow--right {
    display: none;
  }

.elg-own-words__heading-group,
.elg-own-words__intro-column {
    gap: 30px;
  }

.elg-own-words h2 {
    font-size: clamp(36px, 10vw, 40px);
    letter-spacing: -0.8px;
    line-height: 1.125;
  }

.elg-own-words__controls {
    margin-top: 20px;
  }

.elg-own-words__control {
    width: 41px;
    height: 41px;
    flex-basis: 41px;
  }

.elg-own-words__control picture,
.elg-own-words__control img {
    width: 20px;
    height: 20px;
  }

.elg-own-words__body {
    gap: 20px;
    margin-top: 40px;
  }

.elg-own-words__featured-meta {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }

.elg-own-words__up-next {
    width: 100%;
  }

.elg-own-words__playlist-glow {
    position: absolute;
    inset: 0 auto auto 0;
    width: 400px;
    max-width: none;
    display: block;
    pointer-events: none;
  }

.elg-own-words__playlist-header {
    margin-inline: 15px;
  }

.elg-own-words__story {
    padding-inline: 15px;
  }

.elg-own-words__story-media {
    width: min(178px, 46%);
    flex-basis: min(178px, 46%);
  }

.elg-own-words__story-copy strong {
    font-size: 16px;
  }
}

@media (max-width: 390px) {

.elg-own-words__story {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
.elg-testimonials-page :where(
    .elg-own-words__control,
    .elg-own-words__featured-media > picture > img,
    .elg-own-words__featured-play,
    .elg-own-words__up-next,
    .elg-own-words__story,
    .elg-own-words__story-media > picture:first-child img
  ) {
    transition: none;
  }
}
