/* =========================================================
   QUICK LINKS DƯỚI HOME SLIDER
   ========================================================= */

.wst_home_quicklinks {
    position: relative;
    z-index: 8;
    margin-top: -1px;
    padding: 10px 0;
    background: #0074f6;
    border-bottom: 1px solid #e8edf3;
}

.wst_home_quicklinks_grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.wst_home_quicklink {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 62px;
    padding: 5px 10px;
    border: 1px solid #dfe5ec;
    border-radius: 10px;
    background: #fff;
    color: #121826;
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.wst_home_quicklink::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20, 100, 244, .06),
        transparent 62%
    );
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

.wst_home_quicklink:hover {
    transform: translateY(-2px);
    border-color: rgba(20, 100, 244, .42);
    box-shadow: 0 10px 28px rgba(15, 23, 42, .09);
}

.wst_home_quicklink:hover::before {
    opacity: 1;
}

.wst_home_quicklink:focus-visible {
    outline: 2px solid #1464f4;
    outline-offset: 3px;
}

.wst_home_quicklink_icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 9px;
    background: #f2f6fc;
    color: #1464f4;
    transition:
        transform .25s ease,
        background .25s ease;
}

.wst_home_quicklink:hover .wst_home_quicklink_icon {
    transform: scale(1.05);
    background: #eaf1ff;
}

.wst_home_quicklink_icon svg {
    width: 21px;
    height: 21px;
}

.wst_home_quicklink_text {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.wst_home_quicklink_arrow {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    color: #8a96a6;
    font-size: 18px;
    transition:
        transform .25s ease,
        color .25s ease;
}

.wst_home_quicklink:hover .wst_home_quicklink_arrow {
    transform: translateX(3px);
    color: #1464f4;
}

@media (max-width: 900px) {
    .wst_home_quicklinks_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .wst_home_quicklinks {
        padding: 12px 0;
    }

    .wst_home_quicklinks_grid {
        gap: 8px;
    }

    .wst_home_quicklink {
        min-height: 58px;
        padding: 10px 11px;
        gap: 9px;
        border-radius: 8px;
    }

    .wst_home_quicklink_icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .wst_home_quicklink_icon svg {
        width: 19px;
        height: 19px;
    }

    .wst_home_quicklink_text {
        font-size: 13px;
    }

    .wst_home_quicklink_arrow {
        display: none;
    }
}
