article header {
    margin-left: auto;
    margin-right: auto;
}

.post-tag {
    display: inline-block;
    font-size: 22px;
    font-family: var(--font2);
    line-height: 100%;
    margin-bottom: 16px;
}

.narrow-container .post-tag,
.vertical-post-header .post-tag {
    font-size: 20px;
}

.post-heading {
    font-family: var(--font2);
    font-weight: 400;
    line-height: 100%;
    margin-bottom: 29px;
}

.narrow-container .post-heading,
.vertical-post-header .post-heading {
    font-size: 62px;
}

.excerpt-and-authors-wrapper {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    column-gap: 5vw;
}

.post-excerpt-wrapper {
    max-width: 464px;
}

.full-width-post-excerpt-wrapper {
    max-width: 100% !important;
}

article p {
    font-size: 18px;
}

.post-main-image-wrapper {
    margin-top: 38px;
    width: 100%;
    position: relative;
}

.hero-content .section-padding-top {
    margin-top: 26px;
}

.no-image-container .post-hero-text-content {
    padding-bottom: 57px;
    border-bottom: 1px solid var(--text-color);
}

.vertical-post-header {
    margin-bottom: 19px;
}

.vertical-post-header .hero-content {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 42px;
    margin-top: 26px;
}

.vertical-post-image-left .hero-content {
    flex-direction: row-reverse;
}

.vertical-post-header .post-hero-text-content {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
    padding-bottom: 57px;
    border-top: 1px solid var(--text-color);
    border-bottom: 1px solid var(--text-color);
    margin-top: 0px !important;
}

.vertical-post-header .post-main-image-wrapper {
    display: flex;
    margin-top: 0px;
    min-height: 35vw;
    max-width: 31.2vw;
}

.vertical-post-header .post-main-image-wrapper figure {
    overflow: unset;
}

.vertical-post-header .post-hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.post-content-and-sidebar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.post-content-outer-without-sidebar {
    margin-left: auto;
    margin-right: auto;
}

.post-content {
    margin-top: 38px;
}

.post-sidebar {
    max-width: calc(31.2vw + 42px);
    width: 100%;
    padding-right: 42px;
    margin-top: 38px;
    position: sticky;
    margin-bottom: 25px;
}

.post-sidebar .extra-small-side-card-image-link {
    height: 10vw;
}

.sidebar-left {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.sidebar-left .post-sidebar {
    padding-left: 42px;
    padding-right: 0px;
}

.post-content-no-image {
    margin-top: 57px;
}

article[data-post-header-type="Narrow"][data-use-sidebar="true"] .post-main-image-wrapper-header {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}

article[data-use-sidebar="true"] .kg-width-full {
    max-width: 100% !important;
    position: relative !important;
    width: 100% !important;
    left: 0% !important;
    right: 0% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0px !important;
    border: none !important;
}

article[data-use-sidebar="true"] .kg-width-full .kg-signup-card-text {
    padding: 4.4vmax;
}

article[data-use-sidebar="true"] .kg-width-full .kg-header-card-text {
    padding:min(6.4vmax,120px) min(4vmax,80px);
}

article[data-use-sidebar="true"] .kg-layout-split .kg-signup-card-content,
article[data-use-sidebar="true"] .kg-layout-split .kg-header-card-content  {
    grid-template-columns: 1fr;
}

article[data-use-sidebar="true"] .kg-layout-split .kg-signup-card-content .kg-signup-card-image,
article[data-use-sidebar="true"] .kg-layout-split .kg-header-card-content .kg-header-card-image {
    height: auto;
}

.post-share {
    margin-top: 12px;
    width: fit-content;
}

.post-share-heading {
    line-height: 160%;
    font-weight: bold;
    font-size: 18px;
}

.post-share-icons {
    margin-top: 16px;
    gap: 32px;
    padding: 12px 18px;
    border: 1px solid var(--text-color);
    position: relative;
    display: flex !important;
}

.clipboard-alert {
    display: none;
    position: absolute;
    left: 0;
    bottom: -32px;
}

.comments-container {
    overflow: hidden;
}

.comments-container iframe[title="comments-frame"] {
    max-width: none !important;
    position: relative !important;
    width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    border-radius: 0px !important;
    border: none !important;
}

.post-upgrade-cta {
    width: 100%;
    padding: 5.8vw 8.6vw;
    text-align: center;
    border: 1px solid var(--text-color);
    background-color: var(--background-color);
    position: relative;
    z-index: 2;
}

.post-upgrade-cta h2 {
    line-height: 120%;
    font-size: 62px;
    max-width: 620px;
}

.post-upgrade-cta .button {
    text-decoration: none;
}

.post-upgrade-cta-paragraph {
    margin-top: calc(1.5vw * var(--scale));
    margin-bottom: calc(2.8vw * var(--scale));
    max-width: 620px;
}

.post-upgrade-cta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.under-button-wrapper {
    margin-top: calc(0.7vw * var(--scale));
}

.under-button-wrapper small {
    opacity: 1;
}

.under-button-wrapper span {
    opacity: 0.7;
}

.fading-content {
    position: relative;
}

.fading-content:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 35vh;
    background: linear-gradient(transparent, var(--background-color) 93%);
}

.fading-content + .post-upgrade-cta {
    filter: drop-shadow(0px 10px 30px var(--text-color-20));
}

article[data-post-header-type="Wide"][data-has-feature-image="true"] .post-excerpt-wrapper {
    max-width: 600px;
}

