﻿@charset "UTF-8";

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;600;700;800;900&display=swap");


/* =====================================================
   01. BASE
===================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;

    font-family:
        "Noto Sans TC",
        "Microsoft JhengHei",
        Arial,
        sans-serif;

    color: #252525;
    background: #fff;
}

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

a {
    color: inherit;
    text-decoration: none;
}


/* =====================================================
   02. HEADER
===================================================== */

.header {
    position: sticky;
    top: 0;

    z-index: 1000;

    width: 100%;
    height: 80px;

    background: rgba(255, 255, 255, .97);

    border-bottom: 1px solid #eee;

    box-shadow:
        0 4px 20px rgba(0, 0, 0, .06);
}


.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: min(1200px, calc(100% - 40px));
    height: 80px;

    margin: 0 auto;
}


/* Logo */

.logo {
    flex-shrink: 0;
}

.logo img {
    width: auto;
    height: 42px;
}


/* =====================================================
   03. DESKTOP MENU
===================================================== */

.menu {
    display: flex;
    align-items: center;

    gap: 8px;

    margin: 0 3.5% 0 0;
}


.menu a {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 15px;

    border-radius: 8px;

    color: #334455;

    font-size: 15px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        color .2s ease,
        background .2s ease;
}


.menu a:hover {
    color: #60488e;
    background: #f4f1f8;
}


.menu a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 3px;

    width: 0;
    height: 2px;

    background: #73579c;

    transform: translateX(-50%);

    transition: width .25s ease;
}


.menu a:hover::after {
    width: calc(100% - 30px);
}
.mobile-menu-hint {
    display: none;
}


/* =====================================================
   04. DROPDOWN
===================================================== */

.menu-dropdown {
    position: relative;
}


.menu-main {
    cursor: pointer;
}


.arrow {
    margin-left: 5px;

    font-size: 13px;
}


.submenu {
    position: absolute;

    top: calc(100% + 8px);
    left: 50%;

    z-index: 100;

    min-width: 150px;

    padding: 8px;

    background: #fff;

    border: 1px solid #e6e6e6;
    border-radius: 10px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .12);

    opacity: 0;
    visibility: hidden;

    transform:
        translateX(-50%)
        translateY(-5px);

    transition: .2s;
}


.menu-dropdown:hover .submenu {
    opacity: 1;
    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


.submenu a {
    display: block;

    min-height: auto;

    padding: 10px 14px;

    border-radius: 6px;

    color: #455665;

    font-size: 14px;

    text-align: center;
}


.submenu a::after {
    display: none;
}


.submenu a:hover {
    color: #60488e;
    background: #f4f1f8;
}

/* =====================================================
   05. FLOATING CART BUTTON
===================================================== */

.floating-cart-btn {
    position: fixed;

    top: 0;
    right: 0;

    z-index: 1500;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 4px;

    min-width: 92px;

    padding: 8px 10px 8px;

    border: 1px solid rgba(255,255,255,.35);
    border-right: 0;

    border-radius: 14px 0 0 14px;

    background:
        linear-gradient(
            145deg,
            #58798d,
            #3f6175
        );

    color: #fff;

    font-family: inherit;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 1px;

    box-shadow:
        -5px 7px 20px rgba(48, 75, 92, .18);

    cursor: pointer;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}


/* hover */
.floating-cart-btn:hover {
    background:
        linear-gradient(
            145deg,
            #64889d,
            #496d82
        );

    transform: translateX(-3px);

    box-shadow:
        -7px 9px 24px rgba(48, 75, 92, .23);
}


/* 購物車 icon */
.cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    margin-bottom: 1px;

    background: rgba(255,255,255,.15);

    border-radius: 50%;

    font-size: 17px;
    line-height: 1;
}


