@charset "UTF-8";
@import url("https://fonts.googleapis.com/earlyaccess/notosanstc.css");

@font-face {
    font-family: 'NotoSansTC';
    src: url('../fonts/NotoSansTC-VariableFont_wght.ttf') format('TrueType');
}

* {
    font-size: clamp(16px, 1vw, 18px);
    letter-spacing: .5px;
    -webkit-text-size-adjust: none;
    margin: 0px;
    padding: 0px;
    outline: none;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    color: #222;
    height: 100%;
    max-height: 100%;
    font-family: "Arial", "Helvetica", "DFHei", "Microsoft JhengHei", "sans-serif", "微軟正黑體";

}

ul li {
    list-style: none;
}

h1.seo-h1 {
    height: 0px;
    width: 0px;
    padding: 0px;
    margin: 0px;
    transform: scale(0);
}

/*按鈕周圍的橙色焦點輪廓*/
a:focus,
button:focus {
    outline: none;
}

a {
    text-decoration: none;

}

a:hover {
    /*    text-decoration: none; */
    color: #3636FC;
}



/*圓體繁體*/
@font-face {
    font-family: 'GenSenRounded';
    src: url('../fonts/GenSenRounded2TW-M.otf') format('opentype');
    font-display: swap;
}

.genSenRounded {
    font-family: 'GenSenRounded', sans-serif;
}

/*圓體數字*/
@font-face {
    font-family: 'Nunito';
    src: url('../fonts/Nunito-VariableFont_wght.ttf') format('TrueType');
    font-display: swap;

}

.nunito {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
}


/*共用字體*/

.title1 {
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 600;
    line-height: normal;
}

.title2 {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 600;
    line-height: normal;
}

.title3 {
    font-size: clamp(20px, 3vw, 25px);
}


.illustrate {
    font-size: clamp(18px, 1vw, 20px);
}

.illustrate-bold {
    font-size: clamp(18px, 1vw, 20px);
    font-weight: 600;
}

/*按鈕樣式*/
.btn-w-bord {
    border: 1px solid #00a19b;
    background: #fff;
    color: #00a19b;
    border-radius: 8px;
}

.btn-w-bord:hover {
    background: #edf0f0;
}

.btn-default {
    background: #005154;
    color: #fff;
    border: none;
    border-radius: 8px;
}

.btn-default:hover {
    background: #1D7F7A;
}

button {
    /*    min-width: 180px;
    max-width: 300px;*/
    padding: 12px 24px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s ease;
}

/*============
    banner
============*/
#banner {
    text-align: center;
    padding: 70px 16px 16px 16px;
    background: #FFFAEB;
}

.headline {
    color: #ffb029;
    font-size: clamp(30px, 4vw, 70px);
    margin: 8px 0;
    line-height: 1.2;
}

#banner .title {
    font-size: clamp(20px, 3vw, 40px);
    color: #00a19b;
}

#banner h3.genSenRounded {
    color: #00a19b;
    display: block;
}

#new-lecture {
    background:url(../images/new-lecture-bg-2.webp),linear-gradient(180deg, #FAF1D8 0%, #FDF1D7 100%) ;
    background-repeat: no-repeat;
    width: 100%;
    background-size: 100%;
}

#new-lecture .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 40px 20px 0 20px;
    width: 100%;
    max-width: 1200px;
    gap: 10px;
    margin: auto;
    position: relative;
}

#new-lecture .text {
    transform: skewY(-10deg);
    display: inline-block;
    text-align: left;
    position: relative;
    left: 5vw;
}

#new-lecture .text h2 {
    font-family: "PingFang TC", sans-serif;
    color: #464646;
    padding: 8px 0;
    font-size: clamp(40px, 6vw, 90px);
    /* 隨螢幕縮放，最小 40px，最大 90px */
    white-space: nowrap;
    font-weight: 600;
    line-height: 1.2;

}

#new-lecture .text b {
    color: #00a19b;
    font-size: clamp(20px, 6vw, 36px);
    line-height: normal;
    font-weight:500;

}

