/* coreit free tools: shared styles for every tool page template */
.ct{
    background: var(--background-bg-1);
    padding: 100px 0;
    font-family: var(--font-family-text);
    color: var(--content-color-one);
    overflow: hidden;
}
.ct *,
.ct *::before,
.ct *::after{
    box-sizing: border-box;
}
.ct__container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.ct__intro{
    max-width: 760px;
    margin: 0 auto 50px;
    text-align: center;
}
.ct__intro p{
    margin: 0;
    font-size: 18px;
    line-height: 28px;
}
.ct__label{
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 16px;
    border-radius: 30px;
    background: var(--color-set-one-1);
    color: var(--color-set-one-1-dark);
    font-family: var(--font-family-main);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ct__title{
    margin: 0 0 16px;
    font-family: var(--font-family-main);
    font-size: 48px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--heading-color-one);
}
.ct__grid{
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

/* Form panel */
.ct__panel,
.ct__result,
.ct__lead{
    border-radius: 20px;
    padding: 40px;
}
.ct__panel{
    border: 1px solid var(--color-set-one-bor-1);
    background: var(--color-white);
    box-shadow: var(--box-shadow-1);
}
.ct-form{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.ct-field{
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.ct-field--wide{
    grid-column: 1 / -1;
}
.ct-field label,
.ct-form h4{
    font-family: var(--font-family-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--heading-color-one);
}
.ct-field input,
.ct-field select,
.ct-field textarea,
.ct-lead input{
    width: 100%;
    margin: 0;
    padding: 13px 16px;
    border: 1px solid var(--color-set-one-bor-2);
    border-radius: 12px;
    background: var(--background-white);
    color: var(--heading-color-one);
    font-family: var(--font-family-text);
    font-size: 17px;
    line-height: 24px;
    outline: none;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.ct-field textarea{
    resize: vertical;
    min-height: 90px;
}
.ct-field input[type="file"]{
    padding: 12px;
    font-size: 15px;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus,
.ct-lead input:focus{
    border-color: var(--color-set-one-2);
    box-shadow: 0 0 0 3px rgba(198, 233, 108, .6);
}
.ct-check{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--heading-color-one);
    cursor: pointer;
}
.ct-check input{
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--color-set-one-2);
}
.ct__submit{
    grid-column: 1 / -1;
    justify-self: start;
    border: 1px solid var(--color-set-one-2);
    cursor: pointer;
}

/* Result panel */
.ct__result{
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: var(--color-set-one-2);
    color: var(--color-white);
    box-shadow: var(--box-shadow-2);
    min-height: 260px;
    overflow-wrap: anywhere;
}
.ct .ct-result{
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.ct .ct-kicker{
    margin: 0;
    font-family: var(--font-family-main);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-set-one-1);
}
.ct .ct-headline{
    margin: 0;
    font-family: var(--font-family-main);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-white);
}
.ct .ct-score{
    font-size: 64px;
}
.ct .ct-small{
    margin: 0;
    font-size: 14px;
    line-height: 22px;
    color: rgba(255, 255, 255, .75);
}
.ct .ct-rows{
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, .15);
}
.ct .ct-rows li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    font-size: 16px;
    color: rgba(255, 255, 255, .85);
}
.ct .ct-rows strong{
    font-family: var(--font-family-main);
    font-size: 17px;
    color: var(--color-set-one-1);
    white-space: nowrap;
}
.ct .ct-cta{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 6px;
}
.ct .ct-cta__text{
    margin: 0;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-white);
}
.ct .theme_btn.ct-cta__btn,
.ct .theme_btn.ct-download{
    padding: 14px 26px;
    border-color: var(--color-set-one-1);
    background: var(--color-set-one-1);
    color: var(--color-set-one-2);
    text-decoration: none;
}
.ct .theme_btn.ct-cta__btn:hover,
.ct .theme_btn.ct-download:hover{
    border-color: var(--color-white);
    background: var(--color-white);
    color: var(--color-set-one-2);
}
.ct .ct-group h4{
    margin: 0 0 8px;
    font-family: var(--font-family-main);
    font-size: 16px;
    color: var(--color-set-one-1);
}
.ct .ct-checks{
    margin: 0;
    padding: 0;
    list-style: none;
}
.ct .ct-checks li{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 15px;
    line-height: 22px;
    color: rgba(255, 255, 255, .88);
}
.ct .ct-checks__mark{
    flex: 0 0 auto;
    min-width: 46px;
    padding: 2px 8px;
    border-radius: 20px;
    font-family: var(--font-family-main);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
}
.ct .is-pass .ct-checks__mark{ background: var(--color-set-one-1); color: var(--color-set-one-2); }
.ct .is-fail .ct-checks__mark{ background: #f6b8ac; color: #5c1a10; }
.ct .is-info .ct-checks__mark{ background: rgba(255, 255, 255, .18); color: var(--color-white); }
.ct .ct-checks__text small{
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
}
.ct .ct-serp{
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--color-white);
}
.ct .ct-serp__url{
    margin: 0 0 4px;
    font-size: 14px;
    color: #1a7a3c;
    overflow-wrap: anywhere;
}
.ct .ct-serp__title{
    margin: 0 0 4px;
    font-family: var(--font-family-main);
    font-size: 20px;
    color: #1a0dab;
    overflow-wrap: anywhere;
}
.ct .ct-serp__desc{
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    color: #4d5156;
}
.ct .ct-block{
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ct .ct-block__head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.ct .ct-block h4{
    margin: 0;
    font-family: var(--font-family-main);
    font-size: 16px;
    color: var(--color-white);
}
.ct .ct-copy{
    padding: 6px 14px;
    border: 1px solid var(--color-set-one-1);
    border-radius: 20px;
    background: transparent;
    color: var(--color-set-one-1);
    font-family: var(--font-family-main);
    font-size: 14px;
    cursor: pointer;
}
.ct .ct-copy:hover{
    background: var(--color-set-one-1);
    color: var(--color-set-one-2);
}
.ct .ct-output{
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: var(--color-white);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 20px;
    resize: vertical;
}
.ct .ct-preview{
    display: block;
    max-width: 100%;
    max-height: 260px;
    margin: 0 auto;
    border-radius: 12px;
    object-fit: contain;
    background: rgba(255, 255, 255, .06);
}
.ct .ct-qr{
    display: flex;
    justify-content: center;
    padding: 16px;
    border-radius: 14px;
    background: var(--color-white);
}
.ct .ct-qr canvas,
.ct .ct-qr img{
    max-width: 100%;
    height: auto;
}

/* Lead capture */
.ct__lead{
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
    margin-top: 30px;
    padding: 48px;
    border: 1px solid var(--color-set-one-bor-1);
    border-radius: 20px;
    background: var(--color-white);
    box-shadow: var(--box-shadow-1);
}
.ct__lead-badge{
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 14px;
    border-radius: 30px;
    background: var(--color-set-one-1);
    color: var(--color-set-one-1-dark);
    font-family: var(--font-family-main);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ct__lead h3{
    margin: 0 0 12px;
    font-family: var(--font-family-main);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--heading-color-one);
}
.ct__lead-text > p{
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 26px;
}
.ct__lead-points{
    margin: 0;
    padding: 0;
    list-style: none;
}
.ct__lead-points li{
    position: relative;
    padding: 6px 0 6px 28px;
    font-size: 15px;
    line-height: 22px;
    color: var(--heading-color-one);
}
.ct__lead-points li::before{
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-set-one-1);
    box-shadow: inset 0 0 0 4px var(--color-set-one-2);
}
.ct-lead{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 32px;
    border-radius: 16px;
    background: var(--background-bg-1);
}
.ct-lead__field{
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}
.ct-lead__field--wide{
    grid-column: 1 / -1;
}
.ct-lead__field label{
    font-family: var(--font-family-main);
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color-one);
}
.ct-lead input{
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--color-set-one-bor-2);
    border-radius: 12px;
    background: var(--color-white);
    color: var(--heading-color-one);
    font-family: var(--font-family-text);
    font-size: 16px;
    line-height: 22px;
    outline: none;
    transition: border-color .3s ease, box-shadow .3s ease;
}
.ct-lead input:focus{
    border-color: var(--color-set-one-2);
    box-shadow: 0 0 0 3px rgba(198, 233, 108, .6);
}
.ct-lead__actions{
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
    margin-top: 6px;
}
.ct .theme_btn.ct-lead__submit{
    padding: 15px 34px;
    border: 1px solid var(--color-set-one-2);
    cursor: pointer;
}
.ct-lead__status{
    margin: 0;
    font-size: 15px;
    line-height: 22px;
    color: var(--content-color-one);
}
.ct__note{
    max-width: 760px;
    margin: 30px auto 0;
    font-size: 14px;
    line-height: 22px;
    text-align: center;
}
.ct__article{
    max-width: 820px;
    margin: 70px auto 0;
    color: var(--content-color-one);
}
.ct__article h2,
.ct__article h3{
    font-family: var(--font-family-main);
    color: var(--heading-color-one);
}

