/* Giash v11.37 — consistent homepage width and borderless hero content.
   Do not scale body/root or override browser zoom. */
html,body{margin:0;max-width:100%;overflow-x:clip}
#root{width:100%;max-width:none;margin:0;padding:0}
#root .search-hero.giash-photo-home{width:100%;margin:0;overflow:hidden}
#root .search-hero.giash-photo-home > .wrap{
  box-sizing:border-box!important; width:min(1260px,calc(100% - 64px))!important;
  max-width:1260px!important; margin-inline:auto!important;padding-inline:0!important;
  position:relative!important;z-index:3!important;
}
#root .search-hero.giash-photo-home .giash-inline-jobs,
#root .search-hero.giash-photo-home .sector-home-links{
  box-sizing:border-box!important; width:min(100%,1100px)!important; max-width:1100px!important;
  margin-left:0!important;margin-right:0!important;
  border:0!important;box-shadow:none!important; backdrop-filter:none!important;
  border-radius:0!important;
  background:transparent!important;
}
#root .search-hero.giash-photo-home .giash-inline-jobs{padding:16px 0 8px!important; margin-top:18px!important;}
#root .search-hero.giash-photo-home .sector-home-links{padding:14px 0 18px!important;margin-top:0!important;margin-bottom:20px!important;}
#root .search-hero.giash-photo-home .giash-inline-jobs .empty{background:transparent!important;}
#root .sector-home-links h2{font-size:clamp(1.12rem,1.6vw,1.4rem)!important;margin:0 0 4px!important}
#root .sector-home-links .sector-home-intro{font-size:.83rem!important;margin:0 0 10px!important;line-height:1.4!important}
#root .sector-home-links nav{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;}
#root .sector-home-links nav a{box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:8px!important;
 width:100%!important;min-width:0!important;min-height:42px!important;padding:8px 10px!important;
 border:1px solid rgba(17,107,81,.18)!important;border-radius:10px!important;box-shadow:none!important;
 background:rgba(255,255,255,.68)!important;font-size:clamp(.72rem,.85vw,.82rem)!important;line-height:1.25!important;text-decoration:none!important;}
#root .sector-home-links nav a.sector-all{background:#0b6045!important;color:#fff!important}
#root .sector-home-links nav a .sector-card-icon{flex:0 0 24px!important;width:24px!important;height:24px!important;border-radius:7px!important;}
#root .sector-home-links nav a span:last-child{min-width:0;overflow-wrap:anywhere}
/* Hide only manual BACKGROUND slideshow navigation. Photos continue to auto-rotate. */
#root .giash-photo-home .giash-hero-controls{display:none!important;}
/* The two small privacy icons remain adjacent and accessible. */
#giash-marketing-settings{position:fixed!important;z-index:2147482998!important;bottom:12px!important;left:58px!important;
 width:38px!important;height:38px!important;margin:0!important;padding:0!important;display:grid!important;place-items:center!important;
 border:1px solid #b2c5b7!important;border-radius:50%!important;background:#fff!important;color:#075e3b!important;
 box-shadow:0 3px 12px #0002!important;text-decoration:none!important;}
