/* Bejegyzések megjelenítő shortcode stílusok */

.custom-posts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
        font-family: "Open Sans", Sans-serif;
}

.custom-post-item {
    position: relative;
    overflow: hidden;
    border: 2px solid #BFB2AA;
}


.custom-post-item .post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-featured-image {
    width: 100%;
    height: 224px;
        overflow: hidden;
}

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

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

.post-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.no-image-placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.post-content {
    padding: 5px 10px 18px 10px;
}

.post-date {
    color: #736A65;
    margin-bottom: 10px;
    text-transform: capitalize;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
}

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

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

/* Reszponzív beállítások */
@media (max-width: 1200px) {
    .custom-posts-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .custom-posts-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .post-title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .custom-posts-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-content {
        padding: 15px;
    }
}
