﻿.events-search {
    background: var(--white);
    padding: 3rem 0 1.5rem;
}

.events-search__bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid var(--border-soft);
    border-radius: 9999px;
    padding: 0.9rem 1.4rem;
}

    .events-search__bar svg {
        width: 18px;
        height: 18px;
        stroke: var(--grey-light);
        fill: none;
        stroke-width: 2;
        flex-shrink: 0;
    }

    .events-search__bar input {
        flex: 1;
        border: none;
        outline: none;
        background: transparent;
        font-family: 'Inter', sans-serif;
        font-size: 0.95rem;
        color: var(--ink);
    }

        .events-search__bar input::placeholder {
            color: var(--grey-light);
        }

@media (min-width: 900px) {
    .events-search {
        padding: 3.5rem 0 2rem;
    }
}

/* ─── EVENTS LIST ─────────────────────────────────────────────── */
.events-list {
    background: var(--white);
    padding: 0 0 3rem;
}

.events-list__inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    border: 1px solid var(--border-soft);
    border-radius: 18px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}


.event-item__img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    width: 100%;
    max-height: 250px;
}

    .event-item__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.event-item__body {
    flex: 1;
    min-width: 0;
}

.event-item__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.event-item__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-soft);
    border-radius: 9999px;
    padding: 0.5rem;
    font-size: 0.75rem;
    color: #64748B;
}

    .event-item__tag svg {
        width: 13px;
        height: 13px;
        stroke: #64748B;
        fill: none;
        stroke-width: 2;
        flex-shrink: 0;
    }

.event-item__title {
    font-weight: 700;
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.event-item__desc {
    font-size: clamp(0.75rem, 3vw, 0.875rem);
    color: var(--ink-soft);
    margin-bottom: 0.85rem;
}

.event-item__location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: clamp(0.75rem, 3vw, 0.875rem);
    color: #64748B;
}

    .event-item__location svg {
        width: 15px;
        height: 15px;
        stroke: #64748B;
        fill: none;
        stroke-width: 1.8;
        flex-shrink: 0;
    }

.event-item__cta {
    flex-shrink: 0;
}


.events-list__show-more {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

@media (min-width: 1120px) {
    .event-item__img {
        width: 330px;
        aspect-ratio: 329/142;
        align-self: stretch;
    }

    .event-item {
        flex-direction: row;
        align-items: center;
        padding: 1rem;
    }

    .events-list {
        padding: 0 0 4rem;
    }

    .events-list__show-more {
        justify-content: flex-end;
        margin-top: 2.5rem;
    }
}


