/*
Theme Name: Minnesota Chippewa Tribe
Text Domain: spm
Version: 2023
Description: A block-based theme for the Minnesota Chippewa Tribe website.
Author: Saint Paul Media
Author URI: https://stpaulmedia.com/
*/

:root {
  interpolate-size: allow-keywords;
}

/*
 * Reset
 */

*,
*::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;
}

* {
  margin: 0;
}

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

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

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

/* Style form fields */
input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
input[type="url"],
input[type="file"],
textarea,
select {
  background-color: var(--wp--preset--color--background);
  border: 1px solid var(--wp--preset--color--secondary);
  border-radius: 10px;
  line-height: 1.5;
  padding: 10px;
  width: 100%;
}

select {
  appearance: none;
  background-image: url("assets/img/arrow_filter.svg"),
    linear-gradient(to bottom, #fff 0%, #fff 100%);
  background-position: right 10px top 50%, 0 0;
  background-repeat: no-repeat, repeat;
  background-size: 20px, 100%;
  padding-right: 40px;
}

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

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

/*
 * Typography
 */

address {
  font-style: normal;
}

dl div {
  margin-bottom: 20px;
}

dl div:last-child {
  margin-bottom: 0;
}

dt {
  font-family: var(--wp--preset--font-family--noto-serif);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3333333333;
  margin-bottom: 4px;
}

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

/*
 * Typography tweaks
 */

p {
  line-height: 1.5;
}

.wysiwyg {
  line-height: 1.5;
}

.wysiwyg *:has(+ h2) {
  margin-bottom: 30px;
}

.wysiwyg *:has(+ h3) {
  margin-bottom: 25px;
}

.wysiwyg p:has(+ ol),
.wysiwyg p:has(+ ul) {
  margin-bottom: 15px;
}

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

.wysiwyg ol:has(+ p),
.wysiwyg ul:has(+ p) {
  margin-bottom: 15px;
}

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

.wysiwyg p a,
.wysiwyg li a {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 0.25em;
}

/* Constitution and bylaws orderd lists */

.page-id-101 ol,
.page-id-1105 ol {
  list-style-type: lower-alpha;
}

/*
 * Link effects
 */

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

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

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
  color: var(--wp--preset--color--primary);
}

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

/*
 * 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;
  }
}

/*
 * WP block tweaks
 */

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

/*
 * 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--primary);
  border-radius: 10px;
  color: var(--wp--preset--color--background);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.1111;
  outline-color: var(--wp--preset--color--tertiary);
  padding: 15px 30px;
  text-decoration: none;
  z-index: 99999;
}

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

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

.site-header {
  position: relative;
  z-index: 9999;
  padding: 20px 0; /* total height = 130px */
}

.site-header *:focus {
  outline: none;
}

.site-header *:focus-visible {
  outline: 3px solid var(--wp--preset--color--tertiary);
  outline-offset: 3px;
  transition: none !important;
}

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

.logo {
  max-width: 220px;
}

.logo__link {
  display: inline-block;
}

.logo__link:hover {
  opacity: 0.5;
}

.logo--header {
  max-width: 86px;
}

.logo--footer {
  margin-bottom: 25px;
  max-width: 137px;
}

@media (min-width: 768px) {
  .logo--header {
    max-width: 130px;
  }

  .logo--footer {
    margin-bottom: 0;
    max-width: 100%;
  }
}

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

.menu-header-secondary {
  display: none;
}

@media (min-width: 768px) {
  .site-header .site-header__menu-header-secondary-hamburger {
    align-items: center;
    justify-content: flex-end;
  }

  .menu-header-secondary {
    align-items: center;
    display: flex;
    justify-content: flex-end;
    margin: 0 -15px;
  }

  .menu-header-secondary > li {
    padding: 0 15px;
  }

  .menu-header-secondary > li.menu-item {
    display: none;
  }

  .menu-header-secondary a {
    color: var(--wp--preset--color--background);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.1765;
    text-shadow: 0 0 4px rgba(0, 0, 0, 1);
  }

  .menu-header-secondary a:hover {
    color: var(--wp--preset--color--tertiary);
  }

  .menu-header-secondary li.current-menu-item a,
  .menu-header-secondary li.mega-current-menu-ancestor a,
  .menu-header-secondary li.mega-current-page-ancestor a {
    color: var(--wp--preset--color--background) !important;
    text-decoration: underline;
    text-decoration-color: var(--wp--preset--color--tertiary);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
  }
}

