@charset "UTF-8";
/* CSS Document */

/* --- Status Label Styling --- */
.wg-event-status-label {
    margin-bottom: 30px;
    display: inline-block;
}

/* New: Styling for the "This Event Has Passed" capsule */
.wg-event-passed-capsule {
    background-color: var(--wg-gold);
    color: var(--wg-black);
}


/* --- Standard Row Styling --- */
.event-detail-row {
    background-color: #F2F2F2;
    margin-bottom: 0;
    border-radius: 10px;
}

/* --- Content Row Padding & Spacing --- */
.event-row-2,
.event-row-3,
.event-row-additional-notes,
.event-row-disclaimers,
.event-row-4 {
    padding: 30px;
    margin-bottom: 20px;
}

/* Ensure the final content row has no bottom margin before the link container */
.event-detail-row:last-of-type {
    margin-bottom: 0 !important;
}

/* Remove bottom padding/margin from the <ul> inside the Related Events row */
.event-row-4 .event-row-content ul {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* --- Row 1 Specific Styles --- */
.event-row-1 {
    background-color: transparent;
    border: 1px solid black;
    padding: 30px;
    margin-bottom: 20px;
}

/* --- General Layout and Content Styling (Two-Column) --- */
.event-row-1-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}
.event-row-1-left,
.event-row-1-right {
    padding: 0;
    min-width: 0;
}
.event-row-1-left {
    flex: 1 1 65%;
}
.event-row-1-right {
    flex: 1 1 30%;
}
.event-row-1-right img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}
.event-title {
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 1.8em;
    line-height: 1.2;
}
.event-dates {
    font-size: 1.1em;
    color: #333;
    display: block;
    margin-bottom: 10px;
}
.event-socials a {
    margin-right: 15px;
    text-decoration: none;
    font-weight: bold;
}
.event-section-title {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
}
.event-details-section {
    margin-top: 20px;
    line-height: 1.6;
}
.event-details-section:first-of-type {
    margin-top: 0;
}

/* WYSIWYG Content Formatting */
.event-row-content p {
    margin-bottom: 1em;
}
.event-row-content ul,
.event-row-content ol {
    margin-left: 20px;
    margin-bottom: 1em;
}
.event-row-content li {
    line-height: 1.4;
    margin-bottom: 0.5em;
}


/* --- Last Updated & Suggest a Change Link Styling --- */

.suggest-change-container {
    width: 100%;
    
    /* Flexbox for left/right alignment on one line */
    display: flex;
    justify-content: space-between;
    align-items: baseline;

    /* 10px margin between the last row and this container */
    margin-top: 10px;
    
    /* 20px margin below the link container (overall page spacing) */
    margin-bottom: 20px;
}

.last-updated-text {
    font-size: 0.8em;
    color: #666;
    white-space: nowrap;
}

.suggest-change-link {
    font-size: 0.8em;
    color: #666;
    text-decoration: underline;
    transition: color 0.2s;
}

.suggest-change-link:hover {
    color: #000;
}


/* Mobile Adjustments */
@media (max-width: 768px) {
    /* Mobile padding standardization */
    .event-row-1,
    .event-row-2,
    .event-row-3,
    .event-row-additional-notes,
    .event-row-disclaimers,
    .event-row-4 {
        padding: 20px;
    }
    
    .event-row-4 .event-row-content ul {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* Mobile: Stack and center the elements */
    .suggest-change-container {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    
    .last-updated-text {
        text-align: center;
    }
}
