.blog-page main h1,
.blog-page main h2,
.blog-page main h3 {
    text-transform: none !important;
}

.blog-page .blog-hero h1,
.blog-page .article-hero h1 {
    color: #fff !important;
}

.blog-page .blog-hero {
    background-image: linear-gradient(90deg, rgba(4, 21, 37, .98) 0%, rgba(7, 29, 48, .9) 48%, rgba(7, 27, 45, .18) 100%), url('../../images/blog-publishing-editorial.webp');
}

.blog-page .category-nav a {
    position: relative;
    transition: color 160ms ease, background-color 160ms ease, box-shadow 180ms ease;
}

.blog-page .category-nav a i {
    transition: transform 180ms ease;
}

.blog-page .category-nav a:hover i,
.blog-page .category-nav a:focus-visible i {
    transform: scale(1.06);
}

.blog-page .archive-heading form {
    position: relative;
}

.blog-page .archive-heading form::after {
    content: "";
    position: absolute;
    pointer-events: none;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--blog-ink);
    border-bottom: 2px solid var(--blog-ink);
    transform: translateY(-68%) rotate(45deg);
    transition: transform 180ms ease;
}

.blog-page .archive-heading form:focus-within::after {
    transform: translateY(-30%) rotate(225deg);
}

.blog-page .archive-heading select {
    min-width: 164px;
    min-height: 48px;
    padding: 11px 42px 11px 16px;
    border: 1px solid #d7dee7;
    border-radius: 7px;
    background-color: #fff;
    color: var(--blog-ink);
    color-scheme: light;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font: inherit;
    font-weight: 500;
    box-shadow: 0 5px 16px rgba(8,28,48,.05);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.blog-page .archive-heading select:hover {
    border-color: #aebbc8;
    box-shadow: 0 8px 20px rgba(8,28,48,.09);
}

.blog-page .archive-heading select:focus {
    border-color: #1a73b8;
    box-shadow: 0 0 0 3px rgba(26,115,184,.14), 0 8px 20px rgba(8,28,48,.08);
}

.blog-page .archive-heading select option {
    background-color: #fff;
    color: var(--blog-ink);
}

.blog-page .archive-heading select option:checked {
    background: var(--blog-gold);
    color: var(--blog-navy);
}

@media (prefers-reduced-motion: reduce) {
    .blog-page .category-nav a,
    .blog-page .category-nav a i,
    .blog-page .archive-heading select { transition: none !important; }
}

.blog-page.has-sticky-header {
    padding-top: 86px !important;
}

.blog-page .article-feature-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
    background: #f3f5f7;
    border-radius: 8px;
    box-shadow: 0 20px 45px rgba(6, 25, 42, .14);
}

.blog-page .article-feature {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 991px) {
    .blog-page.has-sticky-header {
        padding-top: 70px !important;
    }
}

@media (max-width: 767px) {
    .blog-page .article-feature-wrap {
        width: min(100% - 28px, 1180px);
    }

    .blog-page .article-feature {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 500px;
        min-height: 0;
        aspect-ratio: auto;
    }
}

.article-content figure {
    margin: 32px 0;
}

.article-content figure img,
.article-content > img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 720px;
    height: auto;
    object-fit: contain;
    background: #f4f7f9;
    border-radius: 6px;
}

.article-content figcaption {
    margin-top: 8px;
    color: #748395;
    font-size: 14px;
    text-align: center;
}

.article-content .article-video {
    overflow: hidden;
    margin: 0 0 38px;
    border: 1px solid #dfe6ec;
    border-radius: 9px;
    background: #071a2c;
    box-shadow: 0 14px 32px rgba(7, 26, 44, .12);
}

.article-content .article-video video {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #071a2c;
    object-fit: cover;
}

.article-content .article-video figcaption {
    margin: 0;
    padding: 11px 16px;
    background: #fff;
}

.article-content figure:has(img) {
    overflow: hidden;
    max-width: 100%;
    border: 1px solid #e1e7ec;
    border-radius: 8px;
    background: #f4f7f9;
}

.article-content figure:has(img) figcaption {
    margin: 0;
    padding: 10px 15px;
    background: #fff;
}

