/*
Theme Name: Magiczne Runy — Runy Żywe
Theme URI: https://magiczneruny.pl/
Author: Martin Novak / Ora et Ama
Author URI: https://magiczneruny.pl/
Description: Pełny klasyczny motyw WordPress dla portalu Magiczne Runy. Współpracuje z Magiczne Runy Core 5.2.0 i wyświetla autorskie karty runiczne dostarczane przez Core.
Version: 5.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: magiczne-runy-theme
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-menu, blog, featured-images, translation-ready
*/
:root{--mrt-ink:#192f30;--mrt-forest:#183934;--mrt-gold:#b49155;--mrt-paper:#f8f5ec;--mrt-muted:#5c6e68}
html{scroll-behavior:smooth}body{margin:0;background:var(--mrt-paper);color:var(--mrt-ink);font:16px/1.7 system-ui,-apple-system,'Segoe UI',sans-serif}*,*:before,*:after{box-sizing:border-box}
body:not(.mrk-visual-page) a{color:#27615a}body:not(.mrk-visual-page) a:focus-visible,body:not(.mrk-visual-page) button:focus-visible{outline:3px solid var(--mrt-gold);outline-offset:3px}
.mrt-skip{position:absolute;top:-300px;left:10px;z-index:99999;background:#fff;padding:14px 20px}.mrt-skip:focus{top:10px}
.mrt-shell{width:min(1180px,calc(100% - 44px));margin:0 auto}.mrt-header{background:#162b30;color:#f9eee0;border-bottom:2px solid var(--mrt-gold)}.mrt-header-inner{display:flex;gap:22px;align-items:center;justify-content:space-between;min-height:84px;flex-wrap:wrap;padding:14px 0}
.mrt-brand{color:#f9eee0!important;text-decoration:none!important;font:500 1.65rem/1.2 Georgia,serif;white-space:nowrap}.mrt-brand span{color:#dbb775}.mrt-brand small{display:block;font:400 .69rem/1.4 system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:#cdbf9f;margin-top:6px}
.mrt-header nav ul{list-style:none;display:flex;flex-wrap:wrap;gap:10px 24px;padding:0;margin:0}.mrt-header nav a{color:#fff0d3!important;text-decoration:none;font-size:.9rem}.mrt-header nav a:hover{text-decoration:underline}
.mrt-content{padding:65px 0 100px;min-height:50vh}.mrt-entry{background:#fffcf5;border:1px solid #e5dfd0;padding:clamp(22px,4vw,55px);margin-bottom:28px}.mrt-entry h1,.mrt-entry h2{font-family:Georgia,serif;line-height:1.18;letter-spacing:-.02em}.mrt-entry h1{font-size:clamp(2rem,4vw,3.8rem);margin:0 0 30px}.mrt-entry h2{font-size:2rem}.mrt-entry img{max-width:100%;height:auto}.mrt-entry .wp-block-image{margin:30px 0}
.mrt-list-article{margin-bottom:30px;padding-bottom:30px;border-bottom:1px solid #d8cbb1}.mrt-list-article h2{margin:0 0 8px}.mrt-list-article p{color:var(--mrt-muted)}.mrt-post-meta{font-size:.8rem;color:var(--mrt-muted)}
.mrt-footer{background:#162b30;color:#f2e8d7;padding:48px 0 35px}.mrt-footer a{color:#eacb95!important}.mrt-footer p{max-width:900px;font-size:.83rem;color:#c5cfc8}.mrt-footer-links{display:flex;flex-wrap:wrap;gap:10px 24px;margin-bottom:20px}
/* Strony generowane przez Core mają własne menu i stopkę. Motyw nie narzuca im obramowania. */
body.mrk-visual-page{background:#f7f5f0}body.mrk-visual-page #mrt-content{margin:0;padding:0;width:100%;max-width:none}body.mrk-visual-page .mrt-portaled{width:100%}body.mrk-visual-page .mrk-site{width:100%!important;left:auto!important;margin-left:0!important}
body.mrk-visual-page .mrk-site main{max-width:1320px}
@media(max-width:700px){.mrt-header-inner{display:block}.mrt-header nav{margin-top:22px}.mrt-content{padding:38px 0 65px}.mrt-shell{width:min(100% - 30px,1180px)}.mrt-footer{padding:35px 0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* 2.6: długa analiza czytelna na urządzeniach mobilnych */
.mrk26-synthesis details{margin:14px 0}.mrk26-case a.mrk-btn{display:inline-block;margin-top:12px}
