.blog-sidebar-enhanced .search-form {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.blog-sidebar-enhanced .blog-ribbon-search {
    width: 100%;
    min-width: 0;
    flex: 1 1 auto;
}

.blog-article-page {
    padding: 48px 0 76px;
}

.blog-article-container {
    max-width: 1320px;
}

.blog-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px; /* Adjust layout width spacing */
    gap: 40px;
    align-items: start; /* Prevents sidebar from stretching downward */
    position: relative;
    width: 100%;
}

.blog-article {
    min-width: 0;
    color: #23344e;
}

.blog-article-header {
    margin-bottom: 24px;
}

.blog-article-eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 16px;
    margin-bottom: 15px;
    color: #66758a;
    font-size: 14px;
}

.blog-article-eyebrow > * + *::before {
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 12px 3px 0;
    border-radius: 50%;
    background: #98a7bb;
    content: "";
}

.blog-article-category {
    padding: 6px 12px;
    border-radius: 999px;
    background: #edf4ff;
    color: #0758d5;
    font-weight: 700;
}

.blog-article-category::before {
    display: none !important;
}

.blog-article-header h1,
.blog-article-header h2 {
    max-width: 980px;
    margin: 0;
    color: #071d49;
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
}

.blog-article-summary {
    max-width: 78ch;
    margin-top: 20px;
    color: #52647d;
    font-size: 18px;
    line-height: 1.65;
}

.blog-article-summary > :last-child {
    margin-bottom: 0;
}

.blog-article-featured {
    margin: 28px 0 34px;
}

.blog-article-featured img {
    display: block;
    width: 100%;
    max-height: 520px;
    border-radius: 16px;
    object-fit: cover;
}

.blog-article-body {
    max-width: 82ch;
    color: #263a56;
    font-size: 17px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.blog-article-body p {
    margin: 0 0 1.25em;
}

.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
    color: #071d49;
    font-weight: 700;
    line-height: 1.3;
    scroll-margin-top: 110px;
}

.blog-article-body h2 {
    margin: 1.8em 0 0.65em;
    font-size: 30px;
}

.blog-article-body h3 {
    margin: 1.55em 0 0.55em;
    font-size: 23px;
}

.blog-article-body h4 {
    margin: 1.4em 0 0.5em;
    font-size: 19px;
}

.blog-article-body ul,
.blog-article-body ol {
    margin: 0 0 1.35em;
    padding-left: 1.5em;
}

.blog-article-body li {
    margin: 0.35em 0;
}

.blog-article-body a {
    color: #0758d5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-article-body figure.image {
    display: table;
    max-width: 100%;
    margin: 1.4em auto;
}

.blog-article-body figure.image.image_resized {
    display: block;
    box-sizing: border-box;
}

.blog-article-body figure.image img,
.blog-article-body > img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.blog-article-body figure.image.image-style-side,
.blog-article-body figure.image.image-style-align-right {
    float: right;
    margin: 0.35em 0 1em 1.5em;
}

.blog-article-body figure.image.image-style-side {
    max-width: 50%;
}

.blog-article-body figure.image.image-style-align-left {
    float: left;
    margin: 0.35em 1.5em 1em 0;
}

.blog-article-body figure.image.image-style-block-align-right {
    margin-left: auto;
    margin-right: 0;
}

.blog-article-body figure.image.image-style-block-align-left {
    margin-left: 0;
    margin-right: auto;
}

.blog-article-body figure.image.image-style-align-center {
    float: none;
    margin-left: auto;
    margin-right: auto;
}