.article-inline-promo {
    position: relative;
    margin: 38px 0;
    padding: 28px 30px;
    border-left: 5px solid var(--blog-gold);
    border-radius: 6px;
    background: linear-gradient(135deg,#0c2841,#071827);
    color: #fff;
    box-shadow: 0 9px 24px rgba(12,40,65,.07);
}

.article-content .article-inline-promo .promo-eyebrow {
    display: block;
    color: #ffcf4c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.article-content .article-inline-promo h3 {
    margin: 5px 0 8px;
    color: inherit;
}

.article-content .article-inline-promo p {
    margin-bottom: 16px;
    color: inherit;
    opacity: .86;
}

.article-inline-promo.promo-gold {
    border-left-color: var(--blog-navy);
    background: linear-gradient(135deg,#ffb600,#ffd15a);
    color: var(--blog-navy);
}

.article-content .article-inline-promo.promo-gold .promo-eyebrow,
.article-content .article-inline-promo.promo-light .promo-eyebrow {
    color: #775100;
}

.article-inline-promo.promo-light,
.article-inline-promo:not(.promo-navy):not(.promo-gold) {
    background: linear-gradient(135deg,#fff8df,#fffdf7);
    color: var(--blog-ink);
}

.article-inline-promo.promo-side {
    float: right;
    clear: right;
    width: min(330px, 44%);
    margin: 8px 0 26px 30px;
    padding: 24px;
}

.article-inline-promo.promo-side h3 {
    font-size: 23px;
}

.article-content::after {
    display: block;
    clear: both;
    content: "";
}

.article-promo-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 17px;
    border-radius: 4px;
    background: var(--blog-gold);
    color: var(--blog-navy) !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}

.article-inline-cta.has-cta-image {
    display: grid;
    grid-template-columns: minmax(145px,32%) minmax(0,1fr);
    gap: 28px;
    align-items: center;
}

.article-cta-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 6px;
    object-fit: cover;
}

.author-photo,
.author-mark {
    position: relative;
    flex: 0 0 auto;
}

.author-photo {
    width: 80px;
    height: 80px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #071a2c;
}

.author-photo img {
    width: 80px;
    height: 80px;
    padding: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #071a2c;
    object-fit: contain;
    box-shadow: 0 5px 18px rgba(7, 26, 44, .16);
}

.author-verified {
    position: absolute;
    right: -3px;
    bottom: 1px;
    width: 25px;
    height: 25px;
    display: inline-grid;
    place-items: center;
    border: 3px solid #f7f9fb;
    border-radius: 50%;
    background: #1478d4;
    color: #fff;
    font-size: 10px;
    line-height: 1;
    box-shadow: 0 2px 7px rgba(7, 26, 44, .2);
}

.article-meta .author-verified-small {
    position: relative;
    right: auto;
    bottom: auto;
    width: 17px;
    height: 17px;
    margin-left: 6px;
    border-width: 2px;
    border-color: #102e4a;
    vertical-align: -3px;
    font-size: 7px;
}

.article-meta .author-verified-small i {
    margin: 0;
    color: #fff;
}

.verified-label {
    display: inline-flex;
    align-items: center;
    margin-left: 9px;
    padding: 3px 8px;
    border-radius: 999px;
    background: #e7f2ff;
    color: #1267b4;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .3px;
    vertical-align: 3px;
}

@media (max-width: 520px) {
    .author-box { grid-template-columns: 62px 1fr; gap: 15px; padding: 22px 18px; }
    .author-photo,.author-photo img,.author-mark { width: 62px; height: 62px; }
    .verified-label { display: table; margin: 6px 0 0; }
}

/* Keep the article ending compact and place related blogs fully above the global CTA. */
.blog-page .article-layout {
    padding-bottom: 44px;
}

.blog-page .related-section {
    position: relative;
    z-index: 1;
    padding-top: 48px;
    padding-bottom: 40px;
}

.blog-page .related-grid {
    align-items: stretch;
    gap: 24px;
}

.blog-page .related-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    border-radius: 9px;
    box-shadow: 0 10px 28px rgba(8, 31, 52, .07);
}

.blog-page .related-card > a:first-child {
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e9eef3;
}

.blog-page .related-card > a:first-child img {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.blog-page .related-card > div {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 21px 20px 20px;
}

.blog-page .related-card .read-more {
    margin-top: auto;
    padding-top: 10px;
}

.blog-page > .cta-sec {
    margin-top: 0;
    padding-top: 34px;
    background: var(--blog-soft);
}

.blog-page > .cta-sec .publisher-cta {
    margin-top: 0;
}

@media (max-width: 991px) {
    .blog-page .article-layout { padding-bottom: 34px; }
    .blog-page .related-section { padding-top: 42px; padding-bottom: 36px; }
    .blog-page > .cta-sec { padding-top: 28px; }
}

@media (max-width: 767px) {
    .blog-page .related-card { display: grid; height: auto; grid-template-columns: 150px minmax(0,1fr); }
    .blog-page .related-card > a:first-child { height: 100%; min-height: 175px; aspect-ratio: auto; }
    .blog-page .related-card > a:first-child img { height: 100%; aspect-ratio: auto; }
    .article-inline-cta.has-cta-image { grid-template-columns: 1fr; }
    .article-cta-image { aspect-ratio: 16 / 9; }
    .article-inline-promo.promo-side {
        float: none;
        width: 100%;
        margin: 30px 0;
    }
}

@media (max-width: 460px) {
    .blog-page .related-card { display: flex; }
    .blog-page .related-card > a:first-child { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
    .blog-page .related-card > a:first-child img { aspect-ratio: 16 / 9; }
    .blog-page > .cta-sec { padding-top: 24px; }
    .article-inline-promo { padding: 23px 20px; }
}
