/* Header and Nav */

:root {
  --app-height: 100vh;
}

* {
  box-sizing: inherit;
  scroll-margin-top: 8em;
}

.grecaptcha-badge {
  display: none;
}

html {
  height: 100%;
  box-sizing: border-box;
}

body {
  height: 100%;
}

blockquote {
  background-color: #eeeeee;
  border: solid #eeeeee;
  border-radius: .5em;
  padding-left: .5em;
  padding-right: .5em;
  margin-block-start: 0;
  margin-block-end: .5em;
  margin-inline-start: .5em;
  margin-inline-end: .5em;
}

.wrapper {
  display: grid;
  min-height: 100%;
  min-width: 100vw;
  grid-template-rows: auto min-content 5fr auto;
}

.header {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background-color: rgb(131, 189, 86);
  height: 6em;
  font-family: "Big Shoulders Display";
  position: sticky;
  position: -webkit-sticky;
  z-index: 100;
  top: 0;
}

.img-header {
  display: inline-block;
  float: left;
  height: 5em;
  padding: 1em;
}

.img-header img {
  height: 4em;
}

.nav-header {
  float: left;
  overflow: hidden;
}

.nav-header img:first-child {
  display: inline-block;
  height: 5em;
  padding-left: 2em;
  padding-top: 2em;
  padding-bottom: 2em;
}

.nav-header ul {
  padding: 0;
  display: inline-block;
}

.nav-header ul:first-child {
  position: absolute;
  bottom: 0;
}

.nav-header li {
  list-style-type: none;
  padding: .75em;
  margin: 0;
  text-align: center;
  display: inline-block;
  float: left;
  position: relative;
}

.nav-header a {
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.55em;
  text-transform: uppercase;
  text-wrap: nowrap;
}

.nav-header li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1;
  background-color: #d8107d;
}

@media only screen and (max-width: 920px) {
  .nav-header ul li:last-child ul {
    left: 100%;
    transform: translate(-100%);
  }
}

.nav-header li ul li {
  float: none;
  display: list-item;
}

.nav-header li ul li:first-child {
  padding-top: .75em;
}

.nav-header li:hover {
  background-color: #d8107d;
}

.nav-header li:has(ul)::after {
  content: '⌄';
  position: relative;
  bottom: .6em;
  color: white;
}

.nav-header li:hover ul {
  display: block;
  background-color: rgb(131, 189, 86);
}

.nav-header li ul:hover {
  display: block;
  background-color: rgb(131, 189, 86);
}

.nav-header li ul li {
    font-weight: 700;
}

.nav-header li ul li:hover {
  background-color: #d8107d;
}

.nav-header li:has(a.current_branch) {
  background-color: #d8107d;
}

.nav-header li ul li:has(a.current_item) {
  background-color: #d8107d;
}

.mobile-nav-header {
  display: none;
  float: right;
  padding: 0;
  text-transform: uppercase;
  z-index: 100;
  height: --app-height;
}