/* 購物車文字 */
.cart-text {
    color: #fff;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}


/* 商品數量 */
.cart-count {
    margin-top: 1px;

    color: #ffd9d4;

    font-size: 12px;
    font-weight: 700;
}
/* =====================================================
   06. HERO
===================================================== */

.hero {
    width: 100%;

    margin: 0 auto;

    overflow: hidden;

    background-image: url("images/bg.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-attachment: fixed;
}


.hero-title {
    width: min(100%, 1200px);

    margin: 0 auto;
}


.hero_m {
    display: none;
}


/* =====================================================
   07. COURSE PAGE
===================================================== */

.course-page {
    width: 100%;

    padding: 30px 20px;

    background: #f7f9fc;
    color: #263746;

    overflow: visible;
}


/* =====================================================
   08. MAIN LAYOUT
===================================================== */

.course-container {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        340px;

    align-items: start;

    gap: 28px;

    width: min(1200px, 100%);

    margin: 0 auto;

    overflow: visible;
}


.course-main {
    min-width: 0;

    overflow: visible;
}


/* =====================================================
   09. COMMON CONTENT CARD
===================================================== */

.course-hero,
.content-section,
.faq-section {
    width: 100%;

    margin-bottom: 28px;

    background: #fff;

    border: 1px solid #e5ebef;
    border-radius: 20px;

    box-shadow:
        0 8px 30px rgba(38, 61, 78, .07);

    scroll-margin-top: 100px;
}


/* =====================================================
   10. COURSE HERO
===================================================== */

.course-hero {
    padding: 18px;
}


.course-hero-img {
    width: 100%;

    margin-bottom: 18px;

    border-radius: 14px;
}


/* =====================================================
   11. VIDEO
===================================================== */

.video-box {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #000;

    border-radius: 14px;
}


.video-box iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =====================================================
   12. CONTENT SECTION
===================================================== */

.content-section {
    padding-bottom: 36px;
}


.section-banner {
    width: 100%;

    margin-bottom: 28px;

    border-radius: 20px 20px 0 0;
}


.content-image {
    width: calc(100% - 60px);
    max-width: 760px;

    margin: 0 auto 30px;

    border-radius: 14px;
}


.teacher-image {
    max-width: 700px;
}


/* =====================================================
   13. ARTICLE
===================================================== */

.article-content {
    padding: 0 44px 10px;
}


.article-content p,
.lesson-body p {
    margin: 0 0 18px;

    color: #536571;

    font-size: 16px;
    line-height: 1.9;

    text-align: justify;
}


.article-content .lead {
    color: #263d4d;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.8;
}


.article-content h2 {
    margin: 0 0 18px;

    color: #263d4d;

    font-size: 25px;
    line-height: 1.4;
}


.article-content h3 {
    margin: 25px 0 12px;

    color: #b47b27;

    font-size: 18px;
    font-weight: 700;
}


.article-content h3:first-of-type {
    margin-top: 0;
}


.highlight-box {
    margin-top: 26px;

    padding: 20px 24px;

    background: #f1f6fa;

    border-left: 4px solid #547b94;
    border-radius: 0 12px 12px 0;

    color: #405866;

    font-size: 15px;
    line-height: 1.9;
}


/* =====================================================
   14. LESSON CARDS
===================================================== */

.course-list-section {
    padding-bottom: 8px;
}


.lesson-card {
    margin: 0 30px 30px;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e1e8ed;
    border-radius: 18px;

    scroll-margin-top: 100px;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.lesson-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 12px 30px rgba(40, 67, 84, .10);
}


.lesson-cover img {
    width: 100%;
}


.lesson-body {
    padding: 28px 30px 32px;
}


.lesson-label {
    margin-bottom: 7px;

    color: #7593a6;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
}


.lesson-body h2 {
    margin: 0 0 15px;

    color: #294152;

    font-size: 24px;
    line-height: 1.4;
}


.lesson-body h2 span {
    display: block;

    margin-top: 5px;

    color: #667986;

    font-size: 16px;
    font-weight: 500;
}


.lesson-info {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 13px;
}


.lesson-info span {
    padding: 5px 11px;

    background: #eef4f7;

    border-radius: 20px;

    color: #567286;

    font-size: 13px;
}


.lesson-price {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
    padding-bottom: 20px;

    border-bottom: 1px solid #edf1f4;
}


.original-price {
    color: #a0abb2;

    font-size: 14px;

    text-decoration: line-through;
}


.lesson-price strong {
    color: #d65e55;

    font-size: 23px;
}


.lesson-video {
    margin-top: 26px;
}


/* =====================================================
   15. FAQ
===================================================== */

.faq-section {
    padding: 40px;
}


.section-heading {
    margin-bottom: 26px;

    text-align: center;
}


.section-heading small {
    color: #8298a7;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 3px;
}


.section-heading h2 {
    margin: 5px 0;

    color: #294152;

    font-size: 29px;
}


.section-heading p {
    margin: 0;

    color: #88969f;

    font-size: 14px;
}


.faq-list {
    border-top: 1px solid #e4eaee;
}


.faq-item {
    border-bottom: 1px solid #e4eaee;
}


.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    width: 100%;

    padding: 21px 3px;

    border: 0;

    background: transparent;

    color: #344d5e;

    font-family: inherit;

    font-size: 16px;
    font-weight: 700;

    text-align: left;

    cursor: pointer;
}


.faq-plus {
    flex-shrink: 0;

    color: #66889d;

    font-size: 24px;

    transition: transform .2s ease;
}


.faq-answer {
    display: none;

    padding: 0 30px 22px 3px;

    color: #61727d;

    font-size: 15px;
    line-height: 1.85;
}


.faq-answer p {
    margin: 0 0 12px;
}


.faq-item.active .faq-answer {
    display: block;
}


.faq-item.active .faq-plus {
    transform: rotate(45deg);
}


/* =====================================================
   16. COURSE SIDEBAR
===================================================== */

.course-sidebar {
    min-width: 0;

    align-self: stretch;

    height: 100%;

    overflow: visible;
}


.signup-card {
    position: sticky;

    top: 100px;

    width: 100%;
    height: fit-content;

    overflow: hidden;

    background: #fff;

    border: 1px solid #dce5eb;
    border-radius: 20px;

    box-shadow:
        0 14px 38px rgba(34, 62, 79, .13);
}


/* =====================================================
   17. SIGNUP HEADER
===================================================== */

.signup-header {
    padding: 26px 24px 23px;

    background:
        linear-gradient(
            135deg,
            #294b61,
            #527b95
        );

    color: #fff;
}


.signup-tag {
    display: inline-block;

    margin-bottom: 10px;

    padding: 4px 9px;

    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 20px;

    font-size: 10px;

    letter-spacing: 1.5px;
}


.signup-header h2 {
    margin: 0 0 6px;

    font-size: 21px;
    line-height: 1.4;
}


.signup-header p {
    margin: 0;

    color: rgba(255, 255, 255, .82);

    font-size: 13px;
}


/* =====================================================
   18. SINGLE COURSE PURCHASE
===================================================== */

.purchase-title {
    padding: 20px 22px 8px;

    color: #344e60;

    font-size: 15px;
    font-weight: 700;
}


.purchase-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    margin: 0 20px;
    padding: 15px 2px;

    border-bottom: 1px dashed #dce4e9;
}


