/* Service section media, retaining the current brand gradient cards. */
.service-panel .ig-service-media{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;align-self:stretch;padding:10px 0 10px 20px}
.ig-showcase-shell{position:relative;width:100%;aspect-ratio:16/10;min-height:185px;max-height:310px;border-radius:22px;overflow:hidden;background:linear-gradient(145deg,rgba(3,36,70,.42),rgba(0,0,0,.12));border:1px solid rgba(255,255,255,.28);box-shadow:0 20px 36px rgba(1,21,39,.25)}
.ig-showcase-stage{position:absolute;inset:0;display:grid;place-items:center;overflow:hidden}
.ig-showcase-stage img,.ig-showcase-stage video{width:100%;height:100%;object-fit:cover;display:block;background:#082b4f}
.ig-showcase-fallback{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:9px;padding:20px;color:#fff;background:radial-gradient(circle at 25% 20%,rgba(255,201,40,.22),transparent 45%),linear-gradient(135deg,#0b4268,#008a83)}
.ig-showcase-fallback strong{font-size:20px}.ig-showcase-fallback small{color:#deeff5;line-height:1.6}
.ig-service-media.has-showcase .ig-showcase-fallback{display:none}
.ig-showcase-toolbar{position:absolute;left:10px;right:10px;bottom:10px;z-index:3;display:flex;align-items:center;gap:6px;padding:8px;border-radius:12px;background:rgba(1,22,38,.63);backdrop-filter:blur(10px)}
.ig-showcase-label{flex:1;min-width:0;color:#fff;font-size:11px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ig-showcase-toolbar button{color:#fff;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.14);border-radius:8px;cursor:pointer;padding:4px 7px}
.ig-showcase-dots{display:flex;gap:4px}.ig-showcase-dots button{width:7px;height:7px;min-width:7px;padding:0;border-radius:50%;background:#a2bed0;border:0}.ig-showcase-dots button.active{background:#ffc928;width:16px;border-radius:10px}
.ig-showcase-stage .ig-media-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:62px;height:62px;border-radius:50%;border:2px solid #fff;background:rgba(0,33,54,.72);color:#fff;font-size:25px;cursor:pointer;z-index:2}
.ig-showcase-stage .ig-media-play[hidden]{display:none}
@media(min-width:901px){.service-panel{grid-template-columns:minmax(0,55%) minmax(0,45%)!important}.service-panel .ig-service-media{display:flex!important}}
@media(max-width:900px){.service-panel .ig-service-media{display:flex!important;padding:14px 0 0;width:100%}.ig-showcase-shell{aspect-ratio:16/9;min-height:160px;max-height:none}}
@media(max-width:600px){.service-panel .ig-service-media{padding:12px 0 0}.ig-showcase-shell{min-height:150px;border-radius:15px}.ig-showcase-fallback strong{font-size:15px}.ig-showcase-fallback small{font-size:11px}}


/* =========================================================
   PHASE 17 — COMPACT MOBILE SERVICE SHOWCASE
   Put the JPG/video preview above the service copy on phones/tablets.
   Desktop rules and desktop grid order are untouched.
========================================================= */
@media(max-width:900px){
  .service-panel{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    justify-content:flex-start!important;
    gap:0!important;
    min-height:0!important;
    padding:16px!important;
    border-radius:22px!important;
    overflow:hidden!important;
  }
  .service-panel .ig-service-media{
    order:-1!important;
    display:flex!important;
    flex:0 0 auto!important;
    align-self:stretch!important;
    width:100%!important;
    min-width:0!important;
    margin:0 0 13px!important;
    padding:0!important;
  }
  .service-panel .ig-showcase-shell{
    width:100%!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    aspect-ratio:16/9!important;
    border-radius:16px!important;
    box-shadow:0 12px 24px rgba(1,21,39,.20)!important;
  }
  .service-panel .ig-showcase-toolbar{
    left:8px!important;
    right:8px!important;
    bottom:8px!important;
    gap:5px!important;
    padding:6px 8px!important;
    border-radius:10px!important;
  }
  .service-panel .ig-showcase-label{font-size:10px!important}
  .service-panel .ig-showcase-toolbar button{padding:4px 7px!important}
  .service-panel>.ig-service-media+div,
  .service-panel>div:first-child{
    order:0!important;
    width:100%!important;
    min-width:0!important;
  }
  .service-panel .section-kicker{margin:0 0 7px!important}
  .service-panel h2{margin:4px 0 7px!important}
  .service-panel p{margin:0 0 7px!important}
  .service-panel ul{margin:8px 0 12px!important}
  .service-panel .btn{margin-top:0!important}
}
@media(max-width:600px){
  .service-panel{padding:14px!important;border-radius:20px!important}
  .service-panel .ig-service-media{margin-bottom:11px!important}
  .service-panel .ig-showcase-shell{border-radius:14px!important}
  .service-panel .ig-showcase-toolbar{left:7px!important;right:7px!important;bottom:7px!important;padding:5px 7px!important}
  .service-panel .ig-showcase-label{font-size:9px!important}
}
