/* ==========================================================================
   Insights category listings — /insights/articles and the other three.
   Rebuilt from Figma 12061:26652.

   Every selector is scoped to .ic-. The rest of the Insights section still
   carries large inline style blocks, so component rules repeat the page class
   where they need to outrank them.
   ========================================================================== */

.ic-page {
    /* The design draws this column at 158..1208 on a 1366 frame — narrower than
       the homepage's 144..1222. Kept as drawn. */
    --ic-column: 1050px;
    --ic-gap: 24px;
    --ic-card: 334px;
    --ic-ink: #232e33;
    --ic-body: #6e767a;
    --ic-line: #e9ebeb;
    --ic-accent: #b0e5ec;
    --ic-shade: #151c1f;

    padding: 24px 0 44px;
    font-family: 'Poppins', 'Poppins Fallback', Arial, sans-serif;
}

.ic-page * {
    box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.ic-page .ic-head {
    width: var(--ic-column);
    max-width: calc(100% - 32px);
    margin: 0 auto 24px;
}

.ic-page .ic-head__eyebrow {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: normal;
    color: var(--ic-body);
}

.ic-page .ic-head__title-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.ic-page .ic-head__title {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: var(--ic-ink);
    white-space: nowrap;
}

/* The rule runs from the title to the end of the column. */
.ic-page .ic-head__rule {
    flex: 1 1 auto;
    height: 1px;
    background: var(--ic-line);
}

.ic-page .ic-head__description {
    max-width: 734px;
    margin: 24px 0 0;
    font-size: 14px;
    line-height: 21px;
    color: var(--ic-body);
}

.ic-page .ic-filters {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-end;
    margin-top: 24px;
}

.ic-page .ic-filters__label {
    font-size: 16px;
    color: #263238;
}

.ic-page .ic-filters__field {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

/* The visible label sits inside the control's border in the design, so the
   text is kept for screen readers and hidden from sight. */
.ic-page .ic-filters__hint {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.ic-page .ic-filters select {
    padding: 8px 4px 8px 12px;
    border: 0.5px solid #bcbfc1;
    background: #fff;
    font-family: 'Nunito Sans', 'Nunito Sans Fallback', Arial, sans-serif;
    font-size: 14px;
    color: var(--ic-ink);
    letter-spacing: 0.28px;
    text-transform: capitalize;
}

.ic-page .ic-filters__submit {
    padding: 8px 12px;
    border: 0.5px solid #bcbfc1;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.ic-page .ic-empty {
    width: var(--ic-column);
    max-width: calc(100% - 32px);
    margin: 0 auto 24px;
    font-size: 14px;
    color: var(--ic-body);
}

/* --------------------------------------------------------------------------
   Rows
   -------------------------------------------------------------------------- */

.ic-page .ic-results,
.ic-page .ic-batch {
    display: flex;
    flex-direction: column;
    gap: var(--ic-gap);
}

.ic-page .ic-row {
    width: var(--ic-column);
    max-width: calc(100% - 32px);
    margin: 0 auto;
}

/* Row 1: a 2x2 block of small cards with one tall card beside it. */
.ic-page .ic-row--feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--ic-card);
    gap: var(--ic-gap);
}

.ic-page .ic-quad {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ic-gap);
}

.ic-page .ic-row--three {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ic-gap);
}

/* Row 5: tall card on the left, video over two cards on the right. */
.ic-page .ic-row--split {
    display: grid;
    grid-template-columns: var(--ic-card) minmax(0, 1fr);
    gap: var(--ic-gap);
}

.ic-page .ic-split__stack {
    display: flex;
    flex-direction: column;
    gap: var(--ic-gap);
}

.ic-page .ic-split__pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ic-gap);
}

/* --------------------------------------------------------------------------
   Card
   -------------------------------------------------------------------------- */

.ic-page .ic-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 320px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
}

.ic-page .ic-card--tall {
    min-height: 664px;
}

.ic-page .ic-card--xtall {
    min-height: 734px;
}

.ic-page .ic-card__media {
    position: absolute;
    inset: 0;
    background-color: #dfdfdf;
    background-position: center;
    background-size: cover;
    transition: transform .3s ease;
}

.ic-page .ic-card:hover .ic-card__media,
.ic-page .ic-card:focus-visible .ic-card__media {
    transform: scale(1.04);
}

