/* Adapted from the supplied Monst centered-copy / floating-dashboard composition.
   Section-only styles: the approved navigation, footer and other sections stay intact. */
.ath-portal-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 96px 0 52px;
    color: #132d46;
    scroll-margin-top: 92px;
}
.ath-portal-hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    top: 0;
    left: 50%;
    width: 130%;
    height: calc(100% - 165px);
    transform: translateX(-50%);
    border-radius: 0 0 50% 50% / 0 0 16% 16%;
    background: linear-gradient(160deg, #eaf5f8 0%, #f1f8fa 55%, #e4f2f5 100%);
}
.ath-portal-copy { max-width: 790px; margin: 0 auto; text-align: center; }
.ath-portal-eyebrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin: 0 0 21px;
    color: #236d80;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.ath-portal-copy h2 {
    margin: 0 0 24px;
    color: #132d46;
    font-family: Quicksand, sans-serif;
    font-size: clamp(32px, 3.4vw, 46px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.025em;
}
.ath-portal-copy h2 span { color: #17698c; }
.ath-portal-description {
    max-width: 680px;
    margin: 0 auto 28px;
    color: #526879;
    font-size: 17px;
    line-height: 1.8;
}
.ath-portal-actions { display: flex; align-items: center; justify-content: center; gap: 28px; }
.ath-portal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 53px;
    padding: 14px 24px;
    border: 1px solid #1c658c;
    border-radius: 5px;
    background: linear-gradient(125deg, #173f70, #167fa8);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    transition: background-color .2s ease, box-shadow .2s ease;
}
.ath-portal-button:hover, .ath-portal-button:focus-visible { color: #fff; box-shadow: 0 8px 20px #163f7026; background: #146d87; }
.ath-portal-process-link { color: #21495f; font-weight: 800; font-size: 14px; }
.ath-portal-process-link span { display: inline-block; margin-left: 9px; transition: transform .2s ease; }
.ath-portal-process-link:hover, .ath-portal-process-link:focus-visible { color: #126e7c; }
.ath-portal-process-link:hover span { transform: translateX(3px); }
.ath-portal-figure { margin: 38px 0 0; }
.ath-portal-stage {
    position: relative;
    width: min(100%, 1152px);
    aspect-ratio: 1440 / 810;
    margin: 0 auto;
}
.ath-portal-pattern { position: absolute; inset: 0; pointer-events: none; user-select: none; }
.ath-portal-pattern::before, .ath-portal-pattern::after {
    content: "";
    position: absolute;
    border: 1px solid #b9d8e0;
    border-radius: 50%;
}
.ath-portal-pattern::before { width: 55%; aspect-ratio: 1; left: -7%; top: -1%; }
.ath-portal-pattern::after { width: 49%; aspect-ratio: 1; right: -7%; bottom: 0; border-color: #cee3e8; }
.ath-portal-pattern span { position: absolute; border-radius: 50%; background: #177b9819; }
.ath-portal-pattern span:nth-child(1) { width: 12%; aspect-ratio: 1; left: 0; top: 26%; }
.ath-portal-pattern span:nth-child(2) { width: 5%; aspect-ratio: 1; right: 0; top: 11%; background: #2eaaa733; }
.ath-portal-pattern span:nth-child(3) { width: 9%; aspect-ratio: 1; right: 1%; bottom: 13%; background: #173f7012; }
.ath-portal-dashboard {
    display: block;
    position: absolute;
    top: 9%;
    left: 7%;
    width: 86%;
    overflow: hidden;
    border: 1px solid #cbdce3;
    border-radius: 10px;
    box-shadow: 0 22px 46px #183e6c1f;
    background: white;
    animation: ath-portal-float 1.4s ease-in-out infinite alternate;
    animation-play-state: paused;
    translate: 0 0;
    transition: translate .45s cubic-bezier(.22, 1, .36, 1), box-shadow .35s ease, border-color .35s ease;
}
.ath-portal-dashboard img { display: block; width: 100%; height: auto; }
.ath-portal-hero[data-motion="running"] .ath-portal-dashboard { animation-play-state: running; }
@keyframes ath-portal-float { from { transform: translateY(8px); } to { transform: translateY(0); } }
.ath-portal-widget {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 18px;
    border: 1px solid #d5e4eb;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 10px 28px #183e6c14;
    animation: ath-portal-widget-float 2.4s ease-in-out infinite alternate;
    animation-play-state: paused;
    translate: 0 0;
    transition: translate .4s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease, border-color .3s ease;
}
.ath-portal-widget-vacancies { bottom: calc(91% + 10px); left: 3%; }
.ath-portal-widget-pipeline { bottom: 2%; right: 3%; animation-duration: 2.7s; animation-delay: -1.3s; }
.ath-portal-widget-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    height: 40px;
    border-radius: 8px;
    color: #176b9a;
    background: #eaf4fb;
    font-size: 17px;
}
.ath-portal-widget-pipeline .ath-portal-widget-icon { color: #147e7b; background: #e7f6f3; }
.ath-portal-widget strong { display: block; color: #183e59; font: 700 15px/1.4 Quicksand, sans-serif; }
.ath-portal-widget div > span { display: block; margin-top: 3px; color: #617380; font-size: 12px; line-height: 1.5; }
.ath-portal-widget-trail { display: flex; gap: 5px; margin-left: 7px; }
.ath-portal-widget-trail i { width: 7px; height: 7px; border-radius: 50%; background: #1d8c87; }
.ath-portal-widget-trail i:nth-child(2) { opacity: .55; }
.ath-portal-widget-trail i:nth-child(3) { opacity: .25; }
.ath-portal-hero[data-motion="running"] .ath-portal-widget { animation-play-state: running; }
/* Independent translate layers over the idle transform animation without a jump.
   Fine-pointer hover only; the existing pause control also disables this lift. */
@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
    .ath-portal-hero[data-motion="running"] .ath-portal-dashboard:is(:hover, :focus-visible) {
        translate: 0 -4px;
        border-color: #a6cbd9;
        box-shadow: 0 28px 52px #183e6c2b;
    }
    .ath-portal-hero[data-motion="running"] .ath-portal-widget:hover {
        translate: 0 -4px;
        border-color: #b4d5df;
        box-shadow: 0 15px 32px #183e6c24;
    }
}
@keyframes ath-portal-widget-float { from { transform: translateY(0); } to { transform: translateY(-6px); } }
.ath-portal-caption {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    max-width: 990px;
    margin: -5px auto 0;
    padding: 21px 0 0;
    border-top: 1px solid #dce7ec;
}
.ath-portal-caption strong, .ath-portal-caption > div > span { display: block; }
.ath-portal-caption strong { color: #183e59; font-size: 14px; font-weight: 800; margin-bottom: 5px; }
.ath-portal-caption > div > span { max-width: 520px; color: #617380; font-size: 12px; line-height: 1.65; }
.ath-portal-preview-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 12px 20px; }
.ath-portal-preview-actions a { color: #1c647a; font-size: 13px; font-weight: 800; white-space: nowrap; }
.ath-portal-motion {
    border: 0;
    border-bottom: 1px dotted #7d9ba8;
    padding: 0 0 3px;
    background: transparent;
    color: #526879;
    font: 600 12px/1.6 Nunito, sans-serif;
    cursor: pointer;
}
.ath-portal-motion[hidden] { display: none; }
.ath-portal-preview-actions a:hover, .ath-portal-motion:hover { color: #0a6271; }
.ath-portal-hero a:focus-visible, .ath-portal-motion:focus-visible { outline: 2px solid #c25946; outline-offset: 5px; }
.ath-portal-terms { margin: 24px auto 0; color: #617380; text-align: center; font-size: 12px; line-height: 1.7; }
@media (max-width: 991px) {
    .ath-portal-hero { padding-top: 72px; }
    .ath-portal-description { font-size: 16px; }
    .ath-portal-dashboard { position: relative; top: auto; width: 94%; left: 3%; }
    .ath-portal-stage { aspect-ratio: auto; padding: 84px 0 96px; }
    .ath-portal-widget-vacancies { top: 0; bottom: auto; left: 0; }
    .ath-portal-widget-pipeline { bottom: 0; right: 0; }
    .ath-portal-caption { gap: 18px; }
    .ath-portal-preview-actions { max-width: 220px; }
}
@media (max-width: 767px) {
    .ath-portal-hero { padding: 56px 0 38px; }
    .ath-portal-hero::before { width: 180%; height: calc(100% - 130px); border-radius: 0 0 50% 50% / 0 0 8% 8%; }
    .ath-portal-eyebrow { font-size: 11px; margin-bottom: 19px; }
    .ath-portal-copy h2 { font-size: clamp(28px, 6.8vw, 38px); line-height: 1.3; margin-bottom: 20px; }
    .ath-portal-title-break { display: none; }
    .ath-portal-description { font-size: 15px; line-height: 1.75; margin-bottom: 23px; }
    .ath-portal-actions { flex-direction: column; gap: 19px; }
    .ath-portal-button { min-height: 50px; }
    .ath-portal-figure { margin-top: 32px; }
    .ath-portal-stage { aspect-ratio: auto; padding: 18px 0 32px; }
    .ath-portal-dashboard { position: relative; top: auto; left: auto; width: 100%; border-radius: 5px; box-shadow: 0 12px 25px #183e6c1c; }
    .ath-portal-widget { position: relative; inset: auto; margin-top: 14px; padding: 12px 14px; animation: none; box-shadow: 0 5px 14px #183e6c0c; }
    .ath-portal-widget-pipeline { margin-top: 9px; }
    .ath-portal-dashboard, .ath-portal-widget { translate: none; transition: none; }
    .ath-portal-widget-trail { margin-left: auto; }
    .ath-portal-pattern::before { left: -10%; top: -8%; }
    .ath-portal-pattern::after { right: -8%; bottom: 0; }
    .ath-portal-pattern span:nth-child(2) { right: 0; top: 0; }
    .ath-portal-caption { flex-direction: column; gap: 14px; padding-top: 17px; margin-top: 0; }
    .ath-portal-preview-actions { max-width: none; justify-content: flex-start; flex-direction: row-reverse; }
    .ath-portal-terms { text-align: left; font-size: 11px; margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .ath-portal-dashboard, .ath-portal-widget { animation: none !important; transform: none; translate: none !important; }
    .ath-portal-hero a, .ath-portal-hero a span, .ath-portal-widget { transition: none; }
}