.purchase-info {
    flex: 1;

    min-width: 0;
}


.purchase-name {
    display: flex;
    align-items: center;

    gap: 9px;

    margin-bottom: 6px;
}


.purchase-name strong {
    color: #364f60;

    font-size: 15px;
    font-weight: 700;
}


.course-time {
    display: inline-flex;
    align-items: center;

    padding: 3px 8px;

    background: #eef4f7;

    border-radius: 20px;

    color: #668295;

    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;
}


.purchase-price {
    display: flex;
    align-items: center;

    gap: 7px;
}


.purchase-price del {
    color: #a3adb4;

    font-size: 12px;
}


.purchase-price span {
    color: #d65e55;

    font-size: 15px;
    font-weight: 700;
}


.small-buy-btn {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 54px;
    height: 34px;

    padding: 0 12px;

    border: 1px solid #6b8fa6;
    border-radius: 7px;

    color: #587b91;

    font-size: 13px;
    font-weight: 600;

    transition: .2s;
}


.small-buy-btn:hover {
    background: #587b91;

    color: #fff;
}


/* =====================================================
   19. BUNDLE
===================================================== */

.bundle-box {
    position: relative;

    margin: 22px 20px 17px;

    padding: 18px;

    background: #f3f8fb;

    border: 1px solid #d8e5eb;
    border-radius: 14px;
}


