/* Events list view (tribe/events/v2/list.php) — moved from inline <style> in <body> */
#event-archive-header {
    background-color: #E5F4F5;
}

#event-archive-header .copy {
    padding-bottom: 45px;
}

@media screen and (min-width: 698px) {
    #event-archive-header .mainHeading h1 {
        color: black;
        font-size: 4rem; /* 64px */
        font-weight: 700;
        width: 100%;
        margin-bottom: 20px;
        text-transform: none;
        border-bottom: none;
        margin-top: 20px;
        line-height: 1.2;
        padding-bottom: 15px;
    }

    #event-archive-header .mainHeading {
        padding-top: 15px;
        padding-bottom: 30px;
    }

    .single-event {
        height: 320px;
        box-shadow: 3px 2px 5px 0px rgba(105, 105, 105, .4);
        margin-top: 30px !important;
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 697px) {
    #event-archive-header .mainHeading h1 {
        color: black;
        font-size: 3rem; /* 48px */
        font-weight: 700;
        width: 100%;
        margin-top: 5px;
        margin-bottom: 5px;
        text-transform: none;
        border-bottom: none;
        line-height: 1;
    }

    #event-archive-header .mainHeading {
        padding-top: 5px;
        padding-bottom: 5px;
    }

    .single-event {
        height: fit-content;
        display: flex;
        box-shadow: 3px 2px 5px 0px rgba(105, 105, 105, .4);
        margin-top: 30px;
        margin-bottom: 30px;
        padding-top: 10px;
        padding-bottom: 0px;
    }

    .view-event-details {
        display: block;
        text-align: center;
    }

    .view-event-details:after {
        padding: 0px 0px !important;
        content: '' !important;
    }
}

.event-list-image {
    max-width: 100%;
}

.event-details {
    padding: 25px 25px 25px 0;
}

.single-event .single-event-image {
    min-height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-origin: content-box;
    box-sizing: border-box;
    padding: 25px;
}

.single-event h2 {
    margin-bottom: 10px;
}

.single-event h2 a {
    font-size: inherit;
    color: inherit;
    font-weight: inherit;
    border: none;
    line-height: normal;
}

.single-event h3 {
    margin-bottom: 5px;
}

.single-event a.cta-base {
    display: inline-block !important;
}

.event-details a {
    /** TODO: would really love to not use importants here */
    background-color: white !important;
    border: solid black 1px;
}

@media screen and (max-width: 767px) {

    .single-event .single-event-image {
        min-height: 200px;
        background-position: center;
    }


}

.event-details .event-cta-wrapper {
    margin-top: 30px;
}
