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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    background-color: #f4f4f4;
}

.container {    
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    background-color: #f4f4f4;
}

/* Hero Section */
.hero {
    position: relative;
}

.hero img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* Main Content */
.main-content {
    padding: 6rem 0;
}

.content-grid {
    display: grid;

}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

/* Event Card */
.event-card {
    background: white;
    overflow: hidden;
}

/* Event Item (统一样式) */
.events-list.signup-btn {
    text-decoration: none;
}

.event-item {
    background: #fff;
    overflow: hidden;
    min-height: 200px;
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    margin: 0;
    box-sizing: border-box;
    padding: 70px 55px;
    gap: 25px;
}

.event-image {
    position: relative;
    max-width: 845px;
    height: 470px;
}

.event-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    max-width: 500px;
}

.event-title {
    font-size: 22px;
    font-weight: normal;
    margin-bottom: 20px;
    color: #333;
}

.event-details {
    margin-bottom: 20px;
}

.event-detail {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

.event-buttons {
    display: flex;
    gap: 10px;
}

.event-image img {
    width: 100%;
    height: 100%;

}

.event-status {
    position: absolute;
    top: 0px;
    left: 25px;
    background: url(/images/status.png) 100% 100% no-repeat;
    width: 90px;
    height: 90px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.event-content {
    padding: 25px;
    display: flex;
    justify-content: space-between;

}

.event-info {
    flex: 1;
}

.event-title {
    font-size: 22px;
    font-weight: normal;
}

.event-date {
    font-size: 16px;
}

/* Login Card */
.login-card {
    background: white;
    padding: 57px 40px 25px 40px;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: none;
    font-size: 20px;
    outline: none;
    border-bottom: 1px solid #dfdfdf;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.forgot-password {
    text-align: right;
    margin-bottom: 1rem;
}

.forgot-password a {
    color: #000;
    text-decoration: none;
    font-size: 22px;
}

.forgot-password a:hover {
    text-decoration: underline;
}

.button-group {
    margin-top: 110px;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
}

.btn {
    padding: 15px 65px;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none !important;
}

.btn-primary {
    background-color: #ff0000;
    color: white;
}

.btn-primary:hover {
    background-color: #b91c1c;
}

.btn-secondary {
    background-color: #c8c8c8;
    color: white;
    border: none;
}

.btn-secondary:hover {
    background-color: #b8b8b8;
}

/* About Section */
.about-section {
    padding-top: 160px;
    padding-bottom: 200px;
    background-color: #fff;
}

.about-title {
    font-size: 40px;
    text-align: center;
    margin-bottom: 2rem;
}

.about-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    color: #374151;
    font-size: 18px;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 90px;
}

.about-images img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

/* Background Section */
.bg-section {
    height: 400px;
    position: relative;
    box-sizing: border-box;
    padding-top: 75px;
}

.bg-text {
    color: white;
    font-size: 30px;
    z-index: 1;
    line-height: 1.4;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .content-grid {
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 24px;
        font-weight: bold;
    }
    
    .event-title {
        font-size: 20px;
        font-weight: normal;
    }
    
    .about-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero img {
        height: 400px;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 22px;
        font-weight: bold;
        margin-bottom: 1rem;
    }
    
    /* Events List 移动端适配 */
    .event-item {
        flex-direction: column;
        padding: 40px 30px;
        gap: 20px;
        margin: 0;
    }
    
    .event-image {
        max-width: 100%;
        height: 300px;
    }

    .event-status {
        width: 60px !important;
        height: 60px !important;
        font-size: 14px !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    
    .event-content {
        max-width: 100%;
        padding: 0;
    }
    
    .event-title {
        font-size: 18px;
        font-weight: normal;
    }
    
    .event-detail {
        font-size: 14px;
    }
    
    /* event-details 左对齐，不受居中影响 */
    .event-details {
        text-align: left;
    }
    
    /* 立即报名按钮居中 */
    .event-buttons {
        text-align: center;
    }
    
    /* about-section 移动端样式调整 */
    .about-section {
        margin-top: 0;
        padding-top: 50px;
        gap: 1rem;
        text-align: center;
    }
    
    .event-title {
        font-size: 18px;
        font-weight: normal;
    }
    
    .event-date {
        font-size: 14px;
    }
    
    .login-card {
        padding: 40px 30px 20px 30px;
    }
    
    .form-label {
        font-size: 20px;
        font-weight: normal;
    }
    
    .form-input {
        font-size: 18px;
    }
    
    .forgot-password a {
        font-size: 18px;
    }
    
    .button-group {
        margin-top: 120px;
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn {
        padding: 12px 40px;
        font-size: 18px;
        width: 100%;
    }
    
    .about-section {
        margin-top: 100px;
        padding-bottom: 100px;
    }
    
    .about-title {
        font-size: 30px;
        margin-bottom: 1.5rem;
    }
    
    .about-content {
        font-size: 16px;
        padding: 0 1rem;
    }
    
    .about-images {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 60px;
    }
    
    .about-images img {
        max-height: 300px;
    }
    
    .bg-section {
        height: 300px;
        padding-top: 50px;
    }
    
    .bg-text {
        font-size: 18px;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero img {
        height: 300px;
    }
    
    .main-content {
        padding: 1.5rem 0;
    }
    
    .section-title {
        font-size: 20px;
        font-weight: bold;
    }
    
    /* Events List 小屏幕适配 */
    .event-item {
        padding: 30px 20px;
        gap: 15px;
    }
    
    .event-image {
        height: 250px;
    }
    
    
    .event-content {
        padding: 0;
    }
    
    .event-title {
        font-size: 16px;
        font-weight: normal;
    }
    
    .event-detail {
        font-size: 13px;
    }
    
    /* event-details 左对齐，不受居中影响 */
    .event-details {
        text-align: left;
    }
    
    /* 立即报名按钮居中 */
    .event-buttons {
        text-align: center;
    }
    
    /* about-section 小屏幕样式调整 */
    .about-section {
        margin-top: 0;
        padding-top: 50px;
    }
    
    .event-date {
        font-size: 13px;
    }
    
    .login-card {
        padding: 30px 20px 15px 20px;
    }
    
    .form-label {
        font-size: 18px;
        font-weight: normal;
    }
    
    .form-input {
        font-size: 16px;
    }
    
    .forgot-password a {
        font-size: 16px;
    }
    
    .button-group {
        margin-top: 80px;
    }
    
    .btn {
        padding: 10px 30px;
        font-size: 16px;
    }
    
    .about-section {
        padding-bottom: 80px;
    }
    
    .about-title {
        font-size: 24px;
    }
    
    .about-content {
        font-size: 14px;
    }
    
    .about-images {
        margin-top: 40px;
    }
    
    .about-images img {
        max-height: 250px;
    }
    
    .bg-section {
        height: 250px;
        padding-top: 40px;
    }
    
    .bg-text {
        font-size: 16px;
        line-height: 1.3;
    }
}

/* Hero slider (from 928 themes) minimal styles */
/* Swiper hero */
.hero-swiper-container { position: relative; height: 600px;}
.hero-swiper-container .swiper-slide { background-size: cover; background-position: center; }
.hero-swiper-container .swiper-pagination-bullet { background-color: #fff; opacity: 1; width: 60px;margin-right: 10px !important;height: 5px;}
.hero-swiper-container .swiper-pagination-bullet-active { background-color: #ff0302; width: 60px;height: 5px; }

@media (max-width: 768px) {
    .hero-swiper-container { height: 360px; }
}
@media (max-width: 480px) {
    .hero-swiper-container { height: 300px; }
}
