/**
 * Workers' Compensation ebook page (tmplt-wc-ebook.php).
 * Carried over from cws-theme-work assets/compiled/css/theme.css.
 */
.wc-ebook .row {
    display: flex;
    flex-wrap: wrap;
  }
.wc-ebook p {
    line-height: 25.5px;
  }
.wc-ebook .section-content p img.aligncenter {
    box-shadow: 0px 45px 44px -33px rgba(110, 110, 110, 0.62);
    margin-bottom: 70px;
  }
.wc-ebook .section-content ol {
    max-width: 765px;
    margin: 0 auto;
  }
.wc-ebook .section-content ol li {
    color: var(--color-p, #54575A);
    font-size: 17px;
    line-height: 25.5px;
    padding-left: 70px;
  }
/* content.css already places the number absolutely inside the 70px padding. */
.wc-ebook .section-content ol li::before {
    text-align: center;
  }
.wc-ebook .section-1 .row {
    display: flex;
    align-items: center;
  }
.wc-ebook .section-1 .section-content {
    max-width: 545px;
    color: #FFFFFF;
  }
.wc-ebook .section-1 h1 {
    color: #C58E4C;
    font-family: Rufina;
    font-size: 90px;
    font-weight: 400;
    line-height: 86px;
    letter-spacing: -2.3px;
    margin: 0 0 25px;
  }
.wc-ebook .section-1 .section-subtitle {
    font-size: 40px;
    line-height: normal;
    margin-bottom: 25px;
  }
.wc-ebook .section-1 p {
    max-width: 525px;
  }
/* content.css colors every paragraph; keep the hero text white on the photo. */
.wc-ebook .section-1 .section-content p {
    color: inherit;
  }
.wc-ebook .wc-ebook__form .head {
    position: relative;
    background-color: #C58E4C;
    padding: 38px 20px;
  }
.wc-ebook .wc-ebook__form .head::after {
    content: '';
    position: absolute;
    bottom: -12px;
    right: 50%;
    transform: translateX(50%);
    width: 36px;
    height: 12px;
    clip-path: polygon(100% 0, 0 0, 50% 100%);
    background-color: #c58e4c;
  }
.wc-ebook .wc-ebook__form .head h2 {
    color: #FFFFFF;
    text-align: center;
    font-family: Rufina;
    font-size: 42px;
    font-weight: 700;
    line-height: 51px;
    margin: 0;
  }
.wc-ebook .wc-ebook__form .head h2::after {
    content: none;
  }
.wc-ebook .wc-ebook__form .body {
    background-color: #E8E8E8;
    padding: 40px 45px;
  }
/* Gravity Form (WC Ebook) inside the sign-up box. */
.wc-ebook .wc-ebook__form .gform_wrapper .gform_required_legend {
    color: #54575A;
    font-size: 14px;
    margin-bottom: 15px;
  }
/* elements.css switches the field grid to block below 1199px; keep City/State/Zip on one row. */
.wc-ebook .wc-ebook__form .gform_wrapper .gform_fields {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px 2%;
  }
.wc-ebook .wc-ebook__form .gform_wrapper .gfield {
    grid-column: span 12;
  }
.wc-ebook .wc-ebook__form .gform_wrapper .gfield--width-third {
    grid-column: span 4;
  }
.wc-ebook .wc-ebook__form .gform_wrapper .gfield_label {
    color: #54575A;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 5px;
  }
.wc-ebook .wc-ebook__form .gform_wrapper.gravity-theme .gfield .ginput_container input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]),
  .wc-ebook .wc-ebook__form .gform_wrapper.gravity-theme .gfield .ginput_container select,
  .wc-ebook .wc-ebook__form .gform_wrapper.gravity-theme .gfield .ginput_container textarea {
    width: 100%;
    border: 1px solid #8C857A;
    border-radius: 0;
    background-color: #FFFFFF;
    padding: 10px 15px;
  }
.wc-ebook .wc-ebook__form .gform_wrapper.gravity-theme .gfield .ginput_container input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]),
  .wc-ebook .wc-ebook__form .gform_wrapper.gravity-theme .gfield .ginput_container select {
    height: 45px;
  }
.wc-ebook .wc-ebook__form .gform_wrapper .gform_footer {
    margin: 25px 0 0;
    padding: 0;
  }
/* Site's standard Gravity Forms button, stretched to the box width. */
.wc-ebook .wc-ebook__form .gform_wrapper.gravity-theme .gform_footer .gform_button {
    width: 100%;
    min-width: 0;
  }
.wc-ebook .section-2 {
    background-color: #F7F7F7;
    padding: 100px 0 50px;
  }
.wc-ebook .section-3 {
    padding: 80px 0 140px;
  }
.wc-ebook .section-3 .section-content {
    max-width: 803px;
    margin: 0 auto;
  }
.wc-ebook .section-3 .section-content h2 {
    max-width: 792px;
    margin: 0 auto 40px;
    text-align: center;
  }
.wc-ebook .section-3 .section-content h2::after {
    margin: 25px auto;
  }
.wc-ebook .section-3 .section-content p {
    max-width: 715px;
    text-align: center;
    margin: 0 auto 28px;
  }
.wc-ebook .section-3 .section-content p:has(img) {
    max-width: unset;
  }
.wc-ebook .section-4 .rev-row {
    flex-direction: row-reverse;
  }
.wc-ebook .section-4 .section-image {
    margin-top: -150px;
    text-align: center;
  }
.wc-ebook .section-4 .section-content {
    max-width: 605px;
  }
.wc-ebook .section-5 {
    padding: 80px 0 140px;
  }
.wc-ebook .section-5 .section-content {
    max-width: 803px;
    margin: 0 auto;
  }
.wc-ebook .section-5 .section-content h2 {
    text-align: center;
  }
.wc-ebook .section-5 .section-content h2::after {
    margin: 25px auto;
  }
@media (max-width: 991px) {
  .wc-ebook .section-1 .section-content,
    .wc-ebook .section-1 p {
      max-width: unset;
    }
  .wc-ebook .section-1 h1 {
      font-size: 60px;
    }
  .wc-ebook .section-2 .section-image {
      text-align: center;
    }
  .wc-ebook .section-4 .section-content {
      max-width: unset;
    }
  .wc-ebook .section-4 {
      padding: 85px 0 25px;
    }
}
@media (max-width: 499px) {
  .wc-ebook .section-1 h1 {
      font-size: 45px;
      line-height: 50px;
    }
  .wc-ebook .section-1 .section-subtitle {
      font-size: 28px;
      margin-bottom: 25px;
    }
  .wc-ebook .wc-ebook__form .body {
      padding: 40px 25px;
    }
  .wc-ebook .section-2 {
      padding: 50px 0 30px;
    }
  .wc-ebook .section-3 {
      padding: 50px 0;
    }
  .wc-ebook .section-content p img.aligncenter {
      margin-bottom: 50px;
    }
  .wc-ebook .section-4 {
      padding: 50px 0 25px;
    }
  .wc-ebook .section-4 .section-image {
      max-width: 200px;
      margin: -85px auto 0;
    }
  .wc-ebook .section-5 {
      padding: 50px 0 80px;
    }
}
