/* Moments List */
.moments-list {
    max-width: 800px;
    margin: 0 auto;
}

.moment-row {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.moment-row:nth-child(even) {
    background-color: #f9f9f9;
}

/* Moment Image */
.moment-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-right: 10px;
    object-fit:cover; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.col-md-6 {
    display: flex;
    flex-direction: column; /* Stack content vertically */
    justify-content: flex-start; /* Align content to the top */
}


/* Style the moment details container */
.moment-details {
    display: flex;
    flex-direction: column; /* Stack title and text */
    align-items: flex-start; /* Align content to the left (optional) */
    justify-content: flex-start; /* Align content to the top */
    text-align: left; /* Ensure text alignment is correct */
    text-align: start;
    padding: 10px; /* Optional: Add padding for spacing */
}

.moment-title {
    font-size: 1.5rem;
    margin-top: 0;
    font-weight: bold;
    color: #343a40;
    margin-bottom: 10px;
}

.moment-text {
    color: #555;
    margin: 10px 0;
}

.moment-row small {
    color: #888;
    font-size: 0.875rem;
}


/* event.css */

/* Event Container */
.event-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Event Card Styles */
.event-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 30px;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.event-card-small {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Full height of column */
    width: 100%; /* Full width of the column */
    margin-bottom: 0;
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.event-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.event-card-small:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.event-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.event-card-small img {
    width: 100%;           /* Make the image scale to fit the full width of the container */
    height: 250px;         /* Fixed height */
    object-fit: cover;     /* Ensure the image covers the container proportionally */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.event-card-body {
    padding: 15px;
    color: var(--text-gray);
}

.event-card-small-body {
    padding: 15px;
    flex-grow: 1;
    color: var(--text-gray);
}

.event-card-body p {
    margin: 0 0 10px 0;
    font-size: 0.9em;
}


.event-card-small-body p {
    margin: 0 0 10px 0;
    color: #555555;
    font-size: 0.9em;
}

/* Event Card Header */
.event-card-header {
    background-color: #003366;
    border-bottom: 1px solid #dddddd;
    padding: 10px 15px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.event-card-header h4 {
    margin: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 1em;
    line-height: 1.2;
    color: #fff;    
}

/* Event Card Footer */
.event-card-footer {
    background-color: #f9f9f9;
    border-top: 1px solid #dddddd;
    padding: 10px 15px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Event Buttons */
.event-btn, .event-btn:visited {
    background-color: #007bff;
    border: 2px solid #007bff;
    border-radius: 5px;
    color: white;
    padding: 8px 16px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-right: 8px;
}

.event-btn:hover {
    background-color: #045ab5;
    border-color: #045ab5;
    color: white;
}

/* Remove default link styling from the entire clickable card */
.event-card-link-wrapper {
    text-decoration: none;
    color: #555555;
}

/* Specifically target text within the card to ensure no underline */
.event-card-link-wrapper .card * {
    text-decoration: none; /* Ensure no underline on text inside the card */
    color: #555555;
}


/* No Margin Utility Class */
.no-margin {
    margin: 0;
    padding: 0;
}

/* Tune Item Spacing */
.tune-item {
    margin-bottom: 10px;
}


/* ACCORDIAN */ 

.accordion-header button {
    font-size: 0.9rem; /* Adjust the font size as needed */
    color: var(--text-gray);
    background-color: white;
    padding: 15px 20px;        /* Padding for button size and vertical centering */
    border-color: transparent;
    margin: 0px; /* padding around the header text within the card */
    border: 0px;
}

.accordion-header button:hover {
    font-size: 0.9rem; /* Adjust the font size as needed */
    color: var(--text-gray);
    background-color:   #ccc;
    padding: 15px 20px;        /* Padding for button size and vertical centering */
    border-color:   #ccc;
    border: 0px;

}

/* Accordion header default style */
.accordion-button {
    background-color: #ccc; /* Default light color */
    transition: background-color 0.3s;
}

/* Accordion header active style */
.accordion-button:not(.collapsed) {
    background-color: #ccc; /* Light grey when active */
    color: black;
}

/* Remove bottom corners rounding on hover */
.accordion-button:hover, 
.accordion-button:not(.collapsed) {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.accordion-button:focus {
    outline: none;
    box-shadow: 0 0 0 0px #ccc; /* Light grey focus border */
}

.accordion-body {
    font-size: 0.9rem;
}

.list-group-item {
    font-size: 0.9rem;
}

/* Moment Rows */
.moment-row {
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.moment-row.bg-white {
    background-color: #ffffff;
}

.moment-row.bg-light {
    background-color: #f8f9fa;
}



/* Moment Details */
.moment-details {
    padding: 10px 20px;
}



.moment-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.text-muted {
    font-size: 0.9rem;
    color: #888;
}

@media (max-width: 768px) {
    .moment-row {
        flex-direction: column; /* Stack images and text vertically */
        align-items: center;
    }

    .moment-image img {
        width: 100%; /* Allow images to shrink proportionally */
        max-width: none; /* Remove the max-width constraint */
        margin-bottom: 15px; /* Add spacing between stacked elements */
        margin-right: 0px;
    }

    .moment-details {
        text-align: left; /* Center-align text on small screens */
        padding: 5px 0;
    }
}
