/* Giash v11.48 — targeted visual repairs (loaded last on homepage) */
/* The recruitment section was fixed at 600px while its inner slide was 700px;
   this clipped CTAs. Keep the full text and both actions visible. */
@media (min-width: 901px) {
  #root #main > .wrap:has(> section.spotlight) > #giash-recruitment-story,
  #root #giash-recruitment-story {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
}
#root #giash-recruitment-story .giash-recruitment-story-frame {
  box-sizing: border-box !important;
  height: 660px !important;
  min-height: 660px !important;
  width: 100% !important;
  overflow: hidden !important;
  background: #f0faf9 !important;
  border: 0 !important;
  outline: 0 !important;
}
#root #giash-recruitment-story .giash-recruitment-story-slide {
  grid-template-columns: minmax(0, 58%) minmax(0, 42%) !important;
  background: #f0faf9 !important;
  height: 100% !important;
  overflow: hidden !important;
  border: 0 !important;
  outline: 0 !important;
}
#root #giash-recruitment-story .giash-recruitment-story-visual {
  position: relative !important;
  background: #e8f5f5 !important;
  width: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  align-items: stretch !important;
  justify-items: stretch !important;
}
/* Full picture stays readable; its own blurred edges fill the unused space.
   No flat dark strip, and none of the image's text is cut off. */
