/* ── Featured events hero ────────────────────────────────────────────────── */
.nb-featured-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 0 0 2.5em;
}

.nb-featured-item {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    background: #fff;
    transition: box-shadow 0.2s;
}

.nb-featured-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.16); }

.nb-featured-img-link { display: block; position: relative; flex-shrink: 0; }

.nb-featured-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.nb-featured-img--placeholder {
    background: #e8f5e9;
    height: 200px;
}

.nb-featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #2e7d32;
    color: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    text-align: center;
    line-height: 1.1;
    font-weight: 700;
    min-width: 44px;
}

.nb-badge-mon { display: block; font-size: 0.68em; text-transform: uppercase; letter-spacing: .05em; }
.nb-badge-day { display: block; font-size: 1.5em; }

.nb-featured-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.nb-featured-title {
    font-size: 1.1em;
    margin: 0 0 8px;
    line-height: 1.3;
}

.nb-featured-title a { color: inherit; text-decoration: none; }
.nb-featured-title a:hover { color: #2e7d32; }

.nb-featured-date,
.nb-featured-location {
    font-size: 0.85em;
    color: #555;
    margin: 0 0 4px;
}

.nb-featured-excerpt {
    font-size: 0.88em;
    color: #666;
    margin: 8px 0 12px;
    flex: 1;
    line-height: 1.5;
}

.nb-featured-link {
    font-size: 0.85em;
    color: #2e7d32;
    text-decoration: none;
    font-weight: 600;
    align-self: flex-start;
}

.nb-featured-link:hover { text-decoration: underline; }

/* ── Upcoming events grid ────────────────────────────────────────────────── */
.nb-event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin: 0 0 2em;
}

.nb-event-card {
    border-radius: 7px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.09);
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.nb-event-card:hover { box-shadow: 0 3px 14px rgba(0,0,0,0.15); }

.nb-card-img-link { display: block; position: relative; flex-shrink: 0; }

.nb-card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.nb-card-img--placeholder {
    background: #e8f5e9;
    height: 150px;
}

.nb-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #2e7d32;
    color: #fff;
    border-radius: 5px;
    padding: 4px 8px;
    text-align: center;
    line-height: 1.1;
    font-weight: 700;
}

.nb-card-body {
    padding: 12px 14px 14px;
    flex: 1;
}

.nb-card-title {
    font-size: 0.92em;
    margin: 0 0 6px;
    line-height: 1.3;
}

.nb-card-title a { color: inherit; text-decoration: none; }
.nb-card-title a:hover { color: #2e7d32; }

.nb-card-meta {
    font-size: 0.8em;
    color: #666;
    margin: 0 0 3px;
}

@media (max-width: 600px) {
    .nb-featured-events { grid-template-columns: 1fr; }
    .nb-event-grid      { grid-template-columns: repeat(2, 1fr); }
}