@media (max-width: 991px){
    .ct{
        padding: 70px 0;
    }
    .ct__grid,
    .ct__lead{
        grid-template-columns: 1fr;
    }
    .ct__lead{
        padding: 32px;
        gap: 32px;
    }
    .ct__title{
        font-size: 38px;
    }
}
@media (max-width: 575px){
    .ct__panel,
    .ct__result,
    .ct__lead{
        padding: 24px;
    }
    .ct-form,
    .ct-lead{
        grid-template-columns: 1fr;
    }
    .ct__lead{
        padding: 24px;
    }
    .ct-lead{
        padding: 22px;
    }
    .ct__lead h3{
        font-size: 24px;
    }
    .ct .theme_btn.ct-lead__submit{
        width: 100%;
    }
    .ct__title{
        font-size: 30px;
    }
    .ct .ct-headline{
        font-size: 30px;
    }
    .ct .ct-score{
        font-size: 48px;
    }
}

/* Contact Form 7 lead form (shortcode set in Customize > Free Tools) */
.ct-lead--cf7 .wpcf7-form{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 32px;
    border-radius: 16px;
    background: var(--background-bg-1);
}
.ct-lead--cf7 .wpcf7-form p{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}
.ct-lead--cf7 .wpcf7-form label{
    font-family: var(--font-family-main);
    font-size: 15px;
    font-weight: 600;
    color: var(--heading-color-one);
}
.ct-lead--cf7 .wpcf7-form input:not([type="submit"]):not([type="hidden"]),
.ct-lead--cf7 .wpcf7-form textarea,
.ct-lead--cf7 .wpcf7-form select{
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--color-set-one-bor-2);
    border-radius: 12px;
    background: var(--color-white);
    color: var(--heading-color-one);
    font-family: var(--font-family-text);
    font-size: 16px;
}
.ct-lead--cf7 .wpcf7-form input[type="submit"]{
    padding: 15px 34px;
    border: 1px solid var(--color-set-one-2);
    border-radius: 40px;
    background: var(--color-set-one-2);
    color: var(--color-white);
    font-family: var(--font-family-main);
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}
.ct-lead--cf7 .wpcf7-form input[type="submit"]:hover{
    background: var(--color-set-one-1);
    color: var(--color-set-one-2);
}
.ct-lead--cf7 .wpcf7-form .wpcf7-form-control-wrap{
    display: block;
}
.ct-lead--cf7 .wpcf7-form p:has(input[type="submit"]),
.ct-lead--cf7 .wpcf7-form p:has(textarea),
.ct-lead--cf7 .wpcf7-form p:has(.wpcf7-acceptance),
.ct-lead--cf7 .wpcf7-form .ct-wide{
    grid-column: 1 / -1;
}
@media (max-width: 575px){
    .ct-lead--cf7 .wpcf7-form{
        grid-template-columns: 1fr;
        padding: 22px;
    }
}

