﻿/* 2026-11-18 Winsom mobile bundle: polish + EN home modules + hero + CN footer (merged, order preserved) */

/* ===== css\ws-mobile-polish-20261118c.css ===== */
/* 2026-11-18 手机端首页优化：轮播满屏/去圆点、EN页脚排布、首屏防闪 */
@media (max-width: 767.98px) {
  .ws-hero .slide, .ws-hero .slide.autoMaxWidth { width: 100vw !important; }
  .ws-hero .slide .image { width: 100% !important; overflow: hidden !important; }
  .ws-hero .slide .image img { left: 0 !important; width: 100% !important; height: auto !important; max-width: none !important; }
  .ws-hero .control { display: none !important; }

  body.winsom-en .ws-en-desktop-foot .ws-en-df-inner {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 18px 16px 4px !important;
  }
  body.winsom-en .ws-en-desktop-foot .ws-en-df-col { width: auto !important; }
  body.winsom-en .ws-en-df-bar { padding: 12px 16px !important; line-height: 1.7 !important; }
  body.winsom-en .ws-en-df-bar .bar-copy,
  body.winsom-en .ws-en-df-bar .bar-tel,
  body.winsom-en .ws-en-df-bar .bar-mail { display: block !important; }
  body.winsom-en .ws-en-df-bar .bar-mail { margin-top: 2px !important; }

  html.ws-mobile-boot .middle,
  html.ws-mobile-boot .bannarspiculture { visibility: hidden !important; }
}

/* 桌面端版权条：三段同行，用 · 分隔（手机端已改为分行） */
@media (min-width: 768px) {
  body.winsom-en .ws-en-df-bar .bar-copy,
  body.winsom-en .ws-en-df-bar .bar-tel,
  body.winsom-en .ws-en-df-bar .bar-mail { display: inline !important; }
  body.winsom-en .ws-en-df-bar .bar-tel::before,
  body.winsom-en .ws-en-df-bar .bar-mail::before { content: " \00b7  "; }
}