@media only screen and (max-width: 893px) {

  * {
    scroll-margin-top: 5em;
  }

  .header {
    height: 4em;
  }

  .img-header {
    height: 3em;
  }

  .img-header img {
    height: 2em;
  }

  .nav-header img:first-child {
    height: 1em;
    padding-left: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
  }

  .nav-header ul { display: none; }

  .mobile-nav-header {
    display: block;
  }

  .mobile-nav-header ul {
    list-style-type: none;
  }

  .mobile-nav-header a {
    color: white;
    text-decoration: none;
    font-size: 1.65em;
    font-weight: 800;
    display: block;
    padding-left: .5em;
    padding-top: .125em;
    padding-bottom: .125em;
  }

  #menu-icon {
    position: absolute;
    top: .75em;
    right: .75em;
    padding: .75em;
    margin: -.75em;
  }

  #menu-icon ~ ul {
    display: none;
  }

  @keyframes detect-scroll {
    from,
    to {
      --can-scroll: ;
    }
  }

  #mobileNavTree {
    display: none;
    position: absolute;
    right: 0em;
    top: 4em;
    z-index: 5;
    overflow-y: scroll;
    height: calc(var(--app-height) - 4em);
    max-height: calc(var(--app-height) - 4em);
    background: rgb(131, 189, 86);
    overscroll-behavior: contain;
  }

  .mobile-nav-header ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 1em;
    display: flex;
    flex-direction: column;
  }

  .mobile-nav-header ul li ul li {
    position: relative;
    left: -1em;
  }

  .mobile-nav-header ul li ul li a {
    font-weight: 700;
    padding-left: 1em;
  }

  .mobile-nav-header li {
    width: 14em;
    text-align: left;
    background-color: rgb(131, 189, 86);
  }

  .mobile-nav-header li ul {
    background-color: #d8107d;
    z-index: 1;
  }

  .mobile-nav-header li:hover {
    background-color: #d8107d;
  }

  .mobile-nav-header li:has(a.current_branch) {
    background-color: #d8107d;
  }

  .mobile-nav-header ul li ul li:has(a.current_item) {
    background-color: #d8107d;
  }

  #mobileNavTree ul li {
    order: 2;
  }
  #mobileNavTree ul li:last-child {
    order: 1;
  }
  #mobileNavTree > ul li ul li {
    order: 2 !important;
  }
}

/* Messages */
.messages {
  background: #d8107d;
  margin: 0 auto;
  width: 100%;
  color: #E8E8E8;
  text-align: center;
}

.messages .alert {
  margin: 0 auto;
  padding: .5em;
  display: block;
}

.messages .alert span {
  margin: 0 auto;
}

.messages .alert-close {
  float: left;
}

/* Page Content */

.content-container {
  width: 100%;
  flex-grow: 1;
  padding-left: 2.5vw;
  padding-right: 2.5vw;
  padding-bottom: 1em;
}

/* Footer */
.footer {
  margin: 0 auto;
  text-align: center;
  background-color: black;
  color: white;
  width: 100%;
}

.footer h3 {
  margin-bottom: .5em;
  margin-top: 1rem;
}

.footer {
  input[type=text],input[type=email] {
    font-size: 1em;
    font-family: Ubuntu;
    margin: auto;
    width: 100%;
    padding: .25em;
  }
}

.footer .social-icon i {
  color: white;
  font-size: 1.6em;
  padding: .3em;
  border-radius: .2em;
}

.footer .social-icon {
  text-decoration: none;
}

.footer .footer-row {
  padding: 1em;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding-bottom: 1em;
}

.footer .footer-row .footer-column {
  min-width: 14em;
  max-width: 18em;
  width: 25%;
  align-content: center;
  text-align: center;
}

.footer .button-holder {
  padding-top: 1.5em;
  padding-bottom: 0em;
}

.footer form {
  vertical-align: middle;
  margin: 0;
  padding: 0;
  line-height: 1.25rem;
}

.footer form input {
  width: 80%;
  max-width: 15rem;
  padding: .7rem !important;
  border-radius: .5rem;
  font-size: 1.2rem !important;
  margin-bottom: .25rem;
  margin-right: 1rem;
}

.footer form p+p {
  margin-top: .5em;
}

.footer button {
  font-size: 1.75rem;
  padding: .5rem 2rem;
}

