.quick-links {
    padding: 48px 0 50px;
}

.quick-links-heading {
    text-align: center;
    padding: 0 1px;
}

.quick-links-heading h2 {
    position: relative;
    padding: 0 0 25px;
}

.quick-links-heading h2::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translate(-50% , 0%);
    bottom: 15px;
    width: 149px;
    height: 5px;
    background-color: #000000;
}

.quick-links-item {
    display: flex;
    align-items: center;
    width: calc(100% - 8px);
    text-decoration: none;
    height: 75px;
    text-transform: uppercase;
    padding: 19px;
    font-size: 18px;
    font-weight: 600;
    background-color: #FFFFFF;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 22px;
    position: relative;
    line-height: 1em;
    vertical-align: middle;
}

.quick-links-item.has-no-link-cta {
    pointer-events: none;
}

.quick-links-item::after {
    content: '\e90b';
    font-family: 'icomoon';
    transform: rotate(180deg);
    display: inline-block;
    font-size: 14px;
    margin-left: 19px;
}

.quick-links-item::before {
    content: '';
    position: absolute;
    top: -6px;
    right: -8px;
    width: 281px;
    height: 122%;
    background-color: #CECECE;
    clip-path: polygon(25% 0%, 100% 0, 100% 50%, 100% 100%, 91% 76%, 0% 50%);
    z-index: -1;
}

.quick-links-button {
    margin-top: 26px;
    text-align: center;
}

@media(min-width: 768px) {
    .quick-links {
        padding: 89px 0 98px;
    }

    .quick-links .container{
        padding-right: var(--bs-gutter-x,40px);
        padding-left: var(--bs-gutter-x,40px);
    }

    .quick-links-heading h2 {
        padding-bottom: 22px;
    }

    .quick-links-heading h2::before {
        content: '';
        position: absolute;
        left: 50%;
        transform: translate(-50% , 0%);
        bottom: 18px;
        width: 420px;
    }

    .quick-links-item {
        width: 216px;
        justify-content: center;
        text-align: center;
        margin: 0 10px 32px;
        line-height: 1.2rem;
        font-size: 16px;
        height: inherit;
    }

    .quick-links-item::before {
        width: 177px;
    }

    .quick-links-wrapper {
        display: flex;
        flex-wrap: wrap;
        width: calc(100% + 20px);
        justify-content: center;
        margin-left: -10px;
        margin-top: 26px;
    }

    .quick-links-item::after {
        margin-left: 0;
    }

    .quick-links-button {
        margin-top: 14px;
    }
}

@media(min-width: 1200px) {
    .quick-links {
        padding: 100px 0;
    }

    .quick-links-item {
        width: 290px;
        height: inherit;
        font-size: 20px;
        line-height: 1.2em;
    }

    .quick-links-item::after {
        margin-left: 12px;
    }

    .quick-links-heading {
        width: 100%;
        max-width: 1098px;
        margin: 0 auto;
    }

    .quick-links-heading p {
        padding-bottom: 0;
    }

    .quick-links-wrapper {
        margin-top: 49px;
    }

    .quick-links-button {
        margin-top: 29px;
    }

    .quick-links-item:hover::before {
        background-color: #D22429;
    }

    .quick-links-item span {
        position: relative;
    }

    .quick-links-item span {
        position: relative;
    }

    .quick-links-item:hover span::before {
        content: '';
        position: absolute;
        bottom: -10px;
        width: 113%;
        height: 2px;
        background-color: #D22429;
        left: 0;
    }

    .quick-links-item::before {
        width: 258px;
        height: 118%;
    }
}

@media(min-width: 1900px) {
    .quick-links-item {
        margin: 0 22px 51px;
    }

    .quick-links-item::before {
        top: -9px;
        right: -12px;
        clip-path: polygon(25% 0%, 100% 0, 100% 50%, 100% 100%, 82% 78%, 0% 50%);
    }

    .quick-links-button {
        margin-top: 0;
    }
}