@font-face {
    font-family: "Material Symbols Outlined";
    font-style: normal;
    font-weight: 100 700;
    font-display: block;
    src: url("./MaterialSymbolsOutlined.woff2") format("woff2");
}

.cgb-preview {
    display: block;
    text-decoration: none;
    color: inherit;
}

.cgb-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.cgb-count {
    font-size: 10px;
    font-weight: 600;
    color: #6f7c8f;
    background: #f4f7fb;
    border: 1px solid #d8dee8;
    padding: 3px 9px;
    border-radius: 999px;
}

.cgb-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.cgb-card {
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    padding: 18px 12px;
    text-align: center;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cgb-card .material-symbols-outlined {
    font-size: 42px;
    color: #e2001a;
    display: block;
    margin-bottom: 10px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 48;
    line-height: 1;
}

.cgb-title {
    font-size: 14px;
    font-weight: 600;
    color: #003064;
    line-height: 1.4;
    margin: 0;
    max-width: 22ch;
}

.cgb-badge-link {
    display: inline-block;
    margin-top: 8px;
    background: #003064;
    color: #fff;
    font-size: 9px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cgb-empty {
    background: #fff;
    border: 1px dashed #d8dee8;
    border-radius: 8px;
    padding: 18px;
    text-align: center;
}

.cgb-empty p {
    color: #6f7c8f;
    font-size: 12px;
    margin: 0;
}

@media (min-width: 768px) {
    .cgb-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (min-width: 992px) {
    .cgb-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}