.footer-column {
  margin-left: 2em;
  margin-right: 2em;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer .credits {
  padding: 1em;
  background-color: rgb(131, 189, 86);
  color: white;
}
.footer .credits .shoutout {
  a,a:visited {
    color: white;
  }
}
.footer .credits .shoutout {
  font-size: smaller;
}
.footer .copyright {
  margin-top: .5em;
  display: block;
}

.footer {
  .gcaptcha-disclaimer {
    width: 100%;
    padding-left: 1em;
    padding-right: 1em;
    color: lightgrey;
    font-size: smaller;
    padding-top: 1em;
    padding-bottom: 0;
    margin-top: 1rem;

    a,a:visited {
      color: lightgrey;
    }
  }
}

/* Forms */

form {
  padding: 1em;
}
.form-container {
  width: 90%;
  max-width: 40rem;
  margin: 0 auto;
  border-radius: 5px;
  border-radius: 1em;
  border: 1px solid black;
  padding: 1em;
}
.form-header {
  width: 95%;
  max-width: 40rem;
  margin: auto;
  border-radius: 5px;
  margin-bottom: 1em;
  text-align: center;
}
.form-header img {
  padding: 1em;
  width: 50%;
}
.form-footer {
  font-size: smaller;
  color: grey;
}
form label {
  width: 100%;
  margin-bottom: .25em;
  margin-right: 1em;
  display: inline-block;
  text-align: left;
}
form textarea {
  font-size: 1em;
  border: 1px solid black;
  border-radius: .5em;
  padding: .5em;
  width: 100%;
}
form label[for=id_captcha] {
  display: none;
}
form input {
  font-size: 1em;
  border: 1px solid black;
  border-radius: .5em;
  padding: .5em;
  width: 100%;
}
form .helptext {
  padding-top: .5em;
  display: block;
  font-size: smaller;
  color: #404040;
  text-align: left;
}
form input[type=checkbox] + .helptext {
  display: inline-block;
  padding-left: .5em;
  width: calc(100% - 3em);
}
form label + input[type=checkbox] {
  float: left;
}
form input[type=radio] + label {
  display: inline-block;
  padding-left: .5em;
  width: calc(100% - 5em);
}
form .errorlist {
  list-style: none;
  color: red;
  padding-inline-start: 1em;
  padding-bottom: .5em;
}
form p {
  margin-block-start: 0em;
  margin-block-end: 0em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  text-align: center;
}
form p + p {
  margin-top: 1em;
}
form ul {
  font-size: smaller;
  margin-block-start: .5em;
  margin-block-end: 0em;
}
form .g-recaptcha:not(button) {
  padding-bottom: 0em;
}
form input[type=checkbox], select, input[type=radio] {
  zoom: 1.5;
  display: inline-block;
  text-align: left;
}
form select {
  width: unset;
  display: block;
}

.project-application code {
    white-space: pre-wrap;
}

form.application-form p {
  padding-top: .5em;
}
form.application-form label {
  width: 100%;
  float: unset;
  font-weight: 500;
  margin-bottom: .5em;
}

form.application-form input {
  width: 100%;
  max-width: unset;
}

form.application-form textarea {
  width: 100%;
  max-width: unset;
}

form input[type=checkbox], input[type=radio] {
  width: auto;
}

form.application-form .prefilled {
  display: block;
  text-align: left;
  padding: .5em;
  background-color: #dddddd;
  padding: .25em;
  border-radius: .25em;
}

form.application-form p+p {
  margin-top: .5em;
}

form.application-form h2 {
  margin-top: 1em;
}
form.application-form h2:first-of-type {
  margin-top: 0;
}

form.application-form .errorlist {
  list-style: none;
  color: red;
  padding-inline-start: 1em;
  padding-bottom: .5em;
}

form.application-form label.required::after {
  content: ' *';
}

form.application-form label input {
  display: inline;
  margin-right: .5em;
}
form.application-form label.has(input) {
  display: inline;
}
form.application-form #id_teams {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 768px) {
  form.application-form #id_teams {
    grid-template-columns: 1fr 1fr;
  }
}

form.application-form .form-errors {
  text-align: center;
}

.button-holder {
  text-align: center;
  padding: 1em;
}

/* CSS */
.submit-button, .secondary-button {
  appearance: button;
  background-color: rgb(131, 189, 86);
  background-image: none;
  border: none;
  border-radius: .5em;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 2em;
  font-family: "Big Shoulders Display";
  font-weight: 700;
  line-height: 1;
  margin: 0 5px 10px 0;
  overflow: visible;
  padding: 15px 40px;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  transition: all 0.3s ease-in-out;
}

.submit-button:disabled, .submit-button[disabled],
.secondary-button:disabled, .secondary-button[disabled] {
  background-color: darkgrey;
}

.submit-button:hover, .secondary-button:hover {
  transform: scale(1.05);
}

.submit-button:disabled:hover, .submit-button[disabled]:hover
.secondary-button:disabled:hover, .secondary-button[disabled]:hover {
  transform: unset;
}

