/* Hero Css */

.sb-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.95);
    color: #0c2303;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(93, 161, 44, 0.3);
}

/* Btn Css */
.sb-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    gap: 6px;
}

.sb-header-btn-orange {
    background-color: var(--sb-theme-orange);
    color: #fff;
    padding: 11px 20px;
    border: none;
}

.sb-header-btn-orange:hover {
    background-color: var(--sb-theme-orange-hover);
    transform: translateY(-1px);
}

.sb-header-btn-green {
    background-color: var(--sb-theme-green);
    color: #ffffff;
    padding: 11px 20px;
    border: none;
}

.sb-mega-card-btn {
    width: 100%;
    height: 38px;
    font-size: 12px;
    font-weight: 700;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sb-mega-card-btn-orange {
    background-color: var(--sb-theme-orange);
    color: #ffffff;
}

.sb-mega-card-btn-orange:hover {
    background-color: var(--sb-theme-orange-hover);
}

.sb-mega-card-btn-green {
    background-color: var(--sb-theme-green);
    color: #ffffff;
}

.sb-mega-card-btn-green:hover {
    background-color: var(--sb-theme-green-hover);
}

.sb-hero-banner {
    background: linear-gradient(135deg, #0f2e03 0%, #061401 100%);
    padding: 80px 24px;
    text-align: center;
    border-bottom: 1px solid var(--sb-border-color);
    position: relative;
}

.sb-hero-title {
    font-size: 50px;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: #fff;
}

.sb-hero-desc {
    font-size: 16px;
    max-width: 680px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Common layout container wrapper */
.sb-section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.sb-live-ribbon {
    background-color: #17181c;
    border-top: 4px solid var(--sb-theme-green);
    color: #ffffff;
    padding: 12px 0;
}

.sb-live-ribbon .sb-section-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.sb-live-left {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.sb-live-center {
    display: flex;
    align-items: center;
    gap: 24px;
}

.sb-snookeron-logo {
    display: inline-flex;
    align-items: center;
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.sb-snookeron-logo span {
    color: #ff2d3b;
    margin-left: 2px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.sb-snookeron-ball {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle at 4px 4px, #ff4d4d, #990000);
    border-radius: 50%;
}

.sb-sponsor-logo-box {
    background-color: #920d18;
    border-radius: 6px;
    padding: 4px 10px;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #b31623;
}

.sb-sponsor-logo-box span {
    color: #fca5a5;
    font-weight: 400;
    font-size: 8px;
}

.sb-join-banner {
    background-color: rgba(23, 54, 1, 1);
    color: #ffffff;
    padding: 60px 0
}

.sb-join-banner .sb-section-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.sb-join-content h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.5em;
}

.sb-join-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 28px;
}

.sb-join-checklist {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 16px 24px;
    margin-bottom: 32px;
}

.sb-checklist-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #f1f5f9;
}

.sb-checklist-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--sb-theme-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Stats Grid */
.sb-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sb-stat-card {
    background-color: rgba(41, 69, 20, 1);
    border: 1px solid rgba(73, 93, 58, 1);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.sb-stat-number {
    font-size: 40px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.sb-stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0.5px;
}

.sb-clubs-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.sb-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 34px;
    flex-wrap: wrap;
    gap: 16px;
}

.sb-section-title-main {
    font-size: 46px;
    font-weight: 700;
    color: rgba(19, 20, 19, 1);
}

.sb-section-title-main span {
    color: var(--sb-theme-green);
}

/* County dropdown select styling */
.select-wrapper {
    position: relative;
    display: inline-block;
}

.sb-county-select {
    background-color: rgba(249, 249, 249, 1);
    border: 1px solid rgba(218, 218, 218, 1);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: rgba(19, 20, 19, 1);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.647949 0.647736L4.96613 4.96592L9.28431 0.647736' stroke='%23131413' stroke-width='1.29545' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 10px 6px;
    padding: 13px 54px 13px 16px;
}

.sb-county-select:focus {
    border-color: var(--sb-theme-green);
}

/* Grid layout */
.sb-grid-layout-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sb-grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.sb-club-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sb-club-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--sb-theme-green);
}

.sb-club-media {
    height: 96px;
    position: relative;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.05) 0 2px, transparent 3px) 0 0/26px 26px,
        linear-gradient(135deg, #1f5a30, #123c20);
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.sb-club-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Avatar + member pills row, overlapping the green header */
.sb-club-headrow {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 22px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
}

.sb-club-avatar {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffffff;
    background: #e8f3ea;
    box-shadow: 0 4px 10px rgba(16, 40, 24, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sb-club-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sb-club-avatar-fallback {
    font-size: 20px;
    font-weight: 800;
    color: var(--sb-theme-green);
}

.sb-club-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 28px;
}

.sb-club-mini {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    margin-left: -7px;
    border: 1.5px solid #fff;
}

.sb-club-mini:first-child { margin-left: 0; }
.sb-club-mini-0 { background: #e3f3da; color: #4a8a2a; }
.sb-club-mini-1 { background: #e0edff; color: #2563eb; }
.sb-club-mini-2 { background: #fdeede; color: #d97706; }
.sb-club-mini-3 { background: #efe7fd; color: #7c3aed; }
.sb-club-mini-4 { background: #ffe4ec; color: #db2777; }

.sb-club-mini-count {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-left: 6px;
    white-space: nowrap;
}

.sb-club-badge-province {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--sb-theme-orange);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

/* Card Details */
.sb-club-details {
    padding: 14px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.sb-club-since {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.45);
    padding: 4px 11px;
    border-radius: 50px;
    backdrop-filter: blur(2px);
}

.sb-club-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
}

.sb-club-info-row {
    display: -webkit-box;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(104, 105, 104, 1);
    font-weight: 500;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.sb-club-info-row svg {
    color: var(--sb-theme-green);
    flex-shrink: 0;
}

.sub-club-contact-info-flex {
    display: flex;
    width: 100%;
    gap: 24px;
}

.sb-club-info-row span {
    line-height: 0;
}

/* Group tag icons block */
.sb-club-members-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
    margin-top: 8px;
    width: 100%;
}

.sb-club-members-avatars {
    display: flex;
    align-items: center;
}

.sb-club-avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid rgba(187, 213, 168, 1);
    background-color: var(--sb-light-green-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--sb-theme-green);
    margin-left: -6px;
}

.sb-club-avatar-circle:first-child {
    margin-left: 0;
}

.sb-club-avatar-circle.sb-blue {
    background-color: #eff6ff;
    color: #2563eb;
    border-color: rgba(177, 204, 245, 1);
}

.sb-club-avatar-count {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.sb-club-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--sb-theme-green);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.sb-club-link:hover {
    color: var(--sb-theme-green-hover);
}

/* Full-width "View Club" button (matches design) */
.sb-club-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 4px;
    padding: 11px 16px;
    border: 1.5px solid var(--sb-theme-green);
    border-radius: 10px;
    color: var(--sb-theme-green);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.18s, color 0.18s;
}

.sb-club-link-btn:hover,
.sb-club-link-btn.is-filled {
    background: var(--sb-theme-green);
    color: #ffffff;
}

/* Section Bottom orange promotion banner */
/* Full-width "Register Your Club" band */
.sb-register-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(100deg, #7a2d1e 0%, #b9531f 30%, #cf911f 54%, #2f7d34 100%);
    text-align: center;
    color: #fff;
    padding: 52px 24px;
}

.sb-register-band-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; }
.sb-register-band-inner h3 { 
    font-size: 46px;
    font-weight: 600;
    margin: 0 0 12px; 
}
.sb-register-band-inner p { 
    font-size: 20px;
    font-weight:500;
    color: rgba(255, 255, 255, .92); 
    line-height: 1.6;
    margin: 0 0 22px; 
    
}
.sb-register-band-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #5da12c;
    color: #fff;
    padding: 14px 22px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: background .18s;
}
.sb-register-band-btn:hover { background: #4d8624; }

.sb-clubs-footer-banner {
    background: linear-gradient(90deg,
            rgba(24, 74, 30, 1) 0%,
            rgba(18, 55, 24, 1) 35%,
            rgba(10, 35, 18, 1) 70%,
            rgba(20, 36, 20, 1) 100%);
    border-radius: 16px;
    padding: 30px 40px;
    margin-top: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

.sb-clubs-footer-text h3 {
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 6px;
}

.sb-clubs-footer-text p {
    font-size: 14px;
    color: rgba(255, 255, 255, 1);
    line-height: 1.8em;
}

/* ==========================================================================
        SECTION 4: ALL MEMBERS DIRECTORY (image_4ae516.png)
        ========================================================================== */
.sb-members-section {
    padding: 80px 0;
    background-color: rgba(245, 246, 244, 1);
}

.sb-search-box-wrapper {
    position: relative;
    width: 320px;
}

.sb-search-input {
    width: 100%;
    height: 46px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 16px 0 40px;
    font-size: 13.5px;
    outline: none;
}

.sb-search-input:focus {
    border-color: var(--sb-theme-green);
}

.sb-search-icon-svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

/* Category pills scrolling list */
.sb-pills-row {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.sb-pill-btn {
    background-color: #ffffff;
    border: 1px solid rgba(233, 233, 233, 1);
    color: rgba(19, 20, 19, 1);
    font-size: 15px;
    font-weight: 500;
    padding: 14px 22px;
    border-radius: 16px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.sb-pill-btn:hover {
    background-color: #f8fafc;
}

.sb-pill-btn.sb-active {
    background-color: var(--sb-theme-green);
    border-color: var(--sb-theme-green);
    color: #ffffff;
}

/* Member cards grid */
.sb-member-card {
    background-color: #ffffff;
    border: 1px solid rgba(219, 221, 217, 1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.2s ease;
}

.sb-member-card:hover {
    transform: translateY(-2px);
}

.sb-member-badge-category {
    position: absolute;
    top: 14px;
    right: 14px;
    background-color: rgba(229, 245, 231, 1);
    color: rgba(49, 109, 56, 1);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 11px;
    border-radius: 50px;
    text-transform: capitalize;
}

.sb-member-avatar-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 6px;
}

.sb-member-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sb-member-club-label {
    font-size: 14px;
    font-weight: 400;
    color: rgba(66, 67, 66, 1);
    letter-spacing: 0.5px;
}

.sb-member-club-name {
    font-size: 20px;
    font-weight: 600;
    color: rgba(19, 20, 19, 1);
}

.sb-member-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.sb-member-contact-info {
    font-size: 14px;
    color: rgba(104, 105, 104, 1);
    line-height: 1.5;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    width: 100%;
    font-weight: 400;
}

.sb-pagination-indicator {
    margin-top: 30px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

/* ==========================================================================
        SECTION 5: SBI REFEREES SHOWCASE (image_4ae4f4.png)
        ========================================================================== */
.sb-referees-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.sb-referee-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* Green header band with the orange grade badge */
.sb-referee-media {
    position: relative;
    height: 86px;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,255,255,.05) 0 2px, transparent 3px) 0 0/26px 26px,
        linear-gradient(135deg, #1f5a30, #123c20);
}

.sb-referee-badge-level {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--sb-theme-orange);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 100px;
}

.sb-referee-avatar-circle {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    margin: -50px auto 12px;
    border: 4px solid #ffffff;
    background: #e8f3ea;
    box-shadow: 0 4px 10px rgba(16, 40, 24, 0.12);
    position: relative;
    z-index: 2;
}

.sb-referee-name {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}

.sb-referee-location {
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.sb-show-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.sb-show-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 52px;
    padding: 0 32px;
    border: none;
    border-radius: 10px;
    background: var(--sb-orange-btn);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(255, 152, 17, 0.25);
}

.sb-show-more-btn:hover {
    background: var(--sb-orange-btn-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 152, 17, 0.35);
}

@keyframes sb-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
        RESPONSIVE ADAPTATIONS
        ========================================================================== */
@media (max-width: 1100px) {
    .sb-grid-layout {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1030px) {
    .sb-grid-layout-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 950px) {
    .sb-join-banner .sb-section-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .sb-live-ribbon .sb-section-container {
        flex-direction: column;
        text-align: center;
    }

    .sub-club-contact-info-flex {
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    .sb-join-content h2{
        font-size:30px;
    }
    .sb-register-band-inner p{
        font-size:16px;
    }
    .sb-county-select{
        font-size:14px;
    }
    .sb-register-band-btn{
          font-size:14px;
    }
    .sb-section-title-main {
        font-size: 30px;
    }
   .sb-hero-title{
         font-size: 30px; 
    }
    .sb-county-select {
        margin-left: auto;
    }

    .sb-clubs-footer-text h3 {
        font-size: 25px;
    }

    .sb-join-checklist {
        grid-template-columns: 1fr;
    }

    .sb-grid-layout-3-col {
        grid-template-columns: 1fr;
    }

    .sb-grid-layout {
        grid-template-columns: 1fr;
    }

    .sb-search-box-wrapper {
        width: 100%;
    }

    .sb-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .sb-clubs-footer-banner {
        padding: 24px;
        text-align: center;
        justify-content: center;
    }

    .sb-clubs-footer-banner .sb-btn {
        width: 100%;
    }
    .sb-register-band-inner h3{
      font-size:30px;
   }
}