body.homepage .container {
    width: 100%;
    max-width: unset;
}

body.homepage section h2 {
    font-size: 48px;
    font-weight: 200;
    line-height: 1.1em;
}

body.homepage .container .content {
    padding: unset;
}

#homepage-intro {
    --image-offset: 120px;
    position: relative;
    padding: 73px 0 40px;
    display: block;
    background-color: var(--ice-blue-lighter);
}

#homepage-intro .wrapper {
    --max-width: 1363px;
}

body.homepage section:not(#homepage-intro) .wrapper {
    --max-width: 1128px;
}

#homepage-intro h1 {
    margin: 0;
    padding: 0;
    color: white;
    font-weight: 200;
    font-size: 72px;
    line-height: 1em;
    max-width: 720px;
    margin-bottom: 20px;
}

#homepage-intro .bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - var(--image-offset));
    z-index: 0;
    display: block;
/*    background-color: #051348;*/
	background-color: var(--text-blue);
}

#homepage-intro .image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 66%;
    height: 100%;
}


#homepage-intro .bg-image img {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    object-fit: cover;
    max-width: 1300px;
}


#homepage-intro .image-container::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
/*    background-image: linear-gradient(to right, #051348 1%, transparent 33%);*/
	background-image: linear-gradient(to right, var(--text-blue) 1%, transparent 33%);
	
}

@media screen and (max-width: 1024px) {
    #homepage-intro .image-container {
        --image-max-height: 400px;
        width: 100%;
        height: 100%;
    }


    #homepage-intro .image-container::before {
        content: '';
        position: absolute;
        display: block;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
/*        background-image: linear-gradient(to top, #051348 1%, transparent 150%);*/
		background-image: linear-gradient(to top, var(--dark-background) 1%, transparent 150%);
        max-height: var(--image-max-height);
    }

    #homepage-intro .bg-image img {
        max-height: var(--image-max-height);
    }
}

@media screen and (max-width: 768px) {
    #homepage-intro .image-container {
        --image-max-height: 200px;
        display: none;
    }
}

#homepage-intro .intro-text {
    position: relative;
    z-index: 5;
}

#homepage-intro .intro-text .caption {
    display: block;
    color: #E4E4EF;
    padding: 8px 8px 8px 36px;
    background: transparent;
/*    background: rgba(4, 13, 42, 0.9);*/
    border-radius: 4px;
    max-width: 500px;
    font-weight: 200;
    font-size: 15px;
    line-height: 18px;
    text-wrap: balance;
    margin-bottom: 30px;
    position: relative;
}

#homepage-intro .intro-text .caption::after {
    content: '';
    position: absolute;
    user-select: none;
    top: 9px;
    left: 8px;
    width: 20px;
    height: 20px;
    background: transparent url('https://www.ilsos.gov/images/refresh-2023/icon-homepage-banner-image.svg') center center no-repeat;
}

#homepage-intro .intro-text h2 {
    font-family: 'Public Sans';
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#homepage-intro .intro-text h2::before {
    content: '';
    width: 16px;
    height: 16px;
    display: block;
    background: transparent url('https://www.ilsos.gov/images/refresh-2023/icon-homepage-banner-star.svg') center center no-repeat;
    margin-right: .5em;
    pointer-events: none;

}

#homepage-intro .intro-text .service-grid {
    --focus-offset: -5px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 16px;
}

#homepage-intro .intro-text .service-grid li {
    margin: 0;
    padding: 0;
}

#homepage-intro .intro-text .service-grid a {
    padding: 24px;
    background-color: var(--background-blue);
    --focus-color: var(--gold);
    border: 1px solid var(--gold);
    width: 100%;
    text-decoration: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 16px;
    font-size: 24px;
    line-height: 28px;
    min-height: 104px;
    height: 100%;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-arrow-button-hover.svg');
    background-position: calc(100% - 24px) center;
    background-repeat: no-repeat;
}



#homepage-intro .intro-text .service-grid a span.text {
    max-width: calc(100% - 75px);
    display: inline-block;
}


