/* Mobile expertise: one viewport, horizontal cards, native swipe. */
.px-expertise-footer{display:none}

@media(max-width:600px){
  .psbox-home-v15.psbox-mobile-v18 .px-expertise{
    height:100vh;
    height:100svh;
    min-height:0;
    box-sizing:border-box;
    padding:24px 0 18px;
    overflow:hidden;
  }

  .psbox-home-v15 .px-expertise>.px-shell{
    display:flex;
    width:100%;
    height:100%;
    min-height:0;
    flex-direction:column;
  }

  .psbox-home-v15 .px-expertise .px-section-header{
    flex:none;
    width:calc(100% - 48px);
    margin:0 auto 18px;
  }

  .psbox-home-v15 .px-expertise .px-eyebrow{
    margin-bottom:13px;
    font-size:11px;
  }

  .psbox-home-v15 .px-expertise .px-title{
    font-size:clamp(23px,6.6vw,28px);
    line-height:1.32;
  }

  .psbox-home-v15 .px-expertise-grid{
    display:flex;
    min-height:0;
    flex:1;
    align-items:center;
    gap:12px;
    box-sizing:border-box;
    padding:0 24px 2px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
  }

  .psbox-home-v15 .px-expertise-grid::-webkit-scrollbar{display:none}

  .psbox-home-v15 .px-expertise .px-expertise-card:nth-child(n){
    height:100%;
    max-height:540px;
    min-height:0;
    flex:0 0 calc(100% - 16px);
    box-sizing:border-box;
    border-radius:22px;
    padding:0 0 55px!important;
    scroll-snap-align:center;
    scroll-snap-stop:always;
  }

  .psbox-home-v15 .px-expertise-visual{
    height:clamp(205px,34svh,282px);
    flex:none;
    aspect-ratio:auto;
  }

  .psbox-home-v15 .px-expertise-card h3{
    margin:18px 20px 10px;
    font-size:clamp(20px,5.7vw,24px);
    line-height:1.35;
  }

  .psbox-home-v15 .px-expertise-card p{
    margin:0 20px;
    font-size:14px;
    line-height:1.65;
  }

  .psbox-home-v15 .px-expertise-arrow{
    right:18px;
    bottom:16px;
    width:33px;
    height:33px;
    font-size:17px;
  }

  .px-expertise-footer{
    display:flex;
    flex:none;
    align-items:center;
    justify-content:space-between;
    padding:10px 24px 0;
  }

  .px-expertise-count{
    margin:0;
    color:#777b84;
    font-size:12px;
    font-weight:750;
    letter-spacing:.16em;
  }

  .px-expertise-controls{display:flex;gap:8px}
  .px-expertise-controls button{
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    padding:0;
    border:1px solid #dfe1e6;
    border-radius:50%;
    background:#fff;
    color:#1c1e22;
    font:400 24px/1 Arial,sans-serif;
    cursor:pointer;
  }
  .px-expertise-controls button:disabled{opacity:.32}
  body.psbox-expertise-focus #psbox-concierge:not(:focus-within){visibility:hidden;pointer-events:none}
}

@media(max-width:600px) and (max-height:720px){
  .psbox-home-v15.psbox-mobile-v18 .px-expertise{padding-top:18px;padding-bottom:12px}
  .psbox-home-v15 .px-expertise .px-section-header{margin-bottom:12px}
  .psbox-home-v15 .px-expertise .px-eyebrow{margin-bottom:9px}
  .psbox-home-v15 .px-expertise .px-title{font-size:clamp(21px,6vw,25px)}
  .psbox-home-v15 .px-expertise-visual{height:clamp(180px,31svh,220px)}
  .psbox-home-v15 .px-expertise-card h3{margin-top:14px;margin-bottom:7px}
  .psbox-home-v15 .px-expertise-card p{font-size:13.5px;line-height:1.55}
  .px-expertise-footer{padding-top:7px}
  .px-expertise-controls button{width:38px;height:38px;font-size:21px}
}
