/* Course banner styles */
.course-banner {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    align-items: left;
    justify-content: left;
    margin-top: calc(var(--size-xxxlg) * -1);
    height: 800px;
    background-size: cover;
    background-position: 340px 0;
}

/* Combined gradient overlay for course banner */
.course-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to top,
        rgba(255, 0, 255, 1) 0,
        rgba(255, 255, 255, 1) 100%
    );
    
    mask: linear-gradient(
        to right,
        rgba(255, 255, 255, 1) 340px,
        rgba(255, 255, 255, 0) 80%
    );

    z-index: 1;
}

.course-banner-content {
    text-align: left;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.course-banner-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    color: white;
}

.course-banner-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: white;
}

.course-access-button {
    display: inline-block;
    background-color: #4a90e2;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.course-access-button:hover {
    background-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Course content styles */
.article-content-wrapper {
    margin-top: 20px;
    padding: 20px 0;
}

.article-content-wrapper h1,
.article-content-wrapper h2,
.article-content-wrapper h3,
.article-content-wrapper h4,
.article-content-wrapper h5,
.article-content-wrapper h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content-wrapper p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-content-wrapper ul,
.article-content-wrapper ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content-wrapper li {
    margin-bottom: 0.5rem;
}

.article-content-wrapper blockquote {
    border-left: 4px solid #4a90e2;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.article-content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .course-banner {
        height: 300px;
    }
    
    .course-banner-title {
        font-size: 2rem;
    }
    
    .course-banner-description {
        font-size: 1rem;
    }
    
    .course-access-button {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .article-content-wrapper {
        padding: 10px 0;
    }
}