/* Marek Jerga — Design system 2.0 / Rubik. Pouze veřejná část, CMS zůstává nedotčen. */
:root{--mj-ink:#10233f;--mj-ink-soft:#28354b;--mj-muted:#5e6977;--mj-sage:#688c7b;--mj-sage-soft:#e7efe9;--mj-mist:#f5f8f5;--mj-bg:#fffefd;--mj-border:#e3e8e4;--mj-radius:19px;--mj-shell:1160px}
html{scroll-behavior:smooth;scroll-padding-top:95px}
.mj-v2{background:var(--mj-bg);color:var(--mj-ink);font-family:'Rubik',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;font-weight:400;line-height:1.6;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
.mj-v2 *, .mj-v2 *:before, .mj-v2 *:after{box-sizing:border-box}
.mj-v2 .shell{width:min(var(--mj-shell),calc(100% - 88px));margin-inline:auto}
.mj-v2 a{text-decoration:none;color:inherit}
.mj-v2 img{max-width:100%;height:auto}
.mj-v2 h1,.mj-v2 h2,.mj-v2 h3,.mj-v2 h4{font-family:inherit;color:var(--mj-ink);font-weight:540;line-height:1.13;letter-spacing:-.037em}
.mj-v2 p{line-height:1.7}
.mj-v2 :focus-visible{outline:3px solid var(--mj-sage);outline-offset:4px}
.mj-v2 .site-header{position:relative;z-index:50;background:rgba(255,254,253,.98);border-bottom:1px solid #eef0ed}
.mj-v2 .header-inner{min-height:88px;display:flex;align-items:center;gap:42px}
.mj-v2 .logo{font-size:23px;letter-spacing:-.04em;white-space:nowrap;font-weight:600;color:var(--mj-ink)}
.mj-v2 .main-nav{gap:clamp(15px,2vw,32px);margin-left:auto;margin-right:0;display:flex;align-items:center}
.mj-v2 .main-nav a{font-size:14px;font-weight:450;letter-spacing:-.01em;white-space:nowrap;color:var(--mj-ink);transition:color .18s}
.mj-v2 .main-nav a:hover,.mj-v2 .main-nav a:focus-visible{color:#557e6d}
.mj-v2 .header-cta{font-size:13px;font-weight:520;color:var(--mj-ink);border:1px solid #9ba9a5;padding:10px 18px;border-radius:10px;white-space:nowrap;transition:background .18s,color .18s}
.mj-v2 .header-cta:hover{color:#fff;background:var(--mj-ink)}
.mj-v2 .menu-btn{display:none}
.mj-v2 .button{border-radius:10px;border:1px solid var(--mj-ink);font-size:14px;font-weight:520;line-height:1.35;letter-spacing:-.01em;min-height:52px;padding:14px 24px;display:inline-flex;gap:22px;align-items:center;justify-content:space-between;box-shadow:none;transition:background .2s,transform .2s}
.mj-v2 .button.solid{background:#10243f;color:#fff;border-color:#10243f}
.mj-v2 .button.outline{background:transparent;border-color:#b8c8c1;color:var(--mj-ink)}
.mj-v2 .button:hover{background:#254a50;border-color:#254a50;box-shadow:none;transform:translateY(-1px)}
.mj-v2 .inline-link,.mj-v2 .text-link{display:inline-flex;align-items:center;gap:16px;padding:0 0 4px;color:var(--mj-ink);font-size:14px;font-weight:500;border:0;border-bottom:1px solid #94afa3;white-space:normal;max-width:100%;transition:color .2s}
.mj-v2 .inline-link:hover,.mj-v2 .text-link:hover{color:#557b69}
.mj-v2 .eyebrow{display:block;color:#507464;font-size:12px;font-weight:550;letter-spacing:.14em;text-transform:uppercase;line-height:1.35}
.mj-v2 .mj-number{display:block;color:#6d897b;font-weight:500;font-size:13px;letter-spacing:.12em}
.mj-v2 .mj-section{padding:80px 0}
.mj-v2 .mj-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:36px}
.mj-v2 .mj-section-head h2{font-size:clamp(32px,3.5vw,44px);margin:14px 0 0;line-height:1.14;font-weight:520}
/* Hero layout */
.mj-v2 .hero{background:linear-gradient(120deg,#fffefd 0%,#fffefd 70%,#f9fcf8 100%);overflow:hidden;padding:50px 0 50px}
.mj-v2 .hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(28px,5vw,80px);align-items:center;min-height:580px;padding:0}
.mj-v2 .hero-copy{position:relative;z-index:2;min-width:0;padding:0}
.mj-v2 .hero-kicker{display:flex;align-items:center;gap:13px;color:var(--mj-ink);font-weight:500;font-size:11px;letter-spacing:.18em;text-transform:uppercase;margin-bottom:31px}
.mj-v2 .hero-kicker-line{width:28px;height:1.5px;background:var(--mj-sage);display:inline-block;flex:none}
.mj-v2 .hero .hero-emphasis{color:#688f7b;font-style:normal}
.mj-v2 .hero h1{font-size:clamp(52px,5.55vw,78px);font-weight:630;letter-spacing:-.055em;line-height:1.085;color:var(--mj-ink);max-width:670px;margin:0 0 25px;overflow-wrap:normal}
.mj-v2 .hero-description{font-size:clamp(17px,1.4vw,19px);color:var(--mj-ink-soft);font-weight:370;line-height:1.78;max-width:530px;margin-bottom:26px}
.mj-v2 .hero-description p{font-size:inherit;line-height:inherit;margin:0 0 1em}
.mj-v2 .hero-actions{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
.mj-v2 .hero-art{width:100%;max-width:520px;min-width:0;height:520px;justify-self:end;position:relative}
.mj-v2 .hero-sage{position:absolute;left:5%;top:8%;width:86%;height:82%;border-radius:52% 52% 16px 16px;background:#dce7df}
.mj-v2 .hero-ring{position:absolute;right:-3%;top:1%;height:155px;width:155px;border-radius:50%;border:1px solid #c6d8ce}
.mj-v2 .portrait-frame{position:absolute;inset:7% 6% 5% 14%;border-radius:50% 50% 4px 4px;background:#e0e8e2;overflow:hidden;box-shadow:none}
.mj-v2 .portrait-frame img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 25%}
.mj-v2 .portrait-empty{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#e6eee9;color:#739487}
.mj-v2 .portrait-monogram{font-size:clamp(80px,12vw,170px);font-weight:480;letter-spacing:-.08em;opacity:.5}
.mj-v2 .portrait-caption{font-size:12px;letter-spacing:.03em;text-align:center;font-weight:400;color:#587569}
.mj-v2 .hero-location{position:absolute;right:-2%;bottom:2%;background:rgba(255,255,255,.98);border:1px solid #e3ebe5;box-shadow:0 8px 26px #172d2315;border-radius:12px;padding:12px 18px;min-width:158px;z-index:4;max-width:75%}
.mj-v2 .hero-location span{display:block;font-size:11px;color:#698777;font-weight:600;letter-spacing:.1em}
.mj-v2 .hero-location strong{font-size:13px;color:var(--mj-ink);font-weight:500;display:block;line-height:1.45}
/* Services: airy three-column, no heavy cards */
.mj-v2 .mj-services{padding-top:75px;padding-bottom:88px;background:#fffefd}
.mj-v2 .mj-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(22px,3.6vw,55px)}
.mj-v2 .mj-service{position:relative;display:flex;flex-direction:column;min-height:244px;padding:0 6px 12px 0;border:none;border-radius:0;background:transparent}
.mj-v2 .mj-service-icon{height:63px;width:63px;display:grid;place-items:center;border-radius:19px;color:#4a7a62;background:var(--mj-sage-soft);margin-bottom:22px}
.mj-v2 .mj-service-icon svg{height:33px;width:33px}
.mj-v2 .mj-service h3{font-size:clamp(19px,1.75vw,24px);font-weight:560;letter-spacing:-.032em;margin:8px 0 9px}
.mj-v2 .mj-service p{font-size:15px;line-height:1.7;color:var(--mj-muted);margin:0 0 12px;max-width:34ch}
.mj-v2 .mj-arrow{font-size:22px;font-weight:300;color:#557865;align-self:flex-end;margin-top:auto;transition:transform .2s}
.mj-v2 .mj-service:hover .mj-arrow,.mj-v2 .mj-article:hover .mj-arrow{transform:translate(4px,-4px)}
/* About */
.mj-v2 .mj-about{background:#eff4f0;padding:88px 0}
.mj-v2 .mj-about-grid{display:grid;grid-template-columns:minmax(250px,.83fr) minmax(0,1.1fr);gap:clamp(40px,7vw,110px);align-items:center}
.mj-v2 .mj-about-photo{height:415px;max-width:390px;border-radius:22px;overflow:hidden;background:#d6e3db}
.mj-v2 .mj-about-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 25%}
.mj-v2 .mj-about-placeholder{width:100%;height:100%;display:grid;place-items:center;font-size:70px;color:#6b9880;font-weight:500}
.mj-v2 .mj-about-copy h2{font-size:clamp(42px,4.5vw,65px);font-weight:510;line-height:1.08;margin:16px 0 22px}
.mj-v2 .mj-about-copy .mj-rich-inline{max-width:59ch;font-size:17px;color:var(--mj-ink-soft);line-height:1.8;margin-bottom:26px}
.mj-v2 .mj-about-copy .mj-rich-inline p{margin:0 0 1.05em;font-size:inherit;color:inherit;line-height:inherit}
/* Process */
.mj-v2 .mj-approach{background:#fffefd;padding:95px 0 100px}
.mj-v2 .mj-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px}
.mj-v2 .mj-step{min-width:0}
.mj-v2 .mj-step-top{display:flex;align-items:center;gap:24px;margin-bottom:22px}
.mj-v2 .mj-step-number{display:grid;place-items:center;height:43px;min-width:43px;border-radius:50%;background:#dce9e0;color:#3e6656;font-size:14px;font-weight:550}
.mj-v2 .mj-step-line{height:1px;flex:1;background:#a7bcb0}
.mj-v2 .mj-step h3{font-size:22px;letter-spacing:-.035em;font-weight:530;margin:0 0 11px}
.mj-v2 .mj-step .mj-rich-inline{max-width:34ch;color:var(--mj-muted);font-size:16px;line-height:1.75}
.mj-v2 .mj-step .mj-rich-inline p{font-size:inherit;line-height:inherit}
/* Editorial articles */
.mj-v2 .mj-articles{padding:85px 0;background:#f9faf8}
.mj-v2 .mj-article-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.mj-v2 .mj-article{display:flex;flex-direction:column;align-items:stretch;gap:0;border:0;background:none;min-width:0;padding:0}
.mj-v2 .mj-article-thumb{width:100%;aspect-ratio:16/10;background:#e3ece6;border-radius:14px;overflow:hidden;margin-bottom:16px;position:relative}
.mj-v2 .mj-article-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.mj-v2 .mj-thumb-decoration{display:block;position:absolute;inset:0;background:radial-gradient(ellipse at 75% 65%,#b9d3c0 0%,transparent 36%),linear-gradient(125deg,#dbe8e0,#f1f4ef 70%)}
.mj-v2 .mj-article-date{font-size:12px;color:#738477;font-weight:400}
.mj-v2 .mj-article h3{font-size:21px;font-weight:540;line-height:1.38;letter-spacing:-.025em;margin:5px 0 10px}
.mj-v2 .mj-article p{color:#64706c;font-size:14px;line-height:1.68;margin:0 0 10px}
.mj-v2 .mj-article .mj-arrow{margin-top:auto;align-self:flex-start}
/* FAQ and gallery */
.mj-v2 .mj-faq{padding:95px 0;background:#fffefd}
.mj-v2 .mj-faq-grid{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.2fr);gap:70px}
.mj-v2 .mj-faq h2{font-size:clamp(34px,3.6vw,50px);margin:17px 0 20px;font-weight:520}
.mj-v2 .faq-list{border-top:1px solid var(--mj-border)}
.mj-v2 .faq-list details{border-bottom:1px solid var(--mj-border);padding:0}
.mj-v2 .faq-list summary{padding:22px 0;font-size:17px;letter-spacing:-.012em;line-height:1.45;font-weight:500;color:var(--mj-ink)}
.mj-v2 .faq-list summary span{font-size:25px;color:var(--mj-sage);font-weight:350}
.mj-v2 .faq-answer{color:var(--mj-muted);font-size:15px;line-height:1.8;padding:0 20px 22px 0}
.mj-v2 .faq-answer p{font-size:inherit;line-height:inherit;margin:0 0 12px}
.mj-v2 .mj-gallery-preview{background:#f9faf8}
.mj-v2 .gallery-overview{margin-top:0;margin-bottom:0;gap:26px}
.mj-v2 .gallery-card{background:transparent;border-radius:0;padding-bottom:5px}
.mj-v2 .gallery-card img,.mj-v2 .gallery-placeholder{border-radius:14px;height:240px}
.mj-v2 .gallery-card h2,.mj-v2 .gallery-card h3{font-size:20px;letter-spacing:-.025em;font-weight:530;margin:14px 0 8px}
.mj-v2 .gallery-card p{font-size:14px;color:var(--mj-muted);margin:0}
/* End CTA and footer */
.mj-v2 .mj-cta{background:#fffefd;padding:80px 0 100px}
.mj-v2 .mj-cta-inner{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center;background:#e6eee8;border-radius:24px;padding:55px 65px}
.mj-v2 .mj-cta h2{font-size:clamp(33px,3.7vw,50px);font-weight:540;line-height:1.14;max-width:13ch;letter-spacing:-.045em;margin:15px 0 0}
.mj-v2 .mj-cta-body .mj-rich-inline{font-size:17px;line-height:1.75;margin-bottom:18px;color:#324c43}
.mj-v2 .mj-cta-body .mj-rich-inline p{font-size:inherit;line-height:inherit;margin:0 0 1em}
.mj-v2 .site-footer{background:#fbfcfa;color:var(--mj-ink);border-top:1px solid var(--mj-border);padding:34px 0 26px}
.mj-v2 .mj-footer-top{display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.mj-v2 .mj-footer-logo{font-size:21px;letter-spacing:-.03em;font-weight:600}
.mj-v2 .mj-footer-top>span{color:#5d6f65;border-left:1px solid #a6b6ad;padding-left:24px;font-size:13px}
.mj-v2 .mj-footer-top nav{margin-left:auto;display:flex;gap:24px;align-items:center;flex-wrap:wrap}
.mj-v2 .mj-footer-top nav a,.mj-v2 .mj-footer-bottom{font-size:12px;color:#4c5c54}
.mj-v2 .mj-footer-bottom{display:flex;justify-content:space-between;gap:20px;align-items:start;margin-top:25px;padding-top:20px;border-top:1px solid var(--mj-border)}
.mj-v2 .mj-footer-bottom div{display:flex;gap:15px;flex-wrap:wrap;justify-content:flex-end}
.mj-v2 .mj-footer-notice{font-size:12px;line-height:1.6;color:#75847b;margin:12px 0 0}
/* Internal pages, reused CMS markup. Consistent typography and media. */
.mj-v2 .inner-page{min-height:65vh;padding:80px 0 120px;background:var(--mj-bg)}
.mj-v2 .inner-title,.mj-v2 .inner-hero h1,.mj-v2 .post-detail h1{font-size:clamp(45px,5vw,70px);line-height:1.1;letter-spacing:-.055em;font-weight:530;color:var(--mj-ink)}
.mj-v2 .inner-hero{gap:65px}
.mj-v2 .inner-page .lead{font-size:clamp(18px,1.5vw,21px);line-height:1.72;color:#44534d;font-weight:390}
.mj-v2 .inner-visual{background:linear-gradient(135deg,#e0ece2,#aecbb9);border-radius:28px}
.mj-v2 .inner-visual .inner-icon{background:#fff8;color:#446f60}
.mj-v2 .content-text{font-size:17px;line-height:1.85;max-width:850px;color:#37473f}
.mj-v2 .content-text h2{font-size:clamp(28px,3vw,36px);font-weight:560;letter-spacing:-.035em;color:var(--mj-ink);margin:45px 0 18px}
.mj-v2 .content-text h3{font-size:25px;font-weight:550;letter-spacing:-.03em;color:var(--mj-ink)}
.mj-v2 .content-text p{font-size:inherit;line-height:inherit;margin:0 0 1.25em}
.mj-v2 .content-text a,.mj-v2 .faq-answer a{color:#346e57;text-decoration:underline;text-underline-offset:3px}
.mj-v2 .content-text blockquote{background:#f0f5f0;border-left:3px solid #769d84;color:#324e40}
.mj-v2 .post-cover,.mj-v2 .content-text figure img,.mj-v2 .service-cover-photo,.mj-v2 .about-photo{border-radius:15px}
.mj-v2 .post-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:29px}
.mj-v2 .post-card{padding:0 0 25px;border:0;min-height:initial}
.mj-v2 .post-card img{border-radius:14px}
.mj-v2 .post-card h3{font-size:22px;font-weight:530;line-height:1.35;color:var(--mj-ink)}
.mj-v2 .post-card p{font-size:15px;line-height:1.7;color:var(--mj-muted)}
.mj-v2 .post-card .post-date{font-size:12px;color:#718477}
.mj-v2 .post-detail{max-width:870px}
.mj-v2 .post-faq>h2{font-weight:530;letter-spacing:-.04em}
.mj-v2 .contact-layout{gap:clamp(30px,5vw,75px)}
.mj-v2 .form-panel{background:#f3f7f3;border-radius:22px;padding:38px}
.mj-v2 .contact-form input,.mj-v2 .contact-form textarea{border:1px solid #c6d7cd;color:var(--mj-ink);border-radius:10px;font-size:16px}
.mj-v2 .contact-form input:focus,.mj-v2 .contact-form textarea:focus{border-color:#6d9b82;box-shadow:0 0 0 3px #cadecf}
.mj-v2 .lost-nav a{background:#f4f8f5;color:var(--mj-ink);border-color:#e0e8e1}
.mj-v2 .lost-nav a:hover{background:#e7f0e8}
.mj-v2 .photo-grid img,.mj-v2 .gallery-card img{border-radius:15px}
/* Responsive */
@media(max-width:1100px){.mj-v2 .header-inner{gap:20px}.mj-v2 .main-nav{gap:15px}.mj-v2 .main-nav a{font-size:13px}.mj-v2 .header-cta{font-size:12px;padding:10px 12px}.mj-v2 .hero .hero-emphasis{color:#688f7b;font-style:normal}
.mj-v2 .hero h1{font-size:clamp(46px,5vw,65px)}.mj-v2 .hero-art{height:455px}.mj-v2 .shell{width:min(var(--mj-shell),calc(100% - 60px))}}
@media(max-width:850px){.mj-v2 .shell{width:calc(100% - 48px)}.mj-v2 .header-inner{min-height:74px;justify-content:space-between}.mj-v2 .logo{font-size:23px}.mj-v2 .menu-btn{order:3;display:grid;width:44px;height:44px;padding:11px;gap:5px;background:#edf3ee;border:0;border-radius:10px}.mj-v2 .menu-btn span{background:#173c2b}.mj-v2 .header-cta{margin-left:auto;white-space:normal;text-align:center;max-width:174px}.mj-v2 .main-nav{display:none;position:absolute;top:73px;left:0;right:0;flex-direction:column;gap:0;align-items:stretch;background:#fffefd;box-shadow:0 15px 25px #1b2a1b15;padding:14px 24px 22px}.mj-v2 .main-nav.open{display:flex}.mj-v2 .main-nav a{font-size:16px;padding:14px 0;border-bottom:1px solid var(--mj-border)}.mj-v2 .hero{padding:65px 0 40px}.mj-v2 .hero-grid{grid-template-columns:1fr;min-height:0;gap:30px}.mj-v2 .hero .hero-emphasis{color:#688f7b;font-style:normal}
.mj-v2 .hero h1{font-size:clamp(47px,7.4vw,74px);max-width:680px}.mj-v2 .hero-art{margin:12px auto 0;height:min(65vw,500px);max-width:570px;justify-self:center}.mj-v2 .mj-about-grid{grid-template-columns:.8fr 1fr;gap:36px}.mj-v2 .mj-about-photo{height:390px}.mj-v2 .mj-about-copy h2{font-size:45px}.mj-v2 .mj-services-grid,.mj-v2 .mj-steps,.mj-v2 .mj-article-list,.mj-v2 .post-grid{gap:22px}.mj-v2 .mj-faq-grid{gap:35px}.mj-v2 .mj-cta-inner{gap:28px;padding:42px}.mj-v2 .inner-hero,.mj-v2 .contact-layout{grid-template-columns:1fr}.mj-v2 .inner-visual{min-height:250px}}
@media(max-width:680px){.mj-v2 .shell{width:calc(100% - 36px)}.mj-v2 .hero{padding:46px 0 40px}.mj-v2 .hero .hero-emphasis{color:#688f7b;font-style:normal}
.mj-v2 .hero h1{font-size:clamp(39px,10.3vw,58px);line-height:1.1;letter-spacing:-.057em}.mj-v2 .hero-description{font-size:17px;line-height:1.72}.mj-v2 .hero-actions{align-items:flex-start;gap:17px}.mj-v2 .hero-art{height:370px;max-width:400px}.mj-v2 .hero-location{right:0;bottom:0}.mj-v2 .mj-section{padding:62px 0}.mj-v2 .mj-section-head{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:28px}.mj-v2 .mj-section-head h2{font-size:34px}.mj-v2 .mj-services-grid,.mj-v2 .mj-steps,.mj-v2 .mj-article-list,.mj-v2 .post-grid{grid-template-columns:1fr}.mj-v2 .mj-service{min-height:0;display:grid;grid-template-columns:64px 1fr 30px;gap:18px;border-bottom:1px solid var(--mj-border);padding:17px 0}.mj-v2 .mj-service-icon{height:55px;width:55px;margin:0}.mj-v2 .mj-service h3{margin:6px 0}.mj-v2 .mj-service p{font-size:14px}.mj-v2 .mj-service .mj-arrow{align-self:center}.mj-v2 .mj-about-grid,.mj-v2 .mj-faq-grid,.mj-v2 .mj-cta-inner{grid-template-columns:1fr}.mj-v2 .mj-about-photo{height:310px;max-width:440px}.mj-v2 .mj-about-copy h2{font-size:41px}.mj-v2 .mj-step{padding-bottom:14px}.mj-v2 .mj-step-top{margin-bottom:15px}.mj-v2 .mj-article{display:grid;grid-template-columns:120px 1fr 20px;gap:15px;align-items:start;border-bottom:1px solid var(--mj-border);padding-bottom:22px}.mj-v2 .mj-article-thumb{margin:0;aspect-ratio:1/1}.mj-v2 .mj-article h3{font-size:18px}.mj-v2 .mj-article p{display:none}.mj-v2 .mj-article .mj-arrow{margin-top:40px}.mj-v2 .mj-cta{padding:38px 0 65px}.mj-v2 .mj-cta-inner{padding:32px 25px;border-radius:19px}.mj-v2 .mj-cta h2{font-size:35px}.mj-v2 .mj-footer-top{gap:16px}.mj-v2 .mj-footer-top nav{width:100%;margin-left:0;gap:18px}.mj-v2 .mj-footer-bottom{flex-direction:column}.mj-v2 .mj-footer-bottom div{justify-content:start}.mj-v2 .inner-page{padding:50px 0 90px}.mj-v2 .inner-title,.mj-v2 .inner-hero h1,.mj-v2 .post-detail h1{font-size:clamp(38px,10vw,53px)}.mj-v2 .content-text{font-size:16px}.mj-v2 .gallery-overview,.mj-v2 .photo-grid{grid-template-columns:1fr}.mj-v2 .form-panel{padding:24px}}
@media(max-width:420px){.mj-v2 .logo{font-size:19px}.mj-v2 .header-cta{font-size:11px;padding:9px 10px;max-width:127px}.mj-v2 .hero .hero-emphasis{color:#688f7b;font-style:normal}
.mj-v2 .hero h1{font-size:clamp(37px,10.4vw,45px)}.mj-v2 .hero-kicker{font-size:10px;letter-spacing:.12em}.mj-v2 .hero-art{height:310px}.mj-v2 .hero-location{padding:9px 12px}.mj-v2 .mj-article{grid-template-columns:98px 1fr 16px}.mj-v2 .mj-about-photo{height:280px}}
@media(prefers-reduced-motion:reduce){.mj-v2 *, .mj-v2 *::before,.mj-v2 *::after{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* CMS 2.1 – sticky navigation and visible-on-scroll back-to-top. */
.mj-v2 .site-header{position:sticky;top:0;z-index:100;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);background:rgba(255,254,253,.94)}
.mj-v2 .mj-back-to-top{position:fixed;right:clamp(17px,3vw,46px);bottom:clamp(18px,3vw,44px);z-index:95;width:54px;height:54px;border:1px solid #d8e6dc;border-radius:17px;display:grid;place-items:center;cursor:pointer;background:#10233f;color:#fff;box-shadow:0 14px 28px #10233f22;font-size:29px;line-height:1;transition:opacity .24s,transform .24s}
.mj-v2 .mj-back-to-top[hidden]{display:none!important}
.mj-v2 .mj-back-to-top:hover{transform:translateY(-4px);background:#234b43}
@media(max-width:850px){.mj-v2 .main-nav{top:100%;}.mj-v2 .site-header{backdrop-filter:blur(10px)}.mj-v2 .mj-back-to-top{height:47px;width:47px;font-size:25px;border-radius:14px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.mj-v2 .mj-back-to-top{transition:none}}


/* CMS 2.2 – jednotná navigace a typografie úvodních odstavců. */
html{overflow-y:scroll;scrollbar-gutter:stable;}
.mj-v2 .site-header{width:100%;inset-inline:0;}
.mj-v2 .header-inner{display:grid;grid-template-columns:minmax(185px,1fr) minmax(0,auto) minmax(185px,1fr);gap:24px;width:min(var(--mj-shell),calc(100% - 88px));margin-inline:auto;min-height:88px;}
.mj-v2 .header-inner>.logo{justify-self:start;margin:0;line-height:1.2}
.mj-v2 .header-inner>.main-nav{justify-self:center;margin:0;min-width:0;justify-content:center;gap:clamp(14px,1.7vw,28px);}
.mj-v2 .header-inner>.header-cta{justify-self:end;line-height:1.3;}
.mj-v2 .hero-description{font-size:18px;line-height:1.75;font-weight:400;}
.mj-v2 .hero-description>*{font-family:inherit;font-size:inherit;line-height:inherit;letter-spacing:normal;}
.mj-v2 .hero-description>p,.mj-v2 .hero-description>div{margin:0 0 1.3rem;}
.mj-v2 .hero-description>:first-child{margin-top:0;}
.mj-v2 .hero-description>:last-child{margin-bottom:0;}
.mj-v2 .hero-description strong,.mj-v2 .hero-description b{font-weight:600;}
.mj-v2 .hero-description>h2,.mj-v2 .hero-description>h3{font-size:1.12em;font-weight:550;line-height:1.4;margin:0 0 .8em;}
@media(max-width:1120px){
 .mj-v2 .header-inner{display:flex;gap:14px;justify-content:space-between;}
 .mj-v2 .header-inner>.logo{margin-right:auto;}
 .mj-v2 .header-inner>.main-nav{display:none;position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - 72px);overflow:auto;flex-direction:column;align-items:stretch;justify-content:start;gap:0;margin:0;padding:15px max(24px,calc((100% - var(--mj-shell))/2)) 25px;background:var(--mj-bg);box-shadow:0 18px 30px #142d281c;}
 .mj-v2 .header-inner>.main-nav.open{display:flex;}
 .mj-v2 .header-inner>.main-nav a{font-size:15px;padding:13px 0;border-bottom:1px solid var(--mj-border);}
 .mj-v2 .header-inner>.menu-btn{display:grid;order:3;width:44px;height:44px;flex:none;padding:11px;gap:5px;background:#edf3ee;border:0;border-radius:10px;}
 .mj-v2 .header-inner>.menu-btn span{background:#173c2b;}
 .mj-v2 .header-inner>.header-cta{margin-left:auto;justify-self:auto;white-space:normal;text-align:center;}
}
@media(max-width:850px){.mj-v2 .header-inner{width:calc(100% - 48px);min-height:74px}}
@media(max-width:680px){.mj-v2 .header-inner{width:calc(100% - 36px)}.mj-v2 .hero-description{font-size:17px;line-height:1.7}}

/* Vlastní menu s více než 6 položkami se bezpečně sbalí i na širších obrazovkách. */
.mj-v2 .nav-dense .header-inner{display:flex;gap:18px;justify-content:space-between}
.mj-v2 .nav-dense .header-inner>.logo{margin-right:auto}
.mj-v2 .nav-dense .header-inner>.main-nav{display:none;position:absolute;top:100%;right:0;left:0;max-height:calc(100dvh - 88px);overflow:auto;flex-direction:column;align-items:stretch;justify-content:start;gap:0;padding:15px max(24px,calc((100% - var(--mj-shell))/2)) 25px;background:var(--mj-bg);box-shadow:0 18px 30px #142d281c}
.mj-v2 .nav-dense .header-inner>.main-nav.open{display:flex}
.mj-v2 .nav-dense .header-inner>.main-nav a{font-size:15px;padding:13px 0;border-bottom:1px solid var(--mj-border)}
.mj-v2 .nav-dense .header-inner>.menu-btn{display:grid;order:3;width:44px;height:44px;flex:none;padding:11px;gap:5px;background:#edf3ee;border:0;border-radius:10px}
.mj-v2 .nav-dense .header-inner>.menu-btn span{background:#173c2b}
@media(max-width:680px){.mj-v2 .nav-dense .header-inner{min-height:74px}}

/* CMS 2.2.1 – jednotná sazba na stránce O mně.
   Původně mělo krátké představení styl .lead (až 21 px), ale hlavní
   obsah .content-text (17 px). Tyto dva bloky nyní sdílejí stejnou sazbu. */
.mj-v2 .mj-about-page .mj-about-reading{
  font-family:'Rubik',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  font-size:18px;
  line-height:1.82;
  font-weight:400;
  letter-spacing:0;
  color:#37473f;
  overflow-wrap:break-word;
}
.mj-v2 .mj-about-page .mj-about-reading p,
.mj-v2 .mj-about-page .mj-about-reading li{
  font-family:inherit;
  font-size:inherit;
  line-height:inherit;
  font-weight:inherit;
  letter-spacing:inherit;
  color:inherit;
}
.mj-v2 .mj-about-page .mj-about-reading p{
  margin-top:0;
  margin-bottom:1.25em;
}
.mj-v2 .mj-about-page .mj-about-reading p+p{margin-top:0}
.mj-v2 .mj-about-page .mj-about-reading p:last-child{margin-bottom:0}
.mj-v2 .mj-about-page .mj-about-reading h2,
.mj-v2 .mj-about-page .mj-about-reading h3,
.mj-v2 .mj-about-page .mj-about-reading h4{font-size:1.35em;line-height:1.3;font-weight:550;margin:1.7em 0 .7em}
.mj-v2 .mj-about-page .mj-about-reading ul,
.mj-v2 .mj-about-page .mj-about-reading ol{margin:.8em 0 1.2em;padding-left:1.5em}
.mj-v2 .mj-about-page .content-text.narrow{max-width:760px}
@media(max-width:650px){
  .mj-v2 .mj-about-page .mj-about-reading{font-size:17px;line-height:1.8}
}


/* CMS 2.2.2 – opravy typografie služeb, historických odstavců a mobilní navigace. */
/* Jedna sazba pro všechny tři služby; hierarchie H2/H3 zůstává zachována. */
.mj-v2 .mj-service-page .mj-service-reading,
.mj-v2 .mj-service-page .inner-hero .lead{
  font-family:'Rubik',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  font-size:18px;
  line-height:1.8;
  font-weight:400;
  letter-spacing:0;
  color:#37473f;
}
.mj-v2 .mj-service-page .mj-service-reading p,
.mj-v2 .mj-service-page .mj-service-reading li,
.mj-v2 .mj-service-page .mj-service-reading > div{
  font-size:inherit;
  line-height:inherit;
  font-weight:inherit;
  letter-spacing:inherit;
  color:inherit;
}
.mj-v2 .mj-service-page .mj-service-reading p{margin:0 0 1.35em}
.mj-v2 .mj-service-page .mj-service-reading > p:last-child{margin-bottom:0}
.mj-v2 .mj-service-page .mj-service-reading h2{font-size:clamp(27px,2.5vw,34px);line-height:1.3;margin:2em 0 .75em}
.mj-v2 .mj-service-page .mj-service-reading h3{font-size:clamp(22px,2vw,27px);line-height:1.35;margin:1.6em 0 .65em}
.mj-v2 .mj-service-page .mj-service-reading ul,
.mj-v2 .mj-service-page .mj-service-reading ol{margin:.75em 0 1.4em;padding-left:1.6em}
/* Výstup ze starších editorů může obsahovat jednotlivé <br> místo odstavců. */
.mj-v2 .mj-about-page .mj-about-reading br{display:block;content:"";margin-bottom:1.25em}
/* Mobilní a tabletové menu musí vyplnit šířku hlavičky, nikoli šířku textu. */
@media(max-width:1120px){
  .mj-v2 .site-header .header-inner > .main-nav,
  .mj-v2 .site-header.nav-dense .header-inner > .main-nav{
    position:absolute;
    inset-block-start:100%;
    inset-inline-start:0;
    inset-inline-end:auto;
    width:100%;
    min-width:100%;
    max-width:100%;
    margin:0;
    padding:14px clamp(20px,5vw,56px) 24px;
    box-sizing:border-box;
    display:none;
    flex-direction:column;
    align-items:stretch;
    justify-content:flex-start;
    justify-self:stretch;
    gap:0;
    z-index:120;
    background:#fffefd;
    border-bottom:1px solid var(--mj-border);
    box-shadow:0 17px 28px rgba(16,35,63,.1);
    overflow-y:auto;
    max-height:calc(100dvh - 74px);
  }
  .mj-v2 .site-header .header-inner > .main-nav.open,
  .mj-v2 .site-header.nav-dense .header-inner > .main-nav.open{display:flex}
  .mj-v2 .site-header .header-inner > .main-nav a,
  .mj-v2 .site-header.nav-dense .header-inner > .main-nav a{
    box-sizing:border-box;
    display:flex;
    align-items:center;
    width:100%;
    min-height:53px;
    font-size:17px;
    font-weight:480;
    padding:12px 0;
    text-align:left;
    border-bottom:1px solid var(--mj-border);
  }
  .mj-v2 .site-header .header-inner > .main-nav a:last-child{border-bottom:0}
}
@media(max-width:680px){
  .mj-v2 .mj-service-page .mj-service-reading,
  .mj-v2 .mj-service-page .inner-hero .lead{font-size:17px;line-height:1.78}
  .mj-v2 .site-header .header-inner > .main-nav,
  .mj-v2 .site-header.nav-dense .header-inner > .main-nav{padding:10px 22px 20px}
}

/* CMS 2.2.3 — lektorská činnost */
.mj-v2 .mj-lecturer-actions{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin-top:24px}
.mj-v2 .mj-lecturer-actions .text-link{font-size:15px;white-space:normal}
@media(max-width:580px){.mj-v2 .mj-lecturer-actions{align-items:flex-start;gap:20px;flex-direction:column}}
