/* =====================================================
    Hillegom Agenda Grid - Homepage (capsule layout)
    ===================================================== */

.agenda-section {
    margin: 2.5rem 0;
}

.agenda-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.agenda-section .section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--blue-text);
    margin: 0;
}

.agenda-section .section-title svg {
    color: var(--blue-text);
}

.agenda-view-all {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--blue-text);
    text-decoration: none;
}

.agenda-view-all:hover {
    text-decoration: underline;
}

.agenda-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.agenda-card {
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    background: transparent;
}

.agenda-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.agenda-card-link {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: stretch;
    text-decoration: none;
    color: #111827;
    height: 100%;
}

.agenda-dateblock {
    background: #fff;
    border: 3px solid var(--agenda-accent, #b91c1c);
    border-right-width: 0;
    border-radius: 12px 0 0 12px;
    padding: 10px 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.agenda-day {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
}

.agenda-month {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

.agenda-time {
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
}

.agenda-info {
    padding: 12px 14px;
    border: 3px solid var(--agenda-accent, #b91c1c);
    border-left-width: 0;
    border-radius: 0 12px 12px 0;
    background: var(--agenda-surface, #ffe4e6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.agenda-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
}

.agenda-card-link:hover .agenda-title {
    color: var(--blue-text);
}

.agenda-venue {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
}

/* Color accents aligned to printed agenda palette */
.agenda-pink   { --agenda-accent: #c1227c; --agenda-surface: #fde4f2; }
.agenda-green  { --agenda-accent: #4f8b4a; --agenda-surface: #e6f2e3; }
.agenda-blue   { --agenda-accent: #1a69a6; --agenda-surface: #e2effb; }
.agenda-gray   { --agenda-accent: #718096; --agenda-surface: #f1f5f9; }
.agenda-salmon { --agenda-accent: #e4675c; --agenda-surface: #fde7df; }

/* Responsive */

@media (max-width: 900px) {
    .agenda-grid {
        grid-template-columns: 1fr;
    }

    .agenda-card-link {
        grid-template-columns: 82px 1fr;
    }
}

@media (max-width: 600px) {
    .agenda-section {
        margin: 2rem 0;
    }

    .agenda-grid {
        grid-template-columns: 1fr;
    }

    .agenda-card-link {
        grid-template-columns: 74px 1fr;
    }

    .agenda-day { font-size: 1.4rem; }
    .agenda-month { font-size: 0.9rem; }
    .agenda-time { font-size: 0.85rem; }
}
