.hero-checklist-block{
  background-color:var(--wp--preset--color--tertiary)!important;
  position: relative;
    .container-fluid{
      max-width: var(--wp--style--global--wide-size) !important;
      background-image:url(../../assets/images/hero_pattern.svg);
      background-repeat:no-repeat;
      background-size:contain;
    }
    .hero-checklist-block-inner{
      max-width: var(--wp--style--global--content-size);
      margin-left: auto;
      margin-right: auto;
      width: 100%;
      display: flex;
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
      position: relative;
      gap:60px;
    }
    .cta-form-inn{
        padding: 38px 30px 38px 35px;
        position: absolute;
        background-color: var(--wp--preset--color--white);
        min-height: 200px;
        border-radius: 4px 4px 4px 100px;
        top:0;
        right:0;
        left:0;
        width:100%;
        box-sizing: border-box;
    }
     .wp-block-buttons{
        .wp-block-button .wp-block-button__link {
            height: 52px;
        }
    }
    .checklist-box{
        padding-left:30px;
    }
    .checklist-title{
        font-size: 24px;
        line-height: 1;
        font-weight: 500;
        font-family: var(--wp--preset--font-family--outfit);
        color: var(--wp--preset--color--tertiary);
        position: relative;
        &:before{
            content: "";
            position: absolute;
            width: 22px;
            height: 22px;
            left: -38px;
            top: 1px;
            background-image: url("data:image/svg+xml,%3Csvg width='22' height='22' viewBox='0 0 22 22' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_2273_1925)'%3E%3Cpath d='M21.4895 21.4905H0.507812V0.508789H21.4895V21.4905Z' stroke='%23083D5B' stroke-width='1.5' stroke-linejoin='round'/%3E%3Cpath d='M5.49219 10.8954L9.23473 14.6375L16.5085 7.36328' stroke='%23EE6F49' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2273_1925'%3E%3Crect width='22' height='22' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
        }
    }
    .checklist-description{
        p{
            font-size: 15px;
            line-height: 22px;
            font-weight: 400;
            margin-bottom: 0;
            margin-top: 10px;
        }
    }
    .use-docs{
        .checklist-description{
            padding-right:50px;
        }
    }

}

.hero-checklist-block ~ .single-category-posts-block, 
.checklist-intro ~ .single-category-posts-block{
    .single-category-posts-intro{
        max-width: 40%;
    }
}

.docs-wrap{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap:nowrap;
    gap: 9px;
    margin-top: 14px;
    width:100%;
        .docs-cell{
            box-sizing: border-box;
            background-color: #fff;
            text-align: left;
            .docs-cell-inner{
                color:var(--wp--preset--color--tertiary);
            }
            .toggler-icon{
                transition: all 0.3s ease-in-out;
                transform: rotate(0deg);
            }
            &.active{
                .doc-row.hidden-docs{
                    max-height: 9999px;
                    transition: all 0.3s ease-in-out;
                }
                .toggler-icon{
                    transition: all 0.3s ease-in-out;
                    transform: rotate(180deg);
                }
            }
            .title-row{
                margin-bottom: 4px;
                .doc-title{
                    font-size: 16px;
                    font-weight: 700;
                    line-height: 24px;
                    font-family: var(--wp--preset--font-family--lato);
                    margin: 0;
                    color: var(--wp--preset--color--secondary);
                }
            }
            .doc-row{
                font-size: 15px;
                font-weight: 400;
                line-height: 24px;
                font-family: var(--wp--preset--font-family--lato);
                color: var(--wp--preset--color--tertiary);
                margin-bottom: 3px;
                position: relative;
                padding-left:10px;
                &.hidden-docs{
                    max-height: 0;
                    overflow: hidden;
                    transition: all 0.3s ease-in-out;
                }
                &:before{
                    content:"·";
                    display: inline-block;
                    font-size:24px;
                    line-height: 24px;
                    align-items: middle;
                    position: absolute;
                    left: 0;
                    top: 0;
                }
            }
        }
}


.cta-form-container{
    width: 60%;
    height:100%;
    position: relative;
    margin:30px 0;
    margin-right:calc(var(--wp--style--root--padding-right) * -1);
        .doc-toggler{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            margin:10px 0 20px;
            padding-top:10px;
            border:none;
            cursor:pointer;
            border-top:solid 1px #DCE2E6;
                &:not(.desktop-use){
                    display: none;
                }
                .toggler-txt{
                    font-size: 14px;
                    line-height: 24px;
                    font-weight: 700;
                    font-family: var(--wp--preset--font-family--lato);
                    color: var(--wp--preset--color--secondary);
                    text-transform: uppercase;
                }
        }
        .no-docs{
            .docs-wrap{
                display: block;
                  .docs{
                    display: flex;
                    flex-direction: row;
                    align-items: flex-start;
                    justify-content: flex-start;
                    flex-wrap: wrap;
                    gap: 0 9px;
                        .doc-row{
                            flex: 0 0 calc(50% - 4.5px);
                        }
                  }
            }
        }
}

.active-desktop{
    .doc-row.hidden-docs{
        max-height: 9999px !important;
        transition: all 0.3s ease-in-out !important;
    }
    .doc-toggler{
        border-top: none !important;
          .toggler-txt, .toggler-icon{
            display: none !important;
          }
    }
}

.checklist-intro {
    background-color: var(--wp--preset--color--x-light-grey);
    padding: 40px 0;
    margin:0;
    margin-block-start: 0 !important;
}

.checklist-intro-content{
    max-width: 40%;
        .checklist-intro-title{
            font-size: 20px;
            line-height: 1.1;
            font-weight: 500;
            font-family: var(--wp--preset--font-family--outfit);
            color: var(--wp--preset--color--tertiary);
            margin-bottom: 10px;
        }
        .checklist-intro-description{
            p, li{
                font-size: 16px;
                line-height: 24px;
                font-weight: 400;
                margin-bottom: 10px;
                margin-top: 0;
                color: var(--wp--preset--color--tertiary);
                  a{
                    color: var(--wp--preset--color--secondary);
                  }
            }
        }
}


.hero-checklist-block .cta-text-container {
  box-sizing: border-box;
  width: 41%;
  height:auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
  padding: 61px 0 111px 0;
    *{
      color:var(--wp--preset--color--white);
    }
}

.hero-checklist-block h1 {
  margin-top: 10px;
  margin-bottom:0;
}

.hero-checklist-block p {
  font-size: 18px;
  line-height: normal;
  margin-top:24px;
  margin-bottom: 0;
      &.hero-description{
            font-family: var(--wp--preset--font-family--outfit);
            font-weight: 300;
            margin-bottom:36px;
            padding-right:60px;
      }
}

@media (max-width: 1260px){
    .cta-form-container{
        margin-right: 0;
    }
}

@media (max-width: 960px){
  .hero-checklist-block{
    background-color: var(--wp--preset--color--x-light-grey) !important;
    &:before{
        content: "";
        position: absolute;
        width: 100%;
        height: 600px;
        top:0;
        left:0;
        right:0;
        background-color: var(--wp--preset--color--tertiary);
    }
    .hero-checklist-block-inner{
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .cta-text-container{
        width: 100%;
        padding: 30px 0;
    }
    .cta-form-container{
        width: auto;
        margin-top: 30px;
        margin-bottom: 0;
    }
    .cta-form-inn{
        padding: 29px 30px 47px 30px;
        position: static;
    }
  }
    .hero-checklist-block ~ .single-category-posts-block, 
    .checklist-intro ~ .single-category-posts-block {
        .single-category-posts-intro{
            max-width: 100%;
        }
    }
    .checklist-intro-content{
        max-width: 100%;
    }
}


@media (max-width: 700px){
    .docs-wrap {
        flex-direction: column;
    }
    .doc-toggler.desktop-use{
        display: none;
    }
    .doc-toggler.mob-use{
        display: inline-block !important;
        width: auto;
        border-top:none !important;
        margin-top:0 !important;
        padding-top: 0 !important;
        margin-bottom: 0 !important;
        .toggler-icon{
            display: none;
        }
        .toggler-txt{
            text-transform: none;
            text-decoration: underline;
            color:var(--wp--preset--color--primary);
        }
    }
    .docs-cell.active{
        .doc-toggler.mob-use{
            display: none !important;
        }
    }
    .checklist-box:not(:first-child) {
        margin-top: 20px;
        padding-top:20px;
        border-top:solid 1px #DCE2E6;
    }
    .docs-cell-inner{
        padding: 20px 0;
    }
    .cta-form-container {
        & .no-docs {
            & .docs-wrap {
                & .docs {
                    .doc-row {
                        flex: 0 0 100%;
                        &.hidden-mob-docs{
                            max-height: 0;
                            overflow: hidden;
                            transition: all 0.3s ease-in-out;
                            margin-bottom:0;
                        }
                    }
                }
                .active{
                    .doc-row.hidden-mob-docs{
                            max-height: 9999px !important;
                            transition: all 0.3s ease-in-out;
                            margin-bottom:3px;
                        }
                    .doc-toggler{
                        display: none !important;
                    }
                }
            }
        }
    }
}

@media (max-width: 440px){
    .hero-checklist-block {
        .checklist-title {
            font-size: 18px;
        }
        .cta-form-inn {
            padding: 20px 15px 40px 15px;
        }
    }
}