#giash-marketing-settings svg{width:19px;height:19px;}
#giash-marketing-settings:hover,#giash-marketing-settings:focus-visible{background:#e9f6ef!important;outline-offset:3px!important;}
#giash-staff-footer-links{display:inline-flex!important;align-items:center!important;gap:8px!important}
#giash-staff-footer-links .giash-preferences-icon{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;}
@media(max-width:1000px){#root .sector-home-links nav{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media(max-width:760px){
 #root .search-hero.giash-photo-home > .wrap{width:calc(100% - 28px)!important;max-width:none!important;margin-inline:14px!important;}
 #root .search-hero.giash-photo-home .giash-inline-jobs{padding:12px 0!important;}
 #root .sector-home-links nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 #root .sector-home-links nav a{min-height:43px!important;padding:8px!important;}
 #giash-marketing-settings{bottom:max(12px,env(safe-area-inset-bottom))!important;}
}
@media(max-width:420px){#root .sector-home-links nav{grid-template-columns:1fr!important;}}

/* v11.38: user-requested subtle transparent sectors and unified feature layout.
   Scoped to homepage feature components, never alter root sizing or page zoom. */
#root .search-hero.giash-photo-home .sector-home-links nav a:not(.sector-all){
  background:rgba(255,255,255,.20)!important;
  border-color:rgba(255,255,255,.32)!important;
  box-shadow:none!important;backdrop-filter:blur(3px);
}
#root .search-hero.giash-photo-home .sector-home-links nav a.sector-all{
  background:rgba(8,94,69,.75)!important; border-color:rgba(255,255,255,.24)!important;
}
#root .search-hero.giash-photo-home .sector-home-links nav a:is(:hover,:focus-visible){
  background:rgba(255,255,255,.65)!important;outline-offset:2px;
}
#root .search-hero.giash-photo-home .sector-home-links nav a.sector-all:is(:hover,:focus-visible){
 background:rgba(8,94,69,.94)!important;color:#fff!important;
}
/* Home feature sections: same width, no disconnected outer boxes.
   Individual pricing tiers and CTA buttons retain their own distinction. */
#giash-mascots,#giash-razzi-plans.giash-razzi-v1059,
#giash-recruitment-story,#giash-character-connections,
#root .giash-sector-spotlight{
 box-sizing:border-box!important;max-width:1100px!important;
 width:min(1100px,calc(100% - 40px))!important; margin:24px auto!important;
 border:0!important;box-shadow:none!important;
 background:transparent!important;
}
/* Remove manual arrows, dots and slide counters from promotional feature carousels.
   Rotation timers and carousel content remain in the existing JS. */
#giash-mascots .giash-mascot-toolbar,
#giash-razzi-plans .giash-razzi59-toolbar,
#giash-recruitment-story .giash-recruitment-story-controls,
#giash-character-connections .giash-character-controls,
#root .giash-sector-spotlight .giash-slide-controls,
#root .giash-sector-spotlight .spotlight-controls{display:none!important;}
@media(max-width:650px){
 #giash-mascots,#giash-razzi-plans.giash-razzi-v1059,#giash-recruitment-story,
 #giash-character-connections,#root .giash-sector-spotlight{
   width:calc(100% - 24px)!important;margin:18px auto!important;
 }
 #root .search-hero.giash-photo-home .sector-home-links nav a:not(.sector-all){background:rgba(255,255,255,.57)!important;}
}

/* v11.39: remove all homepage slideshow navigation from the rendered page.
   Use real classes defined in home-slideshow.js, plus the React sector spotlight.
   Slide auto-advance remains active; no page-scale or global carousel rules. */
#root .search-hero .spotlight .carousel-controls,
#root .search-hero .spotlight .dots,
#root .search-hero .spotlight .slideshow-buttons,
#root .giash-sector-spotlight .carousel-controls,
#root .giash-sector-spotlight .dots,
#root .giash-sector-spotlight .slideshow-buttons,
#giash-mascots .giash-mascot-toolbar,
#giash-razzi-plans .giash-razzi59-toolbar,
#giash-recruitment-story .giash-recruitment-story-controls,
#giash-character-connections .giash-character-controls,
#root .giash-photo-home .giash-slide-controls {display:none!important;}
/* Section sizing: same desktop edges and no horizontal spill. */
#root .giash-sector-spotlight,
#giash-mascots,#giash-razzi-plans,#giash-recruitment-story,#giash-character-connections {
 box-sizing:border-box!important; width:min(1100px,calc(100% - 40px))!important;
 max-width:1100px!important; margin-left:auto!important;margin-right:auto!important;
 min-width:0!important; overflow-x:clip;
}
@media(max-width:650px){
 #root .giash-sector-spotlight,#giash-mascots,#giash-razzi-plans,#giash-recruitment-story,#giash-character-connections{width:calc(100% - 24px)!important;}
}


/* v11.40: match the ACTUAL React category carousel: it is outside search-hero.
   This control row was unaffected by the v11.39 descendant selectors. */
