/* Modul 1 */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.indicators-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: #f4f4f9;
}

.indicators-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
}

.indicators-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.indicators-section .indicator-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 360px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s, border-left-color 0.3s;
    border-left: 4px solid transparent;
}

.indicators-section .indicator-item:hover {
    transform: translateY(-5px);
}

/* Dinamikus színes csíkok a kártyákhoz (17 kártya van, ciklikusan ismétlődnek a színek) */
.indicators-section .indicator-item.item-1 {
    border-left-color: #dc3545; /* Piros */
}
.indicators-section .indicator-item.item-1:hover {
    border-left-color: #ff4040;
}

.indicators-section .indicator-item.item-2 {
    border-left-color: #28a745; /* Zöld */
}
.indicators-section .indicator-item.item-2:hover {
    border-left-color: #2ecc71;
}

.indicators-section .indicator-item.item-3 {
    border-left-color: #0066cc; /* Kék */
}
.indicators-section .indicator-item.item-3:hover {
    border-left-color: #3399ff;
}

.indicators-section .indicator-item.item-4 {
    border-left-color: #ffc107; /* Sárga */
}
.indicators-section .indicator-item.item-4:hover {
    border-left-color: #ffd700;
}

.indicators-section .indicator-item.item-5 {
    border-left-color: #17a2b8; /* Türkiz */
}
.indicators-section .indicator-item.item-5:hover {
    border-left-color: #1abc9c;
}

.indicators-section .indicator-item.item-6 {
    border-left-color: #6f42c1; /* Lila */
}
.indicators-section .indicator-item.item-6:hover {
    border-left-color: #8e44ad;
}

.indicators-section .indicator-item.item-7 {
    border-left-color: #dc3545; /* Piros (ciklus újraindul) */
}
.indicators-section .indicator-item.item-7:hover {
    border-left-color: #ff4040;
}

.indicators-section .indicator-item.item-8 {
    border-left-color: #28a745; /* Zöld */
}
.indicators-section .indicator-item.item-8:hover {
    border-left-color: #2ecc71;
}

.indicators-section .indicator-item.item-9 {
    border-left-color: #0066cc; /* Kék */
}
.indicators-section .indicator-item.item-9:hover {
    border-left-color: #3399ff;
}

.indicators-section .indicator-item.item-10 {
    border-left-color: #ffc107; /* Sárga */
}
.indicators-section .indicator-item.item-10:hover {
    border-left-color: #ffd700;
}

.indicators-section .indicator-item.item-11 {
    border-left-color: #17a2b8; /* Türkiz */
}
.indicators-section .indicator-item.item-11:hover {
    border-left-color: #1abc9c;
}

.indicators-section .indicator-item.item-12 {
    border-left-color: #6f42c1; /* Lila */
}
.indicators-section .indicator-item.item-12:hover {
    border-left-color: #8e44ad;
}

.indicators-section .indicator-item.item-13 {
    border-left-color: #dc3545; /* Piros */
}
.indicators-section .indicator-item.item-13:hover {
    border-left-color: #ff4040;
}

.indicators-section .indicator-item.item-14 {
    border-left-color: #28a745; /* Zöld */
}
.indicators-section .indicator-item.item-14:hover {
    border-left-color: #2ecc71;
}

.indicators-section .indicator-item.item-15 {
    border-left-color: #0066cc; /* Kék */
}
.indicators-section .indicator-item.item-15:hover {
    border-left-color: #3399ff;
}

.indicators-section .indicator-item.item-16 {
    border-left-color: #ffc107; /* Sárga */
}
.indicators-section .indicator-item.item-16:hover {
    border-left-color: #ffd700;
}

.indicators-section .indicator-item.item-17 {
    border-left-color: #17a2b8; /* Türkiz */
}
.indicators-section .indicator-item.item-17:hover {
    border-left-color: #1abc9c;
}

.indicators-section .indicator-item .fa {
    font-size: 40px;
    color: #0066cc;
    transition: color 0.3s;
}

.indicators-section .indicator-item:hover .fa {
    color: #003366;
}

.indicators-section .indicator-text {
    flex: 1;
    text-align: left;
}

.indicators-section .indicator-text p {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.5;
    text-align: left;
}

