/* ============================================================
   NCSI Visual Base Template
   Purpose: Preserve the stakeholder site's public-page look and
   feel without retaining WordPress runtime or plugin dependencies.
   Load after global.css and components.css.
   ============================================================ */

:root {
    --ncsi-black: #221d18;
    --ncsi-gray: #54595f;
    --ncsi-medium-gray: #6c767a;
    --ncsi-light-gray: #f5f5f4;
    --ncsi-teal: #067dac;
    --ncsi-marigold: #fdb52a;
    --ncsi-yellow: #f7b500;
    --ncsi-turquoise: #3ba49d;
    --ncsi-light-blue: #3fb5dd;
    --ncsi-dark-blue: #1a4199;
    --ncsi-red: #d1443d;
    --ncsi-whiteboard: #e8ecf5;
    --ncsi-white: #ffffff;

    /* Values restored from the stakeholder theme's original layout system. */
    --ncsi-content-width: 1200px;
    --ncsi-wide-width: 1440px;
    --ncsi-gutter: 20px;

    /* WordPress global variables used by global.css/components.css. */
    --wp--style--global--content-size: 1200px;
    --wp--style--global--wide-size: 1440px;
    --wp--style--root--padding-left: 20px;
    --wp--style--root--padding-right: 20px;
    --ncsi-section-space: clamp(60px, 8vw + 1rem, 100px);

    --ncsi-font-body: "IBMPlexSans", Helvetica, Arial, sans-serif;
    --ncsi-font-heading: "Matter", Helvetica, Arial, sans-serif;

    --ncsi-h1: clamp(2.375rem, 4vw + 1rem, 3.563rem);
    --ncsi-h2: clamp(1.938rem, 3vw + 1rem, 2.688rem);
    --ncsi-h3: clamp(1.75rem, 2vw + 1rem, 2.125rem);
    --ncsi-h4: clamp(1.563rem, 1.5vw + 1rem, 1.75rem);
    --ncsi-body: clamp(1.125rem, .5vw + 1rem, 1.375rem);
}

/* ---------- Baseline and accessibility ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ncsi-template {
    margin: 0;
    color: var(--ncsi-black);
    background: var(--ncsi-white);
    font-family: var(--ncsi-font-body);
    font-size: var(--ncsi-body);
    line-height: 1.53;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--ncsi-dark-blue); }
a:hover, a:focus { color: var(--ncsi-teal); }
button, input, select, textarea { font: inherit; }

.wrapper {
    width: 100%;
    max-width: var(--wp--style--global--content-size);
    margin-inline: auto;
}

@media screen and (max-width: 1304px) {
    .wrapper {
        padding-inline: var(--ncsi-gutter);
    }
}

.u-sr-only,
.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.u-sr-only-focusable:focus,
.u-skiplink:focus {
    position: fixed !important;
    top: 10px;
    left: 10px;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 12px 18px !important;
    clip: auto !important;
    overflow: visible !important;
    background: var(--ncsi-white);
    color: var(--ncsi-dark-blue);
    z-index: 10000;
}

/* ---------- WordPress block compatibility retained by copied body ---------- */
.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 3vw, 45px);
    align-items: normal;
    margin-bottom: 1.75em;
}
.wp-block-column {
    flex: 1 1 0;
    min-width: 0;
    overflow-wrap: break-word;
}
.wp-block-spacer { clear: both; }
.wp-block-embed { overflow-wrap: break-word; }
.wp-block-embed__wrapper { position: relative; }
.wp-block-embed iframe { width: 100%; max-width: 100%; border: 0; }
.wp-block-button__link,
.wp-element-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    cursor: pointer;
    text-decoration: none;
}
.has-text-align-center { text-align: center; }
.has-text-align-left { text-align: left; }
.has-text-align-right { text-align: right; }
.aligncenter { clear: both; margin-inline: auto; }