@media (min-width: 992px) {
  .site-header .site-header__row {
    align-items: flex-start;
  }

  .menu-header-secondary {
    margin-bottom: 7px;
  }

  .menu-header-secondary > li.menu-item {
    display: block;
  }
}

.site-content {
  flex: 1;
}

.header {
  position: relative;
  background-color: var(--wp--preset--color--secondary);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--wp--preset--color--background);
  margin-top: -131px;
  padding-top: 225px;
}

.header::after {
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, #000000 0%, #ffffff 100%);
  content: "";
  height: 100%;
  mix-blend-mode: multiply;
  opacity: 0.7;
  width: 100%;
}

.header--without-image::after {
  display: none;
}

.header .header__content {
  position: relative;
  z-index: 1;
  padding: 20px 0;
}

.header .header__content::after {
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  z-index: -1;
  background-color: var(--wp--preset--color--secondary);
  content: "";
  height: 100%;
  margin-right: -50vw;
  margin-left: -50vw;
  max-width: 100vw;
  opacity: 0.85;
  width: 100vw;
}

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

@media (min-width: 768px) {
  .header {
    margin-top: -175px;
    overflow: hidden;
    padding-top: 205px;
    padding-bottom: 30px;
  }

  .header .header__content {
    padding: 20px 25px 20px 0;
  }

  .header .header__content::after {
    left: unset;
    right: unset;
    border-radius: 0 20px 20px 0;
    margin-right: unset;
    margin-left: -100vw;
    max-width: calc(100vw + 100%);
    width: calc(100vw + 100%);
  }
}

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

.site-footer {
  background-color: var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--background);
  font-size: 1.125rem;
  line-height: 1.3333333333;
  padding: 30px 0 15px;
}

.site-footer .site-footer__group {
  margin-bottom: 25px;
}

.site-footer .site-footer__label {
  font-family: var(--wp--preset--font-family--noto-serif);
  font-weight: var(--wp--custom--font-weight--semi-bold);
}

.site-footer .site-footer__label--block {
  display: block;
  margin-bottom: 4px;
}

.menu-footer-primary {
  flex-direction: column;
}

.menu-footer-primary > li + li {
  margin-top: 12px;
}