.indicators-section .indicator-text ul {
    list-style: none;
    margin: 10px 0 0;
    padding-left: 10px;
    text-align: left;
}

.indicators-section .indicator-text ul li {
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
    position: relative;
    text-align: left;
}

.indicators-section .indicator-text ul li:before {
    content: "•";
    color: #0066cc;
    position: absolute;
    left: -10px;
}

.indicators-section .indicator-text .source {
    font-size: 12px;
    color: #0066cc;
    margin-top: 10px;
    display: block;
    text-align: left;
}

.indicators-section .indicator-text .source a {
    color: #0066cc;
    text-decoration: none;
}

.indicators-section .indicator-text .source a:hover {
    color: #003366;
}

@media (max-width: 768px) {
    .indicators-section .indicator-item {
        width: 100%;
    }
    .indicators-section h2 {
        font-size: 20px;
    }
    .indicators-section .indicator-item .fa {
        font-size: 36px;
    }
}

.finance-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    background-color: #f4f4f9;
}

.finance-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
    font-size: 24px;
}

.finance-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.indicator-item {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 260px;
    padding: 20px;
    transition: transform 0.3s, border-left-color 0.3s;
    border-left: 4px solid transparent;
}

.indicator-item:hover {
    transform: translateY(-5px);
}

/* Mutató-specifikus színes csíkok */
.indicator-item.infláció-éves-változás {
    border-left-color: #dc3545; /* Piros az inflációhoz */
}
.indicator-item.infláció-éves-változás:hover {
    border-left-color: #ff4040;
}

.indicator-item.munkanélküliségi-ráta {
    border-left-color: #0066cc; /* Kék a munkanélküliséghez */
}
.indicator-item.munkanélküliségi-ráta:hover {
    border-left-color: #3399ff;
}

.indicator-item.gdp-növekedés-éves {
    border-left-color: #ffc107; /* Sárga a GDP-hez */
}
.indicator-item.gdp-növekedés-éves:hover {
    border-left-color: #ffd700;
}

.indicator-item.bruttó-átlagkereset-havi {
    border-left-color: #28a745; /* Zöld a keresetekhez */
}
.indicator-item.bruttó-átlagkereset-havi:hover {
    border-left-color: #2ecc71;
}

.indicator-text {
    text-align: center;
    width: 100%;
}

.indicator-text p {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
    margin: 0;
    line-height: 1.5;
}

.indicator-text .label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.indicator-text .description {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
}

.chart-wrapper {
    width: 100%;
    height: 120px;
    margin: 10px 0;
}

.comparison-chart {
    width: 100%;
    height: 100%;
}

.finance-section .source {
    display: block;
    text-align: right;
    font-size: 12px;
    color: #0066cc;
    margin-top: 20px;
}

.finance-section .source a {
    color: #0066cc;
    text-decoration: none;
}

.finance-section .source a:hover {
    color: #003366;
}

@media (max-width: 768px) {
    .indicator-item {
        width: 100%;
    }
    .finance-section h2 {
        font-size: 20px;
    }
}









/* Dinamikus színes csíkok a kártyákhoz (15 kártya van, ciklikusan ismétlődnek a színek) */
.indicators-section .indicator-item.item-1 {
    border-left-color: #dc3545; /* Piros */
}
.indicators-section .indicator-item.item-1:hover {
    border-left-color: #ff4040;
}

.indicators-section .indicator-item.item-2 {
    border-left-color: #28a745; /* Zöld */
}
.indicators-section .indicator-item.item-2:hover {
    border-left-color: #2ecc71;
}

.indicators-section .indicator-item.item-3 {
    border-left-color: #0066cc; /* Kék */
}
.indicators-section .indicator-item.item-3:hover {
    border-left-color: #3399ff;
}

.indicators-section .indicator-item.item-4 {
    border-left-color: #ffc107; /* Sárga */
}
.indicators-section .indicator-item.item-4:hover {
    border-left-color: #ffd700;
}

.indicators-section .indicator-item.item-5 {
    border-left-color: #17a2b8; /* Türkiz */
}
.indicators-section .indicator-item.item-5:hover {
    border-left-color: #1abc9c;
}

