/* About page header */
body.page-about header.active {
  background-color: #eadef2 !important;
}

/* About hero banner */
.about-hero {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: #fff;
  text-align: center;
}

.about-hero__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: cover;
  object-position: center top;
}

/* Overview section */
.about-overview {
  background: #fff;
  padding: 0 0 64px;
}

.about-overview__inner {
  width: min(1200px, 90%);
  margin: 0 auto;
  padding: 56px 0 0;
  box-sizing: border-box;
}

.about-overview__title {
  margin: 0 0 28px;
  color: #50175a;
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 700;
  line-height: 1.25;
}

.about-overview__text {
  margin: 0;
  color: #444;
  font-size: 18px;
  line-height: 1.75;
}

/* Core business areas */
.about-core {
  background: #fff;
  padding: 0 0 72px;
}

.about-core__inner {
  width: min(1200px, 90%);
  margin: 0 auto;
  box-sizing: border-box;
}

.about-core__title {
  margin: 0 0 28px;
  color: #482352;
  font-size: clamp(30px, 2.5vw, 40px);
  font-weight: 500;
  line-height: 1.25;
}

.about-core__banner {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.about-core__media {
  position: relative;
  line-height: 0;
}

.about-core__image {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.4s ease;
}

.about-core__image:not(.is-active) {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}

.about-core__image.is-active {
  position: relative;
  opacity: 1;
}

.about-core__grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-core__item {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px 9%;
  text-align: center;
  box-sizing: border-box;
  cursor: pointer;
  overflow: hidden;
}

.about-core__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.28) 42%,
    rgba(0, 0, 0, 0.08) 72%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.28s ease;
  pointer-events: none;
  z-index: 0;
}

.about-core__item:hover::before,
.about-core__item.is-active::before {
  opacity: 1;
}

.about-core__item p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff;
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 400;
  line-height: 1.45;
  transition: transform 0.28s ease, text-shadow 0.28s ease;
}

.about-core__item:hover p,
.about-core__item.is-active p {
  transform: translateY(-10px);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.55);
}

/* About page content below overview */
body#index #my-scrollbar .about-body {
  width: 100%;
  background-color: #fff !important;
}

body#index #my-scrollbar .about-body__inner {
  width: min(1200px, 90%);
  margin: 0 auto;
  padding: 0 0 56px;
  box-sizing: border-box;
}

/* Our location banner */
.about-values {
  background: #fff;
  padding: 0 0 80px;
}

.about-values__inner {
  width: min(1200px, 90%);
  margin: 0 auto;
  box-sizing: border-box;
}

.about-values__banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.about-values__banner > img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: top center;
}

.about-values__content {
  position: absolute;
  left: 2%;
  top: 14%;
  width: min(330px, 28%);
  box-sizing: border-box;
}

.about-values__title {
  margin: 0 0 24px;
  color: #222;
  font-size: clamp(30px, 2.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
}

.about-values__text {
  margin: 0;
  color: #333;
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.7;
}

body#index #my-scrollbar .about-block {
  margin-bottom: 52px;
  max-width: 100%;
}

body#index #my-scrollbar .about-block:last-child {
  margin-bottom: 0;
}

body#index #my-scrollbar .about-block__title,
body#index #my-scrollbar .about-principle__title {
  color: #50175a !important;
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #50175a !important;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 22px;
  padding: 0;
}

body#index #my-scrollbar .about-block__title {
  font-size: clamp(28px, 2.2vw, 36px);
}

body#index #my-scrollbar .about-block__text,
body#index #my-scrollbar .about-principle__text {
  color: #444 !important;
  font-size: 18px;
  line-height: 1.75;
  margin: 0;
  padding: 0;
}

body#index #my-scrollbar .about-principle {
  margin-top: 28px;
}

body#index #my-scrollbar .about-principle__title {
  font-size: 22px;
  margin: 0 0 12px;
}

@media screen and (max-width: 1024px) {
  .about-overview__inner {
    padding-top: 40px;
  }

  .about-core__item {
    padding-bottom: 12%;
  }

  .about-values__content {
    left: 2%;
    top: 12%;
    width: min(460px, 45%);
  }

  body#index #my-scrollbar .about-body__inner {
    padding-bottom: 40px;
  }

  .about-values {
    padding-bottom: 60px;
  }

  .about-overview__text,
  body#index #my-scrollbar .about-block__text,
  body#index #my-scrollbar .about-principle__text {
    font-size: 16px;
    line-height: 1.7;
  }
}

@media screen and (max-width: 540px) {
  .about-overview {
    padding-bottom: 48px;
  }

  .about-core {
    padding-bottom: 48px;
  }

  .about-core__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-core__item {
    padding: 0 8px 8%;
  }

  .about-core__item p {
    font-size: 11px;
  }

  .about-overview__inner {
    padding-top: 32px;
  }

  .about-values__content {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    padding: 24px 6% 28px;
    background: rgba(255, 255, 255, 0.92);
  }

  .about-values__banner {
    display: flex;
    flex-direction: column;
  }

  .about-values {
    padding-bottom: 48px;
  }

  body#index #my-scrollbar .about-body__inner {
    padding-bottom: 32px;
  }

  body#index #my-scrollbar .about-block {
    margin-bottom: 36px;
  }

  .about-overview__text,
  body#index #my-scrollbar .about-block__text,
  body#index #my-scrollbar .about-principle__text {
    font-size: 15px;
  }

  body#index #my-scrollbar .about-principle__title {
    font-size: 18px;
  }
}
