/* Simple Magazine Posts - Klasszikus Megjelenítés */

/* Fő konténer */
.simple-magazine-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Szekció címek */
.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3b82f6;
    color: #1f2937;
}

/* Kiemelt szekció (felső, 2 oszlop) */
.featured-posts-section {
    margin-bottom: 50px;
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Kiemelt bejegyzés elem */
.featured-post-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Kiemelt kép */
.featured-post-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

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

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

/* Kiemelt tartalom */
.featured-post-content {
    padding: 25px;
}

/* Kiemelt meta adatok */
.featured-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 13px;
    color: #6b7280;
}

.post-date {
    font-weight: 600;
    color: #3b82f6;
}

.post-separator {
    color: #d1d5db;
    font-weight: bold;
}

.post-category {
    color: #059669;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.post-category:hover {
    color: #047857;
}

/* Kiemelt cím */
.featured-post-title {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.featured-post-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-post-title a:hover {
    color: #3b82f6;
}

/* Kiemelt kivonat */
.featured-post-excerpt {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

/* Grid szekció (alsó, 3 oszlop) */


.grid-posts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Grid bejegyzés elem */
.grid-post-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Grid kép */
.grid-post-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

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

.grid-post-image:hover img {
    transform: scale(1.05);
}

/* Grid tartalom */
.grid-post-content {
    padding: 20px;
}

/* Grid meta adatok */
.grid-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #6b7280;
}

/* Grid cím */
.grid-post-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.grid-post-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s ease;
}

.grid-post-title a:hover {
    color: #3b82f6;
}

/* Grid kivonat */
.grid-post-excerpt {
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Tovább gomb (közös) */
.read-more-btn {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #3b82f6;
}

.read-more-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Tablet nézet */
@media (max-width: 1024px) {

    
    .featured-posts-grid {
        gap: 25px;
    }
    
    .grid-posts-container {
        gap: 20px;
    }
    
    .featured-post-image {
        height: 220px;
    }
    
    .grid-post-image {
        height: 160px;
    }
    
    .featured-post-title {
        font-size: 20px;
    }
    
    .grid-post-title {
        font-size: 17px;
    }
}

/* Mobil nézet */
@media (max-width: 768px) {
    .simple-magazine-container {
        padding: 10px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
    }
    
    .featured-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .grid-posts-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .featured-posts-section {
        margin-bottom: 40px;
    }
    
    .grid-posts-section {
        padding: 25px 20px;
    }
    
    .featured-post-content {
        padding: 20px;
    }
    
    .grid-post-content {
        padding: 15px;
    }
    
    .featured-post-image {
        height: 200px;
    }
    
    .grid-post-image {
        height: 140px;
    }
    
    .featured-post-title {
        font-size: 19px;
    }
    
    .grid-post-title {
        font-size: 16px;
    }
    
    .featured-post-excerpt {
        font-size: 14px;
    }
    
    .grid-post-excerpt {
        font-size: 13px;
    }
}

/* Kis mobil nézet */
@media (max-width: 480px) {
    .simple-magazine-container {
        padding: 5px;
    }
    
    .section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .grid-posts-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .grid-posts-section {
        padding: 20px 15px;
    }
    
    .featured-post-content {
        padding: 18px;
    }
    
    .grid-post-content {
        padding: 15px;
    }
    
    .featured-post-image {
        height: 180px;
    }
    
    .grid-post-image {
        height: 160px;
    }
    
    .featured-post-title {
        font-size: 18px;
    }
    
    .grid-post-title {
        font-size: 16px;
    }
    
    .read-more-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Extra kis mobil */
@media (max-width: 320px) {
    .featured-post-image {
        height: 160px;
    }
    
    .grid-post-image {
        height: 140px;
    }
    
    .featured-post-title {
        font-size: 17px;
    }
    
    .grid-post-title {
        font-size: 15px;
    }
    
    .featured-post-content,
    .grid-post-content {
        padding: 15px;
    }
}