/**
 * Pingdom Hero with Signup Form Block — Styles
 *
 * Two-column layout: content (title + wysiwyg) on the left,
 * signup form on the right.
 *
 * Form field and form UI styles come from the shared
 * sw-pingdom-signup block CSS (loaded via wp_enqueue_style in template.php
 * if needed, or rely on the .sw-pingdom-signup-block hook class).
 */

/* ── Block wrapper ───────────────────────────────────────────────────── */

.sw-pingdom-hero {
  font-family: "Roboto", sans-serif;

  .sw-container {
    padding: 0 1.5rem;
  }

  .main-content {
    display: flex;
    gap: 64px;
    justify-content: flex-start;
  }

  .left-column {
    .title {
      display: block;
    }
  }

  .right-column {
    min-width: 540px;
  }

  .title {
    color: #111;
    font-family: inherit;
    font-size: 38px;
    font-weight: 300;
    line-height: 48px; /* 126.316% */
    display: none;
    margin-bottom: 3.5rem;

    h1,
    h2,
    h3 {
      font-weight: inherit;
      font-family: inherit;
      font-size: inherit;
      line-height: inherit;
      margin: 0;
    }

    b,
    strong {
      font-weight: 900;
    }
    p {
      margin: 0;
    }
  }

  .text-content {
    color: #444;
    font-family: inherit;
    font-size: 18px;
    line-height: 32px;

    ul {
      margin: 0;
      padding: 0 0 0 20px;

      li {
        margin-bottom: 24px;

        &::marker {
          color: #ff6200;
        }
      }
    }
  }

  .tablet-quote {
    display: none;

    .right-col {
      display: none;
    }
  }

  @media (min-width: 768px) and (max-width: 1023px) {
    .tablet-quote {
      display: block;

      .sw-quote-block {
        margin: 0;
      }
    }

    .text-content {
      margin-bottom: 3.5rem;
    }

    .hero-foot {
      .sw-quote-block .left-col {
        display: none;
      }
    }
  }

  @media (max-width: 1023px) {
    .main-content {
      gap: 56px;
    }

    .left-column {
      .title {
        display: none;
      }
    }

    .right-column {
      min-width: 330px;
    }

    .title {
      display: block;
    }

    .text-content {
      ul li:last-child {
        margin-bottom: 0;
      }
    }

    .hero-foot {
      margin: 3.5rem 0;
    }
  }

  @media (max-width: 767px) {
    .main-content {
      flex-direction: column-reverse;
      gap: 3.5rem;
    }

    /* target the form wrap to remove max-width so it can be full width on mobile */
    .sw-pingdom-signup .form-wrap .form-wrap-two {
      max-width: none;
    }

    .hero-foot {
      .sw-quote-block {
        margin: 0;
      }
    }
  }

  @media (max-width: 639px) {
    .right-column {
      min-width: auto;
    }

    .title {
      font-size: 30px;
      line-height: 38px;
    }

    .text-content {
      font-size: 16px;
      line-height: 24px;
    }
  }
}
