/* SHIWOSI Team page */
body.sw-team-page { background:#fff; }
.sw-team-intro { padding:72px 0 28px; text-align:center; }
.sw-team-intro .sw-breadcrumbs { margin:0 0 35px; text-align:left; }
.sw-team-intro .sw-eyebrow { margin-bottom:14px; letter-spacing:.12em; }
.sw-team-intro h1 { max-width:1200px; margin:0 auto 24px; color:#303236; font-size:clamp(42px,5.3vw,72px); font-weight:700; line-height:1.08; }
.sw-team-lead { max-width:800px; margin:0 auto; color:#666d73; font-size:18px; line-height:1.7; }
.sw-team-gallery-section { padding:24px 0 70px; overflow:hidden; }
.sw-team-carousel { width:100%; }
.sw-team-gallery { position:relative; height:clamp(440px,31vw,600px); overflow:hidden; }
.sw-team-slide { position:absolute; top:50%; left:50%; width:58vw; max-width:1120px; height:clamp(390px,29.2vw,560px); margin:0; overflow:hidden; border-radius:12px; opacity:0; transform:translate(-50%,-50%) scale(.92); transition:transform .65s cubic-bezier(.2,.7,.2,1),opacity .65s ease; pointer-events:none; }
.sw-team-slide img { display:block; width:100%; height:100%; object-fit:cover; }
.sw-team-slide.is-active { z-index:3; opacity:1; transform:translate(-50%,-50%) scale(1); }
.sw-team-slide.is-prev { z-index:2; opacity:.88; transform:translate(calc(-50% - 65vw),-50%) scale(.88); }
.sw-team-slide.is-next { z-index:2; opacity:.88; transform:translate(calc(-50% + 65vw),-50%) scale(.88); }
.sw-team-carousel-controls { display:flex; align-items:center; justify-content:center; gap:22px; margin:22px auto 0; }
.sw-team-arrow { display:flex; width:42px; height:42px; align-items:center; justify-content:center; border:1px solid #d9dde0; border-radius:50%; background:#fff; color:#343a40; cursor:pointer; transition:background .2s,color .2s,border-color .2s; }
.sw-team-arrow:hover { border-color:#e6232b; background:#e6232b; color:#fff; }
.sw-team-dots { display:flex; max-width:min(520px,55vw); align-items:center; justify-content:center; gap:9px; }
.sw-team-dot { width:8px; height:8px; padding:0; border:0; border-radius:50%; background:#c9cdd1; cursor:pointer; transition:width .25s,background .25s; }
.sw-team-dot.is-active { width:25px; border-radius:99px; background:#e6232b; }
.sw-team-story { padding:92px 0; background:#f6f7f8; }
.sw-team-story-grid { display:grid; grid-template-columns:1fr 1fr; gap:90px; align-items:start; }
.sw-team-story h2,.sw-team-section-heading h2 { margin:0; color:#292d31; font-size:clamp(34px,3.5vw,52px); line-height:1.12; }
.sw-team-story-grid .sw-eyebrow,.sw-team-section-heading .sw-eyebrow { margin-bottom:18px; }
.sw-team-story-copy p { margin:0 0 18px; color:#5f666c; font-size:16px; line-height:1.8; }
.sw-team-functions { padding:100px 0; }
.sw-team-section-heading { /*max-width:760px;*/ margin:0 auto 48px; text-align:center; }
.sw-team-section-heading>p:last-child { max-width:650px; margin:18px auto 0; color:#646b70; font-size:16px; line-height:1.7; }
.sw-team-function-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border-top:1px solid #dfe2e4; border-bottom:1px solid #dfe2e4; }
.sw-team-function-grid article { min-height:230px; padding:30px 26px; border-right:1px solid #dfe2e4; }
.sw-team-function-grid article:last-child { border-right:0; }
.sw-team-function-grid article>span { color:#e6232b; font-size:13px; font-weight:700; letter-spacing:.1em; }
.sw-team-function-grid h3 { margin:52px 0 12px; color:#282c30; font-size:22px; }
.sw-team-function-grid p { margin:0; color:#646b70; font-size:14px; line-height:1.7; }
.sw-team-gallery-grid-section { padding:95px 0 110px; background:#f7f7f7; }
.sw-team-photo-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); grid-auto-rows:250px; gap:16px; }
.sw-team-photo-grid figure { position:relative; grid-column:span 2; margin:0; overflow:hidden; border-radius:7px; background:#e7e9ea; }
.sw-team-photo-grid figure:nth-child(4) { grid-column:2/span 2; }
.sw-team-photo-grid figure img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.sw-team-photo-grid figure:hover img { transform:scale(1.04); }
.sw-team-photo-grid figcaption { position:absolute; right:0; bottom:0; left:0; padding:30px 18px 16px; background:linear-gradient(transparent,rgba(0,0,0,.64)); color:#fff; font-size:14px; font-weight:600; }
.sw-team-cta { padding:76px 0; background:#a50f17; color:#fff; }
.sw-team-cta-inner { display:flex; align-items:center; justify-content:space-between; gap:40px; }
.sw-team-cta h2 { max-width:760px; margin:0 0 14px; color:#fff; font-size:clamp(34px,3.5vw,48px); line-height:1.12; }
.sw-team-cta p:not(.sw-eyebrow) { max-width:670px; margin:0; color:rgba(255,255,255,.82); font-size:16px; line-height:1.7; }
.sw-team-cta .sw-eyebrow { margin:0 0 15px; color:#ffd5d7; letter-spacing:.12em; }
.sw-team-cta .sw-button { flex:0 0 auto; display:inline-flex; align-items:center; gap:12px; min-height:52px; padding:14px 24px; border:1px solid rgba(255,255,255,.6); border-radius:3px; color:#fff; font-weight:700; }
.sw-team-cta .sw-button:hover { background:#fff; color:#a50f17; }
@media (max-width:900px) {
  .sw-team-story-grid { gap:42px; }
  .sw-team-function-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .sw-team-function-grid article:nth-child(2) { border-right:0; }
  .sw-team-function-grid article:nth-child(-n+2) { border-bottom:1px solid #dfe2e4; }
  .sw-team-cta-inner { align-items:flex-start; flex-direction:column; }
}
@media (max-width:767px) {
  .sw-team-intro { padding:52px 0 12px; }
  .sw-team-intro .sw-breadcrumbs { margin-bottom:26px; }
  .sw-team-intro h1 { margin-bottom:17px; font-size:36px; }
  .sw-team-lead { font-size:16px; line-height:1.65; }
  .sw-team-gallery-section { padding:18px 0 45px; }
  .sw-team-gallery { height:calc(78vw + 24px); max-height:390px; min-height:270px; }
  .sw-team-slide { width:calc(100vw - 32px); height:calc(78vw - 8px); max-height:350px; min-height:250px; border-radius:8px; }
  .sw-team-slide.is-prev,.sw-team-slide.is-next { opacity:0; }
  .sw-team-carousel-controls { gap:14px; margin-top:14px; }
  .sw-team-arrow { width:38px; height:38px; }
  .sw-team-dots { gap:7px; max-width:58vw; }
  .sw-team-dot { width:6px; height:6px; }
  .sw-team-dot.is-active { width:18px; }
  .sw-team-story,.sw-team-functions { padding:62px 0; }
  .sw-team-story-grid { grid-template-columns:1fr; gap:24px; }
  .sw-team-story h2,.sw-team-section-heading h2 { font-size:34px; }
  .sw-team-story-copy p { font-size:15px; }
  .sw-team-section-heading { margin-bottom:32px; text-align:left; }
  .sw-team-section-heading>p:last-child { margin-left:0; }
  .sw-team-function-grid { grid-template-columns:1fr; }
  .sw-team-function-grid article { min-height:0; padding:23px 8px; border-right:0; border-bottom:1px solid #dfe2e4; }
  .sw-team-function-grid article:last-child { border-bottom:0; }
  .sw-team-function-grid article:nth-child(2) { border-bottom:1px solid #dfe2e4; }
  .sw-team-function-grid h3 { margin:18px 0 8px; }
  .sw-team-gallery-grid-section { padding:62px 0 70px; }
  .sw-team-photo-grid { grid-template-columns:1fr 1fr; grid-auto-rows:190px; gap:10px; }
  .sw-team-photo-grid figure,.sw-team-photo-grid figure:nth-child(4) { grid-column:auto; }
  .sw-team-photo-grid figure:first-child { grid-column:span 2; }
  .sw-team-cta { padding:62px 0; }
  .sw-team-cta h2 { font-size:34px; }
  .sw-team-cta .sw-button { width:100%; justify-content:center; }
}
@media (prefers-reduced-motion:reduce) {
  .sw-team-page * { scroll-behavior:auto!important; transition:none!important; animation:none!important; }
}
