body {
    font-family: 'Microsoft JhengHei', Arial, sans-serif;
    margin: 0;
    background: #f5f5f5;
    color: #333;
    padding-top: 60px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #667ea 0%, #76410%);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg viewBox=0044020%3E%3Cpath fill='%23ffffff fill-opacity=0.1d='M0,96L481129628926088608460,480,128,576,122.77217,768,139,864,1547C960,171,1056181152165.3C1248,149,1344,17,1392,853L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056206020642068207220762080208420288320C192,3206,320,48,3200,320Z%3%3C/path%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: -1;
    animation: wave 20s ease-in-out infinite;
}

@keyframes wave {
    0% {
        transform: translateY(0) scaleY(1);
    }
    50% {
        transform: translateY(-20px) scaleY(1.1);
    }
    100% {
        transform: translateY(0) scaleY(1);
    }
}

.slideshow-container {
    position: relative;
    width: 100%;
    margin: 0;
    background: #fffff0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* 固定目錄導航 */
.menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    padding: 20px 40px;
    border-bottom: 3px solid #c0c0c0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    overflow: hidden;
    z-index: 1000;
    background-image: url('data:image/svg+xml;utf8,<svg width="600" height="120" viewBox="0 0 600 120" fill="none" xmlns="http://www.w3.org/2000/svg"><polygon points="0,0 120,0 60,60" fill="%23e0e0e0"/><polygon points="120,0 240,0 180,60 60,60" fill="%23cccccc"/><polygon points="240,0 360,0 300,60 180,60" fill="%23b0b0b0"/><polygon points="360,0 480,0 420,60 300,60" fill="%23999999"/><polygon points="480,0 600,0 540,60 420,60" fill="%23bdbdbd"/><polygon points="60,60 180,60 120,120 0,120" fill="%23f5f5f5"/><polygon points="180,60 300,60 240,120 120,120" fill="%23d6d6d6"/><polygon points="300,60 420,60 360,120 240,120" fill="%23bdbdbd"/><polygon points="420,60 540,60 480,120 360,120" fill="%23e0e0e0"/><polygon points="540,60 600,0 600,120 480,120" fill="%23cccccc"/></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 0;
    padding-bottom: 0;
}

.menu-nav::before,
.menu-nav::after {
    display: none !important;
}

@keyframes glassShift {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: translateX(-5px) translateY(-2px) rotate(0.5deg);
        opacity: 0.9;
    }
    50% {
        transform: translateX(3px) translateY(-1px) rotate(-0.3deg);
        opacity: 0.7;
    }
    75% {
        transform: translateX(-2px) translateY(1px) rotate(0.2deg);
        opacity: 0.85;
    }
}

/* 添加玻璃反光效果 */
.menu-nav::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.1) 0%,
        transparent 20%,
        transparent 80%,
        rgba(255,255,255,0.05) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.menu-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}
.menu-items-row {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.menu-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    position: absolute;
    right: 100px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

/* 電腦版：welcome-text和date-weather在右邊 */
.welcome-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.date-weather {
    font-size: 0.9rem;
    color: #666;
}

/* 顯示控制類 */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    color: rgba(0,0,0,0.7);
    min-width: 80px;
}

