* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --container-width: 1200px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #000;
    background:#fefefe;
}

select {
    width: 100%; 
    padding: 0.5rem; 
    border: 1px solid #ddd; 
    border-radius: 0.5rem; 
    font-size: 0.9rem; 
    background:url(/images/arrow.png) no-repeat right 0.5rem center / 1rem #fff;
    -webkit-appearance: none; /* 移除默认样式 */
    -moz-appearance: none;
    appearance: none;
    padding: 10px;
    position: relative;
}


/* Swiper Styles for Currently Showing */
.currently-showing-swiper {
    padding: 10px 40px 40px 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.currently-showing-swiper .swiper-wrapper {
    overflow: visible !important;
}

.currently-showing-swiper .swiper-slide {
    height: 490px;
    display: flex;
    align-items: stretch;
    flex-shrink: 0;
}

.currently-showing-swiper .swiper-button-next,
.currently-showing-swiper .swiper-button-prev {
    color: #000;
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s;
    z-index: 100;
    pointer-events: auto !important;
    cursor: pointer;
    position: absolute;
}

.currently-showing-swiper .swiper-button-next:hover,
.currently-showing-swiper .swiper-button-prev:hover {
    background: #3280fd;
    color: white;
}

.currently-showing-swiper .swiper-button-next::after,
.currently-showing-swiper .swiper-button-prev::after {
    font-size: 14px;
    font-weight: bold;
}

.currently-showing-swiper .swiper-button-next {
    right: calc((100% - var(--container-width)) / 2);
}

.currently-showing-swiper .swiper-button-prev {
    left: auto;
    right:  calc((100% - var(--container-width) + 100px) / 2);
}

/* Cookie Consent Banner */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 1.5rem 2rem;
    z-index: 10000;
    display: none;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

#cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-content {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-content a {
    color: #3280fd;
    text-decoration: underline;
    transition: color 0.3s;
}

.cookie-consent-content a:hover {
    color: #5a9fff;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-consent-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.cookie-consent-btn.accept {
    background-color: #3280fd;
    color: white;
}

.cookie-consent-btn.accept:hover {
    background-color: #136afc;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(50, 128, 253, 0.3);
}

.cookie-consent-btn.decline {
    background-color: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookie-consent-btn.decline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}


/* Responsive Styles */

/* Mobile Devices (max-width: 640px) */
@media (max-width: 640px) {
    .currently-showing-swiper {
        padding: 0 20px 20px 0;
    }

    .currently-showing-swiper .swiper-button-next,
    .currently-showing-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

    .currently-showing-swiper .swiper-button-next::after,
    .currently-showing-swiper .swiper-button-prev::after {
        font-size: 12px;
    }

    .currently-showing-swiper .swiper-button-next {
        right: 10px;
    }

    .currently-showing-swiper .swiper-button-prev {
        right: 50px;
    }

    #cookie-consent-banner {
        padding: 1rem;
    }

    .cookie-consent-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .cookie-consent-content {
        min-width: 100%;
    }

    .cookie-consent-content p {
        font-size: 0.85rem;
    }

    .cookie-consent-buttons {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cookie-consent-btn {
        flex: 1;
        min-width: 120px;
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Tablet Devices (641px - 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
    .currently-showing-swiper {
        padding: 0 30px 30px 0;
    }

    .currently-showing-swiper .swiper-button-next,
    .currently-showing-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .currently-showing-swiper .swiper-button-next,
    .currently-showing-swiper .swiper-button-prev {
        width: 38px;
        height: 38px;
        top: 16rem;
    }

    .currently-showing-swiper .swiper-button-next {
        right: 2rem;
    }

    .currently-showing-swiper .swiper-button-prev {
        right: 6rem;
    }

    #cookie-consent-banner {
        padding: 1.25rem 1.5rem;
    }

    .cookie-consent-container {
        gap: 1.5rem;
    }

    .cookie-consent-content p {
        font-size: 0.9rem;
    }
}

/* Small Mobile Devices (max-width: 480px) */
@media (max-width: 480px) {
    .currently-showing-swiper .swiper-slide {
        height: 350px;
    }

    select {
        font-size: 0.85rem;
        padding: 8px;
    }
}

/* iPad and Tablet specific styles (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .currently-showing-swiper .swiper-slide {
        height: 450px;
    }
    
    .currently-showing-swiper .swiper-button-next,
    .currently-showing-swiper .swiper-button-prev {
        width: 38px;
        height: 38px;
        top: 16rem;
    }

    .currently-showing-swiper .swiper-button-next {
        right: 2rem;
    }

    .currently-showing-swiper .swiper-button-prev {
        right: 6rem;
    }
}

/* Page Layout Styles */
.main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 2rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: #000;
}

.section-title-center {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #000;
}

.content-page {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #333;
}

.content-page h2 {
    font-size: 1.75rem;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.content-page h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #000;
}

.content-page p {
    margin-bottom: 1rem;
    color: #555;
}

.content-page ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.content-page li {
    margin-bottom: 0.5rem;
    color: #555;
}

.content-page a {
    color: #3280fd;
    text-decoration: underline;
    transition: color 0.3s;
}

.content-page a:hover {
    color: #136afc;
}

/* General responsive utilities */
@media (max-width: 640px) {
    .main {
        padding: 1rem 0;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .section {
        padding: 1rem 0;
    }
    
    .section-title,
    .section-title-center {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .content-page {
        padding: 0 1rem;
    }
    
    .content-page h2 {
        font-size: 1.5rem;
    }
    
    .content-page h3 {
        font-size: 1.25rem;
    }
}

/* Back to Top Button Responsive */
@media (max-width: 640px) {
    #backToTop {
        bottom: 1.5rem;
        right: 1.5rem;
        padding: 0.75rem;
    }
    
    #backToTop svg {
        width: 1.25rem;
        height: 1.25rem;
    }
}