.secondary-button {
  background-color: #c1c1c1;
}

@media (min-width: 768px) {
  .submit-button, .secondary-button {
  }
}

@media screen and (max-width: 40rem) {
  .submit-button, .secondary-button {
    font-size: 1.5em;
  }
}

@media screen and (max-width: 20rem) {
  .submit-button, .secondary-button {
    font-size: 1.25em;
  }
}

body {
  font-family: "Ubuntu";
  margin: 0;
  width: 100vw;
  height: max-content;
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  line-height: 1.25;
}

.table-container {
  width: 100%;
}
.table-container table {
    margin: 0 auto;
    border-collapse: collapse;
    font-size: 1rem;
    text-align: left;
    min-width: 35em;
    table-layout:auto;
    width:95%;
}
@media screen and (max-width: 40rem) {
  .table-container table {
    font-size: .9rem;
    min-width: 80vw;
  }
}
.table-container th {
  background-color: rgb(131, 189, 86);
  color: #ffffff;
  border-bottom: 1px solid rgb(131, 189, 86);
}
.table-container th,
.table-container td {
  padding: .25em .5em;
  text-align: center;
}
.table-container tr:first-of-type th:first-child {
  border-top-left-radius: .5em;
}
.table-container tr:first-of-type th:last-child {
  border-top-right-radius: .5em;
}
.table-container tr:last-of-type th:first-child {
  border-bottom-left-radius: .5em;
  border-bottom: none;
}
.table-container tr:last-of-type:has(th) {
  border-bottom: none !important;
}

.table-container tbody tr:first-of-type td:last-child {
  border-top: 1px solid #dddddd;
}
.table-container tbody tr:last-of-type td:last-child {
  border-bottom: 1px solid #dddddd;
}

.table-container tbody tr {
  border-bottom: 1px solid #dddddd;
}
.table-container tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}
.table-container tbody tr:last-of-type {
  border-bottom: 2px solid rgb(131, 189, 86);
}
.table-container .smol-button {
  display: inline-block;
  color: white;
  border: none;
  padding: .15em;
  background-color: grey;
  border-radius: .15em;
  text-decoration: none;
  margin: .2em;
}

.copyable {
  margin-right: .5em;
  padding: .5em;
}
.copyable + p {
  display: inline;
}

.campaign-content-container {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 1em;
}

.campaign-container {
  width: 100%;
  max-width: 60em;
  margin: 0 auto;
}

#action {
  scroll-margin-top: 14em;
}

.campaign-header {
  width: 100vw;
  overflow: hidden;
  position: relative;
  margin-bottom: 1em;
  margin-left: 50%;
  text-align: center;
  transform: translateX(-50%);
}

.campaign-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(216,16,125,0.75);
  z-index: -1;
}

