
/* ========== 二级菜单：移动端 dropdown，PC 保持横排 tab ========== */
.subnav-mobile {
    display: none;
}

.subnav-desktop {
    display: flex;
}

@media (max-width: 1023px) {
    .subnav-mobile {
        display: block;
    }

    .subnav-desktop {
        display: none;
    }
}

.subnav-dropdown {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.subnav-dropdown.is-open {
    max-height: 400px;
    opacity: 1;
}

.subnav-trigger .arrow {
    transition: transform 0.3s ease;
    transform: translateY(-50%);
    top: 50%;
}

.subnav-trigger[aria-expanded="true"] .arrow {
    transform: translateY(-50%) rotate(180deg);
}

/* ========== 引号水印：移动端缩小并收回卡片内（PC 原样） ========== */
@media (max-width: 1023px) {
    .quote-mark::before {
        left: -8px;
        top: -32px;
        font-size: 72px;
    }
}

/* ========== 公益拼图：移动端三组纵向平铺（禁轮播位移、隐藏箭头、标签常显），PC 保持轮播 ========== */
@media (max-width: 1023px) {
    #charity-slider-track {
        flex-direction: column;
        gap: 1.5rem;
        transform: none !important;
        transition: none;
    }

    #charity-prev,
    #charity-next {
        display: none;
    }

    #charity-slider-track .group>div[class*="bg-gradient-to-t"] {
        opacity: 1;
    }
}

.quote-mark::before {
    content: '“';
    position: absolute;
    top: -40px;
    left: -100px;
    font-size: 160px;
    font-family: 'Noto Serif SC', serif;
    color: rgba(198, 165, 96, 0.15);
    z-index: 0;
    line-height: 1;
}