.home-resource-hero {
    position: relative;
    display: grid;
    width: min(100% - 32px, 980px);
    min-height: 340px;
    align-items: center;
    margin: 22px auto 0;
    overflow: hidden;
    isolation: isolate;
    background: #243849;
}

.home-resource-slides,
.home-resource-shade {
    position: absolute;
    z-index: -1;
    inset: 0;
}

.home-resource-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1.15s ease-in-out;
}

.home-resource-slide.is-active {
    opacity: 1;
}

.home-resource-shade {
    background: linear-gradient(90deg, rgba(7, 20, 33, 0.62), rgba(7, 20, 33, 0.3));
}

.home-resource-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
    padding: 48px;
}

.home-resource-card {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 18px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #ffffff;
    text-decoration: none;
    text-align: center;
}

.home-resource-card:hover,
.home-resource-card:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    text-decoration: none;
}

.home-resource-card:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.home-resource-icon {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    place-items: center;
    background: transparent;
    color: #ffffff;
}

.home-resource-icon svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
    stroke: currentColor;
    stroke-linecap: square;
    stroke-linejoin: miter;
    stroke-width: 1.5;
}

.home-resource-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.home-resource-copy strong {
    display: inline-flex;
    min-height: 44px;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border: 1px solid #138047;
    border-radius: 4px;
    background: #138047;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    font-size: 15px;
    line-height: 1.3;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.home-resource-card:hover .home-resource-copy strong,
.home-resource-card:focus-visible .home-resource-copy strong {
    border-color: #0c6637;
    background: #0c6637;
}

.home-resource-copy > span {
    max-width: 340px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.55;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
}

.allocation-update {
    display: grid;
    width: min(100% - 32px, 980px);
    grid-template-columns: minmax(0, 1fr) 248px;
    margin: 18px auto 0;
    overflow: hidden;
    border: 1px solid #e1e7e4;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(23, 43, 69, 0.08);
}

.allocation-update-copy {
    min-width: 0;
    align-self: center;
    padding: 24px 28px;
}

.allocation-update-eyebrow {
    margin: 0 0 7px;
    color: #278354;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.allocation-update-copy h2 {
    max-width: 560px;
    margin: 0 0 9px;
    color: #17314f;
    font-size: clamp(19px, 2.4vw, 25px);
    line-height: 1.3;
}

.allocation-update-copy > p:last-child {
    margin: 0;
    color: #5c6e82;
    font-size: 14px;
    line-height: 1.65;
}

.allocation-update-action {
    display: flex;
    min-height: 190px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: #ffbd16;
    color: #165b32;
    text-align: center;
}

.allocation-update-period {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.allocation-update-action p {
    max-width: 180px;
    margin: 0;
    color: #165b32;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.allocation-update-button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    padding: 10px 15px;
    border: 1px solid #168044;
    border-radius: 4px;
    background: #168044;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.allocation-update-button:hover,
.allocation-update-button:focus-visible {
    border-color: #106936;
    background: #106936;
    color: #ffffff;
    text-decoration: none;
}

.allocation-update-button:focus-visible {
    outline: 3px solid rgba(22, 128, 68, 0.28);
    outline-offset: 3px;
}

.signin-guide {
    max-width: 860px;
    margin: 0 auto;
    padding: 28px 16px 0;
    color: #172b45;
    text-align: center;
}

.signin-guide h2 {
    margin: 0 0 8px;
    color: #084d96;
    font-size: clamp(22px, 4vw, 30px);
}

.signin-guide-intro {
    margin: 0 0 24px;
    color: #5c6e82;
}

.signin-guide-steps {
    display: flex;
    justify-content: center;
    gap: clamp(18px, 6vw, 64px);
}

.signin-guide-step {
    display: flex;
    min-width: 100px;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #172b45;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
}

.signin-guide-number {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 3px solid #e98218;
    border-radius: 50%;
    background: #ffffff;
    color: #ce6d0c;
    font-size: 22px;
    transition: background 0.2s ease, color 0.2s ease;
}

.signin-guide-step.is-active .signin-guide-number,
.signin-guide-step:hover .signin-guide-number,
.signin-guide-step:focus-visible .signin-guide-number {
    background: #e98218;
    color: #ffffff;
}

.signin-guide-step:focus-visible {
    outline: 3px solid rgba(233, 130, 24, 0.3);
    outline-offset: 4px;
}

.signin-guide-info {
    max-width: 700px;
    min-height: 56px;
    margin: 22px auto 0;
    padding: 16px 20px;
    border-radius: 8px;
    background: #f3f6fa;
    color: #34495e;
    line-height: 1.6;
}

.home-impact {
    position: relative;
    margin: 34px 0 0;
    background: #14579c;
    box-shadow: 0 0 0 100vmax #14579c;
    clip-path: inset(0 -100vmax);
    color: #ffffff;
}

.home-impact-inner {
    display: grid;
    position: relative;
    left: 50%;
    width: min(100vw - 48px, 1320px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 34px 0;
    transform: translateX(-50%);
}

.home-impact-item {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 24px;
    border-right: 2px solid rgba(0, 118, 255, 0.8);
}

.home-impact-item:last-child {
    border-right: 0;
}

.home-impact-icon {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    border-radius: 50%;
    background: #ffffff;
    color: #14579c;
}

.home-impact-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.home-impact-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.home-impact-copy strong {
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.home-impact-copy > span {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.home-news {
    position: relative;
    margin: 0;
    background: #f3f5fa;
    box-shadow: 0 0 0 100vmax #f3f5fa;
    clip-path: inset(0 -100vmax);
    scroll-margin-top: 125px;
}

.home-news-inner {
    position: relative;
    left: 50%;
    width: min(100vw - 48px, 1370px);
    margin: 0;
    padding: 28px 0 30px;
    transform: translateX(-50%);
}

.home-news-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.home-news-heading h2 {
    margin: 0;
    color: #14579c;
    font-size: clamp(22px, 2.2vw, 28px);
    font-weight: 700;
}

.home-news-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 16px;
}

.home-news-control {
    display: grid;
    width: 60px;
    height: 60px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #414141;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 27px;
    line-height: 1;
    transition: background 0.2s ease;
}

.home-news-control:hover {
    background: #14579c;
}

.home-news-control:focus-visible {
    outline: 3px solid #14579c;
    outline-offset: 3px;
}

.home-news-track {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.home-news-track::-webkit-scrollbar {
    display: none;
}

.home-news-card {
    flex: 0 0 calc((100% - 56px) / 3);
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 1px 5px rgba(20, 45, 70, 0.08);
    scroll-snap-align: start;
}

.home-news-image {
    display: block;
    height: 220px;
    overflow: hidden;
}

.home-news-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
}

.home-news-image:hover img {
    transform: scale(1.03);
}

.home-news-copy {
    padding: 20px 24px 24px;
}

.home-news-copy h3 {
    min-height: 52px;
    margin: 0 0 12px;
    padding-bottom: 13px;
    border-bottom: 1px solid #e6e8ed;
    color: #14579c;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.55;
}

.home-news-copy h3::after {
    display: block;
    width: 36px;
    height: 3px;
    margin-top: 12px;
    background: #14579c;
    content: "";
}

.home-news-copy h3 a {
    color: inherit;
    text-decoration: none;
}

.home-news-copy p {
    min-height: 68px;
    margin: 0 0 12px;
    color: #526174;
    font-size: 14px;
    line-height: 1.7;
}

.home-news-read-more {
    color: #14579c;
    font-size: 13px;
    font-weight: 800;
    text-decoration: underline;
}

.home-news-read-more:hover,
.home-news-read-more:focus-visible {
    color: #e98218;
}

.home-partners {
    position: relative;
    margin: 0;
    background: #ffffff;
    box-shadow: 0 0 0 100vmax #ffffff;
    clip-path: inset(0 -100vmax);
}

.home-partners-inner {
    display: flex;
    position: relative;
    left: 50%;
    width: min(100vw - 48px, 1220px);
    min-height: 128px;
    align-items: center;
    gap: 30px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    margin: 0;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    transform: translateX(-50%);
}

.home-partners-inner::-webkit-scrollbar {
    display: none;
}

.home-partner-logo {
    display: flex;
    height: 88px;
    flex: 0 0 270px;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
}

.home-partner-logo img {
    display: block;
    width: 240px;
    max-width: 100%;
    max-height: 79px;
    object-fit: contain;
}

.home-partner-logo:focus-visible {
    outline: 3px solid #14579c;
    outline-offset: 3px;
}

.downloads-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 36px 0;
}

.downloads-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 52px;
    padding: 12px 24px;
    border: 2px solid #084d96;
    border-radius: 4px;
    background: #084d96;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.downloads-actions a:hover,
.downloads-actions a:focus {
    background: #063d77;
    border-color: #063d77;
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 640px) {
    .home-resource-hero {
        width: min(100% - 24px, 480px);
        min-height: 370px;
        margin-top: 16px;
    }

    .home-resource-actions {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 24px 18px;
    }

    .home-resource-card {
        min-height: 138px;
        padding: 10px 12px;
    }

    .allocation-update {
        width: min(100% - 24px, 480px);
        grid-template-columns: 1fr;
    }

    .allocation-update-copy {
        padding: 20px;
    }

    .allocation-update-action {
        min-height: 0;
        padding: 20px 16px;
    }

    .home-impact-inner {
        width: min(100vw - 24px, 480px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 22px;
        padding: 24px 0;
    }

    .home-impact-item {
        justify-content: flex-start;
        gap: 10px;
        padding: 0 8px;
    }

    .home-impact-item:nth-child(2) {
        border-right: 0;
    }

    .home-impact-item:nth-child(3),
    .home-impact-item:nth-child(4) {
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.28);
    }

    .home-impact-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .home-impact-icon svg {
        width: 27px;
        height: 27px;
    }

    .home-impact-copy strong {
        font-size: 21px;
    }

    .home-impact-copy > span {
        font-size: 11px;
    }

    .home-news-inner,
    .home-partners-inner {
        width: min(100vw - 24px, 480px);
    }

    .home-news-heading {
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 20px;
    }

    .home-news-controls {
        gap: 8px;
    }

    .home-news-control {
        width: 42px;
        height: 42px;
        font-size: 21px;
    }

    .home-news-card {
        flex-basis: 100%;
    }

    .home-news-image {
        height: 205px;
    }

    .home-news-copy {
        padding: 18px;
    }

    .home-news-copy h3,
    .home-news-copy p {
        min-height: 0;
    }

    .home-partners-inner {
        min-height: 116px;
        gap: 18px;
    }

    .home-partner-logo {
        height: 78px;
        flex-basis: 240px;
    }

    .home-partner-logo img {
        width: 220px;
        max-height: 72px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-resource-slide {
        transition: none;
    }
}

@media (max-width: 480px) {
    .signin-guide {
        padding-right: 8px;
        padding-left: 8px;
    }

    .signin-guide-steps {
        gap: 10px;
    }

    .signin-guide-step {
        min-width: 82px;
        font-size: 12px;
    }

    .signin-guide-number {
        width: 54px;
        height: 54px;
    }

    .home-news-inner,
    .home-partners-inner {
        width: min(100vw - 24px, 440px);
    }

    .home-news-heading h2 {
        font-size: 21px;
    }

    .home-impact-inner {
        width: min(100vw - 20px, 440px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-news-track {
        scroll-behavior: auto;
    }

    .home-news-image img {
        transition: none;
    }
}

/* Keep UserWay functional while matching the site's wheelchair-style launcher. */
#userwayAccessibilityIcon {
    width: 64px !important;
    height: 64px !important;
    overflow: visible !important;
    border-radius: 50% !important;
}

#userwayAccessibilityIcon .uiiw,
#userwayAccessibilityIcon .ups,
#userwayAccessibilityIcon > .usr,
#userwayAccessibilityIcon > .userway_check_on {
    display: none !important;
}

#userwayAccessibilityIcon::before {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: 50%;
    background: center / 100% 100% no-repeat url("accessibility-widget-icon.png");
    content: "";
    pointer-events: none;
}
