/*
Theme Name: Hello Elementor Child
Description: 基於 Hello Elementor
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/
@import url("../hello-elementor/style.css");
.custom-logo { max-width: 120px; }
a { color: #0d47a1; } 
.header-inner .site-navigation .sub-menu {
    width: 240px;
    background: #fff;
    border-radius: 4px;
    padding: 12px;
}
/* --- 全局顏色 --- */
:root {
    --best-primary: #2dd4bf;
    --best-primary-hover: #14b8a6;
    --best-secondary: #ecfdf5;
    --best-text: #0f766e;
    --best-muted: #4b9e96;
    --best-border: #a7f3d0;
    --best-white: #ffffff;
    --best-light: #f0fdf4;
}
/* --- 覆蓋 a 連結為深綠 --- */
a { color: var(--best-text); }
a:hover { color: var(--best-primary); }
/* === HEADER + SUBMENU === */
.best-header {
    background: var(--best-white);
    border-bottom: 1px solid var(--best-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.best-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}
.best-branding {
    text-align: center;
    padding: 1.5rem 0;
}
.best-site-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--best-text);
    margin: 0;
    font-family: 'Georgia', serif;
    text-decoration: none;
}
.best-tagline {
    font-size: 1rem;
    color: var(--best-muted);
    margin: 0.5rem 0 0;
    font-style: italic;
}
/* 漢堡按鈕 */
.best-nav-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
}
.best-nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--best-text);
    border-radius: 1px;
    transition: all 0.3s ease;
}
.best-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.best-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.best-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
/* MENU BAR */
.best-nav-wrap {
    background: var(--best-secondary);
    border-top: 1px solid var(--best-border);
    border-bottom: 1px solid var(--best-border);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.best-main-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}
.best-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.best-menu-item {
    position: relative;
}
.best-menu-item > a {
    color: var(--best-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.2s ease;
}
.best-menu-item > a:hover,
.best-menu-item.current-menu-item > a {
    color: var(--best-primary);
}
.best-menu-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--best-primary);
    transition: width 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}
