/* --- INSIGHTS PAGE (GRID & LIST) --- */
.insights-page {
    background: #e6f4ff;
    font-family: 'Inter', Arial, sans-serif;
    color: #0a1a2f;
    padding: 32px 0 0;
    margin-top: -80px;
    padding-top: 80px;
}

/* Same column as about/home: 1240px, 5px + 0.75rem Materialize gutter each side */
.insights-shell {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 calc(5px + 0.75rem);
}

.insights-top {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 10vh;
    margin-top: -80px;
}

.mini-label {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 6px;
}

.hero-heading {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: #1DB0FF;
    margin: 0;
    letter-spacing: 0.2px;
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    border-radius: 100px;
    font-weight: 700;
    text-decoration: none;
    height: 48px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pill-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.pill-btn.black {
    background-color: #000 !important;
    border-radius: 50px;
    text-transform: none;
    font-weight: 600;
    padding: 0 30px;
}

.pill-btn:has(.material-icons) {
    padding-right: 10px;
}

/* White circle around icon in pill buttons */
.pill-btn .material-icons.right {
    background: #fff;
    color: #000;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    font-size: 20px;
}

/* Featured Article Section */
/* Desktop: two blocks side by side — card (text) | hero (image). Mobile: one card with image on top. */
.latest-row {
    margin-top: 18px;
    width: 100%;
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 20px;
    align-items: stretch;
}

.insights-top .latest-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.insights-top .latest-card-inner {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: space-between;
    min-width: 0;
}

/* Desktop hero: second block, side by side with card */
a.latest-hero {
    text-decoration: none;
    color: inherit;
}

.latest-hero--desktop {
    display: block;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    min-height: 260px;
}

/* Mobile hero: inside card, hidden on desktop */
.latest-hero--mobile {
    display: none;
}

.feature-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    margin-top: 0;
}

.feature-date {
    font-size: 12px;
    margin: 0;
}

.feature-excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 16px;
}

.feature-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1DB0FF;
    font-weight: 600;
    font-size: 1rem;
}

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

.latest-hero--desktop img {
    min-height: 260px;
}

/* Explore Grid Section */
.insights-grid {
    padding: 10vh 0;
    background: #fff;
}

.grid-head {
    text-align: center;
    margin-bottom: 28px;
}

.grid-head h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1DB0FF;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem; /* Materialize column gutter */
}

.insight-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.insight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-image-wrap {
    height: 240px;
}

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

.card-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card-date {
    font-size: 14px;
    color: #1DB0FF;
    font-weight: 700;
    margin: 0;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
}

.card-excerpt {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 800px) {
    .grid-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .insights-top {
        min-height: 0;
    }

    .latest-row {
        margin-top: 12px;
    }

    .latest-card-inner {
        padding: 16px;
    }

    .insights-grid {
        padding: 40px 0;
    }

    .grid-head {
        margin-bottom: 18px;
    }

    .grid-cards {
        gap: 0.75rem;
    }
}

/* Mobile: one card with image on top */
@media (max-width: 768px) {
    .insights-top {
        padding: 80px 0 40px;
    }

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

    .latest-hero--desktop {
        display: none;
    }

    .latest-hero--mobile {
        display: block;
        min-height: 220px;
        border-radius: 30px 30px 0 0;
        overflow: hidden;
    }

    .latest-hero--mobile img {
        border-radius: 30px 30px 0 0;
    }

    .insights-top .latest-card {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .card-body {
        padding: 14px 16px 16px;
        gap: 6px;
    }
}