/* Scout Events — frontend styles */

.scout-events-week {
    padding: 1.5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.scout-events-week__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.scout-events-week__view-all {
    font-weight: 500;
    color: var(--scout-accent, #E86C3A);
    text-decoration: none;
    white-space: nowrap;
}
.scout-events-week__view-all:hover { text-decoration: underline; }

.scout-events-week__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
}

.scout-events-week__empty {
    color: #555;
    padding: 1.5rem;
    text-align: center;
    background: #f6f4ee;
    border-radius: 8px;
}

.scout-events-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: transform .15s ease, box-shadow .15s ease;
}
.scout-events-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
}

.scout-events-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.scout-events-card__image {
    aspect-ratio: 16 / 10;
    background: #ece8de;
    overflow: hidden;
}
.scout-events-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.scout-events-card__body { padding: 0.75rem 1rem 1rem; }

.scout-events-card__when {
    font-size: 0.8rem;
    color: var(--scout-accent, #E86C3A);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.25rem;
    font-weight: 600;
}

.scout-events-card__title {
    font-size: 1.05rem;
    line-height: 1.2;
    margin: 0 0 0.35rem;
    font-weight: 600;
}

.scout-events-card__venue {
    color: #555;
    margin: 0;
    font-size: 0.9rem;
}

/* List view */
.scout-events-list {
    max-width: 900px;
    margin: 1.5rem auto;
    padding: 0 1rem;
}

.scout-events-list__day {
    font-size: 1.1rem;
    margin: 2rem 0 0.5rem;
    color: #1a1a2e;
    border-bottom: 1px solid #e3ddc7;
    padding-bottom: 0.35rem;
}

.scout-events-list__day-group { display: block; }

.scout-events-row {
    display: grid;
    grid-template-columns: 90px 1fr auto;
    gap: 1rem;
    padding: 0.75rem 0.25rem;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid #f0eee5;
    align-items: baseline;
}
.scout-events-row:hover .scout-events-row__title { color: var(--scout-accent, #E86C3A); }

.scout-events-row__time { color: #777; font-variant-numeric: tabular-nums; font-size: 0.9rem; }
.scout-events-row__title { font-weight: 500; }
.scout-events-row__venue { color: #888; font-size: 0.85rem; text-align: right; }

.scout-events-list__empty {
    text-align: center;
    color: #555;
    padding: 3rem 1rem;
}

/* Archive header */
.scout-events-archive {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
}
.scout-events-archive__title { font-size: 2rem; margin: 0 0 0.5rem; }
.scout-events-archive__lede { color: #555; max-width: 60ch; margin: 0 0 2rem; }

/* Single event */
.scout-event {
    max-width: 800px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
}
.scout-event__breadcrumb { color: #777; font-size: 0.85rem; margin: 0 0 0.5rem; }
.scout-event__breadcrumb a { color: inherit; text-decoration: none; }
.scout-event__breadcrumb a:hover { text-decoration: underline; }
.scout-event__title { font-size: 2rem; margin: 0 0 0.5rem; line-height: 1.15; }
.scout-event__when { color: var(--scout-accent, #E86C3A); margin: 0 0 0.25rem; }
.scout-event__venue { margin: 0 0 1rem; color: #444; }
.scout-event__address { display: block; color: #777; font-size: 0.9rem; }
.scout-event__image { margin: 1.5rem 0; }
.scout-event__image img { width: 100%; height: auto; border-radius: 12px; display: block; }
.scout-event__content { line-height: 1.6; font-size: 1.05rem; }
.scout-event__cta { margin: 2rem 0; }
.scout-events-button {
    display: inline-block;
    background: var(--scout-accent, #E86C3A);
    color: #fff;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 500;
}
.scout-events-button:hover { filter: brightness(0.95); }

.scout-event__footer { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #ece8de; }
.scout-event__footer a { color: var(--scout-accent, #E86C3A); text-decoration: none; }

@media (max-width: 600px) {
    .scout-events-row { grid-template-columns: 64px 1fr; }
    .scout-events-row__venue { grid-column: 2 / 3; text-align: left; color: #888; }
    .scout-events-archive__title { font-size: 1.6rem; }
    .scout-event__title { font-size: 1.5rem; }
}