.campaign-header-img {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.campaign-title {
  margin-left: auto;
  margin-right: auto;
  max-width: 60em;
  width: 100%;
}

.campaign-header h1 {
  padding-top: 2em !important;
  margin-bottom: 2em;
  color: white;
  font-size: 3em;
  padding-left: 1em;
  padding-right: 1em;
  opacity: 1;
  z-index: 2;
  line-height: 100%;
}

@media only screen and (max-width: 600px) {
  .campaign-header h1 {
    font-size: 1.75em;
  }
}

.campaigns-container {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  flex-wrap: wrap;
  margin-top: 1em;
}

.campaign-card {
  flex: 1 1 18em;
  max-width: 30em;
  padding: 1em;
  border: 1px solid black;
  border-radius: 1em;
  margin-bottom: 1em;
  margin-left: .5em;
  margin-right: .5em;
}

.campaign-card a {
  color: black;
  text-decoration: none;
}

.campaign-card img {
  width: 100%;
}

.campaign-content, img {
  max-width: 100%;
}

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

.event-qr-container {
  text-align: center;
}

.event-signin-qr-code {
  max-width: 128px;
  width: 75vw;
}

.calendar-subscribe {
  margin-top: 1em;
  text-align: center;
}
.calendar-share {
  border-radius: .5em;
  padding: .25em .5em;
  background-color: rgb(131, 189, 86);
  display: inline-block;
  margin: .25em auto;
}
.copy-this button {
  color: white;
  border-radius: .5em;
  padding: .25em .5em;
  background-color: rgb(131, 189, 86);
  display: inline-block;
  margin: .25em auto;
}
.calendar-share a {
  text-decoration: none;
  color: white;
}

.progress-bar-container {
  width: 90%;
  margin: 0 auto 2em;
  overflow: hidden;
}

.progress-bar {
  border: 1px solid black;
  border-radius: 1em;
  height: 2em;
  overflow: hidden;
}

.progress-bar-fill {
  background-color: rgb(131, 189, 86);
  height: 100%;
  border-radius: 1em;
}

.progress-goal {
  margin-top: .5em;
  float: right;
}

.petition-letter {
  border: 1px solid lightgrey;
  border-radius: 1em;
  padding-left: 1em;
  padding-right: 1em;
  background-color: #F8F8F8;
}

.signature-card {
  border: 1px solid grey;
  border-radius: 1em;
  background-color: #eeeeee;
}

.signature-card footer {
  font-size: smaller;
}

.signature-card + .signature-card {
  margin-top: 1em;
}

.signature-card:last-child {
  margin-bottom: 1em;
}

.petition-preview-email table {
  border-radius: 1em;
  border: 1px solid black;
  margin-left: 0;
  margin-right: 0;
  padding: 1em;
  width: 100%;
  background: repeating-linear-gradient(
    45deg,
    #F8F8F8,
    #F8F8F8 10px,
    #FFFFFF 10px,
    #FFFFFF 20px
  );
}

@media only screen and (max-width: 600px) {
  .petition-preview-email table {
    font-size: .8em;
  }
}


.petition-preview-email .user-input {
  background: rgba(216,16,125,.25);
}

.fade-transition.htmx-swapping {
  opacity: 0;
  transition: opacity 1s ease-out;
  -webkit-transition: opacity 1s ease-out;
  -webkit-transition-timing-function: ease;
  -webkit-transition-duration: 1s;
  -webkit-transition-property: opacity;
}


.release-text {
  font-family: monospace;
  font-size: 1.25em;
  text-align: justify;
  line-height: 1.5em;
  padding: 1em;
  border-radius: 1em;
  border: 1px solid black;
  background-color: #efefef;
}

.event-nav-top {
  margin-top: 1em;
}

.event-month {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 1em;
}

.event-month-month {
  flex-grow: 0;
  font-size: 1.2em;
  color: #9f9f9f;
}

.event-month-divider {
  flex-grow: 1;
  height: 1px;
  background-color: #9f9f9f9f;
  margin: 1em;
}

.event-event {
  display: flex;
  flex-direction: row;
  margin-top: 1.5em;
  width: 100%;
}

.event-header {
  display: inline-block;
  text-align: center;
  margin-left: 1em;
  margin-right: 1em;
  font-family: monospace;
}

.event-header-box {
}

.event-header-box-day-of-week {
  color: white;
  background-color: black;
  border-radius: .25em .25em 0 0;
  border: 1px solid black;
  padding: .25em .5em .25em .5em;
}

.event-header-box-day-of-month {
  border-radius: 0 0 .25em .25em;
  border: 1px solid black;
  padding: .25em .5em .25em .5em;
}

.event-details {
  display: inline-block;
  width: 100%;
  max-width: 40em;
  margin-left: 1em;
  margin-right: 1em;
  overflow-wrap: anywhere;
}

.event-details .event-date {
  font-size: smaller;
  margin-bottom: .25em;
}

.event-details .event-title {
  font-weight: bold;
  font-size: larger;
  margin-bottom: .25em;
}

.event-details .event-location {
  font-size: smaller;
  margin-bottom: .25em;
}

.event-details .event-cover img {
  width: 100%;
  max-width: 30em;
  border-radius: .5em;
  margin-top: .25em;
}

.event-details .event-banner {
}

.event-details .event-description {
  margin-top: .5em;
  color: #333333;
  font-size: .95em;
}

.pagination {
  max-width: 100%;
  margin-top: 2em;
}

.pagination-nav {
  a:visited,a {
    color: black;
  }
}

.pagination .pagination-nav {
  display: inline-block;
  vertical-align: middle;
}

.pagination .next {
  float: right;

}

/* Maps */

.map-text-label {
  font-size: smaller;
}

#rco_boundaries {
  height: 20rem;
  max-height: 50vh;
  max-width: 100%;
  .leaflet-control-container { display: none; }
}

