/* Stat Banner */

:root {
    --paradiso: #2F6F7A;
    --bright-sun: #ffc845;
    --white: #ffffff;
}

.clear:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.common-wrap {
    max-width: 1320px;
    margin: 0 auto;
    clear: both;
    padding: 0 20px;
}

.flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-flow: row wrap;
}

.flex-vertical-align {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.mobi {
    display: none;
}

.desk {
    display: block;
}

.stat-banner-wrap {
    float: left;
    width: 100%;
    padding: 56px 0 0;
    background-color: var(--white);
}

.stat-banner-wrap .common-wrap {
    max-width: 1180px;
}

.stat-banner {
    float: none;
    width: 100%;
    max-width: 964px;
    margin: 0 auto;
    align-items: center;
    column-gap: 28px;
    background-color: #f7f7f7;
    border: 1px solid var(--paradiso);
    border-radius: 8px;
    padding: 22px 24px 22px 22px;
    box-sizing: border-box;
}

.stat-banner-thumb {
    width: 122px;
    flex-shrink: 0;
}

.stat-banner-thumb figure {
    float: left;
    width: 100%;
    border-radius: 7px;
    overflow: hidden;
    background-color: var(--white);
}

.stat-banner-thumb img {
    float: left;
    width: 100%;
    height: 112px;
    object-fit: cover;
    border-radius: 7px;
}

.stat-banner-content {
    width: calc(100% - 150px);
}

.stat-banner-content h3 {
    color: var(--paradiso);
    font-size: 24px;
    line-height: 30px;
    font-weight: 700;
    padding-bottom: 18px;
}

.stat-banner-content h3 em {
    font-style: italic;
    font-weight: 700;
}

.stat-banner-bottom {
    float: left;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    column-gap: 24px;
}

.stat-banner-stats {
    width: auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 16px;
    flex: 1;
    flex-wrap: nowrap;
}

.stat-banner-stat {
    width: auto;
    align-items: center;
    column-gap: 12px;
}

.stat-banner-stat strong {
    color: var(--bright-sun);
    font-size: 40px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.stat-banner-stat span {
    color: var(--paradiso);
    font-size: 16px;
    line-height: 20px;
    font-weight: 700;
    display: inline-block;
    max-width: 86px;
}

.stat-banner-stat:nth-child(3) span {
    max-width: none;
    white-space: nowrap;
}

.stat-banner-btn {
    position: relative;
    flex-shrink: 0;
    z-index: 2;
}

.stat-banner-btn.hasBtn::after {
    display: none;
}

.stat-banner-btn .btn {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    min-width: 190px;
    min-height: 53px;
    line-height: 53px;
    padding: 0 28px;
    background-color: var(--paradiso);
    border-radius: 5px;
    transform: skewX(-12deg);
    box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
    clip-path: none;
    text-decoration: none;
    box-sizing: border-box;
}

.stat-banner-btn .button--calypso.btn {
    background-color: var(--paradiso);
}

.stat-banner-btn .button--calypso span {
    display: inline-block;
    transform: skewX(12deg);
    color: var(--white);
}

.stat-banner-btn .button--calypso:hover span {
    color: var(--paradiso);
}

.stat-banner-btn .button--calypso::before,
.stat-banner-btn .button--calypso::after {
    background-color: var(--bright-sun);
}

@media only screen and (min-width: 280px) and (max-width: 480px) {
    .mobi {
        display: block;
    }

    .desk {
        display: none;
    }

    .stat-banner-wrap {
        padding: 36px 0 48px;
    }

    .stat-banner {
        flex-flow: column;
        align-items: center;
        padding: 36px 16px 28px;
        column-gap: 0;
        row-gap: 0;
    }

    .stat-banner-thumb {
        display: none;
    }

    .stat-banner-content {
        width: 100%;
        text-align: center;
    }

    .stat-banner-content h3 {
        font-size: 20px;
        line-height: 1.1;
        padding-bottom: 24px;
        text-align: center;
        max-width: 329px;
        margin: 0 auto;
    }

    .stat-banner-bottom {
        flex-flow: column;
        align-items: center;
        row-gap: 24px;
        width: 100%;
    }

    .stat-banner-stats {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        align-items: center;
        column-gap: 12px;
        row-gap: 8px;
        width: 100%;
        max-width: 329px;
        background-color: var(--white);
        border: 1px solid var(--paradiso);
        border-radius: 8px;
        padding: 14px 16px 16px;
        box-sizing: border-box;
    }

    .stat-banner-stat {
        display: contents;
        width: auto;
    }

    .stat-banner-stat strong {
        font-size: 30px;
        line-height: 1.1;
        min-width: 0;
        text-align: right;
        justify-self: end;
    }

    .stat-banner-stat span {
        font-size: 16px;
        line-height: 1.3;
        text-align: left;
        white-space: nowrap;
        justify-self: start;
    }

    .stat-banner-btn {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .stat-banner-btn .btn {
        min-width: 225px;
        font-size: 18px;
    }
}

@media only screen and (min-width: 481px) and (max-width: 768px) {
    .mobi {
        display: block;
    }

    .desk {
        display: none;
    }

    .stat-banner-wrap {
        padding: 44px 0 56px;
    }

    .stat-banner {
        flex-flow: column;
        align-items: center;
        padding: 40px 24px 32px;
        column-gap: 0;
    }

    .stat-banner-thumb {
        display: none;
    }

    .stat-banner-content {
        width: 100%;
        text-align: center;
    }

    .stat-banner-content h3 {
        font-size: 20px;
        line-height: 1.1;
        padding-bottom: 24px;
        text-align: center;
        max-width: 420px;
        margin: 0 auto;
    }

    .stat-banner-bottom {
        flex-flow: column;
        align-items: center;
        row-gap: 24px;
        width: 100%;
    }

    .stat-banner-stats {
        display: grid;
        grid-template-columns: auto auto;
        justify-content: center;
        align-items: center;
        column-gap: 14px;
        row-gap: 10px;
        width: 100%;
        max-width: 420px;
        background-color: var(--white);
        border: 1px solid var(--paradiso);
        border-radius: 8px;
        padding: 16px 22px 18px;
        box-sizing: border-box;
    }

    .stat-banner-stat {
        display: contents;
        width: auto;
    }

    .stat-banner-stat strong {
        font-size: 30px;
        line-height: 1.1;
        min-width: 0;
        text-align: right;
        justify-self: end;
    }

    .stat-banner-stat span {
        font-size: 16px;
        line-height: 1.3;
        text-align: left;
        white-space: nowrap;
        justify-self: start;
    }

    .stat-banner-btn {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .stat-banner-btn .btn {
        min-width: 225px;
        font-size: 18px;
    }
}
