/*XP Section*/

.xp-section {
    /* order: 5; */
    margin-top: var(--spacing-128);
    position: relative;
}

.xp-section .padding-global {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.xp-header {
    z-index: 2;
}

.xp-card {
    position: relative;
    will-change: transform;
}

.xp-image {
    position: relative;
}

.xp-content {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.xp-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: var(--spacing-32);
    z-index: 2;
}

.xp-description {
    margin-top: var(--spacing-16);
    margin-bottom: var(--spacing-16);
}

.xp-image-wrapper {
    height: 100%;
    overflow: hidden;
}

.xp-image {
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.xp-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /*transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);*/
}

.xp-grid-wrapper {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4vw;
    margin-top: -4vw;
}

.xp-grid {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: auto;
    grid-gap: 0px;
    grid-template-rows: 90px 90px 90px 90px 90px 90px 90px 90px 90px 90px 90px 90px 90px;
    /* grid-template-rows: repeat(auto-fill, minmax(100px, 1fr)); */
}

.xp-card:first-child {
    grid-column: 1 / 9;
    grid-row: 3 / 12;
}

.xp-card:nth-child(2) {
    grid-column: 12 / 17;
    grid-row: 2 / 8;
}

.xp-card:nth-child(3) {
    grid-column: 10 / 14;
    grid-row: 9 / 14;
}

.xp-card:nth-child(3) .xp-image img {
    height: 160%;
}

.swift-xp-wrapper {
    position: absolute;
    width: 62vw;
    height: 20vw;
    max-width: 900px;
    transform: translate(16%, 53%);
    aspect-ratio: 1019/408;
}

.location-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
}

.blue-gradient .location-wrapper span {
    margin-bottom: 0px;
    font-size: 11px;
    padding-left: 0px;
    letter-spacing: 0px;
}

.location-wrapper .subtitle {
    margin-bottom: 0px;
    font-size: 11px;
    padding-left: 0px;
}

a.xp-card-link:active:hover,
a.xp-card-link:hover {
    color: var(--white);
}

.blue-gradient:not(.footer) {
    padding-top: 125px;
}

.blue-gradient .xp-description {
    max-width: 535px;
    margin: 0 auto;
    margin-top: var(--spacing-16);
    margin-bottom: var(--spacing-16);
}

.blue-gradient .subtitle {
    font-size: 30px;
    line-height: 21px;
    letter-spacing: 3px;
}


@media (max-width: 1280px) {
    .xp-grid {
        grid-template-rows: repeat(13, 5.6vw);
        padding: 0 6vw;
    }
}

@media (max-width: 991px) {
    .xp-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 16px;
        width: 334px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 48px;
        margin-bottom: 48px;
    }

    .xp-content {
        padding: 16px;
    }

    .location-wrapper .subtitle {
        margin-bottom: 0px;
    }

    .xp-card:first-child {
        grid-column: unset;
        grid-row: unset;
        aspect-ratio: 334 / 445;
        max-width: 334px;
        /* max-height: 445px; */
        width: 334px;
    }

    .xp-card:nth-child(2) {
        grid-column: unset;
        grid-row: unset;
        aspect-ratio: 277 / 369;
        width: 277px;
        align-self: flex-end;
    }

    .xp-card:nth-child(3) {
        grid-column: unset;
        grid-row: unset;
        aspect-ratio: 222 / 296;
        max-width: 222px;
        align-self: flex-start;
        width: 222px;
    }
}

@media (max-width: 767px) {
    .xp-grid {
        width: 100%;
    }

    .xp-card:first-child {
        width: 100%;
        max-width: 100%;
    }

    .xp-card:nth-child(2) {
        width: 82%;
    }

    .xp-card:nth-child(3) {
        width: 65%;
    }

    .test-display {
        display: none;
    }

    .blue-gradient {
        padding-top: 55px;
    }
}