.icx-resources-page {
    overflow: clip;
    background: #f4f7f9;
}

.icx-resources-page__hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 8vw, 124px) 0;
    color: var(--icx-white);
    background:
        radial-gradient(
            circle at 88% 10%,
            rgba(245, 130, 32, 0.25),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            var(--icx-navy-dark),
            var(--icx-navy-medium)
        );
}

.icx-resources-page__hero::before,
.icx-resources-page__hero::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    pointer-events: none;
}

.icx-resources-page__hero::before {
    top: -230px;
    right: -130px;
    width: 500px;
    height: 500px;
}

.icx-resources-page__hero::after {
    right: 18%;
    bottom: -390px;
    width: 620px;
    height: 620px;
}

.icx-resources-page__hero-content {
    position: relative;
    z-index: 2;
    max-width: 940px;
}

.icx-resources-page__eyebrow,
.icx-resources-library__eyebrow,
.icx-resources-empty__eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #d4e8f1;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.icx-resources-page__eyebrow::before,
.icx-resources-library__eyebrow::before,
.icx-resources-empty__eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: var(--icx-orange);
}

.icx-resources-page__title {
    max-width: 920px;
    margin: 0;
    overflow-wrap: break-word;
    color: var(--icx-white);
    font-size: clamp(3.4rem, 8vw, 7.2rem);
    line-height: 0.94;
}

.icx-resources-page__introduction {
    max-width: 760px;
    margin-top: 26px;
    color: #d5e6ed;
    font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.icx-resources-page__introduction > :last-child {
    margin-bottom: 0;
}

.icx-resources-page__introduction a {
    color: var(--icx-white);
}

.icx-resources-listing {
    padding: clamp(64px, 8vw, 120px) 0;
}

.icx-resources-feature {
    display: grid;
    grid-template-columns:
        minmax(320px, 0.92fr)
        minmax(0, 1.08fr);
    min-width: 0;
    margin-bottom: clamp(72px, 9vw, 130px);
    overflow: hidden;
    background: var(--icx-white);
    box-shadow: 0 26px 70px rgba(4, 35, 53, 0.13);
}

.icx-resources-feature__media {
    position: relative;
    min-width: 0;
    min-height: 520px;
    overflow: hidden;
    background: var(--icx-navy);
}

.icx-resources-feature__media > a {
    position: absolute;
    inset: 0;
    display: block;
}

.icx-resources-feature__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icx-resources-feature__placeholder,
.icx-resources-card__placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 20px;
    color: rgba(255, 255, 255, 0.18);
    background:
        radial-gradient(
            circle at 82% 10%,
            rgba(245, 130, 32, 0.28),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            var(--icx-navy),
            var(--icx-navy-dark)
        );
    font-family: var(--icx-font-display);
    font-size: clamp(3.8rem, 9vw, 8rem);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.icx-resources-feature__content {
    min-width: 0;
    padding: clamp(38px, 6vw, 76px);
}

.icx-resources-feature__labels,
.icx-resources-card__labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--icx-blue);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.icx-resources-feature__labels .is-featured,
.icx-resources-card__labels .is-featured {
    padding: 5px 8px;
    color: var(--icx-navy-dark);
    background: var(--icx-orange);
}

.icx-resources-feature h2 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 5.1rem);
    line-height: 0.96;
}

.icx-resources-feature h2 a,
.icx-resources-card__title a {
    color: inherit;
    text-decoration: none;
}

.icx-resources-feature h2 a:hover,
.icx-resources-card__title a:hover {
    color: var(--icx-orange);
}

.icx-resources-feature__excerpt {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--icx-muted);
    font-size: 1rem;
}

.icx-resources-feature__details {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 20px 30px;
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--icx-line);
}

.icx-resources-feature__details div,
.icx-resources-card__details div {
    min-width: 0;
}

.icx-resources-feature__details span,
.icx-resources-card__details span {
    display: block;
    margin-bottom: 4px;
    color: var(--icx-orange);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.icx-resources-feature__details strong,
.icx-resources-card__details strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--icx-navy);
    font-size: 0.9rem;
}

.icx-resources-feature__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.icx-resources-library__head {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(260px, 470px);
    align-items: end;
    gap: 40px;
    margin-bottom: 34px;
}

.icx-resources-library__eyebrow {
    margin-bottom: 13px;
    color: var(--icx-blue);
}

