.page-template-government-template {
    position: relative;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.40) 0%, rgba(221, 197, 178, 0.40) 100.1%);
}

.page-template-government-template::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url('/wp-content/uploads/2026/07/Website_Pattern_Single_Repeat_3-1.webp');
    background-size: inherit;
    background-repeat: no-repeat;
    background-position: right;
    pointer-events: none;
    z-index: 0;
}

.page-template-government-template .department-banner {
    min-height: 60vh;
    padding: calc(var(--header-height, 140px) + 32px) 8vw 165px;
}

.page-template-government-template .dept-hero-overlap-card{
    max-height: 650px;
}

.government-content-image__heading {
    font-size: var(--h5-size);
    color: var(--color-dark-blue);
    font-family: var(--font-family-tiktok);
}

.dept-content-image__text h6 {
    font-size: 20px;
    text-transform: uppercase;
    font-weight: var(--fw-regular);
    color: var(--color-dark-blue);
}

.dept-content-image__text ul {
    margin: 0;
}

.dept-content-image__text a {
    color: var(--color-black);
    text-decoration: underline;
}

.page-template-government-template .dept-content-image__col {
    max-width: 100%;
}

.page-template-government-template .dept-content-image__text {
    max-width: 100%;
}

.page-template-government-template .dept-content-image__text>*:not(iframe) {
    max-width: 48%;
}

.page-template-government-template .dept-content-image__text iframe {
    max-width: 70%;
    display: block;
}

iframe {
    border: solid 1px var(--color-light-blue);
    border-radius: 12px;
}

iframe html body #top-nav nav.navbar,
iframe html body #top-nav form {
    background-color: var(--color-light-blue) !important;
}

.page-template-government-template .dept-contact-card a {
    color: var(--color-off-white);
    font-size: var(--p-size);
    /* text-decoration: underline; */
    display: block;
    margin-bottom: 15px;
    font-weight: var(--fw-semibold);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    line-height: 1.8;
    transition: .2s all ease-in-out;
}

.page-template-government-template .dept-contact-card a:hover {
    text-decoration-thickness: 0px;
    text-decoration-color: transparent;
}

.image-option {
    background-color: #f6ede5;
    padding: 47px 57px;
    margin-top: 50px;
    border-radius: 12px;
}

.image-option h6 {
    color: rgba(0, 0, 0, 0.34);
    text-align: center;
    font-family: var(--font-family-tiktok);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.page-template-government-template .dept-contact-card {
    margin-top: -100px;
}

@media(max-width:1340px) {
    .page-template-government-template .dept-contact-card {
        margin-top: 0px;
    }
}

@media(max-width:1400px){
.page-template-government-template .dept-hero-overlap-card{
    max-height: 780px;
}
}

@media(max-width:1200px){
.page-template-government-template .dept-hero-overlap-card{
    max-height: fit-content;
}
}

@media(max-width:1024px) {

    .page-template-government-template .dept-content-image__text>*:not(iframe),
    .page-template-government-template .dept-content-image__text iframe {
        max-width: 100%;
    }

}

@media(max-width:768px) {
    .page-template-government-template .department-banner {
        min-height: 33vh;
        padding: calc(var(--header-height, 140px) + 32px) 2vw 100px;
    }
    .page-template-government-template::before{
        content: none;
    }
}

@media(max-width:580px) {
    .dept-hero-overlap-section {
        padding: 0;
    }

    .dept-hero-overlap-card {
        border-radius: 0px
    }
}