.blog-article-body figure.image figcaption {
    padding: 8px 4px 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.blog-article-body blockquote {
    margin: 1.5em 0;
    padding: 14px 20px;
    border-left: 4px solid #0758d5;
    background: #f3f7fd;
    color: #435873;
}

.blog-article-body table {
    display: block;
    width: 100%;
    margin: 1.5em 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.blog-article-body th,
.blog-article-body td {
    min-width: 110px;
    padding: 10px 12px;
    border: 1px solid #dbe3ee;
    text-align: left;
}

.blog-article-body th {
    background: #f0f4fa;
    color: #071d49;
}

.blog-article-body pre {
    max-width: 100%;
    overflow-x: auto;
}

.blog-article-toc {
    max-width: 82ch;
    margin: 0 0 30px;
    padding: 20px 24px;
    border: 1px solid #e0e8f2;
    border-radius: 12px;
    background: #f7f9fc;
}

.blog-article-toc h2 {
    margin: 0 0 10px;
    color: #071d49;
    font-size: 18px;
}

.blog-article-toc ol {
    margin: 0;
    padding-left: 20px;
}

.blog-article-toc li {
    margin: 6px 0;
    line-height: 1.45;
}

.blog-article-toc__level-3 {
    margin-left: 16px !important;
}

.blog-article-toc a {
    color: #0758d5;
    text-decoration: none;
}

.blog-article-toc a:hover {
    text-decoration: underline;
}

.blog-preview-notice {
    margin-bottom: 20px;
    padding: 12px 16px;
    border: 1px solid #f3c96b;
    border-radius: 8px;
    background: #fff8e6;
    color: #714d00;
    font-weight: 700;
}

.blog-article-sidebar {
    box-sizing: border-box;
    min-width: 0;
}

.blog-article-sidebar::-webkit-scrollbar {
    width: 6px;
}
.blog-article-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.blog-article-sidebar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.blog-article-sidebar .prt-bg.prt-col-bgcolor-yes.bg-base-grey {
    padding: 0;
    height: auto !important;
    background: transparent;
}

.blog-article-sidebar .widget {
    margin-bottom: 22px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(17, 40, 76, 0.05);
}

.blog-article-sidebar .widget-title-style01 {
    margin-bottom: 16px;
    color: #071d49;
    font-size: 19px;
}

.blog-article-sidebar .widget-post > li {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.blog-article-sidebar .widget-post > li:last-child {
    margin-bottom: 0;
}

.blog-article-sidebar .widget-post > li > a img {
    width: 76px;
    height: 62px;
    border-radius: 8px;
    object-fit: cover;
}

.blog-article-sidebar .post-detail > a {
    display: -webkit-box;
    overflow: hidden;
    color: #10284d;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-article-sidebar .post-detail .post-date {
    display: block;
    margin-bottom: 4px;
    color: #75839a;
    font-size: 12px;
}

.blog-article-sidebar .blog-category-widget li {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid #edf1f6;
}

.blog-article-sidebar .blog-category-widget li:last-child {
    border-bottom: 0;
}

.blog-article-sidebar .blog-contact-widget {
    margin-top: 30px;
}

.blog-article-sidebar .blog-sidebar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 14px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #0758d5;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.blog-article-sidebar .blog-sidebar-cta:hover {
    background: #071d49;
    color: #fff;
}

@media (min-width: 992px) {
    .blog-article {
        box-sizing: border-box;
        position: sticky;
        top: 100px;
        align-self: start;
        height: calc(100vh - 120px);
        padding: 28px;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 10px 32px rgba(17, 40, 76, 0.07);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
        scrollbar-color: #cbd5e1 transparent;
        scrollbar-width: thin;
    }

    .blog-article::-webkit-scrollbar {
        width: 6px;
    }

    .blog-article::-webkit-scrollbar-track {
        background: transparent;
    }

    .blog-article::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #cbd5e1;
    }

    .blog-article-sidebar {
        position: sticky !important;

        /* Distance from viewport top. Adjust this to match your header height precisely */
        top: 100px !important;

        /* Restricts sidebar height to fit perfectly inside the viewport screen frame */
        height: calc(100vh - 120px) !important;

        /* Activates a private inner sidebar scrollbar container */
        overflow-y: auto !important;
        overscroll-behavior: contain;

        align-self: start !important;
        box-sizing: border-box;
    }

    /*
       ⚠️ CRUCIAL STRUCTURAL RESET:
       Forces the inner theme wrapper layer container (with .h-100) to strip
       its stretched dimensions so it doesn't break the parent sticky frame.
    */
    .blog-article-sidebar .prt-bg.prt-col-bgcolor-yes.bg-base-grey {
        height: auto !important; /* Overrides .h-100 */
        max-height: none !important;
        overflow: visible !important;
        background: transparent !important; /* Strips grey block color background stretch */
        padding: 0 !important;
    }

    /* Ensures background layout layer graphics don't expand down the screen */
    .blog-article-sidebar .prt-col-wrapper-bg-layer,
    .blog-article-sidebar .prt-col-wrapper-bg-layer-inner {
        display: none !important;
    }
}

/* ========================================================
   3. SLEEK SCROLLBAR STYLING FOR SIDEBAR PANEL
   ======================================================== */
@media (min-width: 992px) {
    .blog-article-sidebar::-webkit-scrollbar {
        width: 6px;
    }
    .blog-article-sidebar::-webkit-scrollbar-track {
        background: transparent;
    }
    .blog-article-sidebar::-webkit-scrollbar-thumb {
        background-color: #cbd5e1;
        border-radius: 10px;
    }
}

.blog-article-sidebar .blog-article-toc summary {
    color: #0a214a;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    list-style: none;
}

.blog-article-sidebar .blog-article-toc summary::-webkit-details-marker {
    display: none;
}

.blog-article-sidebar .blog-article-toc summary::after {
    float: right;
    color: #0758d5;
    content: "+";
}

.blog-article-sidebar .blog-article-toc[open] summary {
    margin-bottom: 12px;
}

.blog-article-sidebar .blog-article-toc[open] summary::after {
    content: "\2212";
}

.blog-article-sidebar .blog-article-toc ol {
    margin: 0;
    padding-left: 20px;
}

.blog-article-sidebar .blog-article-toc li {
    margin: 7px 0;
    line-height: 1.45;
}

.blog-article-sidebar .blog-article-toc__level-3 {
    margin-left: 12px !important;
}

.blog-article-sidebar .blog-article-toc a {
    color: #52647d;
    text-decoration: none;
}

.blog-article-sidebar .blog-article-toc a:hover,
.blog-article-sidebar .blog-article-toc a[aria-current="location"] {
    color: #0758d5;
    font-weight: 700;
}

@media (max-width: 991px) {
    .blog-article-page {
        padding-top: 32px;
    }
    .blog-article-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }
    .blog-article-sidebar {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        overflow-y: visible !important;
    }
    .blog-article {
        position: static;
        height: auto;
        overflow: visible;
    }
    .blog-article-sidebar.blog-sidebar-enhanced > .prt-bg.prt-col-bgcolor-yes.bg-base-grey {
        position: static;
        height: auto !important;
        max-height: none;
        overflow: visible;
    }
    .blog-article-sidebar .blog-article-toc ol {
        padding-left: 20px;
    }
}

