/* Homepage-only portal hero. All layout stays in normal flow except the photograph. */
.portal-home .search-top, .portal-home .icon-float { display: none; }
.portal-hero { color: #fff; }
.portal-hero__scene { position: relative; isolation: isolate; background: #102c43; overflow: hidden; }
.portal-hero__image { position: absolute; z-index: -2; right: 0; top: 0; width: 62%; height: 100%; object-fit: cover; object-position: center 45%; }
.portal-hero__scene::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #102c43 0%, #102c43 35%, #102c43db 48%, #102c4340 73%, #102c4310 100%); }
.portal-hero__scene::after { content: ""; position: absolute; pointer-events: none; right: -70px; bottom: -120px; width: 180px; height: 400px; transform: rotate(35deg); background: #ef7949b3; z-index: -1; }
.portal-hero__inner { padding-top: 44px; padding-bottom: 30px; }
.portal-hero__copy { max-width: 590px; }
.portal-hero__eyebrow { margin: 0 0 16px; color: #ffbd96; font-size: 11px; font-weight: 700; letter-spacing: 2px; line-height: 1.5; }
.portal-hero h1 { color: #fff; margin: 0 0 16px; font-size: clamp(32px, 3.5vw, 46px); font-weight: 700; line-height: 1.12; letter-spacing: -1.2px; text-wrap: balance; }
.portal-hero__description { max-width: 500px; color: #e0e7ed; font-size: 16px; line-height: 1.6; margin: 0 0 26px; }
.portal-search { max-width: 900px; margin: 0; position: relative; }
.portal-search__main { display: grid; grid-template-columns: 1.3fr 1fr auto; align-items: center; padding: 7px; background: #fff; border-radius: 8px; box-shadow: 0 8px 24px #00142326; }
.portal-search__field { min-width: 0; padding: 5px 16px; }
.portal-search__keyword { border-right: 1px solid #dde3e9; }
.portal-search label { display: block; color: #24384b; font-size: 12px; font-weight: 700; line-height: 1.5; margin: 0 0 4px; }
.portal-search .portal-search__field input, .portal-search .portal-search__field select { display: block; width: 100%; min-width: 0; height: 26px; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; color: #526270; font-size: 14px; }
.portal-search__submit { min-height: 54px; padding: 0 23px; border: 0; border-radius: 5px; background: #d95127; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
.portal-search__submit:hover { background: #b8401c; }
.portal-search__submit i { margin-right: 7px; }
.portal-search__filters { margin-top: 12px; max-width: 570px; }
.portal-search__filters summary { display: list-item; width: fit-content; color: #e1e8ef; font-size: 12px; cursor: pointer; padding: 4px 0; }
.portal-search__options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; padding: 16px; border-radius: 6px; margin-top: 10px; }
.portal-search__options > div { min-width: 0; }
.portal-search__options select { width: 100%; height: 40px; border: 1px solid #cdd6df; border-radius: 4px; color: #24384b; background: #fff; padding: 0 8px; font-size: 14px; }
.portal-hero__links { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 16px; font-size: 13px; }
.portal-hero__links > span { color: #aebfce; }
.portal-hero__links a { color: #fff; font-size: inherit; font-weight: 600; }
.portal-hero__links a:hover { text-decoration: underline; }
.portal-hero__links a span { margin-left: 6px; color: #ffbd96; }
.portal-hero :is(input, select, button, a, summary):focus-visible { outline: 3px solid #f3a66d; outline-offset: 4px; }
.portal-hero__stats { background: #edf3f7; border-top: 1px solid #dce6ed; border-bottom: 1px solid #dce6ed; }
.portal-hero__stats ul { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 20px; padding-bottom: 20px; margin-bottom: 0; list-style: none; }
.portal-hero__stats li { display: flex; align-items: baseline; justify-content: center; gap: 10px; border-right: 1px solid #ccd9e2; }
.portal-hero__stats li:last-child { border: 0; }
.portal-hero__stats strong { color: #0d304d; font-size: 25px; line-height: 1.3; font-weight: 800; }
.portal-hero__stats li span { color: #4f6272; font-size: 13px; font-weight: 500; }
@media (max-width: 992px) {
    .portal-home .ed-mob-menu { position: relative; }
    .portal-home .ed-mob-menu-con { display: flow-root; }
    .portal-hero__copy { max-width: 510px; }
    .portal-hero__image { width: 70%; }
    .portal-hero__scene::before { background: linear-gradient(90deg, #102c43 0%, #102c43ef 40%, #102c4370 100%); }
    .portal-search__field { padding: 5px 10px; }
    .portal-search__submit { padding: 0 16px; }
}
@media (max-width: 600px) {
    .portal-hero__scene { padding-top: 170px; background: #f5f7f9; }
    .portal-hero__inner { width: auto; margin: 0 16px 20px; padding: 24px 18px 22px; background: #102c43; border-radius: 5px; }
    .portal-hero__image { width: 100%; height: 230px; object-position: center 42%; opacity: 1; }
    .portal-hero__scene::before { display: none; }
    .portal-hero__scene::after { display: none; }
    .portal-hero h1 { font-size: 28px; letter-spacing: -.5px; max-width: 420px; }
    .portal-hero__eyebrow { font-size: 10px; letter-spacing: 1.5px; margin-bottom: 12px; }
    .portal-hero__description { font-size: 14px; margin-bottom: 20px; }
    .portal-search__main { grid-template-columns: 1fr; padding: 8px; gap: 4px; }
    .portal-search__field { padding: 8px 10px; }
    .portal-search__keyword { border-right: 0; border-bottom: 1px solid #dde3e9; }
    .portal-search .portal-search__field input, .portal-search .portal-search__field select { font-size: 16px; height: 28px; }
    .portal-search__submit { min-height: 46px; margin-top: 3px; }
    .portal-search__options { gap: 10px; padding: 12px; }
    .portal-hero__links { gap: 14px; font-size: 12px; }
    .portal-hero__stats ul { grid-template-columns: repeat(2, 1fr); gap: 16px 0; padding: 18px 12px; }
    .portal-hero__stats li { gap: 8px; }
    .portal-hero__stats li:nth-child(2) { border-right: 0; }
    .portal-hero__stats strong { font-size: 21px; }
    .portal-hero__stats li span { font-size: 12px; }
}
