/*hero section*/
.hero {
    grid-template-rows: repeat(2, min-content) 1fr;
    text-align: center;
}

.hero>*:not(.hero-image) {
    grid-column: 2/3;
    z-index: 1;
}

.hero-title {
    grid-row: 1/2;
    letter-spacing: 1px;
}

.hero-description {
    grid-row: 2/3;
    letter-spacing: 0.18px;
    color: rgba(var(--rgb-white), .8);
}

.hero-image {
    height: 404px;
    grid-column: 1/-1;
    grid-row: 1/-1;
    position: relative;
}

.hero-image>picture>img {
    width: 100%;
    height: 404px;
    object-fit: cover;
}

.hero-image:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(var(--rgb-black), .8);
}

@media (max-width: 767px) {
    .hero br {
        display: none;
    }

    br {
        display: none;
    }
}

/*hero section END*/

/*get in touch section*/
.get-in-touch {
    padding: 64px 20px;
    background-color: var(--grey);
    margin-bottom: 100px;
}
/*get in touch section END*/


/*events section*/
.events {
    background-color: var(--grey);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(368px, 1fr));
    justify-items: center;
    align-items: stretch;
    column-gap: 48px;
    row-gap: 30px;
}

.event-box {
    width: 356px;
    border-radius: 16px;
    background-color: #fff;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.event-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.event-name {
    line-height: 28px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-box .sign-up {
    margin-bottom: 12px;
    margin-top: 16px;
    width: 100%;
}

.event-box > *:not(.event-img) {
    padding: 0 20px;
}

.event-description {
    flex-grow: 1;
    margin-bottom: 20px !important;
}

.event-location {
    margin-top: auto;
    padding-top: 16px;
}

.event-img {
    border-radius: 12px;
    transition: transform 0.4s ease;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-box:hover .event-img {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .event-box {
        height: auto;
    }
}

@media (max-width: 450px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    .event-box {
        width: 100%;
    }
}
/*events section END*/