/* Giash 11.54 — targeted presentation corrections. Last CSS on the homepage. */
/* Hide the 1px right-edge seam in both story carousels without cropping buttons or text. */
#root #giash-character-connections,
#root #giash-character-connections .giash-character-stage,
#root #giash-character-connections .giash-character-slide,
#root #giash-character-connections .giash-character-copy,
#root #giash-recruitment-story .giash-recruitment-story-frame,
#root #giash-recruitment-story .giash-recruitment-story-slide,
#root #giash-recruitment-story .giash-recruitment-story-content {
  border: 0 !important;
  border-right: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background-clip: padding-box !important;
}
#root #giash-character-connections .giash-character-stage,
#root #giash-recruitment-story .giash-recruitment-story-frame {
  isolation:isolate!important;
  background:#f2faff!important;
}
#root #giash-character-connections .giash-character-slide,
#root #giash-character-connections .giash-character-slide.is-active {transform:none!important;transition:opacity .5s ease,visibility .5s ease!important;}
#root #giash-character-connections .giash-character-copy {background:#f2faff!important;}
#root #giash-character-connections .giash-character-stage::before,
#root #giash-character-connections .giash-character-stage::after,
#root #giash-recruitment-story .giash-recruitment-story-frame::before,
#root #giash-recruitment-story .giash-recruitment-story-frame::after {border:0!important;box-shadow:none!important;}
/* New gallery images have had their embedded white decorative stroke removed.
   Do not overlay another line via an animation or pseudo-element. */
#root .search-hero.giash-photo-home > .giash-slide-images {border:0!important;outline:0!important;box-shadow:none!important;}
#root .search-hero.giash-photo-home > .giash-slide-images > img {border:0!important;outline:0!important;box-shadow:none!important;}
/* Sector descriptions: avoid separate opaque boxes and blend naturally with page background. */
.giash-public-page .sector-sector-grid a {background:rgba(21,124,94,.035)!important;border:0!important;box-shadow:none!important;align-items:center!important;padding:12px!important;gap:14px!important;min-width:0!important;}
.giash-public-page .sector-sector-grid a:hover,.giash-public-page .sector-sector-grid a:focus-visible {background:rgba(21,124,94,.09)!important;}
.giash-sector-card-copy,.giash-sector-home-copy{display:flex;flex-direction:column;gap:5px;min-width:0;}
.giash-sector-card-copy strong,.giash-sector-home-copy strong{font-size:.91rem;line-height:1.25;white-space:normal;}
.giash-sector-card-copy small,.giash-sector-home-copy small{font-size:.76rem;line-height:1.42;color:#476d60;font-weight:500;white-space:normal;}
#root .sector-home-links nav a.sector-card {background:rgba(255,255,255,.10)!important;border-color:transparent!important;box-shadow:none!important;padding:13px!important;min-height:87px!important;}
#root .sector-home-links nav a.sector-card:hover,#root .sector-home-links nav a.sector-card:focus-visible {background:rgba(255,255,255,.20)!important;}
#root .sector-home-links nav a.sector-card .giash-sector-home-copy small{color:inherit;opacity:.78;}
#root .sector-home-links nav a.sector-card .sector-card-icon{background:rgba(255,255,255,.28)!important;}
@media(max-width:800px){.giash-public-page .sector-sector-grid a{min-height:105px!important;}#root .sector-home-links nav{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:480px){#root .sector-home-links nav{grid-template-columns:1fr!important;}#root .sector-home-links nav a.sector-card{min-height:70px!important;}}

/* v11.55: The new Milo hoodie photograph replaces ONLY the homepage mascot carousel image.
   Preserve the full logo and ears at desktop and mobile sizes; do not alter the chat avatar. */
#giash-mascots .giash-mascot-portrait.giash-milo-feature-photo {
  object-fit: contain !important;
  object-position: center center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  transform: none !important;
  filter: none !important;
  background: linear-gradient(135deg,#161c41 0%,#334a82 50%,#171b43 100%);
}
#giash-mascots .giash-mascot-visual:has(.giash-milo-feature-photo)::after {
  background: none !important;
}


/* v11.58: smaller, readable homepage sector links and no white job-filter rule.
   Scope exclusively to public homepage; keep account, staff and /sectors UIs intact. */
#root .search-hero.giash-photo-home .sector-home-links {
  padding-block:8px 14px!important;
  margin-bottom:10px!important;
}
#root .search-hero.giash-photo-home .sector-home-links h2 {
  margin-bottom:5px!important;
  font-size:clamp(1rem,1.5vw,1.18rem)!important;
}
#root .search-hero.giash-photo-home .sector-home-links nav {
  gap:6px!important;
}
#root .search-hero.giash-photo-home .sector-home-links nav a.sector-card,
#root .search-hero.giash-photo-home .sector-home-links nav a.sector-all {
  min-height:53px!important;
  padding:6px 9px!important;
  border-radius:8px!important;
  gap:7px!important;
  line-height:1.15!important;
}
#root .search-hero.giash-photo-home .sector-home-links nav a .sector-card-icon {
  width:22px!important;
  height:22px!important;
  flex:0 0 22px!important;
  font-size:1rem!important;
}
#root .search-hero.giash-photo-home .sector-home-links .giash-sector-home-copy {gap:2px!important;}
#root .search-hero.giash-photo-home .sector-home-links .giash-sector-home-copy strong {
  font-size:clamp(.75rem,.85vw,.83rem)!important;
  line-height:1.15!important;
  letter-spacing:-.01em;
}
#root .search-hero.giash-photo-home .sector-home-links .giash-sector-home-copy small {
  font-size:clamp(.67rem,.73vw,.72rem)!important;
  line-height:1.2!important;
  opacity:.9!important;
}
/* The 1px line in the screenshot was the bottom border on the job-category tabs. */
#root .search-hero.giash-photo-home .giash-inline-jobs .category-tabs {
  border-bottom:0!important;
  box-shadow:none!important;
  padding-bottom:7px!important;
}
/* Keep the sector links and results on the same photo/gradient surface. */
#root .search-hero.giash-photo-home .giash-inline-jobs .results-meta {border-top:0!important;}
@media(max-width:760px){
  #root .search-hero.giash-photo-home .sector-home-links nav a.sector-card,
  #root .search-hero.giash-photo-home .sector-home-links nav a.sector-all {
    min-height:54px!important;
    padding:7px 8px!important;
  }
}
@media(max-width:480px){
  #root .search-hero.giash-photo-home .sector-home-links nav a.sector-card,
  #root .search-hero.giash-photo-home .sector-home-links nav a.sector-all {min-height:49px!important;}
}
