div#team-grid .elementor-grid{
    grid-auto-rows: auto;
}
.team-post-content p{
    margin: 0;
}

/* Blog & Blog Detail Page CSS Start */

.insight-main-container .insight-fetured-img img,
.insight-main-container .read-article-text p,
.insight-main-container .read-article-arrow svg{
    transition: 0.3s;
}
.insight-main-container:hover .insight-fetured-img img{
    transform: scale(1.15);
}
.insight-fetured-img a{
    display: flex;
}
.insight-main-container:hover .read-article-text p{
    color: #B11F24;
}
.insight-main-container:hover .read-article-arrow svg{
    fill: #B11F24 !important;
}
.insight-main-container:hover .elementor-heading-title{
    text-decoration: underline;
}

.read-article-arrow .elementor-icon-wrapper {
    display: flex;
}

/* .insight-post-excerpt{
    min-height: 46px;
} */
.insight-post-title .elementor-heading-title{
    min-height: 72px;
}

.featured-insight-title .elementor-heading-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-loop .elementor-grid{
    grid-auto-rows: auto !important;
}

.insight-detail-content {
    width: 100%;
}

/* Text content: max 1200px */
.insight-detail-content > p:not(:has(img)),
.insight-detail-content > ul,
.insight-detail-content > ol,
.insight-detail-content > h1,
.insight-detail-content > h2,
.insight-detail-content > h3,
.insight-detail-content > h4,
.insight-detail-content > h5,
.insight-detail-content > h6 {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.insight-detail-content > p:has(iframe){
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
}

.insight-detail-content > p:has(iframe) {
    margin-top: 78px;
    margin-bottom: 65px !important;
}

.insight-detail-content img{
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.insight-detail-content p{
    margin-block-end: 0;
}

.insight-detail-content .wp-video{
    max-width: 1600px;
    width: 100% !important;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-top: 78px;
    margin-bottom: 65px;
}

/* All text paragraphs */
.insight-detail-content > p:not(:has(img)) {
    margin-bottom: 28px;
}

/* First text paragraph */
.insight-detail-content > p:not(:has(img)):nth-of-type(2) {
    margin-top: 120px;
}

.insight-detail-content > p:last-child {
    margin-bottom: 0px;
}

/* All image paragraphs except the first element */
.insight-detail-content > p:has(img):not(:first-child) {
    margin-top: 78px;
    margin-bottom: 65px;
}

.insight-detail-content > p:has(img) + h2{
    margin-top: 83px;
}

/* List */
/* .insight-detail-content > ul,
.insight-detail-content > ol {
    margin-bottom: 14px;
} */
.insight-detail-content > ul li,
.insight-detail-content > ol li{
    margin-bottom: 14px;
}

.insight-post-title .elementor-heading-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-detail-content a{
    color: #141211;
    font-weight: 600;
    transition: 0.3s;
}
.insight-detail-content a:hover{
    color: #B11F24;
}
.insight-detail-content h2 {
    font-family: "Crimson Pro", Sans-serif !important;
    font-size: 38px !important;
    line-height: 46px !important;
    letter-spacing: 0 !important;
    margin-bottom: 34px;
    margin-top: 46px;
}
.insight-detail-post-navigation .elementor-post-navigation {
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.insight-detail-post-navigation .elementor-post-navigation .elementor-post-navigation__link{
    width: fit-content !important;
}
.insight-detail-post-navigation a:hover span{
    color: #242424 !important;
    fill: #242424 !important;
}
.insight-loop nav.elementor-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.insight-loop .page-numbers{
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #B11F24;
    transition: 0.3s;
    background-color: transparent;
}
.insight-loop .page-numbers:hover{
    border: 1px solid #B11F24;
    background-color: #B11F24;
}
.insight-loop .page-numbers.current{
    background-color: #B11F24;
}
.post-categories a{
    text-decoration: none;
    transition: 0.3s;
}
/* .post-categories a:hover{
    color: #262626;
} */

/* Blog & Blog Detail Page CSS End */

/* Responsive CSS */

@media (max-width:1024px){
    .insight-detail-content > p:not(:has(img)):nth-of-type(2) {
        margin-top: 60px;
    }
    .insight-detail-content > p:has(img):not(:first-child) {
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .insight-detail-content > p:has(iframe) {
        margin-top: 40px;
        margin-bottom: 20px !important;
    }
    .insight-detail-content .wp-video{
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .insight-detail-content > p:not(:has(img)) {
        margin-bottom: 20px;
    }
    .insight-detail-content > ul li, .insight-detail-content > ol li {
        margin-bottom: 10px;
    }
    .insight-detail-content > p:has(img) + h2{
        margin-top: 40px;
    }
}

@media (max-width:767px){
    .insight-detail-content > p:not(:has(img)):nth-of-type(2) {
        margin-top: 40px;
    }
    .insight-fetured-img, .insight-fetured-img-container, .insight-content-container {
        height: fit-content !important;
    }
    .insight-detail-content h2{
        font-size: 30px !important;
        line-height: 35px !important;
    }
    .insight-detail-content a{
        line-break: anywhere;
    }
    .insight-detail-content > p:has(img) + h2{
        margin-top: 25px;
    }
    .insight-detail-content > p:has(img):not(:first-child) {
        margin-top: 25px;
    }
    .insight-detail-content > p iframe{
        height: 350px;
    }
    .insight-detail-content > p:has(iframe) {
        margin-top: 25px;
    }
    .insight-detail-content .wp-video{
        margin-top: 25px;
        margin-bottom: 20px;
    }
}