/* ============================================================
   ALAPVETŐ BEÁLLÍTÁSOK
   ============================================================ */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { background-color: #f4f7f6; margin: 0; padding: 0; font-family: sans-serif; color: #333; }

.main-wrapper { max-width: 1400px; margin: 20px auto; padding: 0 15px; }
.main-layout { display: flex; gap: 25px; align-items: flex-start; }

/* ASZTALI OSZLOP SZÉLESSÉGEK */
.sidebar-left { flex: 0 0 330px; }  
.sidebar-right { flex: 0 0 280px; } 
.main-content-area { flex: 1; min-width: 0; } 

/* ============================================================
   KÖZÉPSŐ FŐ KONTÉNER (Üdvözlés + Szolgáltatások)
   ============================================================ */
.white-container-box {
    background: #ffffff; 
    padding: 30px; 
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    width: 100%;
    border: 1px solid #eee;
    margin-bottom: 20px;
}

/* ============================================================
   HÍREK ÉS SZAVAZÁS KÁRTYÁK (EGYSÉGES KÉK CSÍKKAL)
   ============================================================ */
.news-container-box, .poll-container-box {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    border: none !important;
}

.news-container-box h3, .poll-container-box h3 {
    margin: 10px 0 15px 5px;
    color: #333;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* A KÁRTYA STÍLUS */
.sidebar-news-item, 
.poll-container-box .poll-content {
    background: #ffffff !important;
    border: 1px solid #f0f0f0 !important;
    border-left: 6px solid #007BFF !important; 
    border-radius: 15px !important;
    padding: 20px !important;
    margin-bottom: 18px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    text-align: left !important;
}

/* ============================================================
   SZAVAZÁS SPECIFIKUS ELEMEK (Gombok és Sávok)
   ============================================================ */
.poll-question {
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
    font-size: 0.95rem;
}

/* Szavazó gombok stílusa */
.btn-poll-option {
    width: 100%;
    padding: 12px;
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    display: block;
    color: #333;
}

.btn-poll-option:hover {
    background: #f0f7ff;
    border-color: #007BFF;
}

/* Eredményjelző sávok */
.poll-result-item { margin-bottom: 15px; }

.poll-result-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.poll-progress-bg {
    background: #eee;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.poll-progress-fill {
    height: 100%;
    border-radius: 5px;
    transition: width 1s ease-in-out;
}

.poll-thanks {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

/* ============================================================
   BŐVEBBEN... (TISZTA LINK)
   ============================================================ */
.btn-read-more {
    background: none !important;
    border: none !important;
    color: #007BFF !important;
    padding: 0 !important;
    font-weight: bold !important;
    text-decoration: underline !important;
    cursor: pointer;
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 10px;
}

/* ============================================================
   SZOLGÁLTATÁSOK ÉS RESPONSIVE
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.service-card {
    background: #fdfdfd; border: 1px solid #f0f0f0; padding: 20px;
    border-radius: 12px; border-left: 5px solid #007BFF;
}

@media (max-width: 1024px) {
    .main-layout { flex-direction: column; }
    .sidebar-left, .main-content-area, .sidebar-right { width: 100%; flex: none; }
    .main-content-area { order: 1; }
    .sidebar-left { order: 2; margin-top: 25px; }
    .sidebar-right { order: 3; margin-top: 25px; display: block !important; }
    .services-grid { grid-template-columns: 1fr; }
}
