:root{
    --color-off-black: #16181D;
}

/* --------------------------------------- COMMON STYLES --------------------------------------- */
    
.government-content:last-of-type {margin-bottom: 0;}
.heading-description-section .government-content-image__heading {font-size: var(--h3-size);}
.heading-description-item:last-child {margin-bottom: 0!important;}
/* .heading-description-section .government-content:last-of-type .component-width {padding-bottom: 0!important;} */
.inner-details-wrapper {margin-top: 24px;}
.inner-details-item {margin-bottom: 20px;}
.inner-details-item:last-child {margin-bottom: 0;}
.inner-details-item__heading {color: var(--color-dark-blue);margin: 0 0 8px 0;font-weight: 600;font-size: var(--h5-size);}
.inner-details-item__text {color: var(--color-off-black);}
.inner-details-item__text > :is(h2,h3,h4,h5,h6) {font-size: var(--h6-size);color: var(--color-dark-blue);margin: 20px 0 10px 0;font-weight: 600;}



/* ------------------------------------------------------------------------------------- */



.page-template-department-template main.site-main {background: linear-gradient(180deg, rgba(255, 255, 255, 0.40) 0%, rgba(221, 197, 178, 0.40) 100%);position: relative;}
.page-template-department-template .dept-hero-overlap-section,
.page-template-department-template .dept-quick-links-section,
.page-template-department-template .dept-content-image-section,
.page-template-department-template .faqs_container,
.page-template-department-template .main-form,
.page-template-department-template .heading-description-section,
.page-template-department-template .dept-card-grid-section {position: relative;background: transparent!important;}

.page-template-department-template .dept-hero-overlap-section:after,
.page-template-department-template .dept-quick-links-section:after,
.page-template-department-template .dept-content-image-section:after,
.page-template-department-template .faqs_container:after,
.page-template-department-template .main-form::after,
.page-template-department-template .heading-description-section::after,
.page-template-department-template .dept-card-grid-section::after {content: '';background: url("/wp-content/uploads/2026/07/bg-pattern-stars.svg");background-size: 50% 100%;background-position: left 100% top 100%;background-repeat: no-repeat;width: 100%;height: 100%;display: inline-block;position: absolute;top: 0;right: 0;z-index: -1;pointer-events: none;min-height: 800px;}

/* .page-template-department-template main.site-main > section:last-child {margin-bottom: 0;} */

