
.event_section {
    margin-left: 10px;
    margin-top: 5px;
    padding: 5px;
}




#red_fill a,
#red_fill_hide a {
    text-decoration: none;
    color: white;
}



.overlay,
.register_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #7b2020;
    color: white;
    border: none;
    cursor: pointer;
}

button[type="submit"]:hover {
    background-color: #480e0e;
}

p {
    line-height: 25px;
}

.date,
.location {
    font-size: 16px;
}

.address {
    text-decoration: underline;
    color: black;
}

.events_header {
    margin-left: 20px;
    margin-top: 5px;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    padding-top: 10px;
}

.event-card p {
    margin: 2px;
}

.event-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    height: auto;
}

.event-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.event-itinerary {
    background: #f9f9f9;
    /*padding: 10px;*/
    margin-top: 1px;
    border-radius: 5px;
    text-align: left;
    /*display: none; */
	font-family: 'Ek Mukta';
	font-size: small;
    max-height: none;
    transition: display 0.3s ease;
}

.toggle-itinerary,
.details-btn {
    background-color: #ff6600;
    color: white;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-itinerary .arrow {
    transition: transform 0.3s ease;
    margin-left: 8px;
}

.toggle-itinerary.expanded .arrow {
    transform: rotate(180deg);
}

.toggle-itinerary:hover {
    background-color: #e65c00;
}

@media (max-width: 960px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .event-grid {
        grid-template-columns: 1fr;
    }
}