/* ---------- Post header ---------- */
.mg-block--post-header .post-header__wrapper {
    max-width: var(--ncsi-wide-width);
}
.mg-block--post-header .post-header__category {
    display: inline-block;
    padding: 8px 17px;
    color: var(--ncsi-white);
    background: var(--ncsi-medium-gray);
    border-radius: 60px;
}
.mg-block--post-header .post-header__title {
    margin: clamp(15px, 1vw + .75rem, 20px) 0 0;
    font-family: var(--ncsi-font-heading);
    font-size: var(--ncsi-h1);
    line-height: 1.1;
}
.mg-block--post-header .post-header__tagline,
.mg-block--post-header .post-header__tagline a {
    color: var(--ncsi-gray);
    font-style: italic;
}
.mg-block--post-header .post-header__meta {
    margin-top: clamp(8px, .5vw + .25rem, 10px);
    font-family: var(--ncsi-font-heading);
    font-size: var(--ncsi-h3);
    font-weight: 670;
}
.mg-block--post-header hr {
    max-width: 993px;
    margin: clamp(20px, 1vw + 1rem, 30px) 0;
    border: 0;
    border-top: 3px solid var(--ncsi-yellow);
}
.mg-block--post-header.post-header--resource hr { border-top-color: var(--ncsi-red); }

/* ---------- General content grid ---------- */
.single .mg-block--general-content {
    margin-block-start: clamp(20px, 1vw + 1rem, 30px);
}
.general-content__wrapper {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 10px;
}
.general-content { grid-column: auto / span 12; }
.general-content > *,
.general-content .wp-block-column > * {
    margin-block-start: clamp(20px, 1vw + 1rem, 30px);
}
.general-content > :first-child,
.general-content .wp-block-column > :first-child { margin-block-start: 0; }
.general-content > p { margin-block-start: 1em; }
.general-content > .wp-block-list li {
    margin-bottom: clamp(15px, 1vw + .75rem, 20px);
}
.general-content > .wp-block-list li::marker { color: var(--ncsi-yellow); }

.header-block { margin-bottom: 3rem; }
.header-block .wp-block-heading { margin: 0; }
.header-block p {
    max-width: 990px;
    margin: 0;
    padding-top: clamp(8px, .5vw + .25rem, 10px);
}

/* ---------- Accordion ---------- */
.accordion::after { display: block; clear: both; content: ""; }
.accordion__single-item { border-top: 3px solid var(--ncsi-dark-blue); }
.accordion__single-item-title { margin-top: 0; }
.accordion__single-item-title button {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    padding: clamp(20px, 1vw + 1rem, 30px) 0;
    color: var(--ncsi-dark-blue);
    background: transparent;
    border: 0;
    font-size: var(--ncsi-h4);
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}
.accordion__single-item-title button:hover,
.accordion__single-item-title button:focus { color: var(--ncsi-black); }
.accordion__single-item-icon {
    position: relative;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    margin-left: 20px;
    overflow: hidden;
    border-radius: 50%;
}
.accordion__single-item-icon::before,
.accordion__single-item-icon::after {
    position: absolute;
    content: "";
    background: var(--ncsi-dark-blue);
    border-radius: 6px;
}
.accordion__single-item-icon::before {
    top: 50%;
    width: 30px;
    height: 5px;
    transform: translateY(-2px);
}
.accordion__single-item-icon::after {
    left: 50%;
    width: 5px;
    height: 30px;
    transform: translateX(-2px);
    transition: opacity .3s ease, transform .3s ease;
}
.accordion__single-item.active .accordion__single-item-icon::after {
    opacity: 0;
    transform: translateX(-1px) translateY(-20px);
}
.accordion__single-item-content {
    display: none;
    padding: 0 0 clamp(20px, 1vw + 1rem, 30px);
}
.accordion__single-item.active .accordion__single-item-content { display: block; }

/* ---------- Topic and related-content spacing ---------- */
.mg-block--topics {
    margin-block-start: calc(var(--ncsi-section-space) / 2);
}
.mg-block--topics ul {
    gap: calc(var(--ncsi-section-space) / 4);
}
@media (min-width: 782px) {
    .mg-block--featured-post.is-style-stacked .post-item {
        flex-direction: row-reverse;
        gap: clamp(20px, 4vw, 45px);
    }
    .mg-block--featured-post.is-style-stacked .post-item__thumbnail {
        width: 365px;
        aspect-ratio: 1.5;
    }
}

