/* =========================================================
   BIRTHDAYS WIDGET
========================================================= */

.oc-birthdays-widget {
    width: 100%;
}

.oc-birthdays-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oc-birthday-item {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 10px;

    background: #fff;
    border: 1px solid #e8edf3;
    border-radius: 12px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.oc-birthday-item:hover {
    transform: translateY(-1px);

    box-shadow:
        0 5px 16px rgba(15, 23, 42, .08);

    border-color: #d8e0e9;
}

.oc-birthday-item.is-today {
    border-color: #e30613;
    background: #fff8f8;
}

.oc-birthday-photo {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    border-radius: 50%;
    overflow: hidden;

    background: #eef2f7;

    display: flex;
    align-items: center;
    justify-content: center;
}

.oc-birthday-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.oc-birthday-initials {
    font-size: 14px;
    font-weight: 700;

    color: #fff;

    background: var(--oc-primary-color, #111827);

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.oc-birthday-info {
    min-width: 0;
    flex: 1;
}

.oc-birthday-name {
    font-size: 14px;
    font-weight: 700;

    color: #172033;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.oc-birthday-meta {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-top: 3px;

    font-size: 11px;
    color: #7a8697;
}

.oc-birthday-date {
    font-weight: 600;
}

.oc-birthday-age {
    padding-left: 7px;

    border-left: 1px solid #dce2e9;
}

.oc-birthday-status {
    flex: 0 0 auto;
}

.oc-birthday-today {
    display: inline-flex;
    align-items: center;

    padding: 4px 7px;

    border-radius: 20px;

    background: #e30613;
    color: #fff;

    font-size: 10px;
    font-weight: 700;
}

.oc-birthday-countdown {
    font-size: 10px;
    font-weight: 600;

    color: #8b96a6;

    white-space: nowrap;
}

.oc-birthdays-empty {
    padding: 14px;

    text-align: center;

    color: #8b96a6;

    font-size: 12px;

    background: #f8fafc;
    
    border: 1px dashed #dce2e9;

    border-radius: 10px;
}

/* =====================================================
   OUR CLUB - MATCHES WIDGET
===================================================== */

.oc-matches-widget {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* =====================================================
   MATCH CARD
===================================================== */

.oc-match-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;

    padding: 12px;

    background: #fff;

    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 14px;

    box-shadow:
        0 4px 16px rgba(15, 23, 42, .05);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.oc-match-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 24px rgba(15, 23, 42, .09);
}


/* =====================================================
   DATE
===================================================== */

.oc-match-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 48px;

    border-radius: 10px;

    background:
        var(--club-primary-color);

    color:
        var(--club-secondary-color);

    line-height: 1;
}


.oc-match-day {
    font-size: 19px;
    font-weight: 800;
}


.oc-match-month {
    margin-top: 5px;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;

    opacity: .8;
}


/* =====================================================
   MAIN
===================================================== */

.oc-match-main {
    min-width: 0;
}


/* =====================================================
   TEAMS
===================================================== */

.oc-match-teams {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);

    align-items: center;

    gap: 8px;
}


.oc-match-team {
    min-width: 0;

    display: flex;
    flex-direction: column;

    align-items: center;

    gap: 5px;

    text-align: center;
}


.oc-match-team-logo {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 50%;

    background: #f1f5f9;

    border: 1px solid rgba(15, 23, 42, .08);

    flex-shrink: 0;
}


.oc-match-team-logo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


.oc-match-team-logo span {
    font-size: 12px;
    font-weight: 800;

    color: var(--club-primary-color);
}


.oc-match-team-name {
    display: block;

    width: 100%;

    overflow: hidden;

    font-size: 11px;
    font-weight: 700;

    color: #172033;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =====================================================
   CENTER
===================================================== */

.oc-match-center {
    min-width: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;
}


.oc-match-time,
.oc-match-score,
.oc-match-status,
.oc-match-vs {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 28px;

    padding: 0 8px;

    border-radius: 8px;

    background: #f8fafc;

    color: #172033;

    font-size: 12px;
    font-weight: 800;
}


.oc-match-score {
    gap: 5px;

    background:
        var(--club-primary-color);

    color:
        var(--club-secondary-color);
}


.oc-match-status {
    background:
        var(--club-accent-color);

    color: #fff;

    font-size: 10px;
}


.oc-match-vs {
    color: #64748b;
}


/* =====================================================
   META
===================================================== */

.oc-match-meta {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 5px;

    margin-top: 9px;

    overflow: hidden;

    color: #64748b;

    font-size: 10px;

    white-space: nowrap;
}


.oc-match-meta span {
    overflow: hidden;

    text-overflow: ellipsis;
}


.oc-match-meta-separator {
    flex-shrink: 0;
}


/* =====================================================
   EMPTY
===================================================== */

.oc-matches-empty {
    padding: 18px;

    border: 1px dashed #cbd5e1;
    border-radius: 12px;

    background: #f8fafc;

    color: #64748b;

    font-size: 13px;

    text-align: center;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 480px) {

    .oc-match-card {
        grid-template-columns: 42px minmax(0, 1fr);

        padding: 10px;
    }


    .oc-match-date {
        min-height: 42px;
    }


    .oc-match-day {
        font-size: 17px;
    }


    .oc-match-team-logo {
        width: 30px;
        height: 30px;
    }


    .oc-match-team-name {
        font-size: 10px;
    }


    .oc-match-meta {
        font-size: 9px;
    }

}

/* =========================================================
   OUR CLUB - PHARMACY WIDGET
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy {
    overflow: hidden;
}


/* =========================================================
   HEADER
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.club-sidebar-widget-heading {
    margin: 0 0 14px;
}

.club-sidebar-widget.oc-widget-pharmacy
.club-sidebar-widget-heading h3 {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0;

    line-height: 1.2;
}


/* =========================================================
   HEADER ICON
   epano.gif
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-title-icon {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 34px;

    overflow: hidden;

    border-radius: 9px;

    background: #fff;
}

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-title-icon img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;

    object-fit: contain;
}


/* =========================================================
   DATE
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-date {
    margin: 0 0 12px;

    padding: 8px 11px;

    border-radius: 9px;

    background: #f6f7f8;

    color: #6b7280;

    font-size: 11px;
    font-weight: 600;

    line-height: 1.4;
}


/* =========================================================
   PHARMACY LIST
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-list {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


/* =========================================================
   PHARMACY ITEM
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-item {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    padding: 12px;

    border: 1px solid #e8eaec;

    border-radius: 12px;

    background: #fff;

    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.035);

    color: #222;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-item:hover {
    border-color: #d9dcdf;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);

    transform: translateY(-1px);
}


/* =========================================================
   PHARMACY ICON
   epano.gif
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 38px;

    overflow: hidden;

    border-radius: 9px;

    background: #fff;
}

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-icon img {
    display: block;

    width: 100%;
    height: 100%;

    max-width: 100%;

    object-fit: contain;
}


/* =========================================================
   CONTENT
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-content {
    min-width: 0;

    flex: 1 1 auto;
}


/* =========================================================
   PHARMACY NAME
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-name {
    margin: 0 0 5px;

    color: #18181b;

    font-size: 14px;
    font-weight: 700;

    line-height: 1.35;

    letter-spacing: -0.1px;
}

/* =========================================================
   PHARMACY ADDRESS
   Full address - never truncate
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-address {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 0 0 8px;
    padding: 0;

    color: #555;

    font-size: 11px;
    font-weight: 400;

    line-height: 1.55;

    /* Prevent theme truncation */
    white-space: normal;
    overflow: visible;
    text-overflow: clip;

    /* Disable line clamp */
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;

    /* Allow long words / URLs / unusual address text */
    overflow-wrap: anywhere;
    word-break: normal;
}

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-address,
.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-address * {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
}


/* =========================================================
   PHONE
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-phone {
    display: inline-flex;
    align-items: center;

    gap: 5px;

    margin: 0 0 7px;

    color: #27272a;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-phone::before {
    content: "☎";

    font-size: 11px;

    opacity: 0.75;
}

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-phone:hover {
    color: #e30613;

    text-decoration: none;
}


/* =========================================================
   HOURS
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-hours {
    margin: 0 0 8px;

    padding: 6px 8px;

    border-radius: 7px;

    background: #f7f7f8;

    color: #666;

    font-size: 10px;

    line-height: 1.45;
}


/* =========================================================
   MAP BUTTON
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-map {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 4px;

    min-height: 30px;

    padding: 6px 10px;

    border-radius: 7px;

    background: #18181b;

    color: #fff;

    font-size: 10px;
    font-weight: 600;

    line-height: 1;

    text-decoration: none;

    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-map:hover {
    background: #e30613;

    color: #fff;

    text-decoration: none;

    transform: translateY(-1px);
}


/* =========================================================
   SOURCE
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-source {
    margin-top: 11px;

    padding-top: 10px;

    border-top: 1px solid #eceeef;

    color: #999;

    font-size: 9px;

    line-height: 1.5;
}

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-source a {
    color: #777;

    font-weight: 600;

    text-decoration: none;
}

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-source a:hover {
    color: #e30613;

    text-decoration: none;
}


/* =========================================================
   UPDATED
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-updated {
    margin-top: 4px;

    color: #aaa;

    font-size: 8px;

    line-height: 1.4;
}


/* =========================================================
   EMPTY STATE
   ========================================================= */

.club-sidebar-widget.oc-widget-pharmacy
.oc-pharmacy-empty {
    padding: 16px 12px;

    border: 1px solid #eceeef;

    border-radius: 10px;

    background: #f7f7f8;

    color: #777;

    font-size: 11px;

    line-height: 1.5;

    text-align: center;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .club-sidebar-widget.oc-widget-pharmacy
    .club-sidebar-widget-heading {
        margin-bottom: 12px;
    }

    .club-sidebar-widget.oc-widget-pharmacy
    .oc-pharmacy-title-icon {
        width: 32px;
        height: 32px;

        flex-basis: 32px;

        border-radius: 8px;
    }

    .club-sidebar-widget.oc-widget-pharmacy
    .oc-pharmacy-item {
        gap: 9px;

        padding: 11px;

        border-radius: 11px;
    }

    .club-sidebar-widget.oc-widget-pharmacy
    .oc-pharmacy-icon {
        width: 34px;
        height: 34px;

        flex-basis: 34px;

        border-radius: 8px;
    }

    .club-sidebar-widget.oc-widget-pharmacy
    .oc-pharmacy-name {
        font-size: 13px;
    }

    .club-sidebar-widget.oc-widget-pharmacy .oc-pharmacy-address 
        { display: block; width: 100%; max-width: 100%; font-size: 10px; line-height: 1.55; 
        white-space: normal; overflow: visible; text-overflow: clip; -webkit-line-clamp: unset; 
        -webkit-box-orient: unset; overflow-wrap: anywhere; word-break: normal; }

    .club-sidebar-widget.oc-widget-pharmacy
    .oc-pharmacy-phone {
        font-size: 11px;
    }

    .club-sidebar-widget.oc-widget-pharmacy
    .oc-pharmacy-map {
        min-height: 29px;

        padding: 6px 9px;

        font-size: 9px;
    }
}

/* =====================================================
   OUR CLUB - INSTAGRAM WIDGET
   ===================================================== */

.oc-instagram-widget {
    width: 100%;
}


/* -----------------------------------------------------
   Smash Balloon
   ----------------------------------------------------- */

.oc-instagram-widget #sb_instagram {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}


.oc-instagram-widget #sbi_images {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    padding: 0 !important;
}