#new-lecture .text time {
    background: #005154;
    color: #fff;
    font-size: clamp(20px, 3vw, 30px);
    font-weight: normal;
    border-radius: 8px;
    padding: 4px 16px;
    line-height: 1.5;
    display: inline-block;
}

#new-lecture .photo {
    width: 100%;
    max-width: 100%;
    flex: 1;
    position: relative;
    right: 1vw;
    display: flex;
    justify-content: center;
}

#new-lecture .photo img {
    width: 100%;
    max-width: 100%;
    /* 確保圖片不超過父層寬度 */
    height: auto;
    /* 根據寬度自動計算比例，覆蓋 HTML 的 height 設定 */
    padding-bottom: 22px;
}

.timeout {
    position: absolute;
    bottom: 0;
    background: linear-gradient(180deg, rgba(252, 238, 207, 0) 0%, #FCF1D5 75%);
    width: 100%;
    max-width: 100%;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: end;
/*    display:block;*/
}


.timeout ol li {
    display: inline-block;
    color: #6E6E6E;
    font-size: clamp(18px, 5vw, 36px);
}

.timeout ol li span {
    font-size: clamp(18px, 5vw, 36px);
}

.timeout p {
    display: inline-block;
    font-size: clamp(40px, 5vw, 64px);
    color: #fc746f;
    font-weight: 600;
    font-family: 'GenSenRounded', sans-serif;

}

.closed {
    position: absolute;
    bottom: 0;
    background: linear-gradient(180deg, rgba(252, 238, 207, 0) 0%, #FCF1D5 75%);
    width: 100%;
    max-width: 100%;
    height: 100px;
    display: none;
    justify-content: center;
    align-items: end;
}

.closed p {
    background: #fff;
    border-radius: 8px;
    color: #fc746f;
    font-size: clamp(20px, 1vw, 30px);
    font-weight:600;
    padding: 10px 24px;
    width: fit-content;
    border: 1px solid #fc746f;


}


/*＝＝＝＝＝＝＝＝＝＝＝＝
        講座資訊
＝＝＝＝＝＝＝＝＝＝＝＝＝*/
.info-section {
    padding: 60px 40px;
    background: linear-gradient(180deg, #FDF1D7 100%, #FDF1D7 100%);
}

.info-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}


/* 卡片基礎樣式 */
.card {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* 左側大卡片 */
.main-card {
    flex: 2;
    background: #fff;
    padding: 40px;
}

.card .title2 {
    color: #00a19b;
    margin-bottom: 8px;
    font-weight: bold;
}

/* 右側側欄 */
.side-column {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sub-card {
    background: #E2DFDF;
    padding: 30px;
}

.sub-section .illustrate-bold {
    margin-bottom: 8px;
}

/* 列表樣式 */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 8px;

}

.info-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #333;
    font-weight: bold;
}

/* 分隔線 */
.card-divider {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 20px 0;
}

.btn-group {
    display: flex;
    gap: 16px;
}

.side-column .btn-w-bord,
.side-column .btn-default {
    flex: 1;
}

/*
＝＝＝＝＝＝＝＝＝＝＝＝＝
    報名流程
＝＝＝＝＝＝＝＝＝＝＝＝＝*/
#registration-steps .btn-w-bord{
    display:none;
}

#registration-steps .steps-collapsible{
  display: block;

}


#registration-steps {
    padding: 100px 35px;
    background: linear-gradient(180deg, #FDF1D7 0%, rgba(253, 241, 215, 0) 50%);
    text-align: center;
}

#registration-steps .title1 {
    color: #00a19b;
    margin-bottom: 8px;
}

#registration-steps ol {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 48px auto;
    margin-bottom: 30px;
    max-width: 1200px;
    gap: 20px;
}

#registration-steps li.section {
    flex: 1;
    min-width: 0;
}

#registration-steps figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#registration-steps figcaption {
    margin-bottom: 8px;
    text-align: center;
}

#registration-steps h3.content-bold {
    color: #00a19b;
    text-align: left;
}

#registration-steps h3.content-bold em {
    font-style: normal;
    display: block;
    color: #333;
    font-weight: normal;
    margin-top: 5px;
    text-align: left;
    height: 50px;
}

