/* --- KÖZÖS ALAPSTÍLUSOK --- */
.fh-card h4, .fh-h-text-cell h4, .fh-mag-title { 
    margin: 0 !important; 
    line-height: 1.3 !important; 
    padding: 0 !important; 
}

/* Címek: Piros, Félkövér, Hover: Fekete */
.fh-card h4 a, .fh-column-list li a, .fh-h-text-cell h4 a, .fh-h-text-cell-right h4 a, .fh-mag-list-side li a, .fh-mag-below-list li a { 
    text-decoration: none !important; 
    color: #d63638 !important; 
    font-weight: bold !important; 
    transition: color 0.2s ease;
}

.fh-card h4 a:hover, .fh-column-list li a:hover, .fh-h-text-cell h4 a:hover, .fh-mag-below-list li a:hover { 
    color: #000 !important; 
}

/* Képek lekerekítése a listákban */
.fh-img img, .fh-h-image-cell img, .fh-mag-img img { 
    border-radius: 8px !important; 
    object-fit: cover !important; 
}

/* --- CTA GOMB (TARTALOM MÖGÉ) --- */
.fh-cta-link {
    text-decoration: none !important;
    display: block !important;
    margin: 40px 0 !important;
    border: none !important;
}

.fh-cta-container {
    position: relative !important;
    width: 100% !important;
    height: 350px !important;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    display: block !important;
}

.fh-cta-overlay {
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 100%) !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    padding: 30px !important;
    text-align: left !important;
}

.fh-cta-label {
    display: inline-block !important;
    background: #d63638 !important;
    color: #fff !important;
    padding: 6px 15px !important;
    font-size: 28px !important; /* MEGNÖVELVE: Ugyanakkora mint a cím */
    text-transform: uppercase !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    margin-bottom: 15px !important;
    line-height: 1 !important;
}

.fh-cta-title {
    display: block !important;
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: bold !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8) !important;
}

/* Hover állapot: Ne változzon a szöveg színe */
.fh-cta-link:hover .fh-cta-title, .fh-cta-link:hover .fh-cta-label {
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .fh-cta-container { height: 250px !important; }
    .fh-cta-label { font-size: 20px !important; padding: 4px 10px !important; } /* Mobilon is szinkronban a címmel */
    .fh-cta-title { font-size: 20px !important; }
    .fh-cta-overlay { padding: 20px !important; }
    .fh-mag-list-wrapper, .fh-mag-list-below-wrapper { flex-direction: column; }
}

/* --- MAGAZIN ELRENDEZÉSEK --- */
.fh-mag-list-below-wrapper, .fh-mag-list-wrapper { margin: 25px 0 !important; width: 100% !important; }
.fh-mag-below-list ul, .fh-mag-list-side ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.fh-mag-below-list li, .fh-mag-list-side li { list-style-type: none !important; padding: 12px 0 !important; border-bottom: 1px solid #eee !important; margin: 0 !important; }
.fh-mag-below-list li::before, .fh-mag-list-side li::before { content: none !important; }

.fh-mag-card { position: relative !important; overflow: hidden !important; border-radius: 8px !important; height: 100% !important; min-height: 250px !important; }
.fh-mag-overlay {
    position: absolute !important;
    bottom: 0 !important; left: 0 !important; right: 0 !important;
    padding: 20px !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%) !important;
    color: #fff !important;
    z-index: 10 !important;
    text-align: left !important;
}

/* --- ADMIN UI ÉS EGYÉB --- */
.fh-switch { 
    position: relative !important; 
    display: inline-block !important; 
    width: 60px !important; 
    height: 30px !important; 
    vertical-align: middle !important;
}
.fh-switch input { opacity: 0 !important; width: 0 !important; height: 0 !important; position: absolute !important; }
.fh-slider { position: absolute !important; cursor: pointer !important; top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important; background-color: #ccc !important; transition: .4s !important; border-radius: 34px !important; }
.fh-slider:before { position: absolute !important; content: "" !important; height: 22px !important; width: 22px !important; left: 4px !important; bottom: 4px !important; background-color: white !important; transition: .4s !important; border-radius: 50% !important; }
.fh-switch input:checked + .fh-slider { background-color: #2271b1 !important; }
.fh-switch input:checked + .fh-slider:before { transform: translateX(30px) !important; }

.fh-badge { padding: 4px 10px; border-radius: 12px; font-size: 10px; font-weight: bold; text-transform: uppercase; color: white; }
.fh-badge-active { background-color: #46b450; }
.fh-badge-inactive { background-color: #999; }

.fh-layout-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important; gap: 20px !important; }
.fh-horizontal-wrapper { display: table !important; width: 100% !important; border-collapse: separate !important; border-spacing: 0 15px !important; }
.fh-h-text-cell, .fh-h-image-cell { display: table-cell !important; vertical-align: middle !important; border-bottom: 1px solid #eee !important; padding-bottom: 15px !important; }

.fh-settings-wrap { margin-top: 20px; }
.fh-settings-content .form-table th { width: 250px !important; font-weight: 600; padding: 25px 10px 25px 0; }