/* ---------- Dashboard/embed safety ---------- */
.tableauPlaceholder,
.tableauViz,
.mg-block--tableau-view,
.wp-block-acf-tableau-view {
    width: 100%;
    max-width: 100%;
}
.tableauPlaceholder iframe,
.tableauViz iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: 0;
}
.filters-overlay { display: none; }

/* ---------- Header/menu fallbacks ---------- */
.menu-item { position: relative; }
.menu-item > .dropdown-toggle { background: transparent; border: 0; cursor: pointer; }
.menu-item.is-open > .mega-menu,
.menu-item.is-open > .sub-menu { display: block; }

/* ---------- Responsive compatibility ---------- */
@media (min-width: 870px) {
    .general-content {
        grid-column: auto / span 10;
        column-gap: 45px;
    }
    .general-content > :not(.mg-block--header .wp-block-acf-header) {
        grid-column: auto / span 10;
    }
    .accordion .wp-block-acf-header {
        float: left;
        width: 390px;
        margin-right: 45px;
    }
    .accordion__single-item {
        float: right;
        width: calc(100% - 435px);
    }
}
@media (max-width: 781px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* ============================================================
   Reconstruction fixes identified from the original theme files
   ============================================================ */

/* Keep header, breadcrumb and page content on the same center line. */
.header__top-nav > .wrapper,
.header__content > .wrapper,
.breadcrumbs > .wrapper,
main > .wrapper,
.footer > .wrapper {
    max-width: var(--wp--style--global--content-size);
}

/* Desktop search control: preserve the original 48px yellow trigger. */
@media screen and (min-width: 870px) {
    .nav--main {
        position: relative;
        padding-right: 63px;
    }

    .nav--main > .search-bar {
        right: 0;
        width: 48px;
        overflow: visible;
    }

    .nav--main > .search-bar.is-active {
        width: 100%;
    }

    .nav--main .search-open {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        min-width: 48px;
        padding: 0;
        appearance: none;
    }

    .nav--main .search-open .icon.search,
    .nav--main .search-open .icon.search svg {
        display: block;
        width: 48px;
        height: 48px;
    }
}

/* Topic pills: ncsi_base_template.css previously removed their radius. */
.mg-block--topics .is-style-tertiary-button .wp-block-button__link,
.mg-block--topics .is-style-tertiary-button .wp-element-button {
    border-radius: 999px;
    padding: 10px 18px;
}

/* Newsletter submit button. */
.footer__newsletter-form-group input[type="submit"],
#mc-embedded-subscribe {
    appearance: none;
    border: 0;
    border-radius: 999px;
    background-color: var(--ncsi-dark-blue);
    color: var(--ncsi-white);
    font-family: var(--ncsi-font-heading);
    font-weight: 670;
    padding-inline: 24px;
}

.footer__newsletter-form-group input[type="submit"]:hover,
.footer__newsletter-form-group input[type="submit"]:focus,
#mc-embedded-subscribe:hover,
#mc-embedded-subscribe:focus {
    background-color: var(--ncsi-teal);
    color: var(--ncsi-white);
}

/* Tableau loader owns this container. Never retain browser-generated
   <tableau-viz>, shadow-root or iframe markup inside it. */
.tableau-container,
#tableauViz {
    width: 100%;
    max-width: 100%;
}

#tableauViz > tableau-viz {
    display: block;
    margin-inline: auto;
}


/* ============================================================
   Final template alignment and component corrections
   ============================================================ */

/* Recreate WordPress's removed is-layout-constrained behavior.
   Every major block between the fixed header and footer stays on
   the same centered grid as the logo, breadcrumbs and footer. */
.main > :not(.breadcrumbs) {
    width: calc(100% - 40px);
    max-width: var(--wp--style--global--content-size);
    margin-left: auto;
    margin-right: auto;
}