#registration-steps img {
    width: 100%;
    max-width: 240px;
    height: auto;
    display: block;
}

#registration-steps .btn-default {
    width: 200px;

}

/* 電腦版隱藏輪播點 */
#registration-steps .swiper-pagination {
    display: none;
}

#registration-steps .swiper-button-next,
#registration-steps .swiper-button-prev {
    display: none;
}



/*＝＝＝＝＝＝＝＝＝＝＝＝＝
        稅務指南
＝＝＝＝＝＝＝＝＝＝＝＝＝*/
#tax-guide {
    padding: 100px 32px;
    background-color: #f8f9fa;
    text-align: center;
}

#tax-guide .title1 {
    color: #00a19b;
    margin-bottom: 8px;
}

#tax-guide .illustrate {
    line-height: 1.8;
    margin-bottom: 50px;
}

.card-grid {
    display: grid;
    /* 改用 auto-fit，並設定最小寬度（例如 300px），最高 1fr */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center; /* 當數量不足填滿整行時，內容會置中 */
}

#tax-guide figure {
    margin: 0;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

#tax-guide figcaption {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}


#tax-guide .illustrate-bold {
    color: #007a7a;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}

#tax-guide figcaption p {
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;

}

/* 閱讀全文按鈕 */
.btn-more {
    align-self: flex-end;
    text-decoration: none;
    color: #222;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-more:hover {
    color: #222;
    text-decoration: none;
}

.btn-more span {
    display: inline-flex;
    width: 30px;
    height: 30px;
    background-color: #005154;
    color: #fff;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.btn-more:hover span {
    transform: translateX(5px);
    background-color: #1D7F7A;
}

#tax-guide article {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 16px;
}

#tax-guide article:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}


.btn-more::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}



/*＝＝＝＝＝＝＝＝＝＝＝＝＝
        podcast
＝＝＝＝＝＝＝＝＝＝＝＝＝*/
#podcast {
    position: relative;
    padding: 100px 32px;
    overflow: hidden;
    background-image: radial-gradient(#e0e0e0 1px, transparent 1px);
    /* 模擬截圖背景的點點裝飾 */
    background-size: 30px 30px;
}

#podcast .container {
    max-width: 1200px;
    margin: 0 auto;
}

.podcast-flex-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* 左側文字區 */
.podcast-intro {
    flex: 1;
    position: relative;
    top: 100px;
}

#podcast .title1 {
    color: #00a19b;
    margin-bottom: 8px;
}

