/* Purged CSS — auto-generated on 2025-10-04 */

/* === Global corporate type & UI normalization (2025-09-27) === */
:root{
  --font-body: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Noto Sans Mono CJK JP", monospace;
}
html, body, button, input, select, textarea {
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
/* Headings spacing (uniform across pages) */
h1, .h1 { font-weight: 800; line-height:1.15; margin: 0 0 0.6em 0; }
h2, .h2 { font-weight: 700; line-height:1.2;  margin: 1.2em 0 0.5em 0; }
/* Buttons */
button, .btn, .pill {
  font-weight: 600;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease;
}
button:hover, .btn:hover, .pill:hover { transform: translateY(-1px); }
button:active, .btn:active, .pill:active { transform: translateY(0); }
/* Cards */
.card {
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(2,6,23,.10);
}@media (prefers-color-scheme: dark){
  .card { box-shadow: 0 10px 30px rgba(0,0,0,.60); }}
/* Mobile nav */
header { position: sticky; top: 0; z-index: 1000; }
.nav-links { display: none; }
.menu-open nav.nav-links { display: grid; }

/* site.css – global responsive layer */

/* === Century Bay mobile-friendly layer === */

/* Media / general */
img, svg, video { max-width: 100%; height: auto; display: block; }

/* iOS safe areas */
:root { --safe-top: env(safe-area-inset-top); --safe-bottom: env(safe-area-inset-bottom); }
.site-footer { padding-bottom: calc(12px + var(--safe-bottom)); }

/* === Footer background unify (2025-10-04) === */
.site-footer{ background: var(--bg); }


/* Tap target */
a, button, .btn { min-height: 44px; }

/* Brand size */
header .brand img { height: clamp(20px, 2.8vw, 28px); }
header .brand { display:flex; align-items:center; gap:8px; font-size: clamp(16px, 2.6vw, 18px); }

/* Language / Back */
.lang-switch .btn, .btn-back { padding: 8px 12px; border-radius: 14px; }

/* Top nav: no burger, horizontal scroll on small screens */
.site-nav ul { 
  display:flex; gap:12px; flex-wrap:nowrap; 
  overflow-x:auto; -webkit-overflow-scrolling:touch; scrollbar-width:thin;
  padding-bottom:4px;
}
.site-nav li { flex:0 0 auto; }
.site-nav a { white-space:nowrap; padding:10px 12px; border-radius:12px; }

/* Containers & cards */
.container, .section, main { padding-left:16px; padding-right:16px; }
.card { border-radius:16px; padding: clamp(14px, 2.8vw, 20px); }

/* Generic 3→2→1 layout helpers */
.grid3, .brand-grid, .careers-grid, .news-list {
  display:grid; gap:16px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}@media (max-width:1180px){
  .grid3, .brand-grid, .careers-grid, .news-list {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }}@media (max-width:720px){
  .grid3, .brand-grid, .careers-grid, .news-list {
    grid-template-columns: 1fr;
  }}

/* Hero slogan */
.hero h1, .slogan h1 {
  line-height:1.15;
  font-size: clamp(26px, 6.5vw, 56px);
  letter-spacing:0.01em;
}
.hero .logo-big { max-width: min(60vw, 320px); }

/* News scroll area */
.news-scroll { max-height: min(68vh, 560px); overflow-y:auto; -webkit-overflow-scrolling:touch; }

/* Contact grid */
.contact-grid {
  display:grid; gap:20px;
  grid-template-columns:1.15fr .85fr;
}

/* Forms */
form .form-field input, form .form-field select, form .form-field textarea {
  padding:12px 14px; border-radius:12px; font-size:16px; /* iOS no zoom */
}

/* Footer columns */
.footer-cols { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }

/* Wide content helpers */
.table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }

/* Tiny screens */
@media (max-width:360px){
  .site-nav a { padding:8px 10px; font-size:14px; }
  .lang-switch .btn, .btn-back { padding:6px 10px; font-size:14px; }
}
/* =========================================================
   Century Bay — Unified Business Theme v3  (append only)
   ========================================================= */