@media (max-width: 575px) {
    .blog-article-page {
        padding: 24px 0 48px;
    }

    .blog-article-header h1,
    .blog-article-header h2 {
        font-size: 32px;
    }

    .blog-article-summary {
        font-size: 16px;
    }

    .blog-article-body {
        font-size: 16px;
        line-height: 1.7;
    }

    .blog-article-body h2 {
        font-size: 26px;
    }

    .blog-article-body h3 {
        font-size: 21px;
    }

    .blog-article-body figure.image.image-style-side {
        float: none;
        max-width: 100%;
        margin: 1.2em auto;
    }

    .blog-article-body figure.image.image-style-align-right,
    .blog-article-body figure.image.image-style-align-left {
        float: none;
        max-width: 100%;
        margin: 1.2em auto;
    }

    .blog-article-toc {
        padding: 16px 18px;
    }
}

.blog-index-hero {
    position: relative;
    overflow: hidden;
    padding: 170px 0 64px;
    color: #fff;
    background:
        radial-gradient(
            circle at 82% 15%,
            rgba(20, 105, 223, 0.34),
            transparent 28%
        ),
        linear-gradient(118deg, #061947 0%, #092a67 55%, #061b4b 100%);
}

.blog-index-hero::before {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        rgba(255, 255, 255, 0.17) 0.8px,
        transparent 0.8px
    );
    background-size: 28px 28px;
    content: "";
    opacity: 0.24;
    pointer-events: none;
}

.blog-index-hero__inner {
    position: relative;
    z-index: 1;
}

.blog-index-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
}

.blog-index-hero__glow--one {
    top: -190px;
    right: 12%;
    width: 390px;
    height: 390px;
    background: rgba(0, 98, 220, 0.2);
}

.blog-index-hero__glow--two {
    bottom: -260px;
    left: 16%;
    width: 420px;
    height: 420px;
    background: rgba(21, 78, 170, 0.2);
}

.blog-index-breadcrumb {
    position: relative;
    z-index: 1;
    display: inline-block;
    vertical-align: top;
    margin-bottom: 20px;
    padding: 11px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--base-border-radius-30, 30px);
    background-color: rgba(0, 23, 70, 0.5);
    color: var(--base-white, #fff);
    font-family: var(--base-headingfont, inherit);
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    text-transform: capitalize;
}

