/* Interactive Map — custom styles (Bootstrap 5 loaded first) */

:root {
    --share-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 16'%3E%3Cpath d='M1.28565 16C0.575718 16 0 15.4243 0 14.7143V6.23046C0 5.52053 0.575718 4.94481 1.28565 4.94481H3.28477V6.11037H1.16556V14.8344H11.3024V6.11037H9.18322V4.94481H11.1823C11.8923 4.94481 12.468 5.52053 12.468 6.23046V14.7143C12.468 15.4243 11.8923 16 11.1823 16H1.28565ZM6.234 9.64238C5.91258 9.64238 5.65121 9.38102 5.65121 9.0596V1.98852L4.64106 2.99868C4.53157 3.10817 4.39029 3.16821 4.23488 3.16821C4.07947 3.16821 3.93113 3.10817 3.82163 2.99514C3.59558 2.76909 3.59205 2.40177 3.8181 2.17572L5.82428 0.169536C5.92671 0.0671082 6.06446 0.00706402 6.20927 0H6.234C6.3894 0 6.53068 0.0600441 6.64018 0.169536L8.64636 2.17572C8.75585 2.28521 8.81589 2.43002 8.81589 2.5819C8.81589 2.73731 8.75585 2.88212 8.64283 2.99514C8.53333 3.10464 8.38499 3.16468 8.22958 3.16468C8.07417 3.16468 7.92936 3.10464 7.8234 2.99868L6.81678 1.99205V9.0596C6.81678 9.38102 6.55541 9.64238 6.234 9.64238Z'/%3E%3C/svg%3E");
    --body-bg:#072d3d;
	--body-color: #fff;

    --light-bg: rgba(255, 254, 244, 0.90);
    --light-bg-color:#4D4D4D;
;

	--primary-color:#0876BA;
    --primary-color-rgb:8, 118, 186;
	--primary-color-hover:#005DA1;


    --body-font: "Roboto Condensed", sans-serif;
	--display-font: "Old Standard TT", serif;
	--medium-font: "Roboto Condensed", sans-serif;




}


body{font-family: var(--body-font); font-optical-sizing: auto;  font-weight: 400;  background:var(--body-bg); color: var(--body-color); padding-right:0!important; 

    --bs-link-color:var(--primary-color);
    --bs-link-color-rgb:var(--primary-color-rgb);
    --bs-pagination-active-bg:var(--primary-color);
    --bs-pagination-hover-color:var(--primary-color);
    --bs-border-radius-lg: 0.625rem;
    --bs-border-radius-xxl: 1.25rem;



}
/* keep the layout still when the lightbox hides the scrollbar */
html { scrollbar-gutter: stable; }

img,svg{
  max-width: 100%;
  height: auto;
}
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .bg-video { display: none; }
}


main{
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));

}

.display-font {
  font-family: var(--display-font);
}
.light-bg {
  background-color: var(--light-bg);
  color: var(--light-bg-color);
}

.map-logos{
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-direction: column;
  width:157px;
  @media (min-width: 768px) {
    position: absolute;
  }
}

.map-wrap{

    @media (min-width: 1400px) {
        padding-left: 5rem;
    }
}



.map-canvas {
  position: relative;
  max-width: 740px;
}
.map-canvas > svg {
  display: block;
  width: 100%;
}

/* markers are lifted out of the SVG into these buttons by the JS */
.county-marker {
  position: absolute;
  z-index: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.34, 1.4, .64, 1);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.county-marker svg {
  position: absolute;
  max-width: none;
  overflow: visible;
  pointer-events: none;
}
.county-marker:hover,
.county-marker:focus-visible,
.county-marker.is-active { transform: scale(1.35); z-index: 3; }
.county-marker.is-active { z-index: 2; }
.county-marker:hover { z-index: 4; }
.county-marker:focus { outline: none; }
.county-marker:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--primary-color); }

