/* ------------------------------------------- */
/* VMP Event List Styles (Used by both shortcodes) */
/* ------------------------------------------- */

/* Site Colors: VMP Red #b91c1c, VMP Navy #0a2342 */

/* Global Icon Styling */
.fa-fw { 
    margin-right: 5px; 
    color: #b91c1c; /* VMP Red for all icons */
}

/* Base List Container */
.vmp-events-list { 
    max-width: 800px; 
    margin: 0 auto; 
    font-family: -apple-system,system-ui,sans-serif; 
    padding: 10px; 
}

/* Day Group Styling */
.vmp-day-group { 
    border-left: 3px solid #0a2342; /* VMP Navy for structure */
    padding-left: 15px; 
    margin-bottom: 25px; 
} 
.vmp-day-heading { 
    margin: 0 0 10px -18px; 
    font-size: 1.15em; 
    color: #0a2342; /* VMP Navy text */
    padding-bottom: 5px; 
    border-bottom: 1px solid #0a2342;
    font-weight: 700;
}
.vmp-day-heading .fa-calendar-days { 
    margin-left: 5px; /* Ensures space for the calendar icon */
}

/* Individual Event Card */
.vmp-event-card { 
    background:#f3f4f6; /* VMP Warm Grey */
    border:1px solid #e5e7eb; /* Standard border */
    border-radius:6px; 
    padding:12px; 
    margin-bottom:12px; 
    margin-top: 12px;
    box-shadow:0 1px 3px rgba(0,0,0,0.05); 
    position:relative; 
}
.vmp-event-title { 
    margin:0 0 5px; 
    font-size:1.1em; 
    color:#000; 
    font-weight: 600; 
}
.vmp-event-meta { 
    margin:2px 0 0; 
    font-weight:normal; 
    font-size: 0.85em; 
    color:#555; 
}
.vmp-event-description { 
    margin-top: 8px; 
    color: #333; 
    line-height: 1.3; 
    font-size: 0.9em; 
    border-top: 1px dashed #e5e7eb; 
    padding-top: 8px;
}
.vmp-section-title { 
    font-size: 1.5em; 
    color: #0a2342; /* VMP Navy text */
    margin: 0 0 20px; 
    border-bottom: 2px solid #0a2342; 
    padding-bottom: 5px;
    text-align: center; 
}


/* ------------------------------------------- */
/* Toggle/Overflow Styles [vmp_upcoming_events] */
/* ------------------------------------------- */

/* Toggle Button Styling (VMP Red: #b91c1c) */
.vmp-toggle-container {
    text-align: center;
    margin: 20px 0;
}
.vmp-toggle-button {
    background-color: #b91c1c; /* VMP Red */
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px #991b1b; /* Darker Red for shadow */
}
.vmp-toggle-button:hover {
    background-color: #991b1b; /* Darker Red hover */
    box-shadow: 0 2px #991b1b;
    transform: translateY(2px);
}
.vmp-toggle-button i {
    margin-left: 8px;
}

/* Style for the hidden overflow content */
.vmp-overflow-content {
    /* JS handles display: none/block via slideToggle */
}
.vmp-overflow-heading {
    margin-top: 30px;
    border-color: #b91c1c; /* VMP Red for this header accent */
    color: #b91c1c;
}


/* ------------------------------------------- */
/* Today's Events Overrides [vmp_todays_events] */
/* ------------------------------------------- */

.vmp-todays-list {
    max-width: 600px;
    margin: 5px auto;
    padding: 15px;
    /* --- START MODERN/CLEAN STYLING CHANGES --- */
    border: 1px solid #e5e7eb; /* Soft gray border for clean look */
    border-radius: 8px;
    background-color: #ffffff; /* Pure white background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Modern, soft shadow */
    /* --- END MODERN/CLEAN STYLING CHANGES --- */
}

/* NEW: Style the clickable title/button - FIXES ELEMENTOR OVERRIDE */
.vmp-todays-title-button {
    display: block; /* Makes it fill the container width */
    width: 100%;
    
    /* RESET ELEMENTOR BUTTON STYLES */
    background: transparent !important; /* Force transparent */
    border: none !important;            /* Remove border */
    box-shadow: none !important;        /* Remove shadow */
    padding: 0 !important;              /* Remove padding */
    margin: 0 !important;               /* Remove margin */
    border-radius: 0 !important;        /* Remove radius */
    text-transform: none !important;    /* Prevent all caps if set globally */
    line-height: normal !important;     /* Reset line height */
    
    cursor: pointer;
    text-align: center;
    transition: background-color 0.1s ease;
}

.vmp-todays-title-button:hover {
    /* Updated hover color to VMP Warm Grey */
    /* !important added to ensure it beats the transparency reset above */
    background-color: #f3f4f6 !important; 
}

.vmp-todays-title {
    position: relative;
    text-align: center;
    color: #b91c1c; /* VMP Red text */
    font-size: 1.3em;
    margin-top: 0;
    padding: 10px 0; /* Increased vertical padding for better click target */
    border-bottom: 2px dashed #e5e7eb;
}

/* NEW: Icon position and animation within the title */
.vmp-todays-toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #0a2342; /* VMP Navy */
    transition: transform 0.3s ease;
}

/* Icon rotation for "open" state - JS adds/removes fa-chevron-up/down */
.vmp-todays-toggle-icon.fa-chevron-up {
    /* Upward pointing icon (default state for visible content) */
    transform: translateY(-50%); 
}
.vmp-todays-toggle-icon.fa-chevron-down {
    /* Downward pointing icon (collapsed state) */
    transform: translateY(-50%) rotate(180deg); 
}


.vmp-todays-group {
    /* Resetting left border inherited from the full view shortcode to make it cleaner */
    border-left: none !important; 
    padding-left: 0 !important;
    margin-bottom: 0;
}
.vmp-todays-group .vmp-event-card {
     background: #ffffff; /* White background for individual cards */
}
.vmp-no-events {
    text-align: center;
    font-size: 1.1em;
    padding: 20px;
    color: #0a2342; /* VMP Navy */
    font-weight: 500;
}
/* Reuse existing icon color from vmp_upcoming_events_shortcode CSS */
.vmp-todays-list .fa-fw {
    color: #b91c1c; /* VMP Red */
}


/* ------------------------------------------- */
/* Quote Styling for Modern Look (Overrides PHP inline styles) */
/* ------------------------------------------- */

/* Overrides for the quote container (.vmp-quote-display) */
.vmp-quote-display {
    max-width: 600px;
    margin: 40px auto; 
    padding: 20px 0; 
    text-align: center;
    
    /* REMOVE THE BOX: Requires !important to override inline PHP styles */
    border: none !important; 
    border-left: none !important; 
    background-color: transparent !important; 
}

/* Overrides for the quote text (.vmp-quote-text) */
.vmp-quote-text { 
    font-size: 1.25em !important; /* Slightly larger for emphasis */
    font-style: italic;
    margin: 0 0 8px;
    /* Use VMP Navy for a strong, consistent color */
    color: #0a2342 !important; 
    line-height: 1.5;
}

/* Overrides for the author (.vmp-quote-author) */
.vmp-quote-author { 
    display: block;
    font-size: 0.9em;
    margin: 0;
    /* Use VMP Red for a subtle accent color */
    color: #b91c1c !important; 
    font-weight: 500;
}