/*
Theme Name: SPM MACC
Text Domain: spm
Version: 2026
Description: A block-based theme for SPM clients.
Author: Saint Paul Media
Author URI: https://stpaulmedia.com/
*/

/*
 * WordPress Core
 */

.alignnone {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

a img.alignnone {
  margin: 5px 20px 20px 0;
}

a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/*
 * Reset - Bootstrap
 */

.row {
  --bs-gutter-x: 30px;
}

@media (min-width: 768px) {
  .row {
    --bs-gutter-x: 40px;
  }
}

/*
 * Reset - General
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;

  /* Prevent font size inflation */
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;

  overflow-x: hidden;
}

* {
  margin: 0;
}

body {
  /* Improve text rendering */
  -webkit-font-smoothing: antialiased;
}

/* Improve media defaults */
img,
picture,
video,
canvas,
svg {
  display: block;
  height: auto;
  max-width: 100%;
}

/* Remove built-in form typography styles */
input,
button,
textarea,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

/* Style form fields */
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="url"],
input[type="file"],
input[type="password"],
textarea,
select {
  background-color: var(--wp--preset--color--background);
  border: 2px solid var(--wp--preset--color--teal);
  color: var(--wp--preset--color--foreground);
  border-radius: 100px;
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.16667;
  padding: 12px;
  width: 100%;
}

textarea {
  border-radius: 8px;
}

input[type="text"]::placeholder,
input[type="number"]::placeholder,
input[type="tel"]::placeholder,
input[type="email"]::placeholder,
input[type="url"]::placeholder,
input[type="file"]::placeholder,
textarea::placeholder,
select::placeholder {
  font-style: italic;
}

button[type="submit"] {
  cursor: pointer;
  width: unset;
}

select {
  appearance: none;
  background-image:
    url("assets/img/arrow_filter.svg"),
    linear-gradient(
      to bottom,
      var(--wp--preset--color--background) 0%,
      var(--wp--preset--color--background) 100%
    );
  background-position:
    right 12px top 50%,
    0 0;
  background-repeat: no-repeat, repeat;
  background-size: 20px, 100%;
  border-radius: 8px;
  font-weight: var(--wp--custom--font-weight--regular);
  padding-right: 44px;
}

select::-ms-expand {
  display: none;
}

select[multiple="multiple"] {
  background: none;
  background-color: var(--wp--preset--color--background);
  padding-right: 12px;
}

/*
 * Typography
 */

a {
  text-decoration-color: var(--wp--preset--color--turquoise);
  text-decoration-thickness: 2px;
  text-underline-offset: 25%;
}

a:hover {
  text-decoration-color: var(--wp--preset--color--teal);
}

address {
  font-style: normal;
  margin-bottom: 1rem;
}

dl div {
  margin-bottom: 0.25rem;
}

dt {
  font-weight: 700;
}

dd > :last-child {
  margin-bottom: 0;
}

h2 {
  border-left: 8px solid var(--wp--preset--color--gold);
  padding-left: 15px;
}

@media (min-width: 768px) {
  h2 {
    border-left-width: 11px;
    padding-left: 20px;
  }
}

time {
  font-style: italic;
}

/*
 * Link effects
 */

*:focus {
  outline: 2px solid var(--wp--preset--color--citrine);
  outline-offset: 5px;
  transition: none !important;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
  transition: all 0.2s ease-in-out;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  font-weight: inherit;
  text-decoration: inherit;
}

/*
 * Admin bar
 */

@media only screen and (max-width: 782px) {
  #wpadminbar {
    display: none !important;
  }
}

@media only screen and (min-width: 782px) {
  .admin-bar .site-container {
    padding-top: 32px;
  }
}

/*
 * Universal site elements
 */

.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  display: block;
}

.skip-link:focus {
  top: 8px;
  left: 8px;
  background-color: var(--wp--preset--color--teal);
  border-radius: 10px;
  color: var(--wp--preset--color--background);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.1111;
  padding: 15px 30px;
  text-decoration: none;
  z-index: 99999;
}

.skip-link:hover {
  background-color: var(--wp--preset--color--turquoise);
}

.site-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  padding-top: 15px;
  padding-bottom: 20px;
}

.site-header .site-header__secondary {
  position: relative;
}

[data-variant] a:not(.wp-element-button) {
  color: inherit;
  text-decoration-color: currentColor;
}

[data-variant] a:not(.wp-element-button):hover {
  opacity: 0.5;
}

[data-variant] {
  background-color: var(--variant-bg);
}

[data-variant="eggplant"],
[data-variant="teal"] {
  color: var(--wp--preset--color--background);
}

[data-variant] h1,
[data-variant] h2 {
  border-color: var(--variant-border);
}

[data-variant="gold"] {
  --variant-bg: var(--wp--preset--color--gold);
  --variant-border: var(--wp--preset--color--citrine);
  --variant-outline: var(--wp--preset--color--citrine);
}

[data-variant="turquoise"] {
  --variant-bg: var(--wp--preset--color--turquoise);
  --variant-border: var(--wp--preset--color--background);
  --variant-outline: var(--wp--preset--color--neutral);
}

[data-variant="eggplant"] {
  --variant-bg: var(--wp--preset--color--eggplant);
  --variant-border: var(--wp--preset--color--turquoise);
  --variant-outline: var(--wp--preset--color--turquoise);
}

[data-variant="teal"] {
  --variant-bg: var(--wp--preset--color--teal);
  --variant-border: var(--wp--preset--color--turquoise);
  --variant-outline: var(--wp--preset--color--turquoise);
}

.site-header .site-header__secondary::after {
  position: absolute;
  top: 0;
  right: 50%;
  left: 50%;
  z-index: -1;
  background-color: inherit;
  content: "";
  display: block;
  height: 100%;
  margin-right: -50vw;
  margin-left: -50vw;
  max-width: 100vw;
  width: 100vw;
}

.logo {
  max-width: 220px;
}

.logo__link {
  display: inline-block;
}

.logo__link:hover {
  opacity: 0.5;
}

.logo--footer {
  margin-bottom: 1rem;
}

.menu {
  display: flex;
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

#mega-menu-wrap-header_secondary {
  display: none;
}

@media (min-width: 768px) {
  .site-header {
    padding-top: 25px;
  }
}

@media (min-width: 992px) {
  .site-header {
    padding-top: 0;
    padding-bottom: 15px;
  }

  #mega-menu-wrap-header_secondary {
    position: relative;
    display: block;
    margin-bottom: 15px;
  }

  #mega-menu-wrap-header_secondary::after {
    position: absolute;
    top: 0;
    right: 50%;
    left: 50%;
    z-index: -1;
    background-color: inherit;
    content: "";
    display: block;
    height: 100%;
    max-width: 100vw;
    margin-right: -50vw;
    margin-left: -50vw;
    width: 100vw;
  }
}

.site-content {
  flex: 1;
}

.header {
  padding: 30px 0;
}

.header + * {
  margin-top: 85px;
}

.header--resource + * {
  margin-top: 0;
}

.header--resource.header--with-image + * {
  margin-top: 85px;
}

.header--tribe_events.header--without-image + * {
  margin-top: 30px;
}

.header .header__heading {
  margin-bottom: 0;
}

.header .header__excerpt {
  border-radius: 0 5px 0 0;
  border-top: 3px solid var(--variant-outline);
  border-right: 3px solid var(--variant-outline);
  margin-top: 13px;
  margin-bottom: 0;
  padding-top: 25px;
  padding-right: 15px;
}

.header .header__image-wrap {
  border-right: 3px solid var(--variant-outline);
  padding-top: 30px;
  padding-right: 15px;
}

.header .wp-post-image {
  border-radius: 15px;
  margin-bottom: -85px;
}

.header--member .header__excerpt__copy {
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .header {
    padding: 60px 0;
  }

  .header + * {
    margin-top: 150px;
  }

  .header--resource + * {
    margin-top: 0;
  }

  .header--resource.header--with-image + * {
    margin-top: 150px;
  }

  .header--tribe_events.header--without-image + * {
    margin-top: 60px;
  }

  .header .header__excerpt {
    margin-top: 20px;
    padding-top: 30px;
    padding-right: 30px;
  }

  .header .header__image-wrap {
    padding-top: 40px;
    padding-right: 30px;
  }

  .header .wp-post-image {
    margin-bottom: -150px;
  }

  .header--member .header__excerpt__copy {
    margin-bottom: 40px;
  }
}

@media (min-width: 992px) {
  .header {
    padding: 40px 0;
  }

  .header + * {
    margin-top: 100px;
  }

  .header--resource + * {
    margin-top: 0;
  }

  .header--resource.header--with-image + * {
    margin-top: 100px;
  }

  .header .header__heading {
    position: relative;
    background-color: var(--variant-bg);
    display: inline-block;
    padding-right: 20px;
  }

  .header .header__excerpt {
    height: calc(100% + 140px);
    margin-top: -35px;
    padding-top: 70px;
    padding-right: 45px;
    padding-left: 20px;
  }

  .header .header__image-wrap {
    border-top: 3px solid var(--variant-outline);
    border-right: 0;
    margin-top: -35px;
    padding-top: 70px;
    padding-right: 20px;
  }

  .header .wp-post-image {
    margin-bottom: -100px;
  }

  .header--member .header__excerpt__copy {
    margin-bottom: 50px;
  }

  .header--member .header__excerpt,
  .header--archive--resource .header__excerpt,
  .header--archive--tribe_events .header__excerpt {
    height: 100%;
    margin-top: -35px;
    padding-top: 70px;
    padding-right: 30px;
    padding-left: 0;
  }

  .header--post .header__excerpt {
    height: 100%;
    padding-left: 0;
  }
}

.header .header__row {
  align-items: center;
}

.header .header__details {
  display: flex;
  list-style: none;
  padding-left: 0;
}

.header .header__details + .header__details {
  margin-top: 20px;
}

.header .header__details--fields li:not(:last-child)::after {
  content: "\00A0|\00A0";
}

.header .header__details--taxes {
  gap: 20px;
}

.header .header__details--taxes span {
  display: block;
}

.header .header__image {
  position: relative;
}

.header .header__flag {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #fff;
  font-weight: 700;
  padding: 10px;
}

.header .header__date {
  display: block;
}

.header .header__tribe-date {
  margin-top: 20px;
  margin-bottom: 0;
}

.header .header__members {
  display: block;
  margin-top: 10px;
}

.site-footer {
  background-color: var(--wp--preset--color--teal);
  color: var(--wp--preset--color--background);
  padding: 40px 0 12px 0;
}

.site-footer a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--wp--preset--color--gold);
}

.site-footer a:focus {
  outline-color: var(--wp--preset--color--gold);
}

.site-footer .site-footer__logo-link {
  display: inline-block;
}

.site-footer .site-footer__logo-link:hover {
  opacity: 0.5;
}

.site-footer .site-footer__logo {
  margin-bottom: 40px;
}

.site-footer .site-footer__contact {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  margin-bottom: 40px;
}

