/* Shared Company Profile exports: PC 2192:6671 and tablet 2298:16242.
 * Tablet differences are below; header/footer retain their shared owners. */
@media (min-width: 768px) {
  html body.fenix-figma-company-profile-page .fenix-company-profile-page {
    display: flex;
    flex-direction: column;
    gap: 172px !important;
    padding-top: 94px !important;
  }
  html body.fenix-figma-company-profile-page .fenix-company-shell {
    width: min(1192px, calc(100% - 64px)) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }
  html body.fenix-figma-company-profile-page .fenix-company-hero {
    min-height: 416px;
    padding: 152px 0 72px !important;
    align-items: flex-start;
    background-image: linear-gradient(rgb(3 5 55 / 53%), rgb(3 5 55 / 53%)), url('../../images/company-profile-pc/hero.webp');
    background-size: auto, 137.741% 1563.91px;
    background-position: center, left top -195.49px;
    background-repeat: no-repeat;
  }
  html body.fenix-figma-company-profile-page .fenix-company-hero::before {
    background: linear-gradient(90deg, rgb(90 41 187 / 80%) 25.85%, rgb(90 41 187 / 0%) 74.15%);
  }
  html body.fenix-figma-company-profile-page .fenix-company-hero::after {
    inset: 0 0 auto;
    height: 212px;
    background: linear-gradient(180deg, #030537 7.04%, rgb(3 5 55 / 0%) 92.88%);
    transform: none;
    opacity: 1;
  }
  html body.fenix-figma-company-profile-page .fenix-company-hero h1 { font-size: 72px !important; line-height: 80px !important; font-weight: 700 !important; }
  html body.fenix-figma-company-profile-page .fenix-company-hero p { font-size: 20px !important; line-height: 28px !important; font-weight: 400 !important; }
  html body.fenix-figma-company-profile-page .fenix-company-profile { padding: 0 !important; }
  html body.fenix-figma-company-profile-page .fenix-company-profile h2 { font-size: 48px !important; line-height: 56px !important; font-weight: 700 !important; }
  html body.fenix-figma-company-profile-page .fenix-company-profile__card {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px 64px;
    border: 0;
    box-shadow: inset 0 0 0 1px #e5e5eb, 0 8px 32px 8px rgb(48 29 101 / 4%), 0 20px 26px 4px rgb(48 29 101 / 6%), 0 10px 11px -6px rgb(48 29 101 / 6%);
  }
  html body.fenix-figma-company-profile-page .fenix-company-profile__row {
    position: relative;
    min-height: 52px;
    padding: 0;
    border: 0;
  }
  html body.fenix-figma-company-profile-page .fenix-company-profile__row:nth-child(7) { min-height: 48px; }
  html body.fenix-figma-company-profile-page .fenix-company-profile__prefix { font-weight: 700; }
  html body.fenix-figma-company-profile-page .fenix-company-profile__list { padding-left: 24px; }
  html body.fenix-figma-company-profile-page .fenix-company-profile__list > .fenix-company-profile__line { display: list-item; list-style-type: disc; }
  html body.fenix-figma-company-profile-page .fenix-company-profile__list > br { display: none; }
  html body.fenix-figma-company-profile-page .fenix-company-profile__row:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -16px;
    width: 100%;
    height: 1px;
    background: var(--fenix-neutral-300);
  }
  html body.fenix-figma-company-profile-page .fenix-company-ceo { padding: 120px 0 !important; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo::before {
    width: 1235px;
    height: 914px;
    left: calc(50% - 479px);
    top: 0;
    background: url('../../images/company-profile-pc/ceo-background.svg') no-repeat;
    border-radius: 0;
    filter: none;
    transform: none;
  }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__inner { display: flow-root; width: 719px !important; min-height: 738px; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__visual { border: 0; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__visual::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: url('../../images/company-profile-pc/portrait-frame.svg') center / 404px 404px no-repeat;
  }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__visual img { content: url('../../images/company-profile-pc/portrait.png'); }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__profile { height: auto; min-height: 146px; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__eyebrow { font-size: 16px !important; line-height: 24px !important; font-weight: 700 !important; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo .fenix-company-ceo__profile h2 { font-size: 36px !important; line-height: 44px !important; font-weight: 700 !important; letter-spacing: 0 !important; text-shadow: none !important; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo h2 .fenix-company-ceo__name-space { display: inline-block; width: 3px; height: 0; font-size: 0; line-height: 0; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo .fenix-company-ceo__bio p { font-weight: 400 !important; text-shadow: none; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo .fenix-company-ceo__bio-label { font-weight: 700; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__message { position: relative; margin-top: 432px; gap: 12px; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__message p { font-size: 18px !important; line-height: 28px !important; font-weight: 300 !important; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__quote {
    width: 18px;
    height: 15px;
    flex: 0 0 15px;
    font-size: 0;
    background: url('../../images/company-profile-pc/quote-open.svg') center / contain no-repeat;
  }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__quote--end { background-image: url('../../images/company-profile-pc/quote-close.svg'); }
}

@media (min-width: 768px) and (max-width: 1279px) {
  html body.fenix-figma-company-profile-page .fenix-company-profile-page { gap: 120px !important; }
  html body.fenix-figma-company-profile-page .fenix-company-hero {
    min-height: 428px;
    padding-bottom: 76px !important;
    background-image: linear-gradient(rgb(3 5 55 / 43%), rgb(3 5 55 / 43%)), url('../../images/company-profile-pc/hero.webp');
    background-size: auto, 240.964% 1389.61px;
    background-position: center, left 41.368% top -134.79px;
  }
  html body.fenix-figma-company-profile-page .fenix-company-hero::after { top: -1px; }
  html body.fenix-figma-company-profile-page .fenix-company-hero h1 { font-size: 64px !important; line-height: 72px !important; }
  html body.fenix-figma-company-profile-page .fenix-company-hero p { max-width: none; font-size: 18px !important; line-height: 24px !important; }
  html body.fenix-figma-company-profile-page .fenix-company-profile__inner { gap: 48px; }
  html body.fenix-figma-company-profile-page .fenix-company-profile h2 { font-size: 40px !important; line-height: 48px !important; }
  html body.fenix-figma-company-profile-page .fenix-company-profile__card { padding: 40px 48px; }
  html body.fenix-figma-company-profile-page .fenix-company-profile__row { min-height: 54px; padding: 16px 0; }
  html body.fenix-figma-company-profile-page .fenix-company-profile__row:nth-child(7) { min-height: 54px; }
  html body.fenix-figma-company-profile-page .fenix-company-profile__row :is(dt, dd, dd p) { font-size: 15px !important; line-height: 22px !important; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo { padding: 64px 0 !important; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo::before {
    left: calc(50% - 384px);
    width: 768px;
    height: 786px;
    background-image: url('../../images/company-profile-tablet/ceo-background.svg');
  }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__inner { min-height: 670px; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__eyebrow { top: 98px; font-size: 15px !important; line-height: 22px !important; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__profile { top: 132px; width: 379px; min-height: 136px; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo .fenix-company-ceo__profile h2 { width: 324px !important; font-size: 32px !important; line-height: 40px !important; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo h2 .fenix-company-ceo__name-space { width: 2px; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__bio { min-height: 54px; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo .fenix-company-ceo__bio p { font-size: 13px !important; line-height: 18px !important; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__message { margin-top: 424px; }
  html body.fenix-figma-company-profile-page .fenix-company-ceo__message p { font-size: 16px !important; line-height: 24px !important; }
}
