/* 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: var(--white);
    border: 1px solid var(--card-border);
    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: var(--white);
    border: 1px solid var(--card-border);
    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;
}

.event-card-small-body {
    padding: 15px;
    flex-grow: 1;
    color: var(--dark-grey);
}

.event-card-body p {
    margin: 0 0 10px 0;
    font-size: 0.9em;
    color: var(--dark-grey);    
}


.event-card-small-body p {
    margin: 0 0 10px 0;
    font-size: 0.9em;
    color: var(--dark-grey);  
}

/* Event Card Header */
.event-card-header {
    background-color: var(--scots-blue);
    border-bottom: 1px solid var(--card-border);
    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: var(--white)
}

/* Event Card Footer */
.event-card-footer {
    background-color: var(--white);
    border-top: 1px solid var(--card-border);
    padding: 10px 15px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Remove default link styling from the entire clickable card */
.event-card-link-wrapper {
    text-decoration: none;
}

/* 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 */
}

/* 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: var(--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 */
    padding: 15px 20px;        /* Padding for button size and vertical centering */
    color: var(--text-gray);
    background-color: var(--off-white);
    border-color:  var(--off-white);
    border: 0px;
}

/* Accordion header default style */
.accordion-button {
    background-color: var(--off-white); /* Default light color */
    transition: background-color 0.3s;
}

/* Accordion header active style */
.accordion-button:not(.collapsed) {
    background-color: var(--off-white); /* 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 var(--light-grey); /* Light grey focus border */
}

.accordion-body {
    font-size: 0.9rem;
}

.list-group-item {
    font-size: 0.9rem;
}

