/*
Theme Name: AltaLink 2023
Theme URI:
Author: SAW Strategic Design Studio
Author URI: https://www.sawstrategic.com
Description: 2023 Revision
Requires at least: 6.1
Tested up to: 6.7
Requires PHP: 8.1
Version: 2023.79
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: scvanilla
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, accessibility-ready, blog, portfolio, news
*/


/******* Stock reset for all sites ********/
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    color-scheme: light;
    font-size: 18px;
    scroll-behavior:smooth;
}
body {
    min-width: var(--wp--custom--min-screen-width);
    font-weight: 400;
}

/* Override automatic WordPress block system inclusion of margins for header, body and footer. */
header, footer, .wp-site-blocks > .uk-section {
    margin-block-start: 0 !important;
}
body > .wp-site-blocks > .uk-section:first-of-type {
    padding-top: 0;
}

.entry-content a:where(:not(.wp-element-button)), .uk-link {
    font-weight: 500;
    color: var(--wp--preset--color--active);
}
.entry-content p {
    line-height: 1.4em;
}
.entry-content ul > li, .entry-content ol > li {
    margin-bottom: 0.5em;
    line-height: 1.4em;
}
h1, h2, h3, h4, h5, p {
    font-family: var(--wp--preset--font-family--indivisbile);
    color: var(--wp--preset--color--text);
}
h1 {
    font-size: CLAMP(2rem, 4vw, 4rem);
    font-weight: 600;
    scroll-margin-top: 3em;
}
h2 {
    font-size: CLAMP(1.5rem, 2.5vw, 2.5rem);
    font-weight: 500;
    scroll-margin-top: 4em;
}
h3 {
    font-size: CLAMP(1.1rem, 1.4vw, 1.4rem);
    font-weight: 500;
    scroll-margin-top: 3em;
}
.page-template-news-page h1 {
    font-size: CLAMP(1.5rem, 2.5vw, 2.5rem);
}
.page-template-news-page h2 {
    font-size: CLAMP(1.2rem, 1.5vw, 1.5rem);
}
em {
    color: var(--wp--preset--color--text);
}
b, strong {
    font-weight: 600;
}
.grecaptcha-badge {
    display: none;
}
.no-gap {
    gap: 0 !important;
}
.add-border {
    border: 1px solid var(--wp--preset--color--border, #C8C8C8);
    box-sizing: border-box;
}
.huge-text {
    font-size: CLAMP(2rem, 4vw, 4rem);
    font-weight: 500;
}
/******* Styles of content editable on page ********/

/* Specific styles for the HOME PAGE slider */

.home-page-content .uk-slideshow .uk-slideshow-nav {
    right: var(--wp--custom--margin-sm);
    bottom: 100px;
    gap: 1em;
}
.uk-slideshow .uk-slideshow-nav.numbered_thumbnails > li > a:before {
    color: var(--wp--preset--color--text-inverse);
}
.uk-slideshow .uk-dotnav>.uk-active>* {
    background-color: rgb(194 194 194 / 60%);
}
@media (min-width: 960px) {
    .home-page-content .uk-slideshow .uk-slideshow-nav {
        right: var(--wp--custom--margin-lg);
    }
}
.home-page-content .uk-slideshow .uk-slideshow-items > li > div {
    display: grid;
    grid-template-columns: 1fr;
}
.home-page-content .uk-slideshow .slide-content-container {
    position: relative;
    padding: 0 var(--wp--custom--margin-sm);
    display: flex;
    flex-direction: column;
    -webkit-backdrop-filter: brightness(75%);
    backdrop-filter: brightness(75%);
}
.home-page-content .uk-slideshow .slide-content-container .slide-headers {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.home-page-content .uk-slideshow .slide-content-container .cta-link {
    margin-bottom: 180px;
    align-items: center;
    font-weight: 500;
}
.slide-content-container .cta-link > .uk-icon {
    margin-right: 0.5em;
}
.slide-content-container .cta-link > .uk-icon > svg {
    height: 44px;
    width: 44px;
    border: 1px solid var(--wp--preset--color--text-inverse);
    border-radius: 50%;
}
.home-page-content .uk-slideshow .slide-content-container h1 {
    font-size: CLAMP(2rem, 2.9vw, 3rem);
    font-weight: 500;
}
.home-page-content .uk-slideshow .slide-content-container p {
    font-size: CLAMP(1.5rem, 2.5vw, 2.5rem);
    font-weight: 500;
}
.home-page-content .uk-slideshow .slide-content-container h1,
.home-page-content .uk-slideshow .slide-content-container h2,
.home-page-content .uk-slideshow .slide-content-container p,
.home-page-content .uk-slideshow .slide-content-container a {
    color: var(--wp--preset--color--text-inverse);
}
.home-page-content .home-cover,
.home-page-content .home-cover *,
.home-page-content .home-cover *::before,
.home-page-content .home-cover *::after {
    color: var(--wp--preset--color--text-inverse) !important;
}
.home-page-content .home-cover {
    position: relative;
}
.home-page-content .slideshow-overlay {
    position: absolute;
    box-sizing: border-box;
    z-index: 1;
    bottom: 0;
    height: 160px;
    width: 100%;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    padding: 0 var(--wp--custom--margin-sm);
    border-top: 1px solid var(--wp--preset--color--border);
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.slideshow-overlay .uk-link {
    color: var(--wp--preset--color--text-inverse);
    font-size: 1.1em;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: var(--wp--custom--margin-sm) 0;
}
.slideshow-overlay .uk-link:not(:first-child):not(:nth-child(odd)) {
    border-left: 1px solid var(--wp--preset--color--border);
    padding-left: var(--wp--custom--margin-sm);
}
.slideshow-overlay .uk-link:nth-child(n-1) {
    border-bottom: 1px solid var(--wp--preset--color--border);
}
.slideshow-overlay .uk-link > .uk-icon {
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 100%;
}
@media (min-width: 960px) {
    .home-page-content .slideshow-overlay {
        padding: 0 var(--wp--custom--margin-lg);
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .slideshow-overlay .uk-link:not(:first-child) {
        padding-left: var(--wp--custom--margin-lg);
    }
    .slideshow-overlay .uk-link:nth-child(odd):not(:first-child) {
        border-left: 1px solid var(--wp--preset--color--border);
        padding-left: var(--wp--custom--margin-sm);
    }
    .slideshow-overlay .uk-link {
        font-size: 1.2em;
    }
    .slideshow-overlay .uk-link:nth-child(n-1) {
        border-bottom: none;
    }
    .home-page-content .uk-slideshow .uk-slideshow-items > li > div {
        grid-template-columns: 1fr 1fr;
    }
    .home-page-content .uk-slideshow .slide-content-container {
        padding: 0 var(--wp--custom--margin-lg);
    }
    .home-page-content .uk-slideshow .slide-content-container .cta-link {
        margin-bottom: 280px;
    }
}
@media (min-width: 960px) and (min-height: 450px) {
    .home-page-content .slideshow-overlay {
        height: 240px;
    }
    .home-page-content .uk-slideshow .uk-slideshow-nav {
        bottom: 280px;
    }
}
@media (min-width: 1250px) and (min-height: 450px) {
    .slideshow-overlay .uk-link {
        font-size: 1.6em;
        padding: var(--wp--custom--margin-lg) 0;
    }
    .slideshow-overlay .uk-link > .uk-icon > svg {
        height: 44px;
        width: 44px;
    }
}


/* Specific styles for UI-kit related theme customizations, including form elements */

.uk-dropdown-nav>li>a {
    color: var(--wp--preset--color--text);
}
.uk-dropdown-nav>li.uk-active>a {
    color: var(--wp--preset--color--active);
}
/* Don't add any margins to containers*/
.uk-container {
    margin-block-start: 0;
}

.uk-input, .uk-textarea, .uk-select, textarea {
    border: 2px solid var(--wp--preset--color--text);
    resize: none !important;
}
.uk-input:focus, .uk-select:focus, .uk-textarea:focus {
    border-color: var(--wp--preset--color--active);
}
.uk-form .attachment-active {
    display: flex;
    flex-direction: row;
    gap: 0.5em;
    padding: 0.5em;
    border: 1px solid var(--wp--preset--color--border);
    margin-top: 1em;
}
.uk-form .attachment-active .attachment-name {
    flex: 1;
    font-weight: 500;
}
.uk-form .attachment-active .attachment-icon {
    cursor: pointer;
}
.uk-form .attachment-active .attachment-icon > svg {
    color: var(--wp--preset--color--active);
}
.uk-form .uk-input[required], .uk-form textarea[required] {
    border-right: 6px solid red;
}

.uk-button {
    border: 2px solid var(--wp--preset--color--text);
    color: var(--wp--preset--color--text);
    text-transform: none;
    background-color: unset;
}
.uk-button-primary, .uk-button-primary:hover {
    border-color: var(--wp--preset--color--active);
    color: var(--wp--preset--color--text-inverse);
    background-color: var(--wp--preset--color--active);
}
.uk-button-primary:hover {
    filter: brightness(0.8);
}
.uk-button-primary > .uk-form-icon {
    color: var(--wp--preset--color--text-inverse);
}
.uk-checkbox {
    border: 1px solid var(--wp--preset--color--text);
    margin-right: 0.5em;
}

.uk-accordion > li,
.entry-content .uk-accordion > li {
    border-bottom: 1px solid var(--wp--preset--color--border);
    margin: 0;
    padding: 0.65em 0;
}
.uk-accordion > li:nth-child(n+2),
.entry-content .uk-accordion > li:nth-child(n+2) {
    margin-top: 0;
}
.uk-accordion > li:first-of-type {
    border-top: 1px solid var(--wp--preset--color--border);
}
.uk-accordion-content > ul > li {
    list-style-type: disc;
}
.entry-content h3.wp-block-heading:has(+ .uk-accordion) {
    font-weight: 700;
}
.uk-accordion-item > a {
    color: var(--wp--preset--color--text);
    font-size: CLAMP(1.1rem, 1.4vw, 1.4rem);
    font-weight: 500;
}
.uk-accordion .uk-accordion-title {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 30px;
    cursor: pointer;
}
.uk-accordion .uk-accordion-title::before {
    content: "+";
    position: absolute;
    top: 50%;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    width: 30px;
    min-width: 30px;
    margin-right: 0;
    color: var(--wp--preset--color--active);
    text-decoration: none;
    background-image: none;
}
.uk-accordion .uk-accordion-title:hover::before {
    text-decoration: none;
}
.uk-accordion .uk-open > .uk-accordion-title::before {
    content: "-";
}
.uk-accordion.reversed-open-buttons .uk-accordion-content {
    padding-top: 0.65em;
}

.uk-alert {
    display: flex;
    gap: 0.75em;
}

.uk-link.file-download {
    align-items: top;
    padding-bottom: 0.75em;
}
.uk-link.file-download .uk-icon {
    padding-right: 0.5em;
    min-width: 20px;
    color: var(--wp--preset--color--active-alt);
}
.uk-padding-medium-bottom {
    padding-bottom: 40px !important;
}
.uk-border-bottom {
    border-bottom: 1px solid var(--wp--preset--color--border);
}
.uk-border-top {
    border-top: 1px solid var(--wp--preset--color--border);
}

/** Breadcrumbs styling **/

.breadcrumb-container {
    border-bottom: 1px solid var(--wp--preset--color--border);
    padding-bottom: 0.3em;
}
.breadcrumb, .breadcrumb a {
    color: var(--wp--preset--color--text);
    font-size: 0.9rem;
}
.breadcrumb > * {
    line-height: 1.2rem;
}


/******* PAGE TEMPLATES ********/


/*** Join our team top banner ***/
.join-team-banner-wrap {
    position: relative;
}
.join-team-banner-wrap .page-banner h2 {
    margin-top: 0;
    margin-bottom: 4rem;
}
.join-team-banner-wrap > .bottom-links {
    position: absolute;
    bottom: 0;
    width: 100%;
    backdrop-filter: blur(5px) brightness(0.7);
    border-top: 1px solid var(--wp--preset--color--text-inverse);
}
.join-team-banner-wrap > .bottom-links > .bottom-links-container {
    display: grid;
    height: 100%;
    grid-template-columns: repeat(2, 1fr);
}
.bottom-links > .bottom-links-container > .uk-link {
    display: flex;
    min-height: 3rem;
    align-items: center;
    color: var(--wp--preset--color--text-inverse);
}

.bottom-links > .bottom-links-container .uk-link:nth-child(n-1) {
    border-bottom: 1px solid var(--wp--preset--color--border);
}

.bottom-links > .bottom-links-container > .uk-link:not(:first-child):not(:nth-child(odd)) {
    border-left: 1px solid var(--wp--preset--color--border);
    padding-left: var(--wp--custom--margin-sm);
}

@media (min-width: 960px) {
    .join-team-banner-wrap > .bottom-links {
        height: 5em;
    }
    .bottom-links > .bottom-links-container > .uk-link {
        font-size: 1.2em;
    }
    .join-team-banner-wrap > .bottom-links > .bottom-links-container {
        grid-template-columns: repeat(5, 1fr);
    }
    .bottom-links > .bottom-links-container > .uk-link:nth-child(odd):not(:first-child) {
        border-left: 1px solid var(--wp--preset--color--border);
        padding-left: var(--wp--custom--margin-sm);
    }
    .bottom-links > .bottom-links-container .uk-link:nth-child(n-1) {
        border-bottom: unset;
    }
}

/* Red box emph */
.emph-bounding-box {
    border: 2px solid var(--wp--preset--color--active-alt);
    color: var(--wp--preset--color--active-alt);
    font-weight: 500;
    padding: 1em;
}
.emph-bounding-box p {
    color: var(--wp--preset--color--active-alt);
}

/* Black banner used all over */
.black-banner {
    background-color: var(--wp--preset--color--text) !important;
    color: var(--wp--preset--color--text-inverse);
}
.black-banner > .uk-container > *, .black-banner > .uk-container > * > * {
    color: var(--wp--preset--color--text-inverse);
    margin-top: 0;
}
/* Blue banner used all over */
.blue-banner {
    background-color: var(--wp--preset--color--active);
    color: var(--wp--preset--color--text-inverse);
}
.blue-banner > .uk-container > *, .black-banner > .uk-container > * > * {
    color: var(--wp--preset--color--text-inverse);
    margin-top: 0;
}
.blue-banner a, .black-banner a {
    color: var(--wp--preset--color--text-inverse);
    text-decoration: underline;
}

/* Strip banner, used on Vision and Core Principles */
.strip-banner .strip-banner-image {
    display: none;
}
.strip-banner .strip-banner-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.strip-banner .strip-banner-content > h2, .strip-banner .strip-banner-content > h3 {
    margin: 1em 0 0 0;
}
.strip-banner .strip-banner-content > figure {
    margin-bottom: 0;
}
@media (min-width: 960px) {
    .strip-banner .strip-banner-image {
        display: block;
    }
    .strip-banner {
        min-height: 20rem;
    }
}

/* Callout banner block */
.banner-callout-box {
    background-color: var(--wp--preset--color--bg);
    padding: 3em 2em;
    min-height: 15em;
    display: flex;
    flex-direction: column;
}
.banner-callout-box .top-section {
    flex: 1;
}

/* Box with a blue background (left and right)*/
.blue-callout-box-left {
    background-color: var(--wp--preset--color--active);
    color: var(--wp--preset--color--text-inverse);
    display: flex;
    padding-left: var(--wp--custom--margin-sm);
}
.blue-callout-box-left > .box-content {
    display: flex;
    flex-direction: column;
    margin: 2em 0;
    padding-right: 1em;
    box-sizing: border-box;
}
.blue-callout-box-left  > .box-content > * {
    color: var(--wp--preset--color--text-inverse);
}
@media (min-width: 960px) {
    .blue-callout-box-left {
        padding-left: var(--wp--custom--margin-lg);
        justify-content: right;
    }
    .blue-callout-box-left > .box-content {
        max-width: 600px; /* this is half of the container width */
        margin: 10em 0;
    }
}

.blue-callout-box-right {
    background-color: var(--wp--preset--color--active);
    color: var(--wp--preset--color--text-inverse);
    display: flex;
    padding-right: var(--wp--custom--margin-sm);
}
.blue-callout-box-right > .box-content {
    display: flex;
    flex-direction: column;
    margin: 2em 0;
    padding-left: var(--wp--custom--margin-sm);
    box-sizing: border-box;
}
.blue-callout-box-right  > .box-content > * {
    color: var(--wp--preset--color--text-inverse);
}
@media (min-width: 960px) {
    .blue-callout-box-right {
        padding-right: var(--wp--custom--margin-lg);
        justify-content: left;
    }
    .blue-callout-box-right > .box-content {
        max-width: 600px; /* this is half of the container width */
        margin: 10em 0;
        padding-left: var(--wp--custom--margin-lg);
    }
}

/* Social link group found in Join us page */
.social-link-group {
    display: flex;
    gap: 0.5em;
}
.social-link-group .social-link {
    background-color: var(--wp--preset--color--active);
    color: var(--wp--preset--color--text-inverse);
    padding: 0.2em;
}


/****** Template-specific styles *******/

body.page-template-page-no-banner .wp-block-post-title {
    margin-bottom: 24px;
}

body.page-template-news-page .breadcrumb-container {
    border-top: 1px solid var(--wp--preset--color--border);
    padding-top: 0.3em;
}

.border-top {
    border-top: 1px solid var(--wp--preset--color--border);
}
.v-align-items-center {
    align-items:center;
}


/** Search results **/

body.search h1 {
    font-size: CLAMP(1.5rem, 2.5vw, 2.5rem);
    margin-bottom: 2em;
}
body.search h2 {
    font-size: CLAMP(1.1rem, 1.4vw, 1.4rem);
}
body.search .wp-block-post-title {
    margin-bottom: 0.4em;
}
body.search .wp-block-post-excerpt {
    margin-top: 0 !important;
}
body.search .wp-block-post-template {
    margin-bottom: 3em;
}
body.search nav.wp-block-query-pagination {
    justify-content: center;
    font-size: 1.2em;
}
body.search .wp-block-query-pagination-numbers {
    display: flex;
    gap: 0.75em;
}
body.search ul.wp-block-post-template > li {
    border-top: 1px solid var(--wp--preset--color--border);
    padding-top: 1em;
}

/****** Patterns *******/


/* Full end-end banner */

.full-banner {
    padding: 0;
    background-color: var(--wp--preset--color--active);
    position: relative;
    display: flex;
    flex-direction:row;
}
.full-banner > * {
    flex: 1;
}
.full-banner > .full-banner-image {
    min-height: 25rem;
    background-repeat: no-repeat;
    background-position-x: right;
    width: 50%;
    background-size: cover;
    max-width: 0%;
}
.full-banner > .full-size-container {
    display: flex;
    flex-direction: row-reverse;
}
.full-banner > .full-size-container > .content-container {
    max-width: 600px;
    padding: var(--wp--custom--margin-lg) var(--wp--custom--margin-sm);
    box-sizing: border-box;
    color: var(--wp--preset--color--text-inverse);
}
.full-banner > .full-size-container > .content-container > * {
    color: inherit;
}
@media (min-width: 640px) {
    .full-banner > .full-banner-image {
        min-height: 25rem;
        background-repeat: no-repeat;
        background-position-x: right;
        width: 50%;
        background-size: cover;
        max-width: 50%;
    }
}
@media (min-width: 960px) {
    .full-banner > .full-size-container > .content-container {
        max-width: 100%;
        padding: var(--wp--custom--margin-lg);
    }
}
@media (min-width: 1320px) {
    .full-banner > .full-size-container > .content-container {
        max-width: 600px;
        padding: var(--wp--custom--margin-lg) var(--wp--custom--margin-lg) var(--wp--custom--margin-lg) 0;
    }
}


/** two-column-50-50 ***/
.entry-content .two-column-50-50-no-container {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-direction: column;
}

.container-banner {
    background-repeat: no-repeat;
    background-size: 0%;
    background-position-x: right;
    background-position-y: center;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.entry-content .two-column-50-50-no-container .image-content-wrap {
    position: relative;
    align-self: flex-start;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 400px;
    width: 100%;
}
@media (min-width: 960px) {
    .entry-content .two-column-50-50-no-container {
        gap: 4rem;
        flex-direction: row;
    }
    .entry-content .two-column-50-50-no-container > * {
        flex: 1;
    }
    .entry-content .two-column-50-50-no-container .image-content-wrap {
        height: unset;
    }
    .container-banner {
        background-size: 50% 100%;
        background-position-y: 0;
        height: 35rem;
    }
}

/** two-column-60-40 ***/
.entry-content .two-column-60-40 {
    display: flex;
    flex-direction: column-reverse;
    gap: var(--wp--custom--margin-sm);
}
.entry-content .two-column-60-40 .image-column {
    width: 100%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: center;
    height: 90vw;
}
@media (min-width: 960px) {
    .entry-content .two-column-60-40 {
        flex-direction: row;
        gap: var(--wp--custom--margin-lg);
    }
    .entry-content .two-column-60-40 .image-column {
        width: 60%;
        min-width: 60%;
        height: CLAMP(10rem, 60vw, 60vw);
        background-position-x: left;
    }
}
@media (min-width: 1350px) {
    .entry-content .two-column-60-40 .image-column {
        height: 40rem;
    }
}

/** two-colum-70-30 **/
.two-column-70-30 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--wp--custom--margin-sm);
}
@media (min-width: 960px) {
    .two-column-70-30 {
        grid-template-columns: 1.5fr 1fr;
        gap: var(--wp--custom--margin-lg);
    }
}

/** two-col-30-70 **/
.two-column-30-70 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--wp--custom--margin-sm);
}
@media (min-width: 960px) {
    .two-column-30-70 {
        grid-template-columns: 1fr 2fr;
        gap: var(--wp--custom--margin-lg);
    }
}

/* two-col-50-50 **/
.two-column-50-50 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--wp--custom--margin-sm);
}
@media (min-width: 960px) {
    .two-column-50-50 {
        grid-template-columns: 1fr 1fr;
        gap: var(--wp--custom--margin-lg);
    }
}

