/* COMMUNICATIONTRACK_R29B_TEMPLATE_LIBRARY */

body.st-page-templates .r29b-library {
    margin: 0 0 16px;
    padding: 16px 18px;
    border: 1px solid #d8e1ee;
    border-radius: 14px;
    background: #fff;
}

body.st-page-templates .r29b-library-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

body.st-page-templates .r29b-library h2 {
    margin: 0;
    font-size: 15px;
    color: #0b2c52;
}

body.st-page-templates .r29b-library p {
    margin: 4px 0 0;
    max-width: 840px;
    color: #687991;
    font-size: 12px;
    line-height: 1.55;
}

body.st-page-templates .r29b-template-count {
    white-space: nowrap;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eef4fb;
    color: #0b2c52;
    font-size: 11px;
    font-weight: 800;
}

body.st-page-templates .r29b-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 13px;
}

body.st-page-templates .r29b-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 5px 9px;
    border: 1px solid #dae3ee;
    border-radius: 999px;
    background: #f8fafc;
    color: #43566f;
    font-size: 10px;
    font-weight: 750;
}

body.st-page-templates .template-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    align-items: stretch;
}

body.st-page-templates .template-grid > * {
    min-width: 0;
}

body.st-page-templates .r29b-general-preview-note {
    margin: 6px 0 0;
    color: #687991;
    font-size: 10px;
}

@media (max-width: 1180px) {
    body.st-page-templates .template-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 760px) {
    body.st-page-templates .r29b-library-head {
        display: block;
    }

    body.st-page-templates .r29b-template-count {
        display: inline-flex;
        margin-top: 10px;
    }

    body.st-page-templates .template-grid {
        grid-template-columns: 1fr !important;
    }
}
