/* ==========================================================================
   Kurs 01 Hero - Section
   ========================================================================== */
.kurs-hero-section {
    background-color: var(--kurs-surface-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4.8rem 2.4rem;
    font-family: 'Poppins', sans-serif;
}

.kurs-hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4.0rem;
    max-width: 128rem;
    width: 100%;
}

.kurs-hero-content {
    display: flex;
    flex-direction: column;
    gap: 4.8rem;
    flex: 1 0 0;
    min-width: 25.6rem;
    max-width: 70rem;
}

.kurs-hero-text {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

.kurs-hero-top {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

/* Pills */
.kurs-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.kurs-hero-pill {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--kurs-surface-dim);
    border-radius: 99.9rem;
    padding: 0.6rem 0.8rem;
    min-height: 2.4rem;
}

.kurs-hero-pill-icon {
    width: 2.0rem;
    height: 2.0rem;
    flex-shrink: 0;
}

.kurs-hero-pill span {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.2;
    color: #374151;
    white-space: nowrap;
}

/* Title */
.kurs-hero-title {
    font-size: 5.6rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.072rem;
    color: #050709;
    margin: 0;
}

/* Reset nagłówka — neutralizacja styli motywu */
.kurs-hero-section .kurs-hero-title {
    font-size: 5.6rem !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    color: #050709 !important;
    margin: 0 !important;
}

/* Lead */
.kurs-hero-lead {
    font-size: 2.0rem;
    font-weight: 500;
    line-height: 1.55;
    color: #374151;
    margin: 0;
}

/* Buttons */
.kurs-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.kurs-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #050709;
    color: #ffffff;
    padding: 1.6rem 2.4rem;
    border-radius: 1.2rem;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    transition: opacity 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

/* Reset przycisków — neutralizacja styli motywu/WooCommerce */
.kurs-hero-section .kurs-hero-btn-primary {
    background-color: #050709 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 1.2rem !important;
    text-decoration: none !important;
}

.kurs-hero-btn-primary:hover,
.kurs-hero-section .kurs-hero-btn-primary:hover,
.kurs-hero-section .kurs-hero-btn-primary:focus {
    opacity: 0.85;
    background-color: #050709 !important;
    color: #ffffff !important;
}

.kurs-hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: transparent;
    color: #050709;
    padding: 1.6rem;
    border: 0.1rem solid #050709;
    border-radius: 1.2rem;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.2s ease;
    font-family: 'Poppins', sans-serif;
}

.kurs-hero-btn-secondary:hover,
.kurs-hero-section .kurs-hero-btn-secondary:hover,
.kurs-hero-section .kurs-hero-btn-secondary:focus {
    background-color: rgba(5, 7, 9, 0.05) !important;
    color: #050709 !important;
    border-color: #050709 !important;
}

/* Instructors */
.kurs-hero-instructors {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    width: 100%;
}

.kurs-hero-avatars {
    display: flex;
    padding-right: 0.8rem;
    flex-shrink: 0;
}

.kurs-hero-avatar {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    object-fit: cover;
    margin-right: -0.8rem;
    border: 0.2rem solid var(--kurs-surface-light);
}

.kurs-hero-avatar:last-child {
    margin-right: 0;
}

.kurs-hero-instructors-text {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.5;
    color: #374151;
    margin: 0;
}

.kurs-hero-instructors-link {
    color: #374151;
    text-decoration: underline;
}

/* Image */
.kurs-hero-image-wrap {
    flex: 0 0 51.5rem;
    width: 51.5rem;
    height: 51.5rem;
    aspect-ratio: 1 / 1;
    border-radius: 2.0rem;
    overflow: hidden;
    box-shadow: 0 0.2rem 2.0rem rgba(23, 165, 220, 0.1);
}

.kurs-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
    .kurs-hero-section {
        padding: 4.0rem 2.0rem;
    }
}

@media (max-width: 1024px) {
    .kurs-hero-title {
        font-size: 3.2rem;
    }

    .kurs-hero-lead {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .kurs-hero-section {
        padding: 3.2rem 1.6rem;
    }

    .kurs-hero-container {
        flex-direction: column;
        gap: 3.2rem;
    }

    .kurs-hero-content {
        gap: 3.2rem;
        max-width: 100%;
    }

    .kurs-hero-image-wrap {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .kurs-hero-section .kurs-hero-title {
        font-size: 4rem !important;
    }
}

@media (max-width: 480px) {
    .kurs-hero-title {
        font-size: 2.8rem;
    }

    .kurs-hero-lead {
        font-size: 1.6rem;
    }

    .kurs-hero-buttons {
        flex-direction: column;
    }

    .kurs-hero-btn-primary,
    .kurs-hero-btn-secondary {
        width: 100%;
    }
}