.site-footer .site-footer__colophon {
  display: block;
  font-size: 0.75rem;
  line-height: 1.25;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .site-footer {
    position: relative;
    background-image: url("assets/img/footer.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .site-footer .site-footer__overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--wp--preset--color--secondary);
    height: 100%;
    mix-blend-mode: multiply;
    opacity: 0.75;
    width: 100%;
  }

  .site-footer .container {
    position: relative;
    z-index: 1;
  }

  .site-footer .site-footer__logo-office {
    align-items: center;
    margin-bottom: 30px;
  }

  .site-footer .site-footer__group--office,
  .site-footer .site-footer__group--mailing {
    margin-bottom: 0;
  }
}

@media (min-width: 992px) {
  .site-footer {
    background-position: top right;
    background-size: 41.66666667%;
  }

  .site-footer .site-footer__overlay {
    right: 0;
    left: unset;
    opacity: 0.25;
    width: 41.66666667%;
  }
}

/*
 * 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: 12px;
}

.block-header .block-header__description {
  font-size: var(--wp--preset--font-size--large);
}

.spm-search {
  background-color: #f4f1ee;
}

.spm-search .spm-search__content {
  padding: 30px 0;
}

@media (min-width: 768px) {
  .spm-search .spm-search__content {
    padding: 50px 0;
  }
}

.breadcrumbs {
  font-size: var(--wp--preset--font-size--small);
  line-height: var(--wp--custom--line-height--heading);
  margin-bottom: 10px;
}

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

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

.result p {
  margin-bottom: 0;
  margin-top: 10px;
}

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

.excerpt--document {
  border-radius: 20px;
}

.excerpt--document,
.excerpt--staff {
  height: 100%;
}

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

.excerpt__subtitle {
  display: block;
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.1;
  margin-bottom: 0.25em;
}

.excerpt__detail,
.spm-single__detail {
  display: block;
}

.excerpt__detail + .excerpt__detail,
.spm-single__detail + .spm-single__detail {
  margin-top: 0.25em;
}

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

.excerpt + .excerpt {
  margin-top: 20px;
}

.member .member__name {
  margin-bottom: 0;
}

.member .member__title,
.member .member__position {
  display: block;
  margin-top: 7px;
}

.member .member__title {
  font-family: var(--wp--preset--font-family--noto-serif);
  font-size: 1.1875rem;
  font-style: italic;
  font-weight: 500;
  line-height: 1.15;
}

.member .member__detail {
  display: block;
  margin-top: 5px;
}

.member .member__detail:first-of-type {
  margin-top: 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;
}

.pagination {
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 1.125rem;
  line-height: 1.6666666667;
  margin: 0 -10px;
}

.pagination > * {
  padding: 0 10px;
}

.pagination .current {
  background-color: var(--wp--preset--color--neutral);
  font-weight: 700;
}

.read-more {
  text-transform: capitalize;
}

.spm-archive--document,
.spm-archive--job_posting {
  background-color: #f4f1ee;
}

.spm-archive__content {
  padding-top: 30px;
  padding-bottom: 30px;
}

.spm-single__content {
  padding-top: 30px;
}

.spm-archive--job_posting .spm-archive__content,
.spm-archive--job_posting .spm-single__content {
  padding-top: 0;
}

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

.spm-archive .row + h2 {
  margin-top: 30px;
}

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

.spm-archive--document .col-lg-4 {
  margin-bottom: 30px;
}

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

.spm-archive .spm-archive__col:last-child {
  margin-bottom: 30px;
}

.spm-single .spm-single__sidebar {
  margin-bottom: 30px;
}

.single-job_posting {
  background-color: #f4f1ee;
}

@media (min-width: 768px) {
  .spm-archive__content {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .spm-single__content {
    padding-top: 50px;
  }

  .spm-archive .row + h2 {
    margin-top: 50px;
  }

  .spm-archive .spm-archive__col {
    margin-bottom: 40px;
  }

  .spm-archive .spm-archive__col:last-child {
    margin-bottom: unset;
  }

  .spm-archive .spm-archive__col:nth-last-of-type(-n + 2) {
    margin-bottom: 0;
  }

  .spm-archive--document .spm-archive__row {
    margin-bottom: -40px;
  }

  .spm-archive--document .col-lg-4 {
    margin-bottom: 40px;
  }
}

@media (min-width: 992px) {
  .spm-archive .spm-archive__col:nth-last-of-type(-n + 2) {
    margin-bottom: unset;
  }

  .spm-archive .spm-archive__col:nth-last-of-type(-n + 3) {
    margin-bottom: unset;
  }

  .spm-single .spm-single__sidebar {
    margin-bottom: 0;
  }
}

.wp-element-button {
  display: inline-block;
}

/*
 * Plugin styles
 */

/*
 * Gravity Forms
 */

.gform_wrapper {
  line-height: 1.5;
}

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

.gfield_label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}

.gfield_required {
  color: #c5003e;
  font-size: 1.125rem;
  line-height: 1.1667;
}

.gfield_description,
.gform-field-label--type-sub {
  display: block;
  font-size: var(--wp--preset--font-size--small);
  font-style: italic;
  line-height: 1.15;
  margin-top: 6px;
  margin-bottom: 6px;
}

.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: 6px;
}

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

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

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

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

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

/* Complex fields */
.ginput_container--name {
  display: flex;
  margin: 0 -10px;
}

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

.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: 6px;
  width: 50%;
}

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

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

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

/* Messages */

.gform_validation_errors,
.gfield_validation_message {
  background-color: var(--wp--preset--color--neutral);
  border-radius: 10px;
  padding: 20px;
}

.gfield_validation_message {
  margin-top: 6px;
}

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

/* Extend .wp-element-button styles to Gravity Forms buttons that can't be changed with hooks */
.add_list_item,
.delete_list_item,
input[type="file"]::file-selector-button {
  background-color: var(--wp--preset--color--primary);
  border-radius: 23px;
  border-width: 0;
  color: var(--wp--preset--color--background);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: var(--wp--custom--font-weight--bold);
  line-height: var(--wp--custom--line-height--button);
  padding-top: 13px;
  padding-right: 25px;
  padding-bottom: 13px;
  padding-left: 25px;
  text-decoration: none;
}

.add_list_item:hover,
.delete_list_item:hover,
input[type="file"]::file-selector-button:hover {
  background-color: var(--wp--preset--color--secondary);
}

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