/* Styles for large desktop */
@media (min-width: 1439px) { 
    .post-tag {
        font-size: calc(1.53vw * var(--scale));
        margin-bottom: calc(1.11vw * var(--scale));
    }

    .narrow-container .post-tag,
    .vertical-post-header .post-tag  {
        font-size: calc(1.39vw * var(--scale));
    }
    
    .post-heading {
        font-size: calc(5vw * var(--scale));
        margin-bottom: calc(2.01vw * var(--scale));
    }

    .narrow-container .post-heading,
    .vertical-post-header .post-heading {
        font-size: calc(4.31vw * var(--scale));
    }
    
    .post-excerpt-wrapper {
        max-width: calc(32.2vw * var(--scale));       
    }

    article p {
        font-size: calc(1.25vw * var(--scale));
    }
    
    .post-main-image-wrapper {
        margin-top: calc(2.64vw * var(--scale));
    }

    .hero-content .section-padding-top {
        margin-top: calc(1.81vw * var(--scale));
    }

    .no-image-container .post-hero-text-content {
        padding-bottom: calc(3.96vw * var(--scale));
    }

    .vertical-post-header {
        margin-bottom: calc(1.32vw * var(--scale));
    }

    .vertical-post-header .hero-content {
        gap: 2.92vw;
        margin-top: calc(1.81vw * var(--scale));
    }
    
    .vertical-post-header .post-hero-text-content {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
        padding-bottom: calc(3.96vw * var(--scale));
    }
    
    .vertical-post-header .post-main-image-wrapper {
        margin-top: 0px;
    }

    .post-content {
        margin-top: calc(2.64vw * var(--scale));
    }
    
    .post-sidebar {
        max-width: 34.12vw;
        padding-right: 2.92vw;
        margin-top: calc(2.64vw * var(--scale));
        margin-bottom: calc(1.74vw * var(--scale));
    }

    .sidebar-left .post-sidebar {
        padding-left: 2.92vw;
        padding-right: 0px;
    }

    .post-content-no-image {
        margin-top: calc(3.96vw * var(--scale));
    }

    .post-share {
        margin-top: calc(0.83vw * var(--scale));
    }
    
    .post-share-heading {
        font-size: calc(1.25vw * var(--scale));
    }
    
    .post-share-icons {
        margin-top: calc(1.11vw * var(--scale));
        gap: calc(2.22vw * var(--scale));
        padding: calc(0.83vw * var(--scale)) calc(1.25vw * var(--scale));;
    }
    
    .clipboard-alert {
        bottom: calc(-2.22vw * var(--scale));
    }

    .post-upgrade-cta h2 {
        font-size: calc(4.31vw * var(--scale));
        max-width: calc(43vw * var(--scale));
    }

    .post-upgrade-cta-paragraph {
        max-width: calc(43vw * var(--scale));
    }

    article[data-post-header-type="Wide"][data-has-feature-image="true"] .post-excerpt-wrapper {
        max-width: calc(41.7vw * var(--scale));
    }
}

