/* YJH PORTFOLIO MOBILE WIDTH FIX V90 */
@media (max-width:599px){
  html,body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  .portfolio-category,
  .portfolio-category .service-shell,
  .portfolio-category .work,
  .portfolio-category .work-grid{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }

  .portfolio-category .work{
    margin:0!important;
    padding-left:clamp(16px,4vw,22px)!important;
    padding-right:clamp(16px,4vw,22px)!important;
    overflow:hidden!important;
  }

  .portfolio-category .work-grid{
    display:block!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
  }

  .portfolio-category .work-card,
  .portfolio-category .yjh-auto-portfolio-card,
  .portfolio-category figure.work-card{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 0 30px!important;
    padding:0!important;
    transform:none!important;
    left:auto!important;
    right:auto!important;
    grid-column:auto!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  .portfolio-category .work-card>a,
  .portfolio-category .yjh-auto-lightbox-link{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  .portfolio-category .work-card img,
  .portfolio-category .yjh-auto-portfolio-card img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:center!important;
    box-sizing:border-box!important;
  }

  .portfolio-category .work-card figcaption{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
}
