body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background:#184e61;
  color: white;
}

header {
  text-align: center;
  padding: 60px 20px 40px;
}

h1 {
  font-size: 38px;
  margin: 0 0 10px;
}

p {
  opacity: 0.9;
}

section {
  max-width: 90%;
  margin: auto;
  padding: 40px 20px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 25px;
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 20px;
}

.divider-bar {
  height: 2px;
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  margin: 15px 0;
  border-radius: 1px;
}

.carousel-wrapper {
  position: relative;
  padding: 0 40px;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow: visible;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none; 
}

.card {
  flex: 0 0 calc((100% - 40px)/3);
  min-width: 250px;
  scroll-snap-align: start;
  box-sizing: border-box;
}

@media (max-width:900px) {
  .card {
    flex: 0 0 calc((100%-20px)/2);
  }
}

@media (max-width:600px) {
  .card {
    flex: 0 0 100%;
  }
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
}

.card-text {
  display: -webkit-box;
  -webkit-line-clamp: 15;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: "-";
  margin-bottom: 15px;
}

.expand-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.expand-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.25);
  border: none;
  color: white;
  font-size: 22px;
  padding: 10px 16px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.arrow:hover {
  background: rgba(255, 255, 255, 0.4);
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .7);
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 1000;
}

.modal-content {
  max-width: 75vw;
  max-height: 90vh;
  width: 100%;
  padding: 35px;
  position: relative;
  overflow-y: auto;
}

.modal-body .card-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.close {
  position: absolute;
  right: 15px;
  top: 15px;
  font-size: 22px;
  cursor: pointer;
}


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

.red-text {
  color: red
}

#demo-resos {
  background-color: #2b7a4b;
}

#informed-resos {
  background-color: #2a579a;
}

#undemo-resos {
  background-color: #8a1b1a;
}

.demo-reso-glass {
  background: rgba(43, 122, 75, 0.15);
}

.informed-reso-glass {
  background: rgba(42, 87, 154, 0.15);
}

.undemo-reso-glass {
  background: rgb(255 88 85 / 17%);
}

.divider {
  border: none;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.30);
  margin: 5px 0;
  border-radius: 1px;
}

.WTMFY-DEMO {
  color: #00ff66;

}

.WIM-DEMO-TITLE {
  color: rgb(0, 255, 102);
}

.WIM-DEMO {
  background-color: rgba(0, 255, 102, 0.10);
  border-left: 2px solid rgb(0, 255, 102);
  padding-left: 10px;
  margin: 0;
  height: 100%;
}

.WTMFY-INFO {
  color: #92bfff;

}

.WIM-INFO-TITLE {
  color: #92bfff;
}

.WIM-INFO {
  background-color: rgba(0 152 255, 0.10);
  border-left: 2px solid rgb(0 152 255);
  padding-left: 10px;
  margin: 0;
  height: 100%;
}


.cosign {
  color: aqua;
}

.reso-num-demo {
  background-color: rgb(0 93 15);
}

.reso-num-info {
  background-color: #0472d1;
}

.reso-num-undemo {
  background-color: #930000;
}

.WTMFY-UNDEMO {
  color: rgb(255 255 255);

}

.WIM-UNDEMO-TITLE {
  color: rgb(255 255 255);
}

.WIM-UNDEMO {
  background-color: rgb(237 0 0 / 10%);
  border-left: 2px solid rgb(255, 0, 0);
  padding-left: 10px;
  margin: 0;
  height: 100%;
}

.location_link {
  color: white;
}

.button-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.button-link:hover {
  background-color: #0056b3;
}

.prop-text-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}


.prop-text-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}


.signatory-table {
  width: 100%;
  table-layout: fixed;
}

.signatory-li {
  list-style-type: none;
  z-index: 2;
  position: relative;
}

th,
td {
  width: 33.33%;
  text-align: center;
  vertical-align: top;
  border: 1px solid black;
}

.signatory-ul {
  text-align: center;
  display: inline-block;
}


.mug {
  color: black;
  font-weight: bold;
  background-color: #6e8cfc;
  z-index: 0;
}

.bnr-header {
  color: black;
  font-weight: bold;
  background-color: #db3e39;
}

.bnr-body {
  color: black;
  font-weight: bold;
  background-color: white;
}

.ind-header {
  color: black;
  font-weight: bold;
  background-color: white;
}

.ind-body {
  color: black;
  font-weight: bold;
  background-color: white;
}

.mug-logo {
  float: right;
  position: relative;
  z-index: 1;
}

.bnr-logo {
  float: right;
  position: relative;
  z-index: 1;
}

.mobile-header {
  display: none;
}

.section-header {
  border-radius: 1rem;
}

.convention-div {
  max-width: 70%;
  margin: auto;
}

.convention-details {
  max-width: 100%;
}

.convention-img {
  max-width: 100%;
}

.badge{
  color: rgb(43, 43, 43);
  font-weight: bolder;
  padding: 5px;
  text-align: center;
  border-radius: 5px;
    position: relative;
  display: inline-block;
}

.reso-badge{
  background-color: #00a0ab;
}

.bylaws-badge{
  background-color: #ff6145;
}

.sign-badge{
  background-color: #007730;
}

.amend-badge{
  background-color: #ffe600;
}

.badge-ul{
list-style-type: none;
    display: inline-flex;
    width: 100%;
    margin: 0px;
    flex-direction: row;
    padding: 0px;
    flex-wrap: wrap;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
}

.badge-li{
  margin: 0.4rem;
}

.tooltiptext {
  visibility: hidden;
  position: absolute;
  bottom: 125%;
  background: rgba(255, 255, 255);
  color: rgb(0, 0, 0);
  padding: 6px 10px;
  border-radius: 1rem;
  min-width: 10vw;
  max-width: 50vw;
  z-index: 1000;
  left: 0;
}

.badge:hover .tooltiptext {
  visibility: visible;
}

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

  .badge{
    margin:0.2rem;
  }
  .convention-div {
    max-width: 100%;
  }

  .mug-logo {
    float: unset;
  }

  .bnr-logo {
    float: unset;
  }

  .signatory-ul {
    display: block;
  }

  .mobile-header {
    display: block;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }

  thead tr {
    display: none;
    /* hide headers */
  }

  tr {
    margin-bottom: 15px;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }

  td {
    text-align: center;
    position: relative;
    box-sizing: border-box;
  }

  td::before {
    left: 10px;
    width: 45%;
    padding-right: 10px;
    font-weight: bold;
    white-space: normal;
  }
}
img{
    max-width: 100%;
}