/* Global module - Author Posts ("Speaking and writing"). The cards: assets/css/post-card.css */
.el-aposts {
    background: #e7ecf0;
}

.el-aposts h2 {
    margin: 0 0 clamp(32px, calc(32px + 28 * (100vw - 1280px) / 640), 60px);
}

.el-aposts-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, calc(16px + 4 * (100vw - 1280px) / 640), 20px);
}

/* White cards on the grey band (design) */
.el-aposts .el-post-card {
    background: var(--el-color-white);
}

.el-aposts .el-post-card-title {
    font-size: clamp(26px, 1.875vw, 36px); /* the site h3 size */
    line-height: 1.15;
}

.el-aposts .el-post-card-text {
    font-size: 15px;
}

/* Small navy pill button (design) */
.el-aposts .el-post-card-btn {
    min-height: 40px;
    padding: 0 18px;
    font-size: 14px;
}

@media (max-width: 991px) {
    .el-aposts-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .el-aposts-list {
        grid-template-columns: minmax(0, 1fr);
    }

    .el-aposts .el-post-card-title {
        font-size: 24px; /* the site h3 size on phones */
    }
}