/* 右側podcast區 */
.podcast-grid {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.podcast-item {
    display: flex;
    flex-direction: column;
}



.podcast-item.large {
    grid-column: span 2;
    /* 上方單集佔滿寬度 */
}

 .podcast-grid .illustrate-bold{
    margin-bottom: 4px;
    text-align: left;
    color:#692ED0;
}



.podcast-body {
    display: flex;
    gap: 16px;
    position: relative;
    background:#fff;
    padding:16px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.podcast-cover{
    display:flex;
    justify-content:center;
    align-items:center;
}
.podcast-cover img {
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
    display: block;
}

.podcast-content {
    flex: 1;
    text-align:left;
}

.podcast-meta, time{
    font-size: 13px;
    color:#999;
    margin-bottom: 4px;
}

.podcast-title {
    margin: 0 0 24px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight:normal;
}



.podcast-body button{
    padding:6px 30px;
}
.play-icon{
    display: inline-block;
    border-style: solid;
    border-width: 6px 0 6px 10px;
    margin-left: 8px;
    border-color: transparent transparent transparent #fff;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

/* 底部訂閱區 */
.podcast-subscribe {
    text-align: center;
}

.platform-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.platform-logos img {
    height: 35px;
    opacity: 1;
    transition: 0.3s;
}

.platform-logos img:hover {
    height: 37px;
    opacity: .7;
}

.podcast-item .logo-title {
    font-size: 16px;
    color: #4D4D4D;
    text-align: center;
}


/* 煙花裝飾 */
.star {
    position: absolute;
    animation: twinkle 3.5s ease-in-out infinite;
    transform-origin: center;
    background: url(../images/decorate.webp) no-repeat center;
    z-index: -5;


}

@keyframes twinkle {

    0%,
    100% {
        transform: scale(0.9);
        opacity: 0.1;
    }

    50% {
        transform: scale(1);
        opacity: .3;
    }
}

.star[data-type="star1"] {
    background-size: contain;
    width: 516px;
    height: 516px;
    bottom: 10px;
    left: -12vw;
    opacity: .3;
    animation-delay: 1s;
}

.star[data-type="star2"] {
    background-size: contain;
    width: 300px;
    height: 300px;
    top: -40px;
    left: 45vw;
    opacity: .3;
    animation-delay: 1s;
}

.star[data-type="star3"] {
    background-size: contain;
    width: 250px;
    height: 250px;
    bottom: 10px;
    right: 0;
    opacity: .3;
    animation-delay: 1s;
}



/*＝＝＝＝＝＝＝＝＝＝＝＝＝
    精選文章
＝＝＝＝＝＝＝＝＝＝＝＝＝*/
#featured-articles {
    padding: 80px 32px;
    background-color: #f4f7f6;
    text-align: center;
}

#featured-articles .title1 {
    color: #00a19b;
    margin-bottom: 8px;
}

/* 分頁按鈕樣式 */
.tab-control {
    border: 2px solid #005154;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
    background: #fff;
    display: inline-flex;
    /*    如果有Podcast文章，可以將 display:none改成 display: inline-flex;*/
}

.tab-btn {
    padding: 10px 60px;
    border: none;
    background: #fff;
    color: #005154;
    cursor: pointer;
    width: 220px;
    transition: 0.3s;
}

.tab-btn:hover {
    background: #edf0f0;
}

.tab-btn.active {
    background-color: #005154;
    color: #fff;
    font-weight: 600;

}

/* 內容區隱藏邏輯 */
.tab-content {
    display: none;
    max-width: 900px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
}

/* 展開收合樣式 */
.accordion {
    background: #fff;
    border-radius: 4px;
    text-align: left;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

.accordion-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #007a7a;
    font-size: 1.1rem;
    font-weight: bold;
}

.accordion-item .arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid #00a19b;
    border-bottom: 2px solid #00a19b;
    transform: rotate(45deg);
    transition: 0.3s;
}

.accordion-item.active .arrow {
    transform: rotate(-135deg);
}

/* 清單內容 */
.accordion-body {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #F4F8FA;
}

.accordion-item.active .accordion-body {
    max-height: fit-content;
}

.accordion-body li {
    padding: 12px 0;
    border-bottom: 1px solid #cecece;
}

/* 新增這段：選取最後一個 li 並將底線設為 none */
.accordion-body li:last-child {
    border-bottom: none;
}

.accordion-body li::before {
    content: "•";
    color: #333;
    margin-right: 10px;
}

.accordion-body a {
    color: #222;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.accordion-body a:hover {
    color: #00a19b;
    border-bottom-color: #00a19b;
}


/*＝＝＝＝＝＝＝＝＝＝＝＝＝
    精彩回顧
＝＝＝＝＝＝＝＝＝＝＝＝＝*/
#video-highlights {
    padding: 80px 32px;
    text-align: center;
    background: linear-gradient(rgba(255, 255, 255, .6), rgba(255, 255, 255, .6)),
        url("../images/video-bg.webp");
    background-repeat: no-repeat;
    width: 100%;
    background-size: 100%;
    background-blend-mode: screen;
    mix-blend-mode: screen;
}

#video-highlights .title1 {
    color: #00a19b;
    margin-bottom: 8px;
}

/* 輪播容器 */
#video-highlights .video-swiper {
    width: 100%;
    max-width: 1400px;
    margin-bottom: 40px;
    margin-top: 40px;
    position: relative;
}


#video-highlights .video-swiper .swiper-slide {
    width: 700px;
    height: auto;
    opacity: 0.7;
    /* 側邊淡化 */
    transition: opacity 0.5s ease;
}

