/* Reset container fonts to ensure it doesn't inherit monospace from a code block */
.sc-events-list {
    font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Clean Card Style */
.sc-event-item {
    background-color: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 25px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: box-shadow 0.2s ease;
}

.sc-event-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Heading - Clean and thin like Storefront */
.sc-event-item h3 {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.3;
    color: #2c2d33;
}

.sc-event-item h3 a {
    text-decoration: none;
    color: inherit;
}

.sc-event-item h3 a:hover {
    color: #96588a; /* Theme accent color */
}

/* Meta Data - Clean list, no boxes */
.sc-event-meta {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: #666;
}

.sc-event-meta p {
    margin: 5px 0;
    display: flex;
    align-items: center;
}

.sc-event-meta strong {
    font-weight: 600;
    color: #444;
    margin-right: 8px;
    min-width: 70px;
}

.sc-event-meta a {
    color: #96588a;
    text-decoration: none;
}

/* Excerpt - Readable text */
.sc-event-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

/* Override any accidental code block styling from parent */
.sc-events-list code,
.sc-events-list pre,
.sc-event-item code,
.sc-event-item pre {
    font-family: inherit !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: inherit !important;
    white-space: normal !important;
}

/* Button - Match Storefront */
.sc-event-actions .button {
    background-color: #f2f2f2;
    color: #333;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 3px;
    border: none;
    transition: background 0.2s;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.sc-event-actions .button:hover {
    background-color: #e6e6e6;
    color: #000;
}

/* Single Event Details Box */
.sc-event-details {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 4px;
}

.sc-event-details p {
    margin-bottom: 10px;
}