/* 1) 设计变量（色彩/阴影/圆角/间距/字号基础） */
:root{
  /* 主色：与你导航下划线的蓝绿渐变协调 */
  --cb-primary-1: #1e67e6;
  --cb-primary-2: #0fb5a9;
  --cb-text-1: #0c1621;        /* 正文 */
  --cb-text-2: #546172;        /* 次级 */
  --cb-border: rgba(12,22,33,.10);
  --cb-card: #fff;
  --cb-bg: #f6f8fb;

  --cb-radius-s: 10px;
  --cb-radius-m: 14px;
  --cb-radius-l: 18px;

  --cb-shadow-1: 0 2px 10px rgba(12,22,33,.06);
  --cb-shadow-2: 0 8px 28px rgba(12,22,33,.08);

  --cb-gutter: 16px;
  --cb-section-gap: clamp(32px, 6vw, 64px);
}

/* 2) 全站排版：商务、沉稳 */
html,body{ color:var(--cb-text-1); background:var(--cb-bg); }@media (max-width: 720px){
  html,body{ font-size: clamp(15px, 3.8vw, 17px); line-height: 1.6; }}
h1{ font-size: clamp(28px, 6.8vw, 44px); line-height:1.2; letter-spacing:.01em; }
h2{ font-size: clamp(22px, 5.4vw, 32px); line-height:1.25; }
h3{ font-size: clamp(18px, 4.6vw, 22px); line-height:1.3; }
p,li{ line-height:1.7; color:var(--cb-text-1); }
.muted{ color:var(--cb-text-2); }

/* 3) 统一容器与区块间距（所有页面看齐） */
.container, .section, main, .wrap, .content{
  padding-left: var(--cb-gutter);
  padding-right: var(--cb-gutter);
}
.section-title{ margin-bottom: 16px; }

/* 4) 卡片：圆角/描边/阴影（不夸张） */
.card, .panel, .box, .tile{
  background: var(--cb-card);
  border: 1px solid var(--cb-border);
  border-radius: var(--cb-radius-m);
  box-shadow: var(--cb-shadow-1);
  overflow: hidden;
}
.card:hover{ box-shadow: var(--cb-shadow-2); }

/* 卡片内图保持圆角同步 */
.card img, .panel img, .box img, .tile img{ border-radius: calc(var(--cb-radius-m) - 2px); }

/* 5) 按钮：高度达标、圆角一致、主色强调 */
a.btn, button.btn, .btn{
  min-height:44px; padding:12px 16px; border-radius: var(--cb-radius-m);
  display:inline-flex; align-items:center; gap:8px; line-height:1; text-decoration:none;
}

/* 6) 顶部导航：统一可滑动、当前项下划线一致 */
.site-header .inner, header .inner{ display:flex; align-items:center; gap:12px; }
header .brand{ flex:0 0 auto; }
.site-nav, header nav{ flex:1 1 auto; min-width:0; }

