/* ============================================================
   idealpro.css — 全站通用轮播（Swiper）统一样式
   Swiper 核心 CSS 已内置在 styles.css 中（页面还从 CDN 引了一份），
   本文件只做两件事：
   1. 分页圆点绝对定位到 swiper 底部留白带（pb-14 / pb-[60px]）
   2. 圆点美化：未选中=灰色细圆环；选中=黑色圆环 + 中心实心点
   注意：页面专属圆点（parts 蓝点、adSwiper 白点、about-us 蓝点）
   在 styles.css 中以更高优先级 + !important 定义，本文件不动它们。
   ============================================================ */

/* 1. 分页器定位：绝对定位于 swiper 内部（覆盖手写脚本的 position:relative） */
.swiper > .swiper-pagination {
  position: absolute !important;
  left: 0;
  width: 100%;
  z-index: 20;
  pointer-events: auto;
}
/* 有底部留白带（Tailwind pb-* 类）的轮播：圆点距底 8px（Swiper 官方默认值） */
.swiper[class*="pb-"] > .swiper-pagination {
  bottom: 8px;
}
/* CDN 的 swiper-bundle.min.css 晚于 styles.css 加载，其官方 .swiper{padding:0}
   与 Tailwind .pb-10/.pb-12/.pb-14 同优先级、按源顺序胜出，留白带被清空，
   导致圆点压在图片上。这里以"类 + 属性选择器"（(0,2,0) > (0,1,0)）恢复留白。 */
.swiper[class*="pb-10"] {
  padding-bottom: 2.5rem;
}
.swiper[class*="pb-12"] {
  padding-bottom: 3rem;
}
.swiper[class*="pb-14"] {
  padding-bottom: 3.5rem;
}

/* 2. 圆点美化（参考设计：圆环 + 中心实心点）
   通用规则带 !important：页面同时从 CDN 加载 swiper 核心 CSS，
   其默认 8px 黑底圆点必须被覆盖；专属圆点样式选择器优先级更高，不受影响。 */
.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  box-sizing: border-box;
  margin: 0 6px !important;
  padding: 0;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  border-radius: 50%;
  background: transparent !important;
  border: 1.5px solid #a7adb5 !important;
  opacity: 1 !important;
  cursor: pointer;
  transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease,
    border-color 0.3s ease, background-color 0.3s ease;
}
.swiper-pagination-bullet:hover {
  border-color: #5b616a !important;
}
.swiper-pagination-bullet:focus-visible {
  outline: 2px solid #1475e8;
  outline-offset: 2px;
}
.swiper-pagination-bullet-active {
  width: 20px !important;
  height: 20px !important;
  margin: 0 4px !important;
  border: 2px solid #1a1a1a !important;
  background: transparent !important;
}
.swiper-pagination-bullet-active::after {
  content: "" !important;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: #1a1a1a !important;
}

/* 3. 页面专属实心圆点：不使用圆环/中心点样式（保留各自配色与尺寸） */
/* 3a. parts 零件轮播：蓝点 10px / 选中 14px（主样式在 styles.css） */
.parts-carousel-swiper .swiper-pagination-bullet::after,
/* 3b. adSwiper 头图轮播：白点 / 选中蓝点（主样式在 styles.css） */
.adSwiper .swiper-pagination-bullet::after,
/* 3c. about-us 等 Tailwind arbitrary 工具类容器：8px 浅蓝点 / 选中蓝点 */
[class*="swiper-pagination-bullet"]:not(.swiper-pagination-bullet):not(.swiper-pagination) .swiper-pagination-bullet::after {
  content: none !important;
}
.adSwiper .swiper-pagination-bullet,
[class*="swiper-pagination-bullet"]:not(.swiper-pagination-bullet):not(.swiper-pagination) .swiper-pagination-bullet {
  border: none !important;
}
/* adSwiper 选中点保持 10px 实心蓝，不放大成圆环 */
.adSwiper .swiper-pagination-bullet-active {
  width: 10px !important;
  height: 10px !important;
  margin: 0 6px !important;
}

/* 4. 导航箭头首尾禁用态：Swiper 非 loop 轮播到首/末张时自动加
      .swiper-button-disabled（替代各页手写脚本切换灰态 class） */
.swiper-button-disabled {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
}

/* 5. 产品页（products.html）左侧服务分类按钮激活态：
      由 data-prod-target + IntersectionObserver 滚动监听脚本切换 .is-active */
nav[aria-label="Service navigation"] button.is-active {
  border-color: #2477dd;
  background-color: #2477dd;
  color: #fff;
}

