/* ===== Page Banner ===== */
.page-banner {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.page-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../../images/vist_gunagzhou/cityguide/bg.jpg");
}

.page-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.page-banner-bg::after {
    content: '';
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.55);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.page-banner-content h1 {
    font-size: 48px;
    line-height: 1.1;
    margin: 0;
}

.page-banner-content h1 em {
    display: block;
    font-style: italic;
    font-weight: normal;
    color: #333;
}

.page-banner-content h1 strong {
    display: block;
    font-weight: bold;
    color: #0073dd;
}

/* ===== City Guide 7 Columns ===== */
.cityguide-grid-7 {
    display: flex;
    flex-wrap: wrap;
    gap: 26px;
    justify-content: center;
}

.cityguide-grid-7 .cityguide-card {
    flex: 0 0 270px;
}

.cityguide-card {
    width: 270px;
    height: 306px;
    position: relative;
    overflow: hidden;
    border-radius: 0 15px 0 15px;
    cursor: pointer;
}

.cityguide-card img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    transition: transform 0.5s;
}

.cityguide-card:hover img {
    transform: scale(1.05);
}

.cityguide-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
    padding: 12px 0;
}

.cityguide-label.accommodation {
    background: rgba(0, 115, 221, 0.5);
}

.cityguide-label.transportation {
    background: rgba(63, 115, 3, 0.5);
}

.cityguide-label.food {
    background: rgba(164, 92, 21, 0.5);
}

.cityguide-label.event {
    background: rgba(219, 45, 192, 0.5);
}

.cityguide-label.culture {
    background: rgba(21, 22, 19, 0.5);
}

.cityguide-label.sports {
    background: rgba(34, 139, 34, 0.5);
}

.cityguide-label.others {
    background: rgba(220, 53, 69, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .page-banner {
        height: 220px;
    }

    .page-banner-bg {
        background-image: url('../../images/vist_gunagzhou/cityguide/cityguide-banner2.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .page-banner-bg img {
        display: none;
    }

    .page-banner-content h1 {
        font-size: 36px;
    }

    .cityguide-grid-7 {
        gap: 15px;
    }

    .cityguide-grid-7 .cityguide-card {
        flex: 0 0 calc(50% - 7.5px);
    }

    .cityguide-card {
        height: 200px;
    }

    .cityguide-label {
        width: 100%;
        font-size: 16px;
        padding: 8px 0;
    }

}

@media (max-width: 480px) {
    .page-banner {
        height: 180px;
    }

    .page-banner-content h1 {
        font-size: 28px;
    }

    .cityguide-card {
        height: 160px;
    }

    .cityguide-label {
        width: 100%;
        font-size: 13px;
        padding: 6px 0;
    }

}

/* ===== Dynamic Loading States ===== */
.empty-state,
.loading-spinner,
.no-more {
    display: none;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-text {
    font-size: 16px;
    color: #999;
}

.loading-spinner {
    text-align: center;
    padding: 40px 20px;
}

.spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0073dd;
    border-radius: 50%;
    animation: spinner-rotate 1s linear infinite;
}

@keyframes spinner-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-more {
    text-align: center;
    padding: 32px 20px;
    color: #999;
    font-size: 14px;
}

.load-more {
    text-align: center;
    padding: 40px 20px;
}

.loading-spinner.active,
.no-more.active,
.empty-state.active {
    display: block;
}
