/* ========== 公共基础样式 ========= */
.cmcc-broadband,
.cmcc-broadband-notice-rounded,
.cmcc-notice-with-icon {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  box-sizing: border-box;
  word-wrap: break-word;
}

.cmcc-broadband {
  max-width: 100%;
  margin: 20px auto;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  color: #333;
  border: 1px solid #e0e0e0;
}

@media (max-width: 768px) {
  .cmcc-broadband {
    /* padding 和 margin 可按需启用 */
  }
}

.cmcc-broadband h2 {
  color: #0066B3;
  font-size: 24px;
  margin: 0 0 16px;
  font-weight: 700;
  border-bottom: 2px solid #0078D7;
  padding-bottom: 8px;
}

.cmcc-broadband h3 {
  color: #0066B3;
  font-size: 20px;
  margin: 28px 0 14px;
  font-weight: 600;
}

.cmcc-broadband p {
  margin-bottom: 12px;
  font-size: 16px;
}

.cmcc-broadband .highlight {
  background-color: #E6F0FA;
  padding: 2px 6px;
  border-radius: 4px;
  color: #0066B3;
  font-weight: 600;
}

.cmcc-broadband .btn {
  display: inline-block;
  background-color: #0078D7;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 32px;
  font-weight: 600;
  font-size: 16px;
  margin: 16px 0;
  transition: all 0.2s ease;
  border: 2px solid #0078D7;
  cursor: pointer;
}

.cmcc-broadband .btn:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
}

/* ========== 表格样式 ========= */
.cmcc-broadband table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

.cmcc-broadband th,
.cmcc-broadband td {
  padding: 12px 10px;
  text-align: center;
  border: 1px solid #ddd;
}

.cmcc-broadband th {
  background-color: #E6F0FA;
  font-weight: 600;
  color: #0066B3;
}

.cmcc-broadband tr:nth-child(even) {
  background-color: #f9fbfd;
}

@media (max-width: 600px) {
  .cmcc-broadband table,
  .cmcc-broadband thead,
  .cmcc-broadband tbody,
  .cmcc-broadband th,
  .cmcc-broadband td,
  .cmcc-broadband tr {
    display: block;
  }

  .cmcc-broadband thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .cmcc-broadband tr {
    margin-bottom: 16px;
    padding: 12px;
    background: #f5f9ff;
    border-radius: 8px;
    border: 1px solid #e0ecf8;
  }

  .cmcc-broadband td {
    text-align: right;
    padding-left: 50%;
    position: relative;
    border: none;
  }

  .cmcc-broadband td::before {
    content: attr(data-label) ": ";
    position: absolute;
    left: 10px;
    width: 45%;
    font-weight: 600;
    text-align: left;
    color: #0066B3;
  }
}

/* ========== FAQ ========= */
.faq-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  color: #0066B3;
  padding-right: 24px;
  position: relative;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 20px;
  color: #0078D7;
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 0 0 24px;
  font-size: 15px;
  color: #555;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 12px 0 16px 24px;
}

/* ========== 场景卡片 ========= */
.scenario-card {
  background: #f5f9ff;
  padding: 16px;
  border-radius: 12px;
  margin: 12px 0;
  border-left: 4px solid #0078D7;
}

.scenario-title {
  font-weight: 600;
  color: #0066B3;
  margin-bottom: 6px;
}

/* ========== 优势列表 ========= */
.advantage-section {
  margin: 16px 0;
}

.advantage-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
  gap: 10px;
}

.advantage-marker {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  background: #0078D7;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 3px;
}

/* ========== 通知组件 ========= */

/* 通用通知容器（无图标） */
.cmcc-broadband-notice-rounded {
  width: 100%;
  padding: 12px 16px;
  background-color: #f5f9ff;
  color: #333333;
  font-size: 16px;
  border: 1px solid #cce5ff;
  border-radius: 8px;
}

.cmcc-broadband-notice-rounded a {
  color: #0078D7;
  text-decoration: none;
  font-weight: 600;
}

.cmcc-broadband-notice-rounded a:hover {
  text-decoration: underline;
}