nav[aria-label="Service navigation"] button.is-active:hover {
  border-color: #2477dd;
  background-color: #2477dd;
  color: #fff;
}

.ip-hero-cta { border-color: #2477dd; }        /* 默认蓝 */
.ip-hero-cta:hover { border-color: #f4aa15; }  /* 悬停边框变橙 */
.ip-hero-cta:active { border-color: #f4aa15; background-color: #f4aa15; } /* 点击橙 */

/* ============================================================
   Quality 模块 · 2x2 图片网格（与首页 ip-home-sections.css 同源规则，
   供各服务/行业页 "Quality / Inspection" 模块统一复用）
   ① md 起列间距 30px（预编译 Tailwind 缺该补丁）；
   ② lg 起网格贴合文字栏高度并略高 48px，两行等高拉伸填满，
      单元格放弃移动端 4:3 固定宽高比，图片 object-cover 裁切。
   注意：分栏行在 lg 必须保持默认 align-items: stretch（不能用
   lg:items-start / lg:items-center），否则百分比高度失去参照。
   ============================================================ */
@media (min-width: 768px) {
  .ip-quality-grid {
    column-gap: 30px;
  }
}
@media (min-width: 1024px) {
  .ip-quality-grid {
    height: calc(100% + 48px);
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  }
  .ip-quality-grid > div {
    aspect-ratio: auto;
    height: 100%;
  }
}

/* ============================================================
   Why Choose 模块（sand-casting.html）：图片卡片 → SVG 图标卡片
   浅色底 + 白卡 + 蓝色图标徽章 + 水印序号，悬停上浮点亮图标。
   styles.css 为预编译 Tailwind，新增 arbitrary 类不会生成，
   故本模块全部使用自定义类。
   ============================================================ */
.ip-why {
  background: #f4f7fb;
  padding: 3.5rem 0 4rem;
}
.ip-why-head {
  text-align: center;
  margin-bottom: 2.75rem;
}
.ip-why-eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #2477dd;
  margin-bottom: 0.75rem;
}
.ip-why-head h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #000;
  line-height: 1.25;
  margin-bottom: 0.9rem;
}
.ip-why-head p {
  max-width: 42rem;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #5b6472;
}
.ip-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.ip-why-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e4e9f1;
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.ip-why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 119, 221, 0.35);
  box-shadow: 0 18px 40px -18px rgba(36, 119, 221, 0.35);
}
.ip-why-icon {
  position: relative;
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  background: #eaf2fb;
  color: #2477dd;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: inset 0 0 0 1px rgba(36, 119, 221, 0.12);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.ip-why-card:hover .ip-why-icon {
  background: #2477dd;
  color: #fff;
  transform: scale(1.06);
}
.ip-why-icon svg {
  width: 2.1rem;
  height: 2.1rem;
}
.ip-why-card h3 {
  position: relative;
  font-size: 1.125rem;
  font-weight: 700;
  color: #000;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.ip-why-card p {
  position: relative;
  flex: 1 1 auto;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #5b6472;
}
.ip-why-card .ip-why-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #2477dd;
  transition: color 0.3s ease;
}
.ip-why-card .ip-why-more:hover {
  color: #f4aa15;
}
.ip-why-card .ip-why-more svg {
  width: 0.95rem;
  height: 0.95rem;
}
/* 卡片底部报价按钮：实心蓝，悬停转品牌橙 */
.ip-why-btn {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.1rem;
  padding: 0.55rem 1.05rem;
  border-radius: 0.5rem;
  background: #2477dd;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: 0 8px 18px -10px rgba(36, 119, 221, 0.55);
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.ip-why-btn:hover {
  background: #f4aa15;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -10px rgba(244, 170, 21, 0.55);
}
.ip-why-btn svg {
  width: 0.95rem;
  height: 0.95rem;
}
.ip-why-cta {
  margin: 3rem auto 0;
  max-width: 56rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: linear-gradient(90deg, #1969c2, #2a96f9);
  border-radius: 1.25rem;
  padding: 1.75rem 2rem;
  box-shadow: 0 18px 40px -20px rgba(36, 119, 221, 0.55);
}
.ip-why-cta p {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
}
.ip-why-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #1969c2;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 0.6rem;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}
.ip-why-cta a:hover {
  background: #f4aa15;
  color: #fff;
  transform: translateY(-2px);
}
.ip-why-cta a svg {
  width: 1.25rem;
  height: 1.25rem;
}
@media (min-width: 640px) {
  .ip-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ip-why-cta {
    flex-direction: row;
    padding: 2rem 2.5rem;
  }
  .ip-why-cta p {
    font-size: 1.3rem;
    text-align: left;
  }
}
@media (min-width: 1024px) {
  .ip-why {
    padding: 5rem 0 5.5rem;
  }
  .ip-why-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
  .ip-why-head h2 {
    font-size: 2.25rem;
  }
  .ip-why-head p {
    font-size: 1rem;
  }
  .ip-why-card {
    padding: 1.5rem;
  }
  .ip-why-card h3 {
    font-size: 1.05rem;
  }
  .ip-why-card p {
    font-size: 0.85rem;
  }
  .ip-why-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
  }
  .ip-why-icon svg {
    width: 1.9rem;
    height: 1.9rem;
  }
}
/* 三列变体（sand-casting.html 6 卡 3+3）：lg 起每行固定 3 个，卡片更宽、留白舒展 */
@media (min-width: 1024px) {
  .ip-why-grid--3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .ip-why-grid--3 .ip-why-card {
    padding: 1.75rem;
  }
  .ip-why-grid--3 .ip-why-card h3 {
    font-size: 1.125rem;
  }
  .ip-why-grid--3 .ip-why-card p {
    font-size: 0.9rem;
  }
  .ip-why-grid--3 .ip-why-icon {
    width: 4rem;
    height: 4rem;
  }
  .ip-why-grid--3 .ip-why-icon svg {
    width: 2.1rem;
    height: 2.1rem;
  }
}

/* ============================================================
   Applications of Injection Molding 区块右侧图片列收窄：
   styles.css 为预编译 Tailwind，仅含 lg:w-[700px]，在此补 500px
   ============================================================ */
@media (min-width: 1024px) {
  .lg\:w-\[500px\] {
    width: 500px;
  }
}

/* ============================================================
   全站 Service 页面 Banner · 与首页统一（2026-10-15）
   规则来源：index.html 内联样式，全部以 ip- 前缀作用域挂载，
   仅影响 .ip-hero-copy / .ip-banner-stage / .ip-hero-stats
   ============================================================ */

/* Banner 右侧产品图 · 立体质感(静置,轻阴影) */
.ip-banner-stage .ip-banner-part {
  filter: drop-shadow(0 3px 4px rgba(30, 58, 95, 0.12)) drop-shadow(0 1px 2px rgba(30, 58, 95, 0.08));
  transition: filter .35s ease, transform .35s ease;
}

.ip-banner-stage .ip-banner-part:hover {
  filter: drop-shadow(0 5px 8px rgba(30, 58, 95, 0.18)) drop-shadow(0 2px 3px rgba(30, 58, 95, 0.10));
  transform: translateY(-3px) scale(1.02);
}

/* Banner 左侧文字区 */
.ip-hero-copy .ip-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  color: #5c6b80;
}