.bundle-label {
    display: inline-block;

    margin-bottom: 7px;

    color: #64869c;

    font-size: 12px;
    font-weight: 700;
}


.bundle-name {
    margin-bottom: 9px;

    color: #334f61;

    font-size: 15px;
    font-weight: 700;
}


.bundle-original {
    color: #9ba7af;

    font-size: 12px;

    text-decoration: line-through;
}


.bundle-price {
    display: flex;
    align-items: baseline;

    gap: 7px;

    margin-top: 3px;
}


.bundle-price small {
    color: #728692;

    font-size: 12px;
}


.bundle-price strong {
    color: #d65c53;

    font-size: 27px;
}


.discount-badge {
    position: absolute;

    top: 13px;
    right: 13px;

    padding: 5px 8px;

    background: #d95f56;

    border-radius: 6px;

    color: #fff;

    font-size: 11px;
    font-weight: 700;
}


/* =====================================================
   20. MAIN BUY BUTTON
===================================================== */

.main-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 50px;

    margin: 0 20px;

    background: #d65c53;

    border-radius: 9px;

    color: #fff;

    font-size: 16px;
    font-weight: 700;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.main-buy-btn:hover {
    background: #c94f47;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(197, 71, 63, .25);
}


.signup-note {
    padding: 18px 22px 23px;

    color: #7a8993;

    font-size: 12px;
    line-height: 1.9;
}


.signup-note span {
    margin-right: 5px;

    color: #6f91a5;
}


/* =====================================================
   21. MOBILE COURSE BUY
   目前不使用
===================================================== */

.mobile-course-buy {
    display: none;
}


/* =====================================================
   22. CART PANEL
===================================================== */

.cart-panel {
    position: fixed;

    top: 0;
    right: -420px;

    z-index: 3000;

    display: flex;
    flex-direction: column;

    width: 350px;
    max-width: 90vw;
    height: 100vh;

    background: #fff;

    box-shadow:
        -5px 0 25px rgba(0, 0, 0, .18);

    transition: right .3s ease;
}


.cart-panel.open {
    right: 0;
}


.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 20px;

    background: #2376d8;
    color: #fff;
}


.cart-title {
    font-size: 18px;
    font-weight: 800;
}


.qty {
    margin-left: 5px;

    color: #ffd43b;
}