/* Lead form layout: readable labels and inputs at every width (overrides the rules above) */
.ct__lead{
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1100px){
    .ct__lead{
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    }
}
.ct__lead,
.ct-lead,
.ct-lead--cf7{
    min-width: 0;
    width: 100%;
}
.ct-lead,
.ct-lead--cf7 .wpcf7-form{
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.ct__lead label,
.ct-lead label,
.ct-lead--cf7 label{
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    text-transform: none;
    letter-spacing: normal;
    font-family: var(--font-family-main);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: var(--heading-color-one);
}
.ct-lead--cf7 .wpcf7-form input:not([type="submit"]):not([type="hidden"]),
.ct-lead--cf7 .wpcf7-form textarea,
.ct-lead--cf7 .wpcf7-form select{
    width: 100%;
    min-width: 0;
    max-width: 100%;
    text-transform: none;
}
.ct-lead--cf7 .wpcf7-form input[type="submit"],
.ct-lead--cf7 .wpcf7-form .wpcf7-submit{
    grid-column: 1 / -1;
    justify-self: start;
    width: auto;
}
.ct-lead--cf7 .wpcf7-form .wpcf7-response-output{
    grid-column: 1 / -1;
    margin: 0;
    font-size: 15px;
}
@media (max-width: 575px){
    .ct-lead--cf7 .wpcf7-form input[type="submit"],
    .ct-lead--cf7 .wpcf7-form .wpcf7-submit{
        width: 100%;
        justify-self: stretch;
    }
}