/* 讓中間那張變亮 */
#video-highlights .video-swiper .swiper-slide-active {
    opacity: 1;
    z-index: 10;
}

/* 輪播點 */
#video-highlights .swiper-pagination {
    position: relative;
}

#video-highlights .swiper-pagination-bullet-active {
    background: #00a19b;
}

#video-highlights .swiper-button-next {
    right: 0;
    color: #00a19b;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 50%, rgba(255, 255, 255, 0) 100%);
    opacity: .8;
    position: absolute;
    top: -100px;
    bottom: 0px;
    height: auto;
    margin: 0;
    width: 50px;
}

#video-highlights .swiper-button-next:hover {
    color: rgba(0, 81, 84, 0.8);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 50%, rgba(255, 255, 255, 0) 100%);
    opacity: 1;

}

#video-highlights .swiper-button-prev {
    left: 0;
    color: #00a19b;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 50%, rgba(255, 255, 255, 0) 100%);
    opacity: .8;
    position: absolute;
    top: -100px;
    bottom: 0px;
    height: auto;
    margin: 0;
    width: 50px;
}

#video-highlights .swiper-button-prev:hover {
    color: rgba(0, 81, 84, 0.8);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 50%, rgba(255, 255, 255, 0) 100%);
    opacity: 1;
}

.video-thumb {
    width: 100%;
    /* 16 / 9 是 YouTube 影片的標準比例 */
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    /* 填滿上面那個 16:9 的框 */
    object-fit: cover;
    /* 確保圖片鋪滿且不變形 */
    display: block;
}

.video-desc {
    margin: 16px 0;
    padding: 0 10px;
}

.video-desc a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    color: #222;
    text-align: left;

}

.video-desc a:hover {
    text-decoration: underline;
    color: #00a19b;

}

/* 播放按鈕圖示 */
.play-btn {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

.play-btn::after {
    content: '';
    display: block;
    margin: 18px 0 0 24px;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent #fff;
}



/* 查看更多按鈕 (居中) */
#video-highlights .btn-w-bord {
    display: block;
    text-align: center;
    margin: auto;
    margin-top: 20px;
    width: 200px;
}


