:root {
  --btg-campaign-orange-1: #da611e;
  --btg-campaign-green-1: #457d54;
  --btg-campaign-purple-1: #4f2683;
}

/* layout */

.btg-campaign-container {
  position: relative;
  width: 100%;
  max-width: 1380px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: auto;
  margin-right: auto;
}

.btg-campaign-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

@media (min-width: 1024px) {
  .btg-campaign-row {
    margin-left: -20px;
    margin-right: -20px;
  }
}

.btg-campaign-column {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 1024px) {
  .btg-campaign-column {
    flex: 0 0 50%;
    max-width: 50%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

.btg-campaign-cta {
  display: flex;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

/* hero  */

.btg-campaign-hero {
  position: relative;
}

@media (min-width: 1024px) {
  .btg-campaign-hero {
    margin-bottom: -50px;
  }
}

.btg-campaign-hero__image {
  position: relative;
  display: flex;
  height: 290px;
}

.btg-campaign-hero__image::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-image: url('./img/btg-spring-campaign-paint-edge.svg');
  background-position: center top;
  background-repeat: repeat-x;
  background-size: 1920px;
}

.btg-campaign-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1024px) {
  .btg-campaign-hero__image {
    height: 500px;
  }
}

.btg-campaign-hero__logo {
  position: absolute;
  top: 150px;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
}

.btg-campaign-hero__logo__image {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .btg-campaign-hero__logo {
    top: 60px;
  }

  .btg-campaign-hero__logo__image {
    max-width: 750px;
  }
}

.btg-campaign-hero__badge {
  position: absolute;
  top: 28px;
  left: 10px;
  width: 116px;
}

@media (min-width: 1024px) {
  .btg-campaign-hero__badge {
    top: 60px;
    left: calc(50% - (1440px / 2));
    width: 220px;
  }
}

/* content */

.btg-campaign__heading {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
  color: var(--btg-campaign-green-1);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .btg-campaign__heading {
    font-size: 48px;
  }
}

.btg-campaign__heading + .btg-campaign__text {
  max-width: 1000px;
  margin: 0 auto 40px;
  text-align: center;
}

.btg-campaign__text p,
.btg-campaign__text ol,
.btg-campaign__text ul {
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px;
  line-height: 1.3;
  color: #303030 !important;
  margin-bottom: 1rem !important;
}

.btg-campaign__text ol,
.btg-campaign__text ul {
  margin-left: 1.5rem;
}

.btg-campaign__text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .btg-campaign__text p,
  .btg-campaign__text ol,
  .btg-campaign__text ul {
    font-size: 20px;
  }
}

.btg-campaign__vote {
  padding: 24px 20px 32px;
  margin-bottom: 24px;
  color: #303030;
  background-color: #eef5ed;
  border-radius: 20px;
}

@media (min-width: 1024px) {
  .btg-campaign__vote {
    padding: 30px 40px 40px;
    margin-bottom: 0;
  }
}

.btg-campaign__vote__title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--btg-campaign-green-1);
  margin-top: 0;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .btg-campaign__vote__title {
    font-size: 40px;
  }
}

.btg-campaign__vote__text,
.btg-campaign__vote__text p {
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px;
  line-height: 1.3;
  color: #303030 !important;
  margin-bottom: 1rem !important;
}

.btg-campaign__vote__text p:last-child {
  margin-bottom: 0 !important;
}

@media (min-width: 1024px) {
  .btg-campaign__vote__text,
  .btg-campaign__vote__text p {
    font-size: 20px;
  }
}

.btg-campaign__vote__steps__item {
  display: flex;
  align-items: center;
  column-gap: 18px;
  margin-bottom: 24px;
}

.btg-campaign__vote__steps__item:last-child {
  margin-bottom: 0;
}

.btg-campaign__vote__steps__item span {
  flex: 0 0 36px;
  max-width: 36px;
}

@media (min-width: 1024px) {
  .btg-campaign__vote__steps__item {
    column-gap: 24px;
  }
}

/* projects */

.btg-campaign-projects {
  margin-bottom: 60px;
}

.btg-campaign-projects__grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

@media (min-width: 1024px) {
  .btg-campaign-projects__grid {
    margin-left: 0;
    margin-right: 0;
  }
}

.btg-campaign-projects__grid__item {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  padding: 18px 24px 20px;
}

