/* MOSHPA's selected Blue Frame homepage, shared by MN and EN. */
.redesigned-home .redesign-header { background: #fff; }
.redesigned-home main > section.home-hero-shell {
  max-width: none;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
}
.blue-frame {
  --hero-blue: #1f487c;
  --hero-red: #fd0101;
  background: var(--hero-blue);
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}
.blue-frame *, .blue-frame *::before, .blue-frame *::after { box-sizing: border-box; }
.blue-frame .hero-stage {
  position: relative;
  display: grid;
  min-height: calc(100vh - var(--home-header-height, 120px));
  min-height: calc(100svh - var(--home-header-height, 120px));
}
.blue-frame .hero-slides { display: grid; }
.blue-frame .hero-slide { grid-area: 1 / 1; }
.blue-frame .hero-slide[aria-hidden="true"] { visibility: hidden; pointer-events: none; }
.blue-frame .hero-experts-title { margin: 0; color: #fff; font: 700 clamp(30px, 4vw, 48px)/1.15 Arial, sans-serif; letter-spacing: -.025em; }
.blue-frame .hero-experts-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-size: 16px; font-weight: 600; color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.blue-frame .hero-expert-portraits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-content: center; padding: 25px 24px 25px 0; }
.blue-frame .hero-expert-person { display: flex; flex-direction: column; align-items: center; gap: 13px; text-align: center; min-width: 0; text-decoration: none; color: #fff; }
.blue-frame .hero-expert-person img { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; object-position: center bottom; border-radius: 50%; background: #e7e7e7; }
.blue-frame .hero-expert-person strong { font: 700 clamp(13px, 1.4vw, 18px)/1.4 Arial, sans-serif; overflow-wrap: anywhere; }
.blue-frame .hero-expert-person:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.blue-frame .hero-carousel-controls { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 5px; position: absolute; inset: auto 0 0; padding: 8px 24px 12px; }
.blue-frame .hero-carousel-controls[hidden] { display: none; }
.blue-frame .hero-carousel-controls button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; font: 14px/1.5 Arial, sans-serif; }
.blue-frame .hero-carousel-controls button:hover { background: #ffffff15; }
.blue-frame .hero-carousel-controls .hero-slide-arrow { font-size: 26px; }
.blue-frame .hero-slide-dots { display: flex; }
.blue-frame .hero-slide-dot::before { content: ''; display: block; width: 8px; height: 8px; border-radius: 50%; background: #9fb5d0; }
.blue-frame .hero-slide-dot[aria-pressed="true"]::before { width: 22px; border-radius: 6px; background: #fff; }
.blue-frame .hero-slide-count { min-width: 43px; text-align: center; font-size: 12px; font-variant-numeric: tabular-nums; color: #e2eaf4; }
.blue-frame .hero-carousel-controls .hero-auto-toggle { margin-left: 10px; border: 1px solid #819cbc; padding-inline: 12px; font-size: 12px; }
.blue-frame .hero-quicklinks { display: flex; flex-wrap: wrap; gap: 10px 25px; }
.blue-frame .hero-directory { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 14px; border: 1px solid #91a9c6; border-radius: 9px; background: #2c5585; font-size: 15px; line-height: 1.5; font-weight: 700; color: #fff; text-decoration: none; }
.blue-frame .hero-directory:hover { text-decoration: underline; text-underline-offset: 4px; }
.blue-frame .hero-top {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  min-height: 365px;
}
.blue-frame .hero-copy { padding: clamp(28px, 3.6vw, 48px) max(clamp(24px, 5vw, 64px), calc((100vw - 1200px) / 2)) 28px; align-self: center; }
.blue-frame .hero-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 23px;
  color: #f0f5fc;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: .1em;
}
.blue-frame .hero-kicker::before { content: ''; width: 25px; height: 4px; border-radius: 3px; flex: none; background: var(--hero-red); }
.blue-frame h1 {
  margin: 0;
  color: #fff;
  font: 700 clamp(36px, 4.7vw, 58px)/1.12 Arial, sans-serif;
  letter-spacing: -.025em;
  overflow-wrap: normal;
}
.blue-frame .hero-intro { margin: 24px 0 0; max-width: 430px; color: #e2eaf4; font-size: clamp(15px, 1.6vw, 18px); line-height: 1.8; }
.blue-frame .hero-top { position: relative; isolation: isolate; padding-bottom: 68px; }
.blue-frame .hero-top:first-child .hero-copy { z-index: 1; grid-column: 1 / -1; }
.blue-frame .hero-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  margin: 0;
}
.blue-frame .hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.blue-frame .hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0a203aee, #102e50c9 32%, #102e501a 72%), linear-gradient(0deg, #0a203abf, transparent 25%);
}
.blue-frame .hero-account {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 10px 20px;
  border-radius: 8px;
  background: #df1017;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.blue-frame .hero-account:hover { background: #bd0d13; }
.blue-frame .hero-navigator { max-width: 1200px; margin-inline: auto; padding: 28px clamp(24px, 3vw, 40px) 24px; }
.blue-frame .hero-navigator-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.blue-frame .hero-guide { display: flex; align-items: center; gap: 13px; font-size: 15px; line-height: 1.4; font-weight: 600; }
.blue-frame .hero-orb {
  position: relative;
  width: 39px;
  height: 39px;
  border: 1px solid #adc2dc;
  border-radius: 50%;
  flex: none;
  background: radial-gradient(circle at 30% 20%, #fff 0%, #dbe8f8 13%, #5880af 48%, #1f487c 75%);
  box-shadow: inset -2px -2px 5px #12315455, 0 0 0 5px #ffffff09;
}
.blue-frame .hero-orb::after { content: ''; width: 8px; height: 8px; border-radius: 50%; position: absolute; right: 0; bottom: 0; background: var(--hero-red); border: 1px solid #fff; }
.blue-frame .hero-personas { display: flex; flex-wrap: wrap; gap: 8px; }
.blue-frame .hero-persona {
  padding: 11px 15px;
  min-height: 46px;
  border: 1px solid #8da5c2;
  border-radius: 10px;
  background: #2c5585;
  color: #fff;
  font: 500 14px/1.5 Arial, sans-serif;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
.blue-frame .hero-persona[aria-pressed="true"] { background: #fff; border-color: #fff; color: var(--hero-blue); font-weight: 700; }
.blue-frame .hero-persona:hover { transform: translateY(-2px); }
.blue-frame .hero-result { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px; background: #fff; color: var(--hero-blue); border-radius: 15px; }
.blue-frame .hero-result-copy { min-width: 0; }
.blue-frame .hero-result h2 { margin: 0 0 8px; font: 700 clamp(20px, 2.2vw, 27px)/1.3 Arial, sans-serif; letter-spacing: -.015em; color: var(--hero-blue); }
.blue-frame .hero-result p { margin: 0; max-width: 580px; font-size: 14px; line-height: 1.7; color: #526378; }
.blue-frame .hero-primary {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex: none;
  max-width: 280px;
  min-height: 54px;
  padding: 15px 21px;
  border-radius: 11px;
  background: #df1017;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: transform .18s, background .18s;
}
.blue-frame .hero-primary:hover { background: #c90c14; transform: translateY(-2px); }
.blue-frame .hero-primary > span:last-child { flex: none; }
.blue-frame .hero-navigator-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 20px; margin-top: 12px; font-size: 12px; line-height: 1.6; color: #e0eaf6; }
.blue-frame .hero-ask { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #fff; font-size: 15px; text-decoration: none; }
.blue-frame .hero-ask:hover { text-decoration: underline; text-underline-offset: 4px; }
.blue-frame .hero-questionmark { display: inline-grid; place-items: center; flex: none; width: 21px; height: 21px; border: 1px solid currentColor; border-radius: 50%; font: 14px/1 Arial, sans-serif; }
.redesigned-home .blue-frame :focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.redesigned-home .blue-frame .hero-primary:focus-visible { outline-color: #1f487c; }
.blue-frame .hero-fallback { margin-top: 12px; font-size: 14px; }
.blue-frame .hero-fallback a { color: #fff; text-decoration: underline; margin-right: 15px; }
@media (max-width: 900px) {
  .blue-frame .hero-top { min-height: 320px; }
  .blue-frame .hero-navigator-head { gap: 16px; }
  .blue-frame .hero-guide { font-size: 13px; }
  .blue-frame .hero-persona { font-size: 12px; padding: 10px; }
  .blue-frame .hero-primary { font-size: 15px; max-width: 210px; padding: 14px 17px; }
}
@media (max-width: 700px) {
  .blue-frame .hero-top { grid-template-columns: minmax(0, 1fr); }
  .blue-frame .hero-copy { padding: 24px; }
  .blue-frame .hero-top:first-child .hero-copy { align-self: end; }
  .blue-frame .hero-kicker { font-size: 11px; margin-bottom: 18px; }
  .blue-frame h1 { font-size: clamp(30px, 7.8vw, 46px); }
  .blue-frame .hero-intro { margin-top: 18px; font-size: 15px; }
  .blue-frame .hero-photo img { object-position: 60% center; }
  .blue-frame .hero-photo::after { background: linear-gradient(0deg, #0a203af5 4%, #0a203ad9 27%, #102e5038 77%); }
  .blue-frame .hero-navigator { padding: 25px 20px 20px; }
  .blue-frame .hero-navigator-head { flex-direction: column; align-items: flex-start; }
  .blue-frame .hero-guide { font-size: 14px; }
  .blue-frame .hero-experts-title { font-size: clamp(29px, 6.8vw, 40px); }
  .blue-frame .hero-expert-portraits { align-content: center; padding: 0 20px 20px; gap: 10px; }
  .blue-frame .hero-expert-person img { max-width: 150px; }
  .blue-frame .hero-expert-person strong { font-size: 13px; }
  .blue-frame .hero-carousel-controls { justify-content: center; padding-inline: 4px; gap: 0; }
  .blue-frame .hero-carousel-controls button { min-width: 36px; }
  .blue-frame .hero-slide-count { display: none; }
  .blue-frame .hero-carousel-controls .hero-auto-toggle { margin-left: 4px; font-size: 11px; }
  .blue-frame .hero-quicklinks { flex-direction: column; gap: 2px; }
  .blue-frame .hero-personas { gap: 7px; }
  .blue-frame .hero-persona { font-size: 12px; min-height: 44px; padding: 10px; }
  .blue-frame .hero-result { padding: 19px; flex-direction: column; align-items: stretch; gap: 18px; }
  .blue-frame .hero-result h2 { font-size: 22px; }
  .blue-frame .hero-result p { font-size: 13px; }
  .blue-frame .hero-primary { max-width: none; width: 100%; font-size: 16px; }
  .blue-frame .hero-navigator-foot { flex-direction: column; align-items: flex-start; gap: 0; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .blue-frame *, .blue-frame *::before, .blue-frame *::after { transition: none !important; animation: none !important; }
}