.blog-index-breadcrumb a {
    color: #fff;
}

.blog-index-breadcrumb a:hover {
    color: var(--base-skin, #0758d5);
}

.blog-index-breadcrumb .prt-bread-sep {
    display: inline-block;
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.68);
}

.blog-index-breadcrumb .prt-bread-sep i {
    display: inline-block;
    color: var(--base-white, #fff);
    font-size: 12px;
}

.blog-index-hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: end;
    gap: 44px;
}

.blog-index-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #b8d8ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.blog-index-eyebrow > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a8ff;
    box-shadow: 0 0 0 5px rgba(40, 168, 255, 0.14);
}

.blog-index-hero h1 {
    max-width: 820px;
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(34px, 4.2vw, 56px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.12;
}

.blog-index-hero h1 em {
    color: #76bdff;
    font-style: normal;
}

.blog-index-hero__content > div:first-child > p {
    max-width: 670px;
    margin: 0;
    color: rgba(235, 243, 255, 0.82);
    font-size: 17px;
    line-height: 1.7;
}

.blog-index-hero__note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    background: rgba(4, 18, 48, 0.52);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    gap: 8px;
}

.blog-index-hero__note-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    border-radius: 10px;
    color: #fff;
    background: var(--base-skin, #0758d5);
    font-size: 18px;
}

.blog-index-hero__note-label {
    color: #b8d8ff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.blog-index-hero__note strong {
    color: #fff;
    font-size: 24px;
    line-height: 1.2;
}

.blog-index-hero__note > span:last-child {
    color: rgba(235, 243, 255, 0.72);
    font-size: 13px;
    line-height: 1.55;
}

.blog-topic-ribbon {
    position: relative;
    z-index: 2;
    padding: 16px 0;
    border-bottom: 1px solid #e4eaf3;
    background: #f0f4fb;
    box-shadow: 0 6px 16px rgba(12, 36, 78, 0.05);
}

.blog-topic-ribbon__inner {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
}

.blog-topic-carousel {
    display: flex !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    gap: 8px !important;
}

.blog-topic-carousel__wrapper {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}

/* Hardened arrow styles to prevent external theme interference */
.blog-topic-carousel__arrow {
    display: inline-flex !important;
    position: static !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #dce5f1 !important;
    border-radius: 50% !important;
    color: #1e3151 !important;
    background: #fff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    transform: none !important;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
    z-index: 2;
}

