/* =========================================================
   CSG INSIGHTS PAGE
   Page-specific styles for insights.html
   ========================================================= */

.insights-intro {
    padding-bottom: 50px;
}

.insights-intro h1 {
    padding-top: 80px;
}

.insights-deck {
    max-width: 900px;
    margin: 18px 0 8px;
    font-size: 27px;
    line-height: 36px;
    font-weight: 500;
}

.insights-intro-copy {
    max-width: 820px;
    margin: 0;
    color: var(--black);
    line-height: 1.6;
}

.insights-section {
    padding-top: 50px;
    padding-bottom: 70px;
}

.insights-section + .insights-section {
    border-top: 1px solid #d9d9d9;
}

.insights-eyebrow,
.content-label,
.archive-meta {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.insights-eyebrow {
    color: var(--blue);
    margin-bottom: 20px;
}

.content-label span,
.archive-meta span {
    padding: 0 4px;
}

.insights-intro {
    padding-bottom: 0px;
}

.featured-section {
    padding-top: 0px;
}

.strategy-label {
    color: var(--strategy);
}

.leadership-label {
    color: #9d7c00;
}

.culture-label {
    color: #bc5b00;
}

.text-link,
.section-link {
    display: inline-block;
    font-weight: 500;
    text-decoration: none;
}

.text-link:hover,
.section-link:hover,
.featured-insight h2 a:hover,
.insight-card h3 a:hover,
.resource-card h3 a:hover,
.archive-item h3 a:hover {
    text-decoration: underline;
}

/* Featured insight */

.featured-insight {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 48px;
    align-items: stretch;
}

.featured-insight-image {
    display: block;
    min-width: 0;
    overflow: hidden;
}

.featured-insight-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    max-height: 470px;
    object-fit: cover;
    display: block;
}

.featured-insight-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
}

.featured-insight-content h2 {
    margin: 0 0 18px;
    font-size: 34px;
    line-height: 43px;
}

.featured-insight-content h2 a {
    color: var(--blue);
}

.featured-insight-content > p:not(.content-label) {
    margin: 0 0 22px;
    color: var(--black);
    line-height: 1.6;
}

/* Section headings */

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 14px;
    margin-bottom: 26px;
    border-bottom: 1px solid #d9d9d9;
}

.section-heading-row h2 {
    margin: 0;
}

.section-link {
    white-space: nowrap;
    margin-bottom: 5px;
}

.section-intro {
    max-width: 760px;
    margin: -4px 0 30px;
    color: var(--black);
}

/* Latest cards */

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

.insight-card {
    min-width: 0;
}

.insight-card-image {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    margin-bottom: 18px;
}

.insight-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 180ms ease;
}

.insight-card-image:hover img {
    transform: scale(1.02);
}

.card-accent {
    width: 52px;
    height: 4px;
    margin-bottom: 13px;
}

.leadership-accent {
    background: var(--leadership);
}

.culture-accent {
    background: var(--culture);
}

.strategy-accent {
    background: var(--strategy);
}

.insight-card h3 {
    margin: 0 0 12px;
    font-size: 22px;
    line-height: 30px;
    font-weight: 500;
}

.insight-card h3 a {
    color: var(--blue);
}

.insight-card > p:not(.content-label) {
    margin: 0 0 16px;
    color: var(--black);
    line-height: 1.55;
}

/* Explore by topic */

.topic-section {
    padding-top: 0px;
    padding-bottom: 65px;
}

.topic-section > h2 {
    margin-top: 0;
}

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

.topic-card {
    min-width: 0;
    border-top: 4px solid;
    padding-top: 19px;
}

.topic-card h3 {
    margin: 0 0 10px;
    font-size: 23px;
    line-height: 30px;
    font-weight: 500;
}

.topic-card p {
    margin: 0 0 16px;
    color: var(--black);
    line-height: 1.5;
}

.leadership-topic {
    border-color: var(--leadership);
}

.culture-topic {
    border-color: var(--culture);
}

.strategy-topic {
    border-color: var(--strategy);
}

.implementation-topic {
    border-color: var(--blue);
}

/* Conversations and resources */

.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px;
}

.resource-card {
    display: grid;
    grid-template-columns: minmax(150px, 0.42fr) minmax(0, 0.58fr);
    gap: 24px;
    align-items: center;
    padding-bottom: 28px;
    border-bottom: 1px solid #d9d9d9;
}

.resource-image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.resource-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf1f3;
    color: var(--gray);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.resource-content h3 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 29px;
    font-weight: 500;
}

.resource-content h3 a {
    color: var(--blue);
}

.resource-content > p:not(.content-label) {
    margin: 0 0 14px;
    color: var(--black);
    line-height: 1.5;
}

/* All insights */

.insight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -4px 0 30px;
}

.insight-tag {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #d6d6d6;
    border-radius: 999px;
    font-size: 15px;
    line-height: 18px;
    color: var(--blue);
    background: var(--white);
}

.active-tag {
    color: var(--white);
    border-color: var(--blue);
    background: var(--blue);
}

.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 46px;
}

.archive-item {
    padding: 23px 0 27px;
    border-top: 1px solid #d9d9d9;
}

.archive-title {
    margin: 0 0 12px;
    font-size: 21px;
    line-height: 29px;
    font-weight: 500;
}

.archive-title a {
    color: var(--blue);
}

.archive-item h3 a {
    color: var(--blue);
}

.archive-meta {
    color: var(--gray);
    margin-bottom: 7px;
}

/* Closing banner */

.insights-banner {
    background: var(--blue);
}

.insights-banner-inner {
    box-sizing: border-box;
    max-width: 1050px;
    margin: 0 auto;
    padding: 45px 5%;
    color: var(--white);
    font-size: 27px;
    line-height: 36px;
    font-weight: 500;
    text-align: center;
}

/* Responsive */

@media (max-width: 1050px) {
    .latest-grid {
        gap: 24px;
    }

    .topic-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 34px 28px;
    }

    .resource-card {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .resource-image {
        max-width: 360px;
    }
}

@media (max-width: 800px) {
    .featured-insight {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .featured-insight-image img {
        min-height: 0;
        max-height: none;
        aspect-ratio: 16 / 10;
    }

    .featured-insight-content {
        padding: 0;
    }

    .featured-insight-content h2 {
        font-size: 30px;
        line-height: 39px;
    }

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

    .resource-grid {
        grid-template-columns: 1fr;
    }

    .archive-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .insights-intro {
        padding-bottom: 40px;
    }

    .insights-intro h1 {
        padding-top: 55px;
    }

    .insights-deck {
        font-size: 23px;
        line-height: 31px;
    }

    .insights-section {
        padding-top: 25px;
        padding-bottom: 50px;
    }

    .latest-grid,
    .topic-grid {
        grid-template-columns: 1fr;
    }

    .section-heading-row {
        align-items: start;
    }

    .section-heading-row h2 {
        font-size: 25px;
        line-height: 33px;
    }

    .insight-card-image {
        aspect-ratio: 16 / 10;
    }

    .resource-image {
        max-width: none;
    }

    .insights-banner-inner {
        padding-top: 36px;
        padding-bottom: 36px;
        font-size: 23px;
        line-height: 31px;
    }
}
