/* 首页各 section 图片统一尺寸约束 */

/* ========== 资讯区（首页 news section） ========== */
main .blog .posts-grid .post-img-wrapper,
main .blog-home .posts-grid .post-img-wrapper,
.blog .posts-grid:not(.horizontal) .post-img-wrapper {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  max-height: none;
}
main .blog .posts-grid .post-img-wrapper .post-img,
main .blog-home .posts-grid .post-img-wrapper .post-img,
.blog .posts-grid:not(.horizontal) .post-img-wrapper .post-img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}
.blog_list .dreamit-single-thumb,
.owl-carousel .dreamit-single-thumb,
.witr_sb_thumb,
[class$="-blog-thumb"]:not(.sidebar-thumb) {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.blog_list .dreamit-single-thumb img,
.owl-carousel .dreamit-single-thumb img,
.witr_sb_thumb img,
[class$="-blog-thumb"]:not(.sidebar-thumb) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 案例 / 作品集 ========== */
.prot_thumb,
.single_portfolio_thumb,
.witr_pslide_image,
[class$="-portfolio-thumb"],
.portfolio-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.prot_thumb img,
.single_portfolio_thumb img,
.witr_pslide_image img,
[class$="-portfolio-thumb"] img,
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.portfolio-img-link {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
img.portfolio-img,
.portfolio-img-link .portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 团队 ========== */
.tm-image,
.witr_team_section,
.em-team-content-image,
[class*="team-thumb"],
[class$="-team-thumb"] {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.tm-image img,
.witr_team_section img,
.em-team-content-image img,
[class*="team-thumb"] img,
[class$="-team-thumb"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 合作伙伴 logo ========== */
.brand-thumb,
[class*="brand-thumb"],
.client-logo {
  height: 72px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-thumb img,
[class*="brand-thumb"] img,
.client-logo img,
.client-logo .logo {
  max-width: 100%;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ========== 客户评价头像 ========== */
.testimonial-thumb,
.em_test_thumb,
.testi-thumb,
[class*="test_thumb"],
[class*="testi-thumb"] {
  width: 80px;
  height: 80px;
  overflow: hidden;
  flex-shrink: 0;
}
.testimonial-thumb img,
.em_test_thumb img,
.testi-thumb img,
[class*="test_thumb"] img,
[class*="testi-thumb"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 关于我们 ========== */
.single_image,
.about-img,
.about-thumb,
[class*="about-thumb"],
[class$="-about-thumb"] {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.single_image img,
img.about-img,
.about-thumb img,
[class*="about-thumb"] img,
[class$="-about-thumb"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== FAQ / 优势区配图 ========== */
.faq-single-thumb,
.choose-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.faq-single-thumb img,
.choose-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== APP 下载区 ========== */
#app img.img-fluid {
  max-height: 420px;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 装饰性小图（条形/分隔） ========== */
.dreamit-bar-thumb,
.shape-thumb,
[class*="shape-thumb"] {
  max-height: 48px;
  overflow: hidden;
}
.dreamit-bar-thumb img,
.shape-thumb img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* ========== img-1 / img-2 主图（about / honor 区） ========== */
img.img-1,
img.img-2 {
  width: 100%;
  max-height: 480px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* ========== about 区通用容器 ========== */
.about-img,
.about-image,
.about-thumb,
.overview-image,
.hero-img-wraper,
.hero-img-wrapper,
.about_left_inner,
.dreamit-about-single-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.about-img img,
.about-image img,
.about-thumb img,
.overview-image img,
.hero-img-wraper img,
.hero-img-wrapper img,
.about_left_inner img,
.dreamit-about-single-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 装饰性浮动图（shape / animation） ========== */
.about-img-shape,
.hero-img-shape,
.img-shape,
.about-img-animation,
.about-img-animation1,
.faq-img-animation,
.network-thumb,
.hero-title-thumb,
.about-arrow-thumb,
.about-icon-thumb {
  overflow: hidden;
  max-width: 100%;
}
.about-img-shape img,
.hero-img-shape img,
.img-shape img,
.about-img-animation img,
.about-img-animation1 img,
.faq-img-animation img,
.network-thumb img,
.hero-title-thumb img,
.about-arrow-thumb img,
.about-icon-thumb img {
  max-height: 160px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ========== 案例 / 优势 / 流程 / 服务配图 ========== */
.case-study-thumb,
.why-thumb,
.process-single-thumb,
.process-thumb,
.slider-thumb-inner,
.single-choose-thumb,
.service-thumb,
.dreamit-choose-us-thumb,
.dreamit-vissin-thumb,
.contact-thumb,
.process-icon-thumb,
.about-single-thumb,
.hero-single-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.case-study-thumb img,
.why-thumb img,
.process-single-thumb img,
.process-thumb img,
.slider-thumb-inner img,
.single-choose-thumb img,
.service-thumb img,
.dreamit-choose-us-thumb img,
.dreamit-vissin-thumb img,
.contact-thumb img,
.process-icon-thumb img,
.about-single-thumb img,
.hero-single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 评价区扩展 ========== */
.testimonal-images,
.testimonial-author-img,
.techno-testimonial-thumb,
.single-testimonial-thumb,
.witr_team_thumb15 {
  overflow: hidden;
}
.testimonal-images img,
.testimonial-author-img,
.techno-testimonial-thumb img,
.single-testimonial-thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
}
.witr_team_thumb15 {
  aspect-ratio: 3 / 4;
}
.witr_team_thumb15 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== parallax 卡片图 ========== */
.post-img.parallax-img,
img.parallax-img:not(.slider-bg-img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 轮播 banner 背景（补充） ========== */
img.slider-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== team-img 等通用 ========== */
.team-img,
[class*="team-img"] {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.team-img img,
[class*="team-img"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== 剩余主题族（inner-thumb / icon-thumb / shape） ========== */
[class*="_thumb_inner"],
[class*="_thumb_inner2"],
[class*="_thumb_inner3"],
[class*="_thumb_inner4"],
[class*="_thumb_inner5"],
[class*="_thumb_inner6"],
.single_about_thumb_inner,
.single_accordion_thumb_inner,
.single_brand_thumb,
.single_team_two_thumb,
.single_testimonial_thumb,
.testi_thumb_inner,
.abt-thumb,
.hero-thumb,
.feedback-thumb,
.dreamit-faq-thumb,
.why-choose-us-thumb1,
.about-shape {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
[class*="_thumb_inner"] img,
[class*="_thumb_inner2"] img,
[class*="_thumb_inner3"] img,
[class*="_thumb_inner4"] img,
[class*="_thumb_inner5"] img,
[class*="_thumb_inner6"] img,
.single_about_thumb_inner img,
.single_accordion_thumb_inner img,
.single_brand_thumb img,
.single_team_two_thumb img,
.single_testimonial_thumb img,
.testi_thumb_inner img,
.abt-thumb img,
.hero-thumb img,
.feedback-thumb img,
.dreamit-faq-thumb img,
.why-choose-us-thumb1 img,
.about-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
[class*="icon-thumb"],
.abt-img-animation,
.shape-img-animation,
.team-title-thumb,
.tp-rs-img {
  overflow: hidden;
}
[class*="icon-thumb"] img,
.abt-img-animation img,
.shape-img-animation img,
.team-title-thumb img,
.tp-rs-img img,
img.tp-rs-img {
  max-height: 120px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

/* ========== 去掉多余色块/边框（flex-it 资讯区等） ========== */
/* 资讯区「最新ニュース」等 CTA：不用实心按钮，改为文字链接 */
#blog .sec-heading .cta-area a,
.blog-home .sec-heading .cta-area a,
.sec-heading .cta-area .btn-solid,
.sec-heading .cta-area .cta-btn {
  background: none !important;
  background-color: transparent !important;
  color: var(--theme-color, var(--clr-main)) !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  min-height: 0 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
  text-transform: none;
  letter-spacing: normal;
}
#blog .sec-heading .cta-area a:hover,
.blog-home .sec-heading .cta-area a:hover,
.sec-heading .cta-area .btn-solid:hover,
.sec-heading .cta-area .cta-btn:hover {
  background: none !important;
  background-color: transparent !important;
  color: var(--theme-color2, var(--theme-color, var(--clr-main))) !important;
  text-decoration: underline;
}

/* 资讯卡片去掉浅色底框 */
.blog .posts-grid .post-box,
.blog-home .posts-grid .post-box {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* 资讯区标题行不再显示右侧 CTA 色块 */
#blog .sec-heading .cta-area {
  display: none !important;
}