.county-label {
  position: absolute;
  transform: translateX(-50%);
  padding: .3rem .9rem;
  border-radius: 50rem;
  background: rgb(240 241 232 / .92);
  color: #4a4a4a;
  font: 700 .85rem/1 "Roboto Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: .03em;
  box-shadow: 0 2px 6px rgb(0 0 0 / .2);
  pointer-events: none;
  z-index: 5;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .15s;
}
.county-label.is-visible { opacity: 1; }

h2,.h2 {
font-weight:700;
}
@media (min-width: 768px) {

    h2,.h2 {
    font-size: 1.9375rem;
    font-weight:700;
  }
}

.btn{ border-radius:var(--bs-border-radius-pill); font-weight:600;}
.btn-sm{--bs-btn-padding-x:1rem;}

.btn-outline-secondary {
    --bs-btn-color: var(--light-bg-color);
    --bs-btn-border-color: var(--light-bg-color);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--light-bg-color);
    --bs-btn-hover-border-color: var(--light-bg-color);
    --bs-btn-focus-shadow-rgb: 108,117,125;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--light-bg-color);
    --bs-btn-active-border-color: var(--light-bg-color);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: var(--light-bg-color);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--light-bg-color);
    --bs-gradient: none;
}
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  --bs-btn-padding-x: .75rem;
  --bs-btn-padding-y:.5rem;
  font-size:.875rem;
}
@media (min-width: 992px) {
    .btn-share{
        --bs-btn-padding-x: 1rem;
        font-size:.875rem;
    }
    .btn-share::before {
    content: "";
    flex-shrink: 0;
    width: 13px;
    height: 16px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 16'%3E%3Cpath d='M1.28565 16C0.575718 16 0 15.4243 0 14.7143V6.23046C0 5.52053 0.575718 4.94481 1.28565 4.94481H3.28477V6.11037H1.16556V14.8344H11.3024V6.11037H9.18322V4.94481H11.1823C11.8923 4.94481 12.468 5.52053 12.468 6.23046V14.7143C12.468 15.4243 11.8923 16 11.1823 16H1.28565ZM6.234 9.64238C5.91258 9.64238 5.65121 9.38102 5.65121 9.0596V1.98852L4.64106 2.99868C4.53157 3.10817 4.39029 3.16821 4.23488 3.16821C4.07947 3.16821 3.93113 3.10817 3.82163 2.99514C3.59558 2.76909 3.59205 2.40177 3.8181 2.17572L5.82428 0.169536C5.92671 0.0671082 6.06446 0.00706402 6.20927 0H6.234C6.3894 0 6.53068 0.0600441 6.64018 0.169536L8.64636 2.17572C8.75585 2.28521 8.81589 2.43002 8.81589 2.5819C8.81589 2.73731 8.75585 2.88212 8.64283 2.99514C8.53333 3.10464 8.38499 3.16468 8.22958 3.16468C8.07417 3.16468 7.92936 3.10464 7.8234 2.99868L6.81678 1.99205V9.0596C6.81678 9.38102 6.55541 9.64238 6.234 9.64238Z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 16'%3E%3Cpath d='M1.28565 16C0.575718 16 0 15.4243 0 14.7143V6.23046C0 5.52053 0.575718 4.94481 1.28565 4.94481H3.28477V6.11037H1.16556V14.8344H11.3024V6.11037H9.18322V4.94481H11.1823C11.8923 4.94481 12.468 5.52053 12.468 6.23046V14.7143C12.468 15.4243 11.8923 16 11.1823 16H1.28565ZM6.234 9.64238C5.91258 9.64238 5.65121 9.38102 5.65121 9.0596V1.98852L4.64106 2.99868C4.53157 3.10817 4.39029 3.16821 4.23488 3.16821C4.07947 3.16821 3.93113 3.10817 3.82163 2.99514C3.59558 2.76909 3.59205 2.40177 3.8181 2.17572L5.82428 0.169536C5.92671 0.0671082 6.06446 0.00706402 6.20927 0H6.234C6.3894 0 6.53068 0.0600441 6.64018 0.169536L8.64636 2.17572C8.75585 2.28521 8.81589 2.43002 8.81589 2.5819C8.81589 2.73731 8.75585 2.88212 8.64283 2.99514C8.53333 3.10464 8.38499 3.16468 8.22958 3.16468C8.07417 3.16468 7.92936 3.10464 7.8234 2.99868L6.81678 1.99205V9.0596C6.81678 9.38102 6.55541 9.64238 6.234 9.64238Z'/%3E%3C/svg%3E") center / contain no-repeat;
    }
}

