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

/* layout */

.btg-campaign-container {
  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;
}

@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;
  }
}

/* hero  */

.btg-campaign-hero {
  position: relative;
  margin-bottom: 20px;
}

.btg-campaign-hero__image {
  display: flex;
  height: 260px;
}

.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__badge {
  position: absolute;
  top: 75px;
  left: calc(50% - (1440px / 2));
  width: 220px;
}

.btg-campaign-hero__logo {
  position: relative;
  width: 100%;
  margin-top: -64px;
}

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

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

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

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

/* 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__text p,
.btg-campaign__text ol,
.btg-campaign__text ul {
  font-size: 16px;
  line-height: 1.3;
  color: #303030;
  margin-bottom: 1rem;
}

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

.btg-campaign__image {
  position: relative;
}

.btg-campaign__image img {
  display: block;
  width: 100%;
  max-width: 350px;
  margin: 0 auto 40px;
}

@media (min-width: 1024px) {
  .btg-campaign__image img {
    max-width: none;
    margin-bottom: 0;
  }
}

.btg-campaign__community {
  padding: 24px 20px 40px;
  margin: 32px 0;
  color: #303030;
  background-color: #ffeb9f;
  border-radius: 20px;
}

@media (min-width: 1024px) {
  .btg-campaign__community {
    padding: 40px 40px 50px;
    margin: 50px 0;
  }
}

.btg-campaign__community__title {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

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

.btg-campaign__community__text {
  font-size: 14px;
  line-height: 1.3;
  color: #303030;
}

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

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

.btg-campaign__community__steps__item {
  display: flex;
  align-items: flex-start;
  column-gap: 20px;
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .btg-campaign__community__steps__item {
    column-gap: 24px;
    margin-bottom: 40px;
  }
}

.btg-campaign__community__steps__item span {
  padding: 8px 20px;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.85;
  text-align: center;
  text-transform: uppercase;
  color: white;
  background-color: var(--btg-campaign-green-1);
  border-radius: 999em;
}

@media (min-width: 1024px) {
  .btg-campaign__community__steps__item span {
    padding: 12px 24px;
    font-size: 30px;
  }
}

/* video */

.btg-campaign-form__video {
  position: relative;
  display: flex;
  aspect-ratio: 10 / 17;
}

.btg-campaign-form__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

/* badge */

.btg-campaign-form__video__badge {
  position: absolute;
  top: -44px;
  left: -16px;
  width: 140px;
}

@media (min-width: 1024px) {
  .btg-campaign-form__video__badge {
    top: -64px;
    left: -32px;
    width: 200px;
  }
}

/* form */

.btg-campaign-form {
  padding-top: 50px;
  padding-bottom: 50px;
  background-color: #eef5ed;
}

@media (min-width: 1024px) {
  .btg-campaign-form {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

.btg-campaign-form__content {
  margin-bottom: 40px;
}

@media (min-width: 1024px) {
  .btg-campaign-form__content {
    padding-right: 20px;
    margin-bottom: 0;
  }
}

/* wpcf7 */

.btg-campaign-form .wpcf7-form {
  width: 100%;
}

.btg-campaign-form .wpcf7-form-control-wrap {
  margin-top: 8px !important;
}

.btg-campaign-form .wpcf7-form p > label {
  width: 100%;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  color: #303030;
}

@media (min-width: 1024px) {
  .btg-campaign-form .wpcf7-form p > label {
    font-size: 20px;
  }
}

.btg-campaign-form .wpcf7-form-control-wrap {
  margin-top: 4px;
}

.btg-campaign-form .wpcf7-text,
.btg-campaign-form .wpcf7-select {
  width: 100%;
  height: 40px;
  padding: 12px 24px !important;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
}

.btg-campaign-form .wpcf7-text:focus,
.btg-campaign-form .wpcf7-select:focus {
  border: 1px solid var(--btg-campaign-green-1) !important;
}

@media (min-width: 1024px) {
  .btg-campaign-form .wpcf7-text,
  .btg-campaign-form .wpcf7-select {
    height: 50px;
  }
}

.btg-campaign-form .wpcf7-textarea {
  width: 100%;
  height: 150px;
  padding: 12px 24px !important;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
}

.btg-campaign-form .wpcf7-textarea:focus {
  border: 1px solid var(--btg-campaign-green-1) !important;
}

.btg-campaign-form .wpcf7-file {
  display: none !important;
  width: 100%;
  background-color: #fff !important;
  border: 1px solid #fff !important;
  border-radius: 6px !important;
}

.btg-campaign-form .wpcf7-file::-webkit-file-upload-button {
  display: none;
}

.wpcf7-form-control-wrap:has(.wpcf7-file)::before {
  content: attr(data-label);
  display: flex;
  align-items: center;
  width: 100%;
  height: 50px;
  padding: 12px 24px;
  font-size: 16px;
  background-color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  cursor: pointer;
}

.btg-campaign-form .wpcf7-acceptance .wpcf7-list-item {
  margin-left: 0;
}

.btg-campaign-form .wpcf7-acceptance label {
  position: relative;
  display: flex;
  padding-left: 2.75rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 2rem;
  color: #303030;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .btg-campaign-form .wpcf7-acceptance label {
    font-size: 16px;
  }
}

.btg-campaign-form .wpcf7-acceptance .wpcf7-list-item-label a {
  text-decoration: underline;
  color: var(--btg-campaign-green-1);
}

.btg-campaign-form .wpcf7-acceptance .wpcf7-list-item-label::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 2rem;
  height: 2rem;
  background-color: #fff;
  background-size: 50%;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 50%;
  pointer-events: none;
  user-select: none;
}

.btg-campaign-form
  .wpcf7-acceptance
  input[type='checkbox']:checked
  ~ .wpcf7-list-item-label::before {
  background-color: var(--btg-campaign-green-1);
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAxNy4xLjAsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgOCA4IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA4IDgiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHBhdGggZmlsbD0iI0ZGRkZGRiIgZD0iTTYuNCwxTDUuNywxLjdMMi45LDQuNUwyLjEsMy43TDEuNCwzTDAsNC40bDAuNywwLjdsMS41LDEuNWwwLjcsMC43bDAuNy0wLjdsMy41LTMuNWwwLjctMC43TDYuNCwxTDYuNCwxeiINCgkvPg0KPC9zdmc+DQo=');
}

.btg-campaign-form .wpcf7-acceptance input[type='checkbox'] {
  position: absolute;
  visibility: hidden;
  opacity: 0;
}

.btg-campaign-form .wpcf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 230px;
  min-height: 50px;
  padding: 0 50px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #fff;
  background-color: var(--btg-campaign-purple-1);
  border: 0;
  border-radius: 999rem;
  cursor: pointer;
}

.page-template-no-place-like-home-campaign .btg-campaign-form .wpcf7-submit {
  background-color: var(--btg-campaign-green-1);
}

.btg-campaign-form .wpcf7-submit:hover {
  color: #fff;
  background-color: var(--btg-campaign-green-1);
}

.page-template-no-place-like-home-campaign
  .btg-campaign-form
  .wpcf7-submit:hover {
  background-color: var(--btg-campaign-purple-1);
}

.btg-campaign-form .wpcf7-not-valid-tip {
  margin-top: 6px;
}