/* Styles for tablet */
@media (max-width: 991px) { 
    .post-heading,
    .narrow-container .post-heading,
    .vertical-post-header .post-heading {
        font-size: 48px;
        margin-bottom: 22px;
    }

    .post-heading {
        line-height: 105%;
    }

    .post-tag,
    .narrow-container .post-tag,
    .vertical-post-header .post-tag {
        font-size: 20px;
    }

    .excerpt-and-authors-wrapper {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-content .section-padding-top {
        padding-top: 68px;
        border-top: 1px solid var(--text-color);
    }

    .no-image-container .post-hero-text-content {
        padding-bottom: 68px;
    }

    .vertical-post-header {
        margin-bottom: 0px;
    }

    .vertical-post-header .hero-content {
        display: block;
        gap: 0px;
    }
    
    .vertical-post-header .post-hero-text-content {
        min-width: unset;
        width: 100%;
        padding-bottom: 0px;
        border-bottom: none;
    }
    
    .vertical-post-header .post-main-image-wrapper {
        display: flex;
        margin-top: 26px;
        min-height: 35vw;
    }
    
    .vertical-post-header .post-main-image-wrapper figure {
        overflow: unset;
    }
    
    .vertical-post-header .post-hero-text-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .vertical-post-header .post-main-image-wrapper {
        margin-top: 38px;
    }

    .vertical-post-header .post-main-image-wrapper {
        max-width: 100%;
    }

    .post-content-no-image {
        margin-top: 68px;
    }

    .sidebar-related-articles {
        display: none !important;
    }

    .post-content-and-sidebar {
        flex-direction: column;
    }

    .post-sidebar {
        position: static;
        min-width: 100%;
        width: 100%;
        order: -1;
        padding-left: 30px !important;
        padding-right: 30px !important;
        margin-bottom: 0px;
    }

    .toc-heading {
        font-size: 24px;
    }

    article[data-post-header-type="Narrow"][data-use-sidebar="true"] .post-main-image-wrapper-header {
        display: block;
    }

    article .post-main-image-wrapper-content {
        display: none;
    }

    article[data-use-sidebar="true"] .kg-width-full {
        max-width: none !important;
        position: relative !important;
        width: 100vw !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        border-radius: 0px !important;
        border: none !important;
    }

    article .post-content-and-sidebar {
        overflow: hidden;
    }

    .comments-container iframe[title="comments-frame"] {
        max-width: 100% !important;
        width: 100% !important;
        left: 0% !important;
        right: 0% !important;
        margin-left: 0vw !important;
        margin-right: 0vw !important;
    }

    .post-upgrade-cta {
        padding: 72px 52px;
    }

    .post-upgrade-cta h2 {
        font-size: 54px;
    }
    
    .post-upgrade-cta-paragraph {
        margin-top: 22px;
        margin-bottom: 32px;
    }
    
    .under-button-wrapper {
        margin-top: 8px;
    }

    article[data-post-header-type="Wide"][data-has-feature-image="true"] .post-excerpt-wrapper {
        max-width: 464px;
    }
}

/* Styles for mobile */
@media (max-width: 479px) { 
    .post-tag,
    .narrow-container .post-tag,
    .vertical-post-header .post-tag {
        font-size: 18px;
        margin-bottom: 11px;
    }
    
    .post-heading,
    .narrow-container .post-heading,
    .vertical-post-header .post-heading {
        line-height: 110%;
        font-size: 36px;
        margin-bottom: 16px;
    }
    
    article p {
        font-size: 16px;
    }
    
    .post-main-image-wrapper {
        margin-top: 32px;
    }

    .hero-content .section-padding-top {
        margin-top: 20px;
        padding-top: 56px;
    }

    .no-image-container .post-hero-text-content {
        padding-bottom: 56px;
    }

    .vertical-post-header .post-main-image-wrapper {
        margin-top: 32px;
    }

    .vertical-post-header .hero-content {
        margin-top: 20px;
    }

    .post-content {
        margin-top: 32px;
    }

    .post-content-no-image {
        margin-top: 56px;
    }

    .post-sidebar {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .post-share {
        margin-top: 6px;
    }
    
    .post-share-heading {
        font-size: 16px;
    }
    
    .post-share-icons {
        margin-top: 12px;
    }
    
    .clipboard-alert {
        bottom: -30px;
    }

    .post-upgrade-cta {
        padding: 64px 32px;
    }

    .post-upgrade-cta h2 {
        font-size: 36px;
    }
    
    .post-upgrade-cta-paragraph {
        margin-top: 16px;
        margin-bottom: 26px;
    }
}


/* Preview-only styles: enabled by URL param preview_style=a|b (body class injected by post.hbs) */
body.io-preview-a article[data-post-header-type="Narrow"] .hero-content {
    padding: 22px 24px 18px !important;
    border: 1px solid #e4e8ee !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05) !important;
}
body.io-preview-a article[data-post-header-type="Narrow"] .hero-content .section-padding-top {
    margin-top: 0 !important;
    padding-top: 8px !important;
    border-top: 0 !important;
}
body.io-preview-a article[data-post-header-type="Narrow"] .post-tag {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    margin-bottom: 12px !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    border: 1px solid #d5dde6 !important;
    background: #f6f8fa !important;
}
body.io-preview-a article[data-post-header-type="Narrow"] .post-heading {
    margin: 0 0 10px 0 !important;
    font-size: clamp(32px, 3.6vw, 56px) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.015em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
body.io-preview-a article[data-post-header-type="Narrow"] .excerpt-and-authors-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
}
body.io-preview-a article[data-post-header-type="Narrow"] .post-excerpt-wrapper {
    max-width: none !important;
    width: 100% !important;
    border-left: 3px solid #0f172a !important;
    padding-left: 12px !important;
}
body.io-preview-a article[data-post-header-type="Narrow"] .post-excerpt-wrapper p {
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: #334155 !important;
}
/* Global Article Style (applies to all post pages, homepage untouched) */
article[data-post-header-type="Narrow"] .hero-content {
    padding: 22px 24px 18px !important;
    border: 1px solid #e4e8ee !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfd 100%) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05) !important;
}

article[data-post-header-type="Narrow"] .hero-content .section-padding-top {
    margin-top: 0 !important;
    padding-top: 8px !important;
    border-top: 0 !important;
}

article[data-post-header-type="Narrow"] .post-tag {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    margin-bottom: 12px !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    border: 1px solid #d5dde6 !important;
    background: #f6f8fa !important;
}

article[data-post-header-type="Narrow"] .post-heading {
    margin: 0 0 10px 0 !important;
    font-size: clamp(32px, 3.6vw, 56px) !important;
    line-height: 1.14 !important;
    letter-spacing: -0.015em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

article[data-post-header-type="Narrow"] .excerpt-and-authors-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper {
    max-width: none !important;
    width: 100% !important;
    border-left: 3px solid #0f172a !important;
    padding-left: 12px !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper p {
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    color: #334155 !important;
}

article[data-post-header-type="Narrow"] .post-author-images { display: none !important; }

article[data-post-header-type="Narrow"] .post-authors-text {
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
}

article[data-post-header-type="Narrow"] .post-author-name,
article[data-post-header-type="Narrow"] .post-author-name a {
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
}

article[data-post-header-type="Narrow"] .date-small-text {
    font-size: 12px !important;
    color: #64748b !important;
}

article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    max-height: 180px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    background: #f8fafc !important;
}

article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header .post-main-image,
article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header figure {
    height: 100% !important;
}

article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

article[data-post-header-type="Narrow"] .post-content {
    margin-top: 16px !important;
}

article[data-post-header-type="Narrow"] .post-content p,
article[data-post-header-type="Narrow"] .post-content li {
    font-size: 19px !important;
    line-height: 1.9 !important;
    color: #0f172a !important;
}

article[data-post-header-type="Narrow"] .post-share-icons {
    border-radius: 10px !important;
    border: 1px solid #d6dde6 !important;
    background: #f8fbfd !important;
}

@media (max-width: 991px) {
    article[data-post-header-type="Narrow"] .hero-content { padding: 16px 14px 14px !important; }
    article[data-post-header-type="Narrow"] .post-heading { font-size: 30px !important; }
    article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header { max-height: 128px !important; }
    article[data-post-header-type="Narrow"] .post-content p,
    article[data-post-header-type="Narrow"] .post-content li { font-size: 17px !important; line-height: 1.8 !important; }
}

@media (max-width: 479px) {
    article[data-post-header-type="Narrow"] .post-heading { font-size: 26px !important; }
    article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header { max-height: 108px !important; }
    article[data-post-header-type="Narrow"] .post-content p,
    article[data-post-header-type="Narrow"] .post-content li { font-size: 16px !important; }
}

/* Stability Patch: long-title + in-content image overlap guard */
article[data-post-header-type="Narrow"] .post-heading {
    -webkit-line-clamp: 2 !important;
    font-size: clamp(28px, 3.1vw, 46px) !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
}

article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header {
    max-height: 132px !important;
}

article[data-post-header-type="Narrow"] .post-content figure,
article[data-post-header-type="Narrow"] .post-content .kg-image-card,
article[data-post-header-type="Narrow"] .post-content img {
    position: static !important;
    z-index: auto !important;
    float: none !important;
    clear: both !important;
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 14px 0 !important;
}

article[data-post-header-type="Narrow"] .post-content .kg-width-full,
article[data-post-header-type="Narrow"] .post-content .kg-width-wide {
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    right: auto !important;
    margin: 14px 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

.related-post-wrapper .horizontal-card {
    align-items: flex-start !important;
}

.related-post-wrapper .small-card-heading {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.related-post-wrapper .horizontal-card-image-link {
    width: 36% !important;
    min-width: 36% !important;
}

.related-post-wrapper .horizontal-card-image-link .small-card-image-wrapper {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
}

@media (max-width: 991px) {
    article[data-post-header-type="Narrow"] .post-heading {
        font-size: 26px !important;
    }

    article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header {
        max-height: 104px !important;
    }

    .related-post-wrapper .horizontal-card-image-link {
        width: 42% !important;
        min-width: 42% !important;
    }
}

@media (max-width: 479px) {
    article[data-post-header-type="Narrow"] .post-heading {
        font-size: 23px !important;
    }

    article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header {
        max-height: 88px !important;
    }

    .related-post-wrapper .horizontal-card {
        gap: 14px !important;
    }

    .related-post-wrapper .horizontal-card-image-link {
        width: 44% !important;
        min-width: 44% !important;
    }
}

/* Stability Patch v2: long-title + mid-image overlap hardening */
article[data-post-header-type="Narrow"] .hero-content {
    overflow: hidden !important;
}

article[data-post-header-type="Narrow"] .post-hero-text-content {
    min-width: 0 !important;
}

article[data-post-header-type="Narrow"] .post-heading,
article[data-post-header-type="Narrow"] .post-heading a {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    hyphens: auto !important;
}

article[data-post-header-type="Narrow"] .post-content,
article[data-post-header-type="Narrow"] .related-posts {
    position: relative !important;
    z-index: 1 !important;
    clear: both !important;
}

article[data-post-header-type="Narrow"] .post-content figure,
article[data-post-header-type="Narrow"] .post-content .kg-image-card,
article[data-post-header-type="Narrow"] .post-content .kg-width-wide,
article[data-post-header-type="Narrow"] .post-content .kg-width-full {
    display: block !important;
    float: none !important;
    clear: both !important;
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 16px 0 !important;
}

article[data-post-header-type="Narrow"] .post-content .kg-width-full {
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}

article[data-post-header-type="Narrow"] .post-content figure img,
article[data-post-header-type="Narrow"] .post-content .kg-image-card img,
article[data-post-header-type="Narrow"] .post-content .kg-width-wide img,
article[data-post-header-type="Narrow"] .post-content .kg-width-full img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.related-post-wrapper .horizontal-card-inner {
    min-width: 0 !important;
}

.related-post-wrapper .small-card-heading {
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    line-height: 1.45 !important;
}

@media (max-width: 991px) {
    article[data-post-header-type="Narrow"] .hero-content {
        padding: 14px 12px 12px !important;
    }

    article[data-post-header-type="Narrow"] .post-heading {
        -webkit-line-clamp: 2 !important;
        font-size: 24px !important;
        line-height: 1.22 !important;
    }

    article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header {
        max-height: 92px !important;
    }

    .related-post-wrapper .horizontal-card {
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .related-post-wrapper .horizontal-card-image-link {
        width: 40% !important;
        min-width: 40% !important;
    }
}

@media (max-width: 479px) {
    article[data-post-header-type="Narrow"] .post-heading {
        font-size: 21px !important;
    }

    article[data-post-header-type="Narrow"] .post-content p,
    article[data-post-header-type="Narrow"] .post-content li {
        font-size: 15px !important;
        line-height: 1.8 !important;
    }

    .related-post-wrapper .horizontal-card-image-link {
        width: 38% !important;
        min-width: 38% !important;
    }
}

/* Professional Article Layout v3 (post pages only) */
article[data-post-header-type="Narrow"][data-has-feature-image="true"] .hero-content {
    position: relative !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
    position: relative !important;
    margin: 0 !important;
    min-height: clamp(220px, 35vw, 420px) !important;
    max-height: none !important;
    border-radius: 18px !important;
    border: 1px solid #dbe4ee !important;
    overflow: hidden !important;
    background: #0b1220 !important;
    box-shadow: 0 24px 48px rgba(2, 6, 23, 0.22) !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.04) 0%, rgba(2, 6, 23, 0.6) 78%, rgba(2, 6, 23, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header .post-main-image,
article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header figure {
    width: 100% !important;
    height: 100% !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-hero-text-content {
    position: absolute !important;
    left: clamp(14px, 2.4vw, 26px) !important;
    right: clamp(14px, 2.4vw, 26px) !important;
    bottom: clamp(14px, 2.2vw, 26px) !important;
    z-index: 2 !important;
    margin: 0 !important;
    padding: clamp(12px, 1.8vw, 20px) !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.74) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.93) 0%, rgba(247, 250, 252, 0.88) 100%) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 28px rgba(2, 6, 23, 0.24) !important;
    min-width: 0 !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-heading {
    margin: 0 0 8px 0 !important;
    font-size: clamp(24px, 2.7vw, 42px) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.012em !important;
    color: #0f172a !important;
    -webkit-line-clamp: 2 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-excerpt-wrapper {
    width: 100% !important;
    border-left: 3px solid #0f172a !important;
    padding-left: 10px !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-excerpt-wrapper p {
    margin: 0 !important;
    font-size: clamp(14px, 1.2vw, 17px) !important;
    line-height: 1.65 !important;
    color: #334155 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-authors {
    margin-top: 8px !important;
}

article[data-post-header-type="Narrow"] .post-content-outer {
    margin-top: 20px !important;
    padding: clamp(16px, 2.1vw, 30px) clamp(14px, 2vw, 30px) !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

article[data-post-header-type="Narrow"] .post-content {
    margin-top: 0 !important;
}

article[data-post-header-type="Narrow"] .post-content > p:first-child {
    font-size: clamp(17px, 1.45vw, 21px) !important;
    line-height: 1.88 !important;
    color: #0f172a !important;
}

article[data-post-header-type="Narrow"] .post-content p,
article[data-post-header-type="Narrow"] .post-content li {
    font-size: clamp(16px, 1.3vw, 19px) !important;
    line-height: 1.88 !important;
    color: #0f172a !important;
}

article[data-post-header-type="Narrow"] .related-posts {
    margin-top: 14px !important;
}

article[data-post-header-type="Narrow"] .related-post-wrapper .horizontal-card {
    border: 1px solid #e5ebf2 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05) !important;
    padding: 12px !important;
}

@media (max-width: 991px) {
    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
        min-height: 240px !important;
    }

    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-heading {
        font-size: 23px !important;
    }

    article[data-post-header-type="Narrow"] .post-content-outer {
        margin-top: 16px !important;
        padding: 14px !important;
        border-radius: 12px !important;
    }
}

@media (max-width: 479px) {
    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
        min-height: 220px !important;
    }

    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-hero-text-content {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        padding: 10px !important;
        border-radius: 10px !important;
    }

    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-heading {
        font-size: 20px !important;
        -webkit-line-clamp: 3 !important;
    }

    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-excerpt-wrapper p {
        font-size: 14px !important;
        -webkit-line-clamp: 2 !important;
    }

    article[data-post-header-type="Narrow"] .post-content p,
    article[data-post-header-type="Narrow"] .post-content li {
        font-size: 15px !important;
        line-height: 1.82 !important;
    }
}

/* =========================================================
   Preview Style A (Glass Hero)
   Use: ?preview_style=a
   ========================================================= */
body.io-preview-a article[data-post-header-type="Narrow"][data-has-feature-image="true"] .hero-content {
    position: relative !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body.io-preview-a article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
    margin: 0 !important;
    min-height: clamp(240px, 36vw, 460px) !important;
    border-radius: 20px !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    background: #0b1220 !important;
    box-shadow: 0 30px 50px rgba(2, 6, 23, 0.28) !important;
}

body.io-preview-a article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(2, 6, 23, 0.06) 0%, rgba(2, 6, 23, 0.52) 72%, rgba(2, 6, 23, 0.74) 100%);
}

body.io-preview-a article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

body.io-preview-a article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-hero-text-content {
    position: absolute !important;
    left: clamp(14px, 2.5vw, 28px) !important;
    right: clamp(14px, 2.5vw, 28px) !important;
    bottom: clamp(14px, 2.5vw, 28px) !important;
    z-index: 2 !important;
    margin: 0 !important;
    padding: clamp(12px, 1.8vw, 22px) !important;
    border-radius: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.24) !important;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.46) 0%, rgba(15, 23, 42, 0.68) 100%) !important;
    box-shadow: 0 8px 26px rgba(2, 6, 23, 0.34) !important;
    backdrop-filter: blur(8px);
}

body.io-preview-a article[data-post-header-type="Narrow"] .post-heading {
    margin: 0 0 8px 0 !important;
    font-size: clamp(24px, 2.8vw, 43px) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.012em !important;
    color: #f8fafc !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
}

body.io-preview-a article[data-post-header-type="Narrow"] .post-excerpt-wrapper {
    width: 100% !important;
    border-left: 3px solid rgba(226, 232, 240, 0.9) !important;
    padding-left: 10px !important;
}

body.io-preview-a article[data-post-header-type="Narrow"] .post-excerpt-wrapper p {
    margin: 0 !important;
    font-size: clamp(14px, 1.2vw, 17px) !important;
    line-height: 1.65 !important;
    color: #e2e8f0 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
}

body.io-preview-a article[data-post-header-type="Narrow"] .post-author-name,
body.io-preview-a article[data-post-header-type="Narrow"] .post-author-name a,
body.io-preview-a article[data-post-header-type="Narrow"] .date-small-text {
    color: #cbd5e1 !important;
}

body.io-preview-a article[data-post-header-type="Narrow"] .post-content-outer {
    margin-top: 22px !important;
    padding: clamp(16px, 2.1vw, 30px) clamp(14px, 2vw, 30px) !important;
    border: 1px solid #dbe4ee !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07) !important;
}

body.io-preview-a article[data-post-header-type="Narrow"] .related-post-wrapper .horizontal-card {
    border-radius: 14px !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
}

@media (max-width: 991px) {
    body.io-preview-a article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
        min-height: 230px !important;
    }

    body.io-preview-a article[data-post-header-type="Narrow"] .post-heading {
        font-size: 23px !important;
    }
}

@media (max-width: 479px) {
    body.io-preview-a article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-hero-text-content {
        left: 10px !important;
        right: 10px !important;
        bottom: 10px !important;
        padding: 10px !important;
    }

    body.io-preview-a article[data-post-header-type="Narrow"] .post-heading {
        font-size: 20px !important;
        -webkit-line-clamp: 3 !important;
    }
}

/* =========================================================
   Preview Style B (Magazine Split)
   Use: ?preview_style=b
   ========================================================= */
body.io-preview-b article[data-post-header-type="Narrow"][data-has-feature-image="true"] .hero-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important;
    align-items: stretch !important;
    gap: clamp(14px, 2vw, 22px) !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.io-preview-b article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-hero-text-content {
    position: static !important;
    margin: 0 !important;
    padding: clamp(16px, 2vw, 24px) !important;
    border-radius: 16px !important;
    border: 1px solid #d8e2ed !important;
    border-top: 4px solid #0f172a !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
}

body.io-preview-b article[data-post-header-type="Narrow"] .post-heading {
    margin: 0 0 12px 0 !important;
    font-size: clamp(26px, 2.8vw, 45px) !important;
    line-height: 1.22 !important;
    color: #0f172a !important;
    letter-spacing: -0.014em !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
}

body.io-preview-b article[data-post-header-type="Narrow"] .post-excerpt-wrapper {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px dashed #c9d5e3 !important;
    border-radius: 10px !important;
    background: #f8fbff !important;
}

body.io-preview-b article[data-post-header-type="Narrow"] .post-excerpt-wrapper p {
    margin: 0 !important;
    font-size: clamp(14px, 1.15vw, 17px) !important;
    line-height: 1.68 !important;
    color: #334155 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
}

body.io-preview-b article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
    margin: 0 !important;
    min-height: clamp(240px, 34vw, 420px) !important;
    max-height: none !important;
    border-radius: 16px !important;
    border: 1px solid #dbe4ee !important;
    background: #f8fafc !important;
    overflow: hidden !important;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08) !important;
}