/*
 * 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;
}

/*
 * Block spacing - outer blocks
 */

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

.spm-blocks > * + .is-narrow,
.spm-blocks > .is-narrow + * {
  margin-top: 15px;
}

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

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

@media (min-width: 768px) {
  .spm-blocks > *:first-child:not(.has-bg),
  .spm-blocks > * + * {
    margin-top: 50px;
  }

  .spm-blocks > * + .is-narrow,
  .spm-blocks > .is-narrow + * {
    margin-top: 20px;
  }

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

/*
 * Block spacing - inner blocks
 */

.spm-inner-blocks-row {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.spm-inner-blocks-row > * + * {
  margin-block-start: 30px;
}

.spm-inner-blocks-list {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.spm-inner-blocks-list > * + * {
  margin-block-start: 20px;
}

@media (min-width: 768px) {
  .spm-inner-blocks-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 -15px;
  }

  .spm-inner-blocks-row > * + * {
    margin-block-start: unset;
  }

  /* Default: 1 item or 5+ items */
  .spm-inner-blocks-row > * {
    flex: 0 1 33.3333%;
    padding: 0 15px;
  }

  .spm-inner-blocks-row > *:not(:nth-child(-n + 3)) {
    margin-block-start: 30px;
  }

  /* Special case: exactly 2 items */
  .spm-inner-blocks-row:has(> :nth-child(2):last-child) > * {
    flex: 0 1 50%;
  }

  /* Special case: exactly 3 items */
  .spm-inner-blocks-row:has(> :nth-child(3):last-child) > * {
    flex: 0 1 50%;
    margin-block-start: unset;
  }

  .spm-inner-blocks-row:has(> :nth-child(3):last-child)
    > *:not(:nth-child(-n + 2)) {
    margin-block-start: 30px;
  }

  /* Special case: exactly 4 items */
  .spm-inner-blocks-row:has(> :nth-child(4):last-child) > * {
    flex: 0 1 50%;
    margin-block-start: unset;
  }

  .spm-inner-blocks-row:has(> :nth-child(4):last-child)
    > *:not(:nth-child(-n + 2)) {
    margin-block-start: 30px;
  }
}

/*
 * Utility classes
 */

h2:not(.mcalc-value),
.bar {
  background-image: linear-gradient(
    to right,
    var(--wp--preset--color--tertiary),
    var(--wp--preset--color--tertiary)
  );
  background-position: bottom left; /* Alignment of bar */
  background-repeat: no-repeat;
  background-size: 50px 5px; /* Size of bar */
  padding-bottom: 10px; /* Space for height of bar (5px) and space between top of bar and bottom of text (5px) */
}

.bar--centered {
  background-position: bottom center !important; /* Alignment of bar */
}

@media (min-width: 768px) {
  :not(h2).bar {
    padding-bottom: 25px; /* Space for height of bar (5px) and space between top of bar and bottom of text (20px) */
  }
}

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

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

.group .group__item {
  background-color: var(--wp--preset--color--background);
  border-radius: 20px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.49);
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 20px 25px;
  text-align: center;
}

.group .group__item--has-image {
  height: calc(100% - 45px);
  margin-top: 45px;
  padding-top: 0;
}

.group .group__item--band {
  cursor: pointer;
}

.group .group__item--has-image.group__item--band {
  height: calc(100% - 65px);
  margin-top: 65px;
}

.group .group__image {
  margin-top: -45px;
  margin-bottom: 20px;
  width: 90px;
}

.group .group__image--logo {
  margin-top: -65px;
  width: 130px;
}

.group .group__heading {
  margin-bottom: 0;
}

.group .group__subheading {
  display: block;
  font-family: var(--wp--preset--font-family--noto-serif);
  font-style: italic;
  line-height: var(--wp--custom--line-height--heading);
  margin-top: 10px;
}

.group .group__copy {
  flex: 1;
  line-height: 1.4;
  margin-top: 15px;
}

.group .group__link {
  margin-top: 20px;
}

.group .group__image-link:focus {
  outline: 0;
}

.group .group__image-link:focus-visible {
  outline: 3px solid var(--wp--preset--color--quaternary);
  outline-offset: 3px;
  transition: none !important;
}

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

.has-bg--taupe {
  background-color: #f4f1ee;
}

.has-bg--blue {
  background-color: var(--wp--preset--color--primary);
}

.has-bg--dark-blue {
  background-color: var(--wp--preset--color--secondary);
}

.has-bg--blue .block-header,
.has-bg--dark-blue .block-header {
  color: var(--wp--preset--color--background);
}

.has-bg--blue .block-header a,
.has-bg--dark-blue .block-header a {
  color: inherit;
}

.has-bg--blue .block-header a:hover,
.has-bg--dark-blue .block-header a:hover {
  opacity: 0.5;
}

.has-bg--blue:not(.has-bg--image) + .has-bg--blue:not(.has-bg--image),
.has-bg--dark-blue + .has-bg--dark-blue,
.has-bg--taupe + .has-bg--taupe {
  padding-top: 0;
}

.has-bg.has-bg--short {
  padding: 20px 0;
}

.text-align-left {
  text-align: left;
}

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

.text-align-right {
  text-align: right;
}

@media (min-width: 768px) {
  .has-bg {
    padding: 50px 0;
  }
}

.link-has-image:hover img {
  opacity: 0.5;
}

.links-blend-in a {
  color: inherit;
  font-weight: inherit;
}

.links-reverse a {
  color: var(--wp--preset--color--background);
  font-weight: var(--wp--custom--font-weight--semi-bold);
  line-height: var(--wp--custom--line-height--heading);
}

.links-reverse a:focus {
  outline-color: var(--wp--preset--color--tertiary);
}

.links-reverse a:hover {
  color: var(--wp--preset--color--tertiary);
}

/*
 * MCT-specific
 */

.site-bands {
  padding: 20px 0;
}

.bands {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -30px;
}

.bands .bands__item {
  flex: 0 1 33.3333%;
  margin-bottom: 25px;
  padding: 0 30px;
}

.bands .bands__item:nth-last-of-type(-n + 3) {
  margin-bottom: 0;
}

.bands .bands__link {
  display: block;
}

.bands .bands__logo {
  width: 100%;
}

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

  .bands {
    margin: 0 -15px;
  }

  .bands .bands__item {
    flex: 0 1 16.66666667%;
    margin-bottom: 0;
    padding: 0 15px;
  }
}

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

  .bands .bands__item {
    padding: 0 30px;
  }
}

