/* Giash v11.49 — one desktop content grid for the homepage.
   The prior releases used different widths (1260px in the hero versus 1100px
   on every lower feature). This file is loaded LAST, above both older layouts.
   No page zoom, transform or font scaling is used. */
:root { --giash-home-content-max: 1520px; }
@media (min-width: 901px) {
  #root #main > .search-hero.giash-photo-home > .wrap,
  #root #main > .wrap:has(> section.spotlight) {
    box-sizing: border-box !important;
    width: min(var(--giash-home-content-max), calc(100% - 64px)) !important;
    max-width: var(--giash-home-content-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  /* Remove the second 1100px width clamp from the search content. */
  #root #main > .search-hero.giash-photo-home > .wrap > .giash-inline-jobs,
  #root #main > .search-hero.giash-photo-home > .wrap > .sector-home-links {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* The visible outer edge of every feature card shares the parent's edge. */
  #root #main > .wrap:has(> section.spotlight) > :is(
    #giash-mascots, #giash-razzi-plans, section.spotlight,
    #giash-recruitment-story, #giash-character-connections
  ) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Razzi was free to shrink vertically despite the common panel sizing.
     Let its content expand but give the outer feature a consistent minimum. */
  #root #main > .wrap:has(> section.spotlight) > #giash-razzi-plans {
    min-height: 560px !important;
    height: auto !important;
  }
  #root #giash-razzi-plans .giash-razzi59-stage,
  #root #giash-razzi-plans .giash-razzi59-slide {min-height: 560px !important;}
  /* Story content is taller than the standard card. Do not clip CTAs to 600px. */
  #root #main > .wrap:has(> section.spotlight) > #giash-recruitment-story {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
}
@media (max-width: 900px) {
  #root #main > .search-hero.giash-photo-home > .wrap,
  #root #main > .wrap:has(> section.spotlight) {
    box-sizing: border-box !important;
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-inline: 0 !important;
  }
  #root #main > .wrap:has(> section.spotlight) > :is(
    #giash-mascots, #giash-razzi-plans, section.spotlight,
    #giash-recruitment-story, #giash-character-connections
  ),
  #root #main > .search-hero.giash-photo-home > .wrap > :is(.giash-inline-jobs,.sector-home-links) {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
