/* =========================================================
   CONNEXR BLOG PAGE
   COMPLETE FIGMA-MATCHED CSS

   DESKTOP + LAPTOP render IDENTICALLY (base rules below apply
   to everything above 900px, with only the outer container
   getting slightly more room on very large / ultra-wide
   monitors at 2200px+). Only screens 900px and below get a
   genuinely different, mobile-appropriate layout.
   ========================================================= */


/* =========================================================
   1. PAGE
   ========================================================= */

.blog-page {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #ffffff;
    color: #18245c;

    box-sizing: border-box;
}

.blog-page *,
.blog-page *::before,
.blog-page *::after {
    box-sizing: border-box;
}

.blog-page img,
.blog-page video {
    display: block;
    max-width: 100%;
}


/* =========================================================
   2. HERO
   ========================================================= */

.blog-hero {
    width: 100%;
    margin: 0;
    padding: 0;

    background: #ffffff;
}


/* =========================================================
   3. HERO CONTAINER
   (Same width formula for all desktop + laptop screens —
   only the 2200px+ rule below extends it further on very
   large monitors.)
   ========================================================= */

.blog-hero-container {
    width: calc(100% - 260px);
    max-width: 1660px;

    margin-left: auto;
    margin-right: auto;

    padding: 0;
}


/* =========================================================
   4. BREADCRUMB
   ========================================================= */

.blog-breadcrumb {
    display: flex;

    align-items: center;

    gap: 5px;

    width: 100%;
    height: 38px;

    margin: 0;
    padding: 0;

    color: #777777;

    font-size: 7px;
    line-height: 1;

    text-transform: uppercase;

    white-space: nowrap;
}

.blog-breadcrumb a {
    color: #777777;

    text-decoration: none;
}

.blog-breadcrumb a:hover {
    color: #18245c;
}

.blog-breadcrumb span {
    color: #777777;
}


/* =========================================================
   5. HERO GRID
   ========================================================= */

.blog-hero-grid {
    display: grid;

    grid-template-columns: 60% 40%;

    width: 100%;

    min-height: 570px;

    margin: 0;
    margin-top: 40px;
    padding: 0;
}


/* =========================================================
   6. HERO LEFT
   ========================================================= */

.blog-hero-left {
    position: relative;

    min-width: 0;
    min-height: 570px;

    margin: 0;

    padding: 32px 80px 65px 0;
}


/* =========================================================
   7. HERO TITLE
   Same size/weight across ALL desktop + laptop screens.
   ========================================================= */

.blog-hero-title {
    display: block;

    width: 100%;

    max-width: 690px;

    margin: 0;
    padding: 0;

    color: #18245c;

    font-size: 46px;

    line-height: 1.02;

    font-weight: 600;

    letter-spacing: -1.1px;
}


/* =========================================================
   8. ORANGE TITLE HIGHLIGHT
   ========================================================= */

.blog-highlight {
    color: #f58232;
}


/* =========================================================
   9. HERO DOTS
   ========================================================= */

.blog-hero-dots {
    position: absolute;

    left: 0;
    bottom: 166px;

    display: flex;

    align-items: center;

    gap: 6px;

    margin: 0;
    padding: 0;
}

.blog-dot {
    display: block;

    width: 6px;
    height: 6px;

    margin: 0;
    padding: 0;

    border-radius: 50%;
}

.blog-dot-orange {
    background: #f58232;
}

.blog-dot-blue {
    background: #18245c;
}


/* =========================================================
   10. HERO RIGHT
   ========================================================= */

.blog-hero-right {
    min-width: 0;

    margin: 0;

    padding: 32px 0 0 20px;
}


/* =========================================================
   11. META
   ========================================================= */

.blog-meta {
    display: grid;

    grid-template-columns:
        0.75fr
        0.65fr
        1.4fr;

    column-gap: 35px;

    width: 100%;

    margin: 0;

    padding: 0 0 26px;

    border-top: 1px solid #f58232;
}


/* =========================================================
   12. META ITEM
   ========================================================= */

.blog-meta-item {
    display: flex;

    flex-direction: column;

    gap: 6px;

    min-width: 0;

    margin: 0;

    padding: 10px 0 0;
}


/* =========================================================
   13. META LABEL
   Same size across ALL desktop + laptop screens.
   ========================================================= */

.blog-meta-label {
    display: block;

    margin: 0;
    padding: 0;

    color: #f58232;

    font-size: 17px;

    line-height: 1.2;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.6px;
}


/* =========================================================
   14. META VALUE
   Same size across ALL desktop + laptop screens.
   ========================================================= */

