/* ******** || BLOG LISTING (plain 3-col paginated grid, blog.php - NOT a slider, reuses the .insight-card
   component from the "Industry Insights Hub" section but with its own container instead of .insights-grid,
   since that class already carries slick-slider-fallback CSS meant for index.php) || ******** */
.blog-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin: 0 0 60px;
}

.blog-listing-grid li {
    margin: 0;
}

/* ******** || INDUSTRY INSIGHTS || ******** */
.insights-intro {
    max-width: 700px;
    margin: 0 auto 50px;
}

.insights-grid {
    position: relative;
    margin: 0 -17.5px;
}

.insights-grid .slick-track {
    display: flex;
}

.insights-grid .slick-slide {
    height: auto;
    padding: 0 17.5px;
}

.insight-card {
    height: 100%;
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
}

.insight-card-link-wrap {
    display: block;
    color: inherit;
    text-decoration: none;
}

.insight-card-img-wrap {
    margin: 0;
    overflow: hidden;
    max-height: 250px;
}

.insight-card-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 460 / 261;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.insight-card-link-wrap:hover .insight-card-img {
    transform: scale(1.08);
}

.insight-card-body {
    padding: 30px;
}

.insight-card-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 20px;
    font-weight: var(--font-semibold);
    line-height: 24px;
    margin-bottom: 12px;
    transition: color 0.3s;
    height: 48px;
}

.insight-card-link-wrap:hover .insight-card-title {
    background: var(--button);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.insight-card-body p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    font-size: 16px;
    font-weight: var(--font-regular);
    color: var(--sitetext);
    line-height: 1.5;
    margin-bottom: 20px;
}

.insight-card-link {
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
    font-size: 14px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    background: var(--button);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.insight-card-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    width: 100%;
    height: 1px;
    background: var(--button);
}

.insights-cta {
    text-align: center;
    margin-top: 50px;
}

/* reposition the auto-generated slider arrows (children of .insights-grid)
   to sit visually beside the .insights-cta button, without touching the
   shared .slick-arrow look defined in style.css */
.insights-grid .slick-prev,
.insights-grid .slick-next {
    position: absolute;
    top: calc(100% + 78px);
    transform: translateY(-50%);
}

.insights-grid .slick-prev {
    left: calc(50% - 160px);
}

.insights-grid .slick-next {
    right: calc(50% - 160px);
}

.insights-grid:not(.slick-initialized) {
    display: flex;
    flex-wrap: nowrap;
    gap: 0 30px;
    & article.insight-card:not(:nth-child(-n + 3)) {
        display: none;
    }
}
main.blog-listpg {
    & ul.blog-listing-grid {
        & li {
            .insight-card-body {
                background: #f3f3f3;
            }
            .insight-card-title {
                color: var(--black);
                line-height: 26px;
                height: 52px;
            }
        }
    }
}

/* blog detail styles  */
.blogdtl_hero_sec {
    gap: 50px;
    background: var(--beige);
    border-radius: 20px;
    overflow: hidden;
    .image-column {
        & img {
            border-radius: 0;
        }
    }
    .ctent-column {
        padding: 0 0 0 100px;
    }
}

.blogdtl_sec .container {
    /* max-width: 100%; */
    display: flex;
    align-items: flex-start;
    gap: 88px;
}

.blogdtlleft {
    flex: 1 1 0%;
    min-width: 0;

    & p {
        font-size: 16px;
    }

    & h2 {        font-size: var(--heading-36);
        font-weight: 700;}
    & h3 {        font-size: var(--heading-30);
        font-weight: 700;}
}

.blogdtlleft figure {
    margin: 0 0 30px;
    overflow: hidden;
    border-radius: 20px;
}

.blogdtlleft img {
    display: block;
    width: auto;
    height: auto;
    border-radius: 20px;
    margin: 0 auto;
}
.blogdtlleft ul {
    margin: 24px 0;
}

.blogdtlleft ul li {
    position: relative;
    padding-left: 34px;
    line-height: 28px;
    color: var(--sitetext);
    margin-bottom: 16px;
}

.blogdtlleft ul li:last-child {
    margin-bottom: 0;
}

.blogdtlleft ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background: url(../images/icon/bullet-arrow-red.svg) no-repeat center /
        contain;
}

.blogdtlright_col {
    flex: 0 0 380px;
    max-width: 380px;
    position: sticky;
    top: 120px;
}

.blogdtlright_col .heading-30 {
    margin-bottom: 20px;
}

.blogdtlright_col ul {
    background-color: #fff4eb;
    border-radius: var(--radius-10);
    padding: 5px 30px;
}

.blogdtlright_col ul li {
    margin: 0;
    border-bottom: 1px solid #efddcf;
}

.blogdtlright_col ul li:last-child {
    border-bottom: none;
}

.blogdtlright_col ul li a {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 20px 0;
    color: inherit;
    text-decoration: none;
}

.blogdtlright_col ul li img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
}

.blogdtlright_col ul li span {
    font-size: 16px;
    font-weight: var(--font-semibold);
    line-height: 19px;
    color: var(--black);
    transition: color 0.3s;
}

.blogdtlright_col ul li a:hover span {
    background: var(--button);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}




.blogdtlleft {
    .page-nav {margin:30px 0 0 0;border:1px solid #ccc;border-left:0px solid transparent;border-right:0px solid transparent;display: flex;justify-content: space-between;padding: 20px 0;
                  & a {color:var(--sitetext);font-weight: 700;
                      & i{font-size:20px; font-weight:700;}
                        &:hover {color:var(--orange);}
                      }
               & a.prev-link {
                   & i{margin:0 10px 0 0}
               }
               & a.next-link {
                   & i {margin:0 0 0 10px}
               }
              }
}




@media (max-width: 1600px) {
    .blogdtl_hero_sec {
        .ctent-column {
            padding: 20px 30px;
            .heading-44 {
                font-size: 34px;
            }
        }
    }
}
@media (max-width: 1440px) {
}
@media (max-width: 1200px) {
    .insights-grid .slick-slide {
        padding: 0 10px;
    }
    .insights-cta {
        margin-top: 20px;
    }
    .insights-grid .slick-prev,
    .insights-grid .slick-next {
        top: calc(100% + 50px);
    }

    .blogdtl_hero_sec {
        .ctent-column {
            .heading-44 {
                font-size: 30px;
            }
        }
    }
}
@media (max-width: 992px) {
    .insights-grid {
        position: relative;
        margin: 0;
    }

    .blog-listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-listing-grid {
        gap: 15px;
    }

    .blogdtl_sec .container {
        flex-direction: column;
        gap: 20px;
    }

    .blogdtlright_col {
        max-width: 100%;
        width: 100%;
        position: static;
    }

    .blogdtl_hero_sec {
        gap: 0;
    }
}

@media (max-width: 768px) {
}
@media (max-width: 576px) {
    .blog-listing-grid {
        grid-template-columns: 1fr;
    }

    .blogdtlright_col ul {
        padding: 10px;
        & li a {
            padding: 10px;
        }
    }

    .insights-grid .slick-prev,
    .insights-grid .slick-next {
        top: calc(100% + 35px);
    }

    .insights-intro {
    margin: 0 auto 20px;
}
}
