.elementor-344 .elementor-element.elementor-element-55a5b1a{--display:flex;--min-height:200px;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-344 .elementor-element.elementor-element-55a5b1a:not(.elementor-motion-effects-element-type-background), .elementor-344 .elementor-element.elementor-element-55a5b1a > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FF0000;background-image:url("https://bulle-basket.ch/wp-content/uploads/2026/08/Hero-decoration.avif");background-position:center center;background-size:auto;}.elementor-widget-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-344 .elementor-element.elementor-element-2f74451 img{width:30%;}.elementor-344 .elementor-element.elementor-element-c5eb08a{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--padding-top:40px;--padding-bottom:40px;--padding-left:40px;--padding-right:40px;}.elementor-344 .elementor-element.elementor-element-9b63f65{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-344 .elementor-element.elementor-element-891b8a1 .elementor-heading-title{color:var( --e-global-color-accent );}/* Start custom CSS *//* =========================================================
   BULLE BASKET — Calendrier / Résultats
   Shortcodes : [bb_calendar] / [bb_results]
   ========================================================= */

.bb-calendar-block {
    --bb-bg: #ffffff;
    --bb-surface: #f7f7f7;
    --bb-surface-2: #f1f1f1;
    --bb-text: #111111;
    --bb-muted: #6b7280;
    --bb-border: #e5e7eb;
    --bb-accent: #111111;
    --bb-accent-text: #ffffff;
    --bb-radius: 18px;
    --bb-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);

    width: 100%;
    color: var(--bb-text);
    font: inherit;
}

.bb-calendar-block *,
.bb-calendar-block *::before,
.bb-calendar-block *::after {
    box-sizing: border-box;
}

/* ---------- Filtre ---------- */
.bb-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: end;
    margin-bottom: 22px;
}

.bb-filter {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: min(240px, 100%);
}

.bb-filter label {
    margin: 0;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bb-muted);
}

.bb-filter select {
    width: 100%;
    min-height: 46px;
    padding: 0 42px 0 15px;
    border: 1px solid var(--bb-border);
    border-radius: 12px;
    background-color: var(--bb-bg);
    color: var(--bb-text);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.bb-filter select:focus {
    border-color: var(--bb-accent);
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

/* ---------- Chargement AJAX ---------- */
.bb-calendar-wrap {
    position: relative;
    min-height: 40px;
    transition: opacity .2s ease;
}

.bb-calendar-wrap.bb-loading {
    opacity: .42;
    pointer-events: none;
}

.bb-calendar-wrap.bb-loading::after {
    content: "";
    position: absolute;
    top: 20px;
    left: 50%;
    width: 28px;
    height: 28px;
    margin-left: -14px;
    border: 3px solid rgba(17, 17, 17, .15);
    border-top-color: var(--bb-accent);
    border-radius: 50%;
    animation: bb-spin .7s linear infinite;
}

@keyframes bb-spin {
    to { transform: rotate(360deg); }
}

/* ---------- Liste ---------- */
.bb-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.bb-card {
    display: grid;
    grid-template-columns: 185px minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--bb-border);
    border-radius: var(--bb-radius);
    background: var(--bb-bg);
    box-shadow: var(--bb-shadow);
}

/* ---------- Colonne date / lieu ---------- */
.bb-left {
    display: flex;
    align-items: stretch;
    min-width: 0;
    padding: 24px 22px;
    border-right: 1px solid var(--bb-border);
    background: var(--bb-surface);
}

.bb-left-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-width: 0;
}

.bb-date {
    margin-bottom: 3px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.bb-time {
    margin-bottom: 10px;
    font-size: clamp(23px, 2.2vw, 31px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.bb-time.is-tbd {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    color: var(--bb-muted);
}

.bb-loc {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--bb-muted);
    overflow-wrap: anywhere;
}

/* ---------- Partie principale ---------- */
.bb-right {
    min-width: 0;
    padding: 25px 30px;
}

/* ---------- Match à venir ---------- */
.bb-upcoming-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr);
    align-items: center;
    min-height: 118px;
    gap: 15px;
}

.bb-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    text-align: center;
}

.bb-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 82px;
    height: 82px;
    margin-bottom: 10px;
}

.bb-team-logo {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 82px;
    max-height: 82px;
    object-fit: contain;
    object-position: center;
}

.bb-logo-placeholder {
    border: 1px dashed var(--bb-border);
    border-radius: 50%;
    background: var(--bb-surface);
}

