.bigtimebeltscc-wrap,
.bigtimebeltscc-wrap * {
    box-sizing: border-box;
}

.bigtimebeltscc-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
}

.bigtimebeltscc-heading {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 40px;
}

/* FORCE EXACTLY 3 CARDS PER ROW.
   1fr columns use all available shortcode/container width, so Elementor,
   Astra and other theme widths cannot push the third card onto a new row. */
/* HARD LAYOUT OVERRIDE — desktop must always show exactly 3 cards */
.bigtimebeltscc-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 28px !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.bigtimebeltscc-grid > .bigtimebeltscc-item {
    display: flex !important;
    flex: 0 0 calc((100% - 56px) / 3) !important;
    width: calc((100% - 56px) / 3) !important;
    max-width: calc((100% - 56px) / 3) !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    position: relative !important;
}

/* Keep 3 columns until the screen is genuinely small. */
@media (max-width: 640px) {
    .bigtimebeltscc-grid {
        gap: 16px !important;
    }

    .bigtimebeltscc-grid > .bigtimebeltscc-item {
        flex: 0 0 calc((100% - 16px) / 2) !important;
        width: calc((100% - 16px) / 2) !important;
        max-width: calc((100% - 16px) / 2) !important;
    }

    .bigtimebeltscc-heading {
        font-size: 1.8rem;
    }
}

.bigtimebeltscc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

/* Image is applied as a CSS background so it always fills the box
   completely, regardless of the theme's own img{height:auto} rules. */
.bigtimebeltscc-img-wrap {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    /* Bigger category image boxes */
    min-height: 220px;
    border: 4px solid var(--bigtimebeltscc-border-color, #c0392b);
    border-radius: var(--bigtimebeltscc-radius, 18px);
    overflow: hidden;
    background-color: #f4f4f4;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bigtimebeltscc-item:hover .bigtimebeltscc-img-wrap {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Visually hidden, kept only for screen readers / SEO alt text. */
.bigtimebeltscc-img-a11y {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.bigtimebeltscc-img-wrap-empty {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bigtimebeltscc-img-placeholder {
    font-size: 2.2rem;
    font-weight: 700;
    color: #bbb;
    text-transform: uppercase;
}

.bigtimebeltscc-name {
    margin-top: 14px;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
}

.bigtimebeltscc-item:hover .bigtimebeltscc-name {
    color: var(--bigtimebeltscc-border-color, #c0392b);
}

@media (max-width: 640px) {
    .bigtimebeltscc-img-wrap {
        min-height: 0;
    }
}

@media (max-width: 480px) {
    .bigtimebeltscc-name {
        font-size: 0.85rem;
    }
}


/* Final protection against theme / page-builder CSS */
.bigtimebeltscc-wrap .bigtimebeltscc-grid,
.bigtimebeltscc-wrap .bigtimebeltscc-grid > a.bigtimebeltscc-item {
    box-sizing: border-box !important;
}
.bigtimebeltscc-wrap .bigtimebeltscc-item .bigtimebeltscc-img-wrap {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}


/* VERSION 1.0.7 — ULTRA HARD 3 COLUMN FIX */
html body .bigtimebeltscc-wrap {
    width: 100% !important;
    max-width: 100% !important;
}

html body .bigtimebeltscc-wrap .bigtimebeltscc-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 0 !important;
    column-gap: 0 !important;
    row-gap: 35px !important;
    justify-content: space-between !important;
}

html body .bigtimebeltscc-wrap .bigtimebeltscc-grid > a.bigtimebeltscc-item,
html body .bigtimebeltscc-wrap .bigtimebeltscc-grid > .bigtimebeltscc-item {
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: 30% !important;
    width: 30% !important;
    max-width: 30% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Mobile only */
@media screen and (max-width: 640px) {
    html body .bigtimebeltscc-wrap .bigtimebeltscc-grid > a.bigtimebeltscc-item,
    html body .bigtimebeltscc-wrap .bigtimebeltscc-grid > .bigtimebeltscc-item {
        flex-basis: 48% !important;
        width: 48% !important;
        max-width: 48% !important;
    }
}