.indicators-section .indicator-item.item-6 {
    border-left-color: #6f42c1; /* Lila */
}
.indicators-section .indicator-item.item-6:hover {
    border-left-color: #8e44ad;
}

.indicators-section .indicator-item.item-7 {
    border-left-color: #dc3545; /* Piros */
}
.indicators-section .indicator-item.item-7:hover {
    border-left-color: #ff4040;
}

.indicators-section .indicator-item.item-8 {
    border-left-color: #28a745; /* Zöld */
}
.indicators-section .indicator-item.item-8:hover {
    border-left-color: #2ecc71;
}

.indicators-section .indicator-item.item-9 {
    border-left-color: #0066cc; /* Kék */
}
.indicators-section .indicator-item.item-9:hover {
    border-left-color: #3399ff;
}

.indicators-section .indicator-item.item-10 {
    border-left-color: #ffc107; /* Sárga */
}
.indicators-section .indicator-item.item-10:hover {
    border-left-color: #ffd700;
}

.indicators-section .indicator-item.item-11 {
    border-left-color: #17a2b8; /* Türkiz */
}
.indicators-section .indicator-item.item-11:hover {
    border-left-color: #1abc9c;
}

.indicators-section .indicator-item.item-12 {
    border-left-color: #6f42c1; /* Lila */
}
.indicators-section .indicator-item.item-12:hover {
    border-left-color: #8e44ad;
}

.indicators-section .indicator-item.item-13 {
    border-left-color: #dc3545; /* Piros */
}
.indicators-section .indicator-item.item-13:hover {
    border-left-color: #ff4040;
}

.indicators-section .indicator-item.item-14 {
    border-left-color: #28a745; /* Zöld */
}
.indicators-section .indicator-item.item-14:hover {
    border-left-color: #2ecc71;
}

.indicators-section .indicator-item.item-15 {
    border-left-color: #0066cc; /* Kék */
}
.indicators-section .indicator-item.item-15:hover {
    border-left-color: #3399ff;
}

.indicators-section .indicator-item .fa {
    font-size: 40px;
    color: #0066cc;
    transition: color 0.3s;
}

.indicators-section .indicator-item:hover .fa {
    color: #003366;
}

.indicators-section .indicator-text {
    flex: 1;
    text-align: left;
}

.indicators-section .indicator-text p {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.5;
    text-align: left;
}

.indicators-section .indicator-text ul {
    list-style: none;
    margin: 10px 0 0;
    padding-left: 10px;
    text-align: left;
}

.indicators-section .indicator-text ul li {
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
    position: relative;
    text-align: left;
}

.indicators-section .indicator-text ul li:before {
    content: "•";
    color: #0066cc;
    position: absolute;
    left: -10px;
}

.indicators-section .indicator-text .source {
    font-size: 12px;
    color: #0066cc;
    margin-top: 10px;
    display: block;
    text-align: left;
}

.indicators-section .indicator-text .source a {
    color: #0066cc;
    text-decoration: none;
    font-size: 10px;
}

.indicators-section .indicator-text .source a:hover {
    color: #003366;
}

@media (max-width: 768px) {
    .indicators-section .indicator-item {
        width: 100%;
    }
    .indicators-section h2 {
        font-size: 20px;
    }
    .indicators-section .indicator-item .fa {
        font-size: 36px;
    }
}


/* Module 3: Életigazságok és egyenlőtlenségek */

.inequalities-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.inequalities-section .subtitle {
    font-size: 18px;
    font-weight: normal;
    color: #555;
    display: block;
    margin-top: 10px;
}

.inequalities-section .indicator-item {
    position: relative;
    overflow: hidden;
}

.inequalities-section .amount {
    font-size: 15px;
    font-weight: bold;
    color: #c00;
    margin: 10px 0;
}

.inequalities-section .comparison {
    margin: 15px 0;
}

.inequalities-section .stat-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.inequalities-section .stat-line .label {
    color: #555;
}

.inequalities-section .stat-line .value {
    font-weight: bold;
    color: #333;
}

.inequalities-section .your-share .value {
    font-size: 20px;
    color: #d32f2f;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff416c, #ff4757);
    border-radius: 10px;
    transition: width 1.2s ease-in-out;
}

