/* Main Curriculum Page */
.curriculum-hero,
.topic-hero {
    padding: 6rem 0 2rem;
    background: white;
}

.curriculum-hero .container,
.curriculum-content .container,
.topic-hero .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.curriculum-hero h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 3rem;
    color: var(--color-gray-700);
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
    padding-top: 2rem;
}

.curriculum-hero h2 {
    font-size: 1.5rem;
    color: var(--color-hero-text);
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-description {
    color: var(--color-gray-700);
    line-height: 1.6;
    font-size: 1rem;
    padding-top: 2rem;
}

.curriculum-content {
    padding: 2rem 0 4rem;
    background: white;
}

.grade-section {
    margin-bottom: 5rem;
}

.grade-section:last-child {
    margin-bottom: 3rem;
}

.grade-section h2 {
    font-family: 'Fredoka', sans-serif;
    color: var(--color-gray-900);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
}

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

.topic-item {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 3rem;
}

.topic-item:before {
    content: "•";
    position: absolute;
    left: 2rem;
    color: var(--color-gray-700);
    font-size: 1.25rem;
    line-height: 1.6;
}

.topic-item:last-child {
    margin-bottom: 0;
    font-size: 1rem;
}

.topic-item a {
    color: var(--color-gray-800);
    text-decoration: none;
    line-height: 1.6;
    transition: color 0.2s ease;
    font-weight: 400;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.topic-item a:hover {
    color: var(--color-primary);
}

.coming-soon-section {
    margin-top: 2.5rem;
}

.coming-soon-section h3 {
    font-family: 'Quicksand', sans-serif;
    color: var(--color-gray-600);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    font-weight: 400;
}

.topic-item.coming-soon {
    color: var(--color-gray-500);
    font-size: 1.125rem;
    font-style: italic;
    line-height: 1.6;
    font-weight: 400;
}


/* Individual Topic Pages */
.topic-hero {
    padding: 4rem 0;
    background: white;
}

.topic-hero h1 {
    font-family: 'Fredoka', sans-serif;
    font-size: 2.5rem;
    color: var(--color-gray-700);
    margin-bottom: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.topic-description {
    max-width: 800px;
    color: var(--color-gray-700);
    line-height: 1.6;
}

.topic-description p {
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .curriculum-hero {
        padding: 2rem 0;
    }

    .curriculum-hero h1 {
        font-size: 2rem;
    }

    .grade-section {
        margin-bottom: 4rem;
    }

    .grade-section h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-description,
    .curriculum-intro {
        font-size: 1rem;
    }

    .topic-item a,
    .topic-item.coming-soon,
    .coming-soon-section h3 {
        font-size: 1.125rem;
    }

    .cta-button.large {
        padding: 0.875rem 2rem;
        font-size: 1.125rem;
    }

    .cta-note {
        font-size: 0.875rem;
    }

    .topic-list {
        grid-template-columns: 1fr;
    }
}

/* Topic Video Section */
.topic-video {
    padding: 2rem 0;
}

.topic-video h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #2d3748;
}

.video-wrapper {
    width: 100%;
    max-width: 800px;
    height: 450px; 
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .topic-video {
        padding: 1.5rem 0;
    }
    .video-wrapper {
        height: 56.25vw; /* Maintain aspect ratio on mobile using viewport width */
        max-height: 450px;
    }
} 