/* ===== css\ws-mobile-home-20261118e.css ===== */
/* 2026-11-18 手机端英文首页：轮播满幅、视频移到简介后、页脚隐藏导航列、邮箱白色 */
@media (max-width: 767.98px) {
  body.winsom-en .ws-en-desktop-foot .ws-en-df-inner { display: none !important; }
  body.winsom-en .ws-en-df-bar { padding: 14px 16px !important; }
  body.winsom-en .ws-en-df-bar .bar-copy,
  body.winsom-en .ws-en-df-bar .bar-tel,
  body.winsom-en .ws-en-df-bar .bar-mail { display: block !important; color: #fff !important; }
  body.winsom-en .ws-en-df-bar .bar-mail a { color: #fff !important; text-decoration: none !important; }

  .ws-hero, .ws-hero .slides { overflow: hidden !important; }
  .ws-hero .slide { width: 100vw !important; }
  .ws-hero .slide .image { width: 100vw !important; overflow: hidden !important; padding: 0 !important; }
  .ws-hero .slide .image img {
    left: 0 !important;
    transform: none !important;
    width: 100vw !important;
    max-width: none !important;
    height: auto !important;
    display: block !important;
  }
}


/* ===== css\ws-mobile-typo-20261118f.css ===== */
/* 2026-11-18 手机端英文站：标题统一 logo 绿；正文排版收紧；清理空段落造成的巨大空白 */
@media (max-width: 767.98px) {
  body.winsom-en .home-intro h1,
  body.winsom-en .home-intro h2 { color: #02633A !important; }
  body.winsom-en .contenttext p {
    font-size: 15px !important;
    line-height: 1.65 !important;
    margin: 0 0 12px !important;
  }
  body.winsom-en .contenttext p:empty { display: none !important; }
  .ws-hero { padding: 0 !important; margin: 0 !important; width: 100vw !important; max-width: 100vw !important; }
}


/* ===== css\ws-mobile-hero-20261118g.css ===== */
/* 2026-11-18 手机端英文首页：轮播突破父容器 padding，真正满幅 */
@media (max-width: 767.98px) {
  body.winsom-en .ws-hero {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  body.winsom-en .ws-hero .slides,
  body.winsom-en .ws-hero .slide,
  body.winsom-en .ws-hero .slide .image { width: 100vw !important; max-width: 100vw !important; }
  body.winsom-en .ws-hero .slide .image img {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    transform: none !important;
    display: block !important;
  }
}


/* ===== css\ws-mobile-hero-20261118h.css ===== */
/* 2026-11-18 手机端英文首页：轮播图放大裁边，彻底消除两侧白边（无论来自容器还是图片本身） */
@media (max-width: 767.98px) {
  body.winsom-en .ws-hero { overflow: hidden !important; }
  body.winsom-en .ws-hero .slide .image { overflow: hidden !important; }
  body.winsom-en .ws-hero .slide .image img {
    width: 116% !important;
    max-width: none !important;
    height: auto !important;
    margin-left: -8% !important;
    left: 0 !important;
    transform: none !important;
    display: block !important;
  }
}


/* ===== css\ws-mobile-hero-20261118i.css ===== */
/* 2026-11-18 手机端英文首页轮播：强裁边（140%），确保两侧无任何白边 */
@media (max-width: 767.98px) {
  body.winsom-en .ws-hero,
  body.winsom-en .ws-hero .slides,
  body.winsom-en .ws-hero .slide,
  body.winsom-en .ws-hero .slide .image { width: 100vw !important; max-width: 100vw !important; overflow: hidden !important; padding: 0 !important; }
  body.winsom-en .ws-hero { margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
  body.winsom-en .ws-hero .slide .image img {
    width: 140% !important;
    max-width: none !important;
    height: auto !important;
    margin-left: -20% !important;
    left: 0 !important;
    transform: none !important;
    display: block !important;
  }
}


/* ===== css\ws-en-mhome-20261118c.css ===== */
/* 2026-11-18 EN mobile homepage modules — v3
   Direction "Photographs at uneven sizes": 2 widths + 2 ratios, alternating margins.
   Brand kept: green #02633A, Arial/Helvetica, white ground.
   Mobile only (<=767.98px); desktop untouched. No-JS safe: content visible unless .is-anim is added. */
.ws-mhome,
.ws-mhome-about-link { display: none; }

@media (max-width: 767.98px) {
  body.winsom-en .ws-mhome {
    display: block;
    padding: 0 20px;
    --ws-ink: #14211a;
    --ws-muted: #54655b;
    --ws-green: #02633A;
  }

  /* ---------- section headers ---------- */
  body.winsom-en .ws-mhome-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 34px 0 18px;
  }
  body.winsom-en .ws-mhome-head h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ws-green);
  }
  body.winsom-en .ws-mhome-head a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    margin-right: -8px;
    font-size: 14px;
    color: var(--ws-green);
    text-decoration: none;
  }

  /* ---------- products: photographs at uneven sizes (2 widths / 2 ratios) ---------- */
  body.winsom-en .ws-mhome-products { display: block; }
  body.winsom-en .ws-mhome-card {
    display: block;
    margin: 0 0 30px;
    text-decoration: none;
    color: var(--ws-ink);
  }
  body.winsom-en .ws-mhome-card:nth-of-type(1),
  body.winsom-en .ws-mhome-card:nth-of-type(4),
  body.winsom-en .ws-mhome-card:nth-of-type(7) { width: 100%; }
  body.winsom-en .ws-mhome-card:nth-of-type(2),
  body.winsom-en .ws-mhome-card:nth-of-type(3),
  body.winsom-en .ws-mhome-card:nth-of-type(5),
  body.winsom-en .ws-mhome-card:nth-of-type(6) { width: 72%; }
  body.winsom-en .ws-mhome-card:nth-of-type(3),
  body.winsom-en .ws-mhome-card:nth-of-type(6) { margin-left: 28%; }

  body.winsom-en .ws-mhome-card-media { display: block; overflow: hidden; background: #eef1ee; }
  body.winsom-en .ws-mhome-card:nth-of-type(1) .ws-mhome-card-media,
  body.winsom-en .ws-mhome-card:nth-of-type(4) .ws-mhome-card-media,
  body.winsom-en .ws-mhome-card:nth-of-type(7) .ws-mhome-card-media { aspect-ratio: 16 / 10; }
  body.winsom-en .ws-mhome-card:nth-of-type(2) .ws-mhome-card-media,
  body.winsom-en .ws-mhome-card:nth-of-type(3) .ws-mhome-card-media,
  body.winsom-en .ws-mhome-card:nth-of-type(5) .ws-mhome-card-media,
  body.winsom-en .ws-mhome-card:nth-of-type(6) .ws-mhome-card-media { aspect-ratio: 4 / 5; }
  body.winsom-en .ws-mhome-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.winsom-en .ws-mhome-card h3 {
    margin: 10px 0 0;
    font-size: 19px;
    line-height: 1.25;
    font-weight: 600;
    color: var(--ws-green);
  }
  body.winsom-en .ws-mhome-card p {
    margin: 4px 0 0;
    font-size: 16px;
    line-height: 1.5;
    color: var(--ws-ink);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ---------- selected projects: alternating widths, varied ratios ---------- */
  body.winsom-en .ws-mhome-featured { margin-top: 12px; }
  body.winsom-en .ws-mhome-projects { display: block; }
  body.winsom-en .ws-mhome-project {
    display: block;
    margin: 0 0 34px;
    text-decoration: none;
    color: var(--ws-ink);
  }
  body.winsom-en .ws-mhome-project:nth-of-type(1) { width: 100%; }
  body.winsom-en .ws-mhome-project:nth-of-type(2) { width: 82%; margin-left: 18%; }
  body.winsom-en .ws-mhome-project:nth-of-type(3) { width: 68%; margin-left: 0; }
  body.winsom-en .ws-mhome-project-name {
    display: block;
    margin: 0 0 8px;
    font-size: 16px;
    line-height: 1.35;
    color: var(--ws-ink);
  }
  body.winsom-en .ws-mhome-project img {
    display: block;
    width: 100%;
    height: auto;                 /* v3: 修复 height 属性压过 aspect-ratio 的 561px 竖条 */
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
  body.winsom-en .ws-mhome-project:nth-of-type(2) img { aspect-ratio: 4 / 5; }
  body.winsom-en .ws-mhome-project:nth-of-type(3) img { aspect-ratio: 3 / 2; }
  body.winsom-en .ws-mhome-project-link {
    display: block;
    margin: 10px 0 0;
    font-size: 14px;
    color: var(--ws-green);
  }

  body.winsom-en .ws-mhome-about-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: 4px 20px 18px;
    font-size: 16px;
    color: #02633A;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  /* ---------- intro: left aligned, statement + clamped paragraph ---------- */
  body.winsom-en .home-intro { padding: 26px 20px 22px !important; margin: 0 !important; text-align: left !important; }
  body.winsom-en .home-intro h1 {
    font-size: 24px !important;
    line-height: 1.25 !important;
    color: var(--ws-green) !important;
    letter-spacing: -0.01em;
  }
  /* 保留语义内容（SEO/AI 可读），手机上视觉隐藏 */
  body.winsom-en .home-intro h2,
  body.winsom-en .home-intro p:nth-of-type(2) {
    position: absolute !important;
    width: 1px; height: 1px; /* taste-skill-ignore: visually-hidden semantic heading */
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
  }
  body.winsom-en .home-intro p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ws-ink);
    margin: 10px 0 0;
    text-align: left !important;
  }
  body.winsom-en .home-intro p:first-of-type {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ---------- video: cover the 16:9 box, no letterbox white bands ---------- */
  body.winsom-en .video-container { overflow: hidden !important; }
  body.winsom-en .video-container .video-cover {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
  }

  /* ---------- motion: only after JS adds .is-anim (no-JS fallback stays visible) ---------- */
  body.winsom-en .ws-mhome.is-anim .ws-mhome-card,
  body.winsom-en .ws-mhome.is-anim .ws-mhome-project {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  }
  body.winsom-en .ws-mhome.is-anim.is-in .ws-mhome-card,
  body.winsom-en .ws-mhome.is-anim.is-in .ws-mhome-project { opacity: 1; transform: none; }

  @media (prefers-reduced-motion: reduce) {
    body.winsom-en .ws-mhome.is-anim .ws-mhome-card,
    body.winsom-en .ws-mhome.is-anim .ws-mhome-project { opacity: 1; transform: none; transition: none; }
  }
}


/* ===== css\ws-cn-footer-20261118.css ===== */
/* 2026-11-18 手机端中文首页：隐藏页脚导航手风琴，仅保留联系方式；联系方式文字统一白色/统一字号 */
@media (max-width: 767.98px) {
  html body:not(.winsom-en) .winsom-footer-links > ul > li.homecase:nth-child(-n+7) { display: none !important; }
  html body:not(.winsom-en) .winsom-footer-links > ul > li.homecase:last-child,
  html body:not(.winsom-en) .winsom-footer-links > ul > li.homecase:last-child * {
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
  }
  html body:not(.winsom-en) .winsom-footer-links > ul > li.homecase:last-child a { color: #fff !important; }
  html body:not(.winsom-en) .winsom-footer-links > ul > li.homecase:last-child img { max-width: 120px !important; height: auto !important; }
}



/* 2026-11-18 v6：手机专用视频封面（780×438，真实项目照，无文字/水印） */
@media (max-width: 767.98px) {
  body.winsom-en .video-container .video-cover {
    background-image: url(/Upload/video/video_bg_en-mobile.jpg) !important;
    background-size: cover !important;
    background-position: center center !important;
  }
}


/* ===== v7（2026-11-18）：采用中文手机首页的视觉语言 =====
   灰色区块 #f7f8fa + 双列白色圆角卡片（12px）+ 图片在上、标题在下;
   产品与工程都改为 2 列卡片，信息密度对齐中文站。 */
@media (max-width: 767.98px) {
  /* 产品：灰色满幅区块 + 双列卡片 */
  body.winsom-en .ws-mhome-products {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
    background: #f7f8fa !important;
    margin: 0 -20px !important;
    padding: 24px 20px 28px !important;
  }
  body.winsom-en .ws-mhome-products .ws-mhome-head {
    grid-column: 1 / -1;
    margin: 0 0 2px !important;
    padding: 0 2px;
  }
  body.winsom-en .ws-mhome-products .ws-mhome-head h2 { font-size: 20px; line-height: 1.2; }
  body.winsom-en .ws-mhome-products .ws-mhome-head a { font-size: 13px; }

  body.winsom-en .ws-mhome-card,
  body.winsom-en .ws-mhome-card:nth-of-type(n) {
    width: auto !important;
    margin: 0 !important;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column;
  }
  body.winsom-en .ws-mhome-card .ws-mhome-card-media,
  body.winsom-en .ws-mhome-card:nth-of-type(n) .ws-mhome-card-media {
    aspect-ratio: 3 / 2 !important;
    background: #eef1ee !important;
  }
  body.winsom-en .ws-mhome-card h3 {
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #14211a !important;
    margin: 10px 12px 0 !important;
  }
  body.winsom-en .ws-mhome-card p {
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #5b6b61 !important;
    margin: 4px 12px 12px !important;
    -webkit-line-clamp: 2 !important;
  }

  /* 工程：白色满幅区块 + 双列卡片（图片在上，名称/链接在下） */
  body.winsom-en .ws-mhome-featured {
    background: #fff !important;
    margin: 0 -20px !important;
    padding: 24px 20px 6px !important;
  }
  body.winsom-en .ws-mhome-projects {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px 12px !important;
  }
  body.winsom-en .ws-mhome-featured .ws-mhome-head {
    grid-column: 1 / -1;
    margin: 0 0 2px !important;
    padding: 0 2px;
  }
  body.winsom-en .ws-mhome-featured .ws-mhome-head h2 { font-size: 20px; line-height: 1.2; }
  body.winsom-en .ws-mhome-featured .ws-mhome-head a { font-size: 13px; }

  body.winsom-en .ws-mhome-project,
  body.winsom-en .ws-mhome-project:nth-of-type(n) {
    width: auto !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column;
    background: #fff !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }
  body.winsom-en .ws-mhome-project img,
  body.winsom-en .ws-mhome-project:nth-of-type(n) img {
    order: 1;
    aspect-ratio: 4 / 3 !important;
    border-radius: 0 !important;
  }
  body.winsom-en .ws-mhome-project-name {
    order: 2;
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #26342d !important;
    font-weight: 500;
    margin: 9px 10px 0 !important;
  }
  body.winsom-en .ws-mhome-project-link {
    order: 3;
    font-size: 12px !important;
    margin: 4px 10px 10px !important;
  }
}



/* ===== v8：修正 v7 区块宽度（去负边距，保持满幅灰底 + 20px 内边距） ===== */
@media (max-width: 767.98px) {
  body.winsom-en .ws-mhome { padding: 0 !important; }
  body.winsom-en .ws-mhome-products {
    margin: 0 !important;
    padding: 24px 20px 28px !important;
    width: 100% !important;
  }
  body.winsom-en .ws-mhome-featured {
    margin: 0 !important;
    padding: 24px 20px 6px !important;
    width: 100% !important;
  }
  body.winsom-en .ws-mhome-about-link { margin: 6px 20px 18px !important; }
}

/* v9：修正 content-box 导致的 430px 溢出（bands 用 border-box） */
@media (max-width: 767.98px) {
  body.winsom-en .ws-mhome-products,
  body.winsom-en .ws-mhome-featured { box-sizing: border-box !important; width: 100% !important; }
}

/* ===== v10：Project 区改为 5 个分类各 1 个案例，并显示分类名 ===== */
@media (max-width: 767.98px) {
  body.winsom-en .ws-mhome-project-cat {
    order: 2;
    margin: 8px 10px 0 !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    color: #5b6b61 !important;
    text-transform: none;
  }
  body.winsom-en .ws-mhome-project-name { order: 3; margin: 2px 10px 0 !important; }
  body.winsom-en .ws-mhome-project-link { order: 4; margin: 4px 10px 10px !important; }
}

/* v11：英文手机端 header 只保留英文 WINSOM（裁掉右侧中文“帷森”） */
@media (max-width: 767.98px) {
  body.winsom-en .ws-mobile-logo img[src*="819_04"] {
    width: 104px !important;
    height: 56px !important;
    object-fit: cover !important;
    object-position: left center !important;
    max-width: none !important;
    transform: translateX(42px) !important;
  }
}