.menu-item:hover {
    background: rgba(255,255,255,0.3);
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.menu-item.active {
    background: rgba(255,255,255,0.5);
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.menu-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.menu-text {
    font-family: 'Orbitron', 'Microsoft JhengHei', Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    color: #222;
    letter-spacing: 1px;
    text-shadow: 1px 2px 4px rgba(80,80,80,0.10), 0 1px 0 #fff;
    transition: color 0.2s;
}

.menu-item.active .menu-text,
.menu-item:hover .menu-text {
    color: #111;
    text-shadow: 2px 4px 8px rgba(80,80,80,0.15), 0 1px 0 #fff;
}

/* 內容展示區域 */
.content-area {
    position: relative;
    height: 400px;
}
/* 影片容器 */
.video-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

#main-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    background: rgba(0,0,0,0.4);
    padding: 30px 40px;
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.video-overlay h2 {
    margin: 0 0 15px 0;
    font-size: 2.5rem;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.video-overlay p {
    margin: 0;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}



.divider {
    width: 100%;
    margin: 0;
    border-bottom: 3px solid #c0c0c0;
    height: 0;
}

.photo-gallery {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 16px;
}
.gallery-title {
    text-align: center;
    margin-bottom: 32px;
    color: #666;
    letter-spacing: 2px;
}
.photo-container {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 20px;
    justify-content: center;
}
.photo-frame {
    position: relative;
    overflow: hidden;
    border-radius: 18px 40px 12px 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    background: #fffff0;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: inline-block;
    width: auto;
    height: auto;
}
.photo-frame img {
    display: block;
    width: auto;
    height: auto;
    max-width: 400px;
    max-height: 300px;
    object-fit: contain;
    transition: filter 0.3s;
}
.photo-frame .photo-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    background: rgba(192,192,192,0.8);
    color: #333;
    padding: 16px 12px 10px 12px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}
.photo-frame:hover {
    transform: scale(1.04) rotate(-2deg);
    box-shadow: 0 8px 32px rgba(192,192,192,0.3);
}
.photo-frame:hover img {
    filter: brightness(0.7) blur(2px);
}
.photo-frame:hover .photo-overlay {
    opacity: 1;
}
/* 不規則長方形效果 - 首頁相片集 */
.frame-1 { border-radius: 18px 40px 12px 32px; }
.frame-2 { border-radius: 40px 18px 32px 12px; }
.frame-3 { border-radius: 32px 12px 40px 18px; }
.frame-4 { border-radius: 12px 32px 18px 40px; }
.frame-5 { border-radius: 40px 32px 18px 12px; }
.frame-6 { border-radius: 18px 12px 32px 40px; }
/* 關於我們頁面樣式 */
.about-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.about-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 1;
    background: #fffff0;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.about-text h1 {
    color: #666;
    margin-bottom: 20px;
    font-size: 2.5rem;
    border-bottom: 2px solid #c0c0c0;
    padding-bottom: 10px;
}

.about-text h2 {
    color: #666;
    margin: 25px 0 15px 0;
    font-size: 1.5rem;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333;
}

.about-text ul {
    margin: 15px 0;
    padding-left: 20px;
}

.about-text li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333;
}

.about-slideshow {
    position: relative;
    width: 400px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    background: #fffff0;
}

.about-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s;
    display: none;
}

.about-slide.active {
    opacity: 1;
    display: block;
}

.about-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.about-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.8);
}

.about-dot:hover {
    background: rgba(255,255,255,0.8);
    transform: scale(1.2);
}

.about-dot.active {
    background: #fff;
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* 主內容左右分欄 */
.main-content-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    min-height: 420px;
}

.social-sidebar {
    flex: 0 0 22%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    padding-top: 40px;
    z-index: 2;
}

.social-icon {
    display: block;
    margin-bottom: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.social-icon:hover {
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.vertical-divider {
    width: 1px;
    background: linear-gradient(to bottom, #bbb 0%, #eee 100%);
    height: 380px;
    margin: 0 32px;
    align-self: center;
    opacity: 0.7;
}

.photo-gallery-flex {
    flex: 1 1 0;
    min-width: 0;
}

/* 淋巴癌橫幅 */
.lymphoma-banner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 32px auto;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.lymphoma-banner img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.lymphoma-article {
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding: 0 16px;
}

.lymphoma-article h1 {
    color: #666;
    margin-bottom: 18px;
    font-size: 2.2rem;
}

.lymphoma-gallery {
    display: flex;
    gap: 24px;
    margin: 28px 0 32px 0;
    justify-content: center;
}
.lymphoma-gallery img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #eee;
}
.lymphoma-gallery img:hover {
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

/* 放大圖片浮起效果 */
.zoom-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s;
}
.zoom-modal-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: transparent;
    cursor: pointer;
}
#zoom-img {
    position: relative;
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    background: #fff;
    z-index: 2;
    animation: zoomIn 0.2s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes slideDown {
    from { 
        opacity: 0; 
        transform: translateY(-10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* 肥肥相集主區塊 */
.album-main-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    min-height: 480px;
    gap: 32px;
}

.album-sidebar {
    flex: 0 0 220px;
    min-width: 180px;
    max-width: 260px;
    background: #f3f3f3;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 24px 16px 16px 16px;
    position: relative;
    z-index: 2;
    height: fit-content;
}
.sidebar-toggle {
    width: 100%;
    background: #e0e0e0;
    color: #333;
    font-family: 'Comic Neue', Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    margin-bottom: 12px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s;
}
.sidebar-toggle:hover {
    background: #cccccc;
}
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(.4,2,.6,1), opacity 0.3s;
    opacity: 0;
}
.sidebar-menu.open {
    max-height: 400px;
    opacity: 1;
}
.sidebar-menu li {
    margin: 12px 0;
}
.sidebar-menu a {
    color: #333;
    font-size: 18px;
    font-family: 'Comic Neue', Arial, sans-serif;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    display: block;
    transition: background 0.2s, color 0.2s;
}
.sidebar-menu a:hover {
    background: #e0e0e0;
    color: #222;
}

.album-gallery {
    flex: 1 1 0;
    display: flex;
    flex-wrap: wrap;
    gap: 28px 20px;
    justify-content: flex-start;
    align-items: flex-start;
    min-width: 0;
}
.album-gallery .photo-frame {
    margin: 0;
}

/* 放大鏡按鈕 */
.zoom-btn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(0,0,0,0.45);
    border: none;
    border-radius: 50%;
    padding: 6px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}
.photo-frame { position: relative; }
.zoom-btn:hover {
    background: #222;
    transform: scale(1.12);
}

/* 放大modal */
.album-zoom-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.2s;
}
.album-zoom-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: transparent;
    cursor: pointer;
}
.album-zoom-content {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 32px;
    z-index: 2;
    max-width: 90vw;
    max-height: 80vh;
}
#album-zoom-img {
    max-width: 50vw;
    max-height: 70vh;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.25);
    background: #fff;
    display: block;
}
.album-zoom-desc {
    color: #fff;
    font-size: 1.4rem;
    font-family: 'Comic Neue', Arial, sans-serif;
    max-width: 320px;
    line-height: 1.7;
    text-shadow: 1px 2px 8px rgba(0,0,0,0.25);
    background: rgba(0,0,0,0.25);
    border-radius: 12px;
    padding: 24px 18px;
    margin-left: 8px;
    animation: fadeIn 0.3s;
}
@media (max-width: 900px) {
    .album-zoom-content {
        flex-direction: column;
        gap: 16px;
        max-width: 96vw;
    }
    #album-zoom-img {
        max-width: 90vw;
        max-height: 40vh;
    }
    .album-zoom-desc {
        font-size: 1.1rem;
        max-width: 90vw;
        padding: 14px 10px;
    }
}

