.teams-linking-shortcode {
    font-family: Inter, sans-serif;
}

.teams-linking-shortcode .teams-linking-title {
    font-size: 22px !important;
    line-height: 125% !important;
    color: #1A1D25 !important;
    margin-bottom: 16px !important;
}

.teams-linking-shortcode .teams-linking-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.teams-linking-shortcode .teams-linking-list-wrap {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    box-sizing: border-box;
    margin: 0 12px 12px 0;
    padding: 16px 8px;
    background: #FFFFFF;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
    height: 74px;
    border-radius: 4px;
    text-decoration: none;
}

.teams-linking-shortcode .teams-linking-list-card {
    width: 100%;
}

.teams-linking-shortcode .card-data {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    position: relative;
}

.teams-linking-shortcode .card-data img {
    width: 30.12px;
    height: 32px;
    margin-right: 12px;
}

.teams-linking-shortcode .card-data span {
    display: inline-block;
    font-size: 14px;
    line-height: 150%;
    color: #060606;
    width: 55%;
}

.teams-linking-shortcode .card-data .teams-linking-arrow {
    background-image: url(../../../../../plugins/fi-shortcodes-global/public/images/arrow-right.svg);
    background-repeat: no-repeat;
    width: 9px;
    height: 16px;
    position: absolute;
    right: 5%;
}

@media only screen and (max-width: 8000px) {
    .teams-linking-shortcode .teams-linking-list-wrap {
        width: calc(25% - 10px);
    }

    .teams-linking-shortcode .teams-linking-list-wrap:nth-child(4n) {
        margin-right: 0;
    }
}

@media only screen and (min-width: 1200px) {
    .teams-linking-shortcode .teams-linking-list-wrap:hover {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.12);
    }
}

@media only screen and (max-width: 1200px) {
    .teams-linking-shortcode .teams-linking-title {
        margin-bottom: 18px !important;
        padding-bottom: 10px !important;
    }

    .teams-linking-shortcode .teams-linking-title:after {
        bottom: -10px !important;
         margin-top: 0 !important;
    }

    .teams-linking-shortcode .teams-linking-title {
        font-size: 20px !important;
    }

    .teams-linking-shortcode .teams-linking-list-wrap {
        width: calc(32.3333% - 5.3333px);
        margin: 0 8px 8px 0;
    }

    .teams-linking-shortcode .teams-linking-list-wrap:nth-child(4n) {
        margin-right: 8px;
    }

    .teams-linking-shortcode .teams-linking-list-wrap:nth-child(3n) {
        margin-right: 0;
    }

    .teams-linking-shortcode .card-data img {
        margin-right: 8px;
    }
}

@media only screen and (max-width: 900px) {
    .teams-linking-shortcode .teams-linking-list-wrap {
        width: calc(25% - 6px);
    }

    .teams-linking-shortcode .teams-linking-list-wrap:nth-child(3n) {
        margin-right: 8px;
    }

    .teams-linking-shortcode .teams-linking-list-wrap:nth-child(4n) {
        margin-right: 0;
    }
}

@media only screen and (max-width: 768px) {
    .teams-linking-shortcode .teams-linking-list-wrap {
        width: calc(48% - 4px);
    }

    .teams-linking-shortcode .teams-linking-list-wrap:nth-child(2n) {
        margin-right: 0;
    }
}
