@charset "UTF-8";

/* English Page Specific Styles */

/* Common color */
:root {
    --lime-green: #90d346;
    /* Approximate lime green from image */
}

/* Titles using TOP page style but custom h2 */
.section-heading {
    text-align: center;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
    position: relative;
}

/* Decoration line under title matching other pages */
.section-heading::after {
    content: '';
    display: block;
    width: 150px;
    height: 20px;
    background: url('../img/treat.svg') no-repeat center center;
    background-size: contain;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subheading {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: 0.1em;
    color: #333;
}


/* Lesson Intro Text */
.lesson-intro {
    max-width: 900px;
    margin: 0 auto 80px;
    font-size: 17px;
    line-height: 1.7;
    text-align: left;
    /* Keep left alignment for readability blocks */
    color: #333;
}


/* Lesson Content Rows */
.lesson-content-list {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.lesson-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.lesson-img-box {
    flex: 0 0 450px;
    /* Large image area */
}

.lesson-img-placeholder {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    /* Standard photo ratio */
    background-color: #f0f0f0;
    border-radius: 20px;
    /* Rounded corners */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #999;
    border: 10px solid #ccc;
    /* Default border */
}

.lesson-img-placeholder.green-border {
    border-color: var(--lime-green);
}

.lesson-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 10px solid #ccc;
    display: block;
}

.lesson-img.green-border {
    border-color: var(--lime-green);
}

.lesson-text-box {
    flex: 1;
}

.lesson-title {
    font-size: 32px;
    /* Large title like image */
    font-weight: 700;
    margin-bottom: 20px;
}

.lesson-title.green-text {
    color: var(--lime-green);
}

.lesson-desc {
    font-size: 17px;
    line-height: 1.7;
    color: #333;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .section-heading {
        font-size: 28px;
    }

    .lesson-intro {
        font-size: 14px;
        padding: 0 10px;
    }

    .lesson-row {
        flex-direction: column;
        gap: 20px;
    }

    .lesson-img-box {
        flex: auto;
        width: 100%;
    }

    .lesson-img-placeholder {
        border-width: 6px;
    }

    .lesson-title {
        font-size: 24px;
        text-align: center;
    }
}


.level-img-box {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.level-img {
    max-width: 100%;
    width: 800px;
    height: auto;
    margin: auto;
    display: block;
}

/* Recommend Section */
.english-recommend-section {
    padding-bottom: 100px;
}

.recommend-frame {
    padding: 50px 60px;
}

.recommend-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.recommend-text {
    flex: 1;
}

.recommend-title {
    font-size: 28px;
    font-weight: 700;
    color: #ff6699;
    margin-bottom: 30px;
    text-align: center;
}

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

.recommend-list li {
    font-size: 17px;
    font-weight: 700;
    color: #333;
    line-height: 1.8;
    padding: 8px 0;
}

.recommend-list li::before {
    content: "●";
    margin-right: 8px;
}

.recommend-img-box {
    flex: 0 0 300px;
}

.recommend-img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .recommend-frame {
        padding: 30px 20px;
    }

    .recommend-content {
        flex-direction: column;
        gap: 30px;
    }

    .recommend-img-box {
        flex: auto;
        width: 80%;
        max-width: 250px;
    }

    .recommend-title {
        font-size: 22px;
    }

    .recommend-list li {
        font-size: 15px;
    }
}

/* Preferential Schools Section */
.english-school-list-section {
    padding-bottom: 100px;
}

/* Reusing Frame Style Concept but specific for English page to contain overrides */
.english-frame {
    border: 15px solid #ccc;
    padding: 60px 40px;
    position: relative;
    background: #fff;
    margin: 0px 0;
}

.english-frame.lime-theme {
    /* No border color change needed based on design, just standard grey frame with corner accents */
}

/* Corner Triangles */
.corner-triangle {
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 10;
}

.corner-triangle.top-left {
    top: -25px;
    left: -25px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.corner-triangle.bottom-right {
    bottom: -25px;
    right: -25px;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.corner-triangle.lime {
    background-color: var(--lime-green);
}


/* School List Grid */
.school-list-grid {
    display: flex;
    gap: 0;
    /* No gap because borders need to touch */
    border: 1px solid #999;
    /* Outer border of the table */
    max-width: 900px;
    margin: 40px auto 0;
}

.school-col {
    flex: 1;
}

.school-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.school-col li {
    padding: 15px 20px;
    font-size: 17px;
    border-bottom: 1px solid #999;
    background-color: #eafadc;
    /* Light green background */
    color: #333;
    font-weight: bold;
}

.school-col li:last-child {
    border-bottom: none;
}

.school-col:first-child {
    border-right: 1px solid #999;
}


/* Mobile Responsive for School List */
@media (max-width: 768px) {
    .english-frame {
        padding: 30px 15px;
        border-width: 10px;
        /* Thinner border on mobile */
    }

    .corner-triangle {
        width: 40px;
        height: 40px;
    }

    .corner-triangle.top-left {
        top: -15px;
        left: -15px;
    }

    .corner-triangle.bottom-right {
        bottom: -15px;
        right: -15px;
    }

    .school-list-grid {
        flex-direction: column;
        border: none;
        /* Reset main border */
    }

    .school-col:first-child {
        border-right: none;
    }

    .school-col li {
        border: 1px solid #999;
        margin-bottom: -1px;
        /* Collapse borders */
    }
}