/* ========================================
   蓝狮问道 - 补充样式
   B站官方授权广告代理商
   ======================================== */

/* --- 导航增强 --- */
.header.scrolled,
header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

/* --- 返回顶部 --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: #00a1d6;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 44px;
  font-size: 22px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 161, 214, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #008fc2;
  transform: translateY(-3px);
}

/* --- 面包屑导航 --- */
.breadcrumb {
  padding: 16px 0;
  font-size: 14px;
  color: #666;
  background: #f9f9f9;
  border-bottom: 1px solid #eee;
}
.breadcrumb a {
  color: #333;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: #00a1d6;
}
.breadcrumb span {
  margin: 0 8px;
  color: #ccc;
}

/* --- SEO 友好的 hidden 标题 --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- 内页内容区 --- */
.page-content {
  min-height: 400px;
  padding: 40px 0;
  line-height: 1.8;
  color: #333;
}
.page-content img {
  max-width: 100%;
  height: auto;
}
.page-content h2 {
  font-size: 28px;
  margin: 40px 0 20px;
  color: #222;
}
.page-content h3 {
  font-size: 22px;
  margin: 30px 0 15px;
  color: #333;
}
.page-content p {
  margin-bottom: 16px;
}
.page-content ul,
.page-content ol {
  margin: 0 0 20px 20px;
}
.page-content ul li,
.page-content ol li {
  margin-bottom: 8px;
}

/* --- 内页Banner --- */
.inner-banner {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inner-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.inner-banner .banner-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}
.inner-banner .banner-text h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
}
.inner-banner .banner-text p {
  font-size: 16px;
  opacity: 0.9;
}

/* --- 联系信息卡片 --- */
.contact-card {
  background: #f8f8f8;
  padding: 30px;
  border-radius: 8px;
  margin: 30px 0;
}
.contact-card h4 {
  color: #00a1d6;
  margin-bottom: 15px;
}

/* --- 404 页面 --- */
.page-404 {
  text-align: center;
  padding: 100px 20px;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page-404 h1 {
  font-size: 120px;
  color: #00a1d6;
  line-height: 1;
  margin-bottom: 10px;
  font-weight: 900;
}
.page-404 h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 20px;
}
.page-404 p {
  color: #666;
  margin-bottom: 30px;
  max-width: 500px;
}
.page-404 .btn-home {
  display: inline-block;
  padding: 12px 36px;
  background: #00a1d6;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s;
}
.page-404 .btn-home:hover {
  background: #008fc2;
}

/* --- 导航右侧按钮水平排列 --- */
.nav-btn ul.tr-nav {
  padding: 0;
  margin: 0;
  font-size: 0;
}
.nav-btn ul.tr-nav li {
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
}
.nav-btn ul.tr-nav li + li {
  margin-left: 10px;
}
.nav-btn .regis-btn {
  display: inline-block;
  line-height: 34px;
  height: 34px;
  border-radius: 17px;
  color: #fff !important;
  text-decoration: none;
  white-space: nowrap;
}

/* --- Header 右区域 float 容器 --- */
.header-right {
  overflow: hidden;
}

/* --- Footer 改为正常文档流（不再 fixed 锁死） --- */
.footer {
  position: relative !important;
  z-index: 1;
}

/* --- "关于我们"模块背景溢出裁剪 + article 底部自然衔接 --- */
.cooper {
  overflow: hidden;
}
article {
  margin-bottom: 0 !important;
}

/* --- 内页排版优化：紧凑间距 + 左对齐 --- */
/* 减少内容区模块上下padding */
.apps-intro {
  padding-top: 3% !important;
  padding-bottom: 3.5% !important;
}
.profile-con {
  padding-top: 3% !important;
  padding-bottom: 3% !important;
}
/* 推广优势模块 */
.agent-advantage, .blog-sec {
  padding-top: 3% !important;
  padding-bottom: 3% !important;
}
/* 投放案例模块 */
.dap-case {
  padding-top: 3% !important;
  padding-bottom: 3% !important;
}
/* 段落行间距优化 — 去掉 br 后给 h3/p 合适间距 */
.profile-txt .txt {
  line-height: 1.8;
  text-align: left;
}
.profile-txt .txt p {
  text-indent: 2em;
  margin-bottom: 0.6em;
}
.profile-txt .txt h3 {
  margin-top: 1.4em;
  margin-bottom: 0.4em;
}
/* 主标题保持居中即可 */
.main-tit {
  text-align: center;
}
/* 链接/按钮区域间距收窄 */
.message {
  padding-top: 2% !important;
  padding-bottom: 2% !important;
}

/* --- 响应式补充 --- */
@media (max-width: 768px) {
  .inner-banner {
    height: 200px;
  }
  .inner-banner .banner-text h1 {
    font-size: 24px;
  }
  .page-content {
    padding: 24px 0;
  }
  .page-content h2 {
    font-size: 22px;
  }
  .page-404 h1 {
    font-size: 80px;
  }
}