.cart-close {
    width: 35px;
    height: 35px;

    padding: 0;

    border: 0;

    background: none;
    color: #fff;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}


/* 商品 */

.cart-content {
    flex: 1;

    overflow-y: auto;

    padding: 10px;
}


.cart-list {
    width: 100%;
}


.cart-item {
    display: grid;

    grid-template-columns:
        30px
        60px
        1fr;

    align-items: center;

    gap: 12px;

    padding: 12px 0;

    border-bottom: 1px solid #ddd;
}


.cart-no {
    color: #999;

    font-size: 13px;

    text-align: center;
}


.cart-item-image {
    width: 60px;
    height: 60px;

    object-fit: cover;

    border: 1px solid #eee;
}


.cart-item-info {
    min-width: 0;
}


.cart-item-category {
    margin-bottom: 3px;

    color: #999;

    font-size: 12px;
}


.cart-item-name {
    color: #333;

    font-size: 15px;
    font-weight: 700;
}


.cart-item-price {
    margin-top: 10px;

    color: #e36b26;

    font-size: 15px;
    font-weight: 800;
}


/* =====================================================
   23. CHECKOUT
===================================================== */

.checkout-area {
    padding: 15px 20px;

    border-top: 1px solid #ddd;
}


.cart-checkout-btn {
    display: block;

    width: 100%;

    padding: 13px;

    background: #ef762c;

    border-radius: 4px;

    color: #fff;

    font-size: 16px;
    font-weight: 800;

    text-align: center;
}


/* =====================================================
   24. NOTICE
===================================================== */

.event-notice {
    padding: 10px 20px;

    color: #777;

    font-size: 12px;
    line-height: 1.7;
}


.event-notice strong {
    display: block;

    margin-bottom: 4px;

    color: #555;
}


.event-notice p {
    margin: 0;
}


/* =====================================================
   25. OVERLAY
===================================================== */

.cart-overlay {
    position: fixed;

    inset: 0;

    z-index: 2500;

    visibility: hidden;
    opacity: 0;

    background: rgba(0, 0, 0, .35);

    transition:
        opacity .3s ease,
        visibility .3s ease;
}


.cart-overlay.show {
    visibility: visible;
    opacity: 1;
}


/* =====================================================
   26. MOBILE CART BAR
===================================================== */

.mobile-cart-bar {
    display: none;
}


/* =====================================================
   27. BACK TO TOP
===================================================== */

#TOP {
    position: fixed;

    right: 10px;
    bottom: 50px;

    z-index: 900;

    display: none;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    opacity: .65;

    text-align: center;

    box-shadow:
        rgba(60, 64, 67, .3) 0 1px 2px 0,
        rgba(60, 64, 67, .15) 0 2px 6px 2px;

    transition: opacity .5s ease;
}


.material-symbols-outlined {
    padding-top: 3px;

    font-size: 2.5rem;
}


/* =====================================================
   28. FOOTER
===================================================== */

.site-footer {
    padding: 12px 20px;

    background: #37424b;
    color: #fff;

    text-align: center;
}


.site-footer p {
    margin: 0;

    font-size: 13px;
}


/* =====================================================
   29. TABLET
   769px ~ 1024px
===================================================== */

@media screen and (min-width: 769px) and (max-width: 1024px) {

    .header-inner {
        width: calc(100% - 25px);
    }


    .menu {
        gap: 3px;

        margin-right: 0;
    }


    .menu a {
        padding: 0 9px;

        font-size: 13px;
    }


    .hero-title {
        width: 100%;
    }


    .course-container {
        grid-template-columns:
            minmax(0, 1fr)
            300px;

        gap: 20px;
    }


    .article-content {
        padding:
            0 28px
            10px;
    }


    .lesson-card {
        margin-left: 20px;
        margin-right: 20px;
    }

}


/* =====================================================
   30. MOBILE
   768px 以下
===================================================== */

