/* ── Workflow Actions slider ─────────────────────────────────────────────── */
.nml-wfa {
    padding: 80px 0;
}

/* Header */
.nml-wfa__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 48px;
}

.nml-wfa__header-left {
    max-width: 720px;
}

.nml-wfa__heading {
    margin: 20px 0 0;
    font-size: 48px;
    line-height: 56px;
    font-weight: 700;
    color: var(--color-text-primary);
}

.nml-wfa__heading span {
    color: var(--color-text-accent);
}

.nml-wfa__header-right {
    flex: 0 0 auto;
    max-width: 409px;
}

.nml-wfa__subtext {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* Cards */
.nml-wfa__wrap {
    position: relative;
}

.nml-wfa__swiper {
    overflow: hidden;
}

.nml-wfa__card {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 20px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-bg);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0px 1px 2px 0px #4C83F333;
}


.nml-wfa__card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.nml-wfa__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(151.85deg, #162F6F -0.45%, #FF4171 231.49%);
    flex: 0 0 auto;
}

.nml-wfa__card-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.nml-wfa__card-arrow {
    display: inline-flex;
    color: var(--color-text-primary);
    transition: transform 0.2s ease, color 0.2s ease;
}

.nml-wfa__card:hover .nml-wfa__card-arrow {
    color: var(--color-text-accent);
    transform: translateX(3px);
}

.nml-wfa__card-title {
    margin: 0 0 4px;
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    color: var(--color-primary);
}

.nml-wfa__card-text {
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

/* Nav row: prev | bullets | next */
.nml-wfa__nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
}

.nml-wfa__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: var(--color-bg);
    color: var(--color-primary);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nml-wfa__nav:hover {
    border-color: var(--color-primary);
    background: var(--color-primary-hover);
}

.nml-wfa__nav.swiper-button-disabled {
    opacity: 0.4;
    cursor: default;
}

.nml-wfa__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
}

.nml-wfa__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 !important;
    border-radius: 999px;
    background: var(--color-line-blue);
    opacity: 0.5;
    transition: width 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.nml-wfa__pagination .swiper-pagination-bullet-active {
    width: 32px;
    opacity: 1;
    background: var(--color-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .nml-wfa__heading {
        font-size: 44px;
    }
}

@media (max-width: 767px) {
    .nml-wfa {
        padding: 40px 0;
        overflow: hidden;
    }

    .nml-wfa__swiper {
        overflow: visible;
    }

    .nml-wfa__header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 32px;
    }
    .nml-wfa__header-right {
        max-width: none;
        padding-top: 0;
    }
    .nml-wfa__heading {
        margin: 16px 0 0;
        font-size: 32px;
        line-height: 40px;
    }

    .nml-wfa__subtext {
        font-size: 14px;
        line-height: 20px;
    }

    .nml-wfa__nav-row {
        margin-top: 24px;
    }

    .nml-wfa__card {
        padding: 16px;
    }

    .nml-wfa__card-icon {
        width: 34px;
        height: 34px;
    }

    .nml-wfa__card-icon img {
        width: 18px;
        height: 18px;
    }

    .nml-wfa__card-top {
        margin-bottom: 12px;
    }

    .nml-wfa__card-title {
        margin: 0 0 2px;
        font-size: 16px;
        line-height: 24px;
    }

    .nml-wfa__card-text {
        font-size: 14px;
        line-height: 20px;
    }

    .nml-wfa__nav {
        max-width: 44px;
        width: 100%;
        height: 44px;
    }
}
