* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

main h1 {
    font-size: 2rem;
    color: #f5f5f5;
    margin-bottom: 10px;
    margin-top: 10px;
}

hr {
    border: 0;
    height: 1px;
    background-color: var(--text-light);
    margin-bottom: 30px;
}

/* News cards container */
.hirek_container {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 25px;
}

/* Individual news card */
.hir_csempe {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}




.hir_csempe h2 {
    font-size: 1.3rem;
    margin: 15px 15px 5px;
    color: #2c3e50;
}

.datum {
    font-size: 0.9rem;
    color: var(--text-vszurke);
    margin: 0 15px 10px;
    font-weight: 500;
}

.kedvcsinalo {
    padding: 0 15px 20px;
    color: var(--text-secondary);
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hirek_container {
        grid-template-columns: 1fr;
    }
    
    header {
        flex-direction: column;
        text-align: center;
    }
    
    .gab_feher_bal, .gab_feher_jobb {
        height: 60px;
        margin: 10px 0;
    }
    
    .header-text h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 15px;
    }
    
    .hir_csempe {
        margin-bottom: 20px;
    }
}