.connection-posts {
    background-color: #002820;
}

.connection-posts__wrapper {
    max-width: 1200px;
    width: 100%;
    margin: auto;
    padding: 120px 0;
    -webkit-font-smoothing: antialiased;
}

.connection-posts__header {
    -webkit-font-smoothing: antialiased;
}

.connection-posts__title {
    font-size: 56px;
    font-weight: 500;
    line-height: 66px;
    color: #FAF6F2;
    margin-bottom: 24px;
}

.connection-posts__subtitle {
    color: #CBCED3;
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
}

.connection-posts__cards {
    margin: 88px 0;
    display: flex;
    gap: 48px;
    justify-content: space-between;
}

.connection-posts__card {
    border-radius: 8px;
    flex: 1;
}

.connection-posts__card-header {
    background-color: #DFECE4;
    display: flex;
    justify-content: center;
    border-radius: 8px 8px 0 0;
}

.connection-posts__card-img {
    width: 100%;
    height: auto;
    border-radius: 8px 8px 0 0;
}

.connection-posts__card-body {
    background-color: #F4F6F7;
    border-radius: 0 0 8px 8px;
    padding: 32px;
    -webkit-font-smoothing: antialiased;
}

.connection-posts__card-badge {
    font-size: 10px;
    color: #002820;
    font-weight: 500;
    line-height: 12px;
    text-transform: uppercase;
    display: inline-flex;
    padding: 4px 8px;
    background-color: #4AE07F;
    border-radius: 24px;
    -webkit-font-smoothing: antialiased;
}

.connection-posts__card-title {
    margin: 24px 0;
    color: #002820;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
}

.connection-posts__card-btn {
    display: flex;
    justify-content: center;
}

.connection-posts__card-btn-item {
    height: 48px;
    padding: 12px 16px;
    background-color: #DFECE4;
    border-radius: 999px;
    font-size: 14px;
    color: #002820;
    font-weight: 500;
    letter-spacing: 0.25px;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background-color 0.25s;
}

.connection-posts__card-btn-item:hover {
    background-color: #cfe0d4;
}

.connection-posts__button {
    display: flex;
    justify-content: end;
}

@media (max-width: 767px) {
    .connection-posts__wrapper {
        padding: 72px 24px;
    }

    .connection-posts__title {
        font-size: 40px;
        line-height: 46px;
    }

    .connection-posts__cards {
        flex-direction: column;
        margin-bottom: 48px;
    }
}