.offcanvas-lg.offcanvas-end.county-panel{
    
    background-color: transparent;
    border: none;
    .btn-close{
        --bs-btn-close-color:var(--light-bg);

        --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");

    }
    @media (max-width: 991.98px) {
        --bs-offcanvas-width:100%;

        /* the offcanvas fills the screen: let taps outside the card reach the map */
        pointer-events: none;
        .panel-info,
        .btn-close { pointer-events: auto; }

        /* the card scrolls itself: iOS Safari won't scroll a container that
           has pointer-events: none, so it would scroll the map behind instead */
        .offcanvas-body {
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        .panel-info {
            flex: 0 1 auto;
            min-height: 0;
            overflow-y: auto;
            overscroll-behavior: contain;
        }
    }
}

.panel-info{
    padding:1.5rem 1rem;
    @media (min-width: 768px) {
        padding:1.5rem 2rem;
    }
    .panel-heading {
        font-family: var(--display-font);
        text-transform: uppercase;
        border-top: solid 1px var(--light-bg-color);
        border-bottom: solid 1px var(--light-bg-color);
        padding:1rem 0;
        margin-bottom:1rem;
    }    
    hr{
        border: none;
        border-top: solid 1px var(--light-bg-color);
        margin: 1rem 0;
        opacity: 1;
    }
}

/* Accessibility -------------------------------------------------------- */

.skip-link {
    position: absolute !important;
    top: 1rem;
    left: 1rem;
    z-index: 1100;
    padding: .5rem 1rem;
    border-radius: 50rem;
    background: var(--light-bg);
    color: var(--light-bg-color);
    font-weight: 700;
}

/* headings only receive focus from script, to move screen readers along */
[tabindex="-1"]:focus { outline: none; }

.panel-back:focus-visible,
.panel-return:focus-visible,
.lightbox-nav:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
    border-radius: .25rem;
}

.panel-return {
    display: block;
    margin: 1rem auto 0;
    padding: .25rem .75rem;
    border: 0;
    background: none;
    color: var(--light-bg-color);
    font-size: .875rem;
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    .county-marker,
    #countyPanelBody,
    .gallery-tile img,
    .gallery-tile video { transition: none; }
    .btn-audio.is-playing::before { animation: none; }
}

/* Panel ---------------------------------------------------------------- */

/* intro text (from the page's panel_information field) */
.panel-info .info {
    margin-bottom: 3rem;
    > :last-child { margin-bottom: 0; }
}

#countyPanelBody {
    opacity: 0;
    transition: opacity .3s ease;
}
#countyPanelBody.is-ready { opacity: 1; }

@media (min-width: 992px) {
    .county-panel {
        position: sticky;
        top: 1.5rem;
    }
    .county-panel .panel-info {
        max-height: calc(100svh - 3rem - var(--wp-admin--admin-bar--height, 0px));
        overflow-y: auto;
    }
}