.ip-hero-copy .ip-hero-eyebrow::before {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #2477dd, rgba(36, 119, 221, 0));
}

.ip-hero-copy .ip-hero-title {
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -.015em;
  color: #16294d;
}

.ip-hero-copy .ip-hero-accent {
  color: #2477dd;
}

.ip-hero-copy .ip-hero-lead {
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.65;
  color: #4d5b6d;
}

.ip-hero-copy .ip-hero-list {
  margin-bottom: 26px;
}

.ip-hero-copy .ip-hero-list li {
  gap: 12px;
}

.ip-hero-copy .ip-hero-list li+li {
  margin-top: 8px;
}

.ip-hero-copy .ip-hero-check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 9999px;
  background: rgba(36, 119, 221, .1);
}

.ip-hero-copy .ip-hero-check svg {
  width: 12px;
  height: 12px;
  color: #2477dd;
}

.ip-hero-copy .ip-hero-li {
  font-size: 14px;
  line-height: 1.55;
  color: #4d5b6d;
}

.ip-hero-copy .ip-hero-strong {
  font-weight: 600;
  color: #16294d;
}

.ip-hero-copy .ip-hero-btn-primary,
.ip-hero-copy .ip-hero-btn-ghost {
  border-radius: 9999px;
  letter-spacing: .01em;
}

.ip-hero-copy .ip-hero-btn-ghost {
  border-width: 1px;
  border-color: rgba(36, 119, 221, .4);
  background: rgba(255, 255, 255, .65);
}

.ip-hero-copy .ip-hero-btn-ghost:hover {
  border-color: #2477dd;
  background: rgba(36, 119, 221, .06);
}