.best-menu-item > a:hover::after,
.best-menu-item.current-menu-item > a::after {
    width: 100%;
}
/* DROPDOWN SUBMENU */
/* DROPDOWN SUBMENU - 無底色、無底線，只變色 */
.best-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    padding: 0.75rem 0;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}
.best-submenu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: white;
}
.best-submenu a {
    display: block;
    padding: 0.5rem 1.5rem;
    color: var(--best-text);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.best-submenu a:hover {
    color: var(--best-primary);
    background: transparent; /* 移除底色 */
    text-decoration: none; /* 移除底線 */
}
.best-submenu .best-submenu {
    top: 0;
    left: 100%;
    transform: translateY(-8px);
}
.best-submenu .best-submenu::before {
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-bottom-color: transparent;
    border-right-color: white;
}
.best-has-submenu:hover > .best-submenu {
    display: block;
    opacity: 1;
    visibility: visible;
}
/* === HOMEPAGE === */
.best-homepage {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--best-text);
}
.best-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
/* HERO + 3 POSTS */
.best-hero {
    background: linear-gradient(135deg, #127a67 0%, #135e50 100%);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    border-bottom: 1px solid var(--best-border);
}
.best-hero h1 { font-size: 2.5rem; font-weight: 700; margin: 0 0 0.5rem; color: #fff; }
.best-hero p { font-size: 1.25rem; color: #fff; margin: 0 0 2rem; opacity: 0.95; }
.best-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.best-featured-card {
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    backdrop-filter: blur(5px);
}
.best-featured-card:hover { transform: translateY(-5px); }
.best-featured-thumb { height: 160px; overflow: hidden; }
.best-featured-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.best-featured-card:hover .best-featured-thumb img { transform: scale(1.08); }
.best-featured-content { padding: 1rem; color: white; }
.best-featured-title { font-size: 1.1rem; margin: 0 0 0.5rem; line-height: 1.4; }
.best-featured-title a { color: white; text-decoration: none; }
.best-featured-title a:hover { text-decoration: underline; }
.best-featured-meta { font-size: 0.8rem; opacity: 0.9; }
/* ABOUT */
.best-about { padding: 4rem 1rem; background: var(--best-white); }
.best-about h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    color: var(--best-text);
}
.best-about h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--best-primary);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.best-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.best-about-text ul { margin: 1rem 0; padding-left: 1.2rem; }
.best-about-text li { margin: 0.5rem 0; color: var(--best-muted); }
.best-about-photo img {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* CATEGORIES */
.best-categories { background: #fff; padding: 4rem 1rem; text-align: center; }
.best-categories h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--best-text);
}
.best-categories h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--best-primary);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.best-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.best-cat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.best-cat-card:hover { transform: translateY(-8px); }
.best-cat-card h3 { color: var(--best-primary); margin: 1rem 0 0.75rem; font-size: 1.35rem; }
/* LATEST POSTS */
.best-latest { padding: 4rem 1rem; background: var(--best-secondary); }
.best-latest h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--best-text);
}
.best-latest h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--best-primary);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.best-post-row {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    margin-bottom: 2.5rem;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.best-post-row:nth-child(even) {
    grid-template-columns: 300px 1fr;
}
.best-post-row:nth-child(even) .best-post-thumb {
    order: -1;
}
.best-post-thumb {
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.best-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.best-post-content { padding: 0 1rem; }
.best-post-title {
    font-size: 1.35rem;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}
.best-post-title a {
    color: var(--best-text);
    text-decoration: none;
}
.best-post-title a:hover {
    color: var(--best-primary);
}
.best-post-excerpt {
    color: var(--best-muted);
    margin: 0 0 1rem;
    font-size: 0.95rem;
}
.best-post-meta {
    font-size: 0.85rem;
    color: var(--best-muted);
}
/* CTA */
.best-cta {
    background: var(--best-white);
    padding: 4rem 1rem;
    border-top: 1px solid var(--best-border);
}
.best-cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.best-cta-text h2 {
    font-size: 2.2rem;
    margin: 0 0 1rem;
    color: var(--best-text);
}
.best-cta-text p {
    font-size: 1.2rem;
    margin: 0 0 2rem;
    color: var(--best-muted);
}
.best-cta-btn {
    background: var(--best-primary);
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45,212,191,0.3);
}
.best-cta-btn:hover {
    background: var(--best-primary-hover);
    transform: translateY(-3px);
}
.best-cta-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
/* ARCHIVE PAGE */
.best-archive-page {
    padding: 3rem 0;
    background: var(--best-white);
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--best-text);
}
.best-archive-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 1rem;
    background: #333333;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.best-archive-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem;
    position: relative;
}
.best-archive-title::after {
    content: '';
    width: 80px;
    height: 3px;
    background: var(--best-primary);
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.best-archive-desc {
    font-size: 1.1rem;
    color: var(--best-muted);
    max-width: 700px;
    margin: 0 auto;
}
.best-posts-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}
.best-post-row {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.best-post-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.best-post-row:nth-child(even) {
    grid-template-columns: 1fr 300px;
}
.best-post-row:nth-child(even) .best-post-thumb {
    order: -1;
}
.best-post-thumb {
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.best-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.best-post-row:hover .best-post-thumb img {
    transform: scale(1.08);
}
.best-post-content { padding: 0 1rem; }
.best-post-title { font-size: 1.35rem; margin: 0 0 0.75rem; line-height: 1.4; }
.best-post-title a { color: var(--best-text); text-decoration: none; transition: color 0.2s ease; }
.best-post-title a:hover { color: var(--best-primary); }
.best-post-meta { font-size: 0.875rem; color: var(--best-muted); margin-bottom: 0.75rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.best-post-cats { color: var(--best-primary); }
.best-post-excerpt { color: var(--best-muted); margin: 0 0 1rem; font-size: 0.95rem; }
.best-read-more {
    display: inline-block;
    color: var(--best-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    padding-right: 1.2rem;
}
.best-read-more::after {
    content: '→';
    position: absolute;
    right: 0;
    transition: transform 0.2s ease;
}
.best-read-more:hover::after { transform: translateX(4px); }
/* 分頁 */
.best-pagination { margin-top: 3rem; text-align: center; }
.best-pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border: 1px solid var(--best-border);
    border-radius: 6px;
    color: var(--best-text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.best-pagination .page-numbers.current,
.best-pagination .page-numbers:hover {
    background: var(--best-primary);
    color: white;
    border-color: var(--best-primary);
}
/* MOBILE */
@media (max-width: 768px) {
    .best-nav-toggle { display: flex; }
    .best-branding { padding: 1.25rem 0; }
    .best-nav-wrap {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: auto;
        max-height: 0;
        overflow: hidden;
        background: white;
        border-bottom: 1px solid var(--best-border);
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        transition: max-height 0.4s ease;
    }
    .best-nav-wrap.active {
        max-height: 600px;
    }
    .best-nav-menu {
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }
    .best-menu-item {
        width: 100%;
        border-bottom: 1px solid var(--best-border);
    }
    .best-menu-item:last-child { border-bottom: none; }
    .best-menu-item > a {
        padding: 1rem 1.5rem;
        font-size: 1.1rem;
    }
    .best-submenu {
        position: static;
        transform: none;
        box-shadow: none;
        background: var(--best-light);
        padding: 0;
        display: none;
    }
    .best-submenu.show { display: block; }
    .best-submenu a {
        padding-left: 3rem;
        font-size: 1rem;
    }
    .best-submenu .best-submenu a {
        padding-left: 4.5rem;
    }
    .best-hero h1 { font-size: 2rem; }
    .best-hero p { font-size: 1.1rem; }
    .best-featured-grid, .best-grid, .best-cta-grid, .best-post-row { grid-template-columns: 1fr; text-align: center; }
    .best-post-row:nth-child(even) .best-post-thumb { order: 0; }
    .best-about-photo, .best-cta-image { order: -1; margin-bottom: 1.5rem; }
    .best-cta-text h2 { font-size: 1.8rem; }
    .best-archive-title { font-size: 1.8rem; }
    .best-post-row, .best-post-row:nth-child(even) { grid-template-columns: 1fr; }
    .best-post-thumb { height: 200px; margin: 0 auto 1rem; max-width: 300px; }
    .best-post-meta { justify-content: center; }
}
/* ========================================= */
/* SINGLE.PHP - 跟首頁風格統一 */
/* ========================================= */
.best-single-page {
    padding: 2rem 0;
    background: var(--best-white);
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.8;
    color: #333;
}
/* 麵包屑 */
.best-breadcrumb {
    font-size: 0.9rem;
    color: var(--best-muted);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--best-border);
}
.best-breadcrumb a {
    color: var(--best-text);
    text-decoration: none;
}
.best-breadcrumb a:hover { color: var(--best-primary); }
.best-breadcrumb .sep {
    margin: 0 0.5rem;
    color: var(--best-muted);
}
/* 文章標題 */
.best-article-header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem 1rem;
    background: #333;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.best-article-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem;
}
.best-article-meta {
    font-size: 0.95rem;
    color: #fff;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.best-article-cats { color: var(--best-primary); }
/* 特色圖 */
.best-featured-image {
    margin: 2rem 0;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.best-featured-img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}
/* 內容 */
.best-article-content {
    font-size: 1.1rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.best-article-content p {
    margin-bottom: 1.25rem;
}
.best-article-content h2,
.best-article-content h3,
.best-article-content h4 {
    color: var(--best-text);
    margin: 1.5rem 0 1rem;
    position: relative;
}
.best-article-content h2::after,
.best-article-content h3::after {
    content: '';
    width: 50px;
    height: 3px;
    background: var(--best-primary);
    position: absolute;
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}
.best-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.best-article-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: var(--best-secondary);
    border-left: 4px solid var(--best-primary);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--best-text);
}
.best-page-links {
    text-align: center;
    margin: 2rem 0;
    font-weight: 600;
}
.best-page-links a {
    color: var(--best-primary);
}
/* 標籤 */
.best-article-tags {
    margin: 2rem 0;
    padding: 1rem;
    background: var(--best-light);
    border-radius: 8px;
    font-size: 0.95rem;
}
.best-article-tags a {
    color: var(--best-primary);
    text-decoration: none;
    margin-right: 0.5rem;
}
.best-article-tags a:hover { text-decoration: underline; }
/* 分享按鈕 */
.best-article-share {
    margin: 2rem 0;
    padding: 1rem;
    background: var(--best-light);
    border-radius: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.best-share-btn {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--best-primary);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}
.best-share-btn:hover {
    background: var(--best-primary-hover);
}
/* 相關文章 */
.best-related-posts {
    margin: 3rem 0;
    padding: 2rem 1rem;
    background: var(--best-light);
    border-radius: 12px;
}
.best-related-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--best-text);
    position: relative;
}
.best-related-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--best-primary);
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}
.best-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.best-related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.best-related-card:hover { transform: translateY(-5px); }
.best-related-thumb { height: 160px; overflow: hidden; }
.best-related-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.best-related-card:hover .best-related-thumb img { transform: scale(1.08); }
.best-related-content { padding: 1rem; }
.best-related-post-title { font-size: 1.1rem; margin: 0 0 0.5rem; line-height: 1.4; }
.best-related-post-title a { color: var(--best-text); text-decoration: none; }
.best-related-post-title a:hover { color: var(--best-primary); }
.best-related-meta { font-size: 0.8rem; color: var(--best-muted); }
/* 評論 */
.best-comments-section {
    margin-top: 3rem;
    padding: 2rem 1rem;
    background: var(--best-light);
    border-radius: 12px;
}
/* MOBILE */
@media (max-width: 768px) {
    .best-article-title { font-size: 1.8rem; }
    .best-article-meta { flex-direction: column; gap: 0.5rem; }
    .best-article-content { padding: 1rem; font-size: 1rem; }
    .best-featured-image { margin: 1.5rem 0; }
    .best-related-grid { grid-template-columns: 1fr; }
    .best-article-share { flex-direction: column; align-items: flex-start; }
}
.best-article-meta a{color:#87b23f;}
.best-article-meta .best-article-cats{color:#87b23f;}
/* ========================================= */
/* MOBILE MENU - 完美優化版 */
/* ========================================= */
@media (max-width: 768px) {
    /* 漢堡按鈕 */
    .best-nav-toggle {
        display: flex;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        padding: 0.75rem;
        gap: 5px;
    }
    .best-nav-toggle span {
        width: 28px;
        height: 3px;
        background: var(--best-text);
        border-radius: 2px;
    }
    /* Menu 容器 */
    .best-nav-wrap {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: auto;
        max-height: 0;
        overflow: hidden;
        background: var(--best-white);
        border: none;
        border-bottom: 2px solid var(--best-primary);
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
        transition: max-height 0.4s ease, opacity 0.3s ease;
        opacity: 0;
        padding: 0 1rem;
        z-index: 999;
    }
    .best-nav-wrap.active {
        max-height: 800px;
        opacity: 1;
        padding: 1rem;
    }
    /* 主選單 */
    .best-nav-menu {
        flex-direction: column;
        padding: 0;
        gap: 0;
        width: 100%;
    }
    .best-menu-item {
        width: 100%;
        border-bottom: 1px solid var(--best-border);
        background: var(--best-white);
    }
    .best-menu-item:last-child {
        border-bottom: none;
    }
    .best-menu-item > a {
        display: block;
        padding: 1rem 1.25rem;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--best-text);
        text-align: left;
        position: relative;
    }
    .best-menu-item > a::after {
        content: none; /* 手機唔要底線 */
    }
	.best-menu-item > a:hover::after, .best-menu-item.current-menu-item > a::after
	{width:0;}
	.a:hover::after
	
    /* Submenu - 手機版 */
    .best-submenu {
        position: static;
        transform: none;
        background: var(--best-light);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        display: none; 
        margin-left: 1rem;
    }
    .best-submenu.show {
        display: block;
    }
    .best-submenu a {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        color: var(--best-text);
        background: transparent;
    }
    .best-submenu a:hover {
        color: var(--best-primary);
        background: rgba(45, 212, 191, 0.08);
    }
    /* 三層 submenu */
    .best-submenu .best-submenu {
        background: #f8fdfc;
        border-left-color: var(--best-primary-hover);
        margin-left: 0.5rem;
    }
    .best-submenu .best-submenu a {
        padding-left: 2.5rem;
        font-size: 0.95rem;
    }
    /* 點擊展開 submenu（JS 控制 .show） */
    .best-has-submenu > a::after {
        content: '▸';
        position: absolute;
        right: 1.25rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.8rem;
        color: var(--best-muted);
        transition: transform 0.3s ease;
    }
    .best-has-submenu.active > a::after {
        transform: translateY(-50%) rotate(90deg);
    }
}


.best-has-submenu ul{    list-style: none;
}