#homepage-intro .intro-text .service-grid a:hover {
    background-color: var(--gold);
    color: var(--text-blue);
    text-decoration: underline;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-arrow-button.svg');
}

#homepage-how-can-we-help {
    display: block;
    background-color: var(--ice-blue-lighter);
    padding-bottom: 75px;
}

#homepage-how-can-we-help .wrapper {
    border-top: 4px solid var(--gold);
    padding-top: 24px;
}

#homepage-how-can-we-help .help-links {
    display: grid;
    grid-template-columns: 1fr;
}

#homepage-how-can-we-help .help-links a {
    padding: 24px;
    min-height: 120px;
    display: grid;
    grid-template-columns: 72px 1fr 50%;
    align-items: center;
    justify-content: start;
    gap: 20px;
    border-bottom: 1px solid #C6C9D5;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-arrow-button.svg');
    background-position: calc(100% - 24px) center;
    background-repeat: no-repeat;
}

#homepage-how-can-we-help .help-links a:hover {
    background-color: rgba(19, 50, 147, 0.1);
}

#homepage-how-can-we-help .help-links a:hover .title {
    text-decoration: underline;
}

#homepage-how-can-we-help .help-links .icon {
    --size: 72px;
    width: var(--size);
    height: var(--size);
    border-radius: 100%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

#homepage-how-can-we-help .help-links .icon img {
    --size: 35px;
    display: block;
    width: var(--size);
    height: var(--size);
    object-fit: contain;
}

#homepage-how-can-we-help .help-links .title {
    font-weight: 300;
    font-size: 32px;
    line-height: 38px;
    color: var(--text-blue);
}

#homepage-how-can-we-help .help-links .description {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: var(--text);
    width: calc(100% - 100px);
}

#homepage-ethics,
#homepage-serving,
#homepage-careers {
    padding: 88px 0;
}

#homepage-ethics h2,
#homepage-serving h2,
#homepage-careers h2 {
    margin: 0;
    padding: 0;
}

#homepage-ethics .wrapper {
    border-top: 4px solid var(--background-blue);
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
    justify-content: start;
}

#homepage-ethics .content {
    padding-top: 16px;
    display: block;
}

#homepage-ethics .links {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 24px 0 0 0;
    gap: 16px;
}

#homepage-serving {
    background-color: var(--ice-blue-lighter);
}

#homepage-serving h2 {
    margin-bottom: 36px;
}

#homepage-serving .wrapper {
    border-top: 4px solid var(--text-blue);
    padding-top: 24px;
}

#homepage-serving .links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
}

#homepage-serving .links-grid a {
    display: block;
    min-height: 95px;
    background-color: white;
    color: var(--text);
    text-decoration: none;
    border-radius: 16px;
    border: 1px solid var(--gold);
    padding: 16px;
}

#homepage-serving .links-grid a:hover {
    background-color: var(--background-blue);
    --focus-color: var(--gold);
}

#homepage-serving .links-grid a .title {
    display: inline-flex;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: var(--background-blue);
    align-items: center;
    justify-content: flex-start;
}

#homepage-serving .links-grid a .title::after {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-link-right-blue.svg');
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    margin-left: .25em;
}

#homepage-serving .links-grid a.external .title::after {
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-link-external-blue.svg');
}

#homepage-serving .links-grid a:hover .title::after {
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-link-right-white.svg');
}

#homepage-serving .links-grid a.external:hover .title::after {
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-link-external-white.svg');
}

#homepage-serving .links-grid a .content {
    display: block;
    min-height: unset;
    font-size: 14px;
    line-height: 18px;
}

#homepage-serving .links-grid a:hover .title {
    text-decoration: underline;
}

#homepage-serving .links-grid a:hover .title,
#homepage-serving .links-grid a:hover .content {
    color: white;
}

#homepage-news {
    background-color: var(--background-blue);
    --focus-color: var(--gold);
    color: white;
    overflow: hidden;
}

#homepage-news h2 {
    color: white;
}

#homepage-news .wrapper {
    padding: 87px 0;
}

