/*
 * About us page.
 * Builds on Foundation and the components in main.min.css (.poster, .testimonial,
 * .overline, .lead, .bg-teal, .bg-alternate). Breakpoints match Foundation's
 * medium breakpoint (829px = 51.8125em).
 */

/* Poster: full-bleed team illustration instead of the padded image box */
.poster-about .poster-image-container {
    position: relative;
    overflow: hidden;
    padding: 0;
    aspect-ratio: 16 / 10;
}

.poster-about .poster-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Our story */
.milestones {
    margin-top: 2rem;
    margin-bottom: 0;
    border-top: 1px solid #d7d7d7;
}

.milestones > li {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #d7d7d7;
    font-size: 14px;
    line-height: 22px;
}

.milestones strong {
    flex: 0 0 64px;
    color: #000;
    font-size: 16px;
}

/* What we believe */
.values,
.values h2,
.values h3 {
    color: #21283a;
}

.value {
    margin-bottom: 2rem;
}

.value__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background-color: white;
}

.value__icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.value h3 {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
}

.value p {
    margin-bottom: 0;
    font-size: 14px;
    line-height: 20px;
}

/* Meet the team: .testimonial card with a larger avatar */
.team-member {
    margin-top: 80px;
    padding: 104px 28px 32px;
}

.team-member .testimonial__avatar {
    top: -80px;
    left: calc(50% - 80px);
    width: 160px;
    height: 160px;
}

.team-member h3 {
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 24px;
}

.team-member .overline {
    margin-bottom: 6px;
}

.team-member p {
    margin-bottom: 0;
    line-height: 22px;
}

/* The company behind Forex Hero */
.company-details {
    max-width: 560px;
    margin: 3rem auto 0;
    padding: 12px 32px;
    border-radius: 16px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(11, 29, 61, 0.04), 0 16px 24px -16px rgba(11, 29, 61, 0.24);
}

.company-details__row {
    display: flex;
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid #e6e6e6;
    font-size: 14px;
    line-height: 20px;
}

.company-details__row:first-child {
    border-top: 0;
}

.company-details dt {
    flex: 0 0 176px;
    margin: 0;
    color: #9b9b9b;
    font-weight: 400;
}

.company-details dd {
    margin: 0;
    color: #000;
    font-weight: 700;
}

/* Questions + download */
.contact-us {
    padding-top: 0;
}

.contact-us .column {
    margin-bottom: 2rem;
}

.contact-us h2 {
    margin-bottom: 1rem;
}

.contact-us .app-store-badge img {
    width: 189px;
}

@media print, screen and (min-width: 51.8125em) {
    .poster-about,
    .poster-about .poster-inner-container {
        min-height: 568px;
    }

    .poster-about .poster-image-container {
        aspect-ratio: auto;
    }

    .poster-about h1 {
        max-width: 392px;
        margin-bottom: 1rem;
    }

    .poster-about .lead {
        max-width: 382px;
    }

    .milestones {
        margin-top: 0;
    }

    .team-member {
        height: calc(100% - 80px);
    }
}

@media screen and (max-width: 51.81125em) {
    .team-member {
        margin-bottom: 1rem;
    }

    .company-details {
        padding: 8px 20px;
    }

    .company-details__row {
        flex-direction: column;
        gap: 2px;
    }

    .company-details dt {
        flex-basis: auto;
    }
}