body.io-preview-b article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

body.io-preview-b article[data-post-header-type="Narrow"] .post-content-outer {
    margin-top: 24px !important;
    padding: clamp(16px, 2.1vw, 30px) clamp(14px, 2vw, 30px) !important;
    border: 1px solid #e5ebf2 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
}

body.io-preview-b article[data-post-header-type="Narrow"] .post-content p,
body.io-preview-b article[data-post-header-type="Narrow"] .post-content li {
    font-size: clamp(16px, 1.2vw, 19px) !important;
    line-height: 1.86 !important;
}

body.io-preview-b article[data-post-header-type="Narrow"] .related-post-wrapper .horizontal-card {
    border: 1px solid #e5ebf2 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

@media (max-width: 991px) {
    body.io-preview-b article[data-post-header-type="Narrow"][data-has-feature-image="true"] .hero-content {
        grid-template-columns: 1fr !important;
    }

    body.io-preview-b article[data-post-header-type="Narrow"] .post-heading {
        font-size: 23px !important;
        -webkit-line-clamp: 2 !important;
    }

    body.io-preview-b article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
        min-height: 220px !important;
    }
}

@media (max-width: 479px) {
    body.io-preview-b article[data-post-header-type="Narrow"] .post-hero-text-content {
        padding: 12px !important;
    }

    body.io-preview-b article[data-post-header-type="Narrow"] .post-heading {
        font-size: 20px !important;
    }

    body.io-preview-b article[data-post-header-type="Narrow"] .post-content p,
    body.io-preview-b article[data-post-header-type="Narrow"] .post-content li {
        font-size: 15px !important;
        line-height: 1.8 !important;
    }
}

