/* ============================================================
   RSC — Hero Banner Widget (Full Banner mode)
   Video Banner and Common Banner modes intentionally reuse the
   sitewide legacy classes (.video.parbase / .main-top-banner)
   already styled in the theme's style.css — no rules needed here.
============================================================ */


.rsc-hb-full-section {
  --rsc-hb-highlight-color: #3aa0f2;
  --rsc-hb-bg-color: #101012;
  --rsc-hb-form-btn-bg: #ff4b1f;
  --rsc-hb-form-btn-color: #ffffff;
  --rsc-hb-form-field-border: #e2e2e2;
  position: relative;
  width: 100%;
  min-height: 90dvh;
  display: flex;
  align-items: center;
  background-color: var(--rsc-hb-bg-color);
  overflow: hidden;
}

.rsc-hb-full-section .rsc-hb-full-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.rsc-hb-full-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 16, 18, 0.92) 0%, rgba(16, 16, 18, 0.55) 60%, rgba(16, 16, 18, 0.35) 100%);
  z-index: 1;
}

.rsc-hb-full-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(60px, 10vh, 140px) clamp(20px, 2vw, 64px);
}

.rsc-hb-full-text {
  max-width: 650px;
}

.rsc-hb-full-heading {
  font-size: 40px;
  font-family: Poppins, sans-serif;
  font-weight: 500;
  padding: 10px 0 0;
  line-height: 46px;
  margin: 0 0 20px;
  color: #fff;
}

.rsc-hb-full-highlight {
  font-size: 40px;
  line-height: 46px;
  font-weight: 500;
  color: var(--rsc-hb-highlight-color);
}

.rsc-hb-full-desc {
  font-size: 18px !important;
  line-height: 1.5 !important;
  font-family: "source-sans-pro", sans-serif;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 32px;
}

.rsc-hb-full-button {
  font-size: 1rem;
  padding: 0 25px !important;
  color: #fff !important;
  background: transparent !important;
  border: 1px solid #fff !important;
  display: inline-block;
  line-height: 50px;
  transition: all 0.3s;
  z-index: 1;
  text-transform: uppercase;
  border-radius: 5px !important;
  text-decoration: none;
}

.rsc-hb-full-button:hover,
.rsc-hb-full-button:focus {
  background: #fff !important;
  border-color: transparent !important;
  color: #1a1a1a !important;
}

.rsc-hb-full-button-arrow {
  font-size: 1.1em;
  line-height: 1;
  margin-left: 8px;
}

.rsc-hb-full-visual {
  position: relative;
  display: flex;
  justify-content: right;
  align-items: center;
}

.rsc-hb-full-cards-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.rsc-hb-full-pardot-wrap {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-top: 48px;
  margin-bottom: 48px;
  background: #f3f3f3;
  border-radius: 10px;
  overflow: hidden;
  border: 0;
  border-top: 6px solid var(--rsc-hb-form-btn-bg, #ff3b0a);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 28px 28px 24px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rsc-hb-full-pardot-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.rsc-hb-full-form-heading {
  color: #1a1a1a;
  font-family: Poppins, sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 5px;
}

.rsc-hb-full-form-desc {
  font-size: 16px;
  color: #666;
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.6;
  font-family: "source-sans-pro", sans-serif;
  font-weight: 400;
}

.rsc-hb-pardot-form {
  display: block;
}

.rsc-hb-pardot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 12px;
}

.rsc-hb-pardot-field {
  margin: 0 0 14px;
}

.rsc-hb-full-pardot-wrap .rsc-hb-pardot-input,
.rsc-hb-full-pardot-wrap .rsc-hb-pardot-textarea,
.rsc-hb-full-pardot-wrap .rsc-hb-pardot-select {
   border: 1px solid #ccc;
    box-sizing: border-box;
    color: #000;
    font-size: 16px;
    padding: 8px 18px;
    width: 100%;
    font-family: arial;
    border-radius: 5px;
}

.rsc-hb-full-pardot-wrap .rsc-hb-pardot-input,
.rsc-hb-full-pardot-wrap .rsc-hb-pardot-select {
  height: 45px;
}

.rsc-hb-full-pardot-wrap .rsc-hb-pardot-select {
  background-color: #fff;
  color: #7a7a7a;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a7a7a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px 8px;
  padding-right: 40px;
  line-height: normal;
}

.rsc-hb-full-pardot-wrap .rsc-hb-pardot-textarea {
  resize: vertical;
  min-height: 55px;
}

.rsc-hb-full-pardot-wrap .rsc-hb-pardot-input::placeholder,
.rsc-hb-full-pardot-wrap .rsc-hb-pardot-textarea::placeholder {
  color: #7a7a7a;
}

.rsc-hb-full-pardot-wrap .rsc-hb-pardot-input:focus,
.rsc-hb-full-pardot-wrap .rsc-hb-pardot-textarea:focus,
.rsc-hb-full-pardot-wrap .rsc-hb-pardot-select:focus {
  outline: none;
  border-color: var(--rsc-hb-form-btn-bg, #ff4b1f);
  box-shadow: 0 0 0 3px rgba(255, 75, 31, 0.12);
}

.rsc-hb-pardot-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  margin: 0;
}

.rsc-hb-pardot-submit {
  margin: 20px 0 0;
  text-align: right;
}

.rsc-hb-full-pardot-wrap .rsc-hb-pardot-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 25px !important;
  background-color: var(--rsc-hb-form-btn-bg, #ff3b0a);
  color: #fff;
  border: 2px solid var(--rsc-hb-form-btn-bg, #ff3b0a);
  border-radius: 5px;
  text-decoration: none;
  font-family: "source-sans-pro", sans-serif;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  line-height: 25px;
  border: 1px solid transparent;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
}

.rsc-hb-full-pardot-wrap .rsc-hb-pardot-submit-btn:hover,
.rsc-hb-full-pardot-wrap .rsc-hb-pardot-submit-btn:focus {
  color: #ff3b0a !important;
  background: transparent !important;
  border-color: #ff3b0a !important;
}

@media (max-width: 1200px) {
  .rsc-hb-full-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .rsc-hb-full-text {
    max-width: none;
  }

  .rsc-hb-full-visual {
    order: 2;
  }
}

@media (max-width: 767px) {
  .rsc-hb-full-container {
    padding: 48px 20px;
  }

  .rsc-hb-full-heading,
  .rsc-hb-full-highlight {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
    line-height: 1.3;
  }

  .rsc-hb-full-desc {
    font-size: 1rem !important;
  }

  .rsc-hb-pardot-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rsc-hb-full-button {
    width: 100%;
    justify-content: center;
  }

}