/* slim floating scrollbar, kept clear of the rounded corners */
.panel-info {
    &::-webkit-scrollbar { width: 14px; }
    &::-webkit-scrollbar-track { background: transparent; margin-block: 1.25rem; }
    &::-webkit-scrollbar-thumb {
        border: 5px solid transparent;
        border-radius: 50rem;
        background: rgb(77 77 77 / .35) padding-box;
    }
    &::-webkit-scrollbar-thumb:hover { background-color: rgb(77 77 77 / .6); }
    &::-webkit-scrollbar-button { display: none; }
}
/* Firefox (the rules above don't apply there) */
@supports not selector(::-webkit-scrollbar) {
    .panel-info {
        scrollbar-width: thin;
        scrollbar-color: rgb(77 77 77 / .35) transparent;
    }
}

.panel-county {
    position: relative;
    padding-top: 2.5rem;
}

/* Bootstrap's .btn-close X, pinned to the card's corner. Dark, unlike the
   white X over the map (.county-panel .btn-close above) */
.offcanvas-lg.offcanvas-end.county-panel .panel-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    --bs-btn-close-opacity: .8;
    --bs-btn-close-hover-opacity: 1;
    --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234D4D4D'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
}

.county-image {
    width: 150px;
    aspect-ratio: 1;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    overflow: hidden;
    /* background: #fffded; */
    /* box-shadow: 0 0 18px rgb(0 126 124 / .35); */
    @media (min-width: 992px) {
        width:170px;
    }
    img {
        width: 100%;
        height: 100%;
        /* padding: 12%; */
        object-fit: contain;
    }
}

.panel-subheading {
    margin-bottom: .5rem;
    font-weight: 700;
    font-size: .875rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.panel-county .panel-heading { margin-top: 0; }

.btn-audio {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    &::before {
        content: "";
        width: 16px;
        height: 14px;
        background-color: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M0 4.5h3L7 1v12L3 9.5H0z'/%3E%3Cpath d='M10 3.5a5 5 0 0 1 0 7M12.5 1a8.5 8.5 0 0 1 0 12' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
                mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M0 4.5h3L7 1v12L3 9.5H0z'/%3E%3Cpath d='M10 3.5a5 5 0 0 1 0 7M12.5 1a8.5 8.5 0 0 1 0 12' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    }
    &.is-playing::before { animation: audio-pulse 1s ease-in-out infinite alternate; }
}
@keyframes audio-pulse { to { opacity: .35; } }

.panel-description {
    text-align: justify;
    hyphens: auto;
    font-size:.875rem;
    p:last-child { margin-bottom: 0; }
}
.panel-info{
    .info{
        font-size: .875rem;

    }
}

.panel-gallery-title {
    margin: 0 0 1rem;
    text-align: center;
    font-size: .9375rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.panel-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: .75rem;
}

.gallery-tile {
    position: relative;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: .375rem;
    overflow: hidden;
    background: #d9d8cc;
    cursor: pointer;
    img, video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s ease;
    }
    &:hover img,
    &:hover video { transform: scale(1.06); }
    &:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 2px; }
}

.tile-icon {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 34px;
    height: 26px;
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    border-radius: .375rem;
    background: rgb(0 0 0 / .35);
    &::after {
        content: "";
        position: absolute;
        inset: 0;
        margin: auto;
        background: #fff;
    }
}
.tile-icon-play::after {
    width: 9px;
    height: 11px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}
