/* About Us page. Sizes are read from the live page at each breakpoint: 1400, 1200, 1024, 767. */

/* Labels on this page sit a little lower and tighter than the shared label. */
.amx-inner-page .amx-label { margin-bottom: 24px; padding-top: 3px; line-height: 18px; }

/* Banner */
.amx-ab-hero { position: relative; display: flex; align-items: center; height: 555px; overflow: hidden; background: var(--amx-navy); }
.amx-ab-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.amx-ab-hero__inner { position: relative; width: 75%; margin-inline: auto; }
.amx-ab-hero h1 { margin: 0; color: #fff; font-size: 80px; line-height: 90px; font-weight: 600; letter-spacing: -2px; }

/* Who we are */
.amx-ab-who__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.amx-ab-who__left { display: flex; flex-direction: column; justify-content: space-between; gap: 50px; padding-right: 50px; }
.amx-ab-who__left .amx-heading { margin: 0; }
.amx-ab-who__image { display: block; width: 100%; height: auto; border-radius: var(--amx-radius-lg); }
.amx-ab-who__right { display: flex; flex-direction: column; gap: 53px; padding-top: 6px; }
.amx-ab-who__right .amx-text { margin: 0; }
.amx-ab-who__right .amx-text p { margin: 0; }
.amx-ab-who__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.amx-ab-card { padding: 30px; background: var(--amx-tile); border-radius: 24px; }
.amx-ab-card__icon { display: block; width: 52px; height: 52px; margin-bottom: 50px; object-fit: contain; }
.amx-ab-card__title { margin: 0 0 12px; color: var(--amx-ink); font-size: 30px; line-height: 44px; font-weight: 500; }
.amx-ab-card__text { margin: 0; color: #000; font-size: 17px; line-height: 26px; font-weight: 500; }

/* Label column plus content column, used by Why and What */
.amx-ab-split { display: grid; grid-template-columns: 20% minmax(0, 70%); gap: 20px; }
.amx-ab-split__main .amx-heading { margin-bottom: 20px; }
.amx-inner-page .amx-ab-split > div:first-child .amx-label { padding-top: 12px; }
.amx-ab-split__main > .amx-heading, .amx-ab-split__main > .amx-text { max-width: 90%; }
.amx-ab-what .amx-ab-split__main > .amx-heading { max-width: none; }

/* Why choose us */
.amx-ab-reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 58px 50px; margin-top: 56px; }
.amx-ab-reason { display: flex; align-items: flex-start; padding-right: 35px; }
.amx-ab-reason__icon { flex: none; width: 45px; height: 45px; margin-right: 18px; object-fit: contain; }
.amx-ab-reason__body { padding-left: 34px; border-left: 1px solid rgba(0, 30, 98, .3); }
.amx-ab-reason__title { margin: 0 0 15px; color: #000; font-size: 20px; line-height: 28px; font-weight: 500; }
.amx-ab-reason__text { margin: 0; color: #000; font-size: 18px; line-height: 26px; font-weight: 500; }

/* What we do */
.amx-ab-what { background: #fff; }
ul.amx-ab-list { margin: 30px 0 24px; padding: 0; list-style: none; column-count: 2; column-gap: 20px; }
.amx-ab-list li { display: flex; align-items: center; gap: 9px; margin-bottom: 18px; color: #000; font-size: 22px; line-height: 34px; font-weight: 500; break-inside: avoid; }
.amx-ab-list__icon { flex: none; width: 16px; height: 16px; }
.amx-ab-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.amx-ab-stat__number { margin: 0 0 20px; color: transparent; font-size: 70px; line-height: 70px; font-weight: 300; -webkit-text-stroke: 1px #373737; }
.amx-ab-stat__label { margin: 0; color: var(--amx-ink); font-size: 27px; line-height: 42px; }

/* Team */
.amx-ab-team { padding-block: 90px; background: var(--amx-tile) url("../../../../../uploads/2025/10/Group-1820598061.png") center / cover no-repeat; }
.amx-ab-team .amx-heading { max-width: 60%; }
.amx-ab-team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.amx-ab-person { position: relative; display: flex; align-items: flex-end; height: 450px; margin: 0; padding: 15px; overflow: hidden; border-radius: var(--amx-radius-lg); }
.amx-ab-person__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.amx-ab-person__box { position: relative; width: 100%; padding: 5px 10px 5px 20px; background: rgba(255, 255, 255, .75); border-radius: 8px; }
.amx-ab-person__name, .amx-ab-person__role { display: block; }
.amx-ab-person__name { color: var(--amx-ink); font-size: 26px; line-height: 36px; font-weight: 500; }
.amx-ab-person__role { color: var(--amx-ink-strong); font-size: 18px; line-height: 26px; font-weight: 500; }

/* CEO message */
.amx-ab-ceo { padding-block: var(--amx-section-y); background: var(--amx-navy) url("../../../../../uploads/2025/07/blue-background.png") center / cover no-repeat; }
.amx-ab-ceo__grid { display: flex; align-items: center; gap: 20px; }
.amx-ab-ceo__body { flex: 1 1 0; min-width: 0; padding-right: 90px; }
.amx-ab-ceo .amx-label, .amx-ab-ceo .amx-heading, .amx-ab-ceo .amx-text { color: #fff; }
.amx-ab-ceo .amx-text { margin: 0; }
.amx-ab-ceo__card { position: relative; flex: 0 0 32.6%; height: 400px; margin: 0; overflow: hidden; border-radius: var(--amx-radius-lg); }
.amx-ab-ceo__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.amx-ab-ceo__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 30px; color: #fff; background: rgba(8, 125, 221, .6); }
.amx-ab-ceo__name, .amx-ab-ceo__role { display: block; }
.amx-ab-ceo__name { margin-bottom: 8px; font-size: 28px; line-height: 38px; font-weight: 500; letter-spacing: -2px; }
.amx-ab-ceo__role { font-size: var(--amx-text); line-height: var(--amx-text-lh); }

/* Blogs, as on the live About page: the row stops at the page margins. */
.amx-inner-page .amx-blogs .amx-section-head .amx-heading { max-width: 80%; }
.amx-inner-page .amx-section-head .amx-text { margin-bottom: 20px; padding-top: 8px; }
.amx-inner-page .amx-blog-track { gap: 20px; margin-inline: 5%; padding-inline: 0; scroll-padding-inline: 0; }
.amx-inner-page .amx-blogs { padding-bottom: 75px; }
.amx-inner-page .amx-blog-card { flex-basis: calc(100% / 3 - 40px); }
.amx-inner-page .amx-blog-card__media { margin-bottom: 23px; }
.amx-inner-page .amx-blog-card__meta { margin-bottom: 25px; line-height: 26px; }
/* Titles cut at a whole word on one line, and the short excerpt shows in full. */
.amx-inner-page .amx-blog-card__title { display: -webkit-box; margin-bottom: 20px; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.amx-inner-page .amx-blog-card__excerpt { display: block; }

@media (min-width: 1701px) {
  .amx-ab-who__left { padding-right: 115px; }
  .amx-ab-ceo__card { flex-basis: 32.9%; }
}
@media (max-width: 1400px) {
  .amx-inner-page .amx-label { margin-bottom: 25px; padding-top: 4px; font-size: 17px; line-height: 17px; }
  .amx-ab-ceo .amx-label { margin-bottom: 17px; }
  .amx-ab-hero { height: 380px; }
  .amx-ab-hero__inner { width: 80%; }
  .amx-ab-hero h1 { font-size: 65px; line-height: 75px; }
  .amx-ab-who__left { justify-content: flex-start; padding-right: 40px; }
  .amx-ab-who__right { gap: 22px; }
  .amx-ab-card { padding: 20px; }
  .amx-ab-card__icon { width: 45px; height: 45px; margin-bottom: 18px; }
  .amx-ab-card__title { margin-bottom: 8px; font-size: 24px; line-height: 40px; }
  .amx-ab-card__text { font-size: 14px; line-height: 24px; }
  .amx-ab-split__main > .amx-heading, .amx-ab-split__main > .amx-text { max-width: 95%; }
  .amx-ab-what .amx-ab-split__main > .amx-text { max-width: none; }
  .amx-ab-reasons { gap: 48px 40px; margin-top: 28px; }
  .amx-ab-reason { padding: 20px 42px 12px 20px; }
  .amx-ab-reason__body { padding-left: 32px; padding-bottom: 8px; }
  .amx-ab-reason__title { font-size: 18px; line-height: 26px; }
  .amx-ab-reason__text { font-size: 16px; line-height: 24px; }
  ul.amx-ab-list { margin-bottom: 40px; }
  .amx-ab-list li { font-size: 20px; line-height: 26px; }
  .amx-ab-stats { gap: 20px; }
  .amx-ab-stat__number { font-size: 60px; line-height: 60px; }
  .amx-ab-stat__label { font-size: 22px; line-height: 30px; }
  .amx-ab-team .amx-heading { margin-bottom: 20px; }
  .amx-ab-person { height: 340px; padding: 8px; }
  .amx-ab-person__box { border-radius: 12px; }
  .amx-ab-person__name { font-size: 20px; line-height: 34px; }
  .amx-ab-person__role { font-size: 17px; line-height: 26px; }
  .amx-ab-ceo .amx-heading { margin-bottom: 12px; }
  .amx-ab-ceo__body { padding-right: 80px; }
  .amx-ab-ceo__card { flex-basis: 32.4%; height: 333px; }
  .amx-ab-ceo__name { margin-bottom: 6px; }
  .amx-ab-ceo__role { font-size: 15px; line-height: 21px; }
  .amx-inner-page .amx-section-head .amx-text { padding-top: 8px; }
  .amx-inner-page .amx-blogs { padding-bottom: 54px; }
  .amx-inner-page .amx-blog-card__media { margin-bottom: 21px; }
  .amx-inner-page .amx-blog-card__meta { margin-bottom: 17px; font-size: 14px; }
  .amx-inner-page .amx-blog-card__title { margin-bottom: 16px; }
}
/* Laptop only: the shared 40/50 heading is a touch smaller on this page. */
@media (min-width: 1201px) and (max-width: 1400px) {
  .amx-inner-page { --amx-heading: 38px; --amx-heading-lh: 48px; }
}
@media (max-width: 1200px) {
  .amx-inner-page .amx-label { margin-bottom: 24px; padding-top: 3px; font-size: 16px; line-height: 16px; }
  .amx-ab-ceo .amx-label { margin-bottom: 16px; }
  .amx-ab-hero h1 { font-size: 50px; line-height: 66px; }
  .amx-ab-card__icon { width: 40px; height: 40px; }
  .amx-ab-card__title { font-size: 24px; line-height: 36px; }
  .amx-ab-card__text { font-size: 14px; line-height: 22px; }
  .amx-ab-split { grid-template-columns: 20% minmax(0, 78%); }
  .amx-ab-split__main > .amx-heading, .amx-ab-split__main > .amx-text { max-width: none; }
  .amx-ab-reasons { gap: 15px 30px; margin-top: 38px; }
  .amx-ab-reason { padding: 20px 24px 35px 0; }
  .amx-ab-reason__icon { width: 40px; height: 40px; margin-right: 14px; }
  .amx-ab-reason__body { padding-left: 42px; padding-bottom: 8px; }
  .amx-ab-reason__title { margin-bottom: 3px; }
  ul.amx-ab-list { margin-bottom: 18px; }
  .amx-ab-list li { font-size: 18px; }
  .amx-ab-stat__number { font-size: 50px; line-height: 50px; }
  .amx-ab-stat__label { font-size: 20px; }
  .amx-ab-team__grid { gap: 10px; }
  .amx-ab-person { height: 320px; }
  .amx-ab-person__name { line-height: 32px; }
  .amx-ab-person__role { font-size: 16px; line-height: 24px; }
  .amx-ab-ceo__body { padding-right: 40px; }
  .amx-ab-ceo__card { height: 300px; }
  .amx-inner-page .amx-section-head .amx-text { padding-top: 5px; }
  .amx-inner-page .amx-arrow-btn { font-size: 14px; }
  .amx-inner-page .amx-blogs { padding-bottom: 33px; }
  .amx-inner-page .amx-blog-card__media { margin-bottom: 14px; }
  .amx-inner-page .amx-blog-card__meta { margin-bottom: 9px; line-height: 24px; }
  .amx-inner-page .amx-blog-card__title { margin-bottom: 12px; font-size: 21px; line-height: 30px; }
}
@media (max-width: 1024px) {
  .amx-inner-page .amx-label { margin-bottom: 21px; padding-top: 0; font-size: 15px; line-height: 15px; }
  .amx-ab-ceo .amx-label { margin-bottom: 10px; }
  .amx-ab-hero h1 { font-size: 44px; line-height: 55px; }
  .amx-ab-who__left { gap: 30px; padding-right: 30px; }
  .amx-ab-who__cards { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .amx-ab-card__title { margin-bottom: 8px; font-size: 24px; line-height: 33px; }
  .amx-ab-reasons { gap: 38px 30px; margin-top: 33px; }
  .amx-ab-reason { padding: 0 25px 0 0; }
  .amx-ab-reason__body { padding-left: 34px; padding-bottom: 20px; }
  .amx-ab-reason__text { font-size: 15px; line-height: 20px; }
  ul.amx-ab-list { margin-block: 30px 22px; }
  .amx-ab-list li { align-items: flex-start; gap: 9px; margin-bottom: 18px; font-size: 16px; line-height: 22px; }
  .amx-ab-list__icon { width: 14px; height: 14px; margin-top: 4px; }
  .amx-ab-stats { gap: 30px; margin-bottom: 5px; }
  .amx-ab-stat__number { margin-bottom: 14px; font-size: 40px; line-height: 40px; }
  .amx-ab-stat__label { font-size: 18px; line-height: 21px; }
  .amx-ab-team .amx-heading { max-width: none; }
  .amx-ab-team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amx-ab-person { height: 300px; }
  .amx-ab-person__box { padding: 8px; }
  .amx-ab-person__name { line-height: 30px; }
  .amx-ab-person__role { font-size: 16px; line-height: 22px; }
  .amx-ab-ceo__body { padding-right: 20px; }
  .amx-ab-ceo__card { flex-basis: 43%; }
  .amx-ab-ceo__caption { padding: 16px 30px; }
  .amx-inner-page .amx-blogs { padding-bottom: 13px; }
  .amx-inner-page .amx-blogs .amx-label { margin-bottom: 18px; }
  .amx-inner-page .amx-blogs .amx-section-head .amx-heading { max-width: none; }
  .amx-inner-page .amx-blog-card__meta { line-height: 22px; }
}
@media (max-width: 900px) {
  .amx-ab-reasons { row-gap: 58px; }
  .amx-ab-reason { padding-right: 22px; }
  .amx-ab-reason__body { padding-left: 31px; }
  .amx-inner-page .amx-blog-card { flex-basis: calc(50% - 52px); }
}
@media (max-width: 767px) {
  .amx-inner-page .amx-label { margin-bottom: 17px; padding-top: 7px; font-size: 16px; line-height: 16px; }
  .amx-ab-hero { height: 300px; }
  .amx-ab-hero__inner { width: 90%; }
  .amx-ab-hero h1 { font-size: 33px; line-height: 41px; }
  .amx-ab-who__grid, .amx-ab-split { grid-template-columns: minmax(0, 1fr); }
  .amx-ab-split { gap: 12px; }
  .amx-inner-page .amx-ab-split > div:first-child .amx-label { margin: 0; padding-top: 5px; }
  .amx-ab-split__main .amx-heading { margin-bottom: 10px; }
  .amx-ab-who__right { gap: 19px; }
  .amx-ab-who__left { gap: 10px; margin-bottom: 10px; padding-right: 0; }
  .amx-ab-card { padding: 15px; }
  .amx-ab-card__title { font-size: 24px; line-height: 32px; }
  .amx-ab-reasons { grid-template-columns: minmax(0, 1fr); gap: 27px; margin-top: 22px; }
  .amx-ab-reason { padding: 0; }
  .amx-ab-reason__icon { width: 36px; height: 36px; margin-right: 13px; }
  .amx-ab-reason__body { padding: 0 0 4px; border-left: 0; }
  .amx-ab-reason__title { margin-bottom: 10px; font-size: 19px; line-height: 20px; }
  ul.amx-ab-list { margin-block: 16px 13px; column-count: 1; }
  .amx-ab-list li { margin-bottom: 17px; }
  .amx-ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; margin-bottom: 6px; }
  .amx-ab-stat__number { margin-bottom: 12px; font-size: 35px; line-height: 35px; }
  .amx-ab-stat__label { font-size: 16px; line-height: 18px; }
  .amx-ab-team { padding-block: 40px; }
  .amx-ab-team .amx-heading { max-width: 95%; }
  .amx-ab-team__grid { grid-template-columns: minmax(0, 1fr); }
  .amx-ab-person { height: 320px; }
  .amx-ab-person__role { line-height: 26px; }
  .amx-ab-ceo__grid { flex-direction: column; align-items: stretch; }
  .amx-ab-ceo__body { padding-right: 0; }
  .amx-ab-ceo__card { flex: none; width: 100%; height: 300px; }
  .amx-ab-ceo__role { font-size: 15px; line-height: 21px; }
  .amx-inner-page .amx-blogs .amx-section-head .amx-heading { max-width: 80%; }
  .amx-inner-page .amx-section-head .amx-text { padding-top: 0; }
  .amx-inner-page .amx-blogs { padding-bottom: 38px; }
  .amx-inner-page .amx-blogs .amx-label { margin-bottom: 17px; }
  .amx-inner-page .amx-blog-card { flex-basis: calc(100% - 84px); }
  .amx-inner-page .amx-blog-card__media { margin-bottom: 33px; }
  .amx-inner-page .amx-blog-card__meta { line-height: 26px; }
}