.icx-resources-library__head h2 {
    margin: 0;
    font-size: clamp(2.7rem, 5vw, 5rem);
    line-height: 0.98;
}

.icx-resources-library__head p {
    margin: 0;
    color: var(--icx-muted);
}

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

.icx-resources-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: var(--icx-white);
    box-shadow: 0 16px 42px rgba(4, 35, 53, 0.08);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}

.icx-resources-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 55px rgba(4, 35, 53, 0.13);
}

.icx-resources-card__image {
    position: relative;
    display: block;
    min-height: 245px;
    overflow: hidden;
    background: var(--icx-navy);
}

.icx-resources-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.icx-resources-card:hover .icx-resources-card__image img {
    transform: scale(1.035);
}

.icx-resources-card__format {
    position: absolute;
    right: 15px;
    bottom: 15px;
    padding: 6px 9px;
    color: var(--icx-navy-dark);
    background: var(--icx-orange);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.icx-resources-card__content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: 26px;
}

.icx-resources-card__title {
    margin: 0;
    overflow-wrap: break-word;
    font-size: clamp(1.75rem, 2.5vw, 2.35rem);
    line-height: 1.04;
}

.icx-resources-card__excerpt {
    display: -webkit-box;
    margin: 20px 0 0;
    overflow: hidden;
    color: var(--icx-muted);
    font-size: 0.9rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.icx-resources-card__details {
    display: grid;
    gap: 15px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--icx-line);
}

.icx-resources-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 24px;
}

.icx-resources-card__view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--icx-navy);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
}

.icx-resources-card__view:hover {
    color: var(--icx-orange);
}

.icx-resources-card__actions .icx-button {
    min-height: 42px;
    padding: 10px 15px;
    font-size: 0.76rem;
}

.icx-resources-empty {
    max-width: 760px;
    padding: clamp(36px, 6vw, 68px);
    background: var(--icx-white);
    box-shadow: 0 20px 55px rgba(4, 35, 53, 0.09);
}

.icx-resources-empty__eyebrow {
    color: var(--icx-blue);
}

.icx-resources-empty h2 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.7rem);
    line-height: 0.98;
}

.icx-resources-empty p {
    max-width: 620px;
    margin: 22px 0 28px;
    color: var(--icx-muted);
}

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

@media (max-width: 900px) {
    .icx-resources-feature {
        grid-template-columns: 1fr;
    }

    .icx-resources-feature__media {
        min-height: 410px;
    }

    .icx-resources-library__head {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 18px;
    }
}

@media (max-width: 680px) {
    .icx-resources-page__hero {
        padding: 60px 0;
    }

    .icx-resources-page__title {
        font-size: clamp(3rem, 16vw, 4.8rem);
    }

    .icx-resources-feature__media {
        min-height: 300px;
    }

    .icx-resources-feature__content {
        padding: 28px 22px 32px;
    }

    .icx-resources-feature h2 {
        font-size: clamp(2.5rem, 12vw, 3.8rem);
    }

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

    .icx-resources-feature__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .icx-resources-feature__actions .icx-button {
        justify-content: center;
        width: 100%;
    }

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

    .icx-resources-card__image {
        min-height: 230px;
    }

    .icx-resources-card__content {
        padding: 23px 20px;
    }

    .icx-resources-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .icx-resources-card__actions .icx-button {
        justify-content: center;
        width: 100%;
    }
}


/* ==========================================================
   ICX RESOURCE LIBRARY — CATEGORY ORGANISATION V1.1
========================================================== */

.icx-resource-categories {
    margin:
        0
        0
        clamp(48px, 6vw, 76px);

    padding: 22px;

    border: 1px solid rgba(7, 52, 79, 0.1);

    border-radius:
        2px
        24px
        2px
        2px;

    background: #ffffff;

    box-shadow:
        0 14px 38px
        rgba(4, 35, 53, 0.06);
}


.icx-resource-categories__label {
    display: block;

    margin-bottom: 14px;

    color: var(--icx-blue);

    font-size: 0.68rem;
    font-weight: 700;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}


.icx-resource-categories__links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}


.icx-resource-category-link {
    display: inline-flex;

    min-height: 42px;

    align-items: center;

    gap: 10px;

    padding:
        9px
        12px
        9px
        14px;

    border:
        1px solid
        rgba(7, 52, 79, 0.12);

    border-radius: 999px;

    color: var(--icx-navy);

    background: #f7fafb;

    text-decoration: none;

    font-size: 0.78rem;
    font-weight: 700;
}


