/* =====================================================
   ACG Web — responsive/index.css
   响应式布局适配
   ===================================================== */

/* ---------- 移动端 (≤ 899px) ---------- */
@media (max-width: 899px) {
    /* 页首 */
    .page-head {
        height: 240px;
    }
    .page-head > .title,
    .page-head > .typed-cursor {
        font-size: 24px;
    }
    .page-head-wave svg {
        height: 48px;
    }

    /* 主体容器 */
    .primary-container {
        flex-direction: column;
        width: 94%;
        margin-top: 4px;
    }

    /* 左侧区域 */
    .primary-container > .left-area {
        max-width: unset;
        width: 100%;
        margin-right: 0;
        position: relative;
        top: 0;
        max-height: unset;
        overflow-y: visible;
    }

    /* 右侧区域 */
    .primary-container > .right-area {
        max-width: unset;
        width: 100%;
    }

    /* 内容版块 */
    .primary-container > .right-area > .content-page {
        padding: 20px 20px 40px 20px;
    }
    .primary-container > .right-area > .content-page::before {
        width: 220px;
        height: 280px;
    }

    /* Construction Grid → 单列 */
    .construction-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    /* 图片最大宽度 */
    img {
        max-width: 100%;
    }

    /* 个人信息卡头像缩小 */
    .primary-container > .left-area > .cards > .card-item#personal-info > .avatar {
        width: 80px;
        height: 80px;
    }

    /* 社交图标 */
    .primary-container > .left-area > .cards > .card-item#personal-info > .social-icons a {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* ---------- 平板 (900px – 1199px) ---------- */
@media (min-width: 900px) and (max-width: 1199px) {
    .primary-container {
        width: 92%;
    }
    .primary-container > .left-area {
        max-width: 280px;
        width: 30%;
    }
    .primary-container > .right-area > .content-page {
        padding: 24px 36px 48px 36px;
    }
}

/* ---------- 大屏 (≥ 1440px) ---------- */
@media (min-width: 1440px) {
    .primary-container {
        width: 78%;
    }
    .page-head {
        height: 380px;
    }
    .page-head > .title,
    .page-head > .typed-cursor {
        font-size: 38px;
    }
}
