/* --- CUSTOM COURSE PAGE STYLES (ID: 8217) --- */
.course-custom-page {
    color: #333;
}

.course-main-banner {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.banner-image {
    flex: 0 0 40%;
    line-height: 0;
}

.banner-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s;
}

.course-main-banner:hover .banner-image img {
    transform: translateY(-5px);
}

.banner-text {
    flex: 1;
}

.banner-text h1 {
    font-size: 24px;
    font-weight: 900;
    line-height: 1.6;
    color: #212529;
    margin: 0;
}

@media (max-width: 768px) {
    .course-main-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .banner-image {
        flex: 0 0 100%;
        margin-bottom: 20px;
    }
    .banner-text h1 {
        font-size: 20px;
    }
}

.course-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.section-header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    border: none !important;
    padding: 0 !important;
}

.section-header i {
    font-size: 24px;
    color: #ff0000; /* YouTube Red */
}

/* Intro & Requirements */
.monetization-requirements {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: #fff5f5;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border: 1px dashed #ffc1c1;
}

.req-item {
    text-align: center;
}

.req-num {
    display: block;
    font-size: 28px;
    font-weight: 900;
    color: #d32f2f;
}

.req-label {
    font-size: 14px;
    color: #666;
}

.req-divider {
    font-weight: bold;
    color: #ffc1c1;
}

.support-highlight {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #e3f2fd;
    padding: 20px;
    border-radius: 12px;
    border-right: 5px solid #1976d2;
}

.support-highlight i {
    font-size: 30px;
    color: #1976d2;
}

/* Curriculum */
.curriculum-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.styled-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.styled-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.styled-list li i {
    color: #2e7d32;
    margin-top: 4px;
}

.styled-list li i.fa-gift { color: #e91e63; }
.styled-list li i.fa-users-cog { color: #0277bd; }

/* Info Cards */
.course-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.info-card i {
    display: block;
    font-size: 24px;
    color: #007bff;
    margin-bottom: 10px;
}

.info-card span {
    font-weight: 700;
    font-size: 14px;
}

/* Prerequisites */
.prereq-box {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 15px;
}

.prereq-items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.prereq-items span {
    background: #f1f3f5;
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.prereq-items i {
    color: #495057;
}

/* FAQ */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 15px 20px;
    background: #fcfcfc;
    cursor: pointer;
    font-weight: 700;
    list-style: none;
    position: relative;
    padding-left: 40px;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 20px;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-content {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
}

/* Guarantee Banner */
.guarantee-banner {
    display: flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: #fff;
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
}

.guarantee-icon i {
    font-size: 50px;
    color: #ffd600;
}

.guarantee-text h3 {
    margin: 0 0 10px 0;
    color: #fff;
    font-size: 20px;
}

.guarantee-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

/* --- NEW SECTIONS STYLES --- */
.instructor-quick-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.instructor-info, .audience-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.instructor-info i, .audience-info i {
    font-size: 24px;
    color: #007bff;
    background: #eef6ff;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.instructor-quick-box .label {
    display: block;
    font-size: 13px;
    color: #888;
}

.instructor-quick-box .value {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #333;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.audience-box {
    padding: 25px;
    border-radius: 15px;
}

.audience-box h3 {
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.audience-box ul {
    list-style: none;
    padding: 0;
}

.audience-box li {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    padding-right: 20px;
}

.audience-box li::before {
    content: '•';
    position: absolute;
    right: 0;
    font-weight: bold;
}

.suitable {
    background: #f6fff8;
    border: 1px solid #c3e6cb;
}

.suitable h3 { color: #2e7d32; }

.not-suitable {
    background: #fff5f5;
    border: 1px solid #f5c6cb;
}

.not-suitable h3 { color: #c82333; }

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.testimonial-video-placeholder {
    background: #000;
    aspect-ratio: 16/9;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
}

.testimonial-video-placeholder:hover {
    border-color: #ff0000;
    transform: scale(1.02);
}

.testimonial-video-placeholder i {
    font-size: 40px;
    margin-bottom: 10px;
    color: #ff0000;
}

.testimonial-video-placeholder span {
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .curriculum-grid, .course-info-cards, .instructor-quick-box, .audience-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .monetization-requirements {
        flex-direction: column;
    }
    .guarantee-banner {
        flex-direction: column;
        text-align: center;
    }
}