/*＝＝＝＝＝＝＝＝＝＝＝＝＝
        RWD 
＝＝＝＝＝＝＝＝＝＝＝＝＝*/
@media screen and (max-width: 1024px) {

    /*＝＝＝＝＝＝＝＝＝＝＝＝＝
        講座資訊
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    #new-lecture {
        background: url(../images/new-lecture-bg-2.webp), linear-gradient(180deg, #FAF1D8 0%, #FCF6E4 50%);
        background-repeat: no-repeat;
        background-size: 100%;

    }
    .timeout {
        background: linear-gradient(180deg, rgba(253, 246, 226, 0) 0%, #FDF6E2 70%);
    }

    #new-lecture .text {
        top: 3vh;
    }

    .info-section {
        background: #FDF6E2;
    }

    /* ＝＝＝＝＝＝＝＝＝＝＝＝＝
        報名流程
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
     #registration-steps {
        background: linear-gradient(180deg, #FDF6E2 0%, #fff 50%);
    }
    #registration-steps h3.content-bold em {
        height: 80px;
    }

    /*＝＝＝＝＝＝＝＝＝＝＝＝＝
    精彩回顧
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    #video-highlights {
        background: #fff;

    }
}


@media (max-width: 992px) {

    /*＝＝＝＝＝＝＝＝＝＝＝＝＝
        banner
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    .headline {
        letter-spacing: normal;
    }

    /*  ＝＝＝＝＝＝＝＝＝＝＝＝＝
        講座資訊
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/


    .info-section .container {
        gap: 16px;
    }

    .timeout {
        background: linear-gradient(180deg, rgba(255, 250, 235, 0) 0%, #FFFAEB 75%);
        position: absolute;
        text-align: center;
        white-space: nowrap;
    }

    /*    #new-lecture .text time{
        width: 100%;
        max-width: 80%;
    }*/

    .info-section {
        padding: 0px 32px;
        background:  #FFFAEB;

    }
    .sub-section .illustrate-bold {
        text-align: left;
    }

    .closed {
        background: linear-gradient(180deg, rgba(255, 250, 235, 0) 0%, #FFFAEB 75%);
    }
    /* ＝＝＝＝＝＝＝＝＝＝＝＝＝
        報名流程
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/

    #registration-steps {
        background: linear-gradient(180deg, #FFFAEB 0%, #fff 50%);
    }

    /* ＝＝＝＝＝＝＝＝＝＝＝＝＝
        podcast 
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    .podcast-flex-wrapper {
        align-items: center;
        text-align: center;
    }

    .podcast-intro {
        position: static;
        margin-bottom: 40px;
    }

    .podcast-grid {
        grid-template-columns: 1fr;
        /* 手機版全部改為單欄 */
        width: 100%;
    }

    .podcast-item.large {
        grid-column: span 1;
    }

    .illustrate-bold {
        text-align: center;

    }

    /*    ＝＝＝＝＝＝＝＝＝＝＝＝＝
        精彩回顧
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    #video-highlights .video-swiper .swiper-slide {
        width: fit-content;
    }

}
@media (max-width: 850px) {
    #new-lecture {
        background: url(../images/new-lecture-bg-2.webp), linear-gradient(180deg, #FCF0D8 20%, #FFFAEB 50%);
        background-repeat: no-repeat;
        background-size: 100%;
    }

}
@media (max-width: 768px) {
    #new-lecture {
        background: url(../images/new-lecture-phonebg-1.webp)0 -120px, linear-gradient(180deg, #F9E2AE 0%, #FEFAED 100%);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .headlin {
        letter-spacing: normal;
    }


    /*  ＝＝＝＝＝＝＝＝＝＝＝＝＝
        講座資訊
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/

    #new-lecture .row {
        flex-direction: column;
        padding: 10px 20px 0 20px;
    }

    #new-lecture .photo {
        right: 0;
        max-width: 70%;
        margin: auto;
        margin-bottom: 10px;
    }

    #new-lecture .text {
        top: 0;
        left: 0;
        width: 100%;
        /* 手機版撐滿 */
        flex: none;
        text-align: center;
    }

    .info-section .container {
        flex-direction: column;
        gap: 16px;
    }

    .main-card {
        padding: 25px 20px;
        /* 縮小卡片內距 */
    }

    .sub-card {
        padding: 20px;
    }

    .timeout {
        background: linear-gradient(180deg, rgba(254, 250, 237, 0) 0%, #FEFAED 55%);
    }

    /*＝＝＝＝＝＝＝＝＝＝＝＝＝
        報名流程
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/


    #registration-steps .btn-w-bord{
        display: flex;
        justify-content: center;
        align-items: center;
        margin: auto;
        margin-top:16px;

    }
    #registration-steps .arrow{
        display: inline-block;
        width: 24px;
        height: 24px;
        background: url(../images/ic-down.webp) no-repeat center center;
        background-size: contain;
        transition: transform 0.3s ease;
        vertical-align: middle;
        transform: rotate(0deg);
    }
    #registration-steps .btn-w-bord[aria-expanded="true"] .arrow {
        transform: rotate(180deg);
    }
    #registration-steps{
        padding-bottom: 0px;
    }
    #registration-steps.is-open{
        padding: 100px 32px 60px 32px;
    }

    #registration-steps .btn-w-bord[aria-expanded=""]
    #registration-steps.swiper {
        overflow: hidden;
        position: relative;
        background: linear-gradient(180deg, #FFFAEB 0%, #fff 50%);
    }


    #registration-steps ol.swiper-wrapper {
        display: flex;
        flex-wrap: nowrap;
        margin-bottom: 48px;
        margin-top: 16px;
        gap: 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: all 0.5s ease;
    }
    #registration-steps.is-open ol.swiper-wrapper {
        max-height: 2000px; 
        opacity: 1;
        margin-top: 20px;
        overflow: visible;
    }

    /* 每一格的寬度由 Swiper JS 控制 */
    #registration-steps li.section.swiper-slide {
        flex-shrink: 0;
        flex: none;
        width: 100%;
        height: auto;
        padding: 0;
    }
    /* 強制 Slide 在手機版展開後的寬度 */
    #registration-steps.is-open li.section.swiper-slide {
        width: 100% ;
        visibility: visible;
    }



    #registration-steps img {
        margin: 0 auto;
        max-width: 240px;
        width: 100%;
    }

   
    /*  分頁點 */
    #registration-steps .swiper-pagination {
        display: none;
        bottom: 70px;
    }

    #registration-steps .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
    #registration-steps .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 10px);
    }

    #registration-steps .swiper-pagination-bullet-active {
        background: #00a19b;
    }


    /*  左右箭頭*/
    #registration-steps .swiper-button-next{
        color: #00a19b;
        top: 60%;
        right:10rem;
    }
    #registration-steps .swiper-button-prev{
        color: #00a19b;
        top: 60%;
        left: 10rem;
    }
    

    #registration-steps .swiper-button-next,
    #registration-steps .swiper-button-prev {
        display: none ;
    }
    #registration-steps.is-open .swiper-pagination,
    #registration-steps.is-open .swiper-button-next,
    #registration-steps.is-open .swiper-button-prev {
        display: block ;
    }
    /* ＝＝＝＝＝＝＝＝＝＝＝＝＝
       稅務指南  
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ＝＝＝＝＝＝＝＝＝＝＝＝＝
        podcast 
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    .podcast-flex-wrapper {
        flex-direction: column;
    }

    .star[data-type="star1"] {
        display: none;
    }

    .star[data-type="star3"] {
        width: 200px;
        height: 200px;
        bottom: -50px;
        opacity: 0.1;
    }

    /*＝＝＝＝＝＝＝＝＝＝＝＝＝
        精選文章
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    .tab-btn {
        padding: 10px 30px;
        flex: 1;
    }

    .tab-control {
        width: 100%;
    }

    /*＝＝＝＝＝＝＝＝＝＝＝＝＝
        精選回顧
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    #video-highlights .swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,
    #video-highlights .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 10px);
    }
}


@media (max-width: 628px) {
    /*＝＝＝＝＝＝＝＝＝＝＝＝＝
        講座資訊
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    #new-lecture {
        background: url(../images/new-lecture-phonebg-1.webp);
        background-size:100%;
    }


    #new-lecture .text {
        transform: skewY(0deg);
    }

    #new-lecture .photo {
        max-width: 100%;
    }
    /*＝＝＝＝＝＝＝＝＝＝＝＝＝
        報名流程
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    /*  左右箭頭*/
    #registration-steps .swiper-button-next{
        right:5rem;
    }
    #registration-steps .swiper-button-prev{
        left: 5rem;
    }
    

    /* ＝＝＝＝＝＝＝＝＝＝＝＝＝
       稅務指南  
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    .card-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
}

@media (max-width: 527px) {

    /*＝＝＝＝＝＝＝＝＝＝＝＝＝
        講座資訊
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/

    .btn-group {
        display: block;
    }

    .side-column .btn-w-bord {
        width: 100%;
        margin-top: 10px;
    }

    .side-column .btn-default {
        width: 100%;
        
    }
    /*＝＝＝＝＝＝＝＝＝＝＝＝＝
        報名流程
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    /*  左右箭頭*/
    #registration-steps .swiper-button-next{
        right:10px;
    }
    #registration-steps .swiper-button-prev{
        left: 10px;
    }

    .podcast-cover img {
        width:80px;
        height:80px;
    }


}



@media (max-width: 320px) {

    /*＝＝＝＝＝＝＝＝＝＝＝＝＝
        講座資訊
    ＝＝＝＝＝＝＝＝＝＝＝＝＝*/
    #new-lecture {
        background: url(../images/new-lecture-phonebg-1.webp), linear-gradient(180deg, #FFCE7A 0%, #FFFAEB 20%);
        background-repeat:no-repeat;
        background-size:100%;
    }
    #new-lecture .text time {
        max-width: 70%;
    }
}