/* Some saved Gutenberg blocks carry full-width defaults internally.
   Keep their immediate layout containers within the parent boundary. */
.main .is-layout-constrained,
.main .has-global-padding,
.main .post-header__content,
.main .post-header__wrapper,
.main .general-content__wrapper,
.main .mg-block--topics,
.main .mg-block--featured-post,
.main .tableau,
.main .tableau-container {
    max-width: 100%;
}

@media screen and (max-width: 781px) {
    .main > :not(.breadcrumbs) {
        width: calc(100% - 30px);
    }
}

/* Primary call-to-action used by the related interview card. */
.mg-block--featured-post .wp-block-button__link,
.mg-block--featured-post .wp-element-button,
a.wp-block-button__link[href*="gathering-insights-from-data"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background-color: var(--ncsi-dark-blue);
    color: var(--ncsi-white);
    font-family: var(--ncsi-font-heading);
    font-weight: 670;
    line-height: 1.1;
    padding: 14px 24px;
    text-decoration: none;
    transition: background-color .3s ease, color .3s ease;
}

.mg-block--featured-post .wp-block-button__link:hover,
.mg-block--featured-post .wp-block-button__link:focus,
.mg-block--featured-post .wp-element-button:hover,
.mg-block--featured-post .wp-element-button:focus,
a.wp-block-button__link[href*="gathering-insights-from-data"]:hover,
a.wp-block-button__link[href*="gathering-insights-from-data"]:focus {
    background-color: var(--ncsi-teal);
    color: var(--ncsi-white);
}

/* One deterministic chevron per dropdown. The inline SVGs were removed
   from the PHP because copied/browser-generated icon markup was duplicating
   the theme's arrow presentation. */
.nav__list > .menu-item.menu-item-has-children > .dropdown-toggle,
.header__mobile-nav-list .menu-item.menu-item-has-children > .dropdown-toggle {
    all: unset;
    box-sizing: border-box;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    cursor: pointer;
    overflow: hidden;
}

.nav__list > .menu-item.menu-item-has-children > .dropdown-toggle > *,
.header__mobile-nav-list .menu-item.menu-item-has-children > .dropdown-toggle > * {
    /* Preserve accessible text through the existing u-sr-only clipping. */
}

.nav__list > .menu-item.menu-item-has-children > .dropdown-toggle::before,
.header__mobile-nav-list .menu-item.menu-item-has-children > .dropdown-toggle::before {
    content: "" !important;
    display: block !important;
    width: 9px;
    height: 9px;
    border-right: 2px solid var(--ncsi-gray);
    border-bottom: 2px solid var(--ncsi-gray);
    transform: translateY(-2px) rotate(45deg);
    transition: transform .3s ease;
}

.nav__list > .menu-item.menu-item-has-children > .dropdown-toggle::after,
.header__mobile-nav-list .menu-item.menu-item-has-children > .dropdown-toggle::after {
    content: none !important;
    display: none !important;
}

.nav__list > .menu-item.menu-item-has-children > .dropdown-toggle svg,
.header__mobile-nav-list .menu-item.menu-item-has-children > .dropdown-toggle svg {
    display: none !important;
}

.nav__list > .menu-item.menu-item-has-children > .dropdown-toggle.dropdown-toggle-active::before,
.nav__list > .menu-item.menu-item-has-children > .dropdown-toggle.is-active::before,
.header__mobile-nav-list .menu-item.menu-item-has-children > .dropdown-toggle.dropdown-toggle-active::before,
.header__mobile-nav-list .menu-item.menu-item-has-children > .dropdown-toggle.is-active::before,
.nav__list > .menu-item.menu-item-has-children:has(.is-open) > .dropdown-toggle::before {
    transform: translateY(2px) rotate(225deg);
}

.nav__list > .menu-item.menu-item-has-children > .dropdown-toggle:focus-visible,
.header__mobile-nav-list .menu-item.menu-item-has-children > .dropdown-toggle:focus-visible {
    border-radius: 3px;
    outline: 2px solid var(--ncsi-dark-blue);
    outline-offset: 2px;
}