@media (max-width: 900px) {
    /* 手機版摺疊式目錄 */
    .menu-nav {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw;
        z-index: 1000;
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 9999;
    }
    
    .menu-left {
        gap: 15px;
        position: relative;
    }
    
    .menu-items-row {
        display: none;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
        background: rgba(255,255,255,0.95);
        border-radius: 12px;
        padding: 12px;
        margin-top: 10px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.1);
        animation: slideDown 0.3s ease;
        z-index: 9999;
        position: relative;
    }
    
    .menu-items-row.show {
        display: flex;
    }
    
    .menu-item {
        padding: 8px 12px;
        font-size: 16px;
        min-width: auto;
        flex: 0 0 auto;
    }
    
    .menu-icon {
        font-size: 18px;
        margin-right: 6px;
    }
    
    .menu-text {
        font-size: 14px;
    }
    
    .menu-center-icon img {
        width: 48px;
        height: 48px;
    }
    
    .menu-right {
        display: none;
    }
    
    /* 手機版顯示控制 */
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
    
    /* 手機版：welcome-text和date-weather顯示在左邊icon下方 */
    .menu-left .welcome-text {
        font-size: 0.9rem;
        line-height: 1.3;
        text-align: center;
        margin-top: 8px;
    }
    
    .menu-left .date-weather {
        font-size: 0.75rem;
        line-height: 1.2;
        text-align: center;
        margin-top: 4px;
    }
    
    /* 首頁相片集手機版 */
    .photo-container { 
        gap: 12px 8px; 
        justify-content: center;
    }
    
    .photo-frame { 
        width: calc(50vw - 20px) !important; 
        max-width: 280px; 
        height: auto !important; 
    }
    
    .photo-frame img {
        max-width: 100%;
        max-height: 200px;
    }
    
    /* 關於我們頁面手機版 */
    .about-container {
        flex-direction: column;
        gap: 25px;
        padding: 0 16px;
    }
    
    .about-slideshow {
        width: 100%;
        max-width: 350px;
        height: 250px;
        margin: 0 auto;
    }
    
    .about-text {
        padding: 20px;
    }
    
    .about-text h1 {
        font-size: 2rem;
    }
    
    .about-text h2 {
        font-size: 1.3rem;
    }
    
    /* 影片容器手機版 */
    .video-container {
        height: 200px;
    }
    
    .video-overlay {
        padding: 15px 20px;
    }
    
    .video-overlay h2 {
        font-size: 1.5rem;
    }
    
    .video-overlay p {
        font-size: 0.9rem;
    }

    /* 主內容區手機版 */
    .main-content-flex {
        flex-direction: column;
        padding: 0 16px;
        min-height: unset;
        gap: 20px;
    }
    
    .social-sidebar {
        flex-direction: row;
        flex: none;
        width: 100%;
        justify-content: center;
        gap: 24px;
        padding-top: 15px;
        margin-bottom: 15px;
    }
    
    .social-icon {
        transform: scale(0.9);
    }
    
    .vertical-divider {
        width: 80vw;
        height: 1px;
        margin: 15px auto;
        background: linear-gradient(to right, #bbb 0%, #eee 100%);
        align-self: stretch;
    }
    
    .photo-gallery-flex {
        width: 100%;
    }
    
    /* 淋巴癌頁面手機版 */
    .lymphoma-banner img {
        height: 100px;
    }
    
    .lymphoma-article {
        padding: 0 16px;
    }
    
    .lymphoma-article h1 {
        font-size: 1.8rem;
    }
    
    .lymphoma-gallery {
        gap: 8px;
        justify-content: center;
    }
    
    .lymphoma-gallery img {
        width: 70px;
        height: 70px;
    }
    
    /* 肥肥相集頁面手機版 */
    .album-main-flex {
        flex-direction: column;
        padding: 0 16px;
        gap: 15px;
    }
    
    .album-sidebar {
        width: 100%;
        max-width: unset;
        min-width: unset;
        margin-bottom: 8px;
        padding: 12px 8px 8px 8px;
    }
    
    .sidebar-toggle {
        font-size: 16px;
        padding: 6px 0;
    }
    
    .sidebar-menu a {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    .album-gallery {
        gap: 10px 6px;
        justify-content: center;
    }
    
    /* 肥肥相集手機版相框尺寸 */
    .album-gallery .frame-1 { width: 250px; height: 160px; }
    .album-gallery .frame-2 { width: 280px; height: 180px; }
    .album-gallery .frame-3 { width: 260px; height: 220px; }
    .album-gallery .frame-4 { width: 240px; height: 180px; }
    .album-gallery .frame-5 { width: 270px; height: 230px; }
    .album-gallery .frame-6 { width: 290px; height: 190px; }
}

@media (max-width: 900px) {
    /* 首頁內容區塊自動高度 */
    .content-area {
        height: auto !important;
        min-height: 0 !important;
        padding-bottom: 0 !important;
    }
    .video-container {
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16/9;
        max-height: 220px;
    }
    /* 相集主區塊自動高度 */
    .album-main-flex {
        min-height: 0 !important;
        height: auto !important;
        gap: 10px !important;
    }
    .album-gallery {
        min-height: 0 !important;
        height: auto !important;
        margin-top: 0 !important;
    }
    /* 相集選單按鈕置中 */
    .sidebar-toggle {
        display: block;
        margin: 0 auto 10px auto !important;
        text-align: center !important;
        float: none !important;
    }
    .album-sidebar {
        text-align: center;
    }
}

/* 更小螢幕的額外優化 */
@media (max-width: 480px) {
    .menu-item {
        padding: 6px 8px;
        font-size: 14px;
    }
    
    .menu-text {
        font-size: 12px;
    }
    
    .menu-icon {
        font-size: 16px;
        margin-right: 4px;
    }
    
    .photo-frame { 
        width: calc(100vw - 32px) !important; 
        max-width: 250px; 
    }
    
    .album-gallery .frame-1,
    .album-gallery .frame-2,
    .album-gallery .frame-3,
    .album-gallery .frame-4,
    .album-gallery .frame-5,
    .album-gallery .frame-6 {
        width: calc(100vw - 32px);
        height: auto;
        max-width: 280px;
    }
} 

.album-gallery .photo-frame img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}
.album-gallery .photo-frame.frame-1 img {
    object-position: center center;
}

