/*
Theme Name: Hello Elementor Child
Theme URI: https://fastforwardweb.net/
Description: Hello Elementor Child Theme
Author: Ibrahim Shehzad
Author URI: https://fastforwardweb.net/
Template: hello-elementor
Version: 1.0.0
*/


/* Custom CSS below */
.ASCS .ffw-case-studies {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    align-items: stretch;
}

/* CARD */

.ASCS .ffw-case-card {
    min-width: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce5ee;
    border-radius: 11px;
    display: flex;
    flex-direction: column;
    font-family: inherit;
}

/* SINGLE CARD LAYOUT */

.ASCS .ffw-case-studies.ffw-layout-single {
    grid-template-columns: 1fr;
}

.ASCS .ffw-layout-single .ffw-case-card {
    display: grid;
    grid-template-columns: 42% 58%;
}

/* IMAGE */

.ASCS .ffw-case-image {
    width: 100%;
    min-height: 265px;
    padding: 0px;
    /* background: linear-gradient(120deg, #12232e, #124e7e); */
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    max-height: 300px;
}

.ASCS .ffw-layout-single .ffw-case-image {
    min-height: 100%;
}

/* BROWSER WINDOW */

.ASCS .ffw-browser-window {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: 0px;
    max-height: 100%;
}

.ASCS .ffw-browser-window img {
    display: block;
    max-width: 100%;
    height: 264px;
    object-fit: cover;
    object-position: top;
}

.ASCS .ffw-layout-single .ffw-browser-window img {
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.ASCS .ffw-image-placeholder {
    height: 264px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #64748b;
    /* background: repeating-linear-gradient(
        45deg,
        #ffffff,
        #ffffff 12px,
        #edf5fc 12px,
        #edf5fc 24px
    ); */
}

.ASCS .ffw-layout-single .ffw-image-placeholder {
    height: 290px;
}

/* CONTENT */

.ASCS .ffw-case-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
    box-sizing: border-box;
    background-color: #fff !important;
}

/* TAGS */

.ASCS .ffw-case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.ASCS .ffw-tag {
    display: inline-block;
    background: #eaf3fc;
    color: #12548b;
    padding: 7px 11px;
    border-radius: 4px;
    font-size: 13px;
    font-family: 'Manrope';
    line-height: 1.2;
    font-weight: 500;
}

.ASCS .ffw-tag-primary {
    background: #087fda;
    color: #ffffff;
}

/* TITLE */

.ASCS .ffw-case-title {
    font-size: 26px;
    line-height: 1.2;
    font-weight: 800;
    color: #14232e;
    font-family: 'Outfit';
    margin: 0 0 17px;
    text-transform: uppercase;
}

/* PROBLEM AND SOLUTION */

.ASCS .ffw-case-row {
    border-top: 1px solid #dce5ee;
    padding: 15px 0;
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr);
    gap: 15px;
}

.ASCS .ffw-case-label {
    color: #64717c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    font-family: 'Outfit';
}

.ASCS .ffw-case-description {
    color: #263746;
    font-size: 15px;
    line-height: 1.6;
    min-width: 0;
}

.ASCS .ffw-case-description p {
    font-family: 'Manrope';
    margin: 0 0 8px;
}

.ASCS .ffw-case-description p:last-child {
    margin-bottom: 0;
}

/* DELIVERABLES */

.ASCS .ffw-deliverables {
    background: #eaf4fc;
    border-left: 4px solid #087fda;
    border-radius: 9px;
    padding: 20px 22px;
    margin: 4px 0 17px;
}

.ASCS .ffw-deliverables h3 {
    color: #14578c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    margin: 0 0 12px;
    font-family: 'Outfit';
}

.ASCS .ffw-deliverables ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ASCS .ffw-deliverables li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #263746;
    font-size: 15px;
    margin-bottom: 9px;
    font-family: 'Manrope';
}

.ASCS .ffw-deliverables li:last-child {
    margin-bottom: 0;
}

.ASCS .ffw-check {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #199e78;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
}

/* CLIENT QUOTE */

.ASCS .ffw-client-quote {
    border-left: 3px solid #dce5ee;
    padding-left: 15px;
    margin: 0 0 17px;
    color: #64717c;
    font-size: 14px;
    font-style: italic;
    font-family: 'Manrope';
}

/* READ MORE LINK */

.ASCS .ffw-case-link {
    display: inline-block;
    margin-top: auto;
    padding-top: 8px;
    color: #087fda;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Manrope';
    letter-spacing: 0.5px !important;
    text-decoration: none;
}

.ASCS .ffw-case-link:hover {
    color: #075da1;
}

.ASCS .ffw-case-link span {
    margin-left: 5px;
}

/* TABLET */

@media (max-width: 1024px) {

    .ASCS .ffw-layout-single .ffw-case-card {
        grid-template-columns: 40% 60%;
    }

    .ASCS .ffw-case-content {
        padding: 22px;
    }

    .ASCS .ffw-case-title {
        font-size: 23px;
    }

}

/* MOBILE */

@media (max-width: 767px) {

    .ASCS .ffw-case-studies {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .ASCS .ffw-layout-single .ffw-case-card {
        grid-template-columns: 1fr;
    }

    .ASCS .ffw-case-image,
    .ASCS .ffw-layout-single .ffw-case-image {
        max-height: 220px;
        padding: 0px;
    }
.ASCS .ffw-browser-window{max-height: 100%;}
     .ASCS .ffw-browser-window img,
    .ASCS .ffw-image-placeholder,
    .ASCS .ffw-layout-single .ffw-browser-window img,
    .ASCS .ffw-layout-single .ffw-image-placeholder {
        max-height: 100%;
    } 

    .ASCS .ffw-case-content {
        padding: 22px;
    }

    .ASCS .ffw-case-title {
        font-size: 22px;
    }

    .ASCS .ffw-case-row {
        grid-template-columns: 1fr;
        gap: 7px;
    }

}



/* Case Study Results */

.ASCS .ffw-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    margin: 0px 0 20px;
}

.ASCS .ffw-result-card {
    background: #20333D;
    padding: 16px;
    border-radius: 8px;
}

.ASCS .ffw-result-card h4 {
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 5px;
    font-family: "manrope";
}

.ASCS .ffw-result-number {
    color: #FFBC63;
    font-size: 36px;
    font-weight: 700;
    font-family: "outfit";
    line-height: 1.2;
}

/* Clickable image and title */

.ASCS .ffw-case-image-link {
    display: block;
    text-decoration: none;
}

.ASCS .ffw-case-title a {
    color: inherit;
    text-decoration: none;
    font-size: 24px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    text-transform: capitalize !important;
}

.ASCS .ffw-case-title a:hover {
    color: #007CC7;
}
