/* Wrapper */

.events-wrapper {
    width: 90%;
    margin: 40px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.page-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 30px;
    color: #008f3d;
}


/* Events List */

.events-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}


/* Horizontal Card */

.event-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}


/* Left Image */

.event-image {
    flex: 0 0 200px;
}

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


/* Right Content */

.event-details {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.event-title {
    font-size: 22px;
    margin-left: 15px;
    margin-bottom: 6px;
    color: #333;
}

.event-date {
    font-size: 14px;
    color: #555;
}

.event-description {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}


/* Buttons */

.event-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.readmore-btn,
.event-btn {
    text-decoration: none;
    margin-left: 10px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}

.readmore-btn {
    background: #008f3d;
    color: #fff;
}

.readmore-btn:hover {
    background: #00692d;
}

.event-btn {
    background: #f0f0f0;
    color: #333;
}

.event-btn:hover {
    background: #ddd;
}


/* Responsive */

@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
    }
    .event-image {
        width: 100%;
        flex: none;
    }
}