.blog-meta-value {
    display: block;

    margin: 0;
    padding: 0;

    color: #18245c;

    font-size: 17px;

    line-height: 1.45;

    font-weight: 400;
}


/* =========================================================
   15. KEY TAKEAWAYS
   ========================================================= */

.blog-key-takeaways {
    width: 100%;

    margin: 0;

    padding: 18px 0 0;

    border-top: 1px solid #d5d5d5;
}


/* =========================================================
   16. KEY TAKEAWAYS CONTENT
   Same size across ALL desktop + laptop screens.
   ========================================================= */

.blog-key-takeaways-content {
    width: 100%;

    max-width: 680px;

    margin: 10px 0 0;
    padding: 0;

    color: #333333;

    font-size: 17px;

    line-height: 1.55;
}


/* =========================================================
   17. KEY TAKEAWAYS PARAGRAPHS
   ========================================================= */

.blog-key-takeaways-content p {
    margin: 0 0 16px;
    padding: 0;
}

.blog-key-takeaways-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   18. KEY TAKEAWAYS LIST
   ========================================================= */

.blog-key-takeaways-content ul {
    margin: 0;

    padding-left: 20px;
}

.blog-key-takeaways-content ol {
    margin: 0;

    padding-left: 20px;
}

.blog-key-takeaways-content li {
    margin: 0 0 14px;

    padding-left: 3px;
}

.blog-key-takeaways-content li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   19. KEY TAKEAWAYS BOLD
   ========================================================= */

.blog-key-takeaways-content strong {
    color: #222222;

    font-weight: 700;
}


/* =========================================================
   20. HERO MEDIA
   ========================================================= */

.blog-hero-media-section {
    width: 100%;

    margin: 0;
    padding: 0;

    background: #ffffff;
}


.blog-hero-video,
.blog-hero-image {
    display: block;

    width: 100%;

    height: auto;

    aspect-ratio: 1920 / 902;

    margin: 0;
    padding: 0;

    object-fit: cover;

    object-position: center center;
}


/* =========================================================
   21. ARTICLE SECTION
   ========================================================= */

.blog-article-section {
    width: 100%;

    margin: 0;
    padding: 90px 0 110px;

    background: #ffffff;
}


/* =========================================================
   22. ARTICLE CONTAINER
   Same width formula for all desktop + laptop screens.
   ========================================================= */

.blog-article-container {
    width: calc(100% - 260px);
    max-width: 1200px;

    margin-left: auto;
    margin-right: auto;

    padding: 0;
}


/* =========================================================
   23. ARTICLE
   ========================================================= */

.blog-article {
    width: 100%;

    margin: 0;
    padding: 0;
}


/* =========================================================
   24. TEXT SECTION
   ========================================================= */

.blog-text-section {
    width: 100%;

    margin: 0 0 70px;
    padding: 0;
}

.blog-first-section {
    margin-top: 0;
}

.blog-text-content {
    display: grid;

    grid-template-columns: 300px 1fr;

    column-gap: 60px;

    align-items: start;

    width: 80%;

    margin: 0 auto;
    padding: 0;
}


/* =========================================================
   25. SECTION HEADING
   ========================================================= */

.blog-section-heading {
    width: 100%;

    margin: 0;
    padding: 0;

    color: #18245c;

    font-size: 28px;

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -0.7px;
}


/* =========================================================
   26. BODY EYEBROW
   ========================================================= */

.blog-section-heading .blog-highlight {
    color: #f58232;
}


/* =========================================================
   27. SECTION BODY
   ========================================================= */

.blog-section-body {
    width: 100%;

    margin: 0;
    padding: 0;

    color: #333333;

    font-size: 16px;

    line-height: 1.75;
}

.blog-section-body p {
    margin: 0 0 22px;
    padding: 0;
}

.blog-section-body p:last-child {
    margin-bottom: 0;
}

.blog-section-body strong {
    color: #18245c;

    font-weight: 700;
}

.blog-section-body ul {
    margin: 20px 0;

    padding-left: 25px;
}

.blog-section-body ol {
    margin: 20px 0;

    padding-left: 25px;
}

.blog-section-body li {
    margin-bottom: 10px;
}


/* =========================================================
   28. CONTENT MEDIA
   ========================================================= */

.blog-content-media {
    width: 80%;

    margin: 60px auto;
    padding: 0;
}

.blog-content-image,
.blog-content-video {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;
    padding: 0;

    object-fit: cover;
}

.blog-content-video {
    max-height: 650px;
}