/* -----------------------------------------------------
   POSTS
   ----------------------------------------------------- */

.oc-instagram-widget #sbi_images .sbi_item {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    clear: both !important;
    margin: 0 !important;
    padding: 0 !important;
}


.oc-instagram-widget #sbi_images .sbi_photo_wrap {
    width: 100% !important;
    margin: 0 !important;
}


.oc-instagram-widget #sbi_images .sbi_photo {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
}


/* -----------------------------------------------------
   PROFILE BUTTON
   ----------------------------------------------------- */

.oc-instagram-profile {
    margin-top: 16px;
}


.oc-instagram-profile-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;

    min-height: 44px;

    padding: 10px 16px;

    border-radius: 8px;

    text-decoration: none !important;

    font-size: 14px;
    font-weight: 700;

    transition:
        transform .2s ease,
        opacity .2s ease;
}


.oc-instagram-profile-button:hover {
    transform: translateY(-1px);
    opacity: .9;
}


.oc-instagram-profile-button svg {
    width: 19px;
    height: 19px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}


.oc-instagram-profile-button .social-dot {
    fill: currentColor;
    stroke: none;
}

/*
 * =========================================================
 * OUR CLUB
 * FACEBOOK WIDGET
 * =========================================================
 */

.oc-facebook-widget {
    width: 100%;
}

