/***********
  Filter
************/
#filter {
    padding: 24px 15px 0;
}

#filterWrap {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#filterTop {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    justify-content: center;
    max-width: 400px;
    width: 100%;
    margin-bottom: 12px;
}

.filterTopItem {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

#filterBottom {
    margin-top: 24px;
}

#filterBottomView {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.filterBottomViewLabel {
    display: flex;
    width: 100%;
}

.filterBottomViewLabelInput {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.filterBottomViewLabelBody {
    width: 100%;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid transparent;
    color: var(--black);
    opacity: .7;
    cursor: pointer;
    transition: .3s ease;
}

.filterBottomViewLabelBody svg {
    height: 20px;
    width: auto;
}

.filterBottomViewLabelBody:hover {
    cursor: pointer;
}

.filterBottomViewLabelInput + .filterBottomViewLabelBody {
    transition: .5s ease;
}

.filterBottomViewLabelInput:checked + .filterBottomViewLabelBody {
    opacity: 1;
    border-bottom: 1px solid var(--black);

}


/***********
  Events
************/
#events {
    margin-top: 30px;
    padding: 30px 15px 60px;
}

/* GRID VIEW */
#eventsBody {
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.eventsBodyItem {
    display: flex;
    flex-direction: column;
    background-color: white;
    border: 1px solid #f1f1f1;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
    transition: .3s ease;
}

.eventsBodyItemInfoWrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.eventsBodyItem:hover {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.eventsBodyItemImg {
    aspect-ratio: 348/200;
    object-fit: cover;
    object-position: center;
}

.eventsBodyItemInfo {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 30px 24px;
    height: 100%;
    font-weight: 400;
}

.eventsBodyItemInfoTitle {
    font-size: 19px;
    font-weight: 500;
}

.eventsBodyItemInfoLocation {
    margin-top: 8px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    color: var(--red);
    font-size: 12px;
}

.eventsBodyItemInfoLocation:hover {
    text-decoration: underline;
}

.eventsBodyItemInfoLocationIcon {
    height: 16px;
    width: auto;
}

.eventsBodyItemInfoTags {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}

.eventsBodyItemInfoDesc {
    color: black;
    text-align: center;
    font-size: 12px;
    margin-top: 4px;
    display: none;
}

.eventsBodyItemInfoTagsItem {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    white-space: nowrap;
}

.eventsBodyItemInfoTagsItem svg {
    height: 17px;
    width: auto;
}

.eventsBodyItemLine {
    margin: 20px 0 15px;
}

.eventsBodyItemInfoDates {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: var(--red);
    align-items: center;
    margin-bottom: 12px;

    text-align: center;
}

.eventsBodyItemInfoDatesItem {

}

.eventsBodyItemInfoDatesItem:hover {
    text-decoration: underline;
}

.eventsBodyItemInfoDetails {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    font-size: 15px;
    color: var(--red);
    justify-content: center;
    font-weight: 300;
    margin-top: auto;

}

.eventsBodyItemInfoDetailsIcon {
    height: 16px;
    width: auto;
}

.eventsBodyItemInfoDetails:hover {
    text-decoration: underline;
}

.eventsBodyItemInfoOrder {
    display: none;
}

.eventsBodyItemInfoOrderTickets {

}

.eventsBodyItemInfoOrderTicketsLabel {
    display: flex;
}

.eventsBodyItemInfoOrderTicketsLabelInput {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.eventsBodyItemInfoOrderTicketsLabelBody {
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    border: 2px solid black;
    font-size: 18px;
    font-weight: 700;
    color: black;
    cursor: pointer;
    transition: .3s ease;
}

.eventsBodyItemInfoOrderTicketsLabelBody:hover {
    border-radius: 10px;
    color: #B65252;
    cursor: pointer;
}

.eventsBodyItemInfoOrderTicketsLabelInput + .eventsBodyItemInfoOrderTicketsLabelBody {
    transition: .5s ease;
}

.eventsBodyItemInfoOrderTicketsLabelInput:checked + .eventsBodyItemInfoOrderTicketsLabelBody {
    background-color: black;
    color: white;
}

/* LIST VIEW */
#eventsBody.list {
    grid-template-columns: 1fr;
    gap: 10px;
}

#eventsBody.list .eventsBodyItemInfo {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 20px;
}

#eventsBody.list .eventsBodyItemInfoWrap {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

#eventsBody.list .eventsBodyItemImg {
    display: none;
}

#eventsBody.list .eventsBodyItemLine {
    display: none;
}

#eventsBody.list .eventsBodyItemInfoDates {
    margin: 12px 0 0;
}

#eventsBody.list .eventsBodyItemInfoDetails {
    margin-top: 0;
}

/* Detail View */
#eventsBody.detail {
    grid-template-columns: 1fr;
    gap: 10px;
}

#eventsBody.detail .eventsBodyItem {
    display: grid;
    grid-template-columns: 277px 1fr;
    padding: 15px 20px;
}

#eventsBody.detail .eventsBodyItemInfo {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 20px;
}

#eventsBody.list .eventsBodyItemImg {
    aspect-ratio: unset;
}

#eventsBody.detail .eventsBodyItemInfoWrap {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}


#eventsBody.detail .eventsBodyItemLine {
    display: none;
}

#eventsBody.detail .eventsBodyItemInfoDesc {
    display: block;
}

#eventsBody.detail .eventsBodyItemInfoDates {
    margin: 12px 0 0;
}

#eventsBody.detail .eventsBodyItemInfoDetails {
    display: none;
}