
/* EVENTS */
.featuredEvents {
    display: flex;
    gap: 16px;
    overflow-x: auto;

    scrollbar-width: none;
}

.featuredEvents::-webkit-scrollbar {
    display: none;
}

.featuredEventCard {
    position: relative;
    min-width: 320px;
    height: 220px;

    border-radius: 24px;
    overflow: hidden;
}

.eventImageWrapper {
    position: relative;
    width: 124px;
    min-width: 110px;
    flex-shrink: 0;
    border-radius: 16px 0 0 16px;
    overflow: hidden;
    align-self: stretch;
    
}

.eventImage {
    width: 100%;
    height: 100%; /* 🔥 NOW IT FILLS FULL CARD HEIGHT */
    object-fit: cover;

    display: block;
}

.featuredEventImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featuredEventTag {

}

.featuredInfo {
    position: absolute;
    bottom: 24px;
    left: 24px;
    color: white;
}

.featuredGradient {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.8),
            rgba(0,0,0,0)
        );
}

.featuredMeta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.upcomingEventCard {
    display: flex;
    align-items: center;

    background: white;
    border-radius: 24px;
    margin-bottom: 12px;
    overflow: hidden;
}

.eventCardContent {
    text-decoration: none;
    color: inherit;

    display: flex;
}

.eventDateCard {
    width: 64px;
    background: #F3F9FF;
    border-radius: 16px;

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

.eventDateBadge {
    position: absolute;
    top: 12px;
    left: 12px;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 4px 12px;
    border-radius: 10px;

    background: #f2f2f2;
    font-weight: 700;
    
}

.eventDateBadgeDate {
    font-size: 24px;
}

.iconSmall {
    width: 14px;
    height: 14px;
}

.eventHeaderLine h4 {
    margin: 0;
    font-size: 15px;
}

.eventMonth {
    color: #00696B;
    font-size: 12px;
    font-weight: 700;
}

.eventDay {
    font-size: 24px;
    font-weight: 700;
}
.eventAttendees {
    display: flex;
    align-items: center;
}

.eventAttendees img,
.extraAttendees {
    width: 28px;
    height: 28px;

    border-radius: 50%;
    border: 2px solid #65E3E6;

    margin-left: -8px;
}

.eventAttendees img:first-child {
    margin-left: 0;
}

.extraAttendees {
    background: #DDE8E8;

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

    font-size: 11px;
    font-weight: 700;
}

.eventsSeparator {
    text-align: center;
    color: #8A8F98;
    margin: 24px 0;
    font-size: 14px;
}

.createEventButton {
    position: fixed;

    bottom: 92px;
    right: 24px;

    width: 64px;
    height: 64px;

    border-radius: 50%;
    border: none;

    background: #D24E42;

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

    box-shadow:
        0 10px 30px rgba(0,0,0,0.15);

    z-index: 50;
}

.flexSpaceBetween {
    justify-content: space-between;
}

.eventPhotoUpload {
    position: relative;
    width: 100%;
    height: 220px;
    margin: 0 auto 24px auto;
}

.eventPhotoPreview {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: cover;

    border: 4px solid white;
    outline: 3px solid #65E3E6;
}

/* HERO */

.eventHero {
    position: relative;
    width: 100%;
    height: 280px;
}

.eventHeroImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eventHeroGradient {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.85),
            rgba(0,0,0,0)
        );
}

.eventHeroContent {
    position: absolute;

    left: 24px;
    right: 24px;
    bottom: 24px;
}

.eventHeroTitle {
    color: white;
    margin: 24px 0 0 0;
    font-size: 28px;
}

/* INFO CARDS */

.eventInfoCards {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.eventInfoCard {
    background: white;

    border-radius: 20px;

    padding: 16px;

    display: flex;
    align-items: center;
    gap: 16px;
}

.eventInfoIcon {
    width: 48px;
    height: 48px;

    border-radius: 16px;

    background: #F3F9FF;

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

    flex-shrink: 0;
}

.eventInfoCard h4 {
    margin: 0 0 4px 0;
}

.eventHostAvatar {
    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: 32px;
    border: solid 2px white;
    border: solid 3px #65E3E6;
}

/* ATTENDEES */

.eventAttendeesLarge {
    display: flex;
    align-items: center;
    margin-top: 16px;
}

.eventAttendeesLarge img,
.eventAttendeesLarge .extraAttendees {

    width: 48px;
    height: 48px;

    border-radius: 50%;
    border: 3px solid #65E3E6;

    margin-left: -12px;
}

.eventAttendeesLarge img:first-child {
    margin-left: 0;
}

/* MAP */

.mapCard {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    margin-top: 12px;
}

.mapPreview {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.mapCardInfo {
    padding: 16px;
}

.mapCardInfo h4 {
    margin: 0 0 6px 0;
}

.eventDetailTag {
    background-color: #E6FCFB;
    color: #0b3b3c;

    padding: 6px 10px;
    border-radius: 32px;

    font-size: 11px;
    font-weight: 600;

    white-space: nowrap;
}

.eventInfoLine {
    display: flex;
    align-items: center;
    gap: 6px;

    font-size: 13px;
    margin: 4px 0;
}

.eventInfoLine img {
    width: 14px;
    height: 14px;
}

.eventBottomRow {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 10px;
    gap: 12px;
}

.eventAttendeesBlock {
    display: flex;
    flex-direction: column;
}

.attendingLabel {
    font-size: 11px;
    color: #8A8F98;

    margin-bottom: 4px;
}

.eventAction {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 120px;
}

.eventFilters {
    display: flex;
    gap: 8px;

    overflow-x: auto;
    -webkit-overflow-scrolling: touch;

    padding: 4px 0 8px 0;

    scrollbar-width: none;
}

.eventFilters::-webkit-scrollbar {
    display: none;
}

.eventDetails {
    flex: 1;
    min-width: 0; /* 🔥 prevents text overflow */

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

.attendBtn {
    font-size: 14px;
    padding: 12px;
    border-radius: 8px;
}