#root section.spotlight .carousel-controls,
#root section.spotlight .carousel-controls .dots,
#root .wrap > section.spotlight .carousel-controls {
  display:none!important;
  visibility:hidden!important;
}

/* The root of the unequal edges was nested percentage widths on feature sections.
   Establish a single centered column on the parent and let each child fill it. */
#root .wrap:has(> section.spotlight) {
  box-sizing:border-box!important;
  width:min(1100px,calc(100% - 40px))!important;
  max-width:1100px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}
#root .wrap:has(> section.spotlight) > :is(section.spotlight,#giash-mascots,#giash-razzi-plans,#giash-recruitment-story,#giash-character-connections,.giash-story-stage) {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
#root .wrap:has(> section.spotlight) .spotlight .spot-copy,
#root .wrap:has(> section.spotlight) .giash-recruitment-story-content {
  min-width:0!important;
}
@media(max-width:650px) {
  #root .wrap:has(> section.spotlight) {width:calc(100% - 24px)!important;}
}


/* v11.41: Align visible carousel edges, not merely their transparent outer boxes.
   The Razzi panel had 14px internal padding, which made its slide 28px
   narrower than the sibling spotlight even when the outer widths matched. */
#root #main > .wrap:has(> section.spotlight) {
  width:min(1100px,calc(100% - 40px))!important;
  max-width:1100px!important;
  padding-inline:0!important;
  margin-inline:auto!important;
}
#root #main > .wrap:has(> section.spotlight) > :is(
  section.spotlight,
  #giash-mascots,
  #giash-razzi-plans,
  #giash-recruitment-story,
  #giash-character-connections
) {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  margin-inline:0!important;
}
#root #giash-razzi-plans.giash-razzi-v1059 {
  padding:0!important;
  border:0!important;
  border-radius:22px!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
#root #giash-razzi-plans .giash-razzi59-stage,
#root #giash-razzi-plans .giash-razzi59-slide {
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
#root #giash-razzi-plans .giash-razzi59-slide { border-radius:22px!important;overflow:hidden!important; }
#root #main > .wrap:has(> section.spotlight) > section.spotlight {
  padding:0!important;
  overflow:hidden!important;
}
@media(max-width:650px) {
  #root #main > .wrap:has(> section.spotlight) {width:calc(100% - 24px)!important;}
  #root #giash-razzi-plans .giash-razzi59-slide {border-radius:16px!important;}
}


/* v11.42 — One shared feature geometry. The featured blocks below the hero
   are siblings in two different DOM parents; align their visible outer edges.
   Keep normal font sizing; do not transform/zoom the page. */
@media (min-width: 901px) {
  #root #main > .wrap:has(> section.spotlight),
  #root #main > #giash-razzi-plans {
    box-sizing: border-box !important;
    width: min(1100px, calc(100% - 48px)) !important;
    max-width: 1100px !important;
    margin-left: auto !important; margin-right: auto !important;
    padding-left: 0 !important; padding-right: 0 !important;
  }
  #root #main > .wrap:has(> section.spotlight) > :is(
    #giash-mascots, #giash-recruitment-story, #giash-character-connections, section.spotlight
  ),
  #root #main > #giash-razzi-plans {
    box-sizing: border-box !important;
    width: 100% !important; max-width: 100% !important;
    height: 600px !important; min-height: 600px !important;
    margin: 24px 0 !important;
    overflow: hidden !important;
  }
  #root #main > #giash-razzi-plans {
    width: min(1100px, calc(100% - 48px)) !important;
    margin: 24px auto !important;
  }
  #root #giash-mascots,
  #root #giash-recruitment-story,
  #root #giash-character-connections {
    display: flex !important; flex-direction: column !important;
    padding: 20px 24px !important; gap: 12px !important;
  }
  #root #giash-mascots .giash-mascot-heading,
  #root #giash-recruitment-story .giash-recruitment-story-header,
  #root #giash-character-connections .giash-character-heading {
    flex: 0 0 auto !important; margin-bottom: 0 !important;
  }
  #root #giash-character-connections .giash-character-subtitle {
    flex: 0 0 auto !important; margin: 0 !important;
  }
  #root #giash-mascots .giash-mascot-stage,
  #root #giash-recruitment-story .giash-recruitment-story-frame,
  #root #giash-character-connections .giash-character-stage {
    flex: 1 1 auto !important; height: auto !important;
    min-height: 0 !important; width: 100% !important;
  }
  #root #giash-mascots .giash-mascot-slide,
  #root #giash-recruitment-story .giash-recruitment-story-slide,
  #root #giash-character-connections .giash-character-slide {
    height: 100% !important; min-height: 0 !important;
  }
  #root #giash-character-connections .giash-character-visual {min-height:0!important;}
  #root #giash-razzi-plans .giash-razzi59-stage {height:100%!important;min-height:0!important;}
  #root #giash-razzi-plans .giash-razzi59-slide {height:100%!important;min-height:0!important;}
  #root #main > .wrap:has(> section.spotlight) > section.spotlight {
    display:grid !important; grid-template-columns: 46% minmax(0,54%) !important;
    padding: 0 !important;
  }
  #root #main .spotlight .spot-image {min-height:0!important;height:100%!important;}
}
/* On phones and tablets, content takes priority over a forced fixed height.
   The cards keep matching widths, but may grow vertically to avoid clipping. */