/* 肥肥相集頁面的相框尺寸 */
.album-gallery .frame-1 { width: 300px; height: 200px; }
.album-gallery .frame-2 { width: 400px; height: 250px; }
.album-gallery .frame-3 { width: 350px; height: 300px; }
.album-gallery .frame-4 { width: 280px; height: 220px; }
.album-gallery .frame-5 { width: 320px; height: 280px; }
.album-gallery .frame-6 { width: 360px; height: 240px; }

 

/* 取消肥肥相集相片 hover blur 效果 */
.album-gallery .photo-frame:hover img {
    filter: none;
    /* 保留原有的 brightness 或 transform 效果可根據需要加回 */
} 

.menu-center-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    margin-top: 0;
}
.menu-center-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    background: #fff;
}

/* 手機版漢堡按鈕 */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    background: rgba(128,128,128,0.9);
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    min-width: 44px;
    min-height: 44px;
}

.mobile-menu-toggle:hover {
    background: rgba(100,100,100,1);
    transform: scale(1.05);
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 3px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* 漢堡按鈕動畫效果 */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
} 

@media (max-width: 900px) {
    /* 讓相集主區塊不再flex，避免flex影響置中 */
    .album-main-flex {
        display: block !important;
        min-height: 0 !important;
        height: auto !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 8px !important;
    }
    .album-sidebar {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
        background: none !important;
    }
    .sidebar-toggle {
        display: block !important;
        margin: 16px auto 8px auto !important;
        float: none !important;
        text-align: center !important;
        width: fit-content !important;
        min-width: 120px;
        max-width: 90vw;
    }
    .sidebar-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        background: none !important;
        box-shadow: none !important;
        border: none !important;
    }
    .album-gallery {
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }
} 

