.budget-header-2 {
    text-align: center;
    font-size: 2.625rem;
    color: #004181 !important;
}

.gnl-site-logo-lg img {
    width: 126px;
}

.max-width {
    max-width: 1248px !important;
    margin-left: auto;
    margin-right: auto;
}

.budget-card .gnl-card {
    border: 0px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: white;
}

.grid-item {
    display: flex;
    background: #004181;
    border: 2px solid #ffffff;
    border-color: rgba(255, 255, 255);
    border-radius: 16px;
    margin: 8px;
    padding: 12px;
    gap: 12px;
}

.grid-item h5,
.grid-item i {
    color: #FFFFFF;
    margin: 0px;
}

.flex-col h5 {
    /*margin-bottom: 12px;*/
}

.flex-col h4,
.flex-col p {
    margin: 0px !important;
}

.flex-col h4 {
    font-size: 32px;
    text-align: left;
    padding-left: 24px;
}

.grid-item p {
    color: #FFFFFF;
}

.grid-item i {
    font-size: 60px;
    /*font-size: clamp(1rem, 5vw, 3rem);*/
}

.grid-item--width2 h4 {
    margin: 0px;
}

.fa-sold {
    font-size: 100px;
}

.grid-item--width1 {
    width: -webkit-fill-available;
    width: auto;
    min-width: 0px;
    aspect-ratio: 51 / 32;
    background-image: url(https://www.gov.nl.ca/budget/2026/wp-content/uploads/sites/10/Website_Arrow_2.svg);
    background-repeat: no-repeat;
    background-position: right 33px;
    background-size: 100px 240px;
}

.grid-item--width2 {
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    grid-column: 1 / 3;
}

.flex-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: normal;
    flex: 1;
}

