/* ============= ---- Transitions ---- ================ */
li.event {
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

/* ============= ---- Generic Styles ---- ================ */
section#events-intro.section-initial {
    margin: 80px 0;
}

.section-events-intro .container-core {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.events-intro-content {
    max-width: 800px;
    width: 100%;
    margin-right: auto;
}

.events-intro-content p:last-child {
    margin-bottom: 0;
}

.section-events-archive .container-core {
    padding: 150px 0 0;
}

section#events-archive.section {
    margin: 0 0 150px;
}

.section-events-archive .container-core:before {
    width: 100%;
    height: 7px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    content: '';
    background-image: url(../icons/line.png);
    background-repeat: no-repeat;
    z-index: 3;
}

ul.events-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

li.event {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 40px;
}

li.event:hover {
    box-shadow: 6px 6px #d6d5d4;
}

article.event-content h2 {
    font-size: 26px;
    line-height: 36px;
}

ul.date-location {
    margin: 20px 0;
}

ul.date-location li {
    margin-bottom: 5px
}

ul.date-location li:last-child {
    margin-bottom: 0;
}

ul.date-location li i {
    width: 50px;
    height: 50px;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.section-share {
    text-align: center;
}

.section-share p {
    font-weight: 700;
}

ul.share li:first-child {
    margin-left: 0;
}


/* ======================= -------- 7.0  Media Queries -------- ========================== */
@media (max-width: 1050px) {
    .events-intro-content { max-width: 600px; }
}

@media (max-width: 850px) {
    .section-events-archive .container-core { padding: 80px 0 0; }
    section#events-archive.section { margin: 0 0 80px; }
    ul.events-list { gap: 20px; }
    .events-intro-content { max-width: 450px; }
}

@media (max-width: 750px) {
    ul.events-list { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
    section#events-intro.section-initial { margin: 60px 0; }
    .section-events-archive .container-core { padding: 60px 0 0; }
    section#events-archive.section { margin: 0 0 60px; }
    .events-intro-content { max-width: 100%; margin-bottom: 30px; }
}

@media (max-width: 450px) {
    li.event { padding: 30px; }
    ul.date-location li i { width: 40px; height: 40px; font-size: 16px; }
}