.icx-resource-category-link:hover,
.icx-resource-category-link:focus-visible {
    border-color:
        rgba(245, 130, 32, 0.52);

    background: #fff7ef;
}


.icx-resource-category-link.is-all {
    color: #ffffff;
    border-color: var(--icx-navy);
    background: var(--icx-navy);
}


.icx-resource-category-link strong {
    display: grid;

    min-width: 24px;
    height: 24px;

    padding-inline: 6px;

    place-items: center;

    border-radius: 999px;

    color: var(--icx-navy-dark);

    background:
        rgba(245, 130, 32, 0.2);

    font-size: 0.7rem;
}


.icx-resource-category-link.is-all strong {
    background: var(--icx-orange);
}


.icx-resources-category-groups {
    display: grid;

    gap:
        clamp(
            64px,
            8vw,
            104px
        );
}


.icx-resources-category {
    scroll-margin-top: 150px;
}


.icx-resources-category__head {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 0.72fr);

    gap:
        clamp(
            28px,
            5vw,
            70px
        );

    align-items: end;

    margin-bottom: 28px;

    padding-bottom: 22px;

    border-bottom:
        1px solid
        rgba(7, 52, 79, 0.13);
}


.icx-resources-category__identity {
    display: flex;

    align-items: center;

    gap: 18px;
}


.icx-resources-category__icon {
    display: grid;

    width: 58px;
    height: 58px;

    flex: 0 0 58px;

    place-items: center;

    color: #ffffff;

    border-radius:
        2px
        18px
        2px
        2px;

    background:
        linear-gradient(
            145deg,
            var(--icx-blue),
            var(--icx-navy-dark)
        );
}


.icx-resources-category__icon svg,
.icx-resources-card__placeholder-icon svg {
    width: 28px;
    height: 28px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.icx-resources-category__eyebrow {
    display: block;

    margin-bottom: 5px;

    color: var(--icx-orange);

    font-size: 0.63rem;
    font-weight: 700;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}


.icx-resources-category__head h3 {
    margin: 0;

    color: var(--icx-navy-dark);

    font-size:
        clamp(
            2rem,
            3.4vw,
            3.35rem
        );

    line-height: 1;
}


.icx-resources-category__count {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--icx-blue);

    font-size: 0.69rem;
    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.icx-resources-category__summary p {
    max-width: 520px;

    margin: 0;

    color: var(--icx-muted);

    font-size: 0.9rem;
    line-height: 1.65;
}


/* Attractive category fallback instead of PDF/DOC text */

.icx-resources-card__placeholder {
    align-content: center;

    gap: 14px;

    color: #ffffff;

    font-family: var(--icx-font-sans);

    font-size: 1rem;

    text-transform: none;
}


.icx-resources-card__placeholder-icon {
    display: grid;

    width: 64px;
    height: 64px;

    place-items: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.22);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);
}


.icx-resources-card__placeholder-label {
    max-width: 220px;

    color: #ffffff;

    font-size: 0.74rem;
    font-weight: 700;

    letter-spacing: 0.08em;
    line-height: 1.45;

    text-align: center;
    text-transform: uppercase;
}


@media (max-width: 900px) {

    .icx-resources-category__head {
        grid-template-columns: 1fr;
        gap: 16px;
    }

}


@media (max-width: 680px) {

    .icx-resource-categories {
        margin-bottom: 44px;

        padding:
            18px
            0
            18px
            18px;

        overflow: hidden;
    }


    .icx-resource-categories__links {
        flex-wrap: nowrap;

        overflow-x: auto;

        padding:
            0
            18px
            5px
            0;

        scrollbar-width: thin;
    }


    .icx-resource-category-link {
        flex: 0 0 auto;
    }


    .icx-resources-category-groups {
        gap: 60px;
    }


    .icx-resources-category {
        scroll-margin-top: 110px;
    }


    .icx-resources-category__head {
        margin-bottom: 20px;
        padding-bottom: 18px;
    }


    .icx-resources-category__identity {
        gap: 13px;
    }


    .icx-resources-category__icon {
        width: 50px;
        height: 50px;

        flex-basis: 50px;
    }


    .icx-resources-category__icon svg {
        width: 24px;
        height: 24px;
    }


    .icx-resources-category__head h3 {
        font-size:
            clamp(
                1.85rem,
                9vw,
                2.6rem
            );
    }

}