#root #giash-recruitment-story .giash-recruitment-story-visual::before {
  content: '';
  position: absolute;
  inset: -28px;
  background-image: var(--giash-story-background);
  background-size: cover;
  background-position: center;
  filter: blur(22px) saturate(1.05) brightness(1.12);
  opacity: .92;
  pointer-events: none;
}
#root #giash-recruitment-story .giash-recruitment-story-image {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  transform: none !important;
  filter: none !important;
}
#root #giash-recruitment-story .giash-recruitment-story-content {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 26px 24px !important;
  gap: 14px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  overflow: visible !important;
  background: linear-gradient(145deg, #f9fffd, #e9f5ff) !important;
  border: none !important;
  outline: none !important;
}
#root #giash-recruitment-story .giash-recruitment-story-content h3 {
  font-size: clamp(23px, 2.5vw, 33px) !important;
  line-height: 1.12 !important;
}
#root #giash-recruitment-story .giash-recruitment-story-content p {
  font-size: clamp(14px, 1.05vw, 16px) !important;
  line-height: 1.54 !important;
}
#root #giash-recruitment-story .giash-recruitment-story-links {
  margin-top: 6px !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto !important;
  display: flex !important;
  gap: 9px !important;
  flex-wrap: wrap !important;
  visibility: visible !important;
}
#root #giash-recruitment-story .giash-recruitment-story-link {
  white-space: normal !important;
  min-height: 43px;
}
/* No exposed dark seam at the right boundary of the image or card. */
#root #giash-recruitment-story .giash-recruitment-story-visual,
#root #giash-recruitment-story .giash-recruitment-story-content {
  box-shadow: none !important;
  border-right: 0 !important;
}
@media (max-width: 900px) {
  #root #giash-recruitment-story { height: auto !important; min-height: 0 !important; overflow: visible !important; }
  #root #giash-recruitment-story .giash-recruitment-story-frame { height: 1050px !important; min-height: 1050px !important; }
  #root #giash-recruitment-story .giash-recruitment-story-slide {
    grid-template-columns: 1fr !important;
    grid-template-rows: 42% 58% !important;
  }
  #root #giash-recruitment-story .giash-recruitment-story-content {
    justify-content: center !important; padding: 18px 20px !important; gap: 12px !important;
    overflow-y: auto !important;
  }
}
@media (max-width: 520px) {
  #root #giash-recruitment-story .giash-recruitment-story-frame { height: 1100px !important; min-height: 1100px !important; }
  #root #giash-recruitment-story .giash-recruitment-story-slide {grid-template-rows: 36% 64% !important;}
  #root #giash-recruitment-story .giash-recruitment-story-content {padding:18px 16px !important;gap:10px !important;}
}
/* Other previously hidden slideshow controls remain hidden. */
#giash-mascots .giash-mascot-toolbar,
#giash-recruitment-story .giash-recruitment-story-controls,
#giash-razzi-plans .giash-razzi59-toolbar,
.giash-about-controls, .giash-mv-toolbar, .giash-founder-story-controls {
  display: none !important;
}
/* Milo v11.48: new aurora/chat design; scoped away from jobs, CRM and SEO. */
#milo-panel.milo-window {
  width: min(455px, calc(100vw - 20px)) !important;
  height: min(650px, calc(100dvh - 100px)) !important;
  border-radius: 28px !important;
  border: 2px solid rgba(128, 236, 216, .86) !important;
  background: #f5fbff !important;
  box-shadow: 0 28px 80px rgba(15, 35, 90, .33), 0 0 0 5px rgba(105, 200, 242, .16) !important;
  overflow: hidden !important;
}
#milo-panel .milo-head {
  position: relative !important;
  isolation: isolate !important;
  min-height: 118px !important;
  box-sizing: border-box !important;
  padding: 18px 17px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: linear-gradient(115deg, #0c3a87 0%, #1266bf 36%, #6f3fbc 70%, #b54aa5 100%) !important;
  color: #fff !important;
  border-bottom: 3px solid #51e3d0 !important;
}
#milo-panel .milo-head-orb {position: absolute; pointer-events: none; z-index: -1; border-radius: 50%;}
#milo-panel .milo-head-orb-one {width: 140px;height: 140px;right: 36px;top: -77px;background: rgba(248, 168, 255, .24);}
#milo-panel .milo-head-orb-two {width: 105px;height: 105px;right: -35px;bottom: -53px;background: rgba(64, 255, 207, .23);}
#milo-panel .milo-head-identity {display: flex !important; gap: 12px !important; align-items: center !important;min-width:0 !important;}
#milo-panel .milo-head-avatar {height: 66px !important;width: 66px !important;flex:0 0 66px;object-fit: cover !important;border: 3px solid #fff !important;border-radius: 19px !important;box-shadow: 0 7px 20px #071c4a6e !important;}
#milo-panel .milo-head-copy {display: flex !important;flex-direction: column !important;gap: 4px !important;min-width:0 !important;}
#milo-panel .milo-head-overline {font-size: 10px !important;letter-spacing: .12em !important;font-weight: 850 !important;color:#d3fffa !important;white-space:normal !important;}
#milo-panel .milo-head-copy strong {font-size: 29px !important;letter-spacing: -.045em !important;line-height: 1.1 !important;color:#fff !important;}
#milo-panel .milo-head-spark {color: #ffdf7f !important; font-size: 18px !important;}
#milo-panel .milo-head-copy small {font-size: 11px !important;font-weight: 650 !important;color: #f0f9ff !important;display: flex;align-items:center;gap:6px;}
#milo-panel .milo-status-dot {display:inline-block;flex:0 0 7px;width:7px;height:7px;border-radius:50%;background:#86ffc0;box-shadow:0 0 0 3px #86ffc02b;}
#milo-panel button#milo-close {height: 38px !important;width: 38px !important;min-height:38px !important;flex:0 0 38px !important;border:1px solid #ffffff80 !important;border-radius:13px !important;background:#ffffff28 !important;line-height:1 !important;font-size:25px !important;color:#fff !important;}
#milo-panel .milo-log {
  gap: 17px !important;
  padding: 19px 15px 20px !important;
  background: radial-gradient(ellipse at 15% 4%,#e9fff9,transparent 56%), radial-gradient(ellipse at 90% 77%,#f0e6ff,transparent 62%),linear-gradient(180deg,#f7fbff,#f6faff) !important;
}
#milo-panel .milo-chat-row.is-milo .milo-msg {background:linear-gradient(155deg,#fff,#f5fff8)!important;border:1px solid #d3e8e9!important;border-radius:18px 18px 18px 5px!important;color:#153855!important;box-shadow:0 8px 18px #0e54711c!important;padding:13px 15px!important;}
#milo-panel .milo-chat-row.is-user .milo-msg {background:linear-gradient(120deg,#066eaf,#7252cc 80%,#9655b7)!important;color:#fff!important;border:1px solid #99def1!important;border-radius:18px 18px 5px 18px!important;box-shadow:0 8px 18px #303e8b30!important;padding:13px 15px!important;}
#milo-panel .milo-chat-avatar {height:38px !important;width:38px !important;object-fit:cover!important;border:2px solid #fff!important;border-radius:14px!important;box-shadow:0 5px 14px #24517744!important;}
#milo-panel .milo-input {background:#fff!important;border-top:2px solid #dce9f7!important;padding:13px 12px!important;gap:9px!important;align-items:center!important;box-shadow:0 -6px 20px #355c8f0b!important;}
#milo-panel .milo-input textarea {background:#f7fbff!important;border:1px solid #abcddd!important;border-radius:14px!important;min-height:48px!important;padding:12px!important;box-shadow:inset 0 1px 3px #0e4d6f15!important;}
#milo-panel .milo-input textarea:focus {outline:2px solid #408bd7!important;outline-offset:1px;}
#milo-panel .milo-input button[type=submit] {background:linear-gradient(115deg,#067e82,#6250bc)!important;border-radius:14px!important;padding:12px 13px!important;box-shadow:0 5px 14px #2d4e8744!important;color:#fff!important;}
#milo-panel .milo-input .milo-mic-button {border-radius:14px!important;background:#e7f5ff!important;color:#185d89!important;border:1px solid #a0cee1!important;}
#milo-panel .milo-status {background:#fff!important;border-top:0!important;color:#44627a!important;}
#milo-launch.milo-launch {background:linear-gradient(118deg,#056c8b,#126dc2 42%,#8451b9 78%,#ad4e96)!important;border:1px solid #cef8ff!important;box-shadow:0 10px 28px #2451836b!important;}
@media(max-width:640px){
  #milo-panel.milo-window {width:calc(100vw - 16px)!important;right:8px!important;height:min(640px,calc(100dvh - 82px))!important;border-radius:22px!important;}
  #milo-panel .milo-head {min-height:98px!important;padding:12px!important;}
  #milo-panel .milo-head-avatar {height:55px!important;width:55px!important;flex-basis:55px!important;}
  #milo-panel .milo-head-copy strong {font-size:25px!important;}
  #milo-panel .milo-head-overline {font-size:9px!important;}
}
@media(prefers-reduced-motion:reduce){#milo-panel .milo-head-orb{display:none}}
