/* Magazin Referenciak Grid Stílusok */
.magazin-grid-container {
    width: 100%;
}

.magazin-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1200px;
}

.magazin-item {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.magazin-item:hover  {
    transform: scale(1.03);
}


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

.magazin-item-image {
    width: 100%;
    height: 455px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

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



.magazin-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-image-placeholder {
    width: 80px;
    height: 80px;
    background: #e0e0e0;
    border-radius: 50%;
}

.magazin-item-title {
    padding: 15px 0px;
}

.magazin-item-title h3 {
    margin: 0;
    transition: color 0.3s ease;
    font-family: "Montserrat", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0.08px;
    color: #1D1D1D;
}

.magazin-item:hover .magazin-item-title h3 {
      color: #1D1D1D;
}

.magazin-no-posts {
    text-align: center;
    padding: 60px 20px;
}

.magazin-no-posts p {
    font-size: 18px;
    color: #666;
}

/* Tablet nézet */
@media (max-width: 992px) {
    .magazin-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .magazin-item-image {
        height: 220px;
    }
}

/* Mobil nézet */
@media (max-width: 768px) {
    .magazin-grid-container {
        padding: 30px 15px;
    }
    
    .magazin-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .magazin-item-image {
        height: auto;
    }
    
    .magazin-item-title h3 {
        font-size: 16px;
    }
}
