/* ABOUT US - OUR HISTORY */
.our-history-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.our-history-images {
    gap: 36px;
}

.our-history-wrapper .heading-2 {
    text-align: start;
}

.our-history-wrapper .wp-block-list {
    list-style-type: disc !important;
    padding-left: 20px !important;
}

.our-history-wrapper .is-layout-flex {
    flex-direction: row;
    gap: 0;
}

.our-history-wrapper .button {
    width: max-content;
}

.our-history-wrapper .wp-block-jetpack-slideshow_slide img {
    width: 100%;
    /* height: 202px; */
}

.our-history-wrapper .size-full {
    height: auto;
}

.wp-block-jetpack-slideshow_image.wp-image-4285 {
    object-fit: cover;
}


.wp-block-jetpack-slideshow_slide img.wp-block-jetpack-slideshow_image {
    object-fit: cover !important;
}

.wp-block-jetpack-slideshow_caption.gallery-caption {
    font-family: var(--wp--preset--font-family--roboto-mono) !important;
}

.capabilities-btn {
    margin: 28px auto 44px auto;
}

/* ABOUT US - CAPABILITIES */

.capabilities-content {
    background-color: var(--wp--preset--color--accent-1);
    display: flex;
    justify-content: center;
}

.capabilities-content>div {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.capabilities-hero img {
    height: 485px;
}

.capabilities-content .service {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.capabilities-content .service div {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.capabilities-content .service img {
    max-height: 290px;
    width: 515px;
    padding: 0;
}

.service-details {
    display: flex;
    flex-direction: column;
    padding: 15px;
    gap: 7px;
    width: 100%;
}

.service-details h3 {
    font-weight: 700;
}

.service-details ul {
    list-style-type: disc;
    padding-left: 10px;
}

.capabilities-content .service ul,
.capabilities-content .service ul li,
.capabilities-content .service ul li * {
    font-family: var(--wp--preset--font-family--roboto-mono) !important;
}

.service-bullet {
    width: 100% !important;

}

.service-bullet div {
    display: flex;
    flex-direction: row !important;
    width: 100% !important;
}

.service-bullet>div>span:first-child {
    min-width: min-content;
    font-weight: 600;
}

/* ABOUT US - DOWNLOADS */

table {
    border-collapse: separate;
    overflow: hidden;
}

.downloads-table thead {
    display: none;
}

.downloads-table,
.downloads-table tbody,
.downloads-table tr,
.downloads-table td {
    display: block;
    width: 100%;
}

.downloads-table tr {
    margin-bottom: 3px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 16px;
}

/* hide type on mobile */
.downloads-table .type {
    display: none;
}

/* typography */
.downloads-table tbody {
    font-family: var(--wp--preset--font-family--roboto-mono);
}

.downloads-table .file {
    font-weight: 700;
    font-size: 18px;
    padding: 18px 21px 8px;
}

.downloads-table .desc {
    padding: 0 21px 12px;
}

.downloads-table .action {
    padding: 0 21px 18px;
}

.downloads-table .action a {
    color: var(--wp--preset--color--primary-main);
}

.downloads-table tbody a:hover {
    font-weight: normal !important;
}

/* remove desktop borders in stacked mode */
.downloads-table th,
.downloads-table td {
    border: none;
    text-align: left;
    vertical-align: top;
}

/* alternating background */
.downloads-table tbody tr:nth-child(odd) {
    background-color: #E5E5E5;
}

.downloads-table tbody tr:nth-child(even) {
    background-color: #CBCBCB;
}

/* SUSTAINABILITY */

.commitment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 46px;
    justify-content: center;
}

.commitment {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.commitment p {
    margin-top: 3px;
    min-height: 73px;
}

.supporting-local span:not(:first-child) {

    text-align: start;
}

.info-display {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.image-group img {
    max-height: 202px;
}

/* GLOBAL PARTNERS */
.global-sales-wrapper h1,
.global-sales-wrapper h2 {
    text-align: start;
}

.global-partner-logo-group>img {
    object-fit: contain;
    border-radius: 0;
}

.partner-location-wrapper:not(:last-child) {
    padding-bottom: 50px;
    border-bottom: 1px solid #C6C6C7;
}

.partner-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    justify-content: center;
}

.partner {
    gap: 10px;
}

.partner-location-wrapper,
.partner,
.partner-heading,
.partner-contact {
    display: flex;
    flex-direction: column;
}

.partner-contact a {
    color: var(--wp--preset--color--primary-main);
}

.partner-email {
    color: var(--wp--preset--color--contrast) !important;
}

.partner-location-wrapper {
    gap: 42px;
}

.partner-heading>* {
    font-weight: 700;
}

.partner-heading {
    margin-bottom: 10px;
}

.partner-details {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.partner-location-wrapper[id]:not(#all) {
    scroll-margin-top: 200px;
}

.global-sales-wrapper,
#all {
    scroll-margin-top: 250px;
}

/* TERMS AND CONDITIONS */
aside.side-nav {
    height: max-content;
    top: 170px;
    max-height: calc(100vh - 200px);
    overflow-y: scroll;
    overflow-x: hidden;
    flex-shrink: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--wp--preset--color--primary-main) #e5e7eb;
}

aside.side-nav>* {
    border-bottom: 1px solid #D1D5DC;
    display: flex;
    flex-direction: column;
    width: 296px;
}

a.side-nav-links {
    color: var(--wp--preset--color--primary-main);
    padding: 22px 12px;
}

a.side-nav-links:hover {
    color: var(--wp--preset--color--primary-dark);
}

h2.wp-block-heading {
    font-size: 32px;
    margin-top: 48px;
}

h2.wp-block-heading[id] {
    scroll-margin-top: 160px;
}


@media (min-width: 1024px) {

    /* ABOUT US - OUR HISTORY */
    .our-history-images {
        gap: 79px;
    }

    .our-history-images img:first-of-type {
        width: 328px;
        height: 71px;
    }

    .our-history-images img:last-of-type {
        width: 158px;
        height: 70px;
    }

    .capabilities-btn {
        margin: 20px 0 46px 0;
    }

    /* ABOUT US - OUR CAPABILITIES */
    .capabilities-content .service {
        flex-direction: row;
        gap: 33px;
    }


    .service-details {
        padding: 0;
        gap: 0;
    }

    .service-details h3 {
        height: 45px;
    }

    /* ABOUT US - DOWNLOADS */
    .downloads-table {
        display: table;
        table-layout: fixed;
        width: 100%;
        border-radius: 24px;
    }

    .downloads-table thead {
        display: table-header-group;
        background-color: var(--wp--preset--color--primary-main);
        color: var(--wp--preset--color--base);
    }

    .downloads-table tbody {
        display: table-row-group;
    }

    .downloads-table tr {
        display: table-row;
        margin: 0;
        padding: 0;
        border-bottom: none;
    }

    .downloads-table th,
    .downloads-table td {
        display: table-cell;
        padding: 18px 21px;
        border: 2px solid white;
    }

    /* show type again on desktop */
    .downloads-table .type {
        display: table-cell;
    }

    /* reset mobile-only padding overrides */
    .downloads-table .file,
    .downloads-table .desc,
    .downloads-table .action {
        padding: 18px 21px;
        font-size: inherit;
        font-weight: inherit;
    }


    /* SUSTAINABILITY */
    .commitment-grid {
        grid-template-columns: repeat(3, 331px);
        row-gap: 38px;
        column-gap: 45px;
    }

    .supporting-local span:not(:first-child) {
        width: 842px;
        text-align: center;
    }

    .image-group img {
        max-height: 290px;
    }

    /* GLOBAL SALES PARTNERS */
    .partner-wrapper {
        grid-template-columns: repeat(3, 296px);
        grid-template-rows: repeat(2, auto);
        row-gap: 64px;
        column-gap: 30px;
        justify-content: center;
    }

    #europe .partner-details {
        min-height: 94px;
    }

    .partner-details>p {
        word-break: break-word;
    }

    #middle-east-and-africa .partner-details {
        min-height: 44px;
        max-height: 94px;
        margin: 16px 0;
        align-items: start;
    }

    #asia-pacific .partner-details,
    #united-states .partner-details {
        min-height: 94px;
        max-height: 94px;
        margin-bottom: 36px;
        align-items: start;
    }

    .partner {
        gap: 0;
    }

}

@media (min-width: 768px) {}