.site-footer .site-footer__contact dt {
  font-size: 1.3125rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-footer .site-footer__newsletter {
  margin-bottom: 30px;
}

.site-footer .site-footer__newsletter h3 {
  margin-bottom: 10px;
}

.site-footer .site-footer__newsletter .ginput_container_email input {
  border: none;
  border-radius: 100px;
  line-height: 1.1111;
  padding: 16px 20px;
}

.site-footer .site-footer__newsletter .ginput_container_email input:focus {
  outline-color: var(--wp--preset--color--gold);
}

.site-footer .site-footer__newsletter button {
  border-color: var(--wp--preset--color--turquoise);
  padding-right: 25px;
  padding-left: 25px;
}

.site-footer .site-footer__newsletter button:hover {
  border-color: var(--wp--preset--color--gold);
}

.site-footer .site-footer__colophon {
  display: flex;
  flex-direction: column;
  font-size: 0.875rem;
  line-height: 1.15;
  margin-top: 40px;
  row-gap: 4px;
}

@media (min-width: 768px) {
  .site-footer {
    padding-top: 50px;
  }

  .site-footer .site-footer__contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "address phone"
      "address email";
    column-gap: 30px;
    row-gap: 10px;
  }

  .site-footer .site-footer__contact-item--address {
    grid-area: address;
  }

  .site-footer .site-footer__contact-item--phone {
    grid-area: phone;
  }

  .site-footer .site-footer__contact-item--email {
    grid-area: email;
  }

  .site-footer .site-footer__newsletter {
    margin-bottom: 50px;
  }

  .site-footer .site-footer__newsletter .gform_wrapper form {
    align-items: flex-start;
    display: flex;
    gap: 12px;
  }

  .site-footer .site-footer__newsletter .gform_body {
    flex: 1;
  }

  .site-footer .site-footer__newsletter .gform_footer {
    flex: none;
  }

  .site-footer .site-footer__colophon {
    column-gap: 8px;
    flex-direction: row;
    row-gap: 0;
  }
}

@media (min-width: 992px) {
  .site-footer .site-footer__right {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
  }
}

.social-media {
  display: flex;
  list-style: none;
  margin-bottom: 40px;
  padding-left: 0;
}

.social-media__item + .social-media__item {
  margin-left: 20px;
}

.social-media__item a {
  display: inline-flex;
}

