.ebv-examples-section {
  background: #f6f3ee;
  border-block: 1px solid #e1dbd3;
}

.ebv-employer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.ebv-employer-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d9d2c9;
  border-radius: 10px;
  background: #fffdf9;
}

.ebv-employer-thumbnail {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eae4dc;
}

.ebv-employer-thumbnail > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Marriott's source includes black side bars around the image. */
#ebv-video-nnvhA6y6tZM .ebv-employer-thumbnail > img {
  transform: scale(1.34);
  transform-origin: center 66%;
}

.ebv-employer-video {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  width: 100%;
  padding: 12px;
  border: 0;
  background: transparent;
  color: #fff;
}

.ebv-employer-video:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: -5px;
  box-shadow: inset 0 0 0 8px #fff;
}

.ebv-employer-play {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff90;
  border-radius: 50%;
  background: #14223ce8;
}

.ebv-employer-play svg {
  width: 22px;
  height: 22px;
}

.ebv-employer-video:is(:hover, :focus-visible) .ebv-employer-play {
  background: #ead5bf;
  color: var(--navy);
}

.ebv-employer-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(18px, 2.2vw, 26px);
}

#main .ebv-employer-copy h3 {
  margin: 0 0 7px;
  font-size: clamp(21px, 2vw, 26px);
}

#main .ebv-employer-copy .ebv-employer-description {
  margin: 0 0 13px;
  font-size: 15px;
  line-height: 1.65;
}

.ebv-employer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
  width: 100%;
  margin-top: auto;
  border-top: 1px solid #e4ddd4;
}

.ebv-employer-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #223752;
  font-size: 13px;
  text-decoration: underline;
  text-decoration-color: #a48263;
  text-underline-offset: 3px;
}

#main .ebv-employer-credit {
  margin: 24px 0 0;
  color: #526176;
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 1000px) {
  .ebv-employer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ebv-employer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media print {
  .ebv-employer-thumbnail {
    display: none;
  }
}
