/* ── Elites Section ── */
.elites-header {
    text-align: center;
    margin-bottom: 28px;
}

.elites-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff !important;
}

.btn-get-featured {
    background: var(--gradient);
    color: #fff;
    border-radius: 24px;
    padding: 8px 20px;
    font-size: .75rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s;
    font-family: 'Montserrat', sans-serif;
}

.btn-get-featured:hover { opacity: .9; transform: translateY(-1px); }

.block-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff !important;
    text-align: center;
    margin: 20px 0;
}

.block-underline {
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    margin-bottom: 20px;
}

.posts-block {
    background: var(--card);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: var(--card-border);
    box-shadow: 0 8px 40px rgba(0,0,0,0.6);
    transition: border-color 0.25s, transform 0.25s, background 0.25s;
    border-radius: 10px;
    margin-bottom: 25px;
}

/* Scrollable track */
.posts-track-wrap {
    position: relative;
    margin-bottom: 32px;
}

.posts-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    overflow: visible;
}

.posts-track::-webkit-scrollbar { display: none; }

/* Business card */
.biz-card {
    width: 100%;   /* FIX */
    border: 2px solid var(--primary);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
    background: #fff;
    position: relative;
}

.biz-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(232,114,12,.2);
}

.biz-featured-badge {
    position: absolute;
    top: 8px; left: 0;
    background: var(--primary);
    color: white;
    font-size: .6rem;
    font-weight: 800;
    padding: 3px 10px 3px 8px;
    border-radius: 0 12px 12px 0;
    z-index: 1;
    letter-spacing: .5px;
}

.biz-logo-area {
    width: 100%; height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.biz-img { width: 100%; height: 100%; object-fit: contain; }

.biz-text-logo {
    font-size: .85rem;
    font-weight: 900;
    text-align: center;
    padding: 8px;
    line-height: 1.3;
    font-style: italic;
}

.biz-name {
    padding: 8px 10px;
    font-size: .7rem;
    font-weight: 700;
    color: #222;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-all-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

.view-all-btn {
    background: var(--gradient);
    color: #fff;
    padding: 10px 24px;
    font-size: .85rem;
    font-weight: 700;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.2s;
}

.view-all-btn:hover { opacity: .9; transform: translateY(-1px); }

/* ── Events + Calendar ── */
.events-calendar-section {
    padding: 0 32px 40px;
    display: flex;
    gap: 24px;
    align-items: stretch; /* change */
    flex-wrap: wrap;
}

.events-col,
.calendar-col {
    display: flex;
}

.events-col { flex: 2; min-width: 280px; }
.calendar-col { flex: 1; min-width: 260px; }

.create-event-card,
.calendar-widget {
    width: 100%;
    height: 100%;
}

.create-event-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 240px;
}

.event-bg-overlay {
    position: absolute;
    inset: 0;
    background-image: url('/images/event-bg.jpg');
    background-size: cover;
    background-position: center;
    /* opacity: 0.35; */
}

.event-card-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.event-card-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,.5);
}

.btn-coming-soon {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 24px;
    padding: 12px 32px;
    font-size: .85rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: background .2s;
}

.btn-coming-soon:hover { background: var(--primary-dark); }

/* Calendar */
.calendar-widget {
    background: #1a1a1a;
    border-radius: 16px;
    padding: 20px;
    color: #fff;
}

.cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cal-month {
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .5px;
}

.cal-nav {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background .2s;
}

.cal-nav:hover { background: rgba(232,114,12,.15); }

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.cal-day-label {
    text-align: center;
    font-size: .65rem;
    font-weight: 700;
    color: #888;
    padding: 4px 0 8px;
}

.cal-cell {
    text-align: center;
    font-size: .75rem;
    font-weight: 600;
    padding: 8px 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: background .15s, color .15s;
    color: #ddd;
}

.cal-cell:hover { background: rgba(232,114,12,.2); color: #fff; }

.cal-cell.today {
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    border-radius: 50%;
}

.cal-cell.empty { pointer-events: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .elites-section,
    .events-calendar-section { padding-left: 16px; padding-right: 16px; }
}

@media (max-width: 600px) {
    .elites-title { font-size: 1.1rem; }
    .events-col, .calendar-col { flex: none; width: 100%; }
}
