/* AIMS homepage Company Profile – reference-matched two-column layout.
   Styling only: no content, Arabic text, JS, uploaded media, or video is modified. */
@media (min-width: 801px) {
  body .section.muted:has(.illustration.docs) {
    background: #fff;
    padding-top: 48px;
    padding-bottom: 48px;
  }
  body .section.muted:has(.illustration.docs) .wrap.split {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: 22px;
    max-width: 1180px;
  }
  body .section.muted:has(.illustration.docs) .illustration.docs {
    grid-column: 1;
    grid-row: 1;
    min-height: 420px;
    height: 420px;
    border-radius: 24px;
    background-position: center !important;
    background-size: cover !important;
    box-shadow: none;
  }
  body .section.muted:has(.illustration.docs) .wrap.split > div:first-child {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
  }
}
body .section.muted:has(.illustration.docs) { background: #fff; }
body .section.muted:has(.illustration.docs) .illustration.docs::before,
body .section.muted:has(.illustration.docs) .illustration.docs::after { display: none; }
body .section.muted:has(.illustration.docs) .illustration.docs span { display: none; }
body .section.muted:has(.illustration.docs) h2 {
  color: #1598cd;
  font-weight: 400;
  font-size: clamp(29px, 3.15vw, 46px);
  line-height: 1.27;
  letter-spacing: .1px;
  margin-bottom: 24px;
}
body .section.muted:has(.illustration.docs) p {
  color: #777;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.58;
  margin-bottom: 22px;
}
body .section.muted:has(.illustration.docs) .eyebrow { margin-bottom: 14px; }
body .section.muted:has(.illustration.docs) .btn {
  background: #1598cd;
  border-color: #1598cd;
  color: white;
  padding: 12px 22px;
}
@media (max-width: 800px) {
  body .section.muted:has(.illustration.docs) { padding: 35px 0; }
  body .section.muted:has(.illustration.docs) .wrap.split {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }
  body .section.muted:has(.illustration.docs) .illustration.docs {
    order: -1;
    width: 100%;
    min-height: 255px;
    height: min(68vw, 390px);
    border-radius: 18px;
    background-position: center !important;
    background-size: cover !important;
  }
}

/* ===== AIMS Company Profile left image restore ===== */
.profileband .wrap,
.profile-section .wrap,
.company-profile .wrap {
    display: grid !important;
    grid-template-columns: minmax(320px, 460px) minmax(420px, 1fr) !important;
    gap: 48px !important;
    align-items: center !important;
}

.profileband .illustration.docs,
.profile-section .illustration.docs,
.company-profile .illustration.docs {
    display: block !important;
    min-height: 420px !important;
    border-radius: 28px !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
}

.profileband .copy,
.profile-section .copy,
.company-profile .copy,
.profileband .content,
.profile-section .content,
.company-profile .content {
    max-width: none !important;
}

@media (max-width: 900px) {
    .profileband .wrap,
    .profile-section .wrap,
    .company-profile .wrap {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .profileband .illustration.docs,
    .profile-section .illustration.docs,
    .company-profile .illustration.docs {
        min-height: 300px !important;
        order: -1 !important;
    }
}
/* ===== end restore ===== */

/* ===== AIMS Company Profile left image restore ===== */
.profileband .wrap,
.profile-section .wrap,
.company-profile .wrap {
    display: grid !important;
    grid-template-columns: minmax(320px, 460px) minmax(420px, 1fr) !important;
    gap: 48px !important;
    align-items: center !important;
}

.profileband .illustration.docs,
.profile-section .illustration.docs,
.company-profile .illustration.docs {
    display: block !important;
    min-height: 420px !important;
    border-radius: 28px !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
}

.profileband .copy,
.profile-section .copy,
.company-profile .copy,
.profileband .content,
.profile-section .content,
.company-profile .content {
    max-width: none !important;
}

@media (max-width: 900px) {
    .profileband .wrap,
    .profile-section .wrap,
    .company-profile .wrap {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .profileband .illustration.docs,
    .profile-section .illustration.docs,
    .company-profile .illustration.docs {
        min-height: 300px !important;
        order: -1 !important;
    }
}
/* ===== end restore ===== */
