/*
 * BC Pictos — Frontend Styles
 */

/* ── Container ───────────────────────────────────────────────────────────────── */

.bcpictos-container {
    margin: 24px 0;
    padding: 0;
}

.bcpictos-section {
    margin-bottom: 32px;
}

.bcpictos-section:last-child {
    margin-bottom: 0;
}

/* ── Section heading ─────────────────────────────────────────────────────────── */

.bcpictos-section-title {
    font-size: 18px;
    font-weight: 400;          /* thin weight like in the mockup */
    color: #1a1a1a;
    letter-spacing: 0.01em;
    margin: 0 0 20px 0;
    padding: 0;
    line-height: 1.3;
    font-family: inherit;
}

/* ── List & items ────────────────────────────────────────────────────────────── */

.bcpictos-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-start;
}

.bcpictos-item {
    flex: 0 0 auto;
    text-align: center;
    width: 150px;
    background: #f7f7f7;
    border-radius: 4px;
    padding: 21px 14px 14px;
    box-sizing: border-box;
    transition: background 0.2s ease;
}

.bcpictos-item:hover {
    background: #efefef;
}

/* ── Image ───────────────────────────────────────────────────────────────────── */

.bcpictos-image {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bcpictos-image img {
    max-width: 80px;
    max-height: 80px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

/* ── Label ───────────────────────────────────────────────────────────────────── */

.bcpictos-title {
    font-size: 13px;
    line-height: 1.4;
    color: #888;
    font-weight: 400;
    word-break: break-word;
    overflow-wrap: break-word;
    font-family: inherit;
    max-width: 100%;
    margin: 0 auto;
}

/* ── Responsive ──────────────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .bcpictos-item {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .bcpictos-list {
        gap: 10px;
    }

    .bcpictos-item {
        width: calc(33.333% - 7px);
        padding: 18px 12px 12px;
    }

    .bcpictos-image {
        width: 60px;
        height: 60px;
    }

    .bcpictos-image img {
        max-width: 60px;
        max-height: 60px;
    }

    .bcpictos-section-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .bcpictos-item {
        width: calc(50% - 6px);
    }

    .bcpictos-image {
        width: 48px;
        height: 48px;
    }

    .bcpictos-image img {
        max-width: 48px;
        max-height: 48px;
    }
}