/* Events Module */
.events-section {
    /* width: 100%; */
    /* background-color: var(--white); */
    /* background-image: url('https://images.unsplash.com/photo-1588666309990-d68f08e3d4a6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80'); */
    background-size: cover;
    background-position: center;
    position: relative;
    /* margin: 0 1em; */
    /* display: flex; */
    /* flex-flow: column nowrap; */
    /* justify-content: center; */
}

.events-section:before {
    position: absolute;
    /* content: ''; */
    width: 107vw;
    left: 0;
    /* display: flex; */
    /* transform: translateX(-22%); */
    background-color: var(--pastel_blue);
    /* background-color: linear-gradient(to bottom, var(--pastel_blue), white); */
    height: 100%;
    transform: translateX(calc((min(1200px, 100vw) - 107vw) / 2)););););
    z-index: -1;
}

.events-section::before {
    /* content: ''; */
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    /* right: 0; */
    /* bottom: 0; */
    /* background-color: rgba(255, 255, 255, 0.9); */
}

.events-container {
    /* padding: 0 1rem; */
    position: relative;
    /* display: grid; */
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    /* gap: 2em; */
    align-items: baseline;
    columns: 22em;
    column-gap: 2em;
    /* counter-reset: grid; */
}

.events-title, .planters-title {
    /* color: var(--dark-green); */
    display: inline-flex;
    border-bottom: 1px solid var(--mustard-yellow);
    width: 100%;
}

.event-card {
    display: flex;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow);
    flex-flow: column wrap;
    padding: 1em;
    overflow: auto;
    /* min-height: 20em; */
}

.event-card+.event-card {
    margin-top: 1.5em;
}

.event-container {
    display: flex;
    flex-flow: row wrap;
    /* gap: 1em; */
    position: relative;
    width: 100%;
    align-items: center;
    justify-content: space-around;
}

.event-card h3 {
    margin-bottom: 0.5em;
    border-bottom: 1px solid gray;
}

.event-info {
    /* max-width: 30em; */
    align-self: baseline;
}

.event-info .event-location {
    display: flex;
    /* gap: 1em; */
    /* font-size: 0.9em; */
    flex-flow: row nowrap;
    /* width: 100%; */!;!0;!00;!0;!;
    justify-content: start;
    /* justify-items: center; */
    align-items: center;
    cursor: pointer;
    /* margin: 0 2em; */
    line-height: 1;
    /* margin-top: -0.2em; */
    color: var(--dark-green);
    /* font-weight: 600; */
}

.event-location:hover {
}

.event-location::before {
    /* content: "Where:"; */
    font-size: 1.4em;
    font-feature-settings: 'c2sc';
    font-weight: 600;
    align-self: baseline;
}

.event-info .event-description {}

.event-info .event-time {
    font-weight: 400;
    font-family: 'heliotrope';
    font-feature-settings: 'c2sc';
    font-size: 1.6em;
    line-height: 1;
    cursor: pointer;
    color: var(--complement_high);
    display: flex;
    margin-top: 0;
    /* align-self: self-start; */
    flex-flow: row nowrap;
    align-items: center;
    justify-content: start;
    margin-bottom: 0.5em;
}

.event-time:hover {
    color: var(--highlight_main);
}

p.event-time::before {
    /* content: ''; */
    margin-right: 0.2em;
    font-weight: 600;
    color: var(--black);
    /* cursor: default; */
}

.event-location a.gmap {
    word-wrap: normal;
    font-size: 1.3em;
    text-decoration: none;
    margin: 0px 0.3em;
    /* font-weight: 600; */
    /* font-family: 'concourse_sc'; */
    font-feature-settings: 'c2sc','ss01','ss02','ss03','ss04';
    /* line-height: 1; */
    /* margin-top: -0.1em; */
}

.event-location svg {
    /* width: 24em; */
    /* fill: blue; */
    /* height: 24em; */
    position: relative;
    display: block;
}

.event-location:hover svg path, .event-location:hover a {
    fill: blue;
    color:  blue;
}

.event-container .event-image {
    display: block;
    /* max-width: 20em; */
    height: auto;
    /* align-self: stretch; */
    /* min-height: 26em; */
    background: var(--img_url) no-repeat center center;
    background-size: cover;
    border-radius: 0.7em;
    flex: 1 1 50%;
    transition: all 0.3s ease;
    /* position: relative; */
    /* align-self: stretch; */
    /* justify-self: stretch; */
}

.event-icon {
    width: 50px;
    height: 50px;
    margin-right: 1.5rem;
    fill: var(--light-green);
}

.event-card h3 {
    color: var(--dark-green);
    margin-top: 0;
    width: 100%;
}

@media (max-width: 800px) {
    .event-card {
        flex-direction: column;
        align-items: center;
        /* text-align: center; */
    }

    .event-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}