/* ==========================================================
   EGYHÁZTÖRTÉNETI SZEMLE - VÉGLEGES, JAVÍTOTT CSS
   ========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=PT+Sans:wght@400;700&display=swap');

:root {
    --sz-red: #882222;
    --sz-red-dark: #5a1212;
    --sz-gold: #c5a059;
    --sz-cream: #F8ECD2;
    --sz-radius: 6px;
    --sz-anim: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ALAPOK ÉS BETÖLTÉS */
body { font-family: 'PT Sans', sans-serif; background-color: #ffffff; color: #2c2c2c; margin: 0; animation: fadeIn 0.8s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* FEJLÉC ÉS MENÜ */
.pkp_structure_head { background-color: var(--sz-cream) !important; border-bottom: 4px solid var(--sz-gold); box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important; }
.pkp_navigation_primary a { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--sz-red) !important; text-transform: uppercase; transition: var(--sz-anim); }
.pkp_navigation_primary a:hover { color: var(--sz-gold) !important; background: rgba(136, 34, 34, 0.05); }

/* NAGYÍTOTT CÍMLAP */
.page_index_journal .current_issue_illustration { max-width: 400px; margin: 25px auto; display: block; text-align: center; }
.page_index_journal .current_issue_illustration img { 
    width: 100%; border-radius: var(--sz-radius); border: 3px solid var(--sz-red); 
    padding: 5px; background: var(--sz-gold); box-shadow: 0 10px 30px rgba(0,0,0,0.3) !important; 
    transition: var(--sz-anim); 
}

/* CIKKEK ÉS GOMBOK */
.obj_article_summary { 
    padding: 25px; margin-bottom: 25px; border-radius: var(--sz-radius); border: 1px solid #eee; background: #fff;
    box-shadow: 0 4px 12px rgba(136, 34, 34, 0.15) !important; transition: var(--sz-anim);
}
.obj_article_summary:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(136, 34, 34, 0.25) !important; border-color: var(--sz-gold); }

.obj_galley_link { 
    background: var(--sz-red) !important; color: #fff !important; border: 1px solid var(--sz-gold); 
    border-radius: var(--sz-radius) !important; font-weight: 700; padding: 10px 20px; 
    display: inline-block !important; margin-right: 12px !important; transition: var(--sz-anim) !important;
}

/* ==========================================================
   LÁBLÉC - MAXIMÁLIS SZÍN-KÉNYSZERÍTÉS (FEHÉR-ARANY)
   ========================================================== */
.pkp_structure_footer_wrapper { 
    background-color: var(--sz-red-dark) !important; 
    border-top: 6px solid var(--sz-gold) !important; 
    width: 100% !important; margin: 0 !important; 
}

/* Sima szövegek: fehér */
.pkp_structure_footer, .pkp_structure_footer p, .pkp_structure_footer span, 
.pkp_structure_footer div, .pkp_structure_footer li, .pkp_brand_description { 
    color: #ffffff !important; 
}

/* Linkek: arany */
.pkp_structure_footer a, .pkp_structure_footer a:visited, 
.pkp_brand_footer a, .pkp_footer_content a { 
    color: var(--sz-gold) !important; 
    text-decoration: none !important; 
    font-weight: 600 !important;
}

.pkp_structure_footer a:hover { color: #ffffff !important; text-decoration: underline !important; }

/* OJS Logó fehérítése */
.pkp_brand_footer img { filter: invert(1) brightness(2) !important; opacity: 0.7 !important; }

/* MOBIL FIX */
@media (max-width: 768px) {
    .page_index_journal .current_issue_illustration { max-width: 280px; }
    .obj_galley_link { display: block !important; text-align: center; margin-right: 0 !important; }
}
