/* ========== 活动详情页 ========== */

/* Hero */
.av-hero {
    position: relative;
    height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.av-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.av-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 16, 9, 0.5) 0%, rgba(12, 16, 9, 0.35) 50%, rgba(12, 16, 9, 0.7) 100%);
    pointer-events: none;
}

.av-hero-text {
    position: relative;
    z-index: 2;
    padding: 0 40px;
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}

.av-hero-title {
    font-family: 'Ma Shan Zheng', 'Noto Sans SC', serif;
    font-size: 48px;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.av-hero-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.av-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 13px;
    letter-spacing: 1px;
}

.av-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.av-hero-meta svg {
    width: 15px;
    height: 15px;
    color: var(--lime);
}

.av-type-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    letter-spacing: 1px;
}

/* 通用 section */
.av-section {
    padding: 80px 0;
}

.av-inner {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
}

.av-block {
    margin-bottom: 56px;
}

.av-block:last-child {
    margin-bottom: 0;
}

.av-block-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--text);
    letter-spacing: 1px;
    margin: 6px 0 18px;
    line-height: 1.3;
}

.av-block-desc {
    font-size: 14.5px;
    line-height: 2;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

/* 流程时间线 */
.av-schedule {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.av-schedule li {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.av-schedule li:last-child {
    border-bottom: none;
}

.av-time {
    font-family: 'Ma Shan Zheng', 'Noto Sans SC', serif;
    font-size: 24px;
    color: var(--lime-deep);
    letter-spacing: 1px;
    line-height: 1.2;
}

.av-schedule-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.av-schedule-body p {
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* 亮点图集 */
.av-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 14px;
}

.av-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s;
}

.av-gallery img:hover {
    transform: scale(1.03);
}

.av-gallery img:nth-child(1) {
    grid-row: 1 / span 2;
}

.av-gallery img:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

/* 侧边报名卡 */
.av-side {
    position: sticky;
    top: 88px;
}

.av-side-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 24px;
}

.av-side-card h3 {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: 1px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.av-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
}

.av-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.av-info-list span {
    color: var(--text-muted);
    letter-spacing: 1px;
}

.av-info-list strong {
    color: var(--text);
    font-weight: 600;
}

.av-signup {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
}

.av-signup-note {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: center;
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .av-hero {
        height: 340px;
    }

    .av-hero-title {
        font-size: 40px;
    }

    .av-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .av-side {
        position: static;
    }
}

@media (max-width: 768px) {
    .av-hero {
        height: 260px;
    }

    .av-hero-title {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .av-hero-meta {
        gap: 12px;
        font-size: 12px;
    }

    .av-section {
        padding: 56px 0;
    }

    .av-block {
        margin-bottom: 44px;
    }

    .av-block-title {
        font-size: 22px;
    }

    .av-schedule li {
        grid-template-columns: 70px 1fr;
        gap: 16px;
    }

    .av-time {
        font-size: 20px;
    }

    .av-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 12px;
    }

    .av-gallery img {
        height: 220px;
    }

    .av-gallery img:nth-child(1) {
        grid-row: auto;
    }

    .av-gallery img:nth-child(3) {
        grid-column: auto;
        grid-row: auto;
    }
}