.blog-topic-carousel__arrow:not(:disabled):hover {
    border-color: var(--base-skin, #0758d5) !important;
    color: #fff !important;
    background: var(--base-skin, #0758d5) !important;
}

.blog-topic-carousel__arrow:focus-visible {
    outline: 2px solid var(--base-skin, #0758d5) !important;
    outline-offset: 2px !important;
}

.blog-topic-carousel__arrow:disabled {
    cursor: not-allowed !important;
    opacity: 0.25 !important;
    background-color: #f5f7fa !important;
    border-color: #e4eaf3 !important;
    color: #a0aec0 !important;
}

.blog-topic-pills {
    display: flex !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    padding: 2px 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: none !important;
}

.blog-topic-pills::-webkit-scrollbar {
    display: none !important;
}

.blog-topic-pill {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid #e1e8f2;
    border-radius: 999px;
    color: #1e3151;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    scroll-snap-align: start;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.blog-topic-pill:hover {
    border-color: var(--base-skin, #0758d5);
    color: var(--base-skin, #0758d5);
}

.blog-topic-pill.is-active {
    border-color: var(--base-skin, #0758d5);
    color: #fff;
    background: var(--base-skin, #0758d5);
}

.blog-topic-pill__count {
    margin-left: 8px;
    color: #73809a;
    font-size: 11px;
}

.blog-topic-pill.is-active .blog-topic-pill__count {
    color: rgba(255, 255, 255, 0.82);
}

.blog-ribbon-search {
    position: relative;
    display: flex;
    width: 260px;
    min-width: 220px;
    flex: 0 0 260px;
    align-items: center;
    gap: 9px;
    padding: 5px 6px 5px 13px;
    border: 1px solid #dfe6f0;
    border-radius: 999px;
    background: #fff;
    box-sizing: border-box;
}

.blog-ribbon-search > .fa-search {
    flex: 0 0 auto;
    color: #78869d;
}

.blog-ribbon-search > .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.blog-ribbon-search input {
    width: 100%;
    min-width: 0;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0;
    color: #1e3151;
    background: transparent;
    font-size: 12px;
    line-height: 30px;
    box-shadow: none !important;
}

.blog-ribbon-search input:focus {
    box-shadow: none;
}

.blog-ribbon-search button {
    display: inline-flex;
    position: static !important;
    width: 30px !important;
    height: 30px !important;
    flex: 0 0 30px;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50%;
    color: #fff;
    background: var(--base-skin, #0758d5);
    transform: none !important;
}

.blog-ribbon-search button:hover {
    background: #063f9d;
}

.blog-index-main {
    padding: 44px 0 72px;
    background: #f7f9fd;
}

.blog-featured-spotlight:empty {
    display: none;
}

.blog-featured-spotlight:not(:empty) {
    margin-bottom: 30px;
}

/* ==========================================================================
   1. Featured Spotlight Card Container & Layout
   ========================================================================== */
.blog-featured-spotlight > .blog-card--featured {
    transition:
        transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-featured-spotlight > .blog-card--featured .featured-imagebox {
    display: grid;
    min-height: 330px;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid #e4eaf2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(7, 28, 93, 0.08);
}

.blog-featured-spotlight > .blog-card--featured .featured-thumbnail {
    width: 100% !important;
    min-width: 0;
    min-height: 330px;
    overflow: hidden;
    position: relative;
    background: #0b2858;
    border-radius: 12px;
}

.blog-featured-spotlight > .blog-card--featured .featured-content-post {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(22px, 3vw, 38px);
}

.blog-featured-spotlight > .blog-card--featured .featured-title h3 {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.5vw, 30px);
    line-height: 1.28;
}

.blog-featured-spotlight > .blog-card--featured .blog-card-excerpt {
    font-size: 14px;
}

.blog-featured-spotlight > .blog-card--featured .prt-postbox-btn .prt-btn {
    min-height: 42px;
    padding: 11px 20px;
    border-radius: 999px;
    color: #fff;
    background: var(--base-skin, #0758d5);
}

/* ==========================================================================
   2. Feed Grid Thumbnails & Containers
   ========================================================================== */
.blog-feed-grid .blog-card .featured-thumbnail,
.blog-card .featured-thumbnail {
    width: 100% !important;
    min-width: 0;
    overflow: hidden;
    position: relative;
    background: #0b2858;
    border-radius: 10px;
}

/* ==========================================================================
   3. Universal Image Base Styles & Smooth Zoom Transition
   ========================================================================== */
.blog-featured-spotlight > .blog-card--featured .featured-thumbnail img {
    height: 100%;
    min-height: 330px;
    aspect-ratio: auto;
    border-radius: 0;
}

.blog-feed-grid .blog-card .featured-thumbnail img {
    height: auto;
    aspect-ratio: 1.7;
    border-radius: 0;
}

.blog-card .featured-thumbnail img {
    aspect-ratio: 1.35;
    border-radius: 10px;
}

.blog-featured-spotlight > .blog-card--featured .featured-thumbnail img,
.blog-feed-grid .blog-card .featured-thumbnail img,
.blog-card .featured-thumbnail img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   4. Unified Hover Effect (Triggers Zoom)
   ========================================================================== */
.blog-featured-spotlight > .blog-card--featured:hover .featured-thumbnail img,
.blog-feed-grid .blog-card:hover .featured-thumbnail img,
.blog-card:hover .featured-thumbnail img {
    transform: scale(1.06) !important;
}

.blog-index-layout {
    align-items: flex-start;
    margin-right: -15px;
    margin-left: -15px;
}

.blog-index-layout > .content-area,
.blog-index-layout > .blog-sidebar-enhanced {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.blog-index-layout > .content-area {
    padding-top: 0 !important;
}

.blog-index-feed {
    min-width: 0;
}

.blog-index-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
}

.blog-index-section-heading__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--base-skin, #0758d5);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.blog-index-section-heading h2 {
    margin: 0;
    color: #0a214a;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    scroll-margin-top: 105px;
}

.blog-index-section-heading__accent {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #6e7c95;
    font-size: 12px;
}

.blog-index-section-heading__accent i {
    color: var(--base-skin, #0758d5);
}

.blog-feed-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 20px;
}

.blog-feed-grid .blog-card {
    min-width: 0;
    margin: 0;
    display: flex;
    flex-direction: column;

    transition:
        transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-radius: 10px;
    overflow: hidden;
}

.blog-feed-grid .blog-card .featured-imagebox {
    display: flex;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border: 1px solid #e4eaf2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(7, 28, 93, 0.04);
    overflow: hidden;
}

.blog-sidebar-enhanced .search-form .input-text {
    flex: 1;
    min-width: 0;
    margin: 0;
}

.blog-sidebar-enhanced > .prt-bg {
    height: auto !important;
    padding: 0 !important;
    background: transparent !important;
}

.blog-sidebar-enhanced > .prt-bg > .prt-col-wrapper-bg-layer {
    display: none;
}

.blog-sidebar-enhanced > .prt-bg > .widget {
    margin: 0 0 18px;
    padding: 22px;
    border: 1px solid #e6ebf3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(12, 36, 78, 0.045);
}

.blog-sidebar-enhanced .widget-title-style01 {
    margin: 0 0 16px;
    color: #0a214a;
    font-size: 18px;
    font-weight: 700;
}

.blog-sidebar-enhanced .blog-category-widget ul li {
    margin: 0 0 5px;
    padding: 9px 10px;
    border-radius: 8px;
    color: #344562;
    font-size: 13px;
}

.blog-sidebar-enhanced .blog-category-widget ul li a {
    color: inherit;
}

.blog-sidebar-enhanced .blog-category-widget ul li > span {
    color: #74829a;
    font-size: 12px;
}

.blog-sidebar-enhanced .blog-sidebar-articles ul li {
    display: flex;
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px solid #edf0f5;
}

.blog-sidebar-enhanced .blog-sidebar-articles ul li:last-child {
    border-bottom: 0;
}

.blog-sidebar-enhanced .blog-sidebar-articles ul li .post-detail {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.blog-sidebar-enhanced .blog-sidebar-articles ul li .post-detail > a {
    display: -webkit-box;
    overflow: hidden;
    color: #152b4e;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.blog-sidebar-enhanced .blog-sidebar-articles ul li .post-date {
    color: #77849a;
    font-size: 11px;
}

.blog-sidebar-enhanced .search-form .btn {
    display: inline-flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 10px;
    color: #fff;
    background: var(--base-skin);
}

.blog-sidebar-enhanced .blog-category-widget ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.blog-sidebar-enhanced .blog-category-widget ul li a {
    flex: 1;
}

.blog-sidebar-enhanced .blog-category-widget ul li.active {
    background: var(--base-skin) !important;
}

.blog-sidebar-enhanced .blog-category-widget ul li.active a,
.blog-sidebar-enhanced .blog-category-widget ul li.active span {
    color: var(--base-grey) !important;
}

.blog-sidebar-enhanced .blog-category-widget ul li.active a:before {
    background: var(--base-grey) !important;
}

.blog-sidebar-enhanced .blog-sidebar-articles ul li {
    align-items: flex-start;
    gap: 12px;
}

.blog-sidebar-enhanced .blog-sidebar-articles ul li img {
    width: 76px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
}

.blog-sidebar-enhanced .blog-contact-widget {
    padding: 20px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(7, 28, 93, 0.06);
}

.blog-card .featured-imagebox {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 24px;
    overflow: hidden;
    padding: 18px;
    border: 1px solid #e4eaf2;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(7, 28, 93, 0.04);
}

.blog-feed-grid .blog-card .featured-content-post {
    display: flex;
    width: 100%;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
}

#latest_all_blog .blog-card .featured-content-post {
    padding: 18px;
}

/* Container Layout for the Labels */
.prt-blog-classic .featured-imagebox-post.style4 .featured-content-post .post-meta {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    background-color: transparent !important; /* Removes the old giant shared background */
    border: none !important;
    padding: 0 !important;
    margin-bottom: 16px !important;
    width: auto !important;
}

/* Base Shared Capsule Style Rules */
.prt-blog-classic .featured-imagebox-post.style4 .featured-content-post .post-meta .prt-meta-capsule {
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 4px 14px !important;
    border-radius: 30px !important;
    display: inline-flex !important;
    align-items: center !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Specific Style for Date Label (Static styling) */
.prt-blog-classic .featured-imagebox-post.style4 .featured-content-post .post-meta .post-date-capsule {
    background-color: rgba(0, 23, 70, 0.05) !important;
    border: 1px solid rgba(0, 23, 70, 0.1) !important;
    color: #001746 !important;
    cursor: default !important;
}

/* Specific Style for Category Label (Interactive Link Styling) */
.prt-blog-classic .featured-imagebox-post.style4 .featured-content-post .post-meta .post-category-capsule {
    background-color: #0056b3 !important; /* Vibrant theme blue matching your site elements */
    border: 1px solid #0056b3 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 86, 179, 0.15) !important;
}

/* Premium Hover Animation Effect for Category Label */
.prt-blog-classic .featured-imagebox-post.style4 .featured-content-post .post-meta .post-category-capsule:hover {
    background-color: #ffffff !important;
    color: #0056b3 !important;
    border-color: #0056b3 !important;
    transform: translateY(-2px) scale(1.03) !important; /* Smooth physical pop/lift effect */
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.25) !important; /* Adds depth shadow on hover */
}


#latest_all_blog
    .featured-imagebox-post.style4
    .featured-content-post
    .featured-title
    h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 9px;
    font-size: 18px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#latest_all_blog
    .featured-imagebox-post.style4
    .featured-content-post
    .featured-title
    h3
    a {
    -webkit-line-clamp: 2;
}

.blog-feed-grid .blog-card .blog-card-excerpt {
    margin: 0 0 14px;
    font-size: 13px;
    color: #5c677d;
    line-height: 1.65;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.blog-feed-grid .blog-card .prt-postbox-btn {
    margin-top: 0;
}

.blog-feed-grid .blog-card,
.blog-card {
    transition:
        transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-feed-grid > .blog-pagination,
.blog-feed-grid > .data_not_found {
    grid-column: 1 / -1;
}

.blog-feed-grid > .data_not_found {
    padding: 28px;
    border: 1px solid #e6ebf3;
    border-radius: 12px;
    background: #fff;
}

.blog-card .featured-content-post {
    min-width: 0;
}

.blog-card .featured-title h3 {
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-excerpt {
    color: #5c677d;
    line-height: 1.65;
}

/* Remove any legacy dark hover overlays or shadows on blog thumbnails */
.blog-featured-spotlight .blog-card--featured .featured-thumbnail::before,
.blog-featured-spotlight .blog-card--featured .featured-thumbnail::after,
.blog-feed-grid .blog-card .featured-thumbnail::before,
.blog-feed-grid .blog-card .featured-thumbnail::after,
.blog-card .featured-thumbnail::before,
.blog-card .featured-thumbnail::after {
    display: none !important;
    content: none !important;
    background: transparent !important;
}
@media (max-width: 767px) {
    .blog-index-hero {
        padding: 68px 0 42px;
    }

    .blog-index-breadcrumb {
        margin-bottom: 12px;
    }

    .blog-index-hero__content {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .blog-index-hero__note {
        max-width: 420px;
    }

    .blog-index-hero__content > div:first-child > p {
        font-size: 15px;
    }

    .blog-index-section-heading h2 {
        font-size: 22px;
    }

    .blog-index-section-heading__accent {
        display: none;
    }

    .blog-index-main {
        padding-top: 30px;
    }

    .blog-topic-ribbon__inner {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .blog-topic-carousel {
        width: 100%;
        flex: 0 0 auto;
    }

    .blog-ribbon-search {
        width: 100%;
        min-width: 0;
        flex: 0 0 auto;
    }

    .blog-feed-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .blog-card .featured-imagebox {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 14px;
    }

    .blog-featured-spotlight > .blog-card--featured .featured-imagebox {
        grid-template-columns: 1fr;
    }

    .blog-featured-spotlight > .blog-card--featured .featured-thumbnail,
    .blog-featured-spotlight > .blog-card--featured .featured-thumbnail img {
        min-height: 0;
    }

    .blog-featured-spotlight > .blog-card--featured .featured-thumbnail img {
        /* aspect-ratio: 1.65; */
        height: 100%;
        min-height: 330px;
        aspect-ratio: auto;
        border-radius: 0;
    }

    .blog-sidebar-enhanced {
        margin-top: 28px !important;
    }
}