/* =========================================================
   Executive Fold Layout (default post pages)
   Goal: title + image + main content visible at first screen
   ========================================================= */
article[data-post-header-type="Narrow"] > header.hero {
    margin-bottom: 0 !important;
}

article[data-post-header-type="Narrow"] .hero-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

article[data-post-header-type="Narrow"] .post-hero-text-content {
    order: 1 !important;
    position: static !important;
    margin: 0 !important;
    padding: clamp(12px, 1.7vw, 20px) !important;
    border-radius: 14px !important;
    border: 1px solid #dbe4ee !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
}

article[data-post-header-type="Narrow"] .post-heading {
    margin: 0 0 8px 0 !important;
    font-size: clamp(30px, 2.7vw, 46px) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.014em !important;
    color: #0f172a !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper {
    width: 100% !important;
    border-left: 3px solid #0f172a !important;
    padding-left: 10px !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper p {
    margin: 0 !important;
    font-size: clamp(14px, 1.1vw, 17px) !important;
    line-height: 1.62 !important;
    color: #334155 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
}

article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header {
    order: 2 !important;
    margin: 0 !important;
    min-height: 120px !important;
    max-height: 180px !important;
    border-radius: 16px !important;
    border: 1px solid #dbe4ee !important;
    background: #f8fafc !important;
    overflow: hidden !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
}

article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

article[data-post-header-type="Narrow"] .gh-content.post-content-and-sidebar {
    margin-top: 10px !important;
}

article[data-post-header-type="Narrow"] .post-content-outer {
    margin-top: 0 !important;
    padding: clamp(12px, 1.7vw, 22px) clamp(12px, 1.8vw, 24px) !important;
    border: 1px solid #e5ebf2 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
    max-height: calc(100vh - 430px) !important;
    overflow-y: auto !important;
}

article[data-post-header-type="Narrow"] .post-content {
    margin-top: 0 !important;
}

article[data-post-header-type="Narrow"] .post-content p,
article[data-post-header-type="Narrow"] .post-content li {
    font-size: clamp(16px, 1.16vw, 19px) !important;
    line-height: 1.82 !important;
    color: #0f172a !important;
}

article[data-post-header-type="Narrow"] .post-share {
    margin-top: 14px !important;
}

article[data-post-header-type="Narrow"] .related-posts {
    margin-top: 12px !important;
}

@media (max-width: 1199px) {
    article[data-post-header-type="Narrow"] .post-heading {
        font-size: 28px !important;
    }
    article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header {
        min-height: 104px !important;
        max-height: 150px !important;
    }
    article[data-post-header-type="Narrow"] .post-content-outer {
        max-height: calc(100vh - 420px) !important;
    }
}

@media (max-width: 991px) {
    article[data-post-header-type="Narrow"] .post-heading {
        font-size: 24px !important;
        -webkit-line-clamp: 3 !important;
    }
    article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header {
        min-height: 92px !important;
        max-height: 130px !important;
    }
    article[data-post-header-type="Narrow"] .post-content-outer {
        max-height: none !important;
        overflow-y: visible !important;
    }
}

@media (max-width: 479px) {
    article[data-post-header-type="Narrow"] .post-heading {
        font-size: 21px !important;
    }
    article[data-post-header-type="Narrow"] .post-content p,
    article[data-post-header-type="Narrow"] .post-content li {
        font-size: 15px !important;
        line-height: 1.78 !important;
    }
    article[data-post-header-type="Narrow"] .post-main-image-wrapper.post-main-image-wrapper-header {
        min-height: 80px !important;
        max-height: 104px !important;
    }
}

/* Editorial Layout v4: text-first, compact visual */
article[data-post-header-type="Narrow"] > header.hero {
    margin-bottom: 8px !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .hero-content {
    display: grid !important;
    grid-template-columns: minmax(0, 1.35fr) minmax(200px, 0.65fr) !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-hero-text-content {
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto !important;
    margin: 0 !important;
    padding: clamp(14px, 1.8vw, 22px) !important;
    border-radius: 14px !important;
    border: 1px solid #dde5ef !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08) !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
    position: static !important;
    margin: 0 !important;
    min-height: 140px !important;
    max-height: 220px !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 14px !important;
    border: 1px solid #dbe4ee !important;
    background: #f8fafc !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
    overflow: hidden !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header::after {
    display: none !important;
    content: none !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

article[data-post-header-type="Narrow"] .post-heading {
    margin: 0 0 8px 0 !important;
    font-size: clamp(30px, 2.6vw, 44px) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.014em !important;
    -webkit-line-clamp: 2 !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper {
    border-left: 3px solid #0f172a !important;
    padding-left: 10px !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper p {
    margin: 0 !important;
    font-size: clamp(14px, 1.1vw, 17px) !important;
    line-height: 1.66 !important;
    color: #334155 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
}

article[data-post-header-type="Narrow"] .gh-content.post-content-and-sidebar {
    margin-top: 10px !important;
}

article[data-post-header-type="Narrow"] .post-content-outer {
    margin-top: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
    padding: clamp(14px, 1.8vw, 24px) !important;
    border: 1px solid #e5ebf2 !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
}

@media (max-width: 1199px) {
    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .hero-content {
        grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr) !important;
    }

    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
        min-height: 120px !important;
        max-height: 190px !important;
    }

    article[data-post-header-type="Narrow"] .post-heading {
        font-size: 28px !important;
    }
}

@media (max-width: 991px) {
    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .hero-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }

    article[data-post-header-type="Narrow"] .post-heading {
        font-size: 24px !important;
        -webkit-line-clamp: 3 !important;
    }

    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
        min-height: 104px !important;
        max-height: 150px !important;
        aspect-ratio: auto !important;
    }
}

@media (max-width: 479px) {
    article[data-post-header-type="Narrow"] .post-heading {
        font-size: 21px !important;
    }

    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
        min-height: 88px !important;
        max-height: 118px !important;
    }
}

/* Read-first compression v5 (post pages only) */
custom-announcement-bar.custom-announcement-bar {
    display: none !important;
}

custom-header.header .navbar-top {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    min-height: auto !important;
}

custom-header.header .navbar-top .socials {
    display: none !important;
}

custom-header.header .navbar-logo-text {
    font-size: clamp(24px, 2.3vw, 38px) !important;
    line-height: 1.08 !important;
}

custom-header.header .navbar-links-outer {
    margin-top: 6px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

custom-header.header .navbar-account-links {
    display: none !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .hero-content {
    grid-template-columns: minmax(0, 1.55fr) minmax(140px, 0.45fr) !important;
    gap: 10px !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-hero-text-content {
    padding: clamp(10px, 1.4vw, 16px) !important;
    border-radius: 12px !important;
}

article[data-post-header-type="Narrow"] .post-heading {
    font-size: clamp(26px, 2.2vw, 38px) !important;
    line-height: 1.16 !important;
    -webkit-line-clamp: 2 !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper p {
    -webkit-line-clamp: 2 !important;
    font-size: clamp(13px, 1vw, 16px) !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
    min-height: 84px !important;
    max-height: 112px !important;
    aspect-ratio: 4 / 3 !important;
    border-radius: 12px !important;
}

article[data-post-header-type="Narrow"] .gh-content.post-content-and-sidebar {
    margin-top: 8px !important;
}

article[data-post-header-type="Narrow"] .post-content-outer {
    padding: 12px 14px !important;
    border-radius: 12px !important;
}

article[data-post-header-type="Narrow"] .post-content > p:first-child {
    margin-top: 0 !important;
}

@media (max-width: 991px) {
    custom-header.header .navbar-logo-text {
        font-size: clamp(28px, 7vw, 42px) !important;
    }

    custom-header.header .navbar-links-outer {
        margin-top: 4px !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
        min-height: 72px !important;
        max-height: 94px !important;
        aspect-ratio: auto !important;
    }
}

@media (max-width: 479px) {
    custom-header.header .navbar-top {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    article[data-post-header-type="Narrow"] .post-heading {
        font-size: 20px !important;
    }

    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
        min-height: 64px !important;
        max-height: 82px !important;
    }
}

/* Background Hero v6: keep text layout, use image as backdrop */
article[data-post-header-type="Narrow"][data-has-feature-image="true"] .hero-content {
    position: relative !important;
    display: block !important;
    min-height: clamp(170px, 22vw, 260px) !important;
    padding: clamp(10px, 1.4vw, 18px) !important;
    border: 1px solid #dbe4ee !important;
    border-radius: 14px !important;
    background: #0f172a !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14) !important;
    overflow: hidden !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    margin: 0 !important;
    min-height: 100% !important;
    max-height: none !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #0f172a !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(110deg, rgba(2, 6, 23, 0.46) 0%, rgba(2, 6, 23, 0.30) 46%, rgba(2, 6, 23, 0.56) 100%) !important;
    z-index: 1 !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header .post-main-image,
article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header figure {
    width: 100% !important;
    height: 100% !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-main-image-wrapper.post-main-image-wrapper-header img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-hero-text-content {
    position: relative !important;
    z-index: 2 !important;
    width: min(78%, 980px) !important;
    max-width: 100% !important;
    padding: clamp(10px, 1.4vw, 16px) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.72) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.18) !important;
    backdrop-filter: blur(6px);
}

article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-heading {
    font-size: clamp(26px, 2.2vw, 38px) !important;
    line-height: 1.16 !important;
}

@media (max-width: 991px) {
    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .hero-content {
        min-height: 160px !important;
        padding: 10px !important;
    }

    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-hero-text-content {
        width: min(92%, 980px) !important;
        padding: 10px !important;
    }
}

@media (max-width: 479px) {
    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .hero-content {
        min-height: 148px !important;
        padding: 8px !important;
        border-radius: 12px !important;
    }

    article[data-post-header-type="Narrow"][data-has-feature-image="true"] .post-hero-text-content {
        width: 100% !important;
        border-radius: 10px !important;
        padding: 8px !important;
    }
}

/* Unified Background v7: title + content share one feature-image backdrop */
article[data-post-header-type="Narrow"] > header.hero.wide-container {
    min-width: calc(56vw + 84px) !important;
    width: calc(56vw + 84px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 42px !important;
    padding-right: 42px !important;
}

article[data-post-header-type="Narrow"].io-feature-bg-ready .hero-content,
article[data-post-header-type="Narrow"].io-feature-bg-ready .post-content-outer {
    background-image: linear-gradient(120deg, rgba(255, 255, 255, 0.84) 0%, rgba(255, 255, 255, 0.90) 58%, rgba(255, 255, 255, 0.86) 100%), var(--io-feature-image) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

article[data-post-header-type="Narrow"].io-feature-bg-ready .post-main-image-wrapper.post-main-image-wrapper-header {
    display: none !important;
}

article[data-post-header-type="Narrow"].io-feature-bg-ready .hero-content {
    min-height: clamp(170px, 22vw, 260px) !important;
    padding: clamp(10px, 1.4vw, 18px) !important;
}

article[data-post-header-type="Narrow"].io-feature-bg-ready .post-hero-text-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

article[data-post-header-type="Narrow"] .post-heading {
    text-align: center !important;
}

@media (max-width: 991px) {
    article[data-post-header-type="Narrow"] > header.hero.wide-container {
        min-width: unset !important;
        width: 100% !important;
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (max-width: 479px) {
    article[data-post-header-type="Narrow"] > header.hero.wide-container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    article[data-post-header-type="Narrow"].io-feature-bg-ready .hero-content {
        min-height: 146px !important;
        padding: 8px !important;
    }
}

/* Color Tuning v8: keep layout, improve palette contrast */
article[data-post-header-type="Narrow"].io-feature-bg-ready .hero-content {
    background-image: linear-gradient(120deg, rgba(15, 23, 42, 0.58) 0%, rgba(15, 23, 42, 0.44) 58%, rgba(15, 23, 42, 0.62) 100%), var(--io-feature-image) !important;
    border-color: #2f4057 !important;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.24) !important;
}

article[data-post-header-type="Narrow"].io-feature-bg-ready .post-content-outer {
    background-image: linear-gradient(120deg, rgba(248, 250, 252, 0.94) 0%, rgba(241, 245, 249, 0.92) 58%, rgba(248, 250, 252, 0.95) 100%), var(--io-feature-image) !important;
    border-color: #d2dde9 !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10) !important;
}

article[data-post-header-type="Narrow"].io-feature-bg-ready .post-hero-text-content {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(248, 250, 252, 0.94) 100%) !important;
    border-color: rgba(221, 229, 239, 0.96) !important;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.18) !important;
}

article[data-post-header-type="Narrow"] .post-heading,
article[data-post-header-type="Narrow"] .post-heading a {
    color: #0f172a !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper {
    border-left-color: #1d4ed8 !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper p {
    color: #334155 !important;
}

article[data-post-header-type="Narrow"] .post-content p,
article[data-post-header-type="Narrow"] .post-content li {
    color: #0f172a !important;
}

/* Unified Image Background v9: reduce white blocks */
article[data-post-header-type="Narrow"].io-feature-bg-ready .hero-content,
article[data-post-header-type="Narrow"].io-feature-bg-ready .post-content-outer {
    background-image: linear-gradient(120deg, rgba(15, 23, 42, 0.48) 0%, rgba(15, 23, 42, 0.40) 58%, rgba(15, 23, 42, 0.52) 100%), var(--io-feature-image) !important;
    border-color: rgba(148, 163, 184, 0.42) !important;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.22) !important;
}

article[data-post-header-type="Narrow"].io-feature-bg-ready .post-hero-text-content {
    background: rgba(15, 23, 42, 0.34) !important;
    border-color: rgba(226, 232, 240, 0.42) !important;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.24) !important;
}

article[data-post-header-type="Narrow"] .post-heading,
article[data-post-header-type="Narrow"] .post-heading a {
    color: #f8fafc !important;
    text-shadow: 0 1px 2px rgba(2, 6, 23, 0.40) !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper {
    border-left-color: #93c5fd !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper p,
article[data-post-header-type="Narrow"] .post-author-name,
article[data-post-header-type="Narrow"] .post-author-name a,
article[data-post-header-type="Narrow"] .date-small-text {
    color: #dbeafe !important;
}

article[data-post-header-type="Narrow"] .post-content p,
article[data-post-header-type="Narrow"] .post-content li,
article[data-post-header-type="Narrow"] .post-content h2,
article[data-post-header-type="Narrow"] .post-content h3,
article[data-post-header-type="Narrow"] .post-content h4 {
    color: #e2e8f0 !important;
}

article[data-post-header-type="Narrow"] .post-content a {
    color: #93c5fd !important;
}

article[data-post-header-type="Narrow"] .post-share-icons {
    background: rgba(15, 23, 42, 0.38) !important;
    border-color: rgba(148, 163, 184, 0.5) !important;
}

article[data-post-header-type="Narrow"] .post-share-icons .social svg path {
    fill: #f8fafc !important;
}

/* Readability Patch v10: keep unified image background, restore text contrast */
article[data-post-header-type="Narrow"].io-feature-bg-ready .hero-content,
article[data-post-header-type="Narrow"].io-feature-bg-ready .post-content-outer {
    background-image: linear-gradient(120deg, rgba(248, 250, 252, 0.90) 0%, rgba(241, 245, 249, 0.88) 58%, rgba(248, 250, 252, 0.91) 100%), var(--io-feature-image) !important;
    border-color: rgba(148, 163, 184, 0.38) !important;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12) !important;
}

article[data-post-header-type="Narrow"].io-feature-bg-ready .post-hero-text-content {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 252, 0.90) 100%) !important;
    border-color: rgba(148, 163, 184, 0.42) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12) !important;
}

article[data-post-header-type="Narrow"] .post-heading,
article[data-post-header-type="Narrow"] .post-heading a {
    color: #0f172a !important;
    text-shadow: none !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper {
    border-left-color: #1d4ed8 !important;
}

article[data-post-header-type="Narrow"] .post-excerpt-wrapper p,
article[data-post-header-type="Narrow"] .post-author-name,
article[data-post-header-type="Narrow"] .post-author-name a,
article[data-post-header-type="Narrow"] .date-small-text {
    color: #334155 !important;
}

article[data-post-header-type="Narrow"] .post-content p,
article[data-post-header-type="Narrow"] .post-content li,
article[data-post-header-type="Narrow"] .post-content h2,
article[data-post-header-type="Narrow"] .post-content h3,
article[data-post-header-type="Narrow"] .post-content h4,
article[data-post-header-type="Narrow"] .post-content strong {
    color: #0f172a !important;
}

article[data-post-header-type="Narrow"] .post-content a {
    color: #1d4ed8 !important;
}

article[data-post-header-type="Narrow"] .post-share-icons {
    background: rgba(255, 255, 255, 0.84) !important;
    border-color: rgba(148, 163, 184, 0.44) !important;
}

article[data-post-header-type="Narrow"] .post-share-icons .social svg path {
    fill: #0f172a !important;
}

/* Title Card Transparent v11: remove white fill behind title block */
article[data-post-header-type="Narrow"].io-feature-bg-ready .post-hero-text-content {
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

/* Mobile Content Page Typography Boost v12 */
@media (max-width: 991px) {
    main article .post-tag {
        font-size: 22px !important;
        font-weight: 700 !important;
    }

    main article .post-heading {
        font-size: 40px !important;
        line-height: 1.14 !important;
        font-weight: 800 !important;
    }

    main article .post-excerpt-wrapper p,
    main article .post-author-name,
    main article .post-author-name a,
    main article .date-small-text {
        font-size: 16px !important;
        font-weight: 700 !important;
    }

    main article .post-content p,
    main article .post-content li,
    main article .post-content a,
    main article .post-content blockquote,
    main article .post-content figcaption {
        font-size: 19px !important;
        font-weight: 700 !important;
        line-height: 1.82 !important;
    }

    main article .post-content h2 {
        font-size: 36px !important;
        font-weight: 800 !important;
    }

    main article .post-content h3 {
        font-size: 32px !important;
        font-weight: 800 !important;
    }

    main article .post-content h4,
    main article .post-content h5,
    main article .post-content h6 {
        font-size: 28px !important;
        font-weight: 800 !important;
    }

    main article .post-content strong,
    main article .post-content em,
    main article .post-content small,
    main article .post-content span,
    main article .post-share-heading,
    main article .section-heading span {
        font-weight: 700 !important;
    }
}

@media (max-width: 479px) {
    main article .post-tag {
        font-size: 20px !important;
        font-weight: 700 !important;
    }

    main article .post-heading {
        font-size: 34px !important;
        line-height: 1.16 !important;
        font-weight: 800 !important;
    }

    main article .post-excerpt-wrapper p,
    main article .post-author-name,
    main article .post-author-name a,
    main article .date-small-text {
        font-size: 15px !important;
        font-weight: 700 !important;
    }

    main article .post-content p,
    main article .post-content li,
    main article .post-content a,
    main article .post-content blockquote,
    main article .post-content figcaption {
        font-size: 17px !important;
        font-weight: 700 !important;
        line-height: 1.78 !important;
    }

    main article .post-content h2 {
        font-size: 32px !important;
        font-weight: 800 !important;
    }

    main article .post-content h3 {
        font-size: 29px !important;
        font-weight: 800 !important;
    }

    main article .post-content h4,
    main article .post-content h5,
    main article .post-content h6 {
        font-size: 26px !important;
        font-weight: 800 !important;
    }
}