.rco-container {
  max-width: 768px;
  margin: 0 auto;

  a,a:visited {
    color: blue;
  }
}

#petition_signatures {
  height: 75vh;
  z-index: 0;
}

#lazer_reports {
  height: 75vh;
  z-index: 0;
}

/* CMS */

.homepage-button {
  appearance: button;
  background-color: rgb(131, 189, 86);
  background-image: none;
  border: none;
  border-radius: .5em;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 2em;
  font-family: "Big Shoulders Display";
  font-weight: 700;
  line-height: 1;
  margin: 0 5px 10px 0;
  overflow: visible;
  padding: 15px 40px;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  vertical-align: middle;
  white-space: nowrap;
  transition: all 0.3s ease-in-out;
}

.homepage-button:disabled, .homepage-button[disabled] {
  background-color: darkgrey;
}

.homepage-button:hover {
  transform: scale(1.05);
}

.homepage-button:disabled:hover, .homepage-button[disabled]:hover {
  transform: unset;
}

.homepage-button-pink {
  background-color: rgba(216, 16, 125, 255);
  padding: 24px 40px;
  font-size: 2.3rem;
}

#homepageNewsletterSubmit {
  padding: .75rem 2rem;
}

.homepage-logo-img img {
  max-width: 18rem;
  margin-bottom: 1rem;
}

.homepage-leadout {
  margin: 3rem 1rem;
  text-align: center;
  align-items: center;
}

.homepage-leadout-img img {
  max-width: 6rem;
}

.homepage-actions-container {
  width: 100%;
  margin-top: 2rem;
}

.homepage-leadout-text {
  max-width: 30rem;
  margin: auto;
  margin-top: 1rem;
}

.homepage-leadout-text .title {
  font-family: "Big Shoulders Display";
  font-weight: 900;
  text-transform: uppercase;
  font-size: 2.3rem;
  margin: auto;
  max-width: 22rem;
}

.homepage-leadout-text .text {
  margin-top: 1em;
  font-size: 1.25rem;
  font-weight: 300;
  padding-left: 1em;
  padding-right: 1em;
}

.homepage-action-subscribe {
  margin: auto;
  margin-bottom: 2rem;
}

.homepage-action-subscribe h3 {
  font-family: "Big Shoulders Display";
  font-weight: 700;
  text-transform: uppercase;
  font-size: 2rem;
  margin: auto 1rem;
  padding-bottom: 1rem;
}

.homepage-action-subscribe form {
  vertical-align: middle;
  margin: 0;
  padding: 0;
  line-height: 1.25rem;
}

.homepage-action-subscribe form p {
  display: inline;
}

.homepage-action-subscribe .button-holder {
  display: inline;
  margin: 0;
  padding: 0;
}

.homepage-action-subscribe .button-holder #homepagenewsletter-form-recaptcha {
  display: inline;
}

.homepage-action-join {
  max-width: 30rem;
  margin: auto;
}

.homepage-action-subscribe input {
  width: 80%;
  max-width: 15rem;
  padding: .7rem;
  border-radius: .5rem;
  font-size: 1.25rem;
  margin-bottom: .25rem;
  margin-right: 1rem;
}

.homepage-action-subscribe button {
  font-size: 2rem;
  padding: 15px 20px;
}

.homepage-actions-container {
  display: grid;
  grid-template-columns: 2fr 3fr;
  justify-content: space-evenly;
  align-content: center;
  margin: auto;
  width: 100%;
  margin-bottom: 2em;
  max-width: 60rem;
}

.homepage-actions-container .action-text {
  font-family: "Big Shoulders Display";
  font-weight: 800;
  text-transform: uppercase;
  font-size: 4rem;
  margin: auto;
  margin-bottom: 0;
}

