/* Shared taxonomy header and footer; extracted from country workspace styles. */

.irac-country-public { padding-inline: 0 !important; }
:is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer { margin-block-start: 0; }
:is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer a { color: #3b73b4; }
@media (min-width: 761px) {
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > header > .wp-block-group { padding-top: 20px !important; padding-bottom: 16px !important; }
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > header .wp-block-site-logo { padding-top: 0 !important; }
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > header .wp-block-site-logo img { height: 72px; width: auto; max-width: 100%; }
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > header > .wp-block-group > .wp-block-navigation { margin-top: 20px; }
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > header .wp-block-navigation { font-size: 18px; line-height: 24px; }
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > header .wp-block-navigation a { color: white; }
}
:is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer { color: #494946; font-family: "IRAC Lato", "IRAC Open Sans", sans-serif; }
:is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer h2 { font: 400 19px/24px "IRAC Lato", "IRAC Open Sans", sans-serif; color: #333; }
:is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer .wp-block-column:first-child > p { max-width: 332px; font-style: italic; font-size: 22px; line-height: 36px; margin-top: 29px; color: #333; }
:is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer > .wp-block-group > .wp-block-group:last-child { font-size: 16px; line-height: 19px; color: #333; }
@media (min-width: 1001px) {
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer > .wp-block-group { padding-top: 56px !important; padding-bottom: 78px !important; }
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer .wp-block-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding: 24px 24px 0; margin-block: 0; }
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer .wp-block-columns > .wp-block-column { min-height: 240px; }
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer .wp-block-column:nth-child(2) > .wp-block-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer > .wp-block-group > .wp-block-group:last-child { max-width: 1392px; margin-top: 74px; padding-bottom: 24px; }
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer > .wp-block-group > .wp-block-group:last-child p { margin-top: 9px; }
}
@media (max-width: 760px) {
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer .wp-block-column:nth-child(2) > .wp-block-group { flex-wrap: wrap; gap: 32px; }
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer .wp-block-column:nth-child(2) > .wp-block-group > .wp-block-group:first-child { min-width: 220px; }
}

:is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer .wp-block-column:nth-child(2) p { line-height: 36px; }
:is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer .wp-block-column:nth-child(2) p + p { margin-top: 0; }
:is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer .wp-block-column:first-child .wp-block-image { max-width: 332px; }
:is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer a[href^="mailto:"] { white-space: nowrap; }
@media (min-width: 1001px) {
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer .wp-block-column:nth-child(2) > .wp-block-group { grid-template-columns: minmax(0, 244fr) minmax(90px, 153fr); }
}
.irac-country-header-logo { display: none; }
@media (min-width: 1001px) {
    :is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > header .wp-block-site-logo { flex-basis: 428px !important; width: 428px; }
    .irac-country-header-logo { display: block; width: 428px; height: 72px; line-height: 0; }
    .irac-country-header-logo svg { display: block; width: 100%; height: 100%; }
    .irac-country-header-logo + img { display: none; }
}
:is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > header .tw-block-animation { animation: none !important; opacity: 1 !important; }
:is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer .wp-block-column:first-child .wp-block-image { line-height: 0; }
:is(body.tax-country, body.tax-team, body.tax-pest) .wp-site-blocks > footer .wp-block-column:first-child .wp-block-image img { display: block; }

body.tax-pest { font-family:var(--wp--preset--font-family--reference-sans); -webkit-font-smoothing:antialiased; }
body.tax-pest .wp-site-blocks > main { margin-block-start:0; }