.btg-campaign-projects__grid__item:nth-child(1),
.btg-campaign-projects__grid__item:nth-child(4),
.btg-campaign-projects__grid__item:nth-child(5),
.btg-campaign-projects__grid__item:nth-child(8) {
  background-color: #ffeb9f;
}

@media (min-width: 1024px) {
  .btg-campaign-projects__grid__item {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 18px 10px 60px;
  }
}

.btg-campaign-projects__grid__item__header {
  display: flex;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .btg-campaign-projects__grid__item__header {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.btg-campaign-projects__title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--btg-campaign-green-1);
  margin-top: 2px;
  margin-bottom: 1.5rem;
}

@media (min-width: 1024px) {
  .btg-campaign-projects__title {
    font-size: 40px;
    margin-top: 30px;
  }
}

.btg-campaign-projects__subtitle {
  font-family: 'Roboto', sans-serif !important;
  font-size: 18px;
  line-height: 1.3;
  color: #303030 !important;
  margin-bottom: 1rem !important;
}

.btg-campaign-projects__subtitle strong {
  font-weight: 600 !important;
}

@media (min-width: 1024px) {
  .btg-campaign-projects__subtitle {
    font-size: 20px;
  }
}

.btg-campaign-projects__gallery {
  padding-top: 20px;
  padding-bottom: 40px;
}

.btg-campaign-projects__gallery > .glide {
  border-radius: 20px;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .btg-campaign-projects__text {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.btg-campaign-projects__text,
.btg-campaign-projects__text p {
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px;
  line-height: 1.3;
  color: #303030 !important;
  margin-bottom: 1rem !important;
}

.btg-campaign-projects__text:last-child,
.btg-campaign-projects__text p:last-child {
  margin-bottom: 0 !important;
}

@media (min-width: 1024px) {
  .btg-campaign-projects__text,
  .btg-campaign-projects__text p {
    font-size: 20px;
  }
}

.btg-campaign-projects__footer {
  display: flex;
  justify-content: center;
}

@media (min-width: 1024px) {
  .btg-campaign-projects__footer {
    padding-top: 40px;
  }
}

.btg-campaign-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 230px;
  min-height: 50px;
  padding: 0 50px;
  color: #fff;
  border: 0;
  border-radius: 999rem;
  cursor: pointer;
}

.btg-campaign-button.green {
  background-color: var(--btg-campaign-green-1);
}

.btg-campaign-button.orange {
  background-color: var(--btg-campaign-orange-1);
}

.btg-campaign-button__text {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 500;
}

/* modal */

.vote-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1090;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  overflow-y: auto;
}

.vote-modal.is-open {
  display: block;
}

body:has(.vote-modal.is-open) {
  height: 100dvh;
  overflow: hidden;
}

.vote-modal > div {
  display: flex;
  height: 100%;
}

.vote-modal__panel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  padding: 50px;
  margin: auto;
  background-color: #eef5ed;
  box-shadow: 4px 14px 8px 0px rgba(0, 0, 0, 0.15);
}

.vote-modal__title {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
  color: var(--btg-campaign-green-1);
  margin-top: 0;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .vote-modal__title {
    font-size: 40px;
  }
}

.vote-modal__header p {
  max-width: 480px;
  margin: 0 auto;
  font-family: 'Roboto', sans-serif !important;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  color: #303030;
}

@media (min-width: 1024px) {
  .vote-modal__header p {
    font-size: 20px;
  }
}

.vote-modal__header__logo {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.vote-modal__header__logo img {
  width: 100%;
  max-width: 520px;
}

.vote-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  padding: 0;
  background-color: transparent;
  border: 0;
}

.vote-modal__close:focus,
.vote-modal__close:hover {
  background-color: transparent;
}

.vote-modal iframe {
  min-height: 625px !important;
}

@media (min-width: 1024px) {
  .vote-modal iframe {
    min-height: 497px !important;
  }
}

/* glidejs */

.glide__slides {
  margin: 0;
}

.glide__arrow {
  width: 30px;
  height: 30px;
  padding: 0 !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 100% !important;
  box-shadow: none !important;
  transition: opacity 150ms ease !important;
}

.glide__arrow--left {
  left: 20px !important;
}

.glide__arrow--right {
  right: 20px !important;
}

.glide__arrow svg {
  width: 100%;
  height: auto;
}

@media (min-width: 1024px) {
  .glide__arrow {
    width: 60px;
    height: 60px;
  }
}