.ic-page .ic-card__overlay {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding: 16px 16px 4px;
    background: linear-gradient(180deg, rgba(35, 46, 51, 0) 0%, var(--ic-shade) 82.212%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.ic-page .ic-card__type {
    padding: 4px 0;
    font-size: 10px;
    font-weight: 500;
    line-height: normal;
    color: var(--ic-accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ic-page .ic-card__title {
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    color: #fff;
    /* Two rows in the design; a long headline is clipped rather than pushing the
       card's other contents out of the frame. */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.ic-page .ic-card__chevron {
    display: inline-flex;
    padding: 8px;
    border-radius: 4px;
}

.ic-page .ic-card__chevron svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.ic-page .ic-card__button {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 8px 12px;
    margin-bottom: 12px;
    border-radius: 4px;
    background: #fff;
    font-family: 'Nunito Sans', 'Nunito Sans Fallback', Arial, sans-serif;
    font-size: 14px;
    color: var(--ic-ink);
    letter-spacing: 0.28px;
}

.ic-page .ic-card__button svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.ic-page .ic-card:focus-visible {
    outline: 2px solid #00acc1;
    outline-offset: -2px;
}

/* --------------------------------------------------------------------------
   Band, video, load more
   -------------------------------------------------------------------------- */

/* Full-bleed: the band is the one block in this page that ignores the content
   column, exactly as the design draws it. */
.ic-page .ic-band {
    width: 100%;
    padding: 24px 16px;
    background: var(--ic-shade);
}

.ic-page .ic-band__inner {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    width: var(--ic-column);
    max-width: 100%;
    margin: 0 auto;
}

.ic-page .ic-band__title {
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: #fff;
}

.ic-page .ic-band__text {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: normal;
    color: #bcbfc1;
}

.ic-page .ic-band__cta {
    flex: 0 0 auto;
    padding: 8px 16px;
    border-radius: 4px;
    background: #fff;
    font-family: 'Nunito Sans', 'Nunito Sans Fallback', Arial, sans-serif;
    font-size: 14px;
    color: var(--ic-ink);
    text-decoration: none;
    white-space: nowrap;
}

.ic-page .ic-video {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--ic-column);
    max-width: calc(100% - 32px);
    margin: 0 auto;
    border-radius: 8px;
    background: linear-gradient(135deg, #6a4c93 0%, #c86b8c 55%, #e8a87c 100%);
}

/* Inside the split row the video is one grid cell, not a page-wide block. */
.ic-page .ic-split__stack .ic-video {
    width: 100%;
    max-width: none;
    margin: 0;
}

.ic-page .ic-video__play {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .85);
}

.ic-page .ic-video__play svg {
    width: 28px;
    height: 28px;
    fill: var(--ic-shade);
}

.ic-page .ic-more {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.ic-page .ic-more__button {
    padding: 8px 16px;
    border: 0.5px solid #bcbfc1;
    border-radius: 4px;
    font-family: 'Nunito Sans', 'Nunito Sans Fallback', Arial, sans-serif;
    font-size: 14px;
    color: var(--ic-ink);
    text-decoration: none;
    letter-spacing: 0.28px;
    transition: background-color .2s ease, color .2s ease;
}

.ic-page .ic-more__button:hover,
.ic-page .ic-more__button:focus-visible {
    background: #263238;
    color: #f3f5f5;
}

.ic-page .ic-more__button.is-loading {
    opacity: .6;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Narrower screens
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
    /* The tall card cannot hold its height beside a shrinking quad, so both
       feature rows unstack into a plain two-column grid. */
    .ic-page .ic-row--feature,
    .ic-page .ic-row--split {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ic-page .ic-quad {
        display: contents;
    }

    .ic-page .ic-card--tall,
    .ic-page .ic-card--xtall {
        min-height: 320px;
    }

    .ic-page .ic-split__stack {
        grid-column: span 2;
    }

    .ic-page .ic-row--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ic-page .ic-row--feature,
    .ic-page .ic-row--split,
    .ic-page .ic-row--three,
    .ic-page .ic-split__pair {
        grid-template-columns: minmax(0, 1fr);
    }

    .ic-page .ic-split__stack {
        grid-column: auto;
    }

    .ic-page .ic-head__title {
        font-size: 20px;
    }

    .ic-page .ic-filters {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .ic-page .ic-band__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --------------------------------------------------------------------------
   Newsletter — Figma 12061:26672
   -------------------------------------------------------------------------- */

.ic-news {
    padding: 44px 16px;
    font-family: 'Poppins', 'Poppins Fallback', Arial, sans-serif;
}

.ic-news * {
    box-sizing: border-box;
}

.ic-news .ic-news__head {
    width: 564px;
    max-width: 100%;
    margin: 0 auto 40px;
    text-align: center;
}

.ic-news .ic-news__title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 400;
    line-height: normal;
    color: #232e33;
}

.ic-news .ic-news__lead {
    margin: 0;
    font-size: 14px;
    line-height: normal;
    color: #6e767a;
}

/* Two 383px columns with a 24px gutter, as drawn. */
.ic-news .ic-news__form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 383px));
    gap: 24px;
    justify-content: center;
}

.ic-news .ic-news__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ic-news .ic-news__pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ic-news .ic-news__field {
    display: block;
}

/* The design shows placeholders only, so the label is kept for screen readers
   and assistive tech rather than dropped. */
.ic-news .ic-news__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.ic-news .ic-news__field input {
    width: 100%;
    height: 40px;
    padding: 8px 12px;
    border: 1px solid #bcbfc1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    color: #515b60;
}

.ic-news .ic-news__field input:focus-visible {
    outline: 2px solid #00acc1;
    outline-offset: 1px;
}

.ic-news .ic-news__options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ic-news .ic-news__check {
    display: flex;
    gap: 4px;
    align-items: flex-start;
    font-size: 14px;
    line-height: normal;
    color: #515b60;
}

.ic-news .ic-news__check input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin: 0;
}

.ic-news .ic-news__captcha {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 76px;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    background: #f9f9f9;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, .08);
    font-size: 12px;
    color: #6e767a;
    letter-spacing: 1px;
}

.ic-news .ic-news__actions {
    display: flex;
    grid-column: span 2;
    gap: 16px;
    align-items: center;
    justify-content: flex-end;
}

.ic-news .ic-news__submit {
    padding: 8px 16px;
    border: 0;
    border-radius: 4px;
    background: #263238;
    font-family: 'Nunito Sans', 'Nunito Sans Fallback', Arial, sans-serif;
    font-size: 14px;
    color: #e9ebeb;
    letter-spacing: 0.28px;
    cursor: pointer;
}

.ic-news .ic-news__submit:hover,
.ic-news .ic-news__submit:focus-visible {
    background: #3a4a52;
}

.ic-news .ic-news__notice {
    margin: 0;
    font-size: 14px;
    color: #b21702;
}

@media (max-width: 767px) {
    .ic-news .ic-news__form {
        grid-template-columns: minmax(0, 1fr);
    }

    .ic-news .ic-news__actions {
        grid-column: auto;
        justify-content: stretch;
    }

    .ic-news .ic-news__submit {
        width: 100%;
    }
}
