/**
 * EMA Events — front-end styles.
 * 1:1 with the .events section from the EMA Catering home page.
 */

.ema-events{
    padding: 130px 32px;
    background: #F5EFD9;
}

.ema-events-inner{
    max-width: 1440px;
    margin: 0 auto;
}

/* ===== Header ===== */
.ema-events-head{
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 60px;
}

.ema-events-eyebrow{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #A01428;
    margin-bottom: 24px;
}
.ema-events-eyebrow::before{
    content: "";
    width: 32px;
    height: 2px;
    background: #A01428;
    flex-shrink: 0;
}

.ema-events-h{
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 800;
    font-size: clamp(48px, 6.5vw, 100px);
    line-height: .95;
    letter-spacing: -0.04em;
    color: #12110F;
    margin: 0;
}
.ema-events-h .l1{ color: #12110F; }
.ema-events-h .l2{
    font-style: italic;
    font-weight: 400;
    color: #A01428;
}

/* Info card */
.ema-events-meta{
    background: #12110F;
    color: #F5EFD9;
    padding: 20px 24px;
    border-radius: 14px;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    align-self: end;
}
.ema-events-meta strong{
    color: #C2A862;
    font-weight: 800;
}
.ema-events-meta .l{
    display: block;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #C2A862;
    margin-bottom: 6px;
}

/* ===== Grid ===== */
.ema-events-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ===== Card ===== */
.ema-ev{
    border: 3px solid #12110F;
    border-radius: 14px;
    overflow: hidden;
    background: #F5EFD9;
    transition: transform .3s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.ema-ev:hover{ transform: translateY(-6px); }

.ema-ev-img{
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.ema-ev-content{
    padding: 24px 26px 28px;
    border-top: 3px solid #12110F;
    background: #F5EFD9;
}

.ema-ev-tag{
    display: inline-block;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 14px;
    color: #A01428;
    margin-bottom: 8px;
}

.ema-ev h4{
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 800;
    font-size: 32px;
    line-height: 1;
    letter-spacing: -0.025em;
    margin: 0 0 14px 0;
    color: #12110F;
}

.ema-ev .where{
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #12110F;
    opacity: .65;
    margin-bottom: 14px;
}

.ema-ev p{
    font-size: 14.5px;
    line-height: 1.55;
    color: #12110F;
    opacity: .85;
    margin: 0;
	font-family: 'Oswald', 'Arial Narrow', sans-serif;
}

/* ===== Bottom CTA ===== */
.ema-events-cta{
    margin-top: 50px;
    text-align: center;
}
.ema-events-cta a{
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 600;
    font-style: italic;
    font-size: 24px;
    color: #12110F;
    border-bottom: 2px solid #12110F;
    padding-bottom: 6px;
    text-decoration: none;
    transition: gap .25s, color .25s, border-bottom-color .25s;
    line-height: 1.2;
}
.ema-events-cta a:hover{
    gap: 24px;
    color: #A01428;
    border-bottom-color: #A01428;
}

/* ===== Responsive ===== */
@media (max-width: 1100px){
    .ema-events{ padding: 90px 24px; }
    .ema-events-head{
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 50px;
    }
    .ema-events-grid{ grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 780px){
    .ema-events{ padding: 60px 16px; }
    .ema-events-head{ gap: 18px; }
    .ema-events-meta{ font-size: 15px; padding: 16px 18px; }
    .ema-events-meta .l{ font-size: 10px; letter-spacing: .14em; }
    .ema-ev .ema-ev-img{ aspect-ratio: 16/10; }
    .ema-ev-content{ padding: 20px 22px 24px; }
    .ema-ev h4{ font-size: 26px; }
    .ema-ev p{ font-size: 13.5px; }
    /*.ema-events-cta a{ font-size: 18px; gap: 10px; }*/
    .ema-events-cta a:hover{ gap: 16px; }
}

@media (prefers-reduced-motion: reduce){
    .ema-ev, .ema-events-cta a{
        transition: none !important;
    }
    .ema-ev:hover{ transform: none !important; }
}
