.tw-club {
  padding: 40px 0 90px;
}

/* Outer row: visual (flex) + form (710px), 24px gap */
.tw-club__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 710px;
  align-items: stretch;
}

/* Visual: orange + black 50/50, image overlaid */
.tw-club__visual {
  position: relative;
}

.tw-club__blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  height: 100%;
  min-height: inherit;
}

.tw-club__block {
  min-height: 100%;
}

.tw-club__block--orange {
  background: #f1a137;
  border-radius: 16px;
}

.tw-club__block--black {
  background: #0b0b0b;
  border-radius: 0 16px 16px 0;
}

.tw-club__image-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 50px 80px;
}

.tw-club__image {
  display: block;
  width: 100%;
  height: 382px;
  object-fit: contain;
  object-position: center;
}

/* Form column */
.tw-club__form-panel {
  background: #0b0b0b;
  border-radius: 16px 0px 0px 16px;
  color: #ffffff;
  padding: 70px 104px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tw-club__eyebrow {
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.3px;
  text-align: right;
}

.tw-club__text {
  margin: 0 0 28px;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  color: #ffffff;
  text-align: right;
  max-width: 525px;
}

.tw-club__placeholder {
  opacity: 0.7;
  margin: 0;
}

/* Contact Form 7 — Figma underline fields + orange CTA */
.tw-club__form .wpcf7 {
  max-width: 500px;
  margin-inline-start: auto;
}

.tw-club__form .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tw-club__form .wpcf7-form > p {
  margin: 0;
}

.tw-club__form label {
  display: block;
  width: 100%;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  color: #ffffff;
  text-align: right;
}

.tw-club__form .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7-spinner{
  display: none !important;
}
.tw-club__form input[type='text'],
.tw-club__form input[type='email'],
.tw-club__form input[type='tel'],
.tw-club__form input[type='url'],
.tw-club__form textarea {
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 16px 14px;
  border: 0;
  border-bottom: 1px solid #ffffff;
  border-radius: 4px;
  background: transparent;
  color: #ffffff;
  font-size: 20px;
  font-weight: 300;
  line-height: 24px;
  text-align: right;
  outline: none;
  box-shadow: none;
  appearance: none;
}

.tw-club__form textarea {
  min-height: 100px;
  resize: vertical;
}

.tw-club__form input::placeholder,
.tw-club__form textarea::placeholder {
  color: rgba(255, 255, 255, 0.75);
}

.tw-club__form input:focus,
.tw-club__form textarea:focus {
  border-bottom-color: #f9b253;
}

.tw-club__form input[type='submit'],
.tw-club__form .wpcf7-submit {
  width: 100%;
  min-height: 60px;
  margin-top: 10px;
  padding: 16px 24px;
  border: 0;
  border-radius: 4px;
  background: #f9b253;
  color: #0b0b0b;
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.tw-club__form input[type='submit']:hover,
.tw-club__form .wpcf7-submit:hover {
  opacity: 0.92;
}

.tw-club__form .wpcf7-not-valid-tip {
  color: #ffb4b4;
  font-size: 13px;
  text-align: right;
}

.tw-club__form .wpcf7-response-output {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 4px;
  color: #ffffff;
  text-align: right;
}

/* Tablet */
@media (max-width: 1024px) {
  .tw-club {
    padding: 36px 0 72px;
  }

  .tw-club__layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tw-club__visual {
    order: -1;
    min-height: 340px;
  }

  .tw-club__blocks {
    gap: 16px;
    min-height: 340px;
  }

  .tw-club__image-wrap {
    padding: 28px 40px;
  }

  .tw-club__image {
    height: clamp(240px, 36vw, 300px);
  }

  .tw-club__form-panel {
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 48px 40px;
    border-radius: 16px;
  }

  .tw-club__eyebrow {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .tw-club__text {
    font-size: 18px;
    line-height: 1.4;
    max-width: none;
    margin-bottom: 24px;
  }

  .tw-club__form .wpcf7 {
    max-width: none;
    margin-inline: 0;
  }

  .tw-club__form .wpcf7-form {
    gap: 16px;
  }

  .tw-club__form label,
  .tw-club__form input[type='text'],
  .tw-club__form input[type='email'],
  .tw-club__form input[type='tel'],
  .tw-club__form input[type='url'],
  .tw-club__form textarea {
    font-size: 18px;
    line-height: 1.35;
  }

  .tw-club__form input[type='text'],
  .tw-club__form input[type='email'],
  .tw-club__form input[type='tel'],
  .tw-club__form input[type='url'],
  .tw-club__form textarea {
    min-height: 56px;
    padding: 14px 12px;
  }
  .tw-club__block--black{
    border-radius: 16px;
  }

  .tw-club__form input[type='submit'],
  .tw-club__form .wpcf7-submit {
    min-height: 56px;
    font-size: 18px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .tw-club {
    padding: 24px 0 56px;
  }

  .tw-club__layout {
    gap: 14px;
  }

  .tw-club__visual {
    min-height: 260px;
  }

  .tw-club__blocks {
    gap: 12px;
    min-height: 260px;
  }

  .tw-club__block--orange {
    border-radius: 12px;
  }

  .tw-club__image-wrap {
    padding: 20px 24px;
  }

  .tw-club__image {
    height: clamp(180px, 52vw, 240px);
  }

  .tw-club__form-panel {
    padding: 28px 18px 32px;
    border-radius: 12px;
  }

  .tw-club__eyebrow {
    font-size: 22px;
    line-height: 1.25;
    margin-bottom: 12px;
  }

  .tw-club__text {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 20px;
  }

  .tw-club__form .wpcf7-form {
    gap: 12px;
  }

  .tw-club__form label {
    font-size: 15px;
    line-height: 1.35;
  }

  .tw-club__form input[type='text'],
  .tw-club__form input[type='email'],
  .tw-club__form input[type='tel'],
  .tw-club__form input[type='url'],
  .tw-club__form textarea {
    min-height: 50px;
    font-size: 15px;
    line-height: 1.35;
    padding: 12px 10px;
  }

  .tw-club__form input[type='submit'],
  .tw-club__form .wpcf7-submit {
    min-height: 50px;
    margin-top: 4px;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.3;
  }

  .tw-club__form .wpcf7-not-valid-tip {
    font-size: 12px;
  }

  .tw-club__form .wpcf7-response-output {
    font-size: 13px;
    padding: 8px 10px;
  }
}