.social-media__icon {
  display: inline-block;
  width: 54px;
  height: 54px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.social-media__icon--facebook {
  background-image: url("assets/img/social-icons/social_facebook.svg");
}

.social-media__icon--instagram {
  background-image: url("assets/img/social-icons/social_instagram.svg");
}

.social-media__icon--linkedin {
  background-image: url("assets/img/social-icons/social_linkedin.svg");
}

.social-media__icon--youtube {
  background-image: url("assets/img/social-icons/social_youtube.svg");
}

.social-media__item a:hover .social-media__icon--facebook,
.social-media__item a:focus-visible .social-media__icon--facebook {
  background-image: url("assets/img/social-icons/social_facebook_gold.svg");
}

.social-media__item a:hover .social-media__icon--instagram,
.social-media__item a:focus-visible .social-media__icon--instagram {
  background-image: url("assets/img/social-icons/social_instagram_gold.svg");
}

.social-media__item a:hover .social-media__icon--linkedin,
.social-media__item a:focus-visible .social-media__icon--linkedin {
  background-image: url("assets/img/social-icons/social_linkedin_gold.svg");
}

.social-media__item a:hover .social-media__icon--youtube,
.social-media__item a:focus-visible .social-media__icon--youtube {
  background-image: url("assets/img/social-icons/social_youtube_gold.svg");
}

@media (min-width: 768px) {
  .social-media {
    margin-bottom: 50px;
  }
}

@media (min-width: 992px) {
  .social-media {
    margin-bottom: 0;
  }
}

/*
 * Commonly used elements
 */

.block-header {
  margin-bottom: 30px;
}

.block-header .block-header__heading {
  margin-bottom: 0;
}

.block-header .block-header__heading + .block-header__description {
  margin-top: 20px;
}

.block-header--centered {
  text-align: center;
}

.block-header--centered .block-header__heading {
  border-left: none;
  padding-left: 0;
}

.block-header--horizontal .block-header__description {
  margin-top: 15px;
}

@media (min-width: 768px) {
  .block-header {
    margin-bottom: 40px;
  }

  .block-header--centered {
    text-align: left;
  }

  .block-header--centered .block-header__heading {
    border-left: 11px solid var(--wp--preset--color--gold);
    padding-left: 22px;
  }

  .block-header--horizontal .block-header__description {
    margin-top: 20px;
  }
}

@media (min-width: 992px) {
  .block-header {
    margin-bottom: 30px;
  }

  .block-header--centered {
    text-align: center;
  }

  .block-header--centered .block-header__heading {
    border-left: none;
    padding-left: 0;
  }

  .block-header--centered-wide {
    text-align: center;
  }

  .block-header--centered-wide .block-header__heading {
    border-left: none;
    padding-left: 0;
  }

  .block-header--horizontal .block-header__description {
    margin-top: 0;
  }
}

/*
 * CTA Group: when none of the CTAs have an image, match the header-to-cards
 * gap to the gap between rows of cards (60px on tablet and desktop).
 */
@media (min-width: 768px) {
  .spm-cta-group:not(:has(.spm-cta__image)) .block-header {
    margin-bottom: 60px;
  }
}

.excerpt {
  position: relative;
  background-color: white;
  display: flex;
  flex-direction: column;
}

.excerpt__flag {
  position: absolute;
  top: 0;
  right: 0;
  background-color: #fff;
  font-weight: 700;
  padding: 10px;
}

.excerpt img {
  width: 100%;
}

.excerpt__content {
  flex: 1;
  padding: 20px;
}

.excerpt p {
  margin-bottom: 0;
}

.excerpt__footer {
  font-size: var(--wp--preset--font-size--small);
  padding: 0 20px 20px 20px;
}

.excerpt-board {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

.excerpt-board .excerpt-board__position {
  font-family: var(--wp--preset--font-family--raleway);
  font-size: 1.375rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.2727;
}

.excerpt-board .excerpt-board__email {
  font-size: 1.3125rem;
  line-height: 1.4761904762;
  margin-top: 15px;
}

.excerpt-staff {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.excerpt-staff .excerpt-staff__image-wrap {
  position: relative;
  margin-bottom: 20px;
}

.excerpt-staff .excerpt-staff__image-wrap::after {
  position: absolute;
  top: 25%;
  left: 0;
  z-index: -1;
  border-radius: 15px;
  content: "";
  display: block;
  height: 75%;
  width: 100%;
}

.excerpt-staff:nth-child(4n + 1) .excerpt-staff__image-wrap::after {
  background-color: var(--wp--preset--color--teal);
}

.excerpt-staff:nth-child(4n + 2) .excerpt-staff__image-wrap::after {
  background-color: var(--wp--preset--color--turquoise);
}

.excerpt-staff:nth-child(4n + 3) .excerpt-staff__image-wrap::after {
  background-color: var(--wp--preset--color--gold);
}

.excerpt-staff:nth-child(4n) .excerpt-staff__image-wrap::after {
  background-color: var(--wp--preset--color--eggplant);
}

.excerpt-staff .excerpt-staff__image {
  border-radius: 15px;
}

.excerpt-staff .excerpt-staff__image--default {
  transition: opacity 0.2s ease-in-out;
}

.excerpt-staff .excerpt-staff__image-wrap:hover .excerpt-staff__image--default {
  opacity: 0;
}

.excerpt-staff .excerpt-staff__image--hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.excerpt-staff .excerpt-staff__image-wrap:hover .excerpt-staff__image--hover {
  opacity: 1;
}

.excerpt-staff .excerpt-staff__title {
  margin-bottom: 0;
}

.excerpt-staff .excerpt-staff__title a {
  color: inherit;
  font-weight: inherit;
}

.excerpt-staff .excerpt-staff__title a:hover {
  color: var(--wp--preset--color--teal);
}

.excerpt-staff .excerpt-staff__position {
  font-family: var(--wp--preset--font-family--raleway);
  font-size: 1.375rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.2727;
  margin-top: 5px;
}

.excerpt-staff .excerpt-staff__email {
  font-size: 1.3125rem;
  line-height: 1.4761904762;
  margin-top: 20px;
}

.excerpt-staff .excerpt-staff__permalink {
  margin-top: 20px;
}

.excerpt-tribe-events {
  border-bottom: 2px solid var(--wp--preset--color--neutral);
  padding-bottom: 30px;
}

.excerpt-tribe-events:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.excerpt-tribe-events__date {
  display: block;
  font-size: 1.125rem;
  font-style: normal;
  line-height: 1.3889;
  margin-bottom: 10px;
}

.excerpt-tribe-events__heading {
  margin-bottom: 10px;
}

.excerpt-tribe-events__heading a {
  color: inherit;
}

.excerpt-tribe-events__heading a:hover {
  color: var(--wp--preset--color--teal);
}

.excerpt-tribe-events__excerpt > * {
  display: inline;
}

.solo-tribe-events {
  background-color: var(--wp--preset--color--background);
  border: 2px solid var(--wp--preset--color--turquoise);
  border-radius: 20px;
  color: var(--wp--preset--color--foreground);
  overflow: hidden;
  padding: 20px;
}

.solo-tribe-events .solo-tribe-events__date {
  background-color: var(--wp--preset--color--gold);
  color: var(--wp--preset--color--foreground);
  column-gap: 16px;
  display: inline-flex;
  flex-wrap: wrap;
  font-family: var(--wp--preset--font-family--raleway);
  line-height: 1.1667;
  font-size: 1.125rem;
  font-style: normal;
  margin: 0 0 15px -20px;
  padding: 5px 20px;
}

.solo-tribe-events .solo-tribe-events__date-day {
  font-weight: var(--wp--custom--font-weight--semi-bold);
}

.solo-tribe-events .solo-tribe-events__heading {
  margin-bottom: 12px;
}

.solo-tribe-events .solo-tribe-events__heading a {
  color: inherit;
}

.solo-tribe-events .solo-tribe-events__image {
  border-radius: 15px;
  margin-bottom: 12px;
}

.solo-tribe-events .solo-tribe-events__copy > * {
  display: inline;
}

.solo-tribe-events a.read-more {
  color: var(--wp--preset--color--teal);
  text-decoration-color: var(--wp--preset--color--turquoise);
  opacity: 1 !important;
}

.solo-tribe-events a.read-more:hover {
  color: var(--wp--preset--color--eggplant);
  text-decoration-color: var(--wp--preset--color--teal);
}

@media (min-width: 768px) {
  .solo-tribe-events {
    border-radius: 15px;
    padding: 20px 30px 30px 30px;
  }

  .solo-tribe-events .solo-tribe-events__date {
    margin: 0 0 15px -30px;
    padding: 5px 30px;
  }

  .solo-tribe-events .solo-tribe-events__image {
    margin-bottom: 0;
  }
}

.solo-resource__link {
  display: block;
  opacity: 1 !important;
}

.solo-resource .solo-resource__image {
  position: relative;
  z-index: 1;
  border-radius: 100%;
  margin-bottom: -100px;
  margin-left: 20px;
  opacity: 1 !important;
  width: 200px;
}

.solo-resource .solo-resource__row {
  --bs-gutter-x: 0;
}

.solo-resource .solo-resource__content {
  background-color: var(--wp--preset--color--background);
  border: 2px solid #ef9b2c;
  border-radius: 15px;
  padding: 120px 20px 30px 20px;
}

.solo-resource .solo-resource__content--without-image {
  padding-top: 30px;
}

.solo-resource .solo-resource__taxes {
  color: var(--wp--preset--color--foreground);
  display: block;
  line-height: 1.1;
  margin-bottom: 12px;
}

.solo-resource .solo-resource__taxes a {
  color: var(--wp--preset--color--foreground);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.215;
  text-decoration: none;
}

.solo-resource .solo-resource__heading {
  margin-bottom: 12px;
}

.solo-resource .solo-resource__heading a {
  color: inherit;
}

.solo-resource .solo-resource__heading a:hover {
  color: var(--wp--preset--color--teal);
  opacity: 1;
}

.solo-resource p {
  margin-bottom: 0;
}

.solo-resource .solo-resource__footer {
  display: flex;
  flex-direction: column;
  margin-top: 20px;
  row-gap: 20px;
}

.solo-resource .solo-resource__permalink {
  align-items: center;
  color: var(--wp--preset--color--teal) !important;
  column-gap: 8px;
  display: inline-flex;
  opacity: 1 !important;
  text-decoration-color: var(--wp--preset--color--turquoise) !important;
}

.solo-resource .solo-resource__permalink:hover {
  color: var(--wp--preset--color--eggplant) !important;
  text-decoration-color: var(--wp--preset--color--teal) !important;
}

.solo-resource .solo-resource__permalink-icon {
  -webkit-mask-image: var(--spm-type-icon-url);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-image: var(--spm-type-icon-url);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  background-color: currentColor;
  background-image: var(--spm-type-icon-url);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
  height: 28px;
  width: 28px;
}

.solo-resource .solo-resource__permalink:hover .solo-resource__permalink-icon {
  background-color: var(--wp--preset--color--eggplant);
  background-image: none;
}

@media (min-width: 768px) {
  .solo-resource .solo-resource__image {
    margin-bottom: -112px;
    margin-left: 30px;
    width: 224px;
  }

  .solo-resource .solo-resource__content {
    padding: 132px 30px 30px 30px;
  }

  .solo-resource .solo-resource__content--without-image {
    padding-top: 30px;
  }

  .solo-resource .solo-resource__taxes {
    margin-bottom: 6px;
  }

  .solo-resource .solo-resource__footer {
    align-items: center;
    column-gap: 20px;
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 992px) {
  .solo-resource {
    position: relative;
  }

  .solo-resource .solo-resource__image {
    position: absolute;
    top: 0;
    left: 83.3333333333%;
    z-index: 1000;
    margin-top: 15px;
    margin-left: 0;
    width: auto;
    height: calc(100% - 30px);
    transform: translateX(-50%);
  }

  .solo-resource .solo-resource__content {
    position: relative;
    background-color: transparent;
    border: 0;
    border-radius: 0;
    padding: 30px;
  }

  .solo-resource .solo-resource__content--with-image {
    padding: 30px 60px 30px 30px;
  }

  .solo-resource .solo-resource__content::after {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--wp--preset--color--background);
    border: 2px solid #ef9b2c;
    border-radius: 15px;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
  }

  .solo-resource .solo-resource__content--with-image::after {
    width: 125%;
  }

  .solo-resource .solo-resource__content__inner {
    position: relative;
    z-index: 1;
  }
}

.solo-post .solo-post__image-wrap {
  display: block;
}

.solo-post .solo-post__image {
  border-radius: 15px;
  margin-bottom: 0;
}

.solo-post .solo-post__image-wrap + .solo-post__content {
  position: relative;
  z-index: 1;
  margin-top: -18px;
}

.solo-post .solo-post__content {
  color: var(--wp--preset--color--background);
}

.solo-post .solo-post__cats {
  background-color: var(--wp--preset--color--gold);
  color: var(--wp--preset--color--foreground);
  display: inline-block;
  font-size: 1.125rem;
  line-height: 1.3889;
  margin-bottom: 12px;
  margin-left: 0;
  padding: 5px 20px;
}

.solo-post .solo-post__cats a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.solo-post .solo-post__cats a:hover {
  color: var(--wp--preset--color--eggplant);
  opacity: 1;
}

.solo-post .solo-post__heading {
  margin-top: 0;
  margin-bottom: 15px;
}

.solo-post .solo-post__heading a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.solo-post .solo-post__heading a:hover {
  color: var(--wp--preset--color--gold);
  opacity: 1;
}

.solo-post p {
  margin-bottom: 15px;
}

.solo-post p a {
  display: none;
}

.solo-post .solo-post__footer {
  align-items: center;
  gap: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.solo-post .solo-post__date {
  font-style: italic;
}

div.solo-post .solo-post__permalink:hover {
  color: var(--wp--preset--color--gold);
  opacity: 1;
  text-decoration-color: var(--wp--preset--color--background);
}

@media (min-width: 768px) {
  .solo-post {
    position: relative;
  }

  .solo-post .solo-post__image-wrap {
    border-radius: 15px;
    width: 75%;
  }

  .solo-post .solo-post__content {
    position: static !important;
    margin-top: 30px !important;
  }

  .solo-post .solo-post__cats {
    position: absolute;
    top: 35px;
    left: 0;
  }

  .solo-post .solo-post__heading {
    margin-bottom: 10px;
  }

  .solo-post p {
    margin-bottom: 20px;
  }
}

@media (min-width: 992px) {
  .solo-post {
    align-items: center;
    display: flex;
    column-gap: 40px;
  }

  .solo-post .solo-post__image-wrap {
    flex: 1;
    width: 100%;
  }

  .solo-post .solo-post__content {
    flex: 1;
    margin-top: 0 !important;
  }

  .solo-post .solo-post__cats {
    top: 20px;
  }
}

.excerpt-post .excerpt-post__image-wrap + .excerpt-post__content {
  position: relative;
  z-index: 100;
  margin-top: -18px;
}

.excerpt-post .excerpt-post__image {
  border-radius: 10px;
}

.excerpt-post .excerpt-post__cats {
  background-color: var(--wp--preset--color--gold);
  color: var(--wp--preset--color--foreground);
  display: inline-block;
  font-size: 1.125rem;
  line-height: 1.3889;
  margin-bottom: 12px;
  padding: 5px 20px;
}

.excerpt-post .excerpt-post__cats a {
  color: inherit;
  font-weight: inherit;
  text-decoration: inherit;
}

.excerpt-post .excerpt-post__cats a:hover {
  color: var(--wp--preset--color--eggplant);
}

.excerpt-post .excerpt-post__heading {
  margin-bottom: 0;
}

.excerpt-post .excerpt-post__heading a {
  opacity: 1 !important;
}

.excerpt-post .excerpt-post__heading a:hover {
  color: var(--wp--preset--color--gold);
}

.excerpt-post .excerpt-post__heading a.stretched-link::after {
  content: none;
}

.excerpt-post .excerpt-post__date {
  display: block;
  font-style: normal;
  margin-bottom: 6px;
}

.excerpt-post-alt {
  position: relative;
}

.excerpt-post-alt .excerpt-post-alt__image {
  border-radius: 15px;
}

.excerpt-post-alt .excerpt-post-alt__content {
  padding-top: 15px;
}

.excerpt-post-alt .excerpt-post-alt__cats {
  position: absolute;
  top: 16px;
  left: 0;
  z-index: 1;
  background-color: var(--wp--preset--color--gold);
  color: var(--wp--preset--color--foreground);
  display: inline-block;
  font-size: 1.125rem;
  line-height: 1.3889;
  padding: 5px 20px;
}

.excerpt-post-alt .excerpt-post-alt__cats a {
  color: inherit;
  font-weight: inherit;
  text-decoration: inherit;
}

.excerpt-post-alt .excerpt-post-alt__cats a:hover {
  color: var(--wp--preset--color--eggplant);
}

.excerpt-post-alt .excerpt-post-alt__date {
  display: block;
  font-style: normal;
  margin-bottom: 10px;
}

.excerpt-post-alt .excerpt-post-alt__heading {
  margin-bottom: 0;
}

.excerpt-post-alt .excerpt-post-alt__heading a {
  color: inherit;
  text-decoration: none;
}

.excerpt-post-alt .excerpt-post-alt__heading a:hover {
  color: var(--wp--preset--color--teal);
}

@media (min-width: 768px) {
  .excerpt-post {
    position: relative;
    aspect-ratio: 3 / 2;
    border-radius: 15px;
    overflow: hidden;
  }

  .excerpt-post .excerpt-post__image-wrap {
    position: absolute;
    inset: 0;
    display: block;
  }

  .excerpt-post .excerpt-post__image-wrap::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.64) 0%,
      rgba(0, 0, 0, 0.64) 100%
    );
    content: "";
    mix-blend-mode: multiply;
  }

  .excerpt-post .excerpt-post__image-wrap::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: var(--wp--preset--color--teal);
    content: "";
    mix-blend-mode: multiply;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-in-out;
  }

  .excerpt-post:hover .excerpt-post__image-wrap::before {
    opacity: 1;
  }

  .excerpt-post .excerpt-post__image {
    border-radius: 0;
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .excerpt-post .excerpt-post__image-wrap + .excerpt-post__content {
    position: absolute;
    inset: 0;
    z-index: 100;
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding: 20px 30px 30px 30px;
  }

  .excerpt-post .excerpt-post__cats {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    margin-left: -30px;
  }

  .excerpt-post .excerpt-post__date {
    margin-top: auto;
    margin-bottom: 10px;
  }

  .excerpt-post .excerpt-post__heading a.stretched-link::after {
    content: "";
  }

  .excerpt-post .excerpt-post__heading a:hover {
    color: var(--wp--preset--color--background);
  }
}

.featured {
  position: relative;
}

.featured__flag {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #fff;
  font-weight: 700;
  padding: 10px;
}

.post-categories {
  list-style: none;
  margin-bottom: 0;
  padding-left: 0;
}

.post-categories li {
  display: inline-block;
  margin-right: 1em;
}

.post-categories li:last-child {
  margin-right: 0;
}

.posts-navigation {
  margin-top: 30px;
}

.posts-navigation .nav-links {
  display: flex;
  justify-content: space-between;
}

.result {
  border-bottom: 2px solid var(--wp--preset--color--neutral);
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.result:last-child {
  margin-bottom: 0;
}

.result .result__title {
  margin-bottom: 0;
}

.result .result__excerpt {
  margin-top: 8px;
}

@media (min-width: 768px) {
  .result {
    margin-bottom: 30px;
    padding-bottom: 30px;
  }

  .result .result__excerpt {
    margin-top: 10px;
  }
}

.wp-element-button {
  display: inline-block;
  min-height: 52px;
  opacity: 1 !important;
  text-shadow: none;
}

.wp-element-button.is-style-arrow {
  background-image: url("assets/img/circle_arrow_right_turquoise.svg");
  background-position: right 3px center;
  background-repeat: no-repeat;
  background-size: 46px;
  padding-right: 59px;
}

.wp-element-button.is-style-reverse {
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--teal);
}

.wp-element-button.is-style-reverse:focus {
  outline-color: var(--wp--preset--color--gold);
}

.wp-element-button.is-style-reverse:hover {
  background-color: var(--wp--preset--color--gold);
  color: var(--wp--preset--color--foreground);
}

.wp-element-button.is-style-reverse.is-style-arrow:hover {
  background-image: url("assets/img/circle_arrow_right_middle_gray.svg");
}

.wp-element-button.is-style-map {
  background-image: url("assets/img/circle_map_turquoise.svg");
  background-position: right 3px center;
  background-repeat: no-repeat;
  padding-right: 59px;
}

.wp-element-button.is-style-reverse.is-style-map:hover {
  background-image: url("assets/img/circle_map_middle_gray.svg");
}

.wp-element-button.is-style-email {
  background-image: url("assets/img/circle_email_turquoise.svg");
  background-position: right 3px center;
  background-repeat: no-repeat;
  background-size: 46px;
  padding-right: 59px;
}

.wp-element-button.is-style-reverse.is-style-email:hover {
  background-image: url("assets/img/circle_email_middle_gray.svg");
}

.wp-element-button.is-style-grid {
  background-image: url("assets/img/circle_grid_turquoise.svg");
  background-position: right 3px center;
  background-repeat: no-repeat;
  padding-right: 59px;
}

.wp-element-button.is-style-reverse.is-style-grid:hover {
  background-image: url("assets/img/circle_grid_middle_gray.svg");
}

.wp-element-button.is-style-turquoise {
  background-color: var(--wp--preset--color--turquoise);
  color: var(--wp--preset--color--foreground);
}

.wp-element-button.is-style-turquoise:focus {
  outline-color: var(--wp--preset--color--gold);
}

.wp-element-button.is-style-turquoise:hover {
  background-color: var(--wp--preset--color--gold);
  color: var(--wp--preset--color--foreground);
}

.tribe-events-content a.wp-element-button {
  border-bottom: 0;
  color: var(--wp--preset--color--background);
  transition: all 0.2s ease-in-out;
}

/*
 * Plugin styles
 */

/*
 * Gravity Forms
 */

.gfield {
  border: 0;
  margin: 0 0 25px 0;
  padding: 0;
}

@media (min-width: 768px) {
  .gfield {
    margin: 0 0 30px 0;
  }
}

.gfield_label {
  color: var(--wp--preset--color--foreground);
  display: block;
  font-family: var(--wp--preset--font-family--raleway);
  font-size: 1.375rem;
  font-weight: var(--wp--custom--font-weight--bold);
  margin-bottom: 8px;
  padding: 0 !important;
}

.gform-field-label--type-sub {
  display: block;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.1875;
  margin: 5px 0;
}

.gfield_description {
  display: block;
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.3889;
  margin: 8px 0;
}

.field_description_above .gfield_description {
  margin-top: 0;
}

/* Hidden labels */
.gform_wrapper .hidden_label .gfield_label,
.gform_wrapper label.hidden_sub_label,
.gform_wrapper label.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  width: 1px;
}

