/* service-ea: styles that belong to this page only (the shared components stay in service-ea-site.css) */

/* hero on tablets and phones, same as the DMO page: text on top, the full picture as a band along the bottom (fading into the page colour), smaller text */
@media (max-width: 991.98px) {
  .pg-ea.pg-eas .hero {
    min-height: 0;
  }

  .pg-ea.pg-eas .hero__sky::before,
  html[dir="rtl"] .pg-ea.pg-eas .hero__sky::before {
    inset: auto 0 0 0;
    height: 38vw;
    background-size: auto 125%;
    background-position: 70% 60%;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 24%);
    mask-image: linear-gradient(180deg, transparent, #000 24%);
  }

  .pg-ea.pg-eas .hero__content {
    min-height: 0;
    padding-top: calc(2rem + 17vw);
    padding-bottom: calc(38vw + 1rem);
  }

  html .pg-ea.pg-eas .hero__shade {
    background: none;
  }

  html[data-lang] .pg-eas .hero .ea-giant {
    font-size: 22vw;
  }

  .pg-eas .hero__giant {
    padding-top: 4.5rem;
  }

  .pg-eas .hero-title {
    font-size: 2.1rem;
  }

  .pg-eas .hero-lead {
    font-size: .95rem;
    line-height: 1.7;
  }
}

@media (max-width: 575.98px) {
  html[data-lang] .pg-eas .hero .ea-giant {
    font-size: 30vw;
  }

  .pg-eas .hero__giant {
    padding-top: 4.6rem;
  }

  .pg-ea.pg-eas .hero__sky::before,
  html[dir="rtl"] .pg-ea.pg-eas .hero__sky::before {
    height: 54vw;
    background-size: auto 125%;
    background-position: 68% 60%;
  }

  .pg-ea.pg-eas .hero__content {
    padding-top: calc(.8rem + 30vw);
    padding-bottom: calc(54vw + .25rem);
  }

  .pg-eas .hero-title {
    font-size: 1.5rem;
    margin-bottom: .6rem;
  }

  .pg-eas .hero-lead {
    font-size: .84rem;
    line-height: 1.6;
    margin-bottom: 0;
  }
}

/* Arabic: the numbers are written out in words */
html[data-lang="ar"] .pg-eas .ea-acc h3 {
  min-width: 5.2ch;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}

/* overview cards: label with a short sub-line */
.pg-eas .ea-acc {
  align-items: flex-start;
}

.pg-eas .ea-acc h3 {
  padding-top: .1rem;
}

.pg-eas .ea-acc-t {
  flex: 1;
  min-width: 0;
}

.pg-eas .ab-intro .ea-acc-t p {
  margin: 0 0 .3rem;
}

.pg-eas .ea-acc-t small {
  display: block;
  font-size: .86rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--ab-text);
}

@media (max-width: 575.98px) {
  .pg-eas .ea-acc-t small {
    font-size: .8rem;
    line-height: 1.6;
  }
}

/* phones: the hero button text wraps inside the screen instead of running off the right edge */
@media (max-width: 575.98px) {
  .pg-eas .hero__content .btn {
    white-space: normal;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .pg-eas .hero__content .container,
  .pg-eas .hero__content .row > * {
    max-width: 100%;
    min-width: 0;
  }
}
