/* 加拿大综合移民项目页面样式 */

/* ===== 重置和基础样式 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    background: #0a1628;
    min-height: 100vh;
}

/* ===== 通用内容卡片样式 ===== */
.content-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.content-cards::after {
    content: '';
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 50%;
    width: 1px;
    background: rgba(0, 0, 0, 0.1);
    transform: translateX(-50%);
}

.content-card {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.content-card .card-title {
    font-size: 28px;
    color: #000000;
    font-weight: bold;
    line-height: 1.4;
}

/* ===== 通用要求列表样式 ===== */
.requirement-section {
    margin-bottom: 20px;
    min-height: 180px;
}

.requirement-button,
.suitable-people-button {
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
    background: #a3134b;
    padding: 2px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    margin-top: 15px;
}

.requirement-list {
    list-style: none;
    padding: 0;
}

.requirement-list li {
    font-size: 16px;
    color: #333;
    padding: 5px 0;
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}

.requirement-list li::before {
    content: '•';
    color: #000000;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 16px;
}

/* ===== 通用核心要求样式 ===== */
.core-requirement {
    padding: 12px 0;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
    min-height: 60px;
    font-weight: bold;
}

/* ===== 通用适合人群样式 ===== */
.suitable-people-section {
    margin-top: 20px;
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.people-grid .person-item {
    text-align: center;
}

.people-grid .person-img {
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 8px;
    width: 100px;
    height: 100px;
}

.people-grid .person-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.people-grid .person-item span {
    font-size: 12px;
    color: #333;
    line-height: 1.3;
}

/* ===== 通用流程卡片样式 ===== */
.process-flow-card {
    background: transparent;
    border-radius: 15px;
    box-shadow: none;
}

.process-flow-card {
    margin: 20px auto;
    max-width: 90%;
}

.process-flow-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* ===== 加拿大版块样式 ===== */
.canada-section {
    position: relative;
    background-color: #043060;
}

/* 背景容器 - 使用 min-height 允许内容自适应高度 */
.canada-bg-overlay {
    position: relative;
    width: 100%;
    min-height: calc(100% * (3080 / 3840));  /* 原始比例 3080:3840 ≈ 0.8 */
    background-image: url('/v2/img/event_comprehensive/bg-canada.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.canada-container {
    position: relative;
    width: 100%;
    min-height: calc(100% * (3080 / 3840));
}

/* 内容布局 - Flexbox 纵向排列三层结构 */
.canada-content-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    padding: 35px 100px 0 140px;  /* 上 右 下 左 */
    box-sizing: border-box;
}

/* 第一层：顶部图片介绍 */
.canada-part-top {
    position: relative;
    width: 100%;
    flex-shrink: 0;  /* 不被压缩 */
    padding-bottom: 15px;
}

.canada-part-top .canada-part-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px 20px 0 0;
}

/* 浮于图片之上的文字内容 */
.canada-top-text {
    position: absolute;
    top: 20px;
    left: 55%;
    width: 40%;
    text-align: left;
    z-index: 10;
}

.canada-top-text h1 {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.canada-top-text .en-title {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
    letter-spacing: 4px;
}

.canada-top-desc {
    margin-top: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    text-align: left;
}

/* 第二层：内容卡片区域 - 自动扩展填充空间 */
.canada-content-section {
    width: 100%;
    flex: 1;
}

/* 第三层：底部流程图片 */
.canada-process-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* ===== 澳大利亚版块样式 ===== */
.australia-section {
    position: relative;
    background-color: #0a3d7a;
}

.australia-bg-overlay {
    position: relative;
    width: 100%;
    min-height: calc(100% * (3080 / 3840));
    background-image: url('/v2/img/event_comprehensive/bg-australia.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.australia-container {
    position: relative;
    width: 100%;
    min-height: calc(100% * (3080 / 3840));
}

.australia-content-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    padding: 35px 100px 0 140px;
    box-sizing: border-box;
}

/* 第一层：顶部图片介绍 */
.australia-part-top {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    padding-bottom: 15px;
}

.australia-part-top .australia-part-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px 20px 0 0;
}

.australia-top-text {
    position: absolute;
    top: 20px;
    left: 55%;
    width: 40%;
    text-align: left;
    z-index: 10;
}

.australia-top-text h1 {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.australia-top-text .en-title {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
    letter-spacing: 4px;
}

.australia-top-text .top-desc {
    margin-top: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    text-align: left;
}

/* 第二层：内容卡片区域 */
.australia-content-section {
    width: 100%;
    flex: 1;
}

/* 第三层：底部流程图片 */
.australia-process-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* ===== 澳大利亚板块专属样式 ===== */
/* 基础要求和适合人群标题背景色 */
.australia-section .requirement-section h4,
.australia-section .suitable-people-section h4 {
    background: #683F66;
}

/* 要求列表双列显示 */
.australia-section .requirement-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 15px;
}

.australia-section .requirement-list li {
    padding-left: 15px;
}

/* ===== 新西兰版块样式 ===== */
.newzealand-section {
    position: relative;
    background-color: #043060;
}

.newzealand-bg-overlay {
    position: relative;
    width: 100%;
    background-image: url('/v2/img/event_comprehensive/bg-newzealand.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.newzealand-container {
    position: relative;
    width: 100%;
}

.newzealand-content-wrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100%;
    padding: 35px 100px 200px 140px;
    box-sizing: border-box;
}

/* 第一层：顶部图片介绍 */
.newzealand-part-top {
    position: relative;
    width: 100%;
    flex-shrink: 0;
    padding-bottom: 15px;
}

.newzealand-part-top .newzealand-part-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.newzealand-top-text {
    position: absolute;
    top: 20px;
    left: 55%;
    width: 40%;
    text-align: left;
    z-index: 10;
}

.newzealand-top-text h1 {
    font-size: 36px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.newzealand-top-text .en-title {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
    letter-spacing: 4px;
}

.newzealand-top-text .top-desc {
    margin-top: 5px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    text-align: left;
}

/* 白色背景容器 - 包裹顶部图片和内容区域 */
.newzealand-white-bg {
    position: relative;
    width: 100%;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
}

/* 第二层：内容层 - 向上偏移 165px 并与顶部图片重叠 */
.newzealand-content-section {
    width: 100%;
    margin-top: -200px;
    position: relative;
    z-index: 10;
    background: transparent;
    border-radius: 0 0 15px 15px;
    padding: 40px 50px 30px 50px;
}

/* ===== 新西兰板块专属样式 ===== */
.newzealand-section .content-card.full-width {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

/* 标题样式 */
.newzealand-section .content-card h2 {
    font-size: 24px;
    color: #000000;
    margin-bottom: 30px;
}

/* 基础要求和适合人群标签 - 绿色实心背景 */
.newzealand-section .nz-requirement .requirement-button,
.newzealand-section .nz-suitable .suitable-people-button {
    font-size: 14px;
    color: #ffffff;
    font-weight: bold;
    background: #008f5d;
    padding: 6px 20px;
    border-radius: 20px;
    display: inline-block;
}

/* 适合人群中标题的 margin */
.newzealand-section .nz-suitable .suitable-people-button {
    margin-bottom: 15px;
}

/* 左侧区域：上下布局（req-body + core-requirement） */
.newzealand-section .nz-requirement {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 基础要求内部：标签和列表左右布局 */
.newzealand-section .nz-requirement .req-body {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.newzealand-section .nz-requirement .req-body .requirement-button {
    flex-shrink: 0;
    margin-top: 5px;
}

.newzealand-section .nz-requirement .req-body .requirement-list {
    flex: 1;
}

/* 核心要求样式 - 无横线 */
.newzealand-section .nz-core-requirement {
    margin-top: 10px;
    padding-top: 0;
    border-top: none;
}

.newzealand-section .nz-core-requirement p {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    text-align: left;
    font-weight: 500;
}

/* 适合人群样式 */

.nz-content-body {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    margin-top: 35px;
}

.nz-suitable {
    margin-left: 60px;
    min-width: 350px;
}

.nz-people-grid {
    display: flex;
    gap: 20px;
}

.nz-people-grid .person-item {
    text-align: center;
}

.nz-people-grid .person-img {
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 10px;
    width: 70px;
    height: 70px;
}

.nz-people-grid .person-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nz-people-grid .person-item span {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

/* 适合人群图片样式 */

/* 第三层：进度内容层 */
.newzealand-process-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 10px;
}

/* ===== 响应式适配 ===== */
@media (min-width: 1200px) and (max-width: 1599px) {
    /* 减小左右内边距，释放更多横向空间 */
    .canada-content-wrap,
    .australia-content-wrap,
    .newzealand-content-wrap {
        padding: 30px 60px 0 100px;
    }

    .newzealand-content-wrap {
        padding-bottom: 150px;
    }

    .newzealand-content-section {
        padding: 35px 40px 25px 40px;
        border-radius: 0 0 15px 15px;
    }

    /* 缩小主标题字号 */
    .canada-top-text h1,
    .australia-top-text h1,
    .newzealand-top-text h1 {
        font-size: 30px;
    }

    /* 副标题稍微缩小 */
    .canada-top-text .en-title,
    .australia-top-text .en-title,
    .newzealand-top-text .en-title {
        font-size: 16px;
    }

    /* 描述文字稍微缩小 */
    .canada-top-desc,
    .australia-top-text .top-desc,
    .newzealand-top-text .top-desc {
        font-size: 13px;
    }

    /* 内容卡片间距减小 */
    .content-cards {
        gap: 20px;
        padding: 25px;
    }

    /* 流程卡片间距减小 */
    .canada-process-section,
    .australia-process-section {
        gap: 40px;
    }

    /* 适合人群网格间距减小 */
    .people-grid {
        gap: 10px;
    }

    /* 适合人群图片尺寸调整 */
    .people-grid .person-img {
        width: 80px;
        height: 80px;
    }

    /* 适合人群区域最小高度调整 */
    .suitable-people-section {
        min-height: 120px;
    }

    /* 卡片内标题字号调整 */
    .content-card .card-title {
        font-size: 22px;
    }

    /* 要求标题字号调整 */
    .requirement-button,
    .suitable-people-button {
        font-size: 16px;
    }

    /* 要求列表和核心要求字号 */
    .requirement-list li,
    .core-requirement {
        font-size: 14px;
    }

    /* 要求列表区域最小高度 */
    .requirement-section {
        min-height: 180px;
    }

    /* 新西兰板块专属样式调整 */
    .newzealand-section .content-card.full-width {
        padding: 30px 40px;
    }

    .newzealand-section .content-card h2 {
        font-size: 20px;
    }
}

@media (max-width: 1200px) {
    .content-cards {
        grid-template-columns: 1fr;
    }

    .canada-process-section,
    .australia-process-section {
        grid-template-columns: 1fr;
    }

    .canada-top-text,
    .australia-top-text,
    .newzealand-top-text {
        right: 30px;
    }

    .canada-top-text h1,
    .australia-top-text h1,
    .newzealand-top-text h1 {
        font-size: 32px;
    }

    .canada-content-wrap,
    .australia-content-wrap,
    .newzealand-content-wrap {
        padding: 35px 50px 0 80px;
    }

    .newzealand-content-wrap {
        padding-bottom: 150px;
    }

    .newzealand-content-section {
        padding: 30px 35px 20px 35px;
        border-radius: 0 0 15px 15px;
    }
}

@media (max-width: 768px) {
    .canada-content-wrap,
    .australia-content-wrap,
    .newzealand-content-wrap {
        padding: 20px 20px 0 20px;
    }

    .newzealand-content-wrap {
        padding-bottom: 100px;
    }

    .newzealand-content-section {
        padding: 30px 20px 20px 20px;
        border-radius: 0 0 10px 10px;
    }

    .content-card {
        padding: 20px;
    }

    .content-card .card-title {
        font-size: 18px;
    }

    .requirement-button,
    .suitable-people-button {
        font-size: 14px;
    }

    .requirement-list li,
    .core-requirement {
        font-size: 14px;
    }

    .people-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 适合人群图片尺寸调整 */
    .people-grid .person-img {
        width: 60px;
        height: 60px;
    }

    .nz-people-grid {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nz-content-body {
        flex-direction: column;
    }

    .nz-suitable {
        margin-left: 0;
        margin-top: 30px;
    }

    /* 新西兰基础要求改为上下布局 */
    .newzealand-section .nz-requirement .req-body {
        flex-direction: column;
        gap: 10px;
    }

    .newzealand-section .nz-requirement .req-body h4 {
        margin-top: 0;
    }

    .canada-top-text h1,
    .australia-top-text h1,
    .newzealand-top-text h1 {
        font-size: 24px;
    }

    .canada-top-text .en-title,
    .australia-top-text .en-title,
    .newzealand-top-text .en-title {
        font-size: 14px;
    }

    .canada-top-desc,
    .australia-top-text .top-desc,
    .newzealand-top-text .top-desc {
        font-size: 12px;
    }
}

/* ===== 加拿大版本板块样式 ===== */
.can-version-section {
    position: relative;
    background: #0a1628;
}

.can-bg-overlay {
    position: relative;
    width: 100%;
    background-image: url('/v2/img/event_comprehensive/can-bg.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.can-container {
    position: relative;
    width: 100%;
}

.can-content-wrap {
    padding: 0 100px;
}

/* 顶部文字 */
.can-top-text {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 30px;
}

.can-top-text h1 {
    font-size: 36px;
    color: #ffffff;
    font-weight: bold;
    margin-bottom: 10px;
}

.can-top-text .en-title {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
}

/* 雷达图居中 */
.can-radar-wrap {
    display: flex;
    justify-content: center;
    padding: 50px 0 50px 0;
}

.can-radar-img {
    width: 100%;
    height: auto;
    padding: 0px 100px 0px 100px;
}
