/* Események megjelenítő shortcode stílusok */

.custom-events-container {
    display: flex;
    flex-direction: column;
    gap: 62px;
        font-family: "Open Sans", Sans-serif;
}



.custom-event-item {
    display: flex;
    gap: 30px;
}


.event-image {
    flex: 0 0 40%;
    max-width: 180px;
    position: relative;
    overflow: hidden;
    height: 100px;
        border: 1px solid #736A65;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.custom-event-item:hover .event-image img {
    transform: scale(1.05);
}

.event-no-image {
    width: 100%;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: rgba(255, 255, 255, 0.7);
}

.event-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-date {
    margin-bottom: 13px;
}

.event-date p {
    margin: 0;
    display: inline-block;
    color: #4D6472;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    border-bottom: 1px solid #4D6472;
        width: 173px;
}

.event-title {
    color: #47342D;
    margin: 0 0 20px 0;
    transition: color 0.3s ease;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    margin-bottom: 8px;
}

.custom-event-item:hover .event-title {
    color: #B8332E;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
    color: #8EA4BD;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
     
}

.event-link:hover {
    gap: 5px;
}

.event-link svg {
    transition: transform 0.3s ease;
        fill: #8EA4BD;
           margin-bottom: -3px;
}

.event-link:hover svg {
    transform: translateX(10px);
}

/* Reszponzív beállítások */
@media (max-width: 768px) {
    .custom-event-item {
        flex-direction: column;
        gap: 0;
    }
    
    .event-image {
        flex: 0 0 auto;
        max-width: 100%;
        min-height: 250px;
    }
    
    .event-no-image {
        min-height: 250px;
    }
    
    .event-info {
        padding: 20px;
    }
    
    .event-title {
        font-size: 24px;
    }
    
    .event-date p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .custom-events-container {
        gap: 20px;
    }
    
    .event-image {
        min-height: 200px;
    }
    
    .event-no-image {
        min-height: 200px;
    }
    
    .event-info {
        padding: 15px;
    }
    
    .event-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .event-link {
        font-size: 14px;
    }
}