/* 带图标的公告 */
.cmcc-notice-with-icon {
  width: 100%;
  background-color: #E6F0FA;
  color: #003366;
  font-size: 15px;
  border-radius: 8px;
  padding: 16px;
}

.cmcc-notice-with-icon .notice-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.cmcc-notice-with-icon .notice-icon {
  font-size: 20px;
  line-height: 1.2;
  flex-shrink: 0;
}

.cmcc-notice-with-icon .notice-text {
  flex: 1;
}

.cmcc-notice-with-icon .announcement-title {
  font-weight: bold;
  font-size: 17px;
  color: #0066B3;
  margin-bottom: 6px;
}

.cmcc-notice-with-icon a {
  color: #0078D7;
  text-decoration: none;
  font-weight: bold;
}

.cmcc-notice-with-icon a:hover {
  text-decoration: underline;
}

.cmcc-notice-with-icon .notice-signature {
  text-align: right;
  font-size: 14px;
  color: #555;
  margin-top: 10px;
}
    .cmcc-local-data-plans {
      width: 100%;
      overflow-x: hidden;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      color: #333;
      margin: 20px 0;
    }

    .cmcc-local-data-plans h2 {
      font-size: 20px;
      color: #0066B3;
      text-align: center;
      margin: 0 0 16px;
      font-weight: 700;
      line-height: 1.4;
    }

    .cmcc-local-data-plans .intro-text {
      text-align: center;
      font-size: 14px;
      color: #666;
      margin-bottom: 16px;
      line-height: 1.5;
    }

    .cmcc-local-data-plans table {
      width: 100%;
      border-collapse: collapse;
      font-size: 15px;
      table-layout: fixed;
    }

    .cmcc-local-data-plans th,
    .cmcc-local-data-plans td {
      padding: 12px 8px;
      text-align: center;
      border: 1px solid #ddd;
      word-wrap: break-word;
      line-height: 1.4;
    }

    .cmcc-local-data-plans th {
      background-color: #f8f9fa;
      font-weight: 600;
      color: #0066B3;
    }

    .cmcc-local-data-plans .price {
      font-weight: bold;
      color: #0066B3;
    }

    .cmcc-local-data-plans .data {
      color: #0078D7;
      font-weight: 600;
    }

    /* “点我查看”默认样式（PC端） */
    .cmcc-local-data-plans .detail-link {
      display: inline-block;
      color: #0078D7;
      text-decoration: none;
      font-size: 12px; /* PC端字体大小 */
      padding: 4px 10px;
      border: 1px solid #0078D7;
      border-radius: 0;
      background: transparent;
      transition: background-color 0.2s;
    }

    .cmcc-local-data-plans .detail-link:hover {
      background-color: #f0f7ff;
    }

    /* 手机端：字体更小，内边距紧凑 */
    @media (max-width: 600px) {
      .cmcc-local-data-plans h2 {
        font-size: 18px;
      }
      .cmcc-local-data-plans table {
        font-size: 14px;
      }
      .cmcc-local-data-plans th,
      .cmcc-local-data-plans td {
        padding: 10px 6px;
      }
      .cmcc-local-data-plans .detail-link {
        font-size: 10px; /* 手机端更小 */
        padding: 2px 6px;
      }
    }
/* 仅对宽带模块应用border-box，避免影响全局布局 */
.cm-broadband-section,
.cm-broadband-section * {
  box-sizing: border-box;
}

.cm-broadband-section {
  width: 100%;
  max-width: 1440px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: 'Segoe UI', system-ui, sans-serif;
}

.cm-broadband-section h2 {
  text-align: center;
  font-size: 28px;
  color: #1976d2;
  margin-bottom: 32px;
  font-weight: 600;
  line-height: 1.3;
}

/* 宽带套餐容器 */
.cm-plans-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-bottom: 30px;
}

.cm-plan-card {
  background: white;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #eef2f7;
  transition: all 0.3s ease;
  width: calc(33.333% - 21.33px); /* 精确计算宽度，考虑gap */
  max-width: 440px;
  min-width: 300px;
}
.cm-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(25, 118, 210, 0.2);
  border-color: #bbdefb;
}

