/*
 * Daga Designs — Portfolio Premium 1.5.3
 * Consistent premium composition on ultra-wide screens only.
 * Below 1601px existing desktop/tablet/mobile rules stay unchanged.
 *
 * The shortcodes are sometimes in narrow Elementor widgets; the calculated
 * left margin centers a 1600px canvas relative to the viewport, independently
 * of the Elementor widget's intrinsic width.
 *
 * Other styling, project data, galleries, crop and JS interactions untouched.
 */
@media screen and (min-width: 1601px) {
  /* Archive, single project and optional homepage sections. */
  .dpp-portfolio,
  main#daga-portfolio-single,
  .dhp-projects,
  #daga-projects,
  #daga-about {
    width: 1600px !important;
    max-width: 1600px !important;
    margin-left: calc(50% - 800px) !important;
    margin-right: 0 !important;
  }

  /* The single-project editor can still use its full-width blocks,
     but they are confined to the centered 1600px main canvas. */
  main#daga-portfolio-single .dpp-hero,
  main#daga-portfolio-single .dpp-next,
  main#daga-portfolio-single .dppb-section,
  main#daga-portfolio-single .dpp3-section {
    max-width: 100%;
  }
}
