/* PGE Upcoming Events */

.pge-upcoming-events-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.25rem;
    margin: 2rem 0;
}

.pge-event-card {
    background: #ffffff;
    padding: 0;
    box-sizing: border-box;
}

.pge-event-card-inner {
    background: #ffffff;
    padding: 1.9rem 1.9rem 1.7rem;
    border: 1px solid rgba(8, 34, 71, 0.14);
    height: 100%;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pge-event-card:hover .pge-event-card-inner,
.pge-event-card:focus-within .pge-event-card-inner {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(8, 34, 71, 0.08);
    border-color: rgba(8, 34, 71, 0.35);
}

.pge-event-badge {
    margin: 0 0 0.65rem;
    color: #0a2247;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pge-event-title {
    margin: 0 0 1.2rem;
    color: #0a2247;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 700;
}

.pge-event-title a {
    color: inherit;
    text-decoration: none;
}

.pge-event-title a:hover,
.pge-event-title a:focus {
    text-decoration: underline;
}

.pge-event-image-wrap {
    margin: 0 0 1.2rem;
}

.pge-event-image-link {
    display: block;
    text-decoration: none;
}

.pge-event-image {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.pge-event-meta-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pge-event-meta-list li {
    position: relative;
    margin: 0 0 0.65rem;
    padding-left: 1.55rem;
    color: #1d2433;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pge-event-meta-list li:last-child {
    margin-bottom: 0;
}

.pge-event-meta-list li::before {
    content: "▶";
    position: absolute;
    left: 0;
    top: 0;
    color: #b11116;
    font-size: 0.78rem;
    line-height: 1.7;
}

.pge-event-excerpt {
    margin-top: 1rem;
    color: #374151;
}

.pge-event-actions {
    margin-top: 1.15rem;
}

.pge-event-button {
    display: inline-block;
    padding: 0.75rem 1rem;
    border-radius: 0;
    background: #0a2247;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
}

.pge-event-button:hover,
.pge-event-button:focus {
    background: #153a73;
    color: #ffffff;
}

.pge-upcoming-events-empty {
    margin: 1.5rem 0;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .pge-upcoming-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .pge-upcoming-events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pge-event-card-inner {
        padding: 1.4rem;
    }

    .pge-event-image {
        height: 200px;
    }

    .pge-event-title {
        font-size: 1.25rem;
    }
}