.site-header, header{ overflow:visible; }@media (max-width: 900px){
  .site-nav, header nav{
    overflow-x:auto; -webkit-overflow-scrolling:touch; position:relative;
    /* 渐隐暗示可滑动 */
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, #000 24px, #000 calc(100% - 24px), rgba(0,0,0,0));
            mask-image: linear-gradient(to right, rgba(0,0,0,0) 0, #000 24px, #000 calc(100% - 24px), rgba(0,0,0,0));
  }
  .site-nav ul, header nav ul{
    display:flex; gap:12px; flex-wrap:nowrap; white-space:nowrap;
    padding:0 12px 6px; margin:0; list-style:none;
  }
  .site-nav li, header nav li{ flex:0 0 auto; }
  .site-nav a, header nav a{ padding:10px 12px; border-radius:12px; min-height:44px; }
  .site-nav::-webkit-scrollbar, header nav::-webkit-scrollbar{ height:6px; }
  .site-nav::-webkit-scrollbar-thumb, header nav::-webkit-scrollbar-thumb{ background: rgba(0,0,0,.15); border-radius:8px; }}

/* 当前导航态：统一渐变下划线（兼容 .active / .current / aria-current） */
.site-nav a:is(.active,.current,[aria-current="page"]),
header nav a:is(.active,.current,[aria-current="page"]){
  position:relative; color:var(--cb-text-1);
}
.site-nav a:is(.active,.current,[aria-current="page"])::after,
header nav a:is(.active,.current,[aria-current="page"])::after{
  content:""; position:absolute; left:8px; right:8px; bottom:-6px; height:2px;
  background: linear-gradient(90deg, var(--cb-primary-1), var(--cb-primary-2));
  border-radius:2px;
}

/* 7) 通用网格：3→2→1（品牌/新闻/招聘统一） */
.grid3, .brand-grid, .careers-grid, .news-list{
  display:grid; gap:16px; grid-template-columns: repeat(3, minmax(0,1fr));
}@media (max-width:1180px){
  .grid3, .brand-grid, .careers-grid, .news-list{ grid-template-columns: repeat(2, minmax(0,1fr)); }}@media (max-width:720px){
  .grid3, .brand-grid, .careers-grid, .news-list{ grid-template-columns: 1fr; }}

/* 8) 首页 Hero 与标语（大不压小） */
.hero .logo-big{ max-width:min(60vw, 320px); height:auto; }
.hero h1, .slogan h1{ letter-spacing:.01em; }

/* 9) 新闻列表：高度自适应，滚动顺滑 */
.news-scroll{
  max-height:min(68vh, 560px);
  overflow-y:auto; -webkit-overflow-scrolling:touch;
}

/* 10) 联系页：双栏 → 单栏；表单更易点 */
.contact-grid{ display:grid; gap:20px; grid-template-columns: 1.15fr .85fr; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea{
  padding:12px 14px; border-radius:12px; font-size:16px; border:1px solid rgba(12,22,33,.15);
}
input::placeholder, textarea::placeholder{ color:rgba(12,22,33,.45); }

/* 11) 页脚：留白与分组一致 */
.site-footer, footer{ padding-top:20px; padding-bottom:20px; }

/* 12) 宽内容兜底（表格/长链接） */
.table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; }

/* 13) 触控与无障碍：聚焦可见但不刺眼 */
:where(a,button,.btn):focus-visible{
  outline:2px solid var(--cb-primary-2);
  outline-offset:2px; border-radius: var(--cb-radius-s);
}


/* === Mobile menu button (no layout change on desktop) === */
.menu-btn{
  display:none; margin-left:auto;
  border:1px solid var(--line); border-radius:12px; background:transparent;
  padding:8px 12px; font-size:18px; line-height:1; cursor:pointer;
}@media (max-width:980px){
  /* Hide inline nav on small screens until opened */
  .nav-links{ display:none; }
  html.menu-open .nav-links{
    display:grid; position:fixed; left:0; right:0;
    top: calc(var(--safe-top, 0px) + var(--header-h, 64px)); z-index:999;
    background: var(--surface, #0f1424);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow, 0 20px 40px rgba(2,6,23,.12));
    padding:12px; gap:4px;
  }
  html.menu-open .nav-links a{ padding:14px 10px; border-radius:10px; }
  /* Lock body scroll when menu open */
  html.menu-open, html.menu-open body{ overflow:hidden; }}
/* Ensure header stays on top and clickable */
header{ position:sticky; z-index: 1000; }

/* === cb release addendum === */

/* === Release Ready Base (cb) === */
:root{ --ink:#0e1a2b; --muted:#64748b; --bg:#f4f7fb; --surface:#ffffff; }
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic UI","Yu Gothic","Noto Sans",sans-serif;line-height:1.65}
main{display:block}
.cb-wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.cb-hero h1{margin:0 0 8px;font-size:36px}
.cb-hero h1.en{font-size:22px;opacity:.8}
.cb-hero p{max-width:920px;margin:4px 0;opacity:.9}
#business-areas{padding:40px 0}
#business-areas h2,#latest-news h2{font-size:24px;margin:0 0 8px}
#business-areas .cb-business{list-style:disc;padding-left:22px;margin:8px 0 0}
#business-areas .cb-business li{margin:.35rem 0}
#latest-news{padding:40px 0}
#latest-news ol{list-style:decimal;padding-left:22px;margin:8px 0 0}
#latest-news li{margin:.35rem 0}
#latest-news a{text-decoration:none;border-bottom:1px dotted rgba(0,0,0,.2)}
#latest-news a:hover{border-bottom-color:transparent}
footer{background:var(--surface);border-top:1px solid rgba(0,0,0,.06);padding:24px 0;margin-top:48px}@media (max-width:720px){
  .cb-hero h1{font-size:28px}
  .cb-hero h1.en{font-size:18px}}

/* === add: fixed header === */

/* === cb: fixed header like lytech.jp (global) === */
:root{ --header-h: 64px; }
header.cb-fixed{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.86);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  backdrop-filter: saturate(180%) blur(8px);
}
html{ scroll-behavior:smooth; scroll-padding-top: var(--header-h); }@media (max-width: 720px){
  :root{ --header-h: 56px; }}

/* remove any leftover hero spacing */
.cb-hero, .hero, .top-visual, .kv, .main-visual { display:none !important; }
body { padding-top: 0; }


/* === cb news (lytech-like) === */
.cb-news{padding:40px 0}
.cb-news-title{font-size:24px;text-align:center;margin:0 0 16px}
.cb-news-grid{max-width:1120px;margin:0 auto;display:grid;grid-template-columns:1.3fr 1fr;gap:20px;padding:0 20px}
.cb-news-feature{background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:12px;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.cb-news-thumb{height:240px;background:#f8fafc;display:flex;align-items:center;justify-content:center}
.cb-news-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.cb-news-meta{padding:16px}
.cb-news-date{font-variant-numeric:tabular-nums;color:#64748b;margin-bottom:6px}
.cb-news-heading{margin:0 0 8px;font-size:18px}
.cb-news-heading a{text-decoration:none}
.cb-news-excerpt{margin:0 0 12px;color:#334155}
.cb-news-list ul{list-style:none;margin:0;padding:0;background:#fff;border:1px solid rgba(0,0,0,.06);border-radius:12px;overflow:hidden}
.cb-news-list li{border-bottom:1px solid rgba(0,0,0,.06)}
.cb-news-list li:last-child{border-bottom:none}
.cb-news-list a{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;text-decoration:none}
.cb-news-list .cb-news-date{width:9.5em;flex:0 0 auto;color:#64748b}
.cb-news-title-txt{flex:1;color:#0f172a}
.cb-news-list p{margin:12px 0 0;text-align:right}@media (max-width: 900px){
  .cb-news-grid{grid-template-columns:1fr;gap:16px}
  .cb-news-thumb{height:180px}
  .cb-news-list .cb-news-date{width:auto;min-width:7.5em}}


/* === cb news align refinements === */
.cb-news-grid{align-items:stretch}
.cb-news-feature{display:flex;flex-direction:column}
.cb-news-thumb{height:260px}
.cb-news-meta{flex:1;display:flex;flex-direction:column}
.cb-news-meta p:last-child{margin-top:auto}
.cb-news-list ul{height:100%}
.cb-news-list li a{min-height:56px; align-items:center}
.cb-news-list li a .cb-news-title-txt{line-height:1.4}
.cb-news-list li a .cb-news-date{line-height:1.2}
.cb-news-list li:hover{background:#f8fafc}@media (max-width: 900px){
  .cb-news-thumb{height:200px}}

/* news: six-row list spacing */
.cb-news-list li a{min-height:52px}


/* === cb: unify 'もっと見る' buttons === */
.cb-btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;padding:10px 16px;border-radius:999px;
  font-weight:600;text-decoration:none;line-height:1;
  background:#0ea5e9;border:1px solid #0ea5e9;color:#fff;
  transition:transform .02s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
/* ghost variant now matches primary for consistency */
.cb-btn.ghost{background:#0ea5e9;border-color:#0ea5e9;color:#fff}
\n
/* === Logo sizing update (larger than adjacent text) === */
header .brand img.cb {
  height: 40px;
  width: auto;
}@media (max-width: 1024px){
  header .brand img.cb { height: 36px; }}@media (max-width: 640px){
  header .brand img.cb { height: 32px; }}
\n

/* === Hard override: navbar logo must be larger than text === */
header .brand img.cb,
header .brand img[src$="cb-logo-plain.png"],
header img.cb[src$="cb-logo-plain.png"] {
  height: 48px !important;
  width: auto !important;
  image-rendering: auto;
}@media (max-width: 1024px){
  header .brand img.cb,
  header .brand img[src$="cb-logo-plain.png"],
  header img.cb[src$="cb-logo-plain.png"] {
    height: 42px !important;
  }}@media (max-width: 640px){
  header .brand img.cb,
  header .brand img[src$="cb-logo-plain.png"],
  header img.cb[src$="cb-logo-plain.png"] {
    height: 36px !important;
  }}



/* === FINAL NAV LOGO FIX (no background, no shadow, larger) === */
header .brand img.cb,
header .brand img[src$="cb-logo-plain.png"],
header img.cb[src$="cb-logo-plain.png"] {
  height: 56px !important;  /* larger than adjacent text */
  width: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  display: inline-block;
  vertical-align: middle;
}@media (max-width: 1024px){
  header .brand img.cb,
  header .brand img[src$="cb-logo-plain.png"],
  header img.cb[src$="cb-logo-plain.png"] {
    height: 48px !important;
  }}@media (max-width: 640px){
  header .brand img.cb,
  header .brand img[src$="cb-logo-plain.png"],
  header img.cb[src$="cb-logo-plain.png"] {
    height: 40px !important;
  }}



/* === NAV LOGO SIZE: 72px desktop === */
header .brand img.cb,
header .brand img[src$="cb-logo-plain.png"],
header img.cb[src$="cb-logo-plain.png"] {
  height: 72px !important;
  width: auto !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: inline-block;
  vertical-align: middle;
}@media (max-width: 1024px){
  header .brand img.cb,
  header .brand img[src$="cb-logo-plain.png"],
  header img.cb[src$="cb-logo-plain.png"] {
    height: 60px !important;
  }}@media (max-width: 640px){
  header .brand img.cb,
  header .brand img[src$="cb-logo-plain.png"],
  header img.cb[src$="cb-logo-plain.png"] {
    height: 48px !important;
  }}


/* === Footer section sizing tweak (2025-10-04) === */
.site-footer .f-h{
  font-weight:700;
  line-height:1.35;
  /* slightly larger than items */
  font-size: clamp(14px, 2.6vw, 17px);
}
.site-footer .f-list,
.site-footer .f-list li,
.site-footer .f-list a,
.site-footer .f-list span{
  font-size: clamp(13px, 2.3vw, 15px);
  font-weight:500;
  line-height:1.65;
}

/* === Footer heading vs content sizing: heading = content + 3px (2025-10-04) === */
:root{
  --footer-content-size: 15px;
  --footer-title-delta: 6px;
  --footer-heading-size: calc(var(--footer-content-size) + 3px);
}
.site-footer .f-list,
.site-footer .f-list li,
.site-footer .f-list a,
.site-footer .f-list span{
  font-size: var(--footer-content-size);
  font-weight:500;
  line-height:1.65;
}
.site-footer .f-h{
  font-size: var(--footer-heading-size);
  font-weight:700;
  line-height:1.35;
}


/* === Footer Typography Unification (2025-10-04) === */
:root{
  --footer-content-size: 15px;
  --footer-title-delta: 6px;            /* 基础内容字号 */
  --footer-title-size: calc(var(--footer-content-size) + var(--footer-title-delta));  /* 小标题 = 内容 +3px */
}

footer :is(p, li, a, address, small, span, dd){
  font-size: var(--footer-content-size) !important;
  line-height: 1.7;
}

footer :is(h4, h5, .footer-title, .col-title, dt){
  font-size: var(--footer-title-size) !important;
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: .01em;
  margin: 0 0 .4em 0;
}

footer nav :is(a, li){
  font-size: var(--footer-content-size) !important;
}

footer .legal, footer .copyright{
  font-size: calc(var(--footer-content-size) - 1px) !important;
}/* 尽量避免影响全站其他区域，仅在footer作用域内覆盖 */


/* === Responsive Suite (2025-10-04) — global mobile & tablet optimization === */
:root{
  --container-max: 1120px;
  --container-pad: 18px;
  --tap-min: 40px;
}
/* Containers */
.container, .wrap, main > .inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

/* Images & media */
img, svg, video, canvas, iframe {max-width:100%; height:auto}
iframe.responsive, .map-responsive {width:100%; aspect-ratio:16/9}

/* Typography scaling */
h1{font-size:clamp(24px,3.2vw,32px)}
h2{font-size:clamp(20px,2.6vw,28px)}
h3{font-size:clamp(18px,2.2vw,22px)}
p, li{line-height:1.75}

/* Long word/wrap safety */
*, *::before, *::after{box-sizing:border-box}
body{word-break:break-word; overflow-wrap:anywhere}

/* Nav & controls (mobile) */
.nav-right{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.nav-right .pill, .lang .pill, .back-btn{min-height:var(--tap-min); padding:.45rem .9rem}
.lang{display:flex;gap:8px;flex-wrap:wrap}
/* keep order: links -> back -> lang; ensure items don't squeeze */
.nav-right > *{flex:0 0 auto}

/* Tables: horizontal scroll on small screens */
.table-wrap{overflow-x:auto; -webkit-overflow-scrolling:touch}
.table-wrap table{min-width:600px}

/* Forms: avoid iOS zoom */
@media (max-width: 600px){
  input, select, textarea{font-size:16px}
}

/* Spacing adjustments across breakpoints */
@media (max-width: 1024px){
  :root{ --container-pad: 16px; }
}
@media (max-width: 768px){
  :root{ --container-pad: 14px; }
  .hide-sm{display:none !important}
}
@media (max-width: 600px){
  :root{ --container-pad: 12px; }
  .stack-sm{display:grid; gap:12px}
  .row-sm{display:flex; flex-direction:column; gap:12px}
}
@media (max-width: 420px){
  :root{ --container-pad: 10px; }
  .nav-right .pill, .lang .pill, .back-btn{padding:.4rem .75rem; min-height:36px}
}

/* About page titles hairline tweaks (already unified earlier) */
.about-mevv .aboutfacts-title::before,
.about-profile .aboutfacts-title::before,
.about-access .aboutfacts-title::before,
.about-mevv .aboutfacts-title::after,
.about-profile .aboutfacts-title::after,
.about-access .aboutfacts-title::after{opacity:.24}
@media (max-width: 480px){
  .about-mevv .aboutfacts-title::before,
  .about-profile .aboutfacts-title::before,
  .about-access .aboutfacts-title::before,
  .about-mevv .aboutfacts-title::after,
  .about-profile .aboutfacts-title::after,
  .about-access .aboutfacts-title::after{opacity:.22}
}

/* Careers (Unified Seamless) mobile refinements */
.roles .role{padding:14px 0}
.roles .role + .role{border-top:1px solid #e6eaf0}
.steps .step{padding:12px 6px}
@media (max-width:900px){ .steps{grid-template-columns:1fr} }



/* === Mobile Hotfix Suite (2025-10-04) =====================================
   Targets issues seen on iPhone Safari:
   - Header nav wraps/overflows
   - Lang pills & Back button alignment
   - News cards horizontal overflow & spacing
   - Safe-area (notch) padding
============================================================================ */

/* Safe-area for iOS notch */
@supports (padding: max(0px)) {
  body { padding-left: max(env(safe-area-inset-left), 0px);
         padding-right: max(env(safe-area-inset-right), 0px); }
  header, .site-header { padding-top: max(env(safe-area-inset-top), 0px); }
  footer { padding-bottom: max(env(safe-area-inset-bottom), 0px); }
}

/* Header: compact & wrap-friendly */
header, .site-header { display:block }
header .nav, .site-header .nav { display:flex; flex-wrap:wrap; align-items:center; gap:8px }
header .logo, .site-header .logo { flex:0 0 auto }

/* Links block */
header nav, .site-header nav { display:flex; flex-wrap:wrap; gap:12px; max-width:100% }
header nav a, .site-header nav a { flex:0 0 auto }

/* Right-side group (Back + Lang) */
.nav-right { margin-left:auto; display:flex; align-items:center; gap:8px; flex-wrap:wrap }
.nav-right .pill, .lang .pill, .back-btn { min-height:40px; padding:.42rem .78rem }
.lang { display:flex; gap:8px; flex-wrap:wrap }

/* Super-small screens: 2-line header with horizontal scroll for links */
@media (max-width: 420px){
  header .logo, .site-header .logo { flex:1 0 100% }
  header nav, .site-header nav { order:1; width:100%;
    overflow-x:auto; -webkit-overflow-scrolling:touch; white-space:nowrap; scrollbar-width:none }
  header nav::-webkit-scrollbar, .site-header nav::-webkit-scrollbar { display:none }
  .nav-right { order:2; width:100%; justify-content:flex-end }
}

/* News list: force single column, full-bleed within container */
@media (max-width: 600px){
  .news, .news-list, .news-cards, .cards { display:grid; grid-template-columns:1fr !important; gap:12px }
  .news .card, .news-list .card, .news-cards .card, .cards .card { width:100%; margin:0; }
  .news .card *, .news-list .card *, .news-cards .card * { word-break:break-word; }
  .section, .block, .panel { margin-left:0; margin-right:0 }
}

/* Kill any residual colored bands/gradients that may bleed under header/content */
.careers-band::before, .hero::before, .band::before { content:none !important; display:none !important; background:none !important; }

/* Tighten big gaps on mobile */
@media (max-width: 600px){
  .divider{ margin:14px 0 !important }
  section{ margin-top:16px; margin-bottom:16px }
}


/* === Footer Layout & List reset (contact page fix, 2025-10-04) === */
.site-footer .footer-wrap{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(16px, 3vw, 56px);
  align-items:start;
  border-top: 1px solid rgba(0,0,0,.06);
  padding-top: clamp(16px, 2.5vw, 28px);
}
@media (max-width: 900px){
  .site-footer .footer-wrap{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .site-footer .footer-wrap{ grid-template-columns: 1fr; }
}
.site-footer .f-list,
.site-footer .f-links{
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.site-footer .f-list li + li,
.site-footer .f-links li + li{ margin-top: .35em; }
.site-footer .footer-copy{
  border-top: 1px solid rgba(0,0,0,.06);
  margin-top: clamp(18px, 3vw, 32px);
  padding-top: clamp(12px, 2vw, 20px);
}


/* === Mobile Comfortable Spacing & Robustness (2025-10-04 FINAL) === */
@media (max-width: 640px){
  /* 左右留白更舒适 */
  .container, .wrap, main > .inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  /* 区块上下留白适中，避免拥挤 */
  section, .section { padding-top: 24px; padding-bottom: 24px; }
  /* 卡片内边距加大，避免元素挤压变形 */
  .card { padding: 16px; }
  /* 标题行距微调，避免断行尴尬 */
  h1, .h1, h2, .h2, h3, .h3 { line-height: 1.25; }
  /* 列表/段落换行策略，杜绝超长英文/URL 挤爆布局 */
  .section p, .section li, .section a, footer p, footer li, footer a {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  /* 表单更易点按 */
  input, select, textarea, button { min-height: 44px; }
  /* 新闻/品牌等统一单列，防止错行 */
  .grid3, .brand-grid, .careers-grid, .news-list { grid-template-columns: 1fr; }
  /* 页脚额外留白，避免太挤 */
  .site-footer .footer-wrap{ gap: 20px; }
  .site-footer .footer-copy{ padding-top: 16px; }
}

/* 保底：媒体自适应，避免宽度溢出 */
img, svg, video, canvas, iframe { max-width:100%; height:auto; }
iframe.responsive, .map-responsive { width:100%; aspect-ratio:16/9; display:block; }
