/* ============================================================
   Kurs 10 — Kursy Slider (z filtrem tab)
   ============================================================ */

.kurs10-section {
    background-color: var(--kurs-surface-base);
    padding: 6.4rem 1.6rem;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
}

.kurs10-wrapper {
    width: 100%;
    max-width: 128rem;
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

/* Header */
.kurs10-header {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 70rem;
}

.kurs10-header--align-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 70rem;
}

.kurs10-header--align-left {
    text-align: left;
}

.kurs10-eyebrow {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.2;
    color: #626573;
    margin: 0;
}

.kurs10-title {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.056rem;
    color: #1f1f1f;
    margin: 0;
}

.kurs10-desc {
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    color: #374151;
    margin: 0;
}

/* Filter buttons */
.kurs10-filter-group {
    display: flex;
    align-items: center;
    border: 1px solid #969899;
    border-radius: 2.4rem;
    padding: 0.4rem;
    width: fit-content;
    gap: 0;
}

.kurs10-filter-btn {
    flex: 1;
    padding: 1.2rem 1.6rem;
    border: none;
    border-radius: 2.0rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.5;
    color: #374151;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.kurs10-filter-btn--active {
    background-color: #050709;
    color: #ffffff;
}

/* Slider */
.kurs10-slider-wrap {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

/* Cards */
.kurs10-card {
    width: 100%;
    background-color: var(--kurs-surface-light, #ffffff);
    border-radius: 2.0rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.kurs10-card-img {
    width: 100%;
    aspect-ratio: 177 / 118;
    overflow: hidden;
    border-radius: 2.0rem;
    flex-shrink: 0;
}

.kurs10-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kurs10-card-img--placeholder {
    background-color: var(--kurs-surface-dim, #e8f4fa);
}

.kurs10-card-body {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
    padding: 0.8rem 0.8rem 1.6rem;
    flex: 1;
}

.kurs10-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.kurs10-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.3;
    color: #050709;
    margin: 0;
}

.kurs10-card-date {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.5;
    color: #374151;
    margin: 0;
}

.kurs10-card-link {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.2;
    color: #374151;
    text-decoration: none;
    transition: color 0.2s;
}

.kurs10-card-link:hover {
    color: #050709;
}

.kurs10-card-link svg {
    flex-shrink: 0;
}

/* Navigation arrows */
.kurs10-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.4rem;
}

.kurs10-arrow {
    width: 4.0rem;
    height: 4.0rem;
    border: none;
    background: transparent;
    color: #050709;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
    padding: 0;
}

.kurs10-arrow:hover {
    opacity: 0.7;
}

/* Reset — neutralizacja globalnych styli motywu */
.kurs10-section .kurs10-title {
    font-size: 2.8rem !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.056rem !important;
    color: #1f1f1f !important;
    margin: 0 !important;
}

.kurs10-section .kurs10-arrow,
.kurs10-section .kurs10-arrow:hover,
.kurs10-section .kurs10-arrow:focus,
.kurs10-section .kurs10-arrow:active {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #050709 !important;
}

.kurs10-section .kurs10-arrow:hover {
    opacity: 0.7 !important;
}

.kurs10-section .kurs10-filter-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #374151 !important;
    font-family: 'Poppins', sans-serif !important;
}

.kurs10-section .kurs10-filter-btn--active {
    background-color: #050709 !important;
    color: #ffffff !important;
}

.kurs10-section .kurs10-filter-btn:hover:not(.kurs10-filter-btn--active) {
    background-color: rgba(0,0,0,0.05) !important;
    color: #374151 !important;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1280px) {
    .kurs10-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 1024px) {
    .kurs10-section {
        padding: 4.8rem 1.6rem;
    }
}

@media (max-width: 768px) {
    .kurs10-section {
        padding: 4.0rem 1.6rem;
    }

    .kurs10-wrapper {
        gap: 2.4rem;
    }

    .kurs10-title {
        font-size: 2.2rem;
    }

    .kurs10-filter-group {
        flex-direction: column;
        width: 100%;
        border-radius: 1.6rem;
    }

    .kurs10-filter-btn {
        width: 100%;
        text-align: center;
    }

    .kurs10-card {
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .kurs10-section {
        padding: 3.2rem 1.2rem;
    }

    .kurs10-eyebrow {
        font-size: 1.4rem;
    }
}