/* ==========================================================
   END ICX RESOURCE LIBRARY — CATEGORY ORGANISATION V1.1
========================================================== */


/* ==========================================================
   ICX RESOURCE LIBRARY — COMPACT EDITORIAL V1.2

   Purpose:
   - Keep category architecture
   - Remove bulky placeholder artwork
   - Make the page feel like a professional knowledge library
========================================================== */


/* ----------------------------------------------------------
   OVERALL LISTING DENSITY
---------------------------------------------------------- */

.icx-resources-listing {
    padding:
        clamp(52px, 6vw, 82px)
        0
        clamp(64px, 7vw, 96px);
}


.icx-resources-feature {
    margin-bottom:
        clamp(52px, 6vw, 76px);
}


.icx-resources-library__head {
    margin-bottom: 24px;
}


.icx-resource-categories {
    margin-bottom:
        clamp(40px, 4vw, 52px);
}


.icx-resources-category-groups {
    gap:
        clamp(
            46px,
            5vw,
            68px
        );
}


/* ----------------------------------------------------------
   CATEGORY HEADERS
---------------------------------------------------------- */

.icx-resources-category__head {
    grid-template-columns:
        minmax(0, 1fr)
        minmax(280px, 0.62fr);

    gap:
        clamp(
            22px,
            4vw,
            52px
        );

    margin-bottom: 20px;

    padding-bottom: 16px;
}


.icx-resources-category__icon {
    width: 46px;
    height: 46px;

    flex-basis: 46px;

    border-radius:
        2px
        14px
        2px
        2px;
}


.icx-resources-category__icon svg {
    width: 21px;
    height: 21px;
}


.icx-resources-category__head h3 {
    font-size:
        clamp(
            1.7rem,
            2.5vw,
            2.55rem
        );

    line-height: 1.02;
}


.icx-resources-category__summary p {
    font-size: 0.82rem;
    line-height: 1.55;
}


/* ----------------------------------------------------------
   RESOURCE GRID
---------------------------------------------------------- */

.icx-resources-grid {
    gap: 16px;
}


/* ----------------------------------------------------------
   STANDARD CARD
---------------------------------------------------------- */

.icx-resources-card {
    position: relative;

    overflow: hidden;

    border:
        1px solid
        rgba(7, 52, 79, 0.09);

    border-radius:
        2px
        17px
        2px
        2px;

    box-shadow:
        0 9px 24px
        rgba(4, 35, 53, 0.055);

    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}


.icx-resources-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(20, 101, 143, 0.2);

    box-shadow:
        0 14px 32px
        rgba(4, 35, 53, 0.085);
}


/* ----------------------------------------------------------
   REAL IMAGE CARDS
   Real photography / cover art is still allowed, but reduced
   from the old 245px block.
---------------------------------------------------------- */

.icx-resources-card--image
.icx-resources-card__image {
    min-height: 150px;
    height: 150px;
}


.icx-resources-card--image
.icx-resources-card__image img {
    object-position: center;
}


/* ----------------------------------------------------------
   ICON CARDS
   No more giant dark placeholder square.
---------------------------------------------------------- */

.icx-resources-card--icon {
    padding-top: 18px;
}


.icx-resources-card--icon
.icx-resources-card__image {
    position: relative;

    width: 58px;
    height: 58px;
    min-height: 58px;

    margin:
        0
        0
        0
        20px;

    overflow: visible;

    border-radius:
        2px
        16px
        2px
        2px;

    background: transparent;
}


.icx-resources-card--icon
.icx-resources-card__placeholder {
    display: grid;

    width: 58px;
    height: 58px;

    padding: 0;

    place-items: center;

    border-radius:
        2px
        16px
        2px
        2px;

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            var(--icx-blue),
            var(--icx-navy-dark)
        );

    box-shadow:
        0 8px 18px
        rgba(4, 35, 53, 0.13);
}


.icx-resources-card--icon
.icx-resources-card__placeholder-icon {
    width: auto;
    height: auto;

    border: 0;
    border-radius: 0;

    background: transparent;
}


.icx-resources-card--icon
.icx-resources-card__placeholder-icon svg {
    width: 25px;
    height: 25px;
}


.icx-resources-card--icon
.icx-resources-card__placeholder-label {
    display: none;
}


