/* Blog list — uniform card layout */
.news-insight-page > .container > .row > .col-lg-6 {
    display: flex;
    align-items: stretch;
    min-width: 0;
}

.news-insight-page .blog-card2 {
    width: 100%;
    height: 100%;
}

.news-insight-page .blog-card2 > .row {
    width: 100%;
    height: 100%;
    align-items: center !important;
    margin: 0;
}

.news-insight-page .blog-card2 > .row > [class*="col-"] {
    min-width: 0;
}

/* Fixed-ratio thumbnail (padding trick beats theme min-heights) */
.news-insight-page .blog-card2 .blog-img {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.news-insight-page .blog-card2 .blog-img img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 20px;
}

.news-insight-page .blog-card2 .blog-content-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 0.25rem 0;
}

.news-insight-page .blog-card2 .blog-content-wrap h3 {
    margin-bottom: 20px !important;
    line-height: 1.3 !important;
}

.news-insight-page .blog-card-author {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    text-decoration: none;
    color: var(--title-color);
    transition: color 0.3s ease;
}

.news-insight-page .blog-card-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(89, 86, 233, 0.2);
}

.news-insight-page .blog-card-author span {
    font-family: var(--font-dmsans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.news-insight-page .blog-card-author:hover {
    color: var(--primary-color3);
}

/* Blog detail — centered column, left-aligned text */
.blog-detail-header .banner-content {
    text-align: left !important;
}

.blog-detail-header .banner-content h1 {
    text-align: left;
}

.blog-detail-author-inline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    text-decoration: none;
    color: inherit;
}

.blog-detail-author-inline img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(89, 86, 233, 0.2);
}

.blog-detail-author-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.blog-detail-author-text strong {
    color: var(--title-color);
    font-family: var(--font-suse);
    font-size: 16px;
    font-weight: 600;
}

.blog-detail-author-text small {
    color: var(--text-color);
    font-family: var(--font-dmsans);
    font-size: 13px;
}

.blog-detail-author-inline:hover .blog-detail-author-text strong {
    color: var(--primary-color3);
}

.news-insight-details-page .details-content-wrap .post-thumb {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .news-insight-page .blog-card2 .blog-content-wrap h3 a {
        font-size: 22px !important;
        line-height: 1.25 !important;
    }
}

@media (min-width: 1200px) {
    .news-insight-page .blog-card2 .blog-content-wrap h3 a {
        font-size: 24px !important;
    }
}

.news-insight-page .blog-category-filters {
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 1rem 1.5rem;
}

.news-insight-page .blog-category-filters a {
    color: var(--title-color);
    font-family: var(--font-dmsans);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-insight-page .blog-category-filters a:hover,
.news-insight-page .blog-category-filters a.fw-semibold {
    color: var(--primary-color3);
}

/* Blog detail — hero image */
.news-insight-details-page .details-content-wrap .post-thumb {
    aspect-ratio: 16 / 9;
    max-height: 480px;
    overflow: hidden;
    border-radius: 20px;
}

.news-insight-details-page .details-content-wrap .post-thumb img {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    max-height: none;
    object-fit: cover;
    border-radius: 20px;
}

/* Blog detail — article body typography */
.news-insight-details-page .details-content-wrap .line-break {
    height: 20px;
    display: block;
}

.news-insight-details-page .blog-excerpt {
    color: var(--text-color);
    font-family: var(--font-dmsans);
    font-weight: 500;
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 0;
}

.news-insight-details-page .blog-excerpt strong {
    color: var(--title-color);
    font-weight: 600;
}

.news-insight-details-page .blog-article-body {
    color: var(--text-color);
}

.news-insight-details-page .blog-article-body > *:first-child {
    margin-top: 0 !important;
}

.news-insight-details-page .blog-article-body h2 {
    color: var(--title-color);
    font-family: var(--font-suse);
    font-weight: 600;
    font-size: 28px;
    line-height: 1.25;
    margin: 2.75rem 0 0;
}

.news-insight-details-page .blog-article-body h3 {
    color: var(--title-color);
    font-family: var(--font-suse);
    font-weight: 600;
    font-size: 22px;
    line-height: 1.3;
    margin: 2rem 0 0;
}

.news-insight-details-page .blog-article-body p {
    color: var(--text-color);
    font-family: var(--font-dmsans);
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    margin: 1.25rem 0 0;
}

.news-insight-details-page .blog-article-body p strong,
.news-insight-details-page .blog-article-body li strong {
    color: var(--title-color);
}

.news-insight-details-page .blog-article-body ul,
.news-insight-details-page .blog-article-body ol {
    margin: 1.25rem 0 0;
    padding-left: 0;
    list-style: none;
}

.news-insight-details-page .blog-article-body ul li,
.news-insight-details-page .blog-article-body ol li {
    position: relative;
    display: block;
    color: var(--text-color);
    font-family: var(--font-dmsans);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 12px;
    padding-left: 1.5rem;
}

.news-insight-details-page .blog-article-body ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color3);
}