.gform_wrapper li.hidden_label input {
  margin-top: 8px;
}

.gform_wrapper
  .field_sublabel_hidden_label
  .ginput_complex.ginput_container
  input[type="text"],
.gform_wrapper
  .field_sublabel_hidden_label
  .ginput_complex.ginput_container
  select {
  margin-bottom: 8px;
}

.gform_wrapper .left_label li.hidden_label input,
.gform_wrapper .right_label li.hidden_label input {
  margin-left: 3.7%;
}

.gform_wrapper .hidden_label input.large,
.gform_wrapper .hidden_label select.large,
.gform_wrapper .top_label input.large,
.gform_wrapper .top_label select.large {
  width: 100%;
}

/* Sections */
.gsection_title {
  margin-bottom: 0;
}

/* Fields with choices */
.gchoice,
.gfield-image-choice-wrapper-inner,
.ginput_container_consent {
  align-items: center;
  display: flex;
}

.gfield-choice-input,
.ginput_container_consent input[type="checkbox"] {
  margin-right: 8px;
}

.gfield-choice-input + label,
.ginput_container_consent input[type="checkbox"] + label {
  font-size: var(--wp--preset--font-size--small);
  line-height: 1.3889;
}

.gchoice + .gchoice {
  margin-top: 10px;
}

.gfield-choice-image-wrapper {
  margin-bottom: 10px;
}

/* List fields */
.gfield_list_icons {
  margin-top: 10px;
}

.gfield_list_group + .gfield_list_group {
  margin-top: 10px;
}

.add_list_item,
.delete_list_item {
  display: none;
}

/* Upload fields */
.gform_fileupload_rules {
  margin-top: 10px;
  margin-bottom: 0;
}