/* 淋巴癌頁面主flex */
.lymphoma-main-flex {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 8px;
}
.lymphoma-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-right: 24px;
  min-width: 70px;
  align-items: flex-end;
}
.lymphoma-tab-btn {
  background: #fff;
  color: #666;
  border: none;
  border-radius: 24px 0 0 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 12px 22px 12px 18px;
  min-width: 70px;
  max-width: 180px;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(.4,1.3,.5,1), background 0.2s;
  transform: translateX(-32px);
  opacity: 0.85;
  text-align: left;
  position: relative;
}
.lymphoma-tab-btn:hover,
.lymphoma-tab-btn.active {
  background: #f7e6ff;
  color: #7c2bbf;
  box-shadow: 0 4px 16px rgba(124,43,191,0.10);
  transform: translateX(0);
  opacity: 1;
  z-index: 2;
}
.lymphoma-tab-btn:active {
  background: #e6d6f7;
}
.lymphoma-article {
  flex: 1;
  background: #fffff8;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  padding: 32px 28px 28px 28px;
  min-width: 0;
  min-height: 320px;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .lymphoma-main-flex {
    flex-direction: column;
    padding: 0 2vw;
  }
  .lymphoma-sidebar {
    flex-direction: row;
    align-items: flex-start;
    margin: 0 0 18px 0;
    gap: 10px;
    min-width: 0;
    justify-content: center;
  }
  .lymphoma-tab-btn {
    border-radius: 18px;
    min-width: 60px;
    max-width: 120px;
    font-size: 0.98rem;
    padding: 10px 12px;
    transform: translateY(-18px);
    margin-bottom: 0;
    margin-right: 0;
    text-align: center;
  }
  .lymphoma-tab-btn:hover,
  .lymphoma-tab-btn.active {
    transform: translateY(0);
  }
  .lymphoma-article {
    padding: 18px 8px 18px 8px;
    margin-bottom: 18px;
  }
} 

@media (max-width: 900px) {
    .menu-nav {
        gap: 0;
        padding: 0 0;
    }
    .menu-left {
        gap: 0;
    }
    .menu-items-row {
        margin-top: 0;
        padding: 0;
    }
} 

@media (max-width: 900px) {
    .menu-items-row {
        display: none !important;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        width: 100vw;
        margin: 0 auto;
        z-index: 2000;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.10);
        text-align: center;
        justify-content: center;
        background: rgba(255,255,255,0.95);
    }
    .menu-items-row.show {
        display: flex !important;
    }
}

/* Footer 樣式 */
.footer {
    background: #E0E0E0;
    padding: 40px 20px 20px 20px;
    margin-top: 60px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.footer-logo-text {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-sitemap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 8px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #333;
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ccc;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 30px 15px 15px 15px;
        margin-top: 40px;
    }
    
    .footer-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo img {
        width: 40px;
        height: 40px;
    }
    
    .footer-logo-text {
        font-size: 1.1rem;
    }
    
    .footer-sitemap {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        flex-wrap: wrap;
    }
    .footer-section {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 4px;
        text-align: center;
    }
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    .footer-section a {
        font-size: 0.9rem;
    }
    .footer-copyright {
        font-size: 0.85rem;
        padding-top: 15px;
    }
} 

/* 首頁相片集自適應圖片大小（覆蓋原有設定） */
.photo-gallery .photo-frame {
    width: fit-content !important;
    height: fit-content !important;
    max-width: 100%;
    max-height: 100%;
    display: inline-block;
}
.photo-gallery .photo-frame img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
    display: block;
}
@media (max-width: 900px) {
    .photo-gallery .photo-frame {
        width: fit-content !important;
        height: fit-content !important;
        max-width: 100vw !important;
        max-height: 100vw !important;
    }
    .photo-gallery .photo-frame img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
    }
} 