.news-insight-details-page .blog-article-body ol {
    counter-reset: blog-ol;
}

.news-insight-details-page .blog-article-body ol li {
    counter-increment: blog-ol;
    padding-left: 2rem;
}

.news-insight-details-page .blog-article-body ol li::before {
    content: counter(blog-ol) ".";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color3);
    font-family: var(--font-suse);
    font-weight: 700;
}

.news-insight-details-page .blog-article-body li strong {
    display: inline;
    color: var(--title-color);
    font-weight: 600;
}

.news-insight-details-page .blog-article-body li p {
    margin: 0;
    display: inline;
}

.news-insight-details-page .blog-article-body a {
    color: var(--primary-color3);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.news-insight-details-page .blog-article-body a:hover {
    color: var(--primary-color1);
}

.news-insight-details-page .blog-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 2.5rem;
    padding: 24px 28px;
    border: 1px solid var(--borders-color);
    border-radius: 16px;
    background: rgba(89, 86, 233, 0.04);
}

.news-insight-details-page .blog-author-avatar {
    flex-shrink: 0;
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(89, 86, 233, 0.2);
}

.news-insight-details-page .blog-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-insight-details-page .blog-author-label {
    display: block;
    color: var(--text-color);
    font-family: var(--font-dmsans);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 4px;
}

.news-insight-details-page .blog-author-meta h6 {
    margin: 0 0 6px;
    font-family: var(--font-suse);
    font-size: 18px;
    font-weight: 600;
}

.news-insight-details-page .blog-author-meta h6 a {
    color: var(--title-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-insight-details-page .blog-author-meta h6 a:hover {
    color: var(--primary-color3);
}

.news-insight-details-page .blog-author-headline,
.news-insight-details-page .blog-author-role {
    margin: 0 0 4px;
    color: var(--text-color);
    font-family: var(--font-dmsans);
    font-size: 14px;
    line-height: 1.4;
}

.news-insight-details-page .blog-author-profile {
    display: inline-block;
    margin-top: 8px;
    color: var(--primary-color3);
    font-family: var(--font-dmsans);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.news-insight-details-page .blog-author-profile:hover {
    text-decoration: underline;
}

.author-profile-page .author-profile-img img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    aspect-ratio: 4 / 5;
    max-height: 620px;
}

.author-profile-page .author-headline-lead {
    color: var(--title-color);
    font-family: var(--font-dmsans);
    font-size: 18px;
    line-height: 28px;
}

.author-profile-page .author-bio-body p {
    color: var(--text-color);
    font-family: var(--font-dmsans);
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 1rem;
}

.author-profile-page .author-bio-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .news-insight-details-page .blog-author-box {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

/* Related articles — equal card images */
.news-insight-details-page .related-blog-card {
    height: 100%;
    border: 1px solid var(--borders-color);
    border-radius: 10px;
    overflow: hidden;
    background: var(--white-color);
    transition: box-shadow 0.3s ease;
}

.news-insight-details-page .related-blog-card:hover {
    box-shadow: 0 12px 40px rgba(28, 26, 30, 0.08);
}

.news-insight-details-page .related-blog-card .blog-img {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.news-insight-details-page .related-blog-card .blog-img img {
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-insight-details-page .related-blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.news-insight-details-page .related-blog-card .blog-content {
    padding: 22px 18px 24px;
}

.news-insight-details-page .related-blog-card h4 {
    margin: 0;
    font-family: var(--font-suse);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.news-insight-details-page .related-blog-card h4 a {
    color: var(--title-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-insight-details-page .related-blog-card h4 a:hover {
    color: var(--primary-color3);
}

@media (max-width: 576px) {
    .news-insight-details-page .details-content-wrap .post-thumb {
        max-height: 240px;
        border-radius: 15px;
    }

    .news-insight-details-page .details-content-wrap .post-thumb img {
        border-radius: 15px;
    }

    .news-insight-page .blog-card2 .blog-img,
    .news-insight-page .blog-card2 .blog-img img {
        border-radius: 15px;
    }

    .news-insight-details-page .blog-article-body h2 {
        font-size: 22px;
    }

    .news-insight-details-page .blog-article-body h3 {
        font-size: 20px;
    }

    .news-insight-details-page .blog-article-body p,
    .news-insight-details-page .blog-excerpt {
        font-size: 17px;
    }
}

/* Pagination disabled state */
.pagination-area .paginations-button span.disabled {
    min-width: 88px;
    max-width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 1px solid var(--borders-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-color);
    font-family: var(--font-dmsans);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    opacity: 0.35;
    cursor: default;
}

.pagination-area .paginations-button span.disabled svg {
    fill: none;
    stroke: var(--text-color);
}

@media (max-width: 576px) {
    .pagination-area .paginations-button span.disabled {
        min-width: 60px;
        max-width: 60px;
        height: 60px;
        font-size: 14px;
    }
}