.bb-team-name {
    max-width: 260px;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.bb-team.is-focus .bb-team-name {
    font-weight: 800;
}

.bb-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--bb-surface-2);
    color: var(--bb-muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

/* ---------- Résultats ---------- */
.bb-played-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.bb-score-scroll {
    width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.bb-score-table {
    width: 100%;
    min-width: 650px;
    overflow: hidden;
    border: 1px solid var(--bb-border);
    border-radius: 13px;
}

.bb-score-head,
.bb-score-row {
    display: grid;
    grid-template-columns: minmax(190px, 1.8fr) repeat(6, minmax(58px, .55fr));
    align-items: center;
}

.bb-score-head {
    min-height: 40px;
    background: var(--bb-surface);
    color: var(--bb-muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.bb-score-head > div,
.bb-score-row > div {
    min-width: 0;
    padding: 10px 8px;
    text-align: center;
}

.bb-score-head > div:first-child {
    padding-left: 14px;
    text-align: left;
}

.bb-score-row {
    min-height: 62px;
    border-top: 1px solid var(--bb-border);
    background: var(--bb-bg);
}

.bb-score-row.is-winner {
    background: #f8f8f8;
}

.bb-score-row.is-loser {
    color: #777;
}

.bb-teamcell {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 14px !important;
    text-align: left !important;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.25;
}

.bb-score-row.is-winner .bb-teamcell,
.bb-score-row.is-winner .bb-total {
    font-weight: 800;
}

.bb-score-logo {
    flex: 0 0 36px;
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.bb-num {
    font-size: 13px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}

.bb-total {
    font-size: 18px;
    font-weight: 800;
}

/* ---------- Boutons stats / vidéo ---------- */
.bb-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 9px;
}

.bb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 10px 18px;
    border: 1px solid var(--bb-accent);
    border-radius: 999px;
    background: var(--bb-accent);
    color: var(--bb-accent-text) !important;
    text-decoration: none !important;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .06em;
    transition: transform .18s ease, opacity .18s ease;
}

.bb-btn:hover {
    transform: translateY(-1px);
    opacity: .82;
}

/* ---------- Messages ---------- */
.bb-empty {
    width: 100%;
    padding: 26px 22px;
    border: 1px solid var(--bb-border);
    border-radius: 14px;
    background: var(--bb-surface);
    color: var(--bb-muted);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

.bb-debug {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* =========================================================
   TABLETTE
   ========================================================= */
@media (max-width: 900px) {
    .bb-card {
        grid-template-columns: 155px minmax(0, 1fr);
    }

    .bb-left {
        padding: 21px 17px;
    }

    .bb-right {
        padding: 22px 20px;
    }

    .bb-upcoming-grid {
        grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
        gap: 10px;
    }

    .bb-logo-wrap {
        width: 68px;
        height: 68px;
    }

    .bb-team-logo {
        max-width: 68px;
        max-height: 68px;
    }

    .bb-team-name {
        font-size: 14px;
    }

    .bb-vs {
        width: 40px;
        height: 40px;
        font-size: 10px;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767px) {
    .bb-toolbar {
        justify-content: stretch;
        margin-bottom: 16px;
    }

    .bb-filter {
        width: 100%;
    }

    .bb-card {
        grid-template-columns: 1fr;
        border-radius: 15px;
    }

    .bb-left {
        padding: 15px 16px;
        border-right: 0;
        border-bottom: 1px solid var(--bb-border);
    }

    .bb-left-meta {
        display: grid;
        grid-template-columns: auto auto minmax(0, 1fr);
        align-items: center;
        gap: 8px 13px;
    }

    .bb-date,
    .bb-time,
    .bb-time.is-tbd,
    .bb-loc {
        margin: 0;
    }

    .bb-date {
        font-size: 13px;
    }

    .bb-time {
        font-size: 19px;
    }

    .bb-time.is-tbd {
        font-size: 12px;
    }

    .bb-loc {
        justify-self: end;
        max-width: 180px;
        text-align: right;
        font-size: 12px;
    }

    .bb-right {
        padding: 20px 15px;
    }

    .bb-upcoming-grid {
        min-height: 104px;
        grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
        gap: 8px;
    }

    .bb-logo-wrap {
        width: 58px;
        height: 58px;
        margin-bottom: 8px;
    }

    .bb-team-logo {
        max-width: 58px;
        max-height: 58px;
    }

    .bb-team-name {
        max-width: 150px;
        font-size: 12px;
        line-height: 1.25;
    }

    .bb-vs {
        width: 34px;
        height: 34px;
        font-size: 9px;
    }

    .bb-score-table {
        min-width: 600px;
    }

    .bb-score-head,
    .bb-score-row {
        grid-template-columns: minmax(165px, 1.7fr) repeat(6, 56px);
    }

    .bb-actions {
        justify-content: stretch;
    }

    .bb-btn {
        flex: 1 1 120px;
    }
}

/* =========================================================
   PETITS MOBILES
   ========================================================= */
@media (max-width: 480px) {
    .bb-left-meta {
        grid-template-columns: 1fr auto;
    }

    .bb-loc {
        grid-column: 1 / -1;
        justify-self: start;
        max-width: none;
        text-align: left;
    }

    .bb-right {
        padding: 18px 12px;
    }

    .bb-upcoming-grid {
        grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
        gap: 5px;
    }

    .bb-logo-wrap {
        width: 50px;
        height: 50px;
    }

    .bb-team-logo {
        max-width: 50px;
        max-height: 50px;
    }

    .bb-team-name {
        max-width: 125px;
        font-size: 11px;
    }

    .bb-vs {
        width: 28px;
        height: 28px;
        font-size: 8px;
    }
}/* End custom CSS */