.search-form {
  background-color: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--wp--preset--color--background);
}

.search-form .search-field,
.search-form .search-submit {
  appearance: none;
  background: none;
  border: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.15;
  padding: 6px 7px;
  width: unset;
}

.search-form .search-field:focus,
.search-form .search-submit:focus {
  outline-offset: -3px;
}

.search-form .search-field::placeholder {
  color: var(--wp--preset--color--foreground);
}

.search-form .search-submit {
  color: #337e9a;
  cursor: pointer;
  font-weight: 400;
}

.job {
  background-color: var(--wp--preset--color--background);
  border-radius: 20px;
  margin-bottom: 30px;
  padding: 25px 20px;
}

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

.job .job__title {
  margin-bottom: 15px;
}

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

.job .job__button {
  margin-top: 20px;
}

.job .job__button--tablet {
  display: none;
}

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

  .job p {
    margin-bottom: 0;
  }

  .job .job__button--phone {
    display: none;
  }

  .job .job__button--tablet {
    display: inline-block;
  }
}

.excerpt-event {
  display: flex;
  flex-direction: column;
}

.excerpt-event .excerpt-event__date {
  display: block;
  font-size: var(--wp--preset--font-size--medium);
  font-weight: var(--wp--custom--font-weight--bold);
  line-height: 1.1666666667;
  margin-bottom: 4px;
}

.excerpt-event .excerpt-event__time {
  display: block;
  font-size: 1rem;
  font-weight: var(--wp--custom--font-weight--bold);
  line-height: 1.3125;
  margin-bottom: 10px;
}

.excerpt-event .excerpt-event__title {
  margin-bottom: 0;
}