.oc-facebook-header {
    margin-bottom: 16px;
}

.oc-facebook-title {
    margin: 0;
}

.oc-facebook-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.oc-facebook-item {
    position: relative;
    overflow: hidden;
    background: var(--club-secondary, #ffffff);
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .08);
}

.oc-facebook-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f2f2f2;
}

.oc-facebook-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition:
        transform .35s ease;
}

.oc-facebook-item:hover
.oc-facebook-image img {
    transform: scale(1.05);
}

.oc-facebook-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .38);
    opacity: 0;
    transition:
        opacity .25s ease;
}

.oc-facebook-item:hover
.oc-facebook-overlay {
    opacity: 1;
}

.oc-facebook-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #ffffff;
    background: rgba(0, 0, 0, .65);
}

.oc-facebook-content {
    padding: 14px 15px 10px;
}

.oc-facebook-message {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--club-primary, #111111);
}

.oc-facebook-date {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    opacity: .58;
}

.oc-facebook-post-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 15px 15px;
    padding: 10px 12px;
    border-radius: 9px;
    color: var(--club-primary, #111111);
    background: rgba(0, 0, 0, .045);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition:
        background .2s ease,
        color .2s ease;
}

.oc-facebook-post-link:hover {
    color: #ffffff;
    background: var(--club-accent, #e30613);
}

.oc-facebook-footer {
    margin-top: 16px;
}

.oc-facebook-profile-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 10px;
    color: #ffffff;
    background: var(--club-primary, #111111);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition:
        transform .2s ease,
        background .2s ease;
}

.oc-facebook-profile-button:hover {
    color: #ffffff;
    background: var(--club-accent, #e30613);
    transform: translateY(-1px);
}

.oc-facebook-empty {
    padding: 24px 16px;
    text-align: center;
    border-radius: 12px;
    background: rgba(0, 0, 0, .035);
}

.oc-facebook-empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--club-primary, #111111);
}

.oc-facebook-empty p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    opacity: .7;
}

@media (max-width: 767px) {

    .oc-facebook-feed {
        gap: 12px;
    }

    .oc-facebook-content {
        padding: 12px;
    }

    .oc-facebook-post-link {
        margin: 0 12px 12px;
    }

}