.icx-insights-page,
.icx-article {
    background: #fff;
}

.icx-insights-hero,
.icx-article-header {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(
            circle at 83% 18%,
            rgba(245, 130, 32, 0.24),
            transparent 31%
        ),
        linear-gradient(
            135deg,
            var(--icx-navy-dark),
            var(--icx-navy)
        );
}

.icx-insights-hero::after,
.icx-article-header::after {
    content: "ICX";
    position: absolute;
    right: -2%;
    bottom: -34%;
    color: rgba(255, 255, 255, 0.045);
    font-family: var(--icx-font-display);
    font-size: clamp(14rem, 30vw, 30rem);
    line-height: 0.8;
}

.icx-insights-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1040px;
    padding-block: clamp(88px, 10vw, 150px);
}

.icx-insights-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #cee2eb;
    font-size: 0.69rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.icx-insights-eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--icx-orange);
}

.icx-insights-hero h1 {
    margin: 14px 0 18px;
    color: #fff;
    font-family: var(--icx-font-display);
    font-size: clamp(3.7rem, 8vw, 7.8rem);
    line-height: 0.92;
    letter-spacing: -0.052em;
}

.icx-insights-hero p {
    max-width: 720px;
    margin: 0;
    color: #d4e5ec;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.72;
}

.icx-insights-listing {
    padding: clamp(68px, 8vw, 118px) 0;
    background: #f7f9fa;
}

.icx-insights-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.icx-insight-card {
    min-width: 0;
    border: 1px solid var(--icx-line);
    background: #fff;
    box-shadow: 0 12px 34px rgba(6, 43, 65, 0.055);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.icx-insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--icx-shadow-soft);
}

.icx-insight-card__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    text-decoration: none;
}

.icx-insight-card__image {
    display: block;
    height: 230px;
    overflow: hidden;
    background: #dfe9ee;
}

.icx-insight-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.48s ease;
}

.icx-insight-card:hover
.icx-insight-card__image img {
    transform: scale(1.045);
}

.icx-insight-card__body {
    display: flex;
    padding: 25px;
    flex: 1;
    flex-direction: column;
}

.icx-insight-card__meta {
    display: flex;
    gap: 13px;
    align-items: center;
    justify-content: space-between;
    color: var(--icx-muted);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.icx-insight-card__meta > span {
    color: var(--icx-orange);
}

.icx-insight-card h2 {
    margin: 13px 0 12px;
    color: var(--icx-navy);
    font-family: var(--icx-font-display);
    font-size: 1.65rem;
    line-height: 1.07;
    letter-spacing: -0.02em;
}

.icx-insight-card p {
    margin: 0 0 22px;
    color: var(--icx-muted);
    font-size: 0.82rem;
    line-height: 1.62;
}

.icx-insight-card__read {
    display: inline-flex;
    margin-top: auto;
    gap: 9px;
    align-items: center;
    color: var(--icx-navy);
    font-size: 0.76rem;
    font-weight: 700;
}

.icx-insights-pagination {
    margin-top: 46px;
}

.icx-insights-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.icx-insights-pagination .page-numbers {
    display: grid;
    min-width: 42px;
    min-height: 42px;
    padding: 9px 13px;
    place-items: center;
    border: 1px solid var(--icx-line);
    color: var(--icx-navy);
    background: #fff;
    font-weight: 700;
    text-decoration: none;
}

.icx-insights-pagination .current,
.icx-insights-pagination a:hover {
    border-color: var(--icx-orange);
    background: var(--icx-orange);
}

.icx-insights-empty {
    max-width: 680px;
    margin-inline: auto;
    padding: 52px;
    border: 1px solid var(--icx-line);
    background: #fff;
    text-align: center;
}

/* Single article */

.icx-article-header__inner {
    position: relative;
    z-index: 2;
    max-width: 1030px;
    padding-block: clamp(76px, 9vw, 135px);
}

.icx-article-back {
    display: inline-flex;
    margin-bottom: 30px;
    color: #c4dae4;
    font-size: 0.74rem;
    font-weight: 700;
    text-decoration: none;
}

.icx-article-back:hover {
    color: #fff;
}

.icx-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    color: #bfd5df;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.icx-article-meta span {
    color: #ffb06e;
}

