/* 字體配置 */
@font-face {
    font-family: 'HarmonyOS Sans TC Medium';
    src: url('../font/HarmonyOS_Sans_TC_Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HarmonyOS Sans TC Regular';
    src: url('../font/HarmonyOS_Sans_TC_Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HarmonyOS Sans TC Light';
    src: url('../font/HarmonyOS_Sans_TC_Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HarmonyOS Sans TC';
    src: url('../font/HarmonyOS_Sans_TC_Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HarmonyOS Sans TC Black';
    src: url('../font/HarmonyOS_Sans_TC_Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 基本樣式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    padding-top: 55px; /* 為固定header預留空間 */
    min-height: 100vh;
    position: relative;
}

/* Header 樣式 */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#main-header .header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.current-page {
    color: #333;
    border-bottom: 2px solid #333;
}

.current-page:hover {
    border: none;
}

/* Logo 樣式 */
.logo-container {
    height: 100%;
    display: flex;
    align-items: center;
}

#logo-img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    margin-top: 5px;
}

#logo-img:hover {
    transform: scale(1.1);
}

/* 桌面選單樣式 */
.menu-container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.desktop-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.desktop-menu li a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 14px;
    transition: transform 0.3s ease;
    text-align: center;
    line-height: 1.4;
}

.desktop-menu li a span {
    color: #83CBEB;
    font-size: 10px;
}

.right-controls a, .sidebar-menu a {
    text-decoration: none;
    color: #333;
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    transition: transform 0.3s ease;
    display: inline-block;
}

.desktop-menu a:hover, .right-controls a:hover, .sidebar-menu a:hover {
    transform: scale(1.1);
    cursor: pointer;
}

/* 右側控制項 */
.right-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

#search-icon-img, #lang-icon-img {
    height: 25px;
    width: auto;
    transition: transform 0.3s ease;
    margin-top: 5px;
}

.search-btn:hover, .lang-switch:hover {
    transform: scale(1.1);
    cursor: pointer;
}

/* 行動控制項 - 默認隱藏 */
.mobile-controls {
    display: none;
    align-items: center;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-right: 15px;
}

.menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-lang {
    position: absolute;
    right: 20px;
}

/* 搜尋框樣式 */
.search-popup {
    position: fixed;
    top: -250px;
    left: 0;
    width: 100%;
    height: 250px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transition: top 0.3s ease-in-out;
}

.search-popup.active {
    top: 0;
}

.search-popup-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
}

.search-popup h2 {
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 16px;
    border: 2px solid #e7e7e7;
    border-radius: 30px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-box input:focus {
    border-color: #83CBEB;
}

.search-box button {
    padding: 12px 30px;
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 16px;
    color: #fff;
    background-color: #83CBEB;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #6ba8c4;
}

.hot-searches {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hot-searches span {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 14px;
    color: #666;
}

.hot-searches a {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    padding: 5px 15px;
    background-color: #f5f5f5;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.hot-searches a:hover {
    background-color: #e7e7e7;
    cursor: pointer;
}

.search-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.search-popup-close:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .search-popup {
        top: -300px;
        height: 300px;
    }
    .search-popup-content {
        padding: 20px 15px;
    }
    
    .search-popup h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .search-box {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-box button {
        width: 100%;
    }
    
    .hot-searches {
        gap: 10px;
    }
}

/* Sidebar 樣式 */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #fff;
    z-index: 1100;
    transition: left 0.3s ease;
    padding: 60px 0 20px;
}

.sidebar-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #333;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.sidebar-close:hover {
    transform: scale(1.1);
}

.sidebar-title img {
    width: 200px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.sidebar-search {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.sidebar-menu ul {
    list-style: none;
}

.sidebar-menu li {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
}


/* Footer 樣式 */
#main-footer {
    position: relative;
    /*top: calc(40vw + 1020px);  輪播容器下方1000px */
    margin-top: 50px;
    width: 100%;
    height: 120px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

#main-footer p {
    font-family: 'HarmonyOS Sans TC Light', sans-serif;
    font-size: 12px;
    color: #333;
    margin-bottom: 0px;
}

#main-footer .footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #fff;
    border: 2px solid #83CBEB;
    border-radius: 50%;
    color: #83CBEB;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #83CBEB;
    color: #fff;
    transform: translateY(-2px);
}

