﻿.wp-detail-casestudy h2 {
    font-size: 50px;
    line-height: 60px;
    font-weight: 600;
    max-width: 700px;
    margin-bottom: 20px;
    color: var(--color-heading-two);
}

.wp-detail-casestudy p {
    margin-bottom: 40px;
    font-size: 20px;
    font-weight: 500;
}

.wp-detail-casestudy .tab-content {
    padding-top: 8px;
}

.thumb-casestudy {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.tab-pane {
    min-height: 500px;
}

.sticky-sidebar {
    position: sticky;
    top: 130px;
    margin-bottom: 30px;
}

.wp-detail-casestudy .nav-pills .nav-link {
    border-bottom: 1px solid #ccc;
}

    .wp-detail-casestudy .nav-pills .nav-link p {
        color: var(--color-heading-two);
        font-weight: 400;
        margin-bottom: 10px;
    }

        .wp-detail-casestudy .nav-pills .nav-link p.title-tab {
            font-weight: 400;
            transition: all 0.1s ease-in-out;
        }

        .wp-detail-casestudy .nav-pills .nav-link p.sub-desc {
            color: var(--color-default-two);
            transition: all 0.1s ease-in-out;
        }

    .wp-detail-casestudy .nav-pills .nav-link.active {
        background: none;
        color: var(--color-heading-two);
        font-weight: 600;
    }

        .wp-detail-casestudy .nav-pills .nav-link.active p.title-tab {
            color: var(--color-heading-two);
            font-weight: 700;
        }

    .wp-detail-casestudy .nav-pills .nav-link:hover p.title-tab {
        color: var(--color-heading-two);
        font-weight: 700;
    }

    .wp-detail-casestudy .nav-pills .nav-link.active p.sub-desc,
    .wp-detail-casestudy .nav-pills .nav-link:hover p.sub-desc {
        font-weight: 600;
    }

.sticky-sidebar-right {
    padding: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}
    .sticky-sidebar-right h4 {
        font-size: 24px;
        font-weight: 600;
        line-height: 24px;
        color: #111;
        margin-bottom: 10px;
    }
.sticky-sidebar-right p {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 15px;
}
.sticky-sidebar-right a {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #111;
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
}

.cta {
    display: none;
}

    .cta.cta-casestudy {
        display: block
    }

        .cta.cta-casestudy .cta-wrap {
            padding: 65px 79px 65px 70px;
        }

            .cta.cta-casestudy .cta-wrap .xb-item--holder {
                max-width: 100%;
                text-align: center;
            }

@media (max-width: 500px) {
    .wp-detail-casestudy h2 {
        font-size: 24px;
        line-height: 34px;
        margin-bottom: 10px;
    }

    .wp-detail-casestudy p {
        margin-bottom: 20px;
        font-size: 16px;
        font-weight: 500;
    }

    .cta.cta-casestudy .cta-wrap {
        padding: 20px 30px 20px 30px;
    }
    .wp-detail-casestudy .nav-pills .nav-link p {
        margin-bottom: 5px;
    }
}
