.events-page {
    padding-bottom: 60px;
}

/* HERO */
.events-hero {
    padding: 80px 0;
}

.events-hero__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.events-hero__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.events-hero__eyebrow {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sg-accent-primary);
}

.events-hero__title {
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.1;
}

.events-hero__text {
    font-size: 16px;
    max-width: 520px;
}

.events-hero__media img {
    width: 100%;
    border-radius: 28px;
    object-fit: cover;
}

/* FILTER */
.events-filter {
    padding: 40px 0;
}

.events-filter__box {
    padding: 24px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(245,245,245,0.9));
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.events-filter__form {
    display: grid;
    grid-template-columns: 1fr 200px 200px auto;
    gap: 12px;
}

.events-filter input,
.events-filter select {
    min-height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.1);
    background: #fff;
}

/* NEAREST */
.events-nearest {
    padding: 60px 0;
}

.events-nearest__grid { 
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* LIST */
.events-list {
    padding: 40px 0;
}

.events-list__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
		margin: 20px 0;
}

.events-list__more {
    margin-top: 40px;
    text-align: center;
}

/* CARD */
.event-card {
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px rgba(0,0,0,0.12);
}

/* IMAGE */
.event-card__media {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.event-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ICON */
.event-card__icon {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;
    font-size: 18px;
}

/* BODY */
.event-card__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* TITLE */
.event-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--sg-text-headline);
}

/* DATE */
.event-card__date {
    font-size: 13px;
    color: var(--sg-text-subheadline);
}


/* ADAPTIVE */
@media (max-width: 1024px) {
    section {
        min-height: unset;
    }
}

@media (max-width: 1100px) {
    .events-nearest__grid,
    .events-list__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .events-filter__form {
        grid-template-columns: 1fr 1fr;
    }
}



@media (max-width: 720px) {
    .events-hero__inner {
        grid-template-columns: 1fr;
    }

    .events-nearest__grid,
    .events-list__grid {
        grid-template-columns: 1fr;
    }
}

/* FEATURED GRID */
.events-nearest__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
		margin: 20px 0;
}

/* FEATURED CARD */
.event-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 32px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff, #f6f8fb);
    box-shadow: 0 24px 50px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.event-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 70px rgba(0,0,0,0.18);
}

/* IMAGE */
.event-featured__media {
    height: 100%;
}

.event-featured__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTENT */
.event-featured__content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* TOP */
.event-featured__top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.event-featured__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--sg-accent-primary);
    color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* DATE */
.event-featured__date {
    font-size: 14px;
    color: var(--sg-text-subheadline);
}

/* TITLE */
.event-featured__title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.3;
}

@media (max-width: 720px) {

    .events-nearest__grid {
        grid-template-columns: 1fr;
    }

    .event-featured {
        display: block;
        position: relative;
        height: 260px;
    }

    .event-featured__media,
    .event-featured__media img {
        height: 100%;
    }

    .event-featured__content {
        position: absolute;
        inset: 0;
        padding: 18px;
        color: #fff;
        background: linear-gradient(
            180deg,
            rgba(0,0,0,0.2),
            rgba(0,0,0,0.7)
        );
    }

    .event-featured__date {
        color: rgba(255,255,255,0.8);
    }

    .event-featured__title {
        color: #fff;
    }

    .event-featured__icon {
        background: rgba(255,255,255,0.2);
    }
}

/* EVENT DETAIL */
.event-detail {
    padding: 60px 0;
}

.event-detail__hero {
    height: 360px;
    border-radius: 32px;
    overflow: hidden;
    margin-bottom: 40px;
    position: relative;
}

.event-detail__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* GRID */
.event-detail__grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 40px;
}

/* CONTENT */
.event-detail__title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 16px;
}
 
.event-detail__meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--sg-text-subheadline);
}

.event-detail__text {
    line-height: 1.6;
}

/* SIDEBAR */
.event-detail__card {
    padding: 20px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);

    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-detail__card-row {
    font-size: 14px;
}

/* CATEGORY */
.event-detail__category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-weight: 600;
    color: var(--sg-accent-primary);
}

/* META */
.event-meta__item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta__date {
    color: var(--sg-accent-primary);
    font-weight: 600;
}

.event-meta__address {
    color: var(--sg-text-subheadline);
}

/* SIDEBAR ICONS */
.event-detail__card-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* PRICE */
.event-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--sg-accent-primary);
    margin-top: 6px;
}

/* LINKS */
.event-link {
    display: block;
    padding: 10px 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    text-decoration: none;
}

.event-link--main {
    background: rgba(0,0,0,0.05);
    color: var(--sg-text-headline);
}

.event-link--accent {
    background: var(--sg-accent-primary);
    color: #fff;
}

/* MOBILE */
@media (max-width: 900px) {
    .event-detail__grid {
        grid-template-columns: 1fr;
    }

    .event-detail__hero {
        height: 240px;
    }
	.event-detail__title {
			font-size: 26px; 
			overflow-wrap: anywhere;
	}
}

/* MAP */
.event-map {
    margin-top: 20px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

#eventMap {
    width: 100%;
    height: 260px;
}

/* MOBILE */
@media (max-width: 900px) {
    #eventMap {
        height: 220px;
    }
}


