/* Courses Page Specific Styles */
.decorations-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 200px;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.decoration-blueball-1 {
    left: 222px;
    top: 2831px;
    width: 1201px;
    height: 792px;
    background-image: radial-gradient(circle closest-side at center, rgba(60, 150, 255, 0.52) 0%, rgba(60, 150, 255, 0.28) 18%, rgba(60, 150, 255, 0.12) 42%, rgba(60, 150, 255, 0.06) 60%, rgba(60, 150, 255, 0.02) 82%, transparent 100%);
}

.decoration-blueball-2 {
    left: 222px;
    top: 3651px;
    width: 1201px;
    height: 792px;
    background-image: radial-gradient(circle closest-side at center, rgba(60, 150, 255, 0.52) 0%, rgba(60, 150, 255, 0.28) 18%, rgba(60, 150, 255, 0.12) 42%, rgba(60, 150, 255, 0.06) 60%, rgba(60, 150, 255, 0.02) 82%, transparent 100%);
}

.decoration-blueball-blur-events-1 {
    left: -900px;
    top: -900px;
    width: 2000px;
    height: 2000px;
    background-image: radial-gradient(circle closest-side at center, rgba(60, 150, 255, 0.28) 0%, rgba(60, 150, 255, 0.14) 25%, rgba(60, 150, 255, 0.07) 50%, rgba(60, 150, 255, 0.03) 72%, transparent 100%);
}

.decoration-blueball-blur-events-2 {
    right: -600px;
    top: 800px;
    width: 1200px;
    height: 1200px;
    background-image: radial-gradient(circle closest-side at center, rgba(60, 150, 255, 0.28) 0%, rgba(60, 150, 255, 0.14) 25%, rgba(60, 150, 255, 0.07) 50%, rgba(60, 150, 255, 0.03) 72%, transparent 100%);
}


/* Courses Page Specific Styles */

/* Hero Section */
.courses-hero {
    position: relative;
    padding: 152px 0 60px;
    text-align: center;
    z-index: 1;
}

.courses-hero-content {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 144px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.courses-hero-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 72px;
    color: var(--text-primary);
    margin: 0;
}

.courses-hero-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: var(--text-primary);
    max-width: 100%;
}

/* Decorative Elements Positioning for Courses Page */
.courses-decoration-1 {
    position: absolute;
    right: -403px;
    top: 72px;
    width: 1165px;
    height: 747px;
    z-index: 0;
}

.courses-decoration-2 {
    position: absolute;
    right: calc(8.33% + 172px);
    top: 566px;
    width: 1165px;
    height: 768px;
    z-index: 0;
}

/* Courses Section */
.courses-section {
    position: relative;
    padding: 0 0 120px;
    z-index: 1;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 564px);
    gap: 34px 24px;
    max-width: 1152px;
    margin: 0 auto;
}

/* Course Card */
.course-card {
    border: 1px solid var(--alfa-grey-1);
    border-radius: 16px;
    overflow: hidden;
    width: 564px;
    height: 416px;
    display: flex;
    background: radial-gradient(70% 70% at calc(50% + 50px) calc(50% - 30px), #2a364b 0%, #121e36 100%);
    cursor: pointer;
    transition: box-shadow 0.3s, border-color 0.3s;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.course-card .selectable-text {
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
}

.course-image {
    width: 269px;
    height: 416px;
    overflow: hidden;
    flex-shrink: 0;
    border-radius: 16px 0 0 16px;
    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Specific image positioning for different courses */
.course-card:nth-child(1) .course-image img {
    object-position: left center;
}

.course-card:nth-child(2) .course-image img {
    object-position: left center;
}

.course-card:nth-child(3) .course-image img {
    object-position: left center;
}

.course-content {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.course-content > .event-card-button,
.course-content > .course-btn {
    margin-top: auto;
}

.course-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.course-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: flex-start;
}

.course-badge {
    display: inline-block;
    padding: 2px 8px;
    border: 1px solid var(--neon-500);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: var(--neon-500);
    white-space: nowrap;
}

.course-badge-warning {
    border-color: #ff93cf;
    color: #ff93cf;
    font-weight: 500;
}

.course-badge-drop-in {
    border-color: var(--badge-drop-in);
    color: var(--badge-drop-in);
}

.course-badge-type-course {
    border-color: var(--badge-class);
    color: var(--badge-class);
    text-shadow: 0 0 12px rgba(255, 241, 89, 0.45);
}

.course-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

.course-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.course-title {
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: var(--text-primary);
    margin: 0;
}

.course-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: var(--text-secondary);
    margin: 0;
}

.course-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.course-detail {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    color: var(--text-primary);
}

.course-detail i {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-placeholder);
    font-size: 16px;
}

.course-detail .icon-calendar {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

.course-detail .icon-location-pin {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

.course-detail span {
    flex: 1;
    min-width: 0;
}

/* Course Buttons */
.course-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    height: 36px;
    border-radius: 8px;
    font-family: 'Urbanist', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
}

.course-btn.has-icon {
    padding: 8px 16px 8px 12px;
}

.course-btn-primary {
    background-color: var(--bg-brand-dark);
    color: var(--text-primary);
    box-shadow: inset 6px 8px 9px 0px #ff1597, inset -6px -8px 9px 0px #ff1597;
}

.course-btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.course-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.course-btn .btn-icon {
    width: 24px;
    height: 24px;
}

.course-btn i {
    font-size: 16px;
}

/* Responsive */
/* Responsive */
@media (max-width: 1440px) {
    .courses-hero-content {
        padding: 0 80px;
    }
}

@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .course-card {
        width: 100%;
        max-width: 564px;
    }
}

@media (max-width: 1024px) {
    .courses-hero-content {
        padding: 0 40px;
    }
    
    .courses-hero-title {
        font-size: 48px;
        line-height: 56px;
    }
    
    .courses-hero-description {
        font-size: 20px;
        line-height: 28px;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .course-card {
        flex-direction: column;
        height: auto;
        min-height: 0;
    }
    
    .course-image {
        width: 100%;
        height: 300px;
        min-height: 300px;
        border-radius: 16px 16px 0 0;
    }
}

@media (max-width: 768px) {
    .courses-hero {
        padding: 120px 0 32px;
    }

    .courses-hero-content {
        padding: 0 24px;
        gap: 24px;
    }
    
    .courses-hero-title {
        font-size: 32px;
        line-height: 40px;
    }
    
    .courses-hero-description {
        font-size: 14px;
        line-height: 20px;
    }
    
    .courses-section {
        padding-bottom: 80px;
    }
    
    .courses-grid {
        gap: 24px;
    }
}