.social-link i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .social-links {
        margin-top: 3px;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
    }
    
    .social-link i {
        font-size: 14px;
    }
}




/* 頁面 tabs 區 */
.tabs-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #fff;
    padding: 20px 0;
}

.tabs-container .tabs-button-container {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 20px;
    margin-top: 10px;
}

.tabs-container .tabs-button-container .activate-tab-button {
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 16px;
    color: #fff;
    padding: 10px 20px;
    border: #83CBEB 2px solid;
    border-radius: 40px;
    background-color: #83CBEB;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.tabs-container .tabs-button-container .activate-tab-button:hover {
    background-color: #83CBEB;
    color: #fff;
}

.tabs-container .tabs-button-container .deactivate-tab-button {
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 16px;
    color: #333;
    padding: 10px 20px;
    border: #83CBEB 2px solid;
    border-radius: 40px;
    background-color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.tabs-container .tabs-button-container .deactivate-tab-button:hover {
    background-color: #83CBEB;
    color: #fff;
    cursor: pointer;
}

.tabs-container .tabs-content-title {
    font-family: 'HarmonyOS Sans TC Black', sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 0px;
}

/* Tab 內容基本樣式 */
.tab-content {
    background-color: #f6f6f6;
    margin: 10px 0;
    width: 90%;
    border-radius: 10px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 關於NTUCA區域樣式 */
.tab-content .ntuca-about-section {
    background-color: #f6f6f6;
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    color: #333;
}

.tab-content .ntuca-about-section  .ntuca-logo {
    width: 100px;
    margin-bottom: 20px;
}

.tab-content .ntuca-about-section  .ntuca-intro {
    margin-bottom: 30px;
}

.tab-content .ntuca-about-section  .ntuca-intro p {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

.tab-content .ntuca-about-section  .ntuca-intro .ntuca-slogan {
    width: 100%;
    height: auto;
    margin-top: 0px;
    max-width: 800px;

}

.tab-content .ntuca-about-section  .ntuca-core-values {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.tab-content .ntuca-about-section  .ntuca-core-values ul {    
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.tab-content .ntuca-about-section  .tabs-content-title {
    font-family: 'HarmonyOS Sans TC Black', sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.tab-content .ntuca-about-section  .ntuca-text-subtitle {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 18px;
    color: #333;
    position: relative;
    padding: 0.4em;
    border-bottom: #83CBEB 2px solid;
    width: 300px;
}

.tab-content .ntuca-about-section  .ntuca-text-subtitle span {
    position: relative;
    z-index: 2;
}

.tab-content .ntuca-about-section .ntuca-text-subtitle::before {
    content: attr(data-number);
    position: absolute;
    top: 0;
    left: 0;
    color: rgba(131, 203, 235, 0.5);
    font-size: 30px;
    font-weight: 800;
    z-index: 1;
}


.tab-content  .ntuca-about-section .ntuca-core-values ul {
    list-style: none;
    padding-left: 0;
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 16px;
    color: #333;
}

.tab-content  .ntuca-about-section .ntuca-core-values ul li {
    margin-bottom: 15px;
}

.tab-content  .ntuca-about-section .ntuca-core-values ul li strong {
    color: #83CBEB;
}

.tab-content  .ntuca-about-section .highlight {
    background-color: #83CBEB;
    color: #fff;
    padding: 2px 8px;
    border-radius: 5px;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .ntuca-about-section {
        padding: 20px;
    }

    .ntuca-about-section .tabs-content-title {
        font-size: 20px;
    }

    .ntuca-about-section .ntuca-intro p,
    .ntuca-about-section .ntuca-core-values ul li {
        font-size: 14px;
    }

    .ntuca-about-section .ntuca-logo {
        width: 120px;
    }
}

/* 成員介紹區 */
.tab-content .ntuca-members-section {
    background-color: #f6f6f6;
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    color: #333;
}

.tab-content  .ntuca-members-section .underconstruction-logo {
    width: 150px;
    margin-bottom: 20px;
}

.tab-content .ntuca-members-section  .tabs-content-title {
    font-family: 'HarmonyOS Sans TC Black', sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 0px;
}

/* 歷年專案區 */
.tab-content .ntuca-projects-section {
    background-color: #f6f6f6;
    padding: 10px 20px;
    border-radius: 10px;
    text-align: center;
    color: #333;
}

.tab-content .ntuca-projects-section .underconstruction-logo {
    width: 150px;
    margin-bottom: 20px;
}

.tab-content .ntuca-projects-section  .tabs-content-title {
    font-family: 'HarmonyOS Sans TC Black', sans-serif;
    font-size: 24px;
    color: #333;
    margin-bottom: 0px;
}

/* 时间轴容器样式 */
.timeline-container {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-wrapper {
    position: relative;
    padding-left: 50px;
}

/* 垂直时间轴线 */
.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: #83CBEB;
}

/* 时间轴项目样式 */
.timeline-item {
    position: relative;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

/* 时间戳样式 */
.timeline-date {
    position: absolute;
    left: -85px;
    top: 0;
    background: #fff;
    padding: 5px 10px;
    border-radius: 20px;
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 15px;
    color: #333;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 时间轴圆点 */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -54px;
    top: 15px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #83CBEB;
    border: 2px solid #fff;
    box-shadow: 0 0 0 4px #f6f6f6;
}

/* 内容样式 */
.timeline-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline-title {
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.timeline-tag {
    display: inline-block;
    background: #83CBEB;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 10px;
}



.timeline-tag:hover {
    color: #fff;            /* 懸停時變為白色文字 */
    background: #333;            /* 懸停時變為深灰色 */
    cursor: pointer;
}


.timeline-intro {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline-container {
        padding: 20px 10px;
    }
    
    .timeline-wrapper {
        padding-left: 30px;
    }
    
    .timeline-date {
        left: -65px;
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .timeline-item::before {
        left: -34px;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .timeline-title {
        font-size: 16px;
    }
    
    .timeline-tag {
        font-size: 12px;
    }
    
    .timeline-intro {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .timeline-wrapper {
        padding-left: 20px;
    }
    
    .timeline-date {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 10px;
        display: inline-block;
    }
    
    .timeline-item::before {
        left: -24px;
    }
}

/* 時間軸箭頭樣式 */
.timeline-wrapper::after {
    content: '';
    position: absolute;
    left: -4px;  /* 調整箭頭位置以對齊時間軸線 */
    bottom: -10px;
    width: 10px;
    height: 10px;
    border-right: 3px solid #83CBEB;
    border-bottom: 3px solid #83CBEB;
    transform: rotate(45deg);
    background-color: #f6f6f6;
}

/* 英文標題樣式 */
.timeline-en-title {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 5px 0 10px 0;
}

/* 調整原有標題的 margin */
.timeline-title {
    margin-bottom: 5px;
}

/* 響應式調整 */
@media (max-width: 768px) {
    .timeline-en-title {
        font-size: 12px;
    }
    
    .timeline-wrapper::after {
        left: -3px;
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .timeline-wrapper::after {
        left: -2px;
        width: 6px;
        height: 6px;
    }
}

/* 隱藏的 Tab */
.tab-content.hidden {
    display: none !important;
}

/* 活動的 Tab */
.tab-content.active {
    display: flex !important;
    flex-direction: column;
    align-items: center;
}

/* 淡出動畫 */
.tab-content.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

/* 淡入動畫 */
.tab-content.fade-in {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tab 按鈕過渡效果 */
.activate-tab-button,
.deactivate-tab-button {
    transition: all 0.3s ease;
}

/* 添加懸停效果 */
.deactivate-tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(131, 203, 235, 0.2);
}


/* 響應式布局 */
@media (max-width: 768px) {
    .tabs-container .tabs-button-container {
        gap: 10px;
    }
    .tabs-container .tabs-button-container .deactivate-tab-button {
        font-size: 12px;
        padding: 7px 15px;
    }
    .tabs-container .tabs-button-container .activate-tab-button {
        font-size: 12px;
        padding: 7px 15px;
    }
}

.tabs-content-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
}




/* 頁尾聯繫按鈕區 */
.about-contact-container {
    padding: 30px 0;
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.about-contact-title-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.about-contact-title-container h2 {
    font-family: 'HarmonyOS Sans TC Black', sans-serif;
    font-size: 32px;
    padding-bottom: 10px;
    width: 100%;
    text-align: center;
    color: #333;
    background-image: linear-gradient(
        90deg,
        #e7e7e7 0%, #e7e7e7 45%,
        #83cbeb 45%, #83cbeb 55%,
        #e7e7e7 55%, #e7e7e7 100%
    );
    background-size: 50% 5px;
    background-repeat: no-repeat;
    background-position: center bottom;
}


.about-contact-text-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    padding: 20px;
}

.about-contact-text-container p {
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    font-size: 14px;
    color: #666;
    padding: 0px;
}

.about-contact-link-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.about-contact-link-container a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 240px;
    color: #333;
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 16px;
    text-decoration: none;
    background-color: #fff;
    border: #83CBEB 2px solid;
    border-radius: 40px;
    margin-right: 20px;
}

.about-contact-link-container .disabled-button {
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 240px;
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 16px;
    text-decoration: none;
    background-color: #f6f6f6;
    border: #666 2px solid;
    color: #666;
    border-radius: 40px;
    margin-right: 20px;
}

.about-contact-link-container a:hover {
    background-color: #83CBEB;
    color: #fff;
    transition: background-color 0.3s ease;
}

.about-contact-link-container a::after {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 3px solid #333;
    border-right: 3px solid #333;
    transform: rotate(45deg);
}

.about-contact-link-container a:hover::after {
    border-color: #fff;
    transition: border-color 0.3s ease;
}


/* 響應式布局 */
@media (max-width: 768px) {
    .desktop-menu, .right-controls {
        display: none;
    }
    
    .mobile-controls {
        display: flex;
    }
    
    .logo-container {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    body.sidebar-open .sidebar {
        left: 0;
    }
    
    body.sidebar-open .sidebar-overlay {
        display: block;
    }

    .about-contact-title-container h2 {
        font-size: 24px;
    }

    .about-contact-text-container {
        margin-bottom: 20px;
    }

    .about-contact-text-container p {
        font-size: 12px;
        margin-left: 30px;
        margin-right: 30px;
    }

    .about-contact-link-container {
        flex-direction: column;
        align-items: center;
        margin-top: 0px;
    }

    .about-contact-link-container a {
        width: 200px;
        font-size: 12px;
        margin-bottom: 10px;
    }

    .about-contact-link-container .disabled-button {
        width: 200px;
        font-size: 12px;
        margin-bottom: 10px;
    }

}

@media screen and (max-width: 300px) {
    #logo-img {
        content: url("../img/ntuca_logo.png");
    }
}


/* 桌面版子菜單 */
.blog-menu {
    position: relative;
}

.blog-menu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 160px;
    padding: 5px 0;
}

.blog-menu:hover .submenu {
    display: block;
}

.blog-menu .submenu li {
    list-style: none;
    padding: 8px 15px;
}

.blog-menu .submenu li a {
    text-decoration: none;
    font-size: 14px;
    color: #333;
    display: block;
    font-family: 'HarmonyOS Sans TC Regular', sans-serif;
    padding: 5px 10px;
}

.blog-menu .submenu li a:hover {
    background: #83CBEB;
    color: #fff;
    border-radius: 5px;
}

/* 行動版子菜單 */
.sidebar-submenu {
    display: none;
    padding-left: 15px;
}

.sidebar-submenu li {
    list-style: none;
    padding: 10px 0;
}

.sidebar-submenu li a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
    display: block;
}

.sidebar-blog-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-family: 'HarmonyOS Sans TC Medium', sans-serif;
    font-size: 16px;
    cursor: pointer;
    padding: 0px 0px;
}

.sidebar-blog-toggle i {
    transition: transform 0.3s;
}

/* 當展開時改變箭頭方向 */
.sidebar-blog-toggle.active i {
    transform: rotate(180deg);
}