/** two-column-strip (used in Principles) **/
.two-column-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2em;
    padding-bottom: 2em;
}
.two-column-strip.bottom-border {
    border-bottom: 1px solid var(--wp--preset--color--border);
    margin-bottom: 3em;
}
.two-column-strip h2 {
    margin-top: 0.5em;
}
@media (min-width: 640px) {
    .two-column-strip {
        grid-template-columns: 1fr 1fr;
    }
}


/** page-content-banner **/
.entry-content .page-content-banner {
    min-height: 15rem;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/** boxed-container (used all over) **/
.entry-content .boxed-container {
    border: 2px solid var(--wp--preset--color--text);
    padding: 1.5em;
}
.entry-content .boxed-container:not(:last-of-type) {
    margin-bottom: 2em;
}

/** three-box-banner banners (used in several places) **/
.page-content-banner.three-box-banner {
    height: unset;
    min-height: 15rem;
    background-blend-mode: multiply;
    background-color: grey;
}
.page-content-banner.three-box-banner.light-variant {
    background-blend-mode: normal;
    background-color: transparent;
}
.three-box-banner, .three-box-banner h2, .three-box-banner p {
    color: var(--wp--preset--color--text-inverse);
}
.three-box-banner.light-variant, .three-box-banner.light-variant h2, .three-box-banner.light-variant p {
    color: var(--wp--preset--color--text);
}
.three-box-banner .content-boxes {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 1em;
}
.three-box-banner .content-boxes > * {
    border: 2px solid var(--wp--preset--color--text-inverse);
    display: block;
    padding: 1em;
    margin: 0;
    font-size: 1.1em;
    font-weight: 500;
}
.three-box-banner .content-boxes.light-variant > * {
    border: 2px solid var(--wp--preset--color--text);
}
.three-box-banner .content-boxes > .uk-link {
    color: var(--wp--preset--color--text);
    display: inline !important;
}
.three-box-banner .content-boxes > .uk-link:hover {
    background-color: rgba(202, 202, 202, 0.253);
}
@media (min-width: 540px) {
    .three-box-banner .content-boxes > .uk-link {
        min-height: 10rem;
    }
}
.three-box-banner .content-boxes > .uk-link > .uk-icon {
    min-width: 28px;
    margin-left: 0.25em;
}
@media (min-width: 540px) {
    .three-box-banner .content-boxes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5em;
    }
    .three-box-banner .content-boxes > .uk-link {
        font-size: CLAMP(1.4rem, 1.6vw, 1.6rem);
    }
}
@media (min-width: 960px) {
    .three-box-banner .content-boxes {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (min-width: 960px) {
    .four-box-banner .content-boxes {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .span-two-cols {
        grid-column: 3 / span 2;
    }
}

/** Filter dropdowns (used on maps, news) **/
.filter-dropdowns {
    display: flex;
    align-items: center;
    gap: 0.75em;
    font-size: 0.9em;
    width: 100%;
    margin-bottom: 1em;
}
.filter-dropdown {
    cursor: pointer;
    display: flex;
    gap: 0.2em;
    font-weight: 500;
    text-align: right;
}
.filter-dropdown > .dropdown-label {
    border-bottom: 1px dotted var(--wp--preset--color--active-alt);
    padding-bottom: 0.12em;
}
.filter-dropdown::after {
    content: url("data:image/svg+xml,%3Csvg xmlns:xlink='http://www.w3.org/1999/xlink' xmlns='http://www.w3.org/2000/svg' class='dropdown-icon' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpolyline fill='none' stroke='%23666666' stroke-width='1.03px' points='16 7 10 13 4 7'%3E%3C/polyline%3E%3C/svg%3E");
    width: 1em;
    height: 0.5em;
}
.filter-text {
    color: var(--wp--preset--color--text-light);
}

/* SASR tables used on some of the pages */
.sasr-table tr td:first-of-type {
    width: 30%;
}
.sasr-table figcaption {
    margin-top: 0.5em;
    font-size: 0.8em;
}

/* Hide various chaff*/
.media_page_enable-media-replace-enable-media-replace .shortpixel-notice {
    display: none !important;
}