#homepage-news .content {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 24px;
}

#homepage-news aside {
    position: relative;
    z-index: 1;
    padding-left: 30px;
    margin-top: -60px;
}

#homepage-news aside img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, .25);
}

#homepage-news aside::after {
    content: '';
    position: absolute;
    width: 50vw;
    height: 200%;
    top: -50%;
    left: 30px;
    background-color: var(--background-blue-shift);
    z-index: -1;
}

#homepage-news .items {
    display: flex;
    flex-direction: column;
    gap: 0px;
    min-height: unset;
    height: unset;
}

#homepage-news .items a:not(.view-all) {
    color: white;
    text-decoration: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
    border-bottom: 1px solid var(--text-blue);
    padding: 24px 16px;
}

#homepage-news .items a:not(.view-all):hover {
    background-color: var(--text-blue);
}

#homepage-news .items .more {
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

#homepage-news .items a.view-all {
    /* color: white; */
    /* text-decoration: none;
    padding: 24px 0;
    border: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px; */
    display: inline;
}

#homepage-news .items .date {
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
}

#homepage-news .items .title {
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    text-wrap: balance;
}


#homepage-news .items a:not(.view-all):hover .title {
    text-decoration: underline;
}

#homepage-news figure {
    background-color: white;
    padding: 40px 24px 16px;
    border: none;
    border-radius: 16px 16px 16px 0px;
    margin: 0;
    transform: translateX(-30px) translateY(30px);
    position: relative;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/quote-opening.svg');
    background-position: 24px 16px;
    background-repeat: no-repeat;
}

#homepage-news figure::after {
    content: '';
    width: 30px;
    height: 30px;
    position: absolute;
    left: 0;
    bottom: -30px;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/quote-effect.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#homepage-news figure blockquote {
    border: none;
    margin: 0;
    padding: 0;
    color: var(--text);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

#homepage-news h3 {
    color: white;
    font-weight: 300;
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 24px;
    margin-top: 24px;
}

#homepage-news form {
    margin-left: 38px;
}


#homepage-news .form-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 4px;
}

#homepage-news form p {
    margin-bottom: 22px;
}

#homepage-news .form-item label {
    grid-column: span 2;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
}

#homepage-news .form-item input:not([type=submit]) {
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: var(--text);
    appearance: none;
    border: unset;
    padding: 0 1em;
}

#homepage-news .form-item input[type=submit] {
    background-color: var(--gold);
    color: var(--text-blue);
    appearance: none;
    border: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    border-radius: unset;
}

#homepage-news .form-item input[type=submit]:hover {
    background-color: #CC9900;
}

#homepage-careers .wrapper {
    border-top: 4px solid var(--gold);
    padding-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: center;
    justify-content: start;
}

#homepage-careers img {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

#homepage-careers h2,
#homepage-careers p {
    margin-bottom: 24px;
}

#homepage-careers .content {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center
}

#parallax-image {
    max-height: 425px;
    height: 50vh;
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    transform: translate3d(0px, 0px, 0px);
}

#parallax-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    #parallax-image img {
        will-change: unset;
        transform: none !important;
        width: 100%;
        height: 100%;
    }
}