/* Complex fields */
.ginput_container_email {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.ginput_container--name {
  display: flex;
  margin: 0 -15px;
}

.ginput_container--name > span {
  flex: 1;
  padding: 0 15px;
}

.ginput_container_address {
  display: flex;
  flex-direction: column;
}

.ginput_container_address > span + span {
  margin-top: 10px;
}

.gfield--type-time .ginput_complex {
  align-items: center;
  display: flex;
  margin: 0 0.125em;
}

.gfield--type-time .ginput_complex > div {
  padding: 0 0.125em;
}

/*Datepicker*/
.gform-theme-datepicker:not(.gform-legacy-datepicker) {
  background-color: var(--wp--preset--color--background);
  border: 0;
  padding: 10px;
}

.ui-datepicker-prev,
.ui-datepicker-next {
  display: inline-block;
  margin-bottom: 10px;
  width: 50%;
}

.ui-datepicker-next {
  text-align: right;
}

.ui-datepicker-month {
  margin-bottom: 10px;
}

.ui-datepicker-year {
  margin-bottom: 10px;
}

/* Messages */
.gform_validation_errors,
.gfield_validation_message {
  background-color: var(--wp--preset--color--neutral);
  font-size: var(--wp--preset--font-size--small);
  font-style: italic;
  padding: 10px;
}

.validation_message--hidden-on-empty {
  padding: 0;
}

/* Hide icons */
.gform_save_link svg {
  display: none;
}

/* Required fields */
.gfield_required {
  color: var(--wp--preset--color--citrine);
}

.gfield_required:before {
  content: " ";
}

/*
 * Native "protected post" password form (single-resource.php /
 * inc/wp-cleanup.php the_password_form filter). Mirrors the Gravity Forms
 * field styles above (.gfield_label, .gfield_description,
 * .gform_validation_errors) so it reads as one form language with the
 * Gravity Forms block that sits next to it.
 */

.spm-password-form .post-password-form > p {
  margin: 0 0 25px 0;
}

@media (min-width: 768px) {
  .spm-password-form .post-password-form > p {
    margin: 0 0 30px 0;
  }
}

.spm-password-form .post-password-form label {
  color: var(--wp--preset--color--foreground);
  display: block;
  font-family: var(--wp--preset--font-family--raleway);
  font-size: 1.375rem;
  font-weight: var(--wp--custom--font-weight--bold);
  margin-bottom: 8px;
}

.spm-password-form .post-password-form input[type="password"] {
  display: block;
  margin-top: 8px;
}

.spm-password-form .post-password-form input[type="submit"] {
  margin-top: 15px;
}

.spm-password-form .post-password-form-invalid-password {
  background-color: var(--wp--preset--color--neutral);
  font-size: var(--wp--preset--font-size--small);
  font-style: italic;
  margin-bottom: 25px;
  padding: 10px;
}

.spm-password-form .post-password-form-invalid-password p {
  margin: 0;
}

/*
 * Search & Filter
 */

.searchandfilter ul {
  align-items: center;
  display: flex;
  list-style: none;
  margin: 0 -15px 30px -15px;
  padding-left: 0;
}

.searchandfilter li {
  padding: 0 15px;
}

/* Custom search icon */
.search-filter-input-text {
  position: relative;
}

.search-filter-input-text__icon {
  position: absolute;
  top: 10px;
  right: 10px;
  background-image: url("assets/img/circle_search_teal.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 29px;
  width: 29px;
}

.search-filter-input-text__icon svg {
  display: none;
}

/* Hide clear search input button */
.search-filter-input-text__clear-button {
  display: none;
}

/* Style the "Clear Filters" button (a Search & Filter "Button" field) as a
 * plain text link rather than a boxed button -- its background/border/
 * padding normally come from the dequeued plugin stylesheet, so reset
 * those in addition to the requested type styles. */
.search-filter-input-button {
  background: none;
  color: var(--wp--preset--color--background);
  border: none;
  padding: 0;
  font-family: var(--wp--preset--font-family--raleway);
  font-size: 1.125rem;
  font-style: normal;
  font-weight: var(--wp--custom--font-weight--bold);
  line-height: 1.1111;
  text-transform: uppercase;
}

.search-filter-input-button:hover {
  opacity: 0.5;
}

.filters--resource .search-filter-input-button {
  color: var(--wp--preset--color--foreground);
}

/* Style the Search & Filter "Select" field (a custom combobox widget,
 * not a native <select>) to look like the site's other select/input
 * fields. The plugin's own component CSS (combobox.css) IS loaded, but
 * it reads all of its colors/spacing/sizing from a set of
 * --search-filter-* custom properties that this site's "Style" (the
 * search-filter-style--id-1 fields use here) has never had values set
 * for -- so everything below was rendering at CSS's bare defaults
 * (unset border, transparent background, oversized icons, and text
 * that inherited white from the dark header). Defining the variables
 * here -- rather than overriding the plugin's own rules directly --
 * means these values are picked up correctly regardless of stylesheet
 * load order. */
:root {
  /* Base scale: combobox.css derives icon sizes, internal padding and
   * font-size from these via calc(). combobox.css only defines the
   * derived --search-filter-scale-base-size chain *inside* the
   * dropdown-panel rule, though, so the toggle/clear icons (which live
   * outside the panel) never see a valid value from it -- setting
   * --scale-base-size directly here covers them too. Matches the same
   * size used by the site's native select/input fields. */
  --search-filter-scale-base-unit: var(--wp--preset--font-size--small);
  --search-filter-scale-step-unit: 0px;
  --search-filter-dropdown-scale: 1;
  --search-filter-scale-base-size: var(--wp--preset--font-size--small);

  /* Closed field ("select box") */
  --search-filter-input-background-color: var(--wp--preset--color--background);
  --search-filter-input-color: var(--wp--preset--color--foreground);
  --search-filter-input-placeholder-color: var(--wp--preset--color--foreground);
  --search-filter-input-border-width: 2px;
  --search-filter-input-border-style: solid;
  --search-filter-input-border-color: var(--wp--preset--color--teal);
  --search-filter-input-border-hover-color: var(--wp--preset--color--teal);
  --search-filter-input-border-focus-color: var(--wp--preset--color--turquoise);
  --search-filter-input-border-accent-color: var(--wp--preset--color--teal);
  --search-filter-input-border-radius: 8px;
  --search-filter-input-box-shadow: none;
  --search-filter-input-gap: 8px;

  /* Toggle chevron + clear "x" icons */
  --search-filter-input-interactive-color: var(--wp--preset--color--teal);
  --search-filter-input-interactive-hover-color: var(--wp--preset--color--gold);
  --search-filter-input-clear-color: var(--wp--preset--color--teal);
  --search-filter-input-clear-hover-color: var(--wp--preset--color--gold);
  --search-filter-input-toggle-padding-left: 8px;
  --search-filter-input-toggle-padding-right: 4px;

  /* Selected "chip" styling used by multi-select fields */
  --search-filter-input-selection-gap: 6px;

  /* Dropdown panel */
  --search-filter-dropdown-border-width: 2px;
  --search-filter-dropdown-border-style: solid;
  --search-filter-dropdown-border-color: var(--wp--preset--color--turquoise);
  --search-filter-dropdown-border-radius: 8px;
  --search-filter-dropdown-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  --search-filter-dropdown-gap: 8px;
  --search-filter-dropdown-option-indent-depth: 16px;

  /* A chosen option's row in the open dropdown (the plugin's
   * "selection" variables, despite the name, style the persistently
   * --selected row) */
  --search-filter-input-selection-background-color: var(
    --wp--preset--color--teal
  );
  --search-filter-input-selection-color: var(--wp--preset--color--background);

  /* The row currently hovered/keyboard-highlighted in the open
   * dropdown (the plugin's "selected" variables style the --active
   * row) */
  --search-filter-input-selected-background-color: var(
    --wp--preset--color--neutral
  );
  --search-filter-input-selected-color: var(--wp--preset--color--foreground);
}

/* The field's internal padding used to be driven by --search-filter-
 * input-padding-top/right/bottom/left variables, but those turned out to
 * be the most version-fragile part of this whole setup: combobox.css only
 * consumes them through its own calc() fallbacks (so a typo-free but
 * *unset* variable doesn't fail loudly, it just silently falls back to
 * the plugin's own default spacing), and the staging build ignores them
 * entirely in favor of a differently-named --search-filter-scale-padding-*
 * pair. Hardcoding the actual literal padding directly onto each
 * consuming selector (with !important, since combobox.css loads after
 * this stylesheet and would otherwise win any same-specificity tie)
 * sidesteps both problems -- it no longer matters which variable name, if
 * any, a given plugin build reads internally. Values below match what the
 * removed variables used to produce: 20px/12px base, with the same
 * .75/.25 multipliers combobox.css itself already applies for
 * mode-multiple's split between the chip row, the placeholder and the
 * typeahead input. */
.search-filter-component-combobox {
  padding-left: 20px !important;
}

.search-filter-component-combobox--mode-multiple {
  padding-left: 15px !important;
}

/* The left inset above lives on the field's outer wrapper only -- the
 * typeahead <input> itself should NOT also get its own padding-left, or
 * the placeholder/typed text ends up indented by both at once (wrapper +
 * input stacked, e.g. 15px + 15px = 30px on mode-multiple fields). This
 * explicit reset guards against a plugin build that gives the input its
 * own padding-left by default. */
.search-filter-component-combobox input[type="text"] {
  padding-left: 0 !important;
}

.search-filter-component-combobox__clear-selection {
  padding-right: 12px !important;
}

.search-filter-component-combobox
  .search-filter-component-combobox__actions
  .search-filter-component-combobox__selection,
.search-filter-component-combobox
  .search-filter-component-combobox__actions
  input[type="text"],
.search-filter-component-combobox input[type="text"] {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

.search-filter-component-combobox--mode-multiple
  .search-filter-component-combobox__actions
  .search-filter-component-combobox__selection,
.search-filter-component-combobox--mode-multiple
  .search-filter-component-combobox__selection-placeholder {
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}

.search-filter-component-combobox--mode-multiple
  .search-filter-component-combobox__actions
  input[type="text"] {
  padding-top: 3px !important;
  padding-bottom: 3px !important;
  margin-left: 5px !important;
}

/* The plugin toggles this class to open/close the dropdown, but never
 * ships a rule that actually hides it -- without this the panel stays
 * expanded on the page at all times. The compound selector (two
 * classes) is needed so this beats combobox.css's own
 * ".search-filter-component-combobox-base__listbox { display: flex }"
 * rule, which has equal specificity and loads after this stylesheet. */
.search-filter-component-combobox-base__listbox.search-filter-component-popover--hidden {
  display: none;
}

/* In "search disabled" mode (a plain click-to-choose field, i.e. what
 * every field on this site uses) combobox.css never gives the
 * selection text a flex-basis, so it collapses to 0 width and the
 * toggle's own auto flex-basis expands to fill the entire field --
 * the placeholder/selected value never gets a chance to display.
 * Compound (two-class) selectors are used here so these reliably win
 * over combobox.css's single-class rules regardless of load order. */
.search-filter-component-combobox--search-disabled.search-filter-component-combobox--mode-single
  .search-filter-component-combobox__header {
  justify-content: space-between;
}

.search-filter-component-combobox--search-disabled.search-filter-component-combobox--mode-single
  .search-filter-component-combobox__actions {
  flex: 1 1 auto;
  min-width: 0;
}

.search-filter-component-combobox--search-disabled.search-filter-component-combobox--mode-single
  .search-filter-component-combobox__selection {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: auto;
}

.search-filter-component-combobox--search-disabled.search-filter-component-combobox--mode-single
  .search-filter-component-combobox__listbox-toggle {
  flex: 0 0 auto;
}

/* The clear ("x") icon's size comes from combobox.css's generic
 * .search-filter-icon__svg rule, which the clear-selection container's
 * own fixed flex-basis is too narrow for -- it ends up flex-shrunk to
 * a sliver. Sizing it directly (with a selector specific enough to
 * beat the generic rule) keeps it a comfortably clickable "x". */
.search-filter-component-combobox__clear-selection {
  flex: 0 0 auto !important;
  padding-left: 4px;
  padding-right: 4px;
}

.search-filter-component-combobox__clear-selection svg {
  flex-shrink: 0;
  height: 14px !important;
  width: 14px !important;
}

/* --mode-multiple: fields where more than one option can be chosen
 * render the selection as removable "chip" tags instead of a single
 * line of text. It shares all the --search-filter-* variables set
 * above (border, background, dropdown colors, etc.), but needs a
 * few things specific to chips: the scale variables that size the
 * chip's own remove icon have no fallback in combobox.css (same gap
 * as the base icon sizing before it was set above), the toggle
 * chevron has the same flex-shrink squeeze the single-select one had,
 * and the chip's background/text/remove-icon colors are hardcoded in
 * combobox.css rather than exposed as variables at all, so those need
 * direct overrides instead. */
:root {
  --search-filter-scale-selection-item-font-size: 0.875rem;
  --search-filter-scale-selection-remove-width: calc(
    1.7 * var(--search-filter-scale-base-size)
  );
  --search-filter-scale-selection-remove-svg-size: calc(
    1.15 * var(--search-filter-scale-base-size)
  );
}

.search-filter-component-combobox--search-disabled.search-filter-component-combobox--mode-multiple
  .search-filter-component-combobox__listbox-toggle {
  flex: 0 0 auto;
}

.search-filter-component-combobox--mode-multiple.search-filter-component-combobox--search-disabled
  .search-filter-component-combobox__selection-item,
.search-filter-component-combobox--mode-multiple.search-filter-component-combobox--search-enabled
  .search-filter-component-combobox__selection-item {
  background-color: var(--wp--preset--color--neutral);
  border-radius: 8px;
  color: var(--wp--preset--color--foreground);
}

.search-filter-component-combobox--mode-multiple.search-filter-component-combobox--search-disabled
  .search-filter-component-combobox__selection-label,
.search-filter-component-combobox--mode-multiple.search-filter-component-combobox--search-enabled
  .search-filter-component-combobox__selection-label {
  color: var(--wp--preset--color--foreground);
}

.search-filter-component-combobox__selection-remove > svg {
  fill: var(--wp--preset--color--teal) !important;
}

.search-filter-component-combobox__selection-remove:hover > svg {
  fill: var(--wp--preset--color--gold) !important;
}

/* Keep every filter field the same width regardless of how long a
 * selected chip's label is. Flex items default to min-width: auto,
 * and several ancestors between the field (sized by its 25%-of-row
 * flex-basis, see ".filters" layout) and the chip's own text default
 * to that -- combined with the chip label's white-space: nowrap, a
 * long selection's un-truncated intrinsic width bubbles all the way
 * up and stretches the whole field wider than its siblings, even
 * though the label already has overflow: hidden + text-overflow:
 * ellipsis waiting to apply. Zeroing min-width down this chain lets
 * the field's flex-basis win again, so the label's existing ellipsis
 * rule actually gets a chance to truncate instead of never being
 * constrained enough to trigger. */
.search-filter-field,
.search-filter-component-combobox__actions,
.search-filter-component-combobox__selection,
.search-filter-component-combobox__selection-item {
  min-width: 0;
}

/* --- Cross-version robustness ---
 * The Search & Filter plugin build on staging (macc.stpaulmedia.net)
 * differs from the one on this local site in ways that broke the
 * fixes above: the dropdown panel's wrapper class is
 * "search-filter-component-popup" there instead of "...-popover" (so
 * the hidden-panel fix below never matched it), the toggle/clear/chip
 * -remove icons are never given an explicit width or height at all
 * (so they render at the browser's 300x150px default replaced-element
 * size, ballooning the whole field), and the field's own corner
 * radius is read from --search-filter-scale-border-radius rather than
 * --search-filter-input-border-radius, and its field padding is read
 * from --search-filter-scale-padding-horizontal/-vertical rather than
 * --search-filter-input-padding-*. Since those scale-padding variables
 * are otherwise undefined, the padding declarations that reference them
 * compute to invalid and collapse to 0, which is why the staging fields
 * looked cramped. Covering both names/variables keeps this working
 * regardless of which build is running. */
:root {
  --search-filter-scale-border-radius: 8px;
  --search-filter-scale-padding-horizontal: 20px;
  --search-filter-scale-padding-vertical: 12px;
}

.search-filter-component-combobox-base__listbox.search-filter-component-popover--hidden,
.search-filter-component-combobox-base__listbox.search-filter-component-popup--hidden {
  display: none;
}

.search-filter-component-combobox__listbox-toggle svg {
  height: 16px !important;
  width: 16px !important;
}

.search-filter-component-combobox__selection-remove svg {
  height: 14px !important;
  width: 14px !important;
}

/*
 * Block spacing - outer blocks
 */

.spm-blocks--with-image {
  margin-top: 50px;
}

.spm-blocks > * + * {
  margin-top: 50px;
}

.spm-blocks.spm-blocks--footer > * + * {
  margin-top: 10px !important;
}

.spm-blocks > *:not(.has-bg):first-child {
  margin-top: 50px;
}

.spm-blocks.spm-blocks--footer > *:not(.has-bg):first-child {
  margin-top: 10px !important;
}

.spm-blocks > *:not(.has-bg):last-child {
  margin-bottom: 50px;
}

.spm-blocks.spm-blocks--footer > *:not(.has-bg):last-child {
  margin-bottom: 10px !important;
}

.archive .spm-blocks {
  margin-top: 0;
}

.post-type-archive-resource .spm-blocks.spm-blocks--footer > .spm-cta-pair {
  background-color: var(--wp--preset--color--turquoise);
  margin-top: -10px !important;
}

.has-bg {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 50px 0;
}

.spm-blocks > .has-bg + .has-bg {
  margin-top: 0;
}

.spm-blocks > .has-bleed + .has-bleed {
  margin-top: 0;
}

@media (min-width: 992px) {
  .spm-blocks--with-image {
    margin-top: 120px;
  }

  .spm-blocks > * + * {
    margin-top: 70px;
  }

  .spm-blocks > *:not(.has-bg):first-child {
    margin-top: 70px;
  }

  .spm-blocks > *:not(.has-bg):last-child {
    margin-bottom: 70px;
  }

  .has-bg {
    padding: 70px 0;
  }

  .spm-blocks > .has-bleed + .has-bleed {
    margin-top: 70px;
  }

  .spm-blocks > .has-bg.has-bleed + .has-bg.has-bleed {
    margin-top: 0;
  }
}

/*
 * Block spacing - inner blocks
 */

.spm-inner-blocks-row {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 50px;
}

@media (min-width: 768px) {
  .spm-inner-blocks-row {
    row-gap: 60px;
  }

  /* Alt variant: always row layout starting at tablet (used by exactly-2-item groups like CTA Pair) */
  .spm-inner-blocks-row--alt {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 40px;
  }
}

@media (min-width: 992px) {
  .spm-inner-blocks-row {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 40px;
  }

  /* Special case: exactly 2 items */
  .spm-inner-blocks-row:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Special case: exactly 4 items */
  .spm-inner-blocks-row:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(4, 1fr);
  }

  /*
   * Center the last row on desktop when it has fewer than 3 items
   */

  /* Last row has exactly 1 item */
  .spm-inner-blocks-row:has(> :nth-child(3n + 1):last-child):not(
      :has(> :nth-child(4):last-child)
    ) {
    grid-template-columns: repeat(6, 1fr);
  }

  .spm-inner-blocks-row:has(> :nth-child(3n + 1):last-child):not(
      :has(> :nth-child(4):last-child)
    )
    > * {
    grid-column: span 2;
  }

  .spm-inner-blocks-row:has(> :nth-child(3n + 1):last-child):not(
      :has(> :nth-child(4):last-child)
    )
    > :last-child {
    grid-column: 3 / span 2;
  }

  /* Last row has exactly 2 items */
  .spm-inner-blocks-row:has(> :nth-child(3n + 2):last-child):not(
      :has(> :nth-child(2):last-child)
    ) {
    grid-template-columns: repeat(6, 1fr);
  }

  .spm-inner-blocks-row:has(> :nth-child(3n + 2):last-child):not(
      :has(> :nth-child(2):last-child)
    )
    > * {
    grid-column: span 2;
  }

  .spm-inner-blocks-row:has(> :nth-child(3n + 2):last-child):not(
      :has(> :nth-child(2):last-child)
    )
    > :nth-last-child(2) {
    grid-column: 2 / span 2;
  }

  .spm-inner-blocks-row:has(> :nth-child(3n + 2):last-child):not(
      :has(> :nth-child(2):last-child)
    )
    > :last-child {
    grid-column: 4 / span 2;
  }
}

/*
 * Utility classes
 */

.embed-container {
  position: relative;
  border-radius: 15px;
  height: auto;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 56.25%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.text-subheading {
  display: block;
  font-family: var(--wp--preset--font-family--raleway);
  font-size: 1.0625rem;
  font-weight: var(--wp--custom--font-weight--semi-bold);
  letter-spacing: 2%;
  line-height: 1.1765;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.text-large {
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.4761904762;
}

@media (min-width: 992px) {
  .text-subheading {
    font-size: 1.1875rem;
    line-height: 1.105;
  }
}

.wysiwyg blockquote {
  border-top: 2px solid var(--wp--preset--color--turquoise);
  border-bottom: 2px solid var(--wp--preset--color--turquoise);
  color: var(--wp--preset--color--eggplant);
  font-family: var(--wp--preset--font-family--raleway);
  font-size: var(--wp--preset--font-size--x-large);
  font-style: italic;
  font-weight: var(--wp--custom--font-weight--bold);
  line-height: 1.25;
  margin-bottom: 20px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.wysiwyg blockquote > :last-child {
  margin-bottom: 0;
}

.wysiwyg li + li {
  margin-top: 10px;
}

.wysiwyg ol,
.wysiwyg ul {
  margin-bottom: 20px;
  padding-left: calc(1em + 10px);
}

.wysiwyg p {
  margin-bottom: 20px;
}

.wysiwyg * + h2,
.wp-wysiwyg * + h2 {
  margin-top: 30px;
}

.wysiwyg * + h3,
.wp-wysiwyg * + h3 {
  margin-top: 30px;
}

.wysiwyg > :last-child,
.wp-wysiwyg > :last-child {
  margin-bottom: 0;
}

.wp-wysiwyg .wp-block-buttons,
.wp-wysiwyg .wp-block-gallery,
.wp-wysiwyg .wp-block-image,
.wp-wysiwyg .wp-block-separator,
.wp-wysiwyg .wp-block-table {
  margin-bottom: 20px;
}

.wp-wysiwyg .wp-block-image img {
  border-radius: 15px;
}

.wp-wysiwyg
  .wp-block-gallery.has-nested-images
  figure.wp-block-image:not(#individual-image)
  figcaption {
  position: static;
  background: none;
  color: inherit;
  flex: 0 0 auto;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.25;
  margin: 0;
  max-height: none;
  overflow: visible;
  padding: 10px 10px 0;
  text-align: left;
  text-shadow: none;
  width: auto;
}

.wp-wysiwyg .wp-block-pullquote :where(cite) {
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .wysiwyg blockquote {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .wysiwyg ol,
  .wysiwyg ul,
  .wp-wysiwyg ol,
  .wp-wysiwyg ul {
    margin-bottom: 30px;
  }

  .wysiwyg * + h2,
  .wp-wysiwyg * + h2 {
    margin-top: 40px;
  }

  h2 {
    margin-bottom: 20px;
  }

  h3 {
    margin-bottom: 10px;
  }

  .wp-wysiwyg .wp-block-buttons,
  .wp-wysiwyg .wp-block-gallery,
  .wp-wysiwyg .wp-block-image,
  .wp-wysiwyg .wp-block-pullquote,
  .wp-wysiwyg .wp-block-separator,
  .wp-wysiwyg .wp-block-table {
    margin-bottom: 30px;
  }

  .wp-wysiwyg .wp-block-pullquote {
    margin-top: 30px;
  }
}

.wp-block-pullquote {
  text-align: left;
}

.pagination__inner {
  align-items: center;
  display: flex;
  font-family: var(--wp--preset--font-family--raleway);
  font-size: var(--wp--preset--font-size--x-large);
  font-weight: var(--wp--custom--font-weight--bold);
  gap: 25px;
  justify-content: center;
  line-height: 1.25;
  margin-top: 20px;
}

.pagination .prev,
.pagination .next {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 46px 46px;
  display: block;
  height: 46px;
  width: 46px;
}

.pagination .prev {
  background-image: url("assets/img/pagination_backward_teal.svg");
}

.pagination .prev:hover {
  background-image: url("assets/img/pagination_backward_eggplant.svg");
}

.pagination .next {
  background-image: url("assets/img/pagination_forward_teal.svg");
}

.pagination .next:hover {
  background-image: url("assets/img/pagination_forward_eggplant.svg");
}

.pagination[data-variant="reverse"] .prev {
  background-image: url("assets/img/pagination_backward_white.svg");
}

.pagination[data-variant="reverse"] .prev:hover {
  background-image: url("assets/img/pagination_backward_white_eggplant.svg");
}

.pagination[data-variant="reverse"] .next {
  background-image: url("assets/img/pagination_forward_white.svg");
}

.pagination[data-variant="reverse"] .next:hover {
  background-image: url("assets/img/pagination_forward_white_eggplant.svg");
}

.pagination .current {
  color: var(--wp--preset--color--foreground);
}

.pagination[data-variant="reverse"] .current {
  color: var(--wp--preset--color--background);
}

.pagination a {
  color: var(--wp--preset--color--teal);
  font-weight: inherit;
  text-decoration: none;
}

.pagination a:hover {
  color: var(--wp--preset--color--eggplant);
}

.pagination[data-variant="reverse"] a {
  color: var(--wp--preset--color--foreground);
}

.pagination[data-variant="reverse"] a:hover {
  color: var(--wp--preset--color--background);
  opacity: 1;
}

@media (min-width: 768px) {
  .pagination__inner {
    margin-top: 50px;
  }
}

/*
 * WordPress search form
 */

.search-form {
  border: 1px solid var(--wp--preset--color--neutral);
  border-radius: 10px;
  display: flex;
}

.search-form .search-field {
  border: 0;
  border-radius: 10px 0 0 10px;
  height: 60px;
  padding-right: 15px;
  padding-left: 15px;
}

.search-form .search-submit {
  border-radius: 0 10px 10px 0;
}

.share .share__list {
  display: flex;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.share .share__link {
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40px;
  display: block;
  height: 40px;
  width: 40px;
}

.share .share__link--facebook {
  background-image: url("assets/img/share-icons/fb.svg");
}

.share .share__link--facebook:hover {
  background-image: url("assets/img/share-icons/fb_hover.svg");
}

.share .share__link--linkedin {
  background-image: url("assets/img/share-icons/linkedin.svg");
}

.share .share__link--linkedin:hover {
  background-image: url("assets/img/share-icons/linkedin_hover.svg");
}

.share .share__link--twitter {
  background-image: url("assets/img/share-icons/twitter.svg");
}

.share .share__link--email {
  background-image: url("assets/img/share-icons/email.svg");
}

.share .share__link--email:hover {
  background-image: url("assets/img/share-icons/email_hover.svg");
}

.share .share__link--print {
  background-image: url("assets/img/share-icons/print.svg");
}

.share .share__link--print:hover {
  background-image: url("assets/img/share-icons/print_hover.svg");
}

.share .share__link--bluesky {
  background-image: url("assets/img/share-icons/bluesky.svg");
}

.share .share__link--bluesky:hover {
  background-image: url("assets/img/share-icons/bluesky_hover.svg");
}

.filters {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.filters > * {
  flex: 1 0 100%;
}

.filters > div.search-filter-field--control-type-reset,
.filters > #member-directory-view-toggle {
  flex: 0 1 auto;
}

.filters--resource {
  justify-content: flex-end;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .filters > * {
    flex: 0 1 calc(50% - 20px);
  }

  .filters > div.search-filter-style--search-text {
    flex: 1 0 100%;
  }

  .filters--resource {
    justify-content: flex-start;
    margin-bottom: 70px;
  }
}

@media (min-width: 992px) {
  .filters {
    row-gap: 25px;
  }

  .filters > * {
    flex: 0 1 calc(25% - 20px);
  }

  .filters > div.search-filter-style--search-text {
    flex: 0 1 calc(50% - 10px);
  }

  .filters > div.search-filter-field--control-type-reset {
    margin-left: auto;
  }

  .filters--resource {
    justify-content: flex-start;
    margin-bottom: 40px;
  }

  .filters--resource > div.search-filter-field--control-type-reset {
    margin-left: 0;
  }
}

.contact .contact__image-wrap {
  position: relative;
}

.contact .contact__link {
  opacity: 1 !important;
}

.contact .contact__image {
  border: 2px solid var(--wp--preset--color--background);
  border-radius: 15px;
  margin-bottom: 20px;
}

.contact .contact__image--default {
  transition: opacity 0.2s ease-in-out;
}

.contact .contact__image-wrap:hover .contact__image--default {
  opacity: 0;
}

.contact .contact__image--hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.contact .contact__image-wrap:hover .contact__image--hover {
  opacity: 1;
}

.contact .contact__content {
  display: flex;
  flex-direction: column;
}

.contact .contact__heading {
  margin-bottom: 0;
}

.contact .contact__title {
  font-size: 1.3125rem;
  font-style: italic;
  line-height: 1.3;
}

.contact .contact__email {
  font-size: 1.3125rem;
  line-height: 1.5;
  margin-top: 5px;
}

@media (min-width: 768px) {
  .contact .contact__row {
    align-items: center;
  }

  .contact .contact__image {
    margin-bottom: 0;
  }

  .contact .contact__title {
    font-size: 1.375rem;
    line-height: 1.2727;
  }

  .contact .contact__email {
    margin-top: 10px;
  }
}

.excerpt-resource .excerpt-resource__card {
  background-color: var(--wp--preset--color--background);
  border-radius: 15px;
  border: 2px solid #5ea5b1;
}

.excerpt-resource .excerpt-resource__flag {
  background-color: var(--wp--preset--color--gold);
  color: var(--wp--preset--color--foreground);
  display: inline-block;
  font-size: 1.125rem;
  line-height: 1.3889;
  margin-top: 15px;
  padding: 5px 20px;
}

.excerpt-resource .excerpt-resource__image {
  display: none;
}

.excerpt-resource .excerpt-resource__content {
  padding: 20px 20px 35px 20px;
}

.excerpt-resource .excerpt-resource__heading {
  margin-bottom: 15px;
}

.excerpt-resource .excerpt-resource__heading a {
  opacity: 1 !important;
}

.excerpt-resource .excerpt-resource__heading a:hover {
  color: var(--wp--preset--color--teal);
}

.excerpt-resource .excerpt-resource__excerpt p {
  display: inline;
}

.excerpt-resource .excerpt-resource__permalink {
  color: var(--wp--preset--color--teal) !important;
  opacity: 1 !important;
  text-decoration-color: var(--wp--preset--color--turquoise) !important;
}

.excerpt-resource .excerpt-resource__permalink:hover {
  color: var(--wp--preset--color--eggplant) !important;
  text-decoration-color: var(--wp--preset--color--teal) !important;
}

.excerpt-resource .excerpt-resource__footer {
  font-size: 0.875rem;
  line-height: 1.215;
  padding: 0 20px 25px 20px;
}

.excerpt-resource .excerpt-resource__footer a {
  color: var(--wp--preset--color--foreground);
  font-weight: 600;
  text-decoration: inherit;
}

@media (min-width: 768px) {
  .excerpt-resource {
    position: relative;
    padding-top: 30px;
  }

  .excerpt-resource .excerpt-resource__card {
    border-radius: 20px;
  }

  .excerpt-resource .excerpt-resource__flag {
    margin-top: 20px;
    padding-left: 30px;
  }

  .excerpt-resource .excerpt-resource__content {
    padding: 20px 30px 35px 30px;
  }

  .excerpt-resource .excerpt-resource__content--with-image {
    padding: 20px 170px 35px 30px;
  }

  .excerpt-resource .excerpt-resource__image {
    position: absolute;
    top: 0;
    right: 20px;
    z-index: 1;
    border-radius: 100%;
    display: block;
    width: 150px;
  }

  .excerpt-resource .excerpt-resource__heading {
    margin-bottom: 12px;
  }

  .excerpt-resource .excerpt-resource__footer {
    padding: 0 30px 20px 30px;
  }

  /*
   * Equal-height cards, scoped to the archive grid only. The feed-resource
   * block reuses this same .excerpt-resource markup inside a Flickity
   * carousel, which has its own gated equal-height rules (see
   * blocks/feed-resource/style.css) — an unscoped rule here would fight
   * Flickity's height measurement, so keep this limited to the archive.
   */
  .spm-archive__posts .excerpt-resource {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .spm-archive__posts .excerpt-resource .excerpt-resource__card {
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  /*
   * The flex column above defaults to align-items: stretch, which would
   * otherwise stretch this inline-block badge to the card's full width.
   * Keep it sized to its own content, same as the carousel does.
   */
  .spm-archive__posts .excerpt-resource .excerpt-resource__flag {
    align-self: flex-start;
  }

  .spm-archive__posts .excerpt-resource .excerpt-resource__footer {
    margin-top: auto;
  }
}

.excerpt-member {
  background-color: var(--wp--preset--color--background);
  color: var(--wp--preset--color--foreground);
  border-radius: 15px;
}

.excerpt-member__header {
  align-items: flex-start;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  padding: 20px 0 10px 20px;
}

.excerpt-member .excerpt-member__logo {
  display: inline-block;
  width: 150px;
}

.excerpt-member .excerpt-member__logo img {
  display: block;
  height: auto;
  width: 100%;
}

.excerpt-member .excerpt-member__flag {
  background-color: var(--wp--preset--color--gold);
  color: var(--wp--preset--color--foreground);
  display: inline-block;
  font-size: 1.125rem;
  line-height: 1.3889;
  padding: 5px 20px;
}

.excerpt-member .excerpt-member__content {
  padding: 0 20px 10px 20px;
}

.excerpt-member .excerpt-member__heading {
  margin-bottom: 12px;
}

.excerpt-member .excerpt-member__heading a {
  color: inherit;
  opacity: 1 !important;
  text-decoration: none;
}

.excerpt-member .excerpt-member__heading a:hover {
  color: var(--wp--preset--color--teal);
}

.excerpt-member .excerpt-member__links {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.excerpt-member .excerpt-member__link {
  align-items: center;
  color: var(--wp--preset--color--teal);
  display: flex;
  font-size: 1rem;
  gap: 7px;
  line-height: 1.25;
}

.excerpt-member .excerpt-member__link a {
  text-decoration-color: var(--wp--preset--color--turquoise);
  opacity: 1 !important;
}

.excerpt-member .excerpt-member__link a:hover {
  color: var(--wp--preset--color--eggplant);
  text-decoration-color: var(--wp--preset--color--teal);
  opacity: 1 !important;
}

.excerpt-member .excerpt-member__link-icon {
  flex-shrink: 0;
  height: 20px;
  width: 20px;
}

.excerpt-member .excerpt-member__terms {
  border-left: 4px solid var(--wp--preset--color--gold);
  margin-bottom: 20px;
  padding-left: 15px;
}

.excerpt-member .excerpt-member__terms-list {
  font-size: 1rem;
  line-height: 1.25;
  margin-bottom: 0;
}

.excerpt-member .excerpt-member__terms-list a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.excerpt-member .excerpt-member__footer {
  padding: 0 20px 20px 20px;
}

.excerpt-member .excerpt-member__permalink {
  color: var(--wp--preset--color--teal) !important;
  font-size: 1.125rem;
  line-height: 1.3889;
  opacity: 1 !important;
  text-decoration-color: var(--wp--preset--color--turquoise) !important;
}

.excerpt-member .excerpt-member__permalink:hover {
  color: var(--wp--preset--color--eggplant) !important;
  text-decoration-color: var(--wp--preset--color--teal) !important;
}

@media (min-width: 768px) {
  .excerpt-member {
    display: flex;
    flex-direction: column;
  }

  .excerpt-member .excerpt-member__footer {
    margin-top: auto;
  }
}

.spm-archive .spm-archive__inner {
  margin-top: 0;
  padding-bottom: 40px;
}

.spm-archive .spm-archive__subheading {
  margin-bottom: 20px;
}

.spm-archive .spm-archive__posts {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.spm-archive .spm-archive__posts--resource {
  row-gap: 20px;
}

@media (min-width: 768px) {
  .spm-archive .spm-archive__inner {
    padding-bottom: 70px;
  }

  .spm-archive .spm-archive__subheading {
    margin-bottom: 30px;
  }

  .spm-archive .spm-archive__posts--member {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spm-archive .spm-archive__posts--post {
    display: grid;
    column-gap: 40px;
    row-gap: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .spm-archive .spm-archive__subheading {
    margin-bottom: 40px;
  }

  .spm-archive .spm-archive__posts--member {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .spm-archive .spm-archive__posts--resource {
    display: grid;
    column-gap: 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spm-archive .spm-archive__posts--post {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.spm-archive--post .spm-archive__inner {
  padding-bottom: 30px;
  padding-top: 40px;
}

@media (min-width: 768px) {
  .spm-archive--post .spm-archive__inner {
    padding-bottom: 40px;
    padding-top: 70px;
  }
}

@media (min-width: 992px) {
  .spm-archive--post .spm-archive__inner {
    padding-bottom: 60px;
  }
}

.header--team {
  text-align: center;
}

.header--team .header__excerpt,
.header--team .header__image-wrap {
  border: 0;
  padding: 0;
}

.header--team .header__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.header--team .header__position {
  font-family: var(--wp--preset--font-family--raleway);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
}

.header--team .header__email {
  font-size: 1.3125rem;
  line-height: 1.4761904762;
}

.header--team .header__image-wrap {
  position: relative;
  margin-top: 30px;
}

.header--team .header__image-wrap::after {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--wp--preset--color--background);
  border-radius: 15px 15px 0 0;
  content: "";
  display: block;
  height: 75%;
  width: 100%;
}

.header--team .header__image {
  position: relative;
  z-index: 1;
  width: 100%;
}

.header--team .header__image {
  border-radius: 15px;
}

.header--team .header__image--default {
  transition: opacity 0.2s ease-in-out;
}

.header--team .header__image-wrap:hover .header__image--default {
  opacity: 0;
}

.header--team .header__image--hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

.header--team .header__image-wrap:hover .header__image--hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .header--team .header__position {
    font-size: 2.5rem;
  }

  .header--team .header__email {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .header--team .header__image-wrap {
    margin-top: 35px;
  }
}

@media (min-width: 992px) {
  .header--team {
    text-align: left;
  }

  .header--team .header__content {
    position: relative;
    border-radius: 0 5px 0 0;
    border-top: 3px solid var(--variant-outline);
    border-right: 3px solid var(--variant-outline);
    margin-top: -15px;
    padding-top: 20px;
    padding-right: 20px;
  }

  .header--team .header__content::after {
    position: absolute;
    top: 100%;
    right: -3px;
    background-color: var(--variant-outline);
    content: "";
    display: block;
    height: 100px;
    width: 3px;
  }

  .header--team .header__row {
    align-items: center;
  }

  .header--team .header__image-wrap {
    margin-top: 0;
  }

  .header--team .header__excerpt {
    height: 100%;
    margin-top: 0;
  }
}

.header--resource {
  text-align: center;
}

.header--resource .header__excerpt,
.header--resource .header__image-wrap {
  border: 0;
  padding: 0;
}

.header--resource .header__fields {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  gap: 5px;
  margin-top: 20px;
  text-transform: none;
}

.header--resource .header__slash {
  display: none;
}

.header--resource .header__image-wrap {
  margin-top: 30px;
}

.header--resource .header__image {
  border-radius: 100%;
}

@media (min-width: 768px) {
  .header--resource .header__fields {
    flex-direction: row;
    gap: 4px;
    justify-content: center;
    margin-top: 15px;
  }

  .header--resource .header__slash {
    color: var(--wp--preset--color--background);
    display: block;
  }

  .header--resource .header__image-wrap {
    margin-top: 50px;
  }
}

@media (min-width: 992px) {
  .header--resource {
    text-align: left;
  }

  .header--resource .header__content {
    position: relative;
    border-radius: 0 5px 0 0;
    border-top: 3px solid var(--variant-outline);
    border-right: 3px solid var(--variant-outline);
    margin-top: -15px;
    padding-top: 20px;
    padding-right: 20px;
  }

  .header--resource .header__content::after {
    position: absolute;
    top: 100%;
    right: -3px;
    background-color: var(--variant-outline);
    content: "";
    display: block;
    height: 100px;
    width: 3px;
  }

  .header--resource .header__row {
    align-items: center;
  }

  .header--resource .header__image-wrap {
    margin-top: 0;
  }

  .header--resource .header__excerpt {
    height: 100%;
    margin-top: 0;
  }

  .header--resource .header__fields {
    justify-content: flex-start;
  }
}

.breadcrumbs {
  font-weight: 700;
  margin-bottom: 30px;
  text-transform: none;
}

.breadcrumbs a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

@media (min-width: 768px) {
  .breadcrumbs {
    margin-bottom: 40px;
  }
}

@media (min-width: 992px) {
  .breadcrumbs {
    position: relative;
    z-index: 1;
    background-color: var(--variant-bg);
    display: inline-block;
    margin-bottom: 0;
    padding-right: 10px;
  }
}

/*
 * Staff social links (single-staff.php sidebar)
 */

.staff-social {
  display: flex;
  flex-direction: column;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.staff-social .staff-social__link {
  align-items: center;
  color: var(--wp--preset--color--foreground);
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}

.staff-social .staff-social__link:hover,
.staff-social .staff-social__link:focus-visible {
  color: var(--wp--preset--color--eggplant);
}

.staff-social .staff-social__icon-wrap {
  display: block;
  flex-shrink: 0;
  height: 57px;
  position: relative;
  width: 57px;
}

.staff-social .staff-social__icon {
  height: 57px;
  left: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.2s ease;
  width: 57px;
}

.staff-social .staff-social__icon--hover {
  opacity: 0;
}

.staff-social .staff-social__link:hover .staff-social__icon--default,
.staff-social .staff-social__link:focus-visible .staff-social__icon--default {
  opacity: 0;
}

.staff-social .staff-social__link:hover .staff-social__icon--hover,
.staff-social .staff-social__link:focus-visible .staff-social__icon--hover {
  opacity: 1;
}

/*
 * Staff "Contact me for..." card (single-staff.php sidebar)
 */

.staff-contact-for {
  background-color: var(--wp--preset--color--gold);
  border-radius: 15px;
  padding: 30px 20px;
}

.spm-single .spm-single__sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .spm-single .spm-single__sidebar {
    margin-top: 40px;
    padding-bottom: 60px;
  }
}

@media (min-width: 992px) {
  .spm-single .spm-single__copy,
  .spm-single .spm-single__sidebar {
    margin-top: 0;
    padding-bottom: 70px;
  }
}

/*
 * Shared "content sidebar" component.
 *
 * Used by blocks/single-member-content, blocks/single-resource-content, and
 * the tribe/events/v2/default-template.php single event template. This is
 * the base layout + the bordered-item treatment; each usage below adds its
 * own spacing modifier (--member/--resource/--event) because the sidebar's
 * position relative to the content column differs per template, so it
 * needs spacing on a different side when columns stack on mobile/tablet.
 * Block-specific item variants (e.g. the member block's icon fields row)
 * stay in that block's own style.css.
 */

.spm-content-sidebar {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.spm-content-sidebar__heading {
  margin-bottom: 0;
}

.spm-content-sidebar__item--bordered {
  border-left: 4px solid var(--wp--preset--color--gold);
  padding: 0 0 0 12px;
}

@media (min-width: 768px) {
  .spm-content-sidebar {
    row-gap: 30px;
  }
}

/*
 * Single event content sidebar (tribe/events/v2/default-template.php)
 * Sidebar sits before the content column, so it needs bottom spacing on
 * mobile/tablet where the columns stack.
 */

.spm-content-sidebar--event {
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .spm-content-sidebar--event {
    margin-bottom: 50px;
  }
}

@media (min-width: 992px) {
  .spm-content-sidebar--event {
    margin-bottom: 0;
  }
}

/*
 * Single event content (tribe/events/v2/default-template.php)
 */

.spm-single-event-content {
  padding-bottom: 40px;
}

.spm-single-event-content__copy {
  border-bottom: 2px solid var(--wp--preset--color--neutral);
  margin-bottom: 50px;
  padding-bottom: 50px;
}

.spm-single-event-content__map {
  border-radius: 15px;
  overflow: hidden;
}

.spm-single-event-content__map iframe {
  display: block;
  width: 100%;
}

@media (min-width: 768px) {
  .spm-single-event-content {
    padding-bottom: 15px;
  }
}

@media (min-width: 992px) {
  .spm-single-event-content {
    padding-bottom: 60px;
  }
}

.header-member {
  padding: 30px 0;
}

.header-member .header-member__image {
  border-radius: 15px;
  margin-bottom: 30px;
}

.header-member .breadcrumbs {
  margin-bottom: 15px;
}

@media (min-width: 768px) {
  .header-member {
    padding: 60px 0 40px;
  }

  .header-member .header-member__image {
    margin-bottom: 40px;
  }

  .header-member .breadcrumbs {
    margin-bottom: 20px;
  }
}

@media (min-width: 992px) {
  .header-member {
    padding: 40px 0;
  }

  .header-member .header-member__row {
    align-items: flex-end;
  }

  .header-member .header-member__image {
    margin-bottom: 0;
  }
}

.back {
  margin-top: 30px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .back {
    margin-bottom: 50px;
  }
}

@media (min-width: 992px) {
  .back {
    margin-bottom: 60px;
  }
}

.header-post {
  margin-bottom: 30px;
  padding: 30px 0;
  text-align: center;
}

.header-post .breadcrumbs {
  margin-bottom: 30px;
}

.header-post .header-post__heading {
  margin-bottom: 20px;
}

.header-post .header-post__date {
  font-style: normal;
  font-weight: 400;
  text-transform: none;
}

.header-post .header-post__image {
  border-radius: 15px;
  margin-top: 20px;
}

@media (min-width: 768px) {
  .header-post {
    padding-top: 50px;
    padding-bottom: 0;
    margin-bottom: calc(95px + 40px);
  }

  .header-post--without-image {
    padding-bottom: 50px;
    margin-bottom: 40px;
  }

  .header-post .breadcrumbs {
    margin-bottom: 40px;
  }

  .header-post .header-post__heading {
    margin-bottom: 30px;
  }

  .header-post .header-post__image {
    margin-top: 30px;
    margin-bottom: -95px;
  }
}

@media (min-width: 992px) {
  .header-post {
    margin-bottom: calc(65px + 40px);
  }

  .header-post--without-image {
    margin-bottom: 40px;
  }

  .header-post .header-post__image {
    margin-bottom: -65px;
  }
}

.header-search {
  margin-bottom: 30px;
  padding: 30px 0;
  text-align: center;
}

@media (min-width: 768px) {
  .header-search {
    margin-bottom: 40px;
    padding: 50px 0;
  }
}

.header-page {
  padding: 30px 0;
}

.header-page--with-image {
  position: relative;
  padding-bottom: 0 !important;
}

.header-page--with-image::after {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--wp--preset--color--background);
  content: "";
  display: block;
  height: 60px;
  width: 100%;
}

.header-page .header-page__content {
  position: relative;
  margin-top: 15px;
  padding: 30px 20px 0 0;
}

.header-page .header-page__content::after {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border-color: var(--variant-outline);
  border-radius: 0 5px 0 0;
  border-style: solid;
  border-width: 3px 3px 0 0;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
}

.header-page--with-image .header-page__image {
  position: relative;
  z-index: 1;
  border-radius: 15px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .header-page {
    padding: 60px 0;
  }

  .header-page--with-image {
    position: relative;
  }

  .header-page--with-image::after {
    height: 100px;
  }

  .header-page .header-page__content {
    margin-top: 20px;
    padding-right: 30px;
  }

  .header-page--with-image .header-page__image {
    margin-top: 40px;
  }
}

@media (min-width: 992px) {
  .header-page {
    padding: 40px 0;
  }

  .header-page--with-image {
    margin-bottom: 50px;
  }

  .header-page--with-image::after {
    display: none;
  }

  .header-page .header-page__content {
    margin-top: -34px;
    padding: 70px 40px 0 0;
  }

  .header-page--with-image .header-page__content::after {
    height: calc(100% + 50px);
  }

  .header-page .header-page__heading {
    position: relative;
    z-index: 2;
    background-color: var(--variant-bg);
    display: inline-block;
    padding-right: 20px;
  }

  .header-page--with-image .header-page__excerpt {
    padding: 40px 0;
  }

  .header-page--with-image .header-page__image {
    height: calc(100% + 50px);
    margin-top: 0;
    object-fit: cover;
  }
}