/*
 * Format already appears in the CTA / metadata context.
 * Do not attach another orange PDF flag to the small icon.
 */
.icx-resources-card--icon
.icx-resources-card__format {
    display: none;
}


/* ----------------------------------------------------------
   COMPACT CARD COPY
---------------------------------------------------------- */

.icx-resources-card__content {
    padding:
        15px
        20px
        19px;
}


.icx-resources-card--image
.icx-resources-card__content {
    padding-top: 18px;
}


.icx-resources-card__labels {
    gap: 7px;

    margin-bottom: 8px;

    font-size: 0.59rem;

    letter-spacing: 0.08em;
}


.icx-resources-card__labels .is-featured {
    padding: 3px 6px;
}


.icx-resources-card__title {
    font-size:
        clamp(
            1.22rem,
            1.5vw,
            1.55rem
        );

    line-height: 1.12;
}


.icx-resources-card__excerpt {
    margin-top: 10px;

    font-size: 0.79rem;
    line-height: 1.5;

    -webkit-line-clamp: 2;
}


/* ----------------------------------------------------------
   METADATA
---------------------------------------------------------- */

.icx-resources-card__details {
    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 9px 14px;

    margin-top: 13px;

    padding-top: 12px;
}


.icx-resources-card__details span {
    margin-bottom: 2px;

    font-size: 0.55rem;
}


.icx-resources-card__details strong {
    font-size: 0.72rem;
    line-height: 1.35;
}


/* ----------------------------------------------------------
   ACTIONS
---------------------------------------------------------- */

.icx-resources-card__actions {
    gap: 10px;

    padding-top: 14px;
}


.icx-resources-card__view {
    font-size: 0.72rem;
}


.icx-resources-card__actions
.icx-button {
    min-height: 36px;

    padding:
        8px
        11px;

    font-size: 0.66rem;
}


/* ==========================================================
   FEATURED RESOURCE
   If there is no genuine cover, use a restrained category
   panel rather than half a page of dark "PDF".
========================================================== */

.icx-resources-feature--icon {
    grid-template-columns:
        minmax(170px, 215px)
        minmax(0, 1fr);
}


.icx-resources-feature--icon
.icx-resources-feature__media {
    min-height: 0;

    background:
        linear-gradient(
            145deg,
            var(--icx-blue),
            var(--icx-navy-dark)
        );
}


.icx-resources-feature--icon
.icx-resources-feature__placeholder {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 13px;

    padding: 28px 20px;

    color: #ffffff;

    font-family: var(--icx-font-sans);

    font-size: 1rem;

    text-transform: none;
}


.icx-resources-feature__placeholder-icon {
    display: grid;

    width: 72px;
    height: 72px;

    place-items: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.25);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.08);
}