/* Tablet */
@media screen and (max-width: 1024px) {

    #homepage-intro {
        --image-offset: 3rem;
        padding-bottom: 6rem;
        background-color: var(--ice-blue-lighter);
    }

    #homepage-intro .wrapper {
        --max-width: 728px;
    }

    body.homepage section:not(#homepage-intro) .wrapper {
        --max-width: 542px;
    }

    body.homepage section h2,
    #homepage-news h3 {
        font-size: 36px;
        font-weight: 200;
        line-height: 1.1em;
    }

    #homepage-intro .intro-text .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #homepage-intro .intro-text .service-grid a {
        font-size: 18px;
        line-height: 1em;
        min-height: 72px;
    }

    #homepage-how-can-we-help .help-links a {
        /* padding: 24px;
        min-height: 120px;
        display: grid;
        grid-template-columns: 72px 1fr 50%;
        align-items: center;
        justify-content: start;
        gap: 20px;
        border-bottom: 1px solid #C6C9D5; */
        grid-template-columns: auto 1fr;
        background-position: calc(100% - 24px) 38px;
    }

    #homepage-how-can-we-help .help-links a .description {
        grid-row: 2;
        grid-column: 1 / span 2;
        width: 100%;
    }

    #homepage-how-can-we-help .help-links .icon {
        --size: 48px;
    }

    #homepage-how-can-we-help .help-links .icon img {
        --size: 20px;
    }

    #homepage-how-can-we-help .help-links .title {
        font-size: 24px;
        line-height: 28px;
    }

    #homepage-ethics,
    #homepage-serving,
    #homepage-careers {
        padding: 64px 0;
    }

    #homepage-ethics .wrapper {
        /* border-top: 4px solid var(--background-blue);
        padding-top: 24px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        align-items: start;
        justify-content: start; */
        grid-template-columns: 1fr;
    }

    #homepage-serving .links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #homepage-news .content {
        grid-template-columns: 1fr;
    }

    #homepage-news aside {
        padding-top: 36px;
    }

    #homepage-news aside::after {
        display: none;
    }

    #homepage-news aside form {
        margin-left: unset;
    }

    #homepage-news .items .date {
        font-size: 14px;
        line-height: 16px;
        font-weight: 300;
        padding-bottom: 11px;
    }

    #homepage-news .items .title {
        font-size: 18px;
        line-height: 21px;
    }

    #homepage-careers .wrapper {
        grid-template-columns: 1fr;
    }

}

/* Mobile */
@media screen and (max-width: 767px) {

    body.homepage section:not(#homepage-intro) .wrapper {
        --max-width: 450px;
    }

    body.homepage section h2,
    #homepage-news h3 {
        font-size: 24px;
    }

    #homepage-intro .wrapper {
        --max-width: 500px;
    }

    #homepage-intro {
        padding-top: 24px;
    }

    #homepage-intro h1 {
        font-size: 24px;
        line-height: 28px;
        margin-bottom: 24px;
    }

    #homepage-intro .intro-text .caption {
        display: none;
    }

    #homepage-intro .intro-text .service-grid {
        grid-template-columns: 1fr;
    }

    #homepage-how-can-we-help .help-links a {
        gap: 8px;
        padding: 12px 0;
        background-position: 100% 20px;
    }


    #homepage-how-can-we-help .help-links a:last-child {
        border-bottom: none;
    }

    #homepage-how-can-we-help .help-links .icon {
        --size: 36px;
    }

    #homepage-how-can-we-help .help-links .icon img {
        --size: 15px;
    }

    #homepage-how-can-we-help .help-links .title {
        font-size: 18px;
        line-height: 21px;
    }

    #homepage-ethics,
    #homepage-serving,
    #homepage-careers {
        padding: 48px 0;
    }

    #homepage-serving .links-grid {
        grid-template-columns: 1fr;
    }

    #homepage-news .content .items a:not(.btn) {
        padding-left: 0px;
        padding-right: 0px;
    }

    #homepage-news .content .items .more {
        padding-left: 0px;
    }

    #homepage-news aside {
        padding-left: unset;
    }

    #homepage-news aside figure {
        transform: unset;
    }

    #homepage-news aside img {
        width: calc(100% - 30px);
        transform: translateX(30px);
        border-top-left-radius: 0px;
    }

    #homepage-news aside form {
        width: calc(100% - 16px);
        margin-left: auto;
        margin-right: auto;
    }

    #homepage-news aside form .form-item {
        grid-template-columns: 1fr;
    }

    #homepage-news aside form .form-item label {
        grid-column: unset;
    }

    #homepage-news aside form input[type=submit] {
        margin-top: 11px;
        min-height: 39px;
    }

    body.homepage .btn.btn-arrow {
        text-align: left;
        max-width: 100%;
        display: inline-block;
        white-space: unset;
    }

    #parallax-image {
        height: 200px;
    }

}