/* BOMA Events Archive Styles (bomaevents-archive-style.css) */

:root {
    --boma-deep-blue: #003B5C;
    --boma-medium-blue: #0073AA;
    --boma-lime-green: #98D734;
    --boma-text-gray: #555;
    --boma-light-gray: #f4f4f4;
    --boma-border-gray: #ddd;
}

.bomaevents-archive-header {
    margin-bottom: 2em;
    border-bottom: 2px solid var(--boma-deep-blue);
    padding-bottom: 0.5em;
}

.bomaevents-archive-header .page-title {
    color: var(--boma-deep-blue);
    font-weight: 700;
}

.bomaevents-archive-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.bomaevent-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--boma-border-gray);
    display: flex;
    flex-direction: column;
}

.bomaevent-card:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.bomaevent-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bomaevent-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.bomaevent-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bomaevent-card:hover .bomaevent-card-image img {
    transform: scale(1.05);
}

.bomaevent-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--boma-light-gray);
    color: var(--boma-border-gray);
    font-weight: bold;
}

.bomaevent-card-content {
    padding: 20px;
    display: flex;
    flex-grow: 1;
}

.bomaevent-card-date {
    background-color: var(--boma-light-gray);
    border-radius: 5px;
    text-align: center;
    padding: 10px;
    margin-right: 15px;
    min-width: 60px;
    height: 60px;
}

.bomaevent-card-date .month {
    display: block;
    font-size: 0.9em;
    font-weight: 700;
    color: var(--boma-medium-blue);
    text-transform: uppercase;
}

.bomaevent-card-date .day {
    display: block;
    font-size: 1.8em;
    font-weight: 700;
    color: var(--boma-deep-blue);
    line-height: 1;
}

.bomaevent-card-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bomaevent-card-title {
    font-size: 1.25em;
    font-weight: 700;
    color: var(--boma-deep-blue);
    margin: 0 0 10px 0;
}

.bomaevent-card-excerpt {
    font-size: 0.95em;
    color: var(--boma-text-gray);
    flex-grow: 1;
    margin-bottom: 15px;
}

.bomaevent-card-button {
    display: inline-block;
    background-color: var(--boma-deep-blue);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.2s ease;
    margin-top: auto; /* Pushes button to the bottom */
}

.bomaevent-card:hover .bomaevent-card-button {
    background-color: var(--boma-lime-green);
    color: var(--boma-deep-blue);
}

.bomaevents-no-events {
    font-size: 1.1em;
    color: var(--boma-text-gray);
    background: var(--boma-light-gray);
    padding: 2em;
    border-radius: 8px;
    text-align: center;
}