.excerpt-event .excerpt-event__venue {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.3125;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .excerpt-event {
    flex-direction: row;
  }

  .excerpt-event .excerpt-event__date {
    background-color: var(--wp--preset--color--background);
    border-radius: 8px;
    margin-right: 20px;
    margin-bottom: 0;
    padding: 15px;
    text-align: center;
  }

  .excerpt-event .excerpt-event__date__weekday {
    display: block;
    font-size: var(--wp--preset--font-size--small);
    font-weight: var(--wp--custom--font-weight--regular);
    line-height: var(--wp--custom--line-height--heading);
  }

  .excerpt-event .excerpt-event__date__month {
    display: block;
    font-size: 1rem;
    font-weight: var(--wp--custom--font-weight--bold);
    line-height: var(--wp--custom--line-height--heading);
    margin-bottom: 3px;
  }

  .excerpt-event .excerpt-event__date__day {
    display: block;
    font-family: var(--wp--preset--font-family--noto-serif);
    font-weight: var(--wp--custom--font-weight--bold);
    font-size: 2.25rem;
    line-height: 1;
  }

  .excerpt-event .excerpt-event__time {
    margin-bottom: 2px;
  }

  .excerpt-event .excerpt-event__venue {
    margin-top: 2px;
  }
}

/* EVENTS CALENDAR */

/* Landing Page - General */

#site-content {
  --tec-font-size-1: 1rem;
  --tec-font-size-2: 1rem;
  --tec-color-background-messages: #f4f1ee;
}

#site-content .tribe-events .tribe-events-l-container {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 30px;
  padding-right: 15px;
  padding-bottom: 0;
  padding-left: 15px;
}

#site-content
  .tribe-common--breakpoint-medium.tribe-events
  .tribe-events-c-subscribe-dropdown {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  #site-content .tribe-events .tribe-events-l-container {
    padding-top: 50px;
  }
}

@media (min-width: 992px) {
  #site-content .tribe-events .tribe-events-l-container {
    padding-right: 0;
    padding-left: 0;
  }
}

/* Landing Page - Search */

#site-content .tribe-events .tribe-events-c-search__button {
  border-radius: 23px;
}

#site-content .tribe-events .tribe-events-c-search__button:hover {
  background-color: #252f37;
  color: #fff;
}

/* Landing Page - List */

#site-content .tribe-events-calendar-list__event-title {
  font-family: var(--wp--preset--font-family--noto-serif);
  font-size: var(--wp--preset--font-size--xx-large);
  font-weight: var(--wp--custom--font-weight--medium);
  line-height: var(--wp--custom--line-height--heading);
}

#site-content
  .tribe-events-calendar-list__event-title
  .tribe-events-calendar-list__event-title-link {
  border-bottom: 0 !important;
}

#site-content
  .tribe-events-calendar-list__event-title
  .tribe-events-calendar-list__event-title-link:hover {
  color: #337e9a;
}

#site-content .tribe-events-calendar-list__event-venue {
  font-style: italic;
}

#site-content .tribe-events .tribe-events-calendar-list__event-featured-image {
  border-radius: 20px;
}

#site-content .tribe-common a.read-more {
  color: var(--wp--preset--color--primary);
}

#site-content .tribe-common a.read-more:hover {
  color: #252f37;
}

/* Landing Page - Pagination */

#site-content .tribe-events .tribe-events-c-nav__next,
#site-content .tribe-events .tribe-events-c-nav__prev {
  color: #337e9a;
  font-weight: 700;
}

#site-content .tribe-events-c-nav__prev-icon-svg path,
#site-content .tribe-events-c-nav__next-icon-svg path {
  fill: #337e9a;
}

#site-content :disabled .tribe-events-c-nav__prev-icon-svg path,
#site-content :disabled .tribe-events-c-nav__next-icon-svg path {
  fill: var(--tec-color-text-disabled);
}

#site-content .tribe-events .tribe-events-c-nav__next:disabled,
#site-content .tribe-events .tribe-events-c-nav__prev:disabled {
  color: var(--tec-color-text-disabled);
  font-weight: 400;
}

/* Landing Page - Subscribe */

#site-content .tribe-events-c-subscribe-dropdown__button {
  background-color: #337e9a;
  border-radius: 23px;
  color: #fff;
}

#site-content .tribe-events-c-subscribe-dropdown__button:hover {
  background-color: #252f37;
}

/* Single */

#site-content .tribe-events-schedule {
  flex-direction: column;
  margin-top: 0;
}

#site-content .tribe-events-content ol,
#site-content .tribe-events-content p,
#site-content .tribe-events-content ul {
  font-size: var(--wp--preset--font-size--medium);
  line-height: 1.5;
  margin-bottom: 20px;
}

#site-content .tribe-events-event-meta .tribe-events-address {
  line-height: 1.4;
}