.homepage-action-subscribe .subscribe-text {
  font-family: "Big Shoulders Display";
  font-weight: 800;
  text-transform: uppercase;
  font-size: 2rem;
  margin: auto;
  margin-bottom: 1rem;
}

.button-corral .homepage-button {
  margin-top: .25em;
  margin-left: .25em;
  margin-right: .25em;
}

.homepage-action-subscribe {
  text-align: center;
  align-items: center;
}

.homepage-action-join {
  text-align: center;
  align-items: center;
}

.homepage-body-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  border: black 1px solid;
}

.homepage-body-background {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  z-index: -2;
  object-fit: cover;
}

.homepage-body-background-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: rgba(0, 0, 0, 0.75);
}

.homepage-body-background-overlay-bottom-gradient {
  background: unset;
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 1) 80%, rgba(0, 0, 0, 1) 100%);
}
.homepage-body-background-overlay-top-gradient {
  background: unset;
  background-image: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.75) 8em);
}

.homepage-container {
  color: white;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
}

.homepage-body {
  margin: 0 auto;
  margin-bottom: 4rem;
  max-width: 60rem;
  padding-right: 2em;
  padding-left: 2em;
}

.homepage-body h2 {
  font-family: "Big Shoulders Display";
  font-weight: 900;
  text-transform: uppercase;
  font-size: 4rem;
  line-height: 1;
  margin-block-start: 0;
  padding-top: 0.83em;
}

.homepage-block-card-container {
  display: grid;
  grid-template-columns: 4fr 6fr;
  margin-top: 1em;
}

@media only screen and (max-width: 768px) {
  .homepage-block-card-container {
    grid-template-columns: 1fr;
  }
  .homepage-action-subscribe input {
    margin: auto;
    margin-bottom: .5rem;
    max-width: 18rem;
    display: block;
  }
  .homepage-action-subscribe button {
    padding: 20px 40px;
    margin-top: 1rem;
  }
  .homepage-action-join {
    max-width: 100vw;
    font-size: smaller;
  }
  .action-text {
    font-size: 3.5rem !important;
  }
  .homepage-actions-container {
    grid-template-columns: 1fr;
    margin: unset;
    margin-bottom: 4rem;
  }
  .homepage-leadout-img img {
    display: none;
  }
}

.homepage-block-card-container a {
  text-decoration: none;
  color: white;
}

.block-homepagecard + .block-homepagecard {
  margin-top: 3rem;
}

.homepage-block-card-titles {
  padding-right: 1rem;
}

.homepage-block-card-titles-title {
  font-family: "Big Shoulders Display";
  font-size: 1.75rem;
  padding-bottom: .5rem;
  color: rgb(131, 189, 86);
}

.homepage-block-card-titles-subtitle {
  font-family: "Big Shoulders Display";
  font-weight: 900;
  text-transform: uppercase;
  font-size: 3rem;
  line-height: 1;
}

.homepage-block-card-text {
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.5;
}

.homepage-block-card-text p {
  margin-top: 2.25rem;
}

.block-card-container {
  display: grid;
  column-gap: 1em;
  row-gap: 1em;
  grid-template-columns: 1fr 1fr;
  justify-content: space-between;
}

.block-card {
  margin-top: 2em;
}

.block-card-container-img-right {
  direction: rtl;
}

@media only screen and (max-width: 600px) {
  .block-card-container {
    grid-template-columns: 1fr;
  }
}

.block-card-img {
  width:  100%;
}

@media only screen and (max-width: 600px) {
  .block-card-img {
  }
}

.block-card-img img {
}

.block-card-contents {
  direction: ltr;
}

.block-card-contents-title {
  margin-top: 0;
}

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

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

.block-table .htLeft {
  text-align: left;
}

.block-table .htCenter {
  text-align: center;
}

.block-table .htRight {
  text-align: right;
}

.block-table .htJustify {
  text-align: justify;
}

.block-table .htTop {
  vertical-align: top;
}

.block-table .htMiddle {
  vertical-align: middle;
}

.block-table .htBottom {
  vertical-align: bottom;
}