.blog-content-media figcaption {
    margin: 10px 0 0;

    color: #777777;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   29. CALLOUT SECTION
   ========================================================= */

.blog-callout-section {
    width: 80%;

    margin: 80px auto;
    padding: 0;
}


/* =========================================================
   30. CALLOUT
   ========================================================= */

.blog-callout {
    display: grid;

    grid-template-columns: 42% 58%;

    width: 100%;

    margin: 0;
    padding: 0;

    background: #f58232;

    overflow: hidden;
}


/* =========================================================
   31. CALLOUT CONTENT
   ========================================================= */

.blog-callout-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 55px;
}

.blog-callout h2 {
    margin: 0 0 22px;
    padding: 0;

    color: #ffffff;

    font-size: 36px;

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -0.5px;
}

.blog-callout-text {
    color: #ffffff;

    font-size: 16px;

    line-height: 1.65;
}

.blog-callout-text p {
    margin: 0 0 15px;
}

.blog-callout-text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   32. CALLOUT IMAGE
   ========================================================= */

.blog-callout-image {
    width: 100%;

    min-height: 400px;

    margin: 0;
    padding: 0;

    overflow: hidden;
}

.blog-callout-image img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: cover;
}


/* =========================================================
   33. RELATED SECTION
   ========================================================= */

.blog-related-section {
    width: 100%;

    margin: 0;
    padding: 90px 0 100px;

    background: #ffffff;
}


/* =========================================================
   34. RELATED CONTAINER
   Same width formula for all desktop + laptop screens.
   ========================================================= */

.blog-container {
    width: calc(100% - 260px);
    max-width: 1440px;

    margin-left: auto;
    margin-right: auto;

    padding: 0;
}


/* =========================================================
   35. RELATED HEADING
   ========================================================= */

.blog-related-heading {
    margin: 0 0 40px;
    padding: 0;
}

.blog-related-heading > span {
    display: block;

    margin: 0 0 8px;

    color: #f58232;

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;
}

.blog-related-heading h2 {
    margin: 0;
    padding: 0;

    color: #18245c;

    font-size: 42px;

    line-height: 1.1;

    font-weight: 700;
}


/* =========================================================
   36. RELATED GRID
   ========================================================= */

.blog-related-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;

    width: 100%;
}


/* =========================================================
   37. RELATED CARD
   ========================================================= */

