.quick-links {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    padding-top: 38px
}

.quick-link {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-start;
    min-width: 0;
    min-height: 310px;
    overflow: hidden;
    padding: 22px 20px;
    border: 0;
    border-radius: 26px 0;
    background: var(--quick-image) right -4px bottom -3px/auto 82% no-repeat, linear-gradient(145deg, #08743a 0%, #249644 48%, #b8d544 100%);
    box-shadow: 0 12px 30px rgba(22, 135, 58, .18);
    color: #fff;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.25
}

.quick-link::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 54, 92, .42) 0%, rgba(7, 54, 92, .08) 34%, transparent 58%)
}

.quick-link::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: inherit;
    pointer-events: none
}

.quick-link>span {
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 8px rgba(7, 54, 92, .32)
}

.quick-link .quick-arrow {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    margin-left: auto;
    border-radius: 50%;
    background: rgba(7, 54, 92, .28);
    font-size: 1rem;
    transition: transform .2s ease, background .2s ease
}

.quick-link:hover {
    border-color: transparent;
    box-shadow: 0 18px 40px rgba(22, 135, 58, .28);
    transform: translateY(-5px)
}

.quick-link:hover span {
    color: #FFF;
}

.quick-link:hover .quick-arrow {
    background: #07365c;
    transform: translateX(3px)
}

@media(max-width:980px) {
    .quick-links {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }
}

@media(max-width:680px) {
    .quick-links {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        padding-bottom: 16px;
        scroll-snap-type: x mandatory
    }

    .quick-link {
        flex: 0 0 72%;
        min-width: 225px;
        min-height: 300px;
        scroll-snap-align: start
    }
}