.department-banner { position: relative; min-height: 87vh; background: url('/wp-content/uploads/2026/07/brand_texture_blue.webp') right bottom / cover no-repeat; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: calc(var(--header-height, 140px) + 32px) 8vw 60px; margin-top: calc(-1 * var(--header-height, 140px)); z-index: 1; }
.department-banner__overlay { position: absolute; inset: 0; background: var(--color-dark-blue, linear-gradient(0deg, #1C3866 0%, #1C3866 100%), #D9D9D9); z-index: 1;opacity: 0.5; }
.page-template-government-template .department-banner__overlay {display: none;}
.department-banner__content { position: relative; z-index: 2; text-align: center;margin: 0 auto; }
.department-banner__heading { font-family: var(--font-family-yrt); color: var(--color-light-green);text-shadow: 0 4px 4px rgba(22, 24, 29, 0.30);letter-spacing: 4.4px; line-height: var(--heading-line-height);text-transform: uppercase; margin: 0; }
.department-banner__subheading { font-family: var(--font-family-tiktok); text-shadow: 0 4px 4px rgba(22, 24, 29, 0.25);font-size: var(--size-48);font-weight: 700;color: var(--color-off-white); line-height: normal;margin: 0 auto; max-width: 1146px;}


.dept-hero-overlap-section {margin-top: 80px;margin-bottom: 60px;}
.department-banner + .dept-hero-overlap-section {margin-top: -80px;}
.department-banner + .dept-quick-links-section {margin-top: 80px;}
.department-banner + .dept-content-image-section {padding-top: 80px;}
.department-banner + .faqs_container {padding-top: 80px;}
.dept-hero-overlap-section:last-child {margin-bottom: 0;padding-bottom: 80px;}
.dept-hero-overlap-card {background-color: var(--color-off-white);border-radius: 12px;padding: 40px 60px 100px;position: relative;z-index: 5;}
.dept-hero-overlap-card .dept-wrapper-card {display: flex;gap: 48px;align-items: flex-start;justify-content: space-between;flex-wrap: wrap;}
.dept-hero-overlap-card__left {flex: 1;}
.dept-hero-overlap-card__right {flex: 0 0 400px;width: 100%;position: sticky;top: calc(var(--header-height, 140px) + 30px);align-self: flex-start;}
.dept-hero-overlap-card__meta {margin-bottom: 20px;}
.dept-hero-overlap-card__breadcrumbs, .dept-hero-overlap-card__breadcrumbs a, .dept-hero-overlap-card__breadcrumbs span {color: var(--color-brown);font-family: var(--font-family-tiktok);font-size: 15px;font-weight: 600;line-height: 1.6;letter-spacing: 1.5px;text-transform: uppercase;text-decoration: none;}
.dept-hero-overlap-card__breadcrumbs a:hover {text-decoration: underline;}
.dept-hero-overlap-card__breadcrumbs {display: block;margin-bottom: 15px;}
.dept-hero-overlap-card__dept-title-wrap {display: flex;align-items: center;gap: 12px;font-family: var(--font-family-tiktok);font-weight: 700;}
.dept-hero-overlap-card__star-icon {color: var(--color-light-blue);display: flex;align-items: center;}
.dept-hero-overlap-card__star-icon svg {width: 30px;height: 30px;}
.dept-hero-overlap-card__dept-name {color: var(--color-dark-blue);font-size: var(--h4-size);font-family: var(--font-family-tiktok);line-height: normal;}
.dept-hero-overlap-card__heading {font-size: var(--h3-size);font-family: var(--font-family-yrt);line-height: 1.1;color: var(--color-dark-blue);text-transform: uppercase;margin: 0 0 24px 0;}

.dept-hero-overlap-card__content :is(h1, h2, h3, h4, h5, h6),
.dept-hero-overlap-card__heading-box :is(h1, h2, h3, h4, h5, h6) {font-family: var(--font-family-tiktok);color: var(--color-dark-blue);line-height: 1.3;font-weight: 600;margin-block: 30px 5px;}
.dept-hero-overlap-card__heading-box .dept-hero-overlap-card__heading {font-size: var(--h5-size);text-transform: none;}


.dept-hero-overlap-card__content p {color: var(--color-off-black);font-size: var(--p-size);font-weight: 400;line-height: 30px;margin-bottom: 15px;}
.dept-hero-overlap-card__content p:last-child {margin-bottom: 0;}
.dept-hero-overlap-card__content ul, .inner-details-item__text ul, .section-tabs__description ul {margin: 0px;padding-left: 30px;}
.dept-hero-overlap-card__content li, .inner-details-item__text li, .section-tabs__description ul > li {margin-bottom: 10px;list-style-type: disc;color: var(--color-off-black);font-family: var(--font-family-tiktok);font-weight: 600;}
.dept-hero-overlap-card__content ul li > ul, .section-tabs__description ul li > ul, .inner-details-item__text ul li > ul {margin-block: 10px;}
.dept-hero-overlap-card__content ul li > ul > li, .section-tabs__description ul > li > ul > li {list-style: circle;}
.dept-hero-overlap-card__content li a, .dept-hero-overlap-card__content a, .inner-details-item__text li a, .section-tabs__description a, .inner-details-item__text a {color: var(--color-off-black);font-weight: 400;transition: .1s all;}
.dept-hero-overlap-card__content li a, .dept-hero-overlap-card__content a, .inner-details-item__text li a, .section-tabs__description a, .dept-contact-card p a, .dept-faqs__content p a, .dept-faqs__content ul li a, .dept-faqs__content ol li a, .acf-department-table tbody td a, .main-form__desc a, .dept-content-image__text a, .inner-details-item__text a {text-decoration: none;position: relative;}
.dept-hero-overlap-card__content li a::after, .dept-hero-overlap-card__content a::after, .inner-details-item__text li a::after, .section-tabs__description a::after, .dept-contact-card p a::after, .dept-faqs__content p a::after, .dept-faqs__content ul li a::after, .dept-faqs__content ol li a::after, .acf-department-table tbody td a::after, .main-form__desc a::after, .dept-content-image__text a::after, .inner-details-item__text a::after {content: '';position: absolute;bottom: -1px;left: 0;width: 100%;height: 1px;background-color: currentColor;transform: scaleX(1);transform-origin: left;transition: transform 0.3s ease-in-out;}
.dept-hero-overlap-card__content li a:hover::after, .dept-hero-overlap-card__content a:hover::after, .inner-details-item__text li a:hover::after, .section-tabs__description a:hover::after, .dept-contact-card p a:hover::after, .dept-faqs__content p a:hover::after, .dept-faqs__content ul li a:hover::after, .dept-faqs__content ol li a:hover::after, .acf-department-table tbody td a:hover::after, .main-form__desc a:hover::after, .dept-content-image__text a:hover::after, .inner-details-item__text a:hover::after {transform: scaleX(0);transform-origin: right;}
.dept-hero-overlap-card__content li a,.inner-details-item__text li a, .section-tabs__description li a {font-weight: 600;}

/* ── Department Contact Card ── */
.dept-contact-card {background-color: var(--color-burgendy);border-radius: 16px;padding: 48px 52px;text-align: center;}
.dept-contact-card p, .dept-contact-card li {color: var(--color-off-white);font-size: var(--p-size);font-weight: 400;}
.dept-contact-card p strong, .dept-contact-card li strong {font-weight: 500;}
.dept-contact-card p a {color: var(--color-off-white);transition: .1s all ease;}
.dept-contact-card ul, .dept-contact-card ol {margin: 0;text-align: left;padding-left: 20px;}
.dept-contact-card__title {color: var(--color-off-white);margin: 0 0 16px 0;font-weight: 700;}
.dept-contact-card__address {line-height: 1.5;margin-bottom: 24px;color: var(--color-off-white);}
.dept-contact-card__phones {line-height: 1.5;margin-bottom: 24px;color: var(--color-off-white);}
.dept-contact-card__phones p {margin: 0 0 6px 0;}
.dept-contact-card__phones p:last-child {margin-bottom: 0;}
.dept-contact-card__hours-title {color: var(--color-off-white);font-family: var(--font-family-tiktok);font-size: 20px;font-weight: 600;letter-spacing: 2px;margin: 0 0 12px 0;text-transform: uppercase;}

/* ── Department Quick Links Section ── */
section.dept-hero-overlap-section.tosa_container + section.dept-quick-links-section {margin-top: -6%;}
.dept-quick-links-section {margin-bottom: 80px;position: relative;}
.dept-quick-links {display: flex;align-items: center;}
.dept-quick-links__left {flex: 1;max-width: 50%;position: relative;z-index: 1;}
.dept-quick-links__image-wrapper {border-radius: 0 12px 12px 0;overflow: hidden;}
.dept-quick-links__image {width: 100%;height: auto;display: block;object-fit: cover;max-height: 885px;}
.dept-quick-links__right {flex: 0 0 57%;margin-left: -7%;position: relative;z-index: 6;}
.dept-quick-links__card {background: url('/wp-content/uploads/2026/07/brand_texture_blue.webp') center / cover no-repeat ;border-radius: 12px 0 0 12px;padding: 60px 0;}
.dept-quick-links__list {display: flex;flex-direction: column;}
.dept-quick-links__item {display: flex;justify-content: space-between;align-items: center;gap: 40px;min-height: 90px;padding: 20px 8%;text-decoration: none;border-bottom: 3px solid var(--color-light-green);transition: .3s all ease;}
.dept-quick-links__item:first-child {border-top: 3px solid var(--color-light-green);}
.dept-quick-links__item-title {font-family: var(--font-family-tiktok);font-size: var(--h4-size);font-weight: 700;line-height: 1.2;color: var(--color-off-white);transform: scale(1);transition: .3s all ease;}
.dept-quick-links__item-arrow {color: var(--color-white);display: flex;align-items: center;transition: .3s all ease;}
.dept-quick-links__item-arrow svg {width: 100px;height: auto;transition: transform .3s all ease;}
.dept-quick-links__item:hover {background-color: var(--color-light-green);}
.dept-quick-links__item:hover .dept-quick-links__item-arrow {flex-grow: 1;}
.dept-quick-links__item:hover span.dept-quick-links__item-title {color: var(--color-dark-blue)!important;transform: translateX(16px) scale(1.1);}
.dept-quick-links__item:hover .dept-quick-links__item-arrow svg {color: var(--color-light-green);transform: translateX(8px);}

/* ── Department Content Image Section ── */
.dept-content-image-section {padding-bottom: 80px;position: relative;}
.dept-content-image {display: flex;justify-content: space-between;gap: 60px;}
.dept-content-image--reverse {flex-direction: row-reverse;}
.dept-content-image__col {flex: 1;max-width: 45%;}
.dept-content-image__col.dept-content-image__col--content {align-self: center;}
.dept-content-image__heading {font-family: var(--font-family-yrt);font-size: var(--h3-size);color: var(--color-dark-blue);text-transform: uppercase;margin: 0 0 24px 0;line-height: 1.2;}
.dept-content-image__text {font-family: var(--font-family-tiktok);font-size: var(--p-size);line-height: 1.65;color: var(--color-off-black);margin-bottom: 32px;}
.dept-content-image__text p {margin-bottom: 16px;}
.dept-content-image__text p:last-child {margin-bottom: 0;}
.dept-content-image__image-wrapper {border-radius: 16px;overflow: hidden;box-shadow: 0 10px 30px rgba(0,0,0,0.05);}
.dept-content-image__image {width: 100%;height: auto;display: block;object-fit: cover;}

/* ── Department FAQs Accordion ── */
section.faqs_container {padding-bottom: 80px;}
.dept-faqs__box {background: rgba(28, 56, 102, 0.85);border-radius: 16px;padding: 20px 50px;position: relative;overflow: hidden;border: 0px solid var(--color-light-green);backdrop-filter: blur(4px);}
.dept-faqs__description {font-family: var(--font-family-tiktok);font-size: var(--p-size);line-height: 1.6;color: var(--color-black);margin-bottom: 24px;}
.dept-faqs__accordion {max-width: 100%;}
.dept-faqs__item {border-bottom: 1px solid var(--color-light-green);}
.dept-faqs__item:last-child {border-bottom: none;}
.dept-faqs__trigger {display: flex;justify-content: space-between;align-items: center;width: 100%;padding: 20px 0;background: none;border: none;cursor: pointer;text-align: left;font-family: var(--font-family-tiktok);font-size: var(--h6-size);font-weight: 600;color: var(--color-white);transition: color .3s ease;}
.dept-faqs__trigger:hover {color: var(--color-light-green);}
.dept-faqs__item.is-open button.dept-faqs__trigger {color: var(--color-light-green);}
h2.dept-faqs__heading {font-family: var(--font-family-yrt);font-size: var(--h3-size);color: var(--color-dark-blue);text-transform: uppercase;line-height: 1.2;}
.dept-faqs__question {flex: 1;padding-right: 20px;}
.dept-faqs__icon {color: var(--color-white);display: flex;align-items: center;justify-content: center;transition: transform 0.3s ease;}
.dept-faqs__icon svg {width: 24px;height: 24px;stroke: var(--color-white);fill: none;}
.dept-faqs__plus-line-v {transition: transform 0.3s ease, opacity 0.3s ease;transform-origin: center;}
.dept-faqs__item.is-open .dept-faqs__plus-line-v {transform: rotate(90deg);opacity: 0;}
.dept-faqs__body {max-height: 0;overflow: hidden;transition: max-height 0.25s cubic-bezier(0.25, 0, 0.3, 1);}
.dept-faqs__content {padding: 0 10px 20px;font-family: var(--font-family-tiktok);font-size: var(--p-size);line-height: 1.65;color: var(--color-white);}
.dept-faqs__content p {margin-bottom: .5rem;}
.dept-faqs__content p:last-child {margin-bottom: 0;}
.dept-faqs__content ul, .dept-faqs__content ol {margin: 0;margin-bottom: 10px;}
.dept-faqs__content ul:last-child, .dept-faqs__content ol:last-child {margin-bottom: 0;}
.dept-faqs__content p a, .dept-faqs__content ul li a, .dept-faqs__content ol li a {font-weight: 500; color: var(--color-white);}
.dept-faqs__content :is(h1, h2, h3, h4, h5, h6) {font-weight: 600;font-size: 20px;}


/* ── TablePress Overrides ── */
.tablepress {width: 100%!important;border-collapse: separate!important;border-spacing: 0!important;border: 1px solid rgba(131, 113, 93, 0.25)!important;margin: 20px 0 30px 0!important;background: transparent!important;border-radius: 12px!important;overflow: hidden!important;}
.tablepress:last-child {margin-bottom: 0!important;}
.tablepress thead th {background-color: var(--color-brown)!important;color: #ffffff!important;font-family: var(--font-family-tiktok)!important;font-weight: 700!important;font-size: 16px!important;padding: 16px 20px!important;border: none!important;border-bottom: 1px solid rgba(255, 255, 255, 0.5)!important;border-right: 1px solid rgba(255, 255, 255, 0.5)!important;text-align: left!important;}
.tablepress thead th:last-child {border-right: none!important;}
.tablepress tbody td {padding: 16px 20px!important;color: var(--color-off-black)!important;font-family: var(--font-family-tiktok)!important;font-size: 15px!important;line-height: 1.6!important;border: none!important;border-bottom: 1px solid rgba(131, 113, 93, 0.25)!important;border-right: 1px solid rgba(131, 113, 93, 0.25)!important;background: rgb(255, 255, 255, 0.5) !important;}
.tablepress tbody td:last-child {border-right: none!important;}
.tablepress tbody tr:last-child td {border-bottom: none!important;}
.tablepress tbody tr {background: transparent!important;transition: background-color 0.3s ease!important;}
.tablepress tbody tr:hover td {background-color: rgba(131, 113, 93, 0.15)!important;}

/* ── ACF Department Table (TablePress replacement) ── */
.acf-department-table {width: 100%;border-collapse: separate;border-spacing: 0;border: 1px solid rgba(131, 113, 93, 0.25);margin: 20px 0 30px 0;background: transparent;border-radius: 0px;overflow-x: scroll;}
.acf-department-table:last-child {margin-bottom: 0;}
.dept-hero-overlap-card__table-wrap {max-width: calc(100vw - 6vw);overflow-x: auto;}
.acf-department-table caption {caption-side: top;font-family: var(--font-family-tiktok);font-size: var(--p-size);font-weight: 600;color: var(--color-off-black);padding: 10px 20px;text-align: left;}
.acf-department-table thead th {background-color: var(--color-brown);color: #ffffff;font-family: var(--font-family-tiktok);font-weight: 700;font-size: var(--p-size);padding: 16px 20px;border: none;border-bottom: 1px solid rgba(255, 255, 255, 0.5);border-right: 1px solid rgba(255, 255, 255, 0.5);text-align: left;}
.acf-department-table thead th:last-child {border-right: none;}
.acf-department-table tbody td {padding: 16px 20px;color: var(--color-off-black);font-family: var(--font-family-tiktok);font-size: var(--p-size);line-height: 1.6;border: none;border-bottom: 1px solid rgba(131, 113, 93, 0.25);border-right: 1px solid rgba(131, 113, 93, 0.25);background: rgb(255, 255, 255, 0.5);}
.acf-department-table tbody td:last-child {border-right: none;}
.acf-department-table tbody td p:last-child {margin-bottom: 0;}
.acf-department-table tbody tr:last-child td {border-bottom: none;}
.acf-department-table tbody tr {background: transparent;transition: background-color 0.3s ease;}
.acf-department-table tbody tr:hover td {background-color: rgba(131, 113, 93, 0.15);}
.acf-department-table tbody td a {color: var(--color-off-black);}

/* ── Heading Box Repeater Spacing ── */
.dept-hero-overlap-card__heading-box {margin-top: 30px;}

/* ── Content Image Slider ── */
.dept-content-image-section.dept-cis .dept-content-image {overflow: hidden;}
.dept-cis__swiper {overflow: hidden;}
.dept-cis__footer {display: flex;align-items: center;justify-content: space-between;margin-top: 32px;}
.dept-cis__controls {display: flex;align-items: center;gap: 12px;}
.dept-cis__dots {display: flex;align-items: center;gap: 10px;}
.dept-cis__dot {width: 12px;height: 12px;border-radius: 50%;border: 2px solid var(--color-dark-blue);background: transparent;padding: 0;cursor: pointer;transition: background .3s ease, transform .3s ease;}
.dept-cis__dot--active {background: var(--color-dark-blue);transform: scale(1.15);}
.dept-cis__dot:hover {background: var(--color-dark-blue);opacity: .7;}
.dept-cis__dot:focus-visible {outline: 2px solid var(--color-dark-blue);outline-offset: 2px;}

/* ── Form Component ── */
section.main-form {padding-bottom: 80px;}
.global-form_wrapper.gform-theme--foundation {
    --gf-form-gap-x: 16px;
    --gf-form-gap-y: 16px;
}
.gform-theme--foundation .global-form .gform_fields {row-gap: var(--gf-form-gap-y);}
.main-form__box .global-form_wrapper .gform_heading, .main-form__box .global-form_wrapper .gform_validation_errors {display: none!important;}
.main-form__title {font-family: var(--font-family-yrt);font-size: var(--h3-size);color: var(--color-dark-blue);text-transform: uppercase;line-height: 1.2;}
.main-form__desc {font-family: var(--font-family-tiktok);font-size: var(--p-size);line-height: 1.6;color: var(--color-black);margin-bottom: 24px;}
.main-form__desc p {margin-bottom: 12px;color: inherit;font-family: inherit;font-size: inherit;line-height: inherit;}
.main-form__desc p:last-child {margin-bottom: 0;}
.main-form__desc a {color: var(--color-dark-blue);}
.main-form__desc ul, .main-form__desc ol {margin: 0px;padding-left: 20px;}
.main-form__desc li {margin-bottom: 6px;color: inherit;font-family: inherit;}
.main-form__box {position: relative;background: #cddb8052;border-radius: 12px;padding: 40px 30px;backdrop-filter: blur(4px);}
.main-form__box .gfield_required {margin-left: 4px;}
.main-form__box .gfield_description {font-size: 14px!important;margin-top: 6px!important;}
.main-form__box .gfield:last-child {margin-bottom: 0!important;}
.main-form__box .ginput_container_fileupload {position: relative!important;border: 2px dashed var(--color-dark-blue)!important;border-radius: 12px!important;padding: 40px 24px!important;text-align: center!important;background: transparent!important;transition: border-color 0.3s ease, background 0.3s ease!important;cursor: pointer!important;min-height: 160px!important;display: flex!important;align-items: center!important;justify-content: center!important;flex-direction: column!important;}
.main-form__box .ginput_container_fileupload:hover {border-color: var(--color-dark-blue)!important;background: rgba(255, 255, 255, 0.2)!important;}
.main-form__box .ginput_container_fileupload:not(.has-file)::before {content: "Upload your file or drag and drop"!important;display: block!important;font-family: var(--font-family-tiktok)!important;font-size: 16px!important;font-weight: 500!important;color: var(--color-dark-blue)!important;margin-bottom: 6px!important;pointer-events: none!important;}
.main-form__box .ginput_container_fileupload:not(.has-file) input[type="file"] {position: absolute!important;inset: 0!important;width: 100%!important;height: 100%!important;opacity: 0!important;cursor: pointer!important;z-index: 2!important;}
.main-form__box .ginput_container_fileupload.has-file {border-color: var(--color-light-green)!important;padding: 20px!important;min-height: auto!important;}
.main-form__box .ginput_container_fileupload.has-file::before {display: none!important;}
.main-form__box .ginput_preview_list {width: 100%!important;z-index: 3!important;position: relative!important;}
.main-form__box .ginput_preview {display: flex!important;flex-direction: row!important;align-items: center!important;justify-content: space-between!important;background: #ffffff!important;border: 1px solid rgba(28, 56, 102, 0.15)!important;border-radius: 8px!important;padding: 12px 16px!important;position: relative!important;width: 100%!important;gap: 12px!important;box-sizing: border-box!important;overflow: hidden!important;font-family: var(--font-family-tiktok)!important;font-size: 15px!important;color: var(--color-dark-blue)!important;font-weight: 500!important;text-align: left!important;}
.main-form__box .gfield_fileupload_filename {text-overflow: ellipsis!important;white-space: nowrap!important;overflow: hidden!important;max-width: 60%!important;display: inline-block!important;}
.main-form__box .gfield_fileupload_progress {display: flex!important;align-items: center!important;gap: 12px!important;margin-left: auto!important;flex-grow: 1!important;justify-content: flex-end!important;}
.main-form__box .gfield_fileupload_progressbar {width: 100px!important;height: 6px!important;background: rgba(28, 56, 102, 0.08)!important;border-radius: 3px!important;display: inline-block!important;position: relative!important;overflow: hidden!important;}
.main-form__box .gfield_fileupload_progressbar_progress {height: 100%!important;background: var(--color-light-green)!important;display: block!important;transition: width 0.1s linear!important;}
.main-form__box .gfield_fileupload_percent {font-family: var(--font-family-tiktok)!important;font-size: 13px!important;color: rgba(28, 56, 102, 0.6)!important;font-weight: 600!important;display: inline-block!important;min-width: 32px!important;text-align: right!important;}
.main-form__box .gform_delete_file, .main-form__box .ginput_preview .gform-theme-button {background: transparent!important;border: none!important;padding: 0!important;position: relative!important;width: 32px!important;height: 32px!important;display: flex!important;align-items: center!important;justify-content: center!important;cursor: pointer!important;color: rgba(28, 56, 102, 0.6)!important;transition: color 0.2s ease!important;margin: 0!important;z-index: 4!important;}
.main-form__box .gform_delete_file:hover, .main-form__box .ginput_preview .gform-theme-button:hover {color: var(--color-burgendy)!important;}
.main-form__box .gform_delete_file svg, .main-form__box .ginput_preview .gform-theme-button svg {width: 16px!important;height: 16px!important;display: block!important;}
.main-form__box .gfield--type-fileupload .gfield_description, .main-form__box .gfield--type-fileupload .gform_fileupload_rules {font-family: var(--font-family-tiktok)!important;font-size: 13px!important;margin-top: 10px!important;display: block!important;}

/* ── Department Card Grid Section ── */
.dept-card-grid-section {padding-bottom: 3rem;}
.dept-card-grid__header {margin-bottom: 32px;}
.dept-card-grid__title {font-family: var(--font-family-yrt);font-size: var(--h3-size);color: var(--color-dark-blue);text-transform: uppercase;margin: 0 0 24px 0;line-height: 1.2;}
.dept-card-grid__desc {font-family: var(--font-family-tiktok);font-size: var(--p-size);line-height: 1.65;color: var(--color-off-black);max-width: 720px;}
.dept-card-grid__cards {display: grid;grid-template-columns: repeat(2, 1fr);gap: 20px;}
.dept-card-grid__card {background: var(--color-brown);border-radius: 16px;padding: 28px 24px;display: flex;flex-direction: column;justify-content: flex-start;transition: background-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;cursor: default;position: relative;overflow: hidden;}
.dept-card-grid__card:hover {background: #cddb8052;box-shadow: 0 8px 24px rgba(28, 56, 102, 0.18);}
.dept-card-grid__card .dept-card-grid__card-title, .dept-card-grid__card .dept-card-grid__card-desc, .dept-card-grid__card .dept-card-grid__card-desc p {color: var(--color-off-white)!important;transition: color 0.35s ease;}
.dept-card-grid__card:hover .dept-card-grid__card-title, .dept-card-grid__card:hover .dept-card-grid__card-desc, .dept-card-grid__card:hover .dept-card-grid__card-desc p {color: var(--color-dark-blue) !important;}
.dept-card-grid__card .dept-card-grid__card-icon img {filter: brightness(0) invert(1) !important;}
.dept-card-grid__card:hover .dept-card-grid__card-icon img {filter: invert(18%) sepia(35%) saturate(1636%) hue-rotate(189deg) brightness(93%) contrast(92%) !important;}
.dept-card-grid__card-body {flex: 1;display: flex;flex-direction: column;}
.dept-card-grid__card-icon {margin-bottom: 16px;width: 40px;height: 40px;}
.dept-card-grid__card-icon img {width: 40px;height: 40px;object-fit: contain;transition: filter 0.35s ease;}
.dept-card-grid__card-title {font-family: var(--font-family-tiktok);font-size: var(--body-medium);font-weight: 700;text-transform: uppercase;margin: 0 0 10px 0;line-height: 1.3;}
.dept-card-grid__card-desc {font-family: var(--font-family-tiktok);font-size: 14px;line-height: 1.6;margin: 0 0 16px 0;flex-grow: 1;}
.dept-card-grid__card-desc:last-child {margin-bottom: 0;}
.dept-card-grid__card-desc p:last-child {margin-bottom: 0;}
.dept-card-grid__card-links {list-style: none;margin: 0;padding: 0;margin-top: auto;display: flex;flex-wrap: wrap;gap: 12px;}
.dept-card-grid__card-links li {padding: 5px 10px;border: 1px solid var(--color-tan);border-radius: 8px;transition: all 0.35s ease;display: inline-flex;align-items: center;}
.dept-card-grid__card:hover .dept-card-grid__card-links li {border-color: var(--color-dark-blue) !important;}
.dept-card-grid__card .dept-card-grid__card-links li:hover {background-color: var(--color-dark-blue) !important;border-color: var(--color-dark-blue) !important;}
.dept-card-grid__card-links a {font-family: var(--font-family-tiktok);font-size: 14px;font-weight: 600;color: var(--color-tan);text-decoration: none;display: inline-flex;align-items: center;gap: 8px;transition: color 0.35s ease;}
.dept-card-grid__card:hover .dept-card-grid__card-links a {color: var(--color-dark-blue) !important;}
.dept-card-grid__card .dept-card-grid__card-links li:hover a {color: var(--color-off-white) !important;}
.dept-card-grid__card svg {color: var(--color-off-white);transition: color 0.35s ease;display: inline-block;}
.dept-card-grid__card:hover svg {color: var(--color-dark-blue) !important;}
.dept-card-grid__card-links li:hover svg {color: var(--color-off-white) !important;}
.dept-card-grid__arrow {font-size: 14px;transition: transform 0.2s ease;}
.dept-card-grid__card-links a:hover .dept-card-grid__arrow {transform: translateX(3px);}

/* ── Expanded Brown Variant (has description) ── */
.dept-card-grid__card--expanded {flex-direction: row;align-items: stretch;padding: 28px 24px;gap: 24px;}
.dept-card-grid__card--expanded .dept-card-grid__card-body {flex: 1;}
.dept-card-grid__card-links-right {flex: 0.7;display: flex;align-items: center;}
.dept-card-grid__card-links-right .dept-card-grid__card-links {width: 100%;}

/* ── Section Accordion Tabs ── */
.section-tabs {padding-bottom: 3rem;}
.section-tabs__heading {font-family: var(--font-family-yrt);font-size: var(--h3-size);color: var(--color-dark-blue);text-transform: uppercase;margin: 0 0 16px 0;line-height: 1.2;}
.section-tabs__description {color: var(--color-off-black);margin-bottom: 30px;}
.section-tabs__description p {margin-bottom: 10px;}
.section-tabs__description p:last-child {margin-bottom: 0;}
.section-tabs__bar {display: flex;flex-wrap: wrap;gap: 8px;margin-bottom: 32px;border-bottom: 2px solid var(--color-light-blue);justify-content: center;}
.section-tabs__tab {font-family: var(--font-family-tiktok);font-size: var(--p-size);font-weight: 600;padding: 12px 24px;border: none;border-radius: 8px 8px 0 0;cursor: pointer;transition: all 0.25s ease;background: transparent;color: var(--color-dark-blue)!important;text-decoration: none;display: inline-flex;align-items: center;gap: 6px;white-space: nowrap;}
.section-tabs__tab.is-active {background: var(--color-dark-blue);color: var(--color-white)!important;}
.section-tabs__tab--link {background-color: var(--color-brown); color: var(--color-off-white)!important;}
.section-tabs__tab--link:hover {color: var(--color-brown)!important;background: var(--color-off-white);}
.section-tabs__tab--link svg {flex-shrink: 0;}
.section-tabs__panel {display: none;}
.section-tabs__panel.is-active {display: block;}
.section-tabs__panel > section {margin-bottom: 0;}
.section-tabs__panel > section:last-child {margin-bottom: 0;}
.section-tabs__panel .tosa_container {padding-left: 0;padding-right: 0;}


/* ── Consolidated Media Queries ── */

@media (max-width: 1120px) {
    .department-banner { min-height: 70vh; }
}

@media (max-width: 1024px) {
    .dept-card-grid__cards {grid-template-columns: repeat(2, 1fr);}
    .dept-card-grid__card--expanded {grid-column: span 2;}
    .acf-department-table {min-width: 600px;}
}

@media (max-width: 991px) {
    .dept-hero-overlap-section {margin-top: 60px;}
    .department-banner + .dept-hero-overlap-section {margin-top: -100px;}
    .dept-hero-overlap-card {flex-direction: column;padding: 40px;gap: 36px;}
    .dept-hero-overlap-card__right {flex: 0 0 30%;}
    .dept-quick-links {flex-direction: column;align-items: stretch;}
    .dept-quick-links__left, .dept-quick-links__right {max-width: 100%;flex: none;width: 100%;margin-left: 0;}
    .dept-quick-links__image-wrapper {border-radius: 12px 12px 0 0;}
    .dept-quick-links__right {margin-top: -30px;}
    .dept-quick-links__card {border-radius: 0 0 12px 12px;padding: 40px 0;}
    .dept-quick-links__item {padding: 16px 6%;min-height: 80px;gap: 20px;}
    .dept-quick-links__item-title {font-size: var(--h5-size);}
    .dept-quick-links__item-arrow svg {width: 60px;}
    .dept-quick-links__item:hover span.dept-quick-links__item-title {transform: translateX(8px) scale(1.05);}
    .dept-contact-card {padding: 40px 32px;}
    .dept-faqs__box {padding: 20px 30px;}
}

@media (max-width: 768px) {
    .department-banner { min-height: 60vh; } 
    .department-banner__subheading br { display: none; }
    .dept-hero-overlap-section {margin-top: 40px;}
    .department-banner + .dept-hero-overlap-section {margin-top: -60px;}
    .department-banner + .dept-quick-links-section {margin-top: 40px;}
    .department-banner + .dept-content-image-section {padding-top: 50px;}
    .department-banner + .faqs_container {padding-top: 50px;}
    section.faqs_container {padding-bottom: 50px;}
    .dept-hero-overlap-card {padding: 40px 24px;}
    .dept-hero-overlap-card__left, .dept-hero-overlap-card__right {flex: none;width: 100%;}
    .dept-hero-overlap-card__right {position: static;}
    .dept-quick-links-section {margin-bottom: 40px;}
    .dept-quick-links__card {padding: 30px 0;}
    .dept-quick-links__item {padding: 12px 5%;min-height: 70px;gap: 15px;}
    .dept-quick-links__item-title {font-size: 20px;}
    .dept-quick-links__item-arrow svg {width: 45px;}
    .dept-content-image {flex-direction: column-reverse;gap: 30px;}
    .dept-content-image__col {max-width: 100%;width: 100%;}
    .dept-content-image-section {padding-bottom: 50px;}
    .dept-content-image-section.government-content {padding-inline-start: 24px;}
    .dept-content-image__heading {margin-bottom: 16px;}
    .dept-content-image__text {margin-bottom: 24px;}
    .dept-contact-card {padding: 32px 20px;}
    .dept-faqs__trigger {padding: 14px 0;line-height: 1.35;}
    .dept-faqs__content {font-size: var(--p-size);}
    .dept-faqs__content :is(h1, h2, h3, h4, h5, h6) {font-size: 18px;}
    .tablepress thead th, .tablepress tbody td {padding: 12px 14px!important;font-size: 14px!important;}
    .acf-department-table thead th, .acf-department-table tbody td {padding: 12px 14px;}
    .dept-cis__footer {flex-direction: column;gap: 20px;}
    .dept-card-grid__cards {grid-template-columns: 1fr;}
    .dept-card-grid__card--expanded {grid-column: span 1;flex-direction: column;}
    .dept-card-grid__title {font-size: 26px;}
    .section-tabs__bar {flex-wrap: nowrap;overflow-x: auto;-webkit-overflow-scrolling: touch;scrollbar-width: none;gap: 4px;}
    .section-tabs__bar::-webkit-scrollbar {display: none;}
    .section-tabs__tab {font-size: 14px;padding: 10px 16px;}
    .section-tabs__heading {font-size: 26px;}
    .dept-contact-card__hours-content > ul {max-width: 80%;margin-inline: auto;}
    .section-tabs__bar {justify-content: flex-start;margin-bottom: 25px;}
    .dept-hero-overlap-card__heading-box {margin-top: 25px;}
    .dept-hero-overlap-card__content :is(h1, h2, h3, h4, h5, h6),
    .dept-hero-overlap-card__heading-box :is(h1, h2, h3, h4, h5, h6) {margin-block: 20px 5px!important;}
}

@media (max-width: 576px) {
    .department-banner { min-height: 55vh; } 
    .dept-content-image {gap: 25px;}
    .department-banner__heading {font-size: 38px;letter-spacing: 2px;}
    .department-banner__subheading {font-size: 26px;}
    .department-banner + .dept-hero-overlap-section {margin-top: 0px;}
    .dept-hero-overlap-card {padding: 30px 20px;}
    .dept-contact-card__hours-content > ul {max-width: none;}
    .dept-content-image-section.government-content {padding-inline: 20px;}
    .dept-faqs__box {padding: 10px 20px;}
    .acf-department-table thead th, .acf-department-table tbody td {padding: 12px 10px;}
    .dept-hero-overlap-card__heading-box {margin-top: 20px;}
    .dept-hero-overlap-card__content :is(h1, h2, h3, h4, h5, h6),
    .dept-hero-overlap-card__heading-box :is(h1, h2, h3, h4, h5, h6) {margin-block: 15px 5px!important;}
}

@media (max-width: 350px) {
    .department-banner__heading {font-size: 30px;}  
}
