.insights-page .hero {
    padding-top: clamp(116px, 12vw, 148px);
    padding-bottom: clamp(56px, 8vw, 84px);
    gap: clamp(32px, 6vw, 64px);
}

/* Insights Hero Adjustments */
.insights-hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 3.75rem);
    line-height: 1.12;
    letter-spacing: 0;
    color: var(--text-primary);
}

.insights-hero p {
    color: var(--text-secondary);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
}

.hero-image-wrapper {
    width: 100%;
    height: clamp(260px, 34vw, 420px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    display: block;
}

/* Section Header Rows */
.insights-section {
    margin-bottom: clamp(64px, 8vw, 88px);
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.section-header-row h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: 0.04em;
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.view-all:hover {
    color: var(--primary-hover);
}

/* Insights Grid */
.insights-grid {
    display: grid;
    gap: 24px;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Insight Cards */
.insight-card {
    background: var(--card-gradient);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

/* Card Image Wrapper Fixes */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
}

/* New class for the images inside the cards */
.card-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the area without stretching */
    display: block;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

/* Overlapping Circular Badge */
.card-badge {
    position: absolute;
    bottom: -25px;
    left: 24px;
    width: 50px;
    height: 50px;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

[data-theme="dark"] .card-badge {
    background: var(--surface);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.insight-card-content {
    padding: 40px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.insight-card h3 {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.divider-line {
    width: 30px;
    height: 3px;
    background: var(--primary);
    margin-bottom: 15px;
}

.insight-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.read-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
    margin-top: auto;
}

.read-link:hover {
    color: var(--primary-hover);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .insights-page .hero {
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .insights-page .hero-content {
        align-items: center;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .section-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hero-image-wrapper,
    .card-image-wrapper {
        height: 240px;
    }
}
