.bg-event-detail {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 20px;
}

.brd-title {
    border-bottom: 1px solid #000;
    padding-bottom: 20px;
    padding-top: 20px;
    margin-top: 50px;
}

.main-content {
    background-color: #f0f0f0;
    position: relative;
    top: -70px;
}

.separator {
    border-left: 2px solid #00000079;
    height: 30px;
    margin: 0 20px;
}

.d-flex {
    display: flex;
    gap: 2px;
}

.home-icon {
    width: 24px;
    height: auto;
}

.me-3 {
    margin-right: 8px;
}

@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
        height: auto;
    }

    .home-icon {
        width: 70px;

    }

    .event-info {
        padding: 10px;
    }

    .event-title {
        font-size: 2rem;
    }

    .event-location,
    .event-date {
        font-size: 0.85rem;
    }
}

.event-card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 20px;
}

.event-card-content {
    display: flex;
    flex-direction: column;
    font-family: 'Arial', sans-serif !important;
}

.event-image {
    position: relative;
    overflow: hidden;
    height: 180px;
    background-color: #f4f4f4;
}

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

.event-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.event-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    margin-bottom: 10px;
}

.event-location,
.event-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 5px;
    display: inline-masonry;
    align-items: center;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
}

.event-location svg,
.event-date svg {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.event-date {
    color: #666;
    margin-bottom: 10px;
}


.eventPoster {
    position: relative;
    width: 100%;
    height: 250px;
}

.eventPoster .second {
    position: absolute;
    top: 10%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 1;
    width: 30px;
    height: 30px;
}

.eventPoster img.first {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
}

.eventPoster .top-left-container {
    position: absolute;
    top: 10%;
    left: 5%;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.eventPoster .type-name {
    color: white;
    font-size: 16px;
    font-weight: bold;
    position: relative;
    top: -30px;
    left: 45px;
    color: #801154;
    font-weight: bold;
}

.eventPoster .title {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    z-index: 2;
    line-height: normal;
}

.bg-event-detail {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 20px;
}

.brd-title {
    border-bottom: 1px solid #000;
    padding-bottom: 20px;
    padding-top: 20px;
    margin-top: 50px;
}

.main-content {
    background-color: #f0f0f0;
    position: relative;
    top: -70px;
}

.separator {
    border-left: 2px solid #00000079;
    height: 30px;
    margin: 0 20px;
}

.d-flex {
    display: flex;
    gap: 2px;
}



.me-3 {
    margin-right: 8px;
}

.arrow-separator {
    color: #6d6d6d;
    font-size: 16px;
    font-weight: bold;
}

.detail-content-img-rw {
    position: relative;
    top: -50px;
    padding-left: 40px;
    padding-right: 20px;
}

.img-container {
    width: 250px;
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
    background: white;
    justify-content: center;
    align-items: center;
    display: flex;
}

.detail-container {
    padding: 20px;
    background: white;
    border-radius: 20px;
}

.img-container img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 20px;

}

.content-container {
    padding: 20px;
    background: #f1f1f1;
    border-radius: 20px;
    margin-top: 20px;
}

.location-container .d-flex a {
    text-decoration: none;
    color: inherit;
    gap: 5px;
    display: flex;
    align-items: center;
    background: #7946A3;
    padding: 5px;
    border-radius: 20px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.location-container img {
    width: 20px;
    height: 20px;
}

.location-container p {
    margin: 0;
}


@media (max-width: 768px) {
    .eventPoster {
        height: 200px;
    }

    .type-name {
        font-size: normal !important;
    }

    .eventPoster img.first {
        height: 200px;
    }

    .eventPoster .title {
        font-size: 18px;
    }

    .detail-content-img-rw {
        padding-left: 20px;
        padding-right: 20px;
        flex-direction: column;
    }

    .img-container {
        width: 200px;
        height: 200px;
        margin-bottom: 20px;
    }

    .detail-container {
        padding: 15px;
    }

    .content-container {
        padding: 15px;
    }

    .location-container .d-flex a {
        font-size: 14px;
        padding: 3px 10px;
        gap: 3px;
    }

    .location-container img {
        width: 16px;
        height: 16px;
    }

    .location-container p {
        font-size: 12px;

    }
}

@media (max-width: 480px) {
    .eventPoster {
        height: 150px;
    }

    .type-name {
        font-size: medium !important;
    }

    .eventPoster img.first {
        height: 150px;
    }

    .eventPoster .title {
        font-size: 15px !important;
    }

    .detail-content-img-rw {
        padding-left: 10px;
        padding-right: 10px;
        flex-direction: column;
    }

    .img-container {
        width: 150px;
        height: 150px;
        margin-bottom: 10px;
    }

    .detail-container {
        padding: 10px;
    }

    .content-container {
        padding: 10px;
    }

    .location-container .d-flex a {
        font-size: 12px;
        padding: 2px 8px;
    }

    .location-container img {
        width: 14px;
        height: 14px;
    }
}


.btn-purple {
    background-color: #801154;
    color: white;
    transition: all 0.3s;
}

.btn-purple:hover {
    background-color: #6a0d46;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(128, 17, 84, 0.2);
}

.bg-light-purple {
    background-color: rgba(128, 17, 84, 0.1);
}

.bg-purple-light {
    background-color: rgba(128, 17, 84, 0.08);
}

.text-purple {
    color: #801154 !important;
}

.icon-circle {
    border-radius: 50%;
}

