/* Events Section Styling - Modern Backdrop Style */
.events-section {
    background-color: #ffffff;
    padding: 80px 0;
    position: relative;
}

.events-header-container {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 50px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
}

.events-main-title {
    font-family: 'Crimson Pro', serif;
    font-size: 2.2rem;
    color: #800000;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.events-subtitle {
    font-family: 'Outfit', sans-serif;
    color: #666;
    font-size: 1rem;
    font-weight: 400;
}

/* Provided Card Styles */
.event-card {
    overflow: visible;
    /* Changed from hidden to allow backdrop to show */
    max-width: 360px;
    border-radius: 8px;
    position: relative;
    background: transparent;
    transition: all 0.3s ease;
}

.event-card-image-link {
    position: relative;
    display: block;
    overflow: visible;
    padding: 10px;
    z-index: 2;
}

.event-card-image {
    position: relative;
    object-fit: cover;
    width: 100%;
    min-height: 210px;
    max-height: 210px;
    z-index: 2;
    border-radius: 4px;
}

.event-card-backdrop {
    width: 88.3%;
    height: 235px;
    background: #ded5c3;
    position: absolute;
    top: -5px;
    left: 21.65px;
    transform: rotate(-178.76deg);
    z-index: 1;
    outline: 1px solid transparent;
}

.event-card-content {
    padding: .25rem .1rem;
    position: relative;
    z-index: 3;
}

.event-wisdom-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #28231e;
    height: 55px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 600;
}

.event-card-description-wrapper {
    margin-bottom: 1.25rem;
}

.event-card-description p {
    text-wrap: balance;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-link {
    display: inline-block;
    padding: .5rem 1.5rem;
    font-size: .9rem;
    border: 1px solid #cf4824;
    border-radius: 4px;
    color: #cf4824;
    transition: all .3s ease;
    text-decoration: none;
    font-weight: 600;
}

.read-more-link:hover {
    background: #cf4824;
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-2px);
}

.event-date {
    font-size: .9rem;
    font-family: 'Outfit', sans-serif;
    color: #666;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.event-date i {
    color: #cf4824;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .event-card {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .event-card-image {
        height: 180px;
    }

    .event-wisdom-card-title {
        font-size: 1.25rem;
    }

    .event-card-description p {
        font-size: .9rem;
    }
}