/* 文本溢出处理 */
.cm-speed,
.cm-price,
.cm-desc,
.cm-gift {
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.cm-speed {
  font-size: 24px;
  font-weight: 700;
  color: #1976d2;
  margin-bottom: 14px;
}
.cm-price {
  font-size: 22px;
  color: #e53935;
  font-weight: bold;
  margin-bottom: 12px;
  line-height: 1.4;
}
.cm-desc {
  font-size: 16px;
  color: #666;
  margin-bottom: 16px;
  line-height: 1.5;
}
.cm-gift {
  font-size: 16px;
  color: #2e7d32;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cm-gift::before {
  content: "🎁";
  font-size: 18px;
}

/* 按钮样式 */
.cm-unified-btn-container {
  text-align: center;
  margin-top: 25px;
}

.cm-btn-detail {
  display: inline-block;
  background: linear-gradient(135deg, #1976d2, #1565c0);
  color: white;
  text-align: center;
  padding: 12px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  max-width: 280px;
  border: 2px solid transparent;
  box-sizing: border-box;
}
.cm-btn-detail:hover {
  background: white;
  color: #1976d2 !important;
  border-color: #1976d2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.25);
}

/* 温馨提示 */
.cm-notice {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-top: 30px;
  padding: 15px 0;
  border-top: 1px solid #eef2f7;
  line-height: 1.6;
}

/* 平板设备适配 (769px - 1024px) */
@media (max-width: 1024px) {
  .cm-plan-card {
    width: calc(50% - 16px);
    min-width: auto;
  }
}

/* 手机设备适配 (小于768px) */
@media (max-width: 768px) {
  .cm-broadband-section {
    padding: 0 15px;
    margin: 28px auto;
  }
  
  .cm-plans-container {
    gap: 20px;
  }
  
  /* 单列显示 */
  .cm-plan-card {
    width: 100%;
    max-width: none;
    padding: 22px 18px;
  }
  
  .cm-broadband-section h2 {
    font-size: 22px;
    margin-bottom: 24px;
  }
  
  .cm-speed {
    font-size: 20px;
  }
  
  .cm-price {
    font-size: 18px;
  }
  
  .cm-desc, .cm-gift {
    font-size: 14px;
  }
  
  .cm-btn-detail {
    width: 100%;
    max-width: 100%;
    padding: 12px 0;
  }
  
  .cm-notice {
    font-size: 13px;
    padding: 12px 5px;
    margin-top: 20px;
  }
}

/* 超小屏适配 (小于480px) */
@media (max-width: 480px) {
  .cm-broadband-section {
    padding: 0 0px;
  }
  
  .cm-plan-card {
    padding: 18px 12px;
    border-radius: 14px;
  }
  
  .cm-speed {
    font-size: 18px;
  }
  
  .cm-price {
    font-size: 16px;
  }
  
  .cm-desc {
    font-size: 13px;
  }
  
  .cm-gift {
    font-size: 13px;
    margin-bottom: 15px;
  }
  
  .cm-btn-detail {
    padding: 10px 0;
    font-size: 14px;
  }
  
  .cm-notice {
    font-size: 12px;
    padding: 10px 2px;
  }
}
/* 基础容器 */
.responsive-notice-box {
  background: #f9fafa;
  border-radius: 16px;
  padding: 28px;
  margin: 16px auto;
  max-width: 100%;
  border: 1px solid #eef0f4;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #333;
}

/* 标题行 */
.box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap; /* 允许标题换行 */
}

.alert-icon { font-size: 1.8em; }
.alert-title { 
  margin: 0; 
  font-size: 20px; 
  font-weight: 700; 
  color: #1a1a1a;
}

/* 正文 */
.content-text {
  line-height: 1.8;
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.tel-link {
  color: #1677ff;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid rgba(22, 119, 255, 0.2);
  padding-bottom: 2px;
  border-radius: 2px;
}

.tel-link:hover {
  border-color: #1677ff;
  background-color: #f0f6ff;
}

/* 城市网格布局 */
.city-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

/* 城市按钮样式 */
.city-item {
  flex: 1 1 calc(33.33% - 12px); /* 核心代码：在一行中占据约三分之一减去间隙 */
  min-width: 80px;
  padding: 10px 0;
  text-align: center;
  background: #ffffff;
  color: #333;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.city-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  border-color: #4096ff;
  background-color: #f5f7ff;
}

/* 底部签名 */
.box-footer {
  margin-top: 28px;
  text-align: right;
  color: #999;
  font-size: 12px;
  padding-top: 16px;
  border-top: 1px solid #eee;
}

/* 响应式调整：当屏幕较小时 */
@media (max-width: 480px) {
  .responsive-notice-box {
    padding: 20px;
    border-radius: 12px;
  }

  .box-header {
    gap: 8px;
  }

  .alert-title { font-size: 18px; }

  .content-text { font-size: 13px; }

  /* 确保在极小屏幕上也能保持弹性 */
  .city-item {
    flex: 1 1 calc(33.33% - 8px);
    padding: 8px 0;
    font-size: 13px;
    border-radius: 8px;
  }
}
.cmcc-broadband-service {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 128, 203, 0.1);
  padding: 28px;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #333;
  line-height: 1.6;
  box-sizing: border-box;
}
.cmcc-broadband-service .cmcc-header h2 {
  color: #0080CB;
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.cmcc-broadband-service .cmcc-header p {
  color: #666;
  font-size: 1rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #0080CB;
}
.cmcc-broadband-service .cmcc-section h3 {
  color: #0080CB;
  font-size: 1.25rem;
  margin: 20px 0 12px;
  display: flex;
  align-items: center;
}
.cmcc-broadband-service .cmcc-section h3::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 18px;
  background: #9CC813;
  border-radius: 3px;
  margin-right: 10px;
  flex-shrink: 0;
}
.cmcc-broadband-service .cmcc-section p {
  color: #666;
  font-size: 1rem;
  margin-left: 16px;
}
.cmcc-broadband-service .cmcc-tip {
  background-color: rgba(156, 200, 19, 0.1);
  border-left: 4px solid #9CC813;
  padding: 14px;
  border-radius: 0 8px 8px 0;
  margin: 24px 0;
  font-size: 0.95rem;
}
.cmcc-broadband-service .cmcc-footer {
  text-align: center;
  margin-top: 20px;
  color: #666;
  font-size: 0.9rem;
}
.cmcc-broadband-service a {
  color: #0080CB;
  text-decoration: none;
}
.cmcc-broadband-service a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .cmcc-broadband-service {
    padding: 20px 16px;
  }
  .cmcc-broadband-service .cmcc-header h2 {
    font-size: 1.4rem;
  }
  .cmcc-broadband-service .cmcc-section h3 {
    font-size: 1.15rem;
  }
  .cmcc-broadband-service .cmcc-section p {
    margin-left: 0;
  }
  .cmcc-broadband-service .cmcc-section h3::before {
    margin-right: 8px;
  }
}
        /* 仅作用于当前容器的样式 */
        .mobile-broadband-container {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            box-sizing: border-box;
        }

        .mobile-table {
            width: 100%;
            border-collapse: collapse;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            font-size: 16px;
            background-color: #ffffff;
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            overflow: hidden;
            margin: 0 auto;
        }

        .mobile-table thead th {
            background-color: #1976d2; /* 中国移动红 */
            color: white;
            padding: 14px 12px;
            text-align: center;
            border: 1px solid #ffffff;
        }

        .mobile-table tbody td {
            padding: 12px;
            text-align: center;
            border: 1px solid #ddd;
        }

        .mobile-table tbody tr:nth-child(even) {
            background-color: #f9f9f9;
        }

        .price-highlight {
            font-weight: bold;
            color: #d32f2f;
        }

        /* 响应式：移动端隐藏特定列 */
        @media (max-width: 600px) {
            .hide-mobile {
                display: none !important;
            }
            .mobile-table {
                font-size: 14px;
            }
            .mobile-table th, 
            .mobile-table td {
                padding: 10px 6px;
            }
        }