/* ===== Exact live-site comparison overrides =====
   Measured at the same viewport:
   Live article width: 998.328px
   Previous development article width: 1056.83px
   ================================================= */

:root {
    --ncsi-site-frame-width: 1200px;
    --ncsi-article-width: 998.328px;
} 

/* Outer frame used by the logo, utility menu, navigation, breadcrumbs and footer. */
.wrapper,
.header__top-nav > .wrapper,
.header__content > .wrapper,
.breadcrumbs > .wrapper,
.main > .wrapper,
.footer > .wrapper {
    width: calc(100% - 40px) !important;
    max-width: var(--ncsi-site-frame-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* The WordPress page uses a narrower article column inside the outer frame. */
.main > .wrapper > .mg-block--post-header,
.main > .wrapper > .mg-block--general-content,
.main > .wrapper > .mg-block--topics,
.main > .wrapper > .mg-block--featured-post,
.main > .wrapper > .wp-block-spacer {
    width: 100% !important;
    max-width: var(--ncsi-article-width) !important;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.main .post-header__content,
.main .post-header__wrapper,
.main .general-content__wrapper,
.main .general-content,
.main .mg-block--topics,
.main .mg-block--featured-post {
    width: 100% !important;
    max-width: 100% !important;
}

/* Do not let the ten-column Gutenberg rule shrink the text below the measured width. */
@media screen and (min-width: 870px) {
    .main .general-content {
        grid-column: 1 / -1 !important;
    }

    .main .general-content > :not(.mg-block--header .wp-block-acf-header) {
        grid-column: 1 / -1 !important;
    }
}

/* Font family assignments. These render as Matter/IBM Plex Sans only when the
   corresponding webfont files and @font-face declarations are actually loaded. */
body.ncsi-template,
body.ncsi-template p,
body.ncsi-template li,
body.ncsi-template blockquote,
body.ncsi-template input,
body.ncsi-template textarea,
body.ncsi-template select {
    font-family: "IBMPlexSans", "IBM Plex Sans", Arial, Helvetica, sans-serif !important;
    font-weight: 400;
}

body.ncsi-template h1,
body.ncsi-template h2,
body.ncsi-template h3,
body.ncsi-template h4,
body.ncsi-template h5,
body.ncsi-template h6,
body.ncsi-template .header,
body.ncsi-template .breadcrumbs,
body.ncsi-template .heading--eyebrow,
body.ncsi-template .wp-block-button__link,
body.ncsi-template .wp-element-button {
    font-family: "Matter", Arial, Helvetica, sans-serif !important;
}

.mg-block--post-header .post-header__title {
    max-width: 850px !important;
    font-weight: 790 !important;
    line-height: 1 !important;
    letter-spacing: -0.025em !important;
}

.header__top-nav a,
.nav--main .nav__list > .menu-item > a,
.header__mobile-nav a,
.breadcrumbs a,
.breadcrumbs span {
    font-weight: 500 !important;
}

@media screen and (max-width: 1038px) {
    .wrapper,
    .header__top-nav > .wrapper,
    .header__content > .wrapper,
    .breadcrumbs > .wrapper,
    .main > .wrapper,
    .footer > .wrapper {
        width: calc(100% - 30px) !important;
    }

    .main > .wrapper > .mg-block--post-header,
    .main > .wrapper > .mg-block--general-content,
    .main > .wrapper > .mg-block--topics,
    .main > .wrapper > .mg-block--featured-post,
    .main > .wrapper > .wp-block-spacer {
        max-width: 100% !important;
    }
}

/* ============================================================
   FORMAT-Pro Dashboard Search Forms
   ============================================================ */

.fp-search-panel {
    width: 100%;
    margin: clamp(45px, 5vw, 75px) 0 0;
    padding-bottom: clamp(30px, 3vw, 44px);
    border-bottom: 5px solid #f5f5f4;
}

.fp-search-panel + .fp-search-panel {
    margin-top: clamp(48px, 5vw, 78px);
}

.fp-search-panel__title {
    margin: 0;
    color: var(--ncsi-black, #221d18);
    font-family: "Matter", Arial, Helvetica, sans-serif;
    font-size: clamp(2rem, 2.7vw, 2.688rem);
    font-weight: 790;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.fp-search-panel__description {
    width: 100%;
    max-width: 1030px;
    margin: clamp(14px, 1.5vw, 20px) 0 0;
    color: var(--ncsi-black, #221d18);
    font-family: "IBMPlexSans", "IBM Plex Sans", Arial, Helvetica, sans-serif;
    font-size: clamp(1.125rem, .5vw + 1rem, 1.375rem);
    font-weight: 400;
    line-height: 1.5;
}

.fp-search-form {
    width: 100%;
    margin-top: clamp(28px, 3vw, 42px);
}

.fp-search-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    align-items: center;
    gap: 16px;
    width: 100%;
}


.fp-search-form__row--state-only {
    grid-template-columns: minmax(240px, 34%) 48px;
    justify-content: start;
}

.fp-search-form__row--district {
    grid-template-columns: minmax(240px, 34%) minmax(0, 1fr) 48px;
    gap: 14px;
}

.fp-search-form__field-wrap {
    position: relative;
    width: 100%;
    min-width: 0;
}

.fp-search-form__field {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 57px;
    margin: 0;
    padding: 13px 20px;
    color: var(--ncsi-black, #221d18);
    background-color: #ffffff;
    border: 3px solid var(--ncsi-dark-blue, #1a4199);
    border-radius: 15px;
    outline: 0;
    font-family: "IBMPlexSans", "IBM Plex Sans", Arial, Helvetica, sans-serif;
    font-size: clamp(1.125rem, .4vw + 1rem, 1.25rem);
    font-weight: 400;
    line-height: 1.25;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.fp-search-form__field:focus {
    border-color: var(--ncsi-dark-blue, #1a4199);
    box-shadow: 0 0 0 3px rgba(26, 65, 153, .16);
}

.fp-search-form__field::placeholder {
    color: var(--ncsi-gray, #54595f);
    opacity: 1;
}

.fp-search-form__select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 54px;
    cursor: pointer;
}

.fp-search-form__select:invalid {
    color: var(--ncsi-gray, #54595f);
}

.fp-search-form__select option {
    color: var(--ncsi-black, #221d18);
    background: #ffffff;
}

.fp-search-form__field-wrap--select::after {
    position: absolute;
    top: 50%;
    right: 20px;
    width: 18px;
    height: 22px;
    content: "";
    pointer-events: none;
    transform: translateY(-50%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px 22px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='22' viewBox='0 0 18 22' fill='none'%3E%3Cpath d='M4 8L9 3L14 8' stroke='%2354595F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4 14L9 19L14 14' stroke='%2354595F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.fp-search-form__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    color: #ffffff;
    background-color: var(--ncsi-dark-blue, #1a4199);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.fp-search-form__button:hover {
    color: #ffffff;
    background-color: var(--ncsi-teal, #067dac);
    transform: translateY(-1px);
}

.fp-search-form__button:focus-visible {
    color: #ffffff;
    outline: 3px solid var(--ncsi-yellow, #f7b500);
    outline-offset: 3px;
}

.fp-search-form__button svg {
    display: block;
    width: 25px;
    height: 25px;
}

.fp-search-info {
    width: 100%;
    margin-top: clamp(24px, 2.5vw, 34px);
    border: 0;
}

.fp-search-info__summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    color: var(--ncsi-gray, #54595f);
    background: transparent;
    border: 0;
    font-family: "Matter", Arial, Helvetica, sans-serif;
    font-size: clamp(1.25rem, .65vw + 1rem, 1.438rem);
    font-weight: 670;
    line-height: 1.2;
    list-style: none;
    cursor: pointer;
}

.fp-search-info__summary::-webkit-details-marker {
    display: none;
}

.fp-search-info__summary::marker {
    content: "";
}

.fp-search-info__summary:hover,
.fp-search-info__summary:focus-visible {
    color: var(--ncsi-dark-blue, #1a4199);
}

.fp-search-info__summary:focus-visible {
    border-radius: 3px;
    outline: 2px solid var(--ncsi-dark-blue, #1a4199);
    outline-offset: 4px;
}

.fp-search-info__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: #ffffff;
    background-color: var(--ncsi-medium-gray, #6c767a);
    border-radius: 50%;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-style: normal;
    font-weight: 700;
    line-height: 1;
}

.fp-search-info__content {
    max-width: 900px;
    padding: 18px 0 0 32px;
    color: var(--ncsi-black, #221d18);
}

.fp-search-info__content p {
    margin: 0;
    font-family: "IBMPlexSans", "IBM Plex Sans", Arial, Helvetica, sans-serif;
    font-size: clamp(1.0625rem, .4vw + 1rem, 1.25rem);
    line-height: 1.55;
}

@media screen and (max-width: 600px) {
    .fp-search-panel {
        border-bottom-width: 4px;
    }

    .fp-search-form__row,
    .fp-search-form__row--state-only {
        grid-template-columns: minmax(0, 1fr) 46px;
        gap: 10px;
    }

    .fp-search-form__row--district {
        grid-template-columns: minmax(0, 1fr) 46px;
    }

    .fp-search-form__row--district .fp-search-form__field-wrap:nth-of-type(2) {
        grid-column: 1 / 2;
    }

    .fp-search-form__row--district .fp-search-form__button {
        grid-column: 2;
        grid-row: 2;
    }

    .fp-search-form__field {
        min-height: 54px;
        padding-inline: 16px;
        border-width: 2px;
        border-radius: 12px;
    }

    .fp-search-form__select {
        padding-right: 48px;
    }

    .fp-search-form__field-wrap--select::after {
        right: 16px;
    }

    .fp-search-form__button {
        width: 46px;
        min-width: 46px;
        height: 46px;
    }

    .fp-search-info__content {
        padding-left: 0;
    }
}

@media screen and (min-width: 601px) and (max-width: 850px) {
    .fp-search-form__row--state-only {
        grid-template-columns: minmax(240px, 45%) 48px;
    }

    .fp-search-form__row--district {
        grid-template-columns: minmax(220px, 38%) minmax(0, 1fr) 48px;
        gap: 12px;
    }
}


/* =====================================================
   Dashboard Navigation Buttons
   ===================================================== */

.fp-dashboard-nav {

    margin: 35px 0 45px;

}

.fp-dashboard-nav-buttons {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 20px;

    flex-wrap: nowrap;

}

.fp-dashboard-nav-buttons .wp-block-button {

    margin: 0;

}

/* Match the NCSI blue pill button */

.fp-dashboard-nav-buttons .wp-block-button__link {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    min-width: 250px;

    padding: 16px 28px;

    background: #23489f;

    color: #ffffff !important;

    border-radius: 999px;

    border: none;

    text-decoration: none;

    font-family: "Matter", Arial, Helvetica, sans-serif;

    font-size: 1.05rem;

    font-weight: 670;

    line-height: 1;

    white-space: nowrap;

    transition: background-color .25s ease;

}

.fp-dashboard-nav-buttons .wp-block-button__link:hover,
.fp-dashboard-nav-buttons .wp-block-button__link:focus {

    background: #1b3d89;

    color: #ffffff;

    text-decoration: none;

}

/* Mobile */

@media (max-width: 900px) {

    .fp-dashboard-nav-buttons {

        flex-wrap: wrap;

    }

}

/* =====================================================
   FORMAT-Pro Header Width Override
   ===================================================== */

.main > .wrapper > .mg-block--post-header {

    max-width: 100% !important;

}

.main .mg-block--post-header .post-header__wrapper {

    max-width: 100% !important;

}

.main .mg-block--post-header hr {

    max-width: 100% !important;

}

.main .mg-block--post-header h1 {

    max-width: 100% !important;

}

/* Keep utility navigation text color unchanged on hover/focus */
.header__top-nav .utility-link:hover,
.header__top-nav .utility-link:focus {
    color: #54595f;
}