/**
 * Hírek és Dobozok - Stílusok
 * EGYEDI PREFIX: hirekdobozok
 */

/* ========================================
   1. FŐ KONTÉNER - 2 oszlopos elrendezés
   ======================================== */

.hirekdobozok-container {
    display: flex;
    gap: 40px;
    max-width: 1640px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   2. BAL OLDAL - Statikus dobozok
   ======================================== */

.hirekdobozok-left {
    flex: 0 0 60%;
    display: flex;
    flex-direction: row;
    gap: 30px;
}

.hirekdobozok-static-box {
    border: 1px solid #dbd8d5;
    flex: 1;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hirekdobozok-static-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        border: 1px solid transparent;
}

.hirekdobozok-static-image {
    width: 100%;
    height: 310px;
    overflow: hidden;
}

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

.hirekdobozok-static-box:hover .hirekdobozok-static-image img {
    transform: scale(1.05);
}

.hirekdobozok-static-content {
    padding: 25px;
}

.hirekdobozok-static-title {
    font-family: "proxima-nova", Sans-serif;
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 700;
    color: #1D2327;
    line-height: 1.3;
}

.hirekdobozok-static-text {
    font-family: "proxima-nova", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 15px 0;
    color: #5f5f5f;
}

.hirekdobozok-static-link {
    font-family: "proxima-nova", Sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ce2424;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hirekdobozok-static-link:hover {
    color: #ce2424;
}

/* ========================================
   3. JOBB OLDAL - Bejegyzések grid
   ======================================== */

.hirekdobozok-right {
    flex: 1;
}

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

.hirekdobozok-item {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #dbd8d5;
}

.hirekdobozok-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
        border: 1px solid transparent;
}

.hirekdobozok-item-title {
    font-family: "proxima-nova", Sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #1D2327;
    margin: 0px;
    line-height: 1.4;
}

.hirekdobozok-item-date {
    font-family: "proxima-nova", Sans-serif;
    font-size: 12px;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
    color: #5f5f5f;
}
.hirekdobozok-item-category {
    font-family: "proxima-nova", Sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #ce2424;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
    align-self: flex-start;
}

.hirekdobozok-item-excerpt {
    font-family: "proxima-nova", Sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 15px 0;
    flex-grow: 1;
    color: #5f5f5f;
}

.hirekdobozok-item-link {
    font-family: "proxima-nova", Sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #ce2424;
    text-decoration: none;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.hirekdobozok-item-link:hover {
    color: #ce2424;
}

/* További hírek gomb - alapból rejtett */
.hirekdobozok-more-btn-wrapper {
    display: none;
    text-align: center;
    margin-top: 20px;
}

.hirekdobozok-more-btn {
    display: inline-block;
    font-family: "proxima-nova", Sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #ce2424;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.hirekdobozok-more-btn:hover {
    background: #a51d1d;
}

/* ========================================
   4. RESPONSIVE
   ======================================== */

@media (max-width: 1450px) {
    .hirekdobozok-container {
        flex-direction: row;
                gap: 20px;
    }
    
 .hirekdobozok-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

    .hirekdobozok-item:nth-child(n+3) {
        display: none;
    }

    .hirekdobozok-more-btn-wrapper {
        display: block;
    }
}

@media (max-width: 992px) {
    .hirekdobozok-container {
        flex-direction: column;
    }
    
    .hirekdobozok-left {
        flex: none;
        flex-direction: row;
    }
    
    .hirekdobozok-static-box {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .hirekdobozok-container {
        padding: 20px 0px;
        gap: 25px;
    }
    
    .hirekdobozok-left {
        flex-direction: column;
    }
    
    .hirekdobozok-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hirekdobozok-item {
        padding: 20px;
    }
    
    .hirekdobozok-static-content {
        padding: 20px;
    }
}