.icx-resources-feature__placeholder-icon svg {
    width: 32px;
    height: 32px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.icx-resources-feature__placeholder-label {
    max-width: 160px;

    color: #ffffff;

    font-size: 0.67rem;
    font-weight: 700;

    line-height: 1.45;

    letter-spacing: 0.08em;

    text-align: center;

    text-transform: uppercase;
}


.icx-resources-feature--icon
.icx-resources-feature__content {
    padding:
        clamp(
            30px,
            4vw,
            48px
        );
}


.icx-resources-feature--icon h2 {
    font-size:
        clamp(
            2.25rem,
            4vw,
            3.9rem
        );

    line-height: 0.99;
}


.icx-resources-feature--icon
.icx-resources-feature__excerpt {
    margin-top: 16px;
}


.icx-resources-feature--icon
.icx-resources-feature__details {
    margin-top: 20px;
    padding-top: 18px;
}


.icx-resources-feature--icon
.icx-resources-feature__actions {
    margin-top: 20px;
}


/* ----------------------------------------------------------
   TABLET
---------------------------------------------------------- */

@media (max-width: 900px) {

    .icx-resources-category__head {
        grid-template-columns: 1fr;

        gap: 10px;
    }


    .icx-resources-feature--icon {
        grid-template-columns:
            160px
            minmax(0, 1fr);
    }


    .icx-resources-feature--icon
    .icx-resources-feature__content {
        padding: 28px;
    }

}


/* ----------------------------------------------------------
   MOBILE
---------------------------------------------------------- */

@media (max-width: 680px) {

    .icx-resources-listing {
        padding:
            42px
            0
            58px;
    }


    .icx-resource-categories {
        margin-bottom: 36px;
    }


    .icx-resources-category-groups {
        gap: 46px;
    }


    .icx-resources-category__head {
        margin-bottom: 15px;

        padding-bottom: 14px;
    }


    .icx-resources-category__identity {
        gap: 10px;
    }


    .icx-resources-category__icon {
        width: 40px;
        height: 40px;

        flex-basis: 40px;
    }


    .icx-resources-category__head h3 {
        font-size:
            clamp(
                1.6rem,
                8vw,
                2.15rem
            );
    }


    .icx-resources-grid {
        gap: 12px;
    }


    .icx-resources-card--image
    .icx-resources-card__image {
        min-height: 135px;
        height: 135px;
    }


    .icx-resources-card--icon {
        padding-top: 15px;
    }


    .icx-resources-card--icon
    .icx-resources-card__image {
        width: 50px;
        height: 50px;
        min-height: 50px;

        margin-left: 16px;
    }


    .icx-resources-card--icon
    .icx-resources-card__placeholder {
        width: 50px;
        height: 50px;
    }


    .icx-resources-card--icon
    .icx-resources-card__placeholder-icon svg {
        width: 22px;
        height: 22px;
    }


    .icx-resources-card__content {
        padding:
            12px
            16px
            17px;
    }


    .icx-resources-card__title {
        font-size:
            clamp(
                1.2rem,
                6vw,
                1.45rem
            );
    }


    .icx-resources-card__excerpt {
        font-size: 0.78rem;
    }


    .icx-resources-card__details {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }


    .icx-resources-card__actions {
        align-items: center;

        flex-direction: row;

        justify-content: space-between;
    }


    .icx-resources-card__actions
    .icx-button {
        width: auto;
    }


    /*
     * Featured resource becomes a short visual banner over
     * the copy rather than a huge portrait block.
     */
    .icx-resources-feature--icon {
        grid-template-columns: 1fr;
    }


    .icx-resources-feature--icon
    .icx-resources-feature__media {
        height: 108px;
        min-height: 108px;
    }


    .icx-resources-feature--icon
    .icx-resources-feature__placeholder {
        flex-direction: row;

        gap: 12px;

        justify-content: flex-start;

        padding: 18px 20px;
    }


    .icx-resources-feature__placeholder-icon {
        width: 52px;
        height: 52px;

        flex: 0 0 52px;
    }


    .icx-resources-feature__placeholder-icon svg {
        width: 24px;
        height: 24px;
    }


    .icx-resources-feature__placeholder-label {
        max-width: none;

        text-align: left;
    }


    .icx-resources-feature--icon
    .icx-resources-feature__content {
        padding:
            24px
            20px
            27px;
    }

}


/* ==========================================================
   END ICX RESOURCE LIBRARY — COMPACT EDITORIAL V1.2
========================================================== */


/* ==========================================================
   ICX RESOURCE LIBRARY — TRUE COMPACT CARDS V1.3
   Targets the ACTUAL rendered markup.
========================================================== */


/* ==========================================================
   1. RESOURCE CATEGORY RHYTHM
========================================================== */

.icx-resources-category-groups {
    gap: clamp(42px, 4.5vw, 62px) !important;
}

.icx-resources-category__head {
    margin-bottom: 18px !important;
    padding-bottom: 14px !important;
}

.icx-resources-category__icon {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px !important;
}

.icx-resources-category__icon svg {
    width: 20px !important;
    height: 20px !important;
}

.icx-resources-category__head h3 {
    font-size: clamp(1.7rem, 2.5vw, 2.45rem) !important;
}

.icx-resources-category__summary p {
    font-size: 0.82rem !important;
    line-height: 1.55 !important;
}


/* ==========================================================
   2. CARDS WITHOUT A REAL IMAGE

   Current markup does not have --icon modifier classes,
   therefore detect cards containing the placeholder itself.
========================================================== */

.icx-resources-card:has(.icx-resources-card__placeholder) {
    display: grid !important;

    grid-template-columns:
        66px
        minmax(0, 1fr) !important;

    min-height: 0 !important;

    padding: 17px 18px !important;

    align-items: start !important;

    gap: 15px !important;

    overflow: hidden !important;

    border:
        1px solid
        rgba(7, 52, 79, 0.1) !important;

    border-radius:
        2px
        18px
        2px
        2px !important;

    background: #ffffff !important;

    box-shadow:
        0 8px 24px
        rgba(4, 35, 53, 0.055) !important;
}


/* ----------------------------------------------------------
   Small icon instead of giant graphic panel
---------------------------------------------------------- */

.icx-resources-card:has(.icx-resources-card__placeholder)
.icx-resources-card__image {
    position: relative !important;

    display: block !important;

    width: 58px !important;
    height: 58px !important;

    min-height: 58px !important;

    margin: 0 !important;

    overflow: visible !important;

    background: transparent !important;

    border: 0 !important;
}


.icx-resources-card:has(.icx-resources-card__placeholder)
.icx-resources-card__placeholder {
    display: grid !important;

    width: 58px !important;
    height: 58px !important;

    min-height: 58px !important;

    padding: 0 !important;

    place-items: center !important;

    border-radius:
        2px
        16px
        2px
        2px !important;

    color: #ffffff !important;

    background:
        linear-gradient(
            145deg,
            var(--icx-blue),
            var(--icx-navy-dark)
        ) !important;

    box-shadow:
        0 7px 17px
        rgba(4, 35, 53, 0.13) !important;
}


.icx-resources-card:has(.icx-resources-card__placeholder)
.icx-resources-card__placeholder-icon {
    display: grid !important;

    width: auto !important;
    height: auto !important;

    border: 0 !important;
    background: transparent !important;

    place-items: center !important;
}


.icx-resources-card:has(.icx-resources-card__placeholder)
.icx-resources-card__placeholder-icon svg {
    width: 25px !important;
    height: 25px !important;
}


/* Category is already written inside the card body. */
.icx-resources-card:has(.icx-resources-card__placeholder)
.icx-resources-card__placeholder-label {
    display: none !important;
}


/* Remove PDF / Audio / Web Page corner badge from icon. */
.icx-resources-card:has(.icx-resources-card__placeholder)
.icx-resources-card__format {
    display: none !important;
}


/* ==========================================================
   3. CARD BODY
========================================================== */

.icx-resources-card:has(.icx-resources-card__placeholder)
.icx-resources-card__content {
    display: flex !important;

    min-width: 0 !important;

    flex-direction: column !important;

    padding: 0 !important;
}


.icx-resources-card__labels {
    margin-bottom: 6px !important;

    font-size: 0.57rem !important;

    letter-spacing: 0.08em !important;
}


.icx-resources-card__title {
    margin: 0 !important;

    font-size: clamp(1.13rem, 1.4vw, 1.42rem) !important;

    line-height: 1.12 !important;
}


.icx-resources-card__excerpt {
    display: -webkit-box !important;

    margin-top: 8px !important;

    overflow: hidden !important;

    color: var(--icx-muted) !important;

    font-size: 0.76rem !important;
    line-height: 1.48 !important;

    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}


/* ==========================================================
   4. METADATA — ONE COMPACT LINE/GRID
========================================================== */

.icx-resources-card__details {
    display: grid !important;

    grid-template-columns:
        repeat(3, minmax(0, 1fr)) !important;

    gap: 8px 13px !important;

    margin-top: 11px !important;

    padding-top: 10px !important;

    border-top:
        1px solid
        rgba(7, 52, 79, 0.08) !important;
}


.icx-resources-card__details div {
    min-width: 0 !important;
}


.icx-resources-card__details span {
    display: block !important;

    margin-bottom: 2px !important;

    color: #83929a !important;

    font-size: 0.52rem !important;

    letter-spacing: 0.06em !important;

    text-transform: uppercase !important;
}


.icx-resources-card__details strong {
    display: block !important;

    overflow: hidden !important;

    color: var(--icx-navy-dark) !important;

    font-size: 0.66rem !important;
    line-height: 1.35 !important;

    text-overflow: ellipsis !important;
}


/* ==========================================================
   5. ACTIONS
========================================================== */

.icx-resources-card__actions {
    display: flex !important;

    align-items: center !important;

    justify-content: space-between !important;

    gap: 10px !important;

    margin-top: auto !important;

    padding-top: 12px !important;
}


.icx-resources-card__view {
    font-size: 0.69rem !important;
}


.icx-resources-card__actions .icx-button {
    width: auto !important;

    min-height: 34px !important;

    padding:
        7px
        10px !important;

    font-size: 0.62rem !important;
}


/* ==========================================================
   6. FEATURED RESOURCE

   The current PHP still outputs the old PDF panel.
   Make that panel much smaller immediately.
========================================================== */

.icx-resources-feature:has(.icx-resources-feature__placeholder) {
    grid-template-columns:
        185px
        minmax(0, 1fr) !important;

    min-height: 0 !important;

    margin-bottom:
        clamp(44px, 5vw, 64px) !important;
}


.icx-resources-feature:has(.icx-resources-feature__placeholder)
.icx-resources-feature__media {
    min-height: 220px !important;

    background:
        linear-gradient(
            145deg,
            var(--icx-blue),
            var(--icx-navy-dark)
        ) !important;
}


.icx-resources-feature:has(.icx-resources-feature__placeholder)
.icx-resources-feature__placeholder {
    display: grid !important;

    width: 100% !important;
    height: 100% !important;

    min-height: 220px !important;

    place-items: center !important;

    color:
        rgba(
            255,
            255,
            255,
            0.7
        ) !important;

    font-family:
        var(--icx-font-sans) !important;

    font-size: 1.45rem !important;

    font-weight: 700 !important;

    letter-spacing: 0.08em !important;
}


.icx-resources-feature:has(.icx-resources-feature__placeholder)
.icx-resources-feature__content {
    padding:
        clamp(
            28px,
            3.5vw,
            42px
        ) !important;
}


.icx-resources-feature:has(.icx-resources-feature__placeholder)
h2 {
    font-size:
        clamp(
            2.15rem,
            3.5vw,
            3.45rem
        ) !important;
}


/* ==========================================================
   7. IMPORTANT: SINGLE-ITEM CATEGORIES

   A single resource should not stretch across the page.
========================================================== */

.icx-resources-category
.icx-resources-grid {
    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        ) !important;
}