@media screen and (max-width: 768px) {


    /* -----------------------------------------
       BODY
    ----------------------------------------- */

    body {
        padding-bottom: 190px;
    }


    /* -----------------------------------------
       上方 Header
       手機只顯示 Logo
    ----------------------------------------- */

    .header {
        position: relative;

        top: auto;

        height: 54px;

        z-index: 100;
    }


    .header-inner {
        width: calc(100% - 20px);
        height: 54px;

        margin: 0 auto;

        justify-content: flex-start;
    }


    .logo img {
        height: 38px;
    }


    /* -----------------------------------------
       手機下方選單
    ----------------------------------------- */

    .menu {
        position: fixed;

        right: 0;
        bottom: 122px;
        left: 0;

        z-index: 2200;

        display: flex;
        align-items: center;

        width: 100%;
        height: 54px;

        margin: 0;
        padding: 7px 10px;

        gap: 6px;

        overflow-x: auto;
        overflow-y: hidden;

        background: rgba(255,255,255,.98);

        border-top: 1px solid #ddd;
        border-bottom: 1px solid #eee;

        box-shadow:
            0 -2px 8px rgba(0,0,0,.06);

        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .menu::-webkit-scrollbar {
        display: none;
    }

    .menu a {
        flex: 0 0 auto;

        display: flex;
        align-items: center;
        justify-content: center;

        min-height: 36px;

        padding: 7px 13px;

        background: #fff;

        border: 1px solid #ddd;
        border-radius: 18px;

        color: #173d72;

        font-size: 12px;
        font-weight: 700;

        white-space: nowrap;
    }

    .menu a::after {
        display: none;
    }



    .menu a:hover {
        color: #173d72;

        background: #f4f6f8;
    }


    /* 手機不開 dropdown */

    .menu-dropdown {
        position: static;

        flex: 0 0 auto;
    }


    .submenu {
        display: none;
    }


    .arrow {
        display: none;
    }


    .mobile-menu-hint {
        position: fixed;

        right: 8px;
        bottom: 176px;

        z-index: 2250;

        display: block;

        padding: 4px 8px;

        background: rgba(41, 75, 97, .88);

        border-radius: 12px;

        color: #fff;

        font-size: 10px;
        font-weight: 600;

        pointer-events: none;

        opacity: .9;
    }
/*--------------
       Hero
    ----------------------------------------- */

    .hero {
        display: none;
    }


    .hero_m {
        display: block;

        width: 100%;
    }


    .hero_m img {
        width: 100%;
    }


    /* -----------------------------------------
       Course page
    ----------------------------------------- */

    .course-page {
        padding:
            14px
            10px
            30px;
    }


    .course-container {
        display: flex;
        flex-direction: column;

        width: 100%;

        gap: 18px;
    }


    /* 左側正常放前面 */

    .course-main {
        width: 100%;

        order: 1;
    }


    /* 右側購買資訊放最後 */

    .course-sidebar {
        width: 100%;
        height: auto;

        margin-top: 5px;

        order: 2;

        align-self: auto;
    }


    .signup-card {
        position: static;

        top: auto;

        width: 100%;

        border-radius: 15px;
    }


    /* 不顯示另一條手機購買列 */

  /* =====================================================
   手機固定購買方案
===================================================== */

.mobile-course-buy {
        position: fixed;

        right: 0;
        bottom: 58px;
        left: 0;

        z-index: 2150;

        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        height: 64px;

        padding: 8px 14px 8px 18px;

        background: #fff;

        border-top: 1px solid #e4e8eb;

        box-shadow:
            0 -3px 12px rgba(0,0,0,.07);
    }

    .mobile-course-price {
        display: flex;
        flex-direction: column;
    }

    .mobile-course-price small {
        color: #788891;

        font-size: 11px;
    }

    .mobile-course-price strong {
        color: #d65c53;

        font-size: 20px;
        font-weight: 800;
    }

    .mobile-course-buy-btn {
        display: flex;
        align-items: center;
        justify-content: center;

        min-width: 108px;
        height: 42px;

        padding: 0 18px;

        background: #d65c53;

        border-radius: 7px;

        color: #fff;

        font-size: 14px;
        font-weight: 700;
    }



    /* -----------------------------------------
       Cards
    ----------------------------------------- */

    .course-hero,
    .content-section,
    .faq-section {
        margin-bottom: 18px;

        border-radius: 15px;

        scroll-margin-top: 15px;
    }


    .course-hero {
        padding: 10px;
    }


    .course-hero-img {
        margin-bottom: 10px;

        border-radius: 10px;
    }


    .section-banner {
        margin-bottom: 20px;

        border-radius: 15px 15px 0 0;
    }


    .content-image {
        width: calc(100% - 28px);

        margin:
            0 auto
            22px;

        border-radius: 10px;
    }


    /* -----------------------------------------
       Article
    ----------------------------------------- */

    .article-content {
        padding:
            0
            19px
            8px;
    }


    .article-content p,
    .lesson-body p {
        font-size: 15px;

        line-height: 1.8;
    }


    .article-content .lead {
        font-size: 17px;
    }


    .article-content h2 {
        font-size: 22px;
    }


    .article-content h3 {
        margin-top: 20px;

        font-size: 17px;
    }


    .highlight-box {
        padding: 17px 18px;

        font-size: 15px;
    }


    /* -----------------------------------------
       Lesson
    ----------------------------------------- */

    .lesson-card {
        margin:
            0
            13px
            22px;

        border-radius: 13px;

        scroll-margin-top: 15px;
    }


    .lesson-body {
        padding:
            21px
            19px
            24px;
    }


    .lesson-body h2 {
        font-size: 21px;
    }


    .lesson-body h2 span {
        font-size: 15px;
    }


    .lesson-price strong {
        font-size: 21px;
    }


    /* -----------------------------------------
       FAQ
    ----------------------------------------- */

    .faq-section {
        padding:
            30px
            19px;
    }


    .section-heading h2 {
        font-size: 25px;
    }


    .faq-question {
        padding:
            18px
            2px;

        font-size: 15px;
    }


    .faq-answer {
        padding:
            0
            20px
            20px
            2px;
    }


    /* -----------------------------------------
       Desktop cart button hidden
    ----------------------------------------- */

    .floating-cart-btn {
        display: none;
    }


    /* -----------------------------------------
       Mobile cart bottom
    ----------------------------------------- */


    .mobile-cart-bar {
        position: fixed;

        right: 0;
        bottom: 0;
        left: 0;

        z-index: 2300;

        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100%;
        height: 58px;

        padding: 0 12px 0 18px;

        background: #fff;

        border-top: 1px solid #ddd;

        box-shadow:
            0 -3px 12px rgba(0,0,0,.12);

    }


    .mobile-cart-info {
        color: #444;

        font-size: 14px;
        font-weight: 500;
    }


    .mobile-cart-info strong {
        margin: 0 3px;

        color: #e76524;

        font-size: 18px;
        font-weight: 800;
    }


    .mobile-cart-btn {
        display: flex;
        align-items: center;

        gap: 7px;

        padding: 9px 15px;

        border: 0;
        border-radius: 5px;

        background: #173d72;
        color: #fff;

        font-family: inherit;

        font-size: 14px;
        font-weight: 700;

        cursor: pointer;
    }


    /* -----------------------------------------
       Mobile cart panel
    ----------------------------------------- */

    .cart-panel {
        right: auto;
        left: -100%;

        width: min(88vw, 340px);
        max-width: none;

        height: 100dvh;

        padding-bottom: 60px;

        box-shadow:
            5px 0 25px rgba(0, 0, 0, .2);

        transition: left .3s ease;
    }


    .cart-panel.open {
        left: 0;
    }


    /* 購物車打開時
       隱藏下方選單與購物車 bar */

   /* 購物車打開時三條都隱藏 */
    body.cart-open .menu,
    body.cart-open .mobile-course-buy,
    body.cart-open .mobile-cart-bar {
        display: none;
    }


    .site-footer {
        padding: 10px 12px 8px;

        background: #37424b;
        color: #fff;

        text-align: center;
    }

    /* 手機隱藏聯絡資訊 */
    .footer-contact {
        display: none;
    }

    /* 版權改成精簡排列 */
    .footer-copyright {
        margin: 0;

        font-size: 11px;
        line-height: 1.7;
    }

    /* 英文公司名隱藏 */
    .footer-en {
        display: none;
    }


    /* 公司名稱獨立一行 */
    .footer-company {
        display: block;

        margin-bottom: 2px;

        font-size: 12px;
        font-weight: 600;
    }

    /* Copyright 獨立一行 */
    .footer-copy {
        display: block;

        color: rgba(255,255,255,.75);

        font-size: 10px;
    }

    /* -----------------------------------------
       Back to top
    ----------------------------------------- */

    #TOP {
        right: 10px;
        bottom: 190px;

        z-index: 1800;

        width: 48px;
        height: 48px;
    }


    .material-symbols-outlined {
        padding-top: 0;

        font-size: 2rem;
    }



}