.blog-related-card {
    display: flex;

    flex-direction: column;

    min-width: 0;

    margin: 0;
    padding: 0;

    background: #ffffff;

    border: 1px solid #e2e2e2;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.blog-related-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   38. RELATED IMAGE
   ========================================================= */

.blog-related-image {
    width: 100%;

    aspect-ratio: 16 / 9;

    margin: 0;
    padding: 0;

    overflow: hidden;
}

.blog-related-image img {
    display: block;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    object-fit: cover;

    transition: transform 0.3s ease;
}

.blog-related-card:hover
.blog-related-image img {
    transform: scale(1.03);
}


/* =========================================================
   39. RELATED CONTENT
   ========================================================= */

.blog-related-content {
    padding: 22px;
}

.blog-related-category {
    display: inline-block;

    margin: 0 0 10px;

    color: #f58232;

    font-size: 10px;

    line-height: 1.2;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.8px;
}

.blog-related-content h3 {
    margin: 0 0 12px;
    padding: 0;

    color: #18245c;

    font-size: 21px;

    line-height: 1.2;

    font-weight: 700;
}

.blog-related-content p {
    margin: 0 0 20px;
    padding: 0;

    color: #555555;

    font-size: 14px;

    line-height: 1.6;
}

.blog-related-meta {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #777777;

    font-size: 12px;

    line-height: 1.4;
}


/* =========================================================
   40. ULTRA-WIDE MONITORS ONLY - 2200+
   (This does NOT create a "different laptop vs desktop"
   look — it only gives extra-large external monitors a
   wider content column so it doesn't look tiny in a sea
   of white space. Typography stays identical.)
   ========================================================= */

@media (min-width: 2200px) {

    .blog-hero-container {
        max-width: 2000px;
    }

    .blog-article-container {
        max-width: 1500px;
    }

    .blog-container {
        max-width: 1760px;
    }
}


/* =========================================================
   NOTE: the separate "1600px+", "1400-1599px" and
   "1200-1399px" tiers that used to exist here have been
   removed on purpose. The base rules above (sections 1-39)
   now apply uniformly to every screen from 901px up to
   2199px, so desktop and laptop render identically. Only
   the breakpoints below (900px and under) diverge, because
   that's genuinely a different, mobile-appropriate layout.
   ========================================================= */


/* =========================================================
   43. TABLET / 1024
   (Covers common tablet widths, e.g. iPad Pro portrait
   at 1024px, so they get the stacked single-column layout
   instead of a cramped desktop two-column grid.)
   ========================================================= */

@media (max-width: 1024px) {

    .blog-hero-container {
        width: calc(100% - 60px);
    }

    .blog-hero-grid {
        display: block;

        min-height: auto;
        margin-top: 0;
    }

    .blog-hero-left {
        min-height: 390px;

        padding:
            25px
            0
            70px;
    }

    .blog-hero-title {
        max-width: 800px;

        font-size: 42px;
    }

    .blog-hero-right {
        padding:
            0
            0
            40px;
    }

    .blog-meta {
        max-width: 800px;
    }

    .blog-meta-label {
        font-size: 12px;
    }

    .blog-meta-value {
        font-size: 13px;
    }

    .blog-key-takeaways-content {
        max-width: 800px;

        font-size: 12px;
    }

    .blog-callout {
        grid-template-columns: 1fr;
    }

    .blog-text-content {
        grid-template-columns: 1fr;

        column-gap: 0;

        width: 100%;
    }

    .blog-section-heading {
        margin-bottom: 20px;
    }

    .blog-callout-image {
        min-height: 350px;
    }

    .blog-related-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   44. TABLET / MOBILE 768
   ========================================================= */

@media (max-width: 768px) {

    .blog-hero-container {
        width: 100%;

        padding-left: 20px;
        padding-right: 20px;
    }

    .blog-article-container {
        width: 100%;

        padding-left: 20px;
        padding-right: 20px;
    }

    .blog-container {
        width: 100%;

        padding-left: 20px;
        padding-right: 20px;
    }

    .blog-breadcrumb {
        height: 35px;

        overflow-x: auto;

        scrollbar-width: none;
    }

    .blog-breadcrumb::-webkit-scrollbar {
        display: none;
    }

    .blog-hero-left {
        min-height: 340px;

        padding:
            20px
            0
            65px;
    }

    .blog-hero-title {
        max-width: 100%;

        font-size: 36px;

        line-height: 1.03;

        letter-spacing: -0.8px;
    }

    .blog-hero-dots {
        bottom: 22px;
    }

    .blog-meta {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

    .blog-meta-item:last-child {
        grid-column: 1 / -1;
    }

    .blog-meta-label {
        font-size: 9px;
    }

    .blog-meta-value {
        font-size: 11px;
    }

    .blog-key-takeaways-content {
        font-size: 11px;

        line-height: 1.55;
    }

    .blog-hero-video,
    .blog-hero-image {
        width: 100%;

        height: auto;

        aspect-ratio: 1920 / 902;
    }

    .blog-article-section {
        padding:
            60px
            0
            75px;
    }

    .blog-section-heading {
        font-size: 30px;
    }

    .blog-section-body {
        font-size: 15px;

        line-height: 1.7;
    }

    .blog-content-media {
        margin: 40px 0;
    }

    .blog-callout {
        display: block;
    }

    .blog-callout-content {
        padding: 35px;
    }

    .blog-callout h2 {
        font-size: 30px;
    }

    .blog-callout-image {
        min-height: auto;
    }

    .blog-callout-image img {
        width: 100%;
        height: auto;

        object-fit: contain;
    }

    .blog-related-section {
        padding:
            60px
            0
            70px;
    }

    .blog-related-heading h2 {
        font-size: 34px;
    }

    .blog-related-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   45. SMALL MOBILE - 480
   ========================================================= */

@media (max-width: 480px) {

    .blog-hero-container {
        width: 100%;

        padding-left: 15px;
        padding-right: 15px;
    }

    .blog-article-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .blog-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .blog-hero-left {
        min-height: 300px;
    }

    .blog-hero-title {
        font-size: 30px;

        line-height: 1.02;
    }

    .blog-meta {
        grid-template-columns: 1fr;
    }

    .blog-meta-item:last-child {
        grid-column: auto;
    }

    .blog-meta-value {
        font-size: 10px;
    }

    .blog-key-takeaways-content {
        font-size: 10px;
    }

    .blog-section-heading {
        font-size: 26px;
    }

    .blog-section-body {
        font-size: 14px;
    }

    .blog-callout-content {
        padding: 25px;
    }

    .blog-callout h2 {
        font-size: 26px;
    }

    .blog-related-heading h2 {
        font-size: 30px;
    }
}


/* =========================================================
   46. ACCESSIBILITY
   ========================================================= */

.blog-page a:focus-visible {
    outline: 2px solid #f58232;

    outline-offset: 3px;
}