/* ============================================================
   Brown County Events — Month Grid
   ============================================================ */

.bc-month-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin: 24px 0;
}

.bc-month-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 10px;
    border: 2px solid #e0d5c8;
    border-radius: 8px;
    text-decoration: none;
    background: #faf5ef;
    transition: all 0.2s;
    position: relative;
    text-align: center;
    min-height: 80px;
}

.bc-month-card:hover {
    border-color: #8b4513;
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139,69,19,0.12);
}

/* Current month highlight */
.bc-month-card--current {
    border-color: #8b4513;
    border-width: 3px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(139,69,19,0.15);
}

.bc-month-card--current .bc-month-name {
    color: #5c2d0a;
}

/* Past months — slightly muted */
.bc-month-card--past {
    opacity: 0.7;
}

.bc-month-card--past:hover {
    opacity: 1;
}

/* "This Month" badge */
.bc-month-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #8b4513;
    color: #fff;
    font-size: 0.68em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 2px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

.bc-month-name {
    font-size: 1em;
    font-weight: 700;
    color: #3a2a1a;
    display: block;
}

.bc-month-year {
    font-size: 0.78em;
    color: #8b7a68;
    margin-top: 2px;
    display: block;
}

/* ── Mobile ── */
@media (max-width: 600px) {
    .bc-month-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .bc-month-card {
        padding: 12px 6px;
        min-height: 64px;
    }
    .bc-month-name {
        font-size: 0.9em;
    }
}

@media (max-width: 380px) {
    .bc-month-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================================
   "This Month" Featured Block — image on top, dark bar below
   ============================================================ */

.bc-this-month {
    margin: 0 0 32px;
}

.bc-this-month__link {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #d8cfc4;
}

.bc-this-month__image-wrap {
    width: 100%;
    aspect-ratio: 16 / 6;
    overflow: hidden;
}

.bc-this-month__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.bc-this-month__link:hover .bc-this-month__image {
    transform: scale(1.02);
}

/* Dark bar below image */
.bc-this-month__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #5c2d0a;
    padding: 14px 22px;
}

.bc-this-month__bar-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bc-this-month__label {
    display: block;
    font-size: 0.72em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.75);
}

.bc-this-month__month {
    display: block;
    font-size: 1.3em;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.bc-this-month__cta {
    font-size: 0.88em;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.bc-this-month__link:hover .bc-this-month__cta {
    color: #fff;
    text-decoration: underline;
}

/* Fallback when no image */
.bc-this-month--fallback {
    padding: 16px;
    background: #faf5ef;
    border: 1px solid #e0d5c8;
    border-radius: 8px;
}

/* ── Mobile ── */
@media (max-width: 480px) {
    .bc-this-month__image-wrap {
        aspect-ratio: 16 / 7;
    }
    .bc-this-month__bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 16px;
    }
    .bc-this-month__month {
        font-size: 1.15em;
    }
    .bc-this-month__cta {
        font-size: 0.85em;
    }
}