/* Banner 下方数据卡 */
.ip-hero-stats .ip-stat-card {
  border: 1px solid #e6eaf1;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fafbfe 100%);
  box-shadow: 0 12px 30px -20px rgba(22, 41, 77, .22);
}

.ip-hero-stats .ip-stat-card:hover {
  border-color: #b9d4f6;
  box-shadow: 0 18px 36px -20px rgba(36, 119, 221, .3);
}

.ip-hero-stats .ip-stat-num {
  color: #16294d;
  letter-spacing: -.01em;
}

.ip-hero-stats .ip-stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5c6b80;
}

@media (min-width: 640px) {
  .ip-hero-stats .ip-stat-label {
    font-size: 12px;
  }

  .ip-hero-copy .ip-hero-eyebrow {
    font-size: 12px;
    letter-spacing: .32em;
  }

  .ip-hero-copy .ip-hero-title,
  .ip-hero-copy .ip-hero-eyebrow {
    margin-bottom: 22px;
  }

  .ip-hero-copy .ip-hero-eyebrow {
    margin-bottom: 16px;
  }

  .ip-hero-copy .ip-hero-list {
    margin-bottom: 36px;
  }

  .ip-hero-copy .ip-hero-list li+li {
    margin-top: 10px;
  }
}

@media (min-width: 768px) {
  .ip-hero-copy .ip-hero-li,
  .ip-hero-copy .ip-hero-lead {
    font-size: 15px;
  }
}

@media (min-width: 1024px) {
  .ip-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .ip-hero-copy .ip-hero-list {
    margin-bottom: 44px;
  }

  .ip-hero-copy .ip-hero-list li+li {
    margin-top: 11px;
  }
}

/* 入场层次：文字区自下而上、错峰浮现（reduced-motion 降级为静态） */
.ip-hero-in {
  opacity: 0;
  animation: ip-hero-up .7s cubic-bezier(.22, .61, .36, 1) forwards;
}

.ip-hero-in-1 { animation-delay: .05s; }
.ip-hero-in-2 { animation-delay: .18s; }
.ip-hero-in-3 { animation-delay: .32s; }
.ip-hero-in-4 { animation-delay: .48s; }

@keyframes ip-hero-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .ip-hero-in {
    opacity: 1;
    animation: none;
  }
}

/* ============================================================
   Banner 右侧报价卡 Quote Card —— 干净 / 高级 / 专业
   ============================================================ */
.ip-quote-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-inline: auto;
  padding: 18px 18px 14px;
  background: #fff;
  border: 1px solid #e6eef8;
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(22, 41, 77, .05),
    0 26px 60px -28px rgba(23, 78, 166, .35),
    0 10px 24px -18px rgba(23, 78, 166, .18);
}

/* 信任徽章 */
.ip-quote-badge {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  margin: 2px auto 9px;
  padding: 3px 11px;
  border: 1px solid #d8e8fa;
  border-radius: 999px;
  background: #f2f8ff;
  color: #1d62c4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
}

.ip-quote-badge-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.ip-quote-title {
  margin: 0;
  color: #16294d;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  text-align: center;
}

/* 产品样件图 */
.ip-quote-parts {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 10px;
}

.ip-quote-part {
  width: 56px;
  height: 56px;
  padding: 6px;
  border: 1px solid #e8f0f9;
  border-radius: 12px;
  background: #f6f9fd;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.ip-quote-part:hover {
  border-color: #c9dff7;
  box-shadow: 0 12px 22px -16px rgba(23, 78, 166, .45);
  transform: translateY(-2px);
}

.ip-quote-part-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 个别源图四周留白偏大，适度放大以视觉等大 */
.ip-quote-part-img--fill {
  transform: scale(1.18);
  transform-origin: center;
}

.ip-quote-sub {
  margin: 0 0 12px;
  color: #2477dd;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

/* 拖拽 / 点击上传区（整卡可点） */
.ip-quote-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 14px 13px;
  border: 1.5px dashed #b9d4f6;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff 0%, #f2f8ff 100%);
  transition: border-color .3s ease, background .3s ease, box-shadow .3s ease, transform .3s ease;
}