.flex-row {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.three-col {
    grid-column: auto;
}

.flex-row div,
.flex-col div {
    /*width: fit-content;
        */
}

.flex-masonary {
    display: grid;
    grid-template-columns: 1fr;
}

.flex-masonary .col {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
}

.flex-col h5 {
    font-size: 3vw;
    font-weight: 900;
}

.flex-col p {
    font-size: 2vw;
    line-height: 1;
}

.background-img-bottom span {
    font-size: 2.1vw;
}

.hero-content img {
        padding-top: 32px;
    }

@media (min-width: 1130px) {
    .flex-masonary {
        grid-template-columns: 1fr 1fr;
    }

    .three-col {
        grid-column: 1 / 3;
    }

    .flex-col h4 {
        text-align: center;
        padding-left: 0;
    }

    .flex-col h5 {
        font-size: 19px;

    }

    .flex-col p {
        font-size: 14px;
    }

    .grid-item--width1 {
        background-position: right 33px;
    }

    .background-img-bottom span {
        font-size: 20px;
    }

}

@media (min-width: 601px) {
    .background-img {

        aspect-ratio: 5 / 3;
    }
}

@media (max-width: 600px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .background-img {
        grid-column: 1 / 1;
        aspect-ratio: auto;
    }

    .background-video {
        grid-column: 1 / 1;
    }

    .three-col {
        flex-direction: column;
        margin: 8px;
    }

    .hero-content img {
        padding-top: 80px;
    }

    .flex-col h4 {
        font-size: 5.5vw;
    }

    .flex-col h5 {
        font-size: 6vw
    }

    .flex-col p {
        font-size: 3.5vw;
    }

    .background-img-bottom i {
        font-size: 20vw;
    }

    .background-img-bottom span {
        font-size: 5.1vw;
    }
}

.background-img {
    position: relative;
    z-index: 1;
}

.background-img-1 h5 {
    color: #003b6a;
}

.background-img-bottom {
    display: flex;
    position: relative;
    z-index: 1;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    justify-content: end !important;

}

.img-bottom-1 {
    background-image: linear-gradient(to bottom, rgba(0, 65, 129, 0.3), rgba(0, 65, 129, 0.3)), url(https://www.gov.nl.ca/budget/2026/wp-content/uploads/sites/10/Budget-Video-Better-Health-Care-Cover.jpeg);

}

.img-bottom-2 {
    background-image: linear-gradient(to bottom, rgba(0, 65, 129, 0.3), rgba(0, 65, 129, 0.3)), url(https://www.gov.nl.ca/budget/2026/wp-content/uploads/sites/10/Budget-Video-Safer-Communties-Cover.jpeg);
}

.img-bottom-3 {
    background-image: linear-gradient(to bottom, rgba(0, 65, 129, 0.3), rgba(0, 65, 129, 0.3)), url(https://www.gov.nl.ca/budget/2026/wp-content/uploads/sites/10/Budget-Video-Lower-Taxes-Cover.jpeg);
}

.background-video {
    position: relative;
    z-index: 1;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    width: stretch;
}

.background-video iframe {
    width: 100%;
    height: 100%;
}

.background-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: -1;
}

.hero-section {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 65vh;
    max-height: 387px;
    display: flex;
    max-width: 1920px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}

.hero-content {
    border-radius: 1rem;
    width: 100%;
    max-width: 520px;
}

.hero-content h1 {
    font-size: 3.9882355rem;
}

.hero-content p {
    font-size: 40px;
    color: #243746;
    padding: 0;
    margin: 0;
}

.hero-content img {
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
}

@media print,
screen and (max-width: 40em) {

    .hero-content {
        margin-left: 1rem;
        margin-right: 1rem;
        padding: 0px;
    }

    .hero-content p {
        font-size: 24px;
    }

    .hero-content h1 {
        font-size: 50px;
    }
}

.gnl-main-content {
    max-width: 1200rem !important;
}

.slick-prev {
    left: 1rem !important;
    margin-left: 8px;
}

.slick-next {
    right: 1rem !important;
    margin-right: 8px;
}

#top-navigation {
    display: none;
}

@media (max-width: 1023px) {
    #top-navigation {
        display: flex;
        background-color: rgba(255, 255, 255, 0);
    }

    .gnl-navigation-drawer__button {
        color: #004181 !important;
    }
}

@media (max-width: 500px) {
    .flex-row {
        gap: 8px;
    }

    .flex-row i {
        font-size: 14vw !important;
    }
}

.vl {
    border-left: 1px solid #D9D9D6;
    height: 75px;
}

.three-col a::before,
.three-col a::after {
    display: none;
}

.icon-colour {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(164deg) brightness(108%) contrast(102%);
    margin-bottom: 0px !important;
}

.icon-width {
    width: 34%;
    /* height: 92px;
    width: 92px;*/
}

.video-embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.stat-value {
    color: #fff;
}

.bottom-card-link {
    text-decoration: none;
    color: inherit;
}

.bottom-card-link:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

.bottom-card-link:hover .bottom-label {
    text-decoration: underline;
}

.bottom-label {
    color: #FFFFFF !important;
    margin: 0 !important;

}

a:hover i {
    text-decoration: none;
}

.bottom-card-link::after {
    display: block !important;
    content: "" !important;
}

@media (max-width: 480px) {
    .gnl-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.youtubeCover:hover {
    display: none;
}

@media print,
screen and (max-width: 40em) {
    .gnl-grid--columns-5 {
        grid-template-columns: repeat(1, 1fr) !important;
    }

    .gnl-grid--columns-5 .government-brand img {
        height: 117.34px;
        width: 197px;
    }
}

h1,
main h2 {
    color: #004181 !important;
}

.bh-link {
    display: inline-block;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    border-radius: 3px;
    outline: none;
}

.bh-link:focus-visible {
    outline: 3px solid #004B87;
    outline-offset: 4px;
}

.bh-link:hover .cls-1,
.bh-link:focus-visible .cls-1 {
    fill: #4A9CC9;
}

.bh-wrapper .cls-1 {
    transition: fill 0.2s ease;
    fill: #00558f;
}

.bh-wrapper {
    position: relative;
    display: inline-block;
}

.gnl-subheader{
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
}

.gnl-card__body {
    justify-content: space-between !important;
}