/* ========== About 页面基础布局 ========== */
.about-page {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: "Helvetica Neue", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ===== Hero / Banner ===== */
/* ===== Hero / Banner ===== */
.hero-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #1e1e1e; /* 可以改成背景颜色或背景图 */
    color: #fff;
    text-align: center;
    border-radius: 8px;
}

.hero-banner .hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.hero-banner .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.hero-banner .hero-media {
    margin-top: 30px;
}

.hero-banner .hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===== 我们的使命 Mission ===== */
.our-mission {
    padding: 40px 15px;
    max-width: 1140px;
    margin: 0 auto;
}

.our-mission h2 {
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
    color: #E64A19;
}

.mission-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.mission-column {
    flex: 1 1 45%;
    min-width: 250px;
}

.mission-column ul {
    list-style-type: disc;
    padding-left: 20px;
    color: #555;
}

.mission-column li {
    margin-bottom: 12px;
    line-height: 1.6;
}


/* ===== 我们的愿景 Vision ===== */
/* 统一容器样式 */
.vision-item,
.vision-item.large,
.vision-item.small {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;  /* 强制同一比例，图片永不乱 */
  overflow: hidden;
  border-radius: 10px;
}

/* 图片统一裁剪，不变形 */
.vision-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  display: block;
}

/* 大图占更大宽度（高度仍保持比例） */
.vision-item.large {
  flex: 2 1 60%;
}

/* 小图保持正常宽度（高度与大图一致） */
.vision-item.small {
  flex: 1 1 auto;
}

/* 文字悬浮层 */
.vision-text {
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 12px;
  border-radius: 6px;
  backdrop-filter: blur(3px);
}

.vision-text h3 {
  font-size: 18px;
  margin: 0 0 5px;
  font-weight: 600;
}

.vision-text p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* 行布局 */
.vision-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
}

.vision-item-column {
  flex: 1 1 35%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vision-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* 链接覆盖整个容器 */
.vision-item .vision-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  text-decoration: none;
}


/* h2 居中样式 */
.our-vision h2 {
    text-align: center;
    font-size: 28px;        /* 标题大小 */
    font-weight: 700;       /* 加粗 */
    margin-bottom: 10px;    /* 下方间距 */
    color: #E64A19;            /* 可根据网站主题调整颜色 */
}

/* 段落 p 样式 */
.our-vision > p {
    text-align: center;     /* 居中 */
    font-size: 16px;        /* 字体大小 */
    line-height: 1.6;       /* 行高，便于阅读 */
    margin: 0 auto 30px;    /* 上下间距，下方30px */
    max-width: 800px;       /* 限制段落最大宽度，便于排版 */
    color: #555;            /* 段落颜色 */
}














/* ===== 核心内容 Core Content ===== */
/* ===== 核心内容 Core Content ===== */
.core-content {
    padding: 50px 20px;
    /* 背景保持默认，不设置颜色 */
}

.core-content h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.core-content > p {
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto 40px;
    max-width: 800px;
    color: #555;
}

/* 内容网格 */
.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;  /* 居中排列卡片 */
}

/* 卡片样式 */
.content-card {
    background-color: #fff;  /* 卡片保持白色 */
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 20px;
    flex: 1 1 280px;  /* 每张卡片最小宽度280px */
    max-width: 320px; /* 最大宽度限制 */
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 卡片悬浮效果 */
.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.content-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #E64A19;
}

.content-card p {
    font-size: 14px;
    color: #555;
    margin: 0;
}

/* 卡片列表 ul 样式 */
.content-card ul {
    list-style: disc inside;
    margin: 10px 0 0;
    padding-left: 15px;
}

.content-card ul li {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* ===== 合作伙伴 & 联盟 LOGO ===== */
/* ===== Affiliate Partners Section ===== */
.affiliate-partners {
    padding: 50px 20px;
    text-align: center; /* 标题和段落居中 */
    max-width: 1140px;  /* 限制最大宽度 */
    margin: 0 auto;     /* 居中对齐 */
}

.affiliate-partners h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #E64A19;
}

.affiliate-partners .affiliate-intro {
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #555;
}

/* Logo 容器 */
.affiliate-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px; /* Logo 间距 */
    margin-bottom: 30px;
}

/* 每个 Logo 块 */
.affiliate-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
    text-align: center;
}

/* Logo 图片 */
.affiliate-logo img {
    width: 120px;  /* 根据实际 Logo 调整大小 */
    height: auto;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

/* 鼠标悬停 Logo 动画 */
.affiliate-logo img:hover {
    transform: scale(1.05);
}

/* Logo 下方文字说明 */
.affiliate-logo p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* 免责声明 */
.affiliate-partners .affiliate-disclaimer {
    font-size: 14px; /* 20px 改成 14px 更合适 */
    color: #999;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
}




/* ===== 团队 Team ===== */
/* ===== Team Section ===== */
.team {
    padding: 50px 20px;
    text-align: center;
    max-width: 1140px;
    margin: 0 auto;
}

.team h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #E64A19;
}

/* 网格：一行显示 4 个 */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* 四个均匀分布 */
    gap: 20px;
}

/* 每个团队成员卡片 */
.team-member {
    flex: 0 0 calc(25% - 15px); /* 四列布局，减去间距 */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

/* 头像 */
.team-member img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* 圆形头像 */
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.team-member img:hover {
    transform: scale(1.05);
}

/* 姓名 */
.team-member h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 5px 0;
    color: #222;
}