.ip-quote-drop:hover,
.ip-quote-drop:focus-visible {
  border-color: #2477dd;
  background: linear-gradient(180deg, #fff 0%, #edf5ff 100%);
  box-shadow: 0 20px 42px -26px rgba(36, 119, 221, .5);
  transform: translateY(-1px);
}

.ip-quote-drop:focus-visible {
  outline: 2px solid #2477dd;
  outline-offset: 2px;
}

.ip-quote-drop-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  border: 1px solid #dceafa;
  border-radius: 50%;
  background: #fff;
  color: #2477dd;
  box-shadow: 0 10px 20px -12px rgba(36, 119, 221, .5);
  transition: background .3s ease, color .3s ease, border-color .3s ease;
}

.ip-quote-drop-icon svg {
  width: 21px;
  height: 21px;
}

.ip-quote-drop:hover .ip-quote-drop-icon,
.ip-quote-drop:focus-visible .ip-quote-drop-icon {
  border-color: #2477dd;
  background: #2477dd;
  color: #fff;
}

.ip-quote-drop-title {
  color: #16294d;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}

.ip-quote-drop-link {
  color: #2477dd;
  font-weight: 700;
}

/* 支持格式标签 */
.ip-quote-formats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin: 9px 0 0;
}

.ip-quote-chip {
  padding: 2px 7px;
  border: 1px solid #dce9f8;
  border-radius: 5px;
  background: #fff;
  color: #4a6488;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .03em;
  line-height: 1.5;
}

/* 主 CTA */
.ip-quote-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #2477dd;
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 14px 26px -14px rgba(36, 119, 221, .7);
  transition: background .3s ease, box-shadow .3s ease;
}

.ip-quote-cta svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.ip-quote-drop:hover .ip-quote-cta,
.ip-quote-drop:focus-visible .ip-quote-cta {
  background: #f4aa15;
  box-shadow: 0 16px 28px -14px rgba(244, 170, 21, .6);
}

/* 元信息：大小 / 安全 */
.ip-quote-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 8px;
  margin-top: 10px;
  color: #6b7c93;
  font-size: 11.5px;
  line-height: 1.4;
}

.ip-quote-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ip-quote-meta-item svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: #8aa4c4;
}

.ip-quote-meta-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b9c6d8;
}

/* 底部信任语：精简单行 */
.ip-quote-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 12px 0 0;
  padding: 11px 2px 0;
  border-top: 1px solid #eef2f7;
  color: #6b7c93;
  font-size: 10px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.ip-quote-trust svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: #2477dd;
}

@media (min-width: 768px) {
  .ip-quote-card {
    padding: 24px 30px 20px;
    border-radius: 22px;
  }

  .ip-quote-badge {
    margin: 3px auto 12px;
    padding: 4px 12px;
    font-size: 10.5px;
  }

  .ip-quote-badge-icon {
    width: 12.5px;
    height: 12.5px;
  }

  .ip-quote-title {
    font-size: 22px;
  }

  .ip-quote-parts {
    gap: 12px;
    margin: 17px 0 14px;
  }

  .ip-quote-part {
    width: 70px;
    height: 70px;
    padding: 8px;
    border-radius: 14px;
  }

  .ip-quote-sub {
    margin-bottom: 15px;
    font-size: 14px;
  }

  .ip-quote-drop {
    padding: 21px 22px 17px;
  }

  .ip-quote-drop-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
  }

  .ip-quote-drop-icon svg {
    width: 23px;
    height: 23px;
  }

  .ip-quote-formats {
    margin-top: 11px;
  }

  .ip-quote-chip {
    padding: 3px 8px;
    font-size: 10.5px;
  }

  .ip-quote-drop-title {
    font-size: 14px;
  }

  .ip-quote-cta {
    margin-top: 12px;
    padding: 12.5px 18px;
    font-size: 14px;
  }

  .ip-quote-meta {
    margin-top: 12px;
  }

  .ip-quote-trust {
    margin-top: 14px;
    padding-top: 13px;
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ip-quote-card,
  .ip-quote-card * {
    transition: none !important;
  }
}

/* ============================================================
   图文模块防拉伸 ip-tight-row（2026-10-16）
   图片列恢复 4:3 自然比例并垂直居中；卡片内边距、间距与
   导语段落下边距收紧，避免文字列把整块拉得过长
   ============================================================ */
.ip-tight-row {
  margin-bottom: 3rem;
}

.ip-tight-row ul.grid {
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .ip-tight-row ul.grid {
    gap: 1rem;
  }
}

.ip-tight-row ul.grid > li {
  padding: 1rem;
  gap: 0.75rem;
}

.ip-tight-row ul.grid h4 {
  margin-bottom: 0.25rem;
}

.ip-tight-row > div:last-child > p {
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .ip-tight-row {
    align-items: center;
    margin-bottom: 4rem;
  }
}
