/* =========================================================
   EVENT TYPE PAGE
========================================================= */

.event-type-banner {
    padding: 55px 0 60px;
}


/* =========================================================
   EVENT TYPE BANNER TITLE
   SAME AS VENUE TYPE PAGE
========================================================= */

.event-type-banner .hero-title {
    text-align: center;
    margin-bottom: 30px;
}


/* =========================================================
   EVENT TYPE SEARCH
========================================================= */

.event-type-search-form {
    width: 100%;
}


.event-type-search-wrapper {
    max-width: 980px;
    margin: 0 auto;

    display: flex;
    align-items: stretch;

    gap: 14px;
}


/* =========================================================
   EVENT TYPE FIELD
   SAME AS VENUE TYPE
========================================================= */

#eventTypeField {
    flex: 1;

    position: relative;

    width: 100%;
    min-height: 70px;

    box-sizing: border-box;

    background: #ffffff;

    border-radius: 12px;

    padding: 12px 18px;

    display: flex;
    align-items: center;

    cursor: pointer;

    text-align: left;
}


/* =========================================================
   EVENT TYPE TEXT WRAPPER
========================================================= */

#eventTypeField .filter-field-text {
    display: flex;

    flex-direction: column;

    justify-content: center;

    width: 100%;

    padding-right: 30px;
}


/* =========================================================
   EVENT TYPE SUB LABEL
========================================================= */

#eventTypeField .filter-field-sublabel {
    display: block;

    margin: 0 0 4px 0;
    padding: 0;

    color: #999;

    text-align: left;
}


/* =========================================================
   EVENT TYPE VALUE
========================================================= */

#eventTypeField .filter-field-value,
#eventTypeField #eventTypeLabel {
    display: block;

    margin: 0;
    padding: 0;

    color: #163f39;

    text-align: left;
}


/* =========================================================
   EVENT TYPE ARROW
========================================================= */

#eventTypeField > svg {
    position: absolute;

    right: 18px;
    top: 50%;

    width: 16px;
    height: 16px;

    transform: translateY(-50%);

    color: #777;

    pointer-events: none;
}


/* =========================================================
   EVENT TYPE DROPDOWN
========================================================= */

#eventTypeDropdown,
#eventTypeField .dropdown-panel {
    display: none;

    position: absolute;

    top: calc(100% + 8px);
    left: 0;

    width: 100%;

    z-index: 99999;

    box-sizing: border-box;

    background: #ffffff;

    border: 1px solid #e5e5e5;

    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

    max-height: 260px;

    overflow-y: auto;
}


#eventTypeField.open #eventTypeDropdown,
#eventTypeField.open .dropdown-panel {
    display: block;
}


/* =========================================================
   EVENT TYPE OPTIONS
========================================================= */

#eventTypeDropdown .event-type-option,
#eventTypeField .dropdown-option {
    display: block;

    width: 100%;

    box-sizing: border-box;

    padding: 12px 16px;

    border: 0;

    background: #ffffff;

    text-align: left;

    color: #163f39;

    cursor: pointer;
}


#eventTypeDropdown .event-type-option:hover,
#eventTypeField .dropdown-option:hover {
    background: #f5f5f5;
}


/* =========================================================
   EVENT TYPE SEARCH BUTTON
========================================================= */

.event-type-search-btn {
    flex: 0 0 138px;

    width: 138px;
    height: 70px;

    min-height: 70px;

    margin: 0;
    padding: 0 25px;

    box-sizing: border-box;

    border: none;

    border-radius: 12px;

    background-color: #c7a25b;

    color: #ffffff;

    cursor: pointer;

    transition: all 0.25s ease;
}


.event-type-search-btn:hover {
    background-color: #b6914f;

    transform: translateY(-1px);
}


/* =========================================================
   RESULTS SECTION
   SAME SPACING AS VENUE TYPE PAGE
========================================================= */

.event-type-results-section {
    padding: 55px 0 80px;
}


/* =========================================================
   RESULTS HEADER
========================================================= */

.event-type-results-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 35px;
}


.event-type-results-label {
    display: block;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #c49a38;

    margin-bottom: 6px;
}


.event-type-results-header h2 {
    margin: 0;

    font-size: 32px;

    font-weight: 600;

    color: #123f39;
}


.event-type-results-count {
    font-size: 15px;

    color: #777;
}


/* =========================================================
   EVENT TYPE GRID
========================================================= */

.event-type-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   EVENT TYPE CARD
   MATCH VENUE TYPE CARD SIZE / STYLE
========================================================= */

.event-type-card {
    position: relative;

    min-height: 240px;

    padding: 32px;

    box-sizing: border-box;

    border-radius: 14px;

    background: #164f47;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    overflow: hidden;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.event-type-card:hover {
    transform: translateY(-4px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   EVENT TYPE CARD CONTENT
========================================================= */

.event-type-card-content {
    width: 100%;
}


/* =========================================================
   EVENT TYPE NUMBER
========================================================= */

.event-type-card-number {
    display: block;

    margin-bottom: 10px;

    font-size: 14px;

    font-weight: 500;

    letter-spacing: 0.5px;

    color: #c7a25b;
}


/* =========================================================
   EVENT TYPE NAME
========================================================= */

.event-type-card h3 {
    margin: 0;

    font-size: 24px;

    line-height: 1.25;

    font-weight: 500;

    color: #ffffff;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.event-type-empty {
    width: 100%;

    text-align: center;

    padding: 80px 20px;

    grid-column: 1 / -1;
}


.event-type-empty-icon {
    width: 65px;

    height: 65px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #f5ecd3;

    display: flex;

    align-items: center;

    justify-content: center;

    color: #c49a38;

    font-size: 24px;
}


.event-type-empty h3 {
    margin: 0 0 10px;

    font-size: 24px;

    color: #163f39;
}


.event-type-empty p {
    color: #777;

    margin-bottom: 25px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .event-type-banner {
        padding: 40px 0 50px;
    }


    .event-type-banner .hero-title {
        text-align: center;
    }


    .event-type-search-wrapper {
        flex-direction: column;
    }


    #eventTypeField {
        width: 100%;

        min-height: 70px;
    }


    .event-type-search-btn {
        width: 100%;

        flex: none;

        min-height: 55px;

        height: 55px;
    }


    .event-type-results-section {
        padding: 40px 0 60px;
    }


    .event-type-results-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }


    .event-type-results-header h2 {
        font-size: 26px;
    }


    .event-type-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }


    .event-type-card {
        min-height: 200px;
    }
}


/* =========================================================
   FORCE EVENT TYPE HERO TO SAME HEIGHT
========================================================= */

.banner.event-type-banner {
    min-height: 219px;
    box-sizing: border-box;

    padding: 55px 0 60px !important;
}

.banner.event-type-banner .container {
    box-sizing: border-box;
}