.block-table table {
    border-collapse: collapse;
    font-size: 1em;
    text-align: left;
    min-width: 35em;
    table-layout:fixed;
}
@media screen and (max-width: 40rem) {
  .block-table table {
    min-width: 80vw;
  }
}
.block-table th {
    background-color: rgb(131, 189, 86);
    color: #ffffff;
}
.block-table th,
.block-table td {
    padding: .25em 1em;
}
.block-table tbody tr {
    border-bottom: 1px solid #dddddd;
}
.block-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}
.block-table tbody tr:last-of-type {
    border-bottom: 2px solid rgb(131, 189, 86);
}

.block-table thead tr:first-of-type th:first-child {
  border-top-left-radius: .5em;
}
.block-table thead tr:first-of-type th:last-child {
  border-top-right-radius: .5em;
}
.block-table tbody tr:last-of-type th:first-child {
  border-bottom-left-radius: .5em;
  border-bottom: none;
}
.block-table tbody tr:last-of-type:has(th) {
  border-bottom: none !important;
}
.block-table tbody tr:first-of-type td:last-child {
  border-top: 1px solid #dddddd;
}
.block-table tr:last-of-type td:last-child {
  border-bottom: 1px solid #dddddd;
}

.blockNewsletterForm {
  max-width: 20em;
  padding: 0;
  margin: auto;
  .button-holder {
    padding-bottom: 0;
    button {
      padding: 10px 40px;
      margin: 0;
      text-transform: none;
    }
  }
}

.cms-content {
  margin: auto;
  max-width: 40em;
  padding-left: 1em;
  padding-right: 1em;
}

.cms-content blockquote {
  padding: 1em;
}

.cms-title > h1:first-of-type {
  margin-top: 1em;
}

.cms-content h2[id]:hover::after {
}

.card-display-description {
  width: 100%;
  text-align: center;
  font-weight: bold;
  font-size: 2em;
}

.card-display-list {
  display: grid;
  gap: 1em;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card-display-card {
  aspect-ratio: 6/4;
  width: 100%;
  height: 100%;
  border: 2px solid black;
}

@media (min-width: 47em) {
  .card-display-card:hover {
    transform: scale(1.5);
    transition: transform .2s;
    transform-origin: top;
  }
}

.email {
  padding: 1em;
  background-color: #eeeeee;
}

.email td {
  vertical-align: top;
  padding: .25em;
}

.email-body {
  border-top: 1px solid grey;
  white-space: pre-line;
}

/* Posts/Blog Styles */

/* Prevent visited link color change for posts and events */
.event-event a:visited,
.event-event a,
.event-title a:visited,
.event-title a,
.event-description a:visited,
.event-description a,
.post-tags a:visited,
.post-tags a {
  color: inherit;
}

.event-description a:hover,
.post-tags a:hover {
  text-decoration: underline;
}

/* Collapsible tag filter */
.tag-filter-dropdown {
  margin: 1rem 0;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  background: #f8f9fa;
}

.tag-filter-dropdown summary {
  padding: 0.5rem 1rem;
  cursor: pointer;
  user-select: none;
  font-size: 0.95rem;
  color: #495057;
}

.tag-filter-dropdown summary:hover {
  background: #e9ecef;
}

.tag-filter-dropdown[open] summary {
  border-bottom: 1px solid #dee2e6;
}

.tag-filter-content {
  padding: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag-filter-link {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: white;
  text-decoration: none;
  color: #333;
  border: 1px solid #dee2e6;
  border-radius: 15px;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.tag-filter-link:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.tag-filter-link.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
  font-weight: bold;
}

.tag-count {
  font-size: 0.85em;
  opacity: 0.7;
}

/* Pagination styles */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.pagination-nav.center {
  flex: 1;
  text-align: center;
}

/* Mobile responsiveness for posts */
@media (max-width: 768px) {
  .tag-filters {
    padding: 0.5rem;
  }

  .tag-filter-link {
    padding: 0.2rem 0.5rem;
    font-size: 0.85rem;
  }

  .pagination {
    flex-direction: column;
    gap: 1rem;
  }
}
