/* Styles for hero newsletter 80/20 layout */
.hero-newsletter .hero-form-inner { display: block; }

/* Scoped adjustments requested: apply only to hero-newsletter form */
.hero-newsletter .hero-box {
  justify-content: space-between;
}

.hero-newsletter .hero-text {
  width: 100%;
  padding: 0;
}

.hero-newsletter .hero-form-text .hero-form-inner {
  max-width: 1440px;
  margin: 0;
}

.hero-newsletter .hero-form-wrapper--compact .lead-form-box {
  margin: 0 auto;
  max-width: 100%;
}

/* Grid: left 1/3 and right 2/3 for newsletter layout */
.hn-grid { display: grid; grid-template-columns: 420px 880px; gap: 0; align-items: start; }
.hn-right{
  padding: 80px 123px 80px 129px;
  border-left: 1px solid rgba(255, 255, 255, 0.30);
}
.hn-left{
    padding: 80px 60px 80px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.30);
}
/* Header column */
.hn-head { color: var(--CG-colors-Grey-White, #FFF); }
.hn-head__title {
  color: var(--CG-colors-Grey-White, #FFF);
  /* Head 3 */
  font-family: var(--Typography-font-family-title, "Space Grotesk");
  font-size: 60px;
  font-style: normal;
  font-weight: 500;
  line-height: 60px; /* 100% */
  margin: 0 0 18px 0;
}

/* Follow block: svg + text */
.hn-follow { display:flex; align-items:center; gap:12px; margin-top:8px; text-decoration: none;}
.hn-follow svg { width:24px; height:25.372px; fill: var(--CG-colors-Highlights-White-30, rgba(255,255,255,0.30)); }
.hn-follow__text {
  color: var(--CG-colors-Grey-White, #FFF);
  /* Body 2 */
  font-family: var(--Typography-font-family-body, Montserrat);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}

/* Form column */
.hn-form-inner { background: transparent; }
.hn-form__title {
  color: var(--CG-colors-Lime-Lime-5, #C4F222);
  /* Head 1 */
  font-family: var(--Typography-font-family-title, "Space Grotesk");
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 34px; /* 106.25% */
  margin: 0 0 18px 0;
}

/* Reuse existing lead form styles for fields (assumes .lead-grid and .field classes exist) */
.lead-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.field-full { grid-column: 1 / -1; }
.field-half { grid-column: span 6; }
.field-shell input, .field-shell textarea { width: 100%; padding: 12px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.12); background: rgba(0,0,0,0.04); color: #fff; }
.fld-label { display:block; margin-bottom:8px; color: rgba(255,255,255,0.85); font-weight:500; }

/* Consent checkbox */
.consent-row { display:flex; align-items:center; gap:12px; margin-top:12px; }
.consent-label { color: var(--CG-colors-Highlights-White-80, rgba(255,255,255,0.80)); font-family: var(--Typography-font-family-caption, Montserrat); font-size:12px; line-height:18px; }
.consent-input {
  border-radius: 4px;
  border: 1px solid var(--CG-colors-Grey-White, #FFF);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: transparent;
}

/* Submit button reuse */
.hero-newsletter .hero-submit-btn { margin-top:18px; }

/* Use the standard CTA visuals but remove icon/animation for the inline newsletter button */
.hero-newsletter .hc-cta--static {
  /* keep colors from btn-trasparente-lime/hc-cta but disable label padding animation and svg transitions */
  transition: none !important;
}
.hero-newsletter .hc-cta--static .hc-cta__label { transition: none !important; padding-right: 8px; }
.hero-newsletter .hc-cta--static svg { display: none !important; transition: none !important; }

/* Responsive: stack columns on small screens */
@media (max-width:880px){
  .hn-grid { grid-template-columns: 1fr; }
  .hn-head { order: 1; }
  .hn-form { order: 2; }
}

/* Make the left v-line reach the bottom of the left column when hero is open */
.hero-newsletter .hero-box.hero-open .v-line.v-left-up{
  left: var(--v-left);
  top: var(--frame-top);
  height: calc(var(--frame-bottom-left, var(--frame-bottom)) - var(--frame-top));
  transform-origin: top;
  transform: scaleY(1);
}
.hero-newsletter .hero-form-box.hero-box{
  padding: 0;
}
.hero-newsletter .hero-box::after {
  display: none;
}
.hero-newsletter .hero-form-wrapper--compact .lead-form-box .hero-submit-btn{
  width: 100%;
}
.hero-newsletter .btn-trasparente-lime:hover .hc-cta__label{
  padding-right: 0;
}
.hero-newsletter .hero-form-box .cta-hp-graphic{
    left: 45px;
    bottom: 0px;
    width: 300px;
}

/* Ensure CTA graphic animates/appears in hero-newsletter like in hero-form */
.hero-newsletter .hero-form-box .cta-hp-graphic {
  position: absolute;
  pointer-events: none;
  opacity: 1;
  transform: translateY(6px);
  transition: opacity .45s ease, transform .45s ease;
  z-index: 3;
}
.hero-newsletter .hero-form-box.hero-open .cta-hp-graphic {
  opacity: 1 !important;
  transform: translateY(0) !important;
}
.hero-newsletter .cta-hp-graphic .cta-hp-graphic-inner { display: block; transition: transform 420ms cubic-bezier(.2,.9,.3,1), opacity 320ms ease; will-change: transform, opacity; }

/* if some global rule adds a hidden class, allow overriding inside the newsletter hero */
.hero-newsletter .cta-hp-graphic .cta-hp-graphic-inner.cta-hp-hidden { transform: translateY(40px) !important; opacity: 0 !important; pointer-events: none !important; }
.hero-newsletter .cta-hp-graphic .cta-hp-graphic-inner.cta-hp-visible { transform: translateY(0) !important; opacity: 1 !important; pointer-events: auto !important; }