@media (max-width: 900px) {
  #root #main > .wrap:has(> section.spotlight),
  #root #main > #giash-razzi-plans {
    width: calc(100% - 28px) !important; max-width: none !important;
    margin-left: auto !important; margin-right: auto !important;
    box-sizing: border-box !important; padding-inline: 0 !important;
  }
  #root #main > .wrap:has(> section.spotlight) > :is(
    #giash-mascots,#giash-recruitment-story,#giash-character-connections,section.spotlight
  ) {width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;}
}

/* v11.43 — fix nested width subtraction on all homepage feature siblings.
   The .wrap is the only component which applies the viewport gutters.
   Its direct feature children must NOT subtract another 40px. */
#root #main > .wrap:has(> section.spotlight) {
  box-sizing:border-box!important;
  width:min(1100px,calc(100% - 48px))!important;
  max-width:1100px!important;
  padding-inline:0!important;
  margin-inline:auto!important;
}
#root #main > .wrap:has(> section.spotlight) > #giash-mascots,
#root #main > .wrap:has(> section.spotlight) > #giash-razzi-plans,
#root #main > .wrap:has(> section.spotlight) > section.spotlight,
#root #main > .wrap:has(> section.spotlight) > #giash-recruitment-story,
#root #main > .wrap:has(> section.spotlight) > #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;
}
#root #main > .wrap:has(> section.spotlight) > #giash-razzi-plans .giash-razzi59-stage,
#root #main > .wrap:has(> section.spotlight) > #giash-razzi-plans .giash-razzi59-slide,
#root #main > .wrap:has(> section.spotlight) > #giash-recruitment-story .giash-recruitment-story-frame,
#root #main > .wrap:has(> section.spotlight) > #giash-character-connections .giash-character-stage,
#root #main > .wrap:has(> section.spotlight) > #giash-mascots .giash-mascot-stage {
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}
@media(max-width:900px){
  #root #main > .wrap:has(> section.spotlight){width:calc(100% - 28px)!important}
  #root #main > .wrap:has(> section.spotlight) > #giash-mascots,
  #root #main > .wrap:has(> section.spotlight) > #giash-razzi-plans,
  #root #main > .wrap:has(> section.spotlight) > section.spotlight,
  #root #main > .wrap:has(> section.spotlight) > #giash-recruitment-story,
  #root #main > .wrap:has(> section.spotlight) > #giash-character-connections {width:100%!important;max-width:100%!important}
}

/* v11.48: story has content-driven height; do not lock it inside the old 600px feature box. */
@media(min-width:901px){#root #main > .wrap:has(> section.spotlight) > #giash-recruitment-story{height:auto!important;min-height:0!important;overflow:visible!important}}
