/* Related insights */

.insight-related {
    background: #fafafa;
    box-sizing: border-box;
}

.insight-related__inner {
    max-width: var(--akdev-section-max, 1440px);
    margin: 0 auto;
    padding: 80px 16px;
    display: flex;
    flex-direction: column;
    gap: 60px;
    box-sizing: border-box;
}

.insight-related__head {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
}

.insight-related__heading {
    margin: 0;
    font-family: Gilroy, sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 1.15;
    color: #000;
}

.insight-related__more--desktop {
    display: none;
}

.insight-related__more--mobile {
    display: flex;
    width: 100%;
    justify-content: center;
    text-align: center;
}

.insight-related__grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.insight-related__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dee1ea;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.insight-related__card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.insight-related__card:nth-child(n + 3) {
    display: none;
}

.insight-related__media {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.insight-related__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.insight-related__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.insight-related__date {
    font-family: Gilroy, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #1b6986;
}

.insight-related__title {
    margin: 0;
    font-family: Gilroy, sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    color: #000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-related__excerpt {
    margin: 0;
    font-family: Gilroy, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #5c5c5c;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-related__tag {
    margin-top: auto;
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 10px;
    border: 1px solid #dee1ea;
    border-radius: 6px;
    background: #fff;
}

.insight-related__tag-text {
    font-family: Gilroy, sans-serif;
    font-weight: 600;
    font-size: 14px;
    background: linear-gradient(90deg, #00b8e0 0%, #91c73e 66%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.insight-related__empty {
    margin: 0;
    color: #5c5c5c;
}

@media (min-width: 768px) {
    .insight-related__heading {
        font-size: 40px;
    }

    .insight-related__head {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .insight-related__more--desktop {
        display: inline-flex;
        flex-shrink: 0;
    }

    .insight-related__more--mobile {
        display: none;
    }

    .insight-related__grid {
        flex-direction: row;
    }

    .insight-related__card {
        flex: 1;
        min-width: 0;
    }

    .insight-related__card:nth-child(3) {
        display: none;
    }
}

@media (min-width: 1024px) {
    .insight-related__inner {
        padding-block: 80px;
    }

    .insight-related__heading {
        font-size: 56px;
    }

    .insight-related__card:nth-child(3) {
        display: flex;
    }
}