/* 职位 */
.team-member p:first-of-type {
    font-size: 14px;
    color: #E64A19;
    margin: 3px 0 8px;
}

/* 简短介绍 */
.team-member p:last-of-type {
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    margin: 0;
}


/* ===== 客户评价 Testimonials ===== */
/* ===== Testimonials Section ===== */
.testimonials {
    padding: 50px 20px;
    max-width: 1140px;
    margin: 0 auto;
    text-align: center;
}

.testimonials h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #E64A19;
}

/* Slider 容器 */
.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* 每条评价卡片 */
.testimonial {
    flex: 0 0 calc(50% - 10px); /* 一行两列 */
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

/* 鼠标悬停微动画 */
.testimonial:hover {
    transform: translateY(-5px);
}

/* 头像 */
.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* 评价文字，超过3行截断显示省略号 */
.testimonial {
    display: -webkit-box;      /* 老旧 WebKit 支持 */
    display: -moz-box;         /* Firefox 老版本 */
    display: -ms-flexbox;      /* IE 10 */
    display: -webkit-flex;     /* Safari 6.1+ */
    display: flex;             /* 标准属性 */

    -webkit-flex-direction: column; /* Safari、Chrome */
    -ms-flex-direction: column;     /* IE 10 */
    flex-direction: column;         /* 标准属性 */
}

/* 用户信息 */
.testimonial span {
    font-size: 13px;
    color: #E64A19;
    font-weight: 500;
}

/* ===== CTA / 联系我们 ===== */
.cta-contact {
    text-align: center;
    margin: 60px 0;
}

.cta-contact h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletter-form input[type="email"] {
    padding: 12px 18px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    min-width: 250px;
}

.newsletter-form button {
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    background-color: #E64A19;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background-color: #ff7043;
}

/* 订阅区保持居中和原有样式 */
/* 使整体保持居中，与原样式一致 */
.cta-contact {
    text-align: center;
    margin: 60px 0;
}

.cta-contact h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

/* 让表单横向排列并保持 gap，与原 newsletter-form 一致 */
.tnp.tnp-subscription form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* 输入框样式与旧 newsletter-form 一致 */
.tnp-subscription .tnp-field-email input.tnp-email {
    padding: 12px 18px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    min-width: 250px;
    width: auto;
}

/* 隐藏 label，因为你旧样式没有 label */
.tnp-field-email label {
    display: none !important;
}

/* 隐私条款 checkbox 排成一行 */
.tnp-privacy-field {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 原按钮样式：橘色背景 */
.tnp-submit {
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    background-color: #E64A19 !important;
    color: #fff !important;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tnp-submit:hover {
    background-color: #ff7043 !important;
}

.tnp-submit:active {
    background-color: #d84315 !important;
}

/* 取消 Newsletter 的默认 block 与左对齐 */
.tnp-field-button {
    text-align: center !important;
    width: auto !important;
}

/* 让每个 field 行为 inline-block，更像你原来的样式 */
.tnp-subscription .tnp-field {
    margin: 0 !important;
}

/* 隐藏默认 padding，让布局更像你旧的表单 */
.tnp-subscription {
    padding: 0 !important;
}


/* ===== Responsive ===== */
/* ===== CTA / Newsletter 响应式 ===== */

/* 手机屏幕以下 */
@media (max-width: 768px) {
    /* 整个订阅区宽度自适应 */
    .cta-contact, 
    .newsletter-subscribe {
        padding: 0 15px;
        margin: 40px 0;
    }

    /* 表单垂直排列 */
    .tnp.tnp-subscription form,
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    /* 输入框和按钮占满全宽 */
    .tnp-subscription .tnp-field-email input.tnp-email,
    .newsletter-form input[type="email"],
    .tnp-submit,
    .newsletter-form button {
        width: 100%;
        box-sizing: border-box;
    }

    /* 隐私条款 checkbox 调整为竖向或紧凑显示 */
    .tnp-privacy-field {
        flex-direction: column;
        align-items: flex-start;
        font-size: 0.9rem;
    }

    /* 按钮字体稍微放大以便触控 */
    .tnp-submit,
    .newsletter-form button {
        font-size: 1rem;
        padding: 12px;
    }
}

/* 平板及大屏设备 */
@media (min-width: 769px) and (max-width: 1024px) {
    .tnp.tnp-subscription form,
    .newsletter-form {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    /* 输入框和按钮自适应宽度，保持最小宽度 */
    .tnp-subscription .tnp-field-email input.tnp-email,
    .newsletter-form input[type="email"],
    .tnp-submit,
    .newsletter-form button {
        flex: 1 1 250px;
        min-width: 250px;
    }

    .tnp-privacy-field {
        font-size: 0.9rem;
        flex: 1 1 100%;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }
}

/* 大屏幕 */
@media (min-width: 1025px) {
    .tnp.tnp-subscription form,
    .newsletter-form {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 10px;
        align-items: center;
    }

    .tnp-subscription .tnp-field-email input.tnp-email,
    .newsletter-form input[type="email"] {
        flex: 1 1 auto;
        min-width: 250px;
    }

    .tnp-privacy-field {
        flex: 0 0 auto;
        margin-left: 10px;
    }

    .tnp-submit,
    .newsletter-form button {
        flex: 0 0 auto;
    }
}