/* Speciális színkategóriák a bal oldali csíkhoz */
.indicator-item.luxury { border-left-color: #9c27b0; }      /* Lila – luxus */
.indicator-item.luxury:hover { border-left-color: #ab47bc; }

.indicator-item.military { border-left-color: #f57c00; }     /* Narancs – katonai */
.indicator-item.military:hover { border-left-color: #ff9800; }

.indicator-item.billionaire { border-left-color: #d4af37; }  /* Arany – milliárdos */
.indicator-item.billionaire:hover { border-left-color: #ffd700; }

.indicator-item.corruption { border-left-color: #c62828; }   /* Sötétvörös – korrupció */
.indicator-item.corruption:hover { border-left-color: #e53935; }

.indicator-item.space { border-left-color: #1976d2; }        /* Kék – űr */
.indicator-item.space:hover { border-left-color: #2196f3; }

/* Animáció a progress bár betöltődésére */
.indicator-item .progress-fill {
    
}

.indicator-item:hover .progress-fill {
    width: calc(<?php echo min(100, $your_percentage > 100 ? 100 : $your_percentage); ?>% + 5%) !important; /* kis extra hover effekt */
}

/* Mobilon */
@media (max-width: 768px) {
    .inequalities-section h2 {
        font-size: 22px;
    }
    .inequalities-section .subtitle {
        font-size: 16px;
    }
    .inequalities-section .your-share .value {
        font-size: 18px;
    }
}
.pictogram {
    margin: 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
    font-size: 24px;
}

.person-icon {
    opacity: 0.6;
}

.person-icon.you {
    font-size: 36px;
    color: #d32f2f;
    opacity: 1;
}

.multiplier {
    font-size: 18px;
    font-weight: bold;
    color: #900;
    margin-left: 10px;
}

.your-share {
    margin-top: 15px;
    text-align: center;
    font-size: 16px;
}

.tiny-text {
    font-size: 12px;
    color: #777;
    display: block;
    margin-top: 5px;
}

/* Module 4: Vállalati óriások vs. Te */

.corporate-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
}

.corporate-section .subtitle {
    font-size: 18px;
    font-weight: normal;
    color: #555;
    display: block;
    margin-top: 10px;
}

.corporate-section .indicator-item {
    position: relative;
    overflow: hidden;
}

.corporate-section .amount {
    font-size: 15px;
    font-weight: bold;
    color: #c00;
    margin: 10px 0;
}

.corporate-section .comparison {
    margin: 15px 0;
}

.corporate-section .stat-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 14px;
}

.corporate-section .stat-line .label {
    color: #555;
}

.corporate-section .stat-line .value {
    font-weight: bold;
    color: #333;
}

.corporate-section .your-share .value {
    font-size: 20px;
    color: #d32f2f;
}

.corporate-section .analogy {
    font-style: italic;
    color: #777;
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}

/* Speciális színkategóriák */
.indicator-item.tech { border-left-color: #2196f3; }      /* Kék – tech */
.indicator-item.tech:hover { border-left-color: #0d47a1; }

.indicator-item.finance { border-left-color: #4caf50; }   /* Zöld – pénzügy */
.indicator-item.finance:hover { border-left-color: #388e3c; }

.indicator-item.health { border-left-color: #f44336; }    /* Piros – egészségügy */
.indicator-item.health:hover { border-left-color: #d32f2f; }

.indicator-item.retail { border-left-color: #ff9800; }    /* Narancs – kiskereskedelem */
.indicator-item.retail:hover { border-left-color: #f57c00; }

.indicator-item.energy { border-left-color: #795548; }    /* Barna – energia */
.indicator-item.energy:hover { border-left-color: #5d4037; }

.indicator-item.engineering { border-left-color: #607d8b; } /* Szürke – mérnöki */
.indicator-item.engineering:hover { border-left-color: #455a64; }

/* Mobilon */
@media (max-width: 768px) {
    .corporate-section h2 {
        font-size: 22px;
    }
    .corporate-section .subtitle {
        font-size: 16px;
    }
    .corporate-section .your-share .value {
        font-size: 18px;
    }
}