/* audio has no picture: speaker on the map's teal */
.tile-audio {
    background: radial-gradient(circle at 30% 25%, #2fc7c3, #00918e);
    transition: filter .3s ease;
    &:hover { filter: brightness(1.1); }
}
.tile-icon-audio {
    width: 40%;
    height: 40%;
    border: 0;
    background: none;
    &::after {
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M0 4.5h3L7 1v12L3 9.5H0z'/%3E%3Cpath d='M10 3.5a5 5 0 0 1 0 7M12.5 1a8.5 8.5 0 0 1 0 12' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
                mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M0 4.5h3L7 1v12L3 9.5H0z'/%3E%3Cpath d='M10 3.5a5 5 0 0 1 0 7M12.5 1a8.5 8.5 0 0 1 0 12' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    }
}


/* Lightbox ------------------------------------------------------------- */

.media-lightbox {
    --bs-modal-bg: transparent;
    --bs-modal-border-width: 0;
    --bs-modal-box-shadow: none;
    .modal-content { align-items: center; }
    .lightbox-stage {
        width: 100%;
        display: flex;
        justify-content: center;
        img, video {
            max-width: 100%;
            max-height: 80svh;
            border-radius: .5rem;
            box-shadow: 0 10px 40px rgb(0 0 0 / .5);
        }
    }
    .lightbox-audio {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: min(500px, 100%);
        padding: 2.5rem 2rem;
        border-radius: 1.25rem;
        background: var(--light-bg);
        box-shadow: 0 10px 40px rgb(0 0 0 / .5);
        audio { width: 100%; }
    }
    .audio-art {
        width: 110px;
        aspect-ratio: 1;
        border-radius: 50%;
        background: radial-gradient(circle at 30% 25%, #2fc7c3, #00918e);
        box-shadow: 0 0 18px rgb(0 126 124 / .35);
        position: relative;
        &::after {
            content: "";
            position: absolute;
            inset: 30%;
            background: #fff;
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M0 4.5h3L7 1v12L3 9.5H0z'/%3E%3Cpath d='M10 3.5a5 5 0 0 1 0 7M12.5 1a8.5 8.5 0 0 1 0 12' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
                    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 14'%3E%3Cpath d='M0 4.5h3L7 1v12L3 9.5H0z'/%3E%3Cpath d='M10 3.5a5 5 0 0 1 0 7M12.5 1a8.5 8.5 0 0 1 0 12' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
        }
    }
    .lightbox-caption {
        margin: .75rem 0 0;
        color: #fff;
        text-align: center;
        &:empty { display: none; }
    }
    .lightbox-close {
        position: absolute;
        top: -2.5rem;
        right: 0;
        opacity: .9;
    }
    .lightbox-nav {
        display: none;
        position: absolute;
        top: 50%;
        width: 3rem;
        height: 3rem;
        transform: translateY(-50%);
        border: 0;
        border-radius: 50%;
        background: rgb(255 254 244 / .9);
        color: var(--light-bg-color);
        font-size: 2rem;
        line-height: 1;
        padding-bottom: .25rem;
        &:hover { background: #fff; }
    }
    .lightbox-prev { left: .5rem; }
    .lightbox-next { right: .5rem; }
    &.has-nav .lightbox-nav { display: block; }
    @media (min-width: 1200px) {
        .lightbox-prev { left: -4rem; }
        .lightbox-next { right: -4rem; }
    }
}
.modal-backdrop { --bs-backdrop-opacity: .85; }


/* Share view ----------------------------------------------------------- */

.panel-share { padding-top: 1rem; }

.panel-back {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--light-bg-color);
    font-size: .875rem;
    &::before {
        content: "";
        width: 14px;
        height: 10px;
        background-color: currentColor;
        clip-path: polygon(0 50%, 40% 0, 46% 8%, 16% 44%, 100% 44%, 100% 56%, 16% 56%, 46% 92%, 40% 100%);
    }
    &:hover { color: #000; }
}

.share-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: solid 1px var(--light-bg-color);
    border-bottom: solid 1px var(--light-bg-color);
    font-family: var(--medium-font);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    &::before {
        content: "";
        width: 16px;
        height: 20px;
        background-color: currentColor;
        -webkit-mask: var(--share-icon) center / contain no-repeat;
                mask: var(--share-icon) center / contain no-repeat;
    }
}

/* Forminator form inside the share view */
#panelShare .forminator-ui.forminator-custom-form {
    margin: 0;
    font-family: var(--body-font);

    .forminator-row { margin-bottom: 1.5rem; }
    .forminator-label {
        display: block;
        width: 100%;
        margin-bottom: .5rem;
        padding: 0;
        color: var(--light-bg-color);
        font: 700 1rem/1.3 var(--body-font);
        text-align: center;
    }
    .forminator-description {
        display: block;
        margin: -.4rem 0 .75rem;
        padding: 0;
        color: var(--light-bg-color);
        font: 400 .8125rem/1.3 var(--body-font);
        text-align: center;
    }

    /* upload: a single "Add files" pill */
    .forminator-multi-upload {
        padding: .55rem 1rem;
        border: 1px solid #00b1ae;
        border-radius: 50rem;
        background: rgb(0 177 174 / .2);
        cursor: pointer;
        transition: background-color .2s;
        &:hover, &.forminator-dragover { background: rgb(0 177 174 / .35); }
    }
    .forminator-multi-upload-message {
        margin: 0;
        .forminator-icon-upload { display: none; }
        p {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: .5rem;
            margin: 0;
            font-size: 0 !important; /* hide "Drag and Drop (or)" */
            color: var(--light-bg-color);
            &::before {
                content: "+";
                display: grid;
                place-items: center;
                width: 20px;
                height: 20px;
                border-radius: 50%;
                background: #00918e;
                color: #fff;
                font: 700 16px/1 var(--body-font);
            }
        }
        a {
            color: var(--light-bg-color);
            font: 700 .9375rem/1.3 var(--body-font);
            text-decoration: none !important;
            font-size: 0 !important;
            &::after { content: "Add files"; font-size: .9375rem; }
        }
    }
    .forminator-uploaded-files { margin-top: .5rem; }

    /* text inputs and the county dropdown */
    .forminator-input,
    .select2-container .select2-selection--single {
        height: 42px;
        border: 1px solid #d6d5c9 !important;
        border-radius: .375rem;
        background: #fff;
        color: var(--light-bg-color);
        font: 400 1rem/1.3 var(--body-font);
        text-align: center;
        box-shadow: none;
    }
    .forminator-input:focus,
    .select2-container--open .select2-selection--single {
        border-color: #00b1ae !important;
        outline: 2px solid rgb(0 177 174 / .3);
    }
    .select2-selection__rendered {
        padding: 0 2rem;
        line-height: 40px;
        color: var(--light-bg-color);
        text-align: center;
    }
    .select2-selection__placeholder { color: #9a9a9a; }

    /* submit: full-width teal pill */
    .forminator-row-last { margin-bottom: 0; }
    .forminator-button-submit {
        display: block;
        width: 100%;
        padding: .65rem 1.5rem;
        border: 0;
        border-radius: 50rem;
        background: #00b1ae;
        color: #fff;
        font: 700 1rem/1.3 var(--body-font);
        box-shadow: none;
        transition: background-color .2s;
        &:hover, &:focus { background: #00918e; }
    }
}

/* County dropdown list. Forminator's "theme" colours leave it transparent,
   so it inherited the page's white text. Styled wherever select2 places it. */
.select2-container .select2-dropdown {
    z-index: 1060; /* above the mobile offcanvas */
    overflow: hidden;
    border: 1px solid #00b1ae !important;
    border-radius: .375rem;
    background: #fff !important;
    box-shadow: 0 8px 24px rgb(0 0 0 / .2);
    color: var(--light-bg-color) !important;
    font-family: var(--body-font);
}
.select2-container .select2-results__options {
    max-height: 240px;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.select2-container .select2-results__option {
    padding: .5rem 1rem;
    background: transparent !important;
    color: var(--light-bg-color) !important;
    font-size: 1rem;
    text-align: center;
}
.select2-container .select2-results__option--highlighted {
    background: rgb(0 177 174 / .15) !important;
}
.select2-container .select2-results__option[aria-selected="true"],
.select2-container .select2-results__option--selected {
    background: #00b1ae !important;
    color: #fff !important;
    font-weight: 700;
}