.icx-article-header h1 {
    max-width: 1100px;
    margin: 17px 0 20px;
    color: #fff;
    font-family: var(--icx-font-display);
    font-size: clamp(3rem, 7vw, 6.8rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.icx-article-intro {
    max-width: 780px;
    margin: 0;
    color: #d4e4eb;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.72;
}

.icx-article-featured {
    position: relative;
    z-index: 3;
    height: clamp(310px, 52vw, 670px);
    margin: clamp(-35px, -4vw, -55px) 0 0;
    overflow: hidden;
    border-radius: 52px 12px 52px 12px;
    background: #dce8ed;
    box-shadow: var(--icx-shadow);
}

.icx-article-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icx-article-layout {
    display: grid;
    padding-block: clamp(62px, 8vw, 112px);
    grid-template-columns:
        minmax(0, 1fr)
        280px;
    gap: clamp(48px, 7vw, 100px);
    align-items: start;
}

.icx-article-content {
    max-width: 820px;
    color: #263d4b;
    font-size: 1.02rem;
    line-height: 1.82;
}

.icx-article-content > *:first-child {
    margin-top: 0;
}

.icx-article-content h2,
.icx-article-content h3,
.icx-article-content h4 {
    color: var(--icx-navy);
    font-family: var(--icx-font-display);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.icx-article-content h2 {
    margin-top: 2.1em;
    font-size: clamp(2rem, 4vw, 3.25rem);
}

.icx-article-content h3 {
    margin-top: 1.8em;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.icx-article-content img {
    height: auto;
    margin-block: 24px;
    border-radius: 24px 7px 24px 7px;
}

.icx-article-content blockquote {
    margin: 36px 0;
    padding: 24px 28px;
    border-left: 4px solid var(--icx-orange);
    color: var(--icx-navy);
    background: var(--icx-cream);
    font-family: var(--icx-font-display);
    font-size: 1.35rem;
    line-height: 1.45;
}

.icx-article-content a {
    color: var(--icx-blue);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.icx-article-aside {
    position: sticky;
    top: 105px;
    padding: 27px;
    border-top: 4px solid var(--icx-orange);
    background: var(--icx-mint);
}

.icx-article-aside > span {
    display: block;
    color: var(--icx-blue);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.icx-article-aside strong {
    display: block;
    margin-top: 7px;
    color: var(--icx-navy);
    font-family: var(--icx-font-display);
    font-size: 1.5rem;
}

.icx-article-aside p {
    color: var(--icx-muted);
    font-size: 0.78rem;
    line-height: 1.62;
}

.icx-article-aside a {
    color: var(--icx-navy);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.icx-article-footer {
    padding: 45px 0 68px;
    border-top: 1px solid var(--icx-line);
    background: #f8fafb;
}

.icx-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.icx-article-tags a {
    padding: 7px 11px;
    border: 1px solid var(--icx-line);
    color: var(--icx-navy);
    background: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
}

.icx-article-navigation {
    display: grid;
    margin-top: 35px;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.icx-article-navigation span:last-child {
    text-align: right;
}

.icx-article-navigation a {
    color: var(--icx-navy);
    font-family: var(--icx-font-display);
    font-size: 1.08rem;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 940px) {
    .icx-insights-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .icx-article-layout {
        grid-template-columns: 1fr;
    }

    .icx-article-aside {
        position: static;
        max-width: 520px;
    }
}

@media (max-width: 620px) {
    .icx-insights-hero__inner,
    .icx-article-header__inner {
        padding-block: 70px;
    }

    .icx-insights-hero h1 {
        font-size: clamp(3.2rem, 18vw, 4.8rem);
    }

    .icx-insights-grid {
        grid-template-columns: 1fr;
    }

    .icx-insight-card__image {
        height: 205px;
    }

    .icx-article-header h1 {
        font-size: clamp(2.8rem, 13vw, 4rem);
    }

    .icx-article-featured {
        height: 300px;
        margin-top: -23px;
        border-radius: 30px 8px 30px 8px;
    }

    .icx-article-layout {
        padding-block: 54px;
    }

    .icx-article-content {
        font-size: 0.96rem;
        line-height: 1.75;
    }

    .icx-article-navigation {
        grid-template-columns: 1fr;
    }

    .icx-article-navigation span:last-child {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .icx-insight-card,
    .icx-insight-card__image img {
        transition: none;
    }
}


/* ==========================================================
   ICX INSIGHTS IMAGE TOP-CENTRE POSITION — START
========================================================== */

/*
 * Preserve each image's natural aspect ratio while filling
 * the archive card image area. When cropping is necessary,
 * retain the top-centre portion of the original image.
 */
.icx-insight-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ==========================================================
   ICX INSIGHTS IMAGE TOP-CENTRE POSITION — END
========================================================== */


/* ==========================================================
   ICX ARTICLE TYPOGRAPHY AND CONTENT RESET — START
========================================================== */

/*
 * Legacy articles contain imported wrapper classes from external
 * publishing platforms. Neutralise only non-Gutenberg wrappers
 * inside article content so they cannot create narrow columns,
 * unexpected flex layouts or vertically wrapped text.
 */
.icx-article-content > div:not([class*="wp-block-"]),
.icx-article-content
> div:not([class*="wp-block-"])
> div:not([class*="wp-block-"]),
.icx-article-content
> div:not([class*="wp-block-"])
> div:not([class*="wp-block-"])
> div:not([class*="wp-block-"]) {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    float: none !important;
}

/* General reading column */

.icx-article-content {
    width: 100%;
    max-width: 790px;
    min-width: 0;
    color: #263d4b;
    font-size: 1.03rem;
    line-height: 1.82;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
    writing-mode: horizontal-tb;
}

.icx-article-content :where(
    p,
    h2,
    h3,
    h4,
    h5,
    h6,
    ul,
    ol,
    li,
    figure,
    blockquote,
    table,
    pre
) {
    max-width: 100%;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    word-break: normal;
    white-space: normal;
}

/* Paragraphs */

.icx-article-content p {
    margin: 0 0 1.35em;
    color: #314955;
    font-size: inherit;
    line-height: inherit;
}

.icx-article-content p:last-child {
    margin-bottom: 0;
}

.icx-article-content strong {
    color: var(--icx-navy);
    font-weight: 700;
}

.icx-article-content em {
    color: #365361;
}

/* Heading hierarchy */

.icx-article-content h2,
.icx-article-content h3,
.icx-article-content h4,
.icx-article-content h5,
.icx-article-content h6 {
    clear: both;
    max-width: 760px;
    color: var(--icx-navy);
    font-family: var(--icx-font-display);
    font-style: normal;
    font-weight: 700;
    text-wrap: balance;
}

.icx-article-content h2 {
    margin: 2.15em 0 0.68em;
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    line-height: 1.08;
    letter-spacing: -0.032em;
}

.icx-article-content h3 {
    margin: 1.9em 0 0.65em;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.icx-article-content h4 {
    margin: 1.7em 0 0.6em;
    font-size: clamp(1.28rem, 2.4vw, 1.72rem);
    line-height: 1.18;
}

.icx-article-content h5 {
    margin: 1.55em 0 0.55em;
    color: var(--icx-blue);
    font-family: var(--icx-font-sans);
    font-size: 1.08rem;
    line-height: 1.35;
}

.icx-article-content h6 {
    display: flex;
    margin: 0 0 1.25rem;
    gap: 9px;
    align-items: center;
    color: var(--icx-blue);
    font-family: var(--icx-font-sans);
    font-size: 0.72rem;
    line-height: 1.4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.icx-article-content h6::before {
    content: "";
    width: 27px;
    height: 2px;
    flex: 0 0 auto;
    background: var(--icx-orange);
}

.icx-article-content > h2:first-child,
.icx-article-content
> div:first-child
h2:first-of-type {
    margin-top: 0;
}

/*
 * Some imported articles use an italic H2 as an opening summary.
 * Present it as a lead paragraph rather than an ordinary section title.
 */
.icx-article-content h2 > em:only-child {
    display: block;
    max-width: 720px;
    color: var(--icx-navy);
    font-family: var(--icx-font-sans);
    font-size: clamp(1.25rem, 2.5vw, 1.72rem);
    font-style: italic;
    font-weight: 600;
    line-height: 1.48;
    letter-spacing: -0.015em;
}

/* Unordered and ordered lists */

.icx-article-content ul,
.icx-article-content ol {
    display: block;
    width: 100%;
    margin: 1.1rem 0 2rem;
    padding: 0 0 0 1.65rem;
    color: #314955;
    list-style-position: outside;
}

.icx-article-content ul {
    list-style-type: disc;
}

.icx-article-content ol {
    list-style-type: decimal;
}

.icx-article-content ul ul {
    margin: 0.55rem 0 0.8rem;
    list-style-type: circle;
}

.icx-article-content ol ol {
    margin: 0.55rem 0 0.8rem;
    list-style-type: lower-alpha;
}

.icx-article-content li {
    display: list-item;
    width: auto;
    margin: 0 0 0.72rem;
    padding-left: 0.4rem;
    color: #314955;
    line-height: 1.72;
    text-align: left;
    overflow-wrap: break-word;
    word-break: normal;
}

.icx-article-content li:last-child {
    margin-bottom: 0;
}

.icx-article-content li::marker {
    color: var(--icx-orange);
    font-weight: 700;
}

.icx-article-content ol > li::marker {
    color: var(--icx-blue);
    font-family: var(--icx-font-display);
    font-size: 1.02em;
    font-weight: 700;
}

/* Numbered subsection headings imported as H2 elements */

.icx-article-content h2 > strong:only-child {
    display: block;
    color: inherit;
    font: inherit;
}

/* Links */

.icx-article-content a {
    color: var(--icx-blue);
    font-weight: 600;
    text-decoration-line: underline;
    text-decoration-color: rgba(20, 101, 143, 0.38);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.icx-article-content a:hover {
    color: var(--icx-orange);
    text-decoration-color: currentColor;
}

/* Imported separators and native horizontal rules */

.icx-article-content [role="separator"],
.icx-article-content hr {
    display: block;
    width: 100%;
    height: 1px;
    margin: 2.7rem 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--icx-line);
    color: transparent;
    font-size: 0;
    line-height: 0;
}

/* Figures and article images */

.icx-article-featured img {
    object-fit: cover;
    object-position: center top;
}

.icx-article-content figure {
    display: block;
    width: 100%;
    margin: 2rem 0 2.35rem;
}

.icx-article-content figure > div,
.icx-article-content figure > div > div {
    display: block;
    width: 100%;
    max-width: 100%;
}

.icx-article-content img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
    border-radius: 22px 7px 22px 7px;
    object-fit: contain;
    object-position: center top;
}

.icx-article-content figcaption {
    max-width: 680px;
    margin: 0.75rem auto 0;
    color: #71838c;
    font-size: 0.73rem;
    font-style: italic;
    line-height: 1.55;
    text-align: center;
}

/* Quotes */

.icx-article-content blockquote {
    margin: 2.2rem 0;
    padding: 1.65rem 1.8rem;
    border: 0;
    border-left: 4px solid var(--icx-orange);
    color: var(--icx-navy);
    background: var(--icx-cream);
    font-family: var(--icx-font-display);
    font-size: clamp(1.25rem, 2.3vw, 1.62rem);
    line-height: 1.48;
}

.icx-article-content blockquote p {
    color: inherit;
    font: inherit;
    line-height: inherit;
}

/* Tables */

.icx-article-content table {
    display: block;
    width: 100%;
    margin: 2rem 0;
    overflow-x: auto;
    border-collapse: collapse;
    border-spacing: 0;
    -webkit-overflow-scrolling: touch;
}

.icx-article-content th,
.icx-article-content td {
    min-width: 130px;
    padding: 12px 14px;
    border: 1px solid var(--icx-line);
    text-align: left;
    vertical-align: top;
}

.icx-article-content th {
    color: #fff;
    background: var(--icx-navy);
    font-weight: 700;
}

/* Code and preformatted content */

.icx-article-content pre {
    width: 100%;
    margin: 2rem 0;
    padding: 20px;
    overflow-x: auto;
    border-radius: 8px;
    color: #e8f1f5;
    background: var(--icx-navy-dark);
    font-size: 0.86rem;
    line-height: 1.65;
    white-space: pre;
}

.icx-article-content code {
    padding: 0.15em 0.35em;
    border-radius: 4px;
    color: var(--icx-navy);
    background: #edf2f4;
    font-size: 0.9em;
}

.icx-article-content pre code {
    padding: 0;
    color: inherit;
    background: transparent;
}

/* Mobile article typography */

@media (max-width: 620px) {
    .icx-article-content {
        max-width: none;
        font-size: 0.98rem;
        line-height: 1.76;
    }

    .icx-article-content h2 {
        margin-top: 1.8em;
        font-size: clamp(1.75rem, 9vw, 2.35rem);
        line-height: 1.1;
    }

    .icx-article-content h3 {
        margin-top: 1.65em;
        font-size: clamp(1.45rem, 7vw, 1.9rem);
    }

    .icx-article-content h4 {
        font-size: 1.25rem;
    }

    .icx-article-content h2 > em:only-child {
        font-size: clamp(1.14rem, 5.5vw, 1.42rem);
        line-height: 1.48;
    }

    .icx-article-content ul,
    .icx-article-content ol {
        margin-bottom: 1.65rem;
        padding-left: 1.35rem;
    }

    .icx-article-content li {
        margin-bottom: 0.65rem;
        padding-left: 0.25rem;
        line-height: 1.67;
    }

    .icx-article-content figure {
        margin-block: 1.6rem 1.9rem;
    }

    .icx-article-content img {
        border-radius: 16px 5px 16px 5px;
    }

    .icx-article-content blockquote {
        margin-block: 1.8rem;
        padding: 1.25rem 1.3rem;
    }

    .icx-article-content [role="separator"],
    .icx-article-content hr {
        margin-block: 2rem;
    }
}

/* ==========================================================
   ICX ARTICLE TYPOGRAPHY AND CONTENT RESET — END
========================================================== */


/* ==========================================================
   ICX MOBILE INSIGHTS AND ARTICLE FINISH — START
========================================================== */

/*
 * Desktop cards may retain their editorial crop.
 * Phones display archive and article images without cropping.
 */

@media (max-width: 720px) {
    .icx-insights-page,
    .icx-article {
        overflow-x: clip;
    }

    /* ------------------------------------------------------
       INSIGHTS ARCHIVE
    ------------------------------------------------------ */

    .icx-insights-hero__inner {
        padding-block: 54px 50px;
    }

    .icx-insights-eyebrow {
        font-size: 0.64rem;
        letter-spacing: 0.11em;
    }

    .icx-insights-hero h1 {
        margin-top: 14px;
        font-size: clamp(3rem, 16vw, 4.3rem);
        line-height: 0.96;
        letter-spacing: -0.045em;
    }

    .icx-insights-hero p {
        max-width: 34rem;
        margin-top: 16px;
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .icx-insights-listing {
        padding-block: 42px 58px;
    }

    .icx-insights-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .icx-insight-card {
        overflow: hidden;
        border-radius: 18px 6px 18px 6px;
        box-shadow:
            0 12px 32px
            rgba(4, 35, 53, 0.075);
    }

    .icx-insight-card:hover {
        transform: none;
    }

    .icx-insight-card__link {
        display: block;
        height: auto;
    }

    /*
     * Do not force a fixed card-image height on mobile.
     * The width and height attributes supplied by WordPress
     * determine the original image aspect ratio.
     */
    .icx-insight-card__image {
        display: block;
        width: 100%;
        height: auto !important;
        min-height: 0;
        aspect-ratio: auto;
        overflow: hidden;
        background: #edf3f5;
    }

    .icx-insight-card__image img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto !important;
        max-height: none;
        aspect-ratio: auto;
        object-fit: contain !important;
        object-position: center top;
        transform: none !important;
    }

    .icx-insight-card__body {
        min-height: 0;
        padding: 21px 20px 24px;
    }

    .icx-insight-card__meta {
        gap: 12px;
        align-items: center;
        font-size: 0.62rem;
        line-height: 1.4;
    }

    .icx-insight-card h2 {
        margin: 11px 0 10px;
        font-size: clamp(1.55rem, 7.2vw, 2.05rem);
        line-height: 1.08;
        letter-spacing: -0.028em;
        text-wrap: balance;
    }

    .icx-insight-card p {
        display: -webkit-box;
        margin-bottom: 19px;
        overflow: hidden;
        font-size: 0.86rem;
        line-height: 1.62;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .icx-insight-card__read {
        font-size: 0.75rem;
    }

    .icx-insights-pagination {
        margin-top: 38px;
    }

    .icx-insights-pagination .nav-links {
        gap: 7px;
        justify-content: flex-start;
    }

    .icx-insights-pagination .page-numbers {
        min-width: 40px;
        min-height: 40px;
        padding: 9px 12px;
    }

    .icx-insights-pagination .prev,
    .icx-insights-pagination .next {
        width: 100%;
        justify-content: center;
        margin-top: 4px;
    }

    /* ------------------------------------------------------
       SINGLE ARTICLE HEADER
    ------------------------------------------------------ */

    .icx-article-header__inner {
        padding-block: 48px 58px;
    }

    .icx-article-back {
        margin-bottom: 24px;
        font-size: 0.74rem;
    }

    .icx-article-meta {
        gap: 9px;
        align-items: flex-start;
        flex-wrap: wrap;
        font-size: 0.61rem;
        line-height: 1.45;
    }

    .icx-article-header h1 {
        max-width: 100%;
        margin-top: 15px;
        font-size: clamp(2.55rem, 12vw, 3.65rem);
        line-height: 0.99;
        letter-spacing: -0.045em;
        overflow-wrap: break-word;
        word-break: normal;
        hyphens: auto;
        text-wrap: balance;
    }

    .icx-article-intro {
        max-width: 100%;
        margin-top: 18px;
        font-size: 0.9rem;
        line-height: 1.66;
    }

    /* ------------------------------------------------------
       FEATURED ARTICLE IMAGE
    ------------------------------------------------------ */

    /*
     * Override the former 300px mobile height.
     * The complete image now displays using its native ratio.
     */
    .icx-article-featured {
        width: 100%;
        height: auto !important;
        min-height: 0;
        margin-top: -24px;
        overflow: visible;
        border-radius: 22px 6px 22px 6px;
        background: transparent;
        box-shadow:
            0 14px 34px
            rgba(4, 35, 53, 0.12);
    }

    .icx-article-featured img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto !important;
        max-height: none;
        aspect-ratio: auto;
        border-radius: inherit;
        object-fit: contain !important;
        object-position: center top;
    }

    /*
     * This becomes active when the template outputs a stored
     * WordPress attachment caption in a later PHP stage.
     */
    .icx-article-featured figcaption {
        margin: 10px 4px 0;
        color: #6c7f89;
        font-size: 0.72rem;
        font-style: italic;
        line-height: 1.55;
        text-align: left;
    }

    /* ------------------------------------------------------
       ARTICLE READING AREA
    ------------------------------------------------------ */

    .icx-article-layout {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-block: 42px 55px;
    }

    .icx-article-content {
        width: 100%;
        max-width: none;
        min-width: 0;
        font-size: 0.98rem;
        line-height: 1.76;
    }

    .icx-article-content p {
        margin-bottom: 1.25em;
    }

    .icx-article-content h2 {
        margin-top: 1.75em;
        font-size: clamp(1.72rem, 8.4vw, 2.35rem);
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    .icx-article-content h3 {
        margin-top: 1.6em;
        font-size: clamp(1.42rem, 7vw, 1.9rem);
        line-height: 1.14;
    }

    .icx-article-content h4 {
        margin-top: 1.5em;
        font-size: 1.24rem;
        line-height: 1.22;
    }

    .icx-article-content h5 {
        font-size: 1.02rem;
    }

    .icx-article-content h6 {
        margin-bottom: 1rem;
        font-size: 0.66rem;
    }

    .icx-article-content h2 > em:only-child {
        font-size: clamp(1.12rem, 5.3vw, 1.4rem);
        line-height: 1.48;
    }

    /* All article figures must stay inside the phone viewport. */

    .icx-article-content figure,
    .icx-article-content .wp-caption,
    .icx-article-content .wp-block-image {
        display: block;
        width: 100% !important;
        max-width: 100% !important;
        margin: 1.55rem 0 1.9rem !important;
        overflow: visible !important;
    }

    .icx-article-content figure > div,
    .icx-article-content figure > div > div,
    .icx-article-content .wp-caption > a {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    /*
     * Inline article images use contain, not cover.
     * Portrait, square, chart and landscape images remain complete.
     */
    .icx-article-content img,
    .icx-article-content figure img,
    .icx-article-content .wp-caption img,
    .icx-article-content .wp-block-image img {
        display: block;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        margin-right: auto;
        margin-left: auto;
        object-fit: contain !important;
        object-position: center top;
        transform: none !important;
    }

    .icx-article-content figcaption,
    .icx-article-content .wp-caption-text,
    .icx-article-content
    .wp-element-caption {
        display: block;
        width: min(100%, 680px);
        margin: 9px auto 0;
        padding: 0 4px;
        color: #6b7f89;
        font-size: 0.7rem;
        font-style: italic;
        line-height: 1.55;
        text-align: center;
    }

    /* Gutenberg wide and full alignment must not escape the phone. */

    .icx-article-content .alignwide,
    .icx-article-content .alignfull {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    /* Responsive video and embedded media. */

    .icx-article-content iframe,
    .icx-article-content video,
    .icx-article-content embed,
    .icx-article-content object {
        display: block;
        width: 100%;
        max-width: 100%;
    }

    .icx-article-content iframe {
        aspect-ratio: 16 / 9;
        height: auto;
    }

    /* Lists */

    .icx-article-content ul,
    .icx-article-content ol {
        margin-block: 1rem 1.65rem;
        padding-left: 1.35rem;
    }

    .icx-article-content li {
        margin-bottom: 0.67rem;
        padding-left: 0.22rem;
        line-height: 1.68;
    }

    /* Quotes */

    .icx-article-content blockquote {
        margin-block: 1.75rem;
        padding: 1.2rem 1.25rem;
        font-size: clamp(1.16rem, 5.5vw, 1.42rem);
        line-height: 1.48;
    }

    /* Tables scroll rather than breaking the page width. */

    .icx-article-content table {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
    }

    /* Publisher panel */

    .icx-article-aside {
        position: static;
        width: 100%;
        max-width: none;
        padding: 23px 21px;
        border-top: 4px solid var(--icx-orange);
        border-radius: 4px 18px 4px 4px;
    }

    .icx-article-aside p {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    /* Article footer */

    .icx-article-footer {
        padding-block: 34px 42px;
    }

    .icx-article-tags {
        gap: 7px;
    }

    .icx-article-tags a {
        padding: 7px 10px;
        font-size: 0.64rem;
    }

    .icx-article-navigation {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 25px;
    }

    .icx-article-navigation span,
    .icx-article-navigation span:last-child {
        width: 100%;
        text-align: left;
    }

    .icx-article-navigation a {
        display: block;
        padding: 15px 16px;
        border: 1px solid var(--icx-line);
        border-radius: 5px;
        background: #fff;
        font-size: 0.78rem;
        line-height: 1.5;
    }
}

@media (max-width: 390px) {
    .icx-insights-hero__inner {
        padding-block: 48px 45px;
    }

    .icx-insights-hero h1 {
        font-size: clamp(2.85rem, 16vw, 3.75rem);
    }

    .icx-insight-card__body {
        padding: 19px 17px 21px;
    }

    .icx-insight-card h2 {
        font-size: clamp(1.42rem, 7.5vw, 1.8rem);
    }

    .icx-article-header__inner {
        padding-block: 43px 53px;
    }

    .icx-article-header h1 {
        font-size: clamp(2.28rem, 11.8vw, 3.1rem);
    }

    .icx-article-layout {
        padding-block: 38px 49px;
    }

    .icx-article-content {
        font-size: 0.96rem;
    }

    .icx-article-content h2 {
        font-size: clamp(1.62rem, 8.4vw, 2.08rem);
    }
}

/* ==========================================================
   ICX MOBILE INSIGHTS AND ARTICLE FINISH — END
========================================================== */


/* ==========================================================
   ICX ARTICLE SOCIAL SHARE BAR — START
========================================================== */

.icx-article-share {
    width: 100%;
    max-width: 760px;
}

.icx-article-share__label {
    display: block;
    margin-bottom: 11px;
    color: inherit;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.35;
    text-transform: uppercase;
}

.icx-article-share__actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.icx-article-share__link,
.icx-article-share__native,
.icx-article-share__copy {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: var(--icx-font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        color 160ms ease,
        background-color 160ms ease,
        border-color 160ms ease,
        transform 160ms ease;
}

.icx-article-share__link:hover,
.icx-article-share__native:hover,
.icx-article-share__copy:hover {
    transform: translateY(-2px);
}

.icx-article-share__link:focus-visible,
.icx-article-share__native:focus-visible,
.icx-article-share__copy:focus-visible {
    outline: 3px solid rgba(245, 130, 32, 0.38);
    outline-offset: 3px;
}

/* Header share bar */

.icx-article-share--header {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.icx-article-share--header
.icx-article-share__label {
    color: rgba(255, 255, 255, 0.72);
}

.icx-article-share--header
.icx-article-share__link,
.icx-article-share--header
.icx-article-share__native,
.icx-article-share--header
.icx-article-share__copy {
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.icx-article-share--header
.icx-article-share__link:hover,
.icx-article-share--header
.icx-article-share__native:hover,
.icx-article-share--header
.icx-article-share__copy:hover {
    border-color: var(--icx-orange);
    color: var(--icx-navy-dark);
    background: var(--icx-orange);
}

/* Footer share bar */

.icx-article-share--footer {
    margin-bottom: 28px;
    padding: 22px 24px;
    border: 1px solid rgba(7, 52, 79, 0.12);
    border-top: 4px solid var(--icx-orange);
    border-radius: 5px 20px 5px 5px;
    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            var(--icx-mint) 100%
        );
}

.icx-article-share--footer
.icx-article-share__label {
    color: var(--icx-navy);
}

.icx-article-share--footer
.icx-article-share__link,
.icx-article-share--footer
.icx-article-share__native,
.icx-article-share--footer
.icx-article-share__copy {
    border-color: rgba(7, 52, 79, 0.16);
    color: var(--icx-navy);
    background: #ffffff;
}

.icx-article-share--footer
.icx-article-share__link:hover,
.icx-article-share--footer
.icx-article-share__native:hover,
.icx-article-share--footer
.icx-article-share__copy:hover {
    border-color: var(--icx-navy);
    color: #ffffff;
    background: var(--icx-navy);
}

/* Network accents */

.icx-article-share__link--whatsapp {
    border-color: rgba(28, 156, 85, 0.35);
}

.icx-article-share__link--linkedin {
    border-color: rgba(20, 101, 143, 0.38);
}

.icx-article-share__link--facebook {
    border-color: rgba(40, 80, 150, 0.34);
}

.icx-article-share__link--x {
    border-color: rgba(6, 31, 49, 0.26);
}

.icx-article-share__link--email {
    border-color: rgba(245, 130, 32, 0.38);
}

/* JavaScript-enhanced controls */

.icx-article-share__native:not([hidden]) {
    display: inline-flex;
    border-color: var(--icx-orange);
    color: var(--icx-navy-dark);
    background: var(--icx-orange);
}

.icx-article-share__copy:not([hidden]) {
    display: inline-flex;
}

.icx-article-share__native[hidden],
.icx-article-share__copy[hidden],
.icx-article-share__status[hidden] {
    display: none !important;
}

.icx-article-share__status {
    display: block;
    margin-top: 10px;
    color: var(--icx-blue);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.45;
}

/* Tablet */

@media (max-width: 900px) {
    .icx-article-share {
        max-width: none;
    }

    .icx-article-share__actions {
        gap: 7px;
    }

    .icx-article-share__link,
    .icx-article-share__native,
    .icx-article-share__copy {
        min-height: 42px;
        padding-inline: 13px;
    }
}

/* Mobile-first finishing */

@media (max-width: 620px) {
    .icx-article-share--header {
        margin-top: 23px;
        padding-top: 19px;
    }

    .icx-article-share--footer {
        margin-bottom: 24px;
        padding: 20px 17px;
        border-radius: 4px 17px 4px 4px;
    }

    .icx-article-share__label {
        margin-bottom: 10px;
        font-size: 0.63rem;
    }

    .icx-article-share__actions {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .icx-article-share__link,
    .icx-article-share__native,
    .icx-article-share__copy {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 10px 8px;
        font-size: 0.71rem;
        white-space: normal;
        text-align: center;
    }

    /*
     * When JavaScript enables native sharing, make it the
     * strongest and widest mobile action.
     */
    .icx-article-share__native:not([hidden]) {
        grid-column: 1 / -1;
    }

    .icx-article-share__copy:not([hidden]) {
        grid-column: 1 / -1;
    }

    .icx-article-share__status {
        margin-top: 9px;
        font-size: 0.7rem;
        text-align: center;
    }
}

@media (max-width: 380px) {
    .icx-article-share__actions {
        grid-template-columns: 1fr;
    }

    .icx-article-share__native:not([hidden]),
    .icx-article-share__copy:not([hidden]) {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .icx-article-share__link,
    .icx-article-share__native,
    .icx-article-share__copy {
        transition: none;
    }

    .icx-article-share__link:hover,
    .icx-article-share__native:hover,
    .icx-article-share__copy:hover {
        transform: none;
    }
}

/* ==========================================================
   ICX ARTICLE SOCIAL SHARE BAR — END
========================================================== */