/* ==========================================================
   8. TABLET
========================================================== */

@media (max-width: 980px) {

    .icx-resources-category
    .icx-resources-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            ) !important;
    }


    .icx-resources-card:has(.icx-resources-card__placeholder) {
        grid-template-columns:
            58px
            minmax(0, 1fr) !important;

        padding: 15px !important;

        gap: 12px !important;
    }


    .icx-resources-card:has(.icx-resources-card__placeholder)
    .icx-resources-card__image,
    .icx-resources-card:has(.icx-resources-card__placeholder)
    .icx-resources-card__placeholder {
        width: 50px !important;
        height: 50px !important;
        min-height: 50px !important;
    }


    .icx-resources-feature:has(.icx-resources-feature__placeholder) {
        grid-template-columns:
            150px
            minmax(0, 1fr) !important;
    }

}


/* ==========================================================
   9. MOBILE
========================================================== */

@media (max-width: 680px) {

    .icx-resources-category-groups {
        gap: 42px !important;
    }


    .icx-resources-category
    .icx-resources-grid {
        grid-template-columns: 1fr !important;
    }


    .icx-resources-card:has(.icx-resources-card__placeholder) {
        grid-template-columns:
            48px
            minmax(0, 1fr) !important;

        gap: 11px !important;

        padding:
            14px
            14px
            15px !important;
    }


    .icx-resources-card:has(.icx-resources-card__placeholder)
    .icx-resources-card__image,
    .icx-resources-card:has(.icx-resources-card__placeholder)
    .icx-resources-card__placeholder {
        width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
    }


    .icx-resources-card:has(.icx-resources-card__placeholder)
    .icx-resources-card__placeholder-icon svg {
        width: 20px !important;
        height: 20px !important;
    }


    .icx-resources-card__details {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            ) !important;
    }


    .icx-resources-card__details div:nth-child(2) {
        display: none !important;
    }


    .icx-resources-card__actions {
        align-items: flex-start !important;

        flex-direction: column !important;

        gap: 8px !important;
    }


    .icx-resources-feature:has(.icx-resources-feature__placeholder) {
        grid-template-columns: 1fr !important;
    }


    .icx-resources-feature:has(.icx-resources-feature__placeholder)
    .icx-resources-feature__media {
        min-height: 86px !important;
        height: 86px !important;
    }


    .icx-resources-feature:has(.icx-resources-feature__placeholder)
    .icx-resources-feature__placeholder {
        min-height: 86px !important;

        font-size: 1rem !important;
    }

}


/* ==========================================================
   END ICX RESOURCE LIBRARY — TRUE COMPACT CARDS V1.3
========================================================== */
