/* Restore the approved black-and-gold ribbon covers for Services and Contact.
   This stylesheet is loaded only by those four localized pages. */
.services-main.services-main,
.contact-page .contact-content {
  padding-top: var(--lekas-header-height, 72px);
}

.contact-page .contact-content {
  padding-inline: 0;
}

.secondary-cover.secondary-brand-cover {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 100%;
  height: clamp(330px, 24vw, 520px) !important;
  min-height: 0 !important;
  margin: 0;
  padding: 0 24px 48px;
  overflow: hidden;
  border-top: 1px solid rgba(244, 241, 237, 0.2);
  border-bottom: 0;
  background: #000 url("../images/services-cover-abstract.jpg") center 52% / cover no-repeat;
  background-position: center 52% !important;
  color: #fff;
  text-align: center;
}

.secondary-cover.secondary-brand-cover::before,
.secondary-cover.secondary-brand-cover::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.secondary-cover.secondary-brand-cover::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.46)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.2));
}

.secondary-cover.secondary-brand-cover::after {
  top: auto;
  height: 38%;
  background: linear-gradient(180deg, transparent, #000);
}

.secondary-cover-overview,
.secondary-cover-content {
  width: 100%;
  min-width: 0;
}

.secondary-cover.secondary-brand-cover .secondary-cover-title {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 24px 0;
  color: #fff;
  font-size: clamp(38px, 4.3vw, 78px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: center;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.8);
}

html[lang="en"] .secondary-cover.secondary-brand-cover .secondary-cover-title {
  font-size: clamp(34px, 3.7vw, 68px);
  letter-spacing: 0.2em;
}

@media (max-width: 900px) {
  .services-main.services-main,
  .contact-page .contact-content {
    padding-top: var(--lekas-header-mobile-height, 104px);
  }

  .secondary-cover.secondary-brand-cover {
    height: clamp(260px, 52vw, 390px) !important;
  }

  .secondary-cover.secondary-brand-cover .secondary-cover-title {
    font-size: clamp(36px, 8vw, 58px);
  }

  html[lang="en"] .secondary-cover.secondary-brand-cover .secondary-cover-title {
    font-size: clamp(30px, 6.5vw, 50px);
  }
}

@media (max-width: 560px) {
  .secondary-cover.secondary-brand-cover {
    height: 250px !important;
  }

  .secondary-cover.secondary-brand-cover .secondary-cover-title {
    font-size: 38px;
    letter-spacing: 0.1em;
  }

  html[lang="en"] .secondary-cover.secondary-brand-cover .secondary-cover-title {
    font-size: 31px;
    letter-spacing: 0.15em;
  }
}
