/* ASA DESIGN portfolio v151: focused screenshot, readable mobile cards */
/* Only affects new real-project section and newly-added real-work cards. */
#asa-real-projects .asa-rp-shot,
#p104-portfolio .asa-rp-small-shot {overflow:hidden;}
/* The originals include empty side margins: enlarge the screenshot within its viewport. */
#asa-real-projects .asa-rp-shot img,
#p104-portfolio .asa-rp-small-shot img {
  width:118% !important;
  min-width:118% !important;
  max-width:none !important;
  height:auto !important;
  left:-9% !important;
  top:0 !important;
}
/* Hide the redundant label on real customer projects at all widths. */
#p104-portfolio .asa-rp-in-original .p104-meta small {display:none !important;}
#p104-portfolio .asa-rp-in-original .p104-title {overflow-wrap:anywhere;}
@media(max-width:760px){
  /* Actual projects: a single large image/card per row, including narrow phones. */
  #asa-real-projects .asa-rp-grid {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:17px !important;
  }
  #asa-real-projects .asa-rp-card {width:100%;min-width:0;border-radius:15px;}
  #asa-real-projects .asa-rp-shot,
  #asa-real-projects .asa-rp-card:nth-child(-n+3) .asa-rp-shot {
    aspect-ratio:1.32 !important;
    height:auto !important;
  }
  #asa-real-projects .asa-rp-meta {min-height:0 !important;padding:13px 15px 15px !important;}
  #asa-real-projects .asa-rp-meta h3,
  #asa-real-projects .asa-rp-card:nth-child(-n+3) .asa-rp-meta h3 {
    font-size:18px !important;
    line-height:1.4 !important;
    overflow-wrap:break-word;
  }
  #asa-real-projects .asa-rp-meta p {font-size:12px !important;}
  #asa-real-projects .asa-rp-visit {font-size:12px !important;}
  /* Industry listing: display the actual-work cards larger too, but leave the original templates unchanged. */
  #p104-portfolio .asa-rp-in-original .p104-meta {min-height:0;}
  #p104-portfolio .asa-rp-in-original .p104-title {font-size:14px !important;line-height:1.5;}
}
@media(max-width:390px){
  #asa-real-projects .asa-rp-grid {grid-template-columns:minmax(0,1fr) !important;}
}
