/* Mír CMS — MyStudio theme
 * Refactored entrypoint. The former layout-fixes.css cascade is consolidated here.
 * Visual values are intentionally preserved.
 */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Poppins:wght@300;400;500;600;700&display=swap');
:root{--ink:#08070e;--paper:#f3f1ed;--violet:#9a74ff;--pink:#f368ef;--blue:#27b7f5;--line:#282532}.ms-body{margin:0;background:var(--ink);color:#f7f7f8;font-family:Poppins,sans-serif}.ms-body *{box-sizing:border-box}.ms-body a{color:inherit;text-decoration:none}.ms-wrap{width:min(1180px,calc(100% - 48px));margin:auto}.ms-header{position:fixed;z-index:30;inset:0 0 auto;display:flex;align-items:center;gap:35px;height:88px;padding:0 max(24px,calc((100vw - 1180px)/2));background:#08070ee8;border-bottom:1px solid #ffffff18;backdrop-filter:blur(18px)}.ms-logo{display:flex;align-items:center;gap:22px;margin-right:auto}.ms-logo img{width:160px}.ms-logo span{max-width:250px;color:#aaa;font-size:11px}.ms-header nav{display:flex;gap:27px;align-items:center;font-size:13px}.ms-header nav a:hover{color:var(--pink)}.ms-lang{display:grid;place-items:center;width:38px;height:38px;border:1px solid #ffffff2d;border-radius:50%}.ms-button{display:inline-flex;justify-content:center;align-items:center;min-height:54px;padding:0 28px;border-radius:9px;background:linear-gradient(120deg,var(--pink),var(--violet));color:#0a0710!important;font-weight:700;box-shadow:0 12px 38px #b459fa30;transition:.2s}.ms-button:hover{transform:translateY(-2px);filter:brightness(1.12)}.ms-button.small{min-height:43px;padding:0 17px;font-size:12px}.ms-menu{display:none;background:none;border:0;color:#fff;font-size:25px}.ms-hero{position:relative;display:grid;align-items:end;min-height:900px;padding:180px 0 100px;overflow:hidden}.ms-hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.58}.ms-hero .shade{position:absolute;inset:0;background:linear-gradient(90deg,#08070ef5 0,#08070eb5 42%,#08070e20),linear-gradient(0deg,#08070e 0,transparent 45%)}.ms-hero .ms-wrap{position:relative}.kicker{color:var(--pink);font-size:12px;font-weight:700;letter-spacing:.19em}.ms-hero h1,.ms-section h2,.ms-cta h2{max-width:850px;margin:15px 0 22px;font:clamp(54px,7vw,105px)/.95 'DM Serif Display',serif;letter-spacing:-.035em}.ms-hero p:not(.kicker){max-width:610px;color:#c3c1c8;font-size:18px;line-height:1.75}.ms-hero .ms-button{margin-top:25px}.ms-section{padding:120px 0}.ms-light{background:var(--paper);color:#17141c}.ms-dark{background:#0d0b13}.ms-section-head{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr);column-gap:80px;margin-bottom:65px}.ms-section-head .kicker{grid-column:1/-1}.ms-section-head h2{font-size:clamp(48px,6vw,82px)}.ms-section-head>p:last-child{align-self:end;color:#85818b;line-height:1.75}.ms-audience{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.ms-audience article{position:relative;min-height:540px;overflow:hidden;border-radius:18px;background:#17131e}.ms-audience img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.38}.ms-audience article>div{position:absolute;inset:auto 0 0;padding:35px;background:linear-gradient(0deg,#0b0910 20%,transparent);color:#fff}.ms-audience h3,.ms-feature-grid h3,.ms-showcase-list h3{margin:8px 0 16px;font:35px/1.05 'DM Serif Display',serif}.ms-audience p:not(.lead),.ms-audience ul{display:none}.ms-audience span,.ms-feature-grid span,.ms-showcase-list span{color:var(--pink);font-size:10px;font-weight:700;letter-spacing:.15em}.ms-feature-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.ms-feature-grid article{display:grid;grid-template-columns:180px 1fr;gap:24px;padding:20px;border:1px solid var(--line);border-radius:16px;background:#121018}.ms-feature-grid img{width:100%;height:180px;object-fit:cover;border-radius:10px}.ms-feature-grid p,.ms-feature-grid li{color:#a9a6ae;font-size:13px;line-height:1.6}.ms-feature-grid .lead{color:#fff}.ms-feature-grid ul{padding-left:18px}.ms-showcase{background:var(--paper);color:#17141c}.ms-showcase-list{display:grid;gap:100px}.ms-showcase-list article{display:grid;grid-template-columns:1.35fr 1fr;gap:70px;align-items:center}.ms-showcase-list article:nth-child(even) img{order:2}.ms-showcase-list img{width:100%;border-radius:14px;box-shadow:0 25px 65px #271a3b30}.ms-showcase-list h3{font-size:50px}.ms-showcase-list p,.ms-showcase-list li{color:#68636d;line-height:1.75}.ms-showcase-list ul{padding-left:18px}.ms-start{background:linear-gradient(135deg,#171020,#09080e)}.ms-start ol{display:grid;grid-template-columns:repeat(3,1fr);padding:0;list-style:none;border-top:1px solid var(--line)}.ms-start li{padding:45px 35px;border-right:1px solid var(--line)}.ms-start li b{color:var(--pink);font-size:12px}.ms-start li h3{font:32px 'DM Serif Display',serif}.ms-start li p{color:#9995a0;line-height:1.7}.ms-story{background:var(--paper);color:#17141c}.two{display:grid;grid-template-columns:1fr 1fr;gap:90px}.ms-story p{font-size:17px;line-height:1.9}.ms-story blockquote{margin:45px 0 0;padding:30px;border-left:5px solid var(--pink);font:30px 'DM Serif Display',serif}.ms-founders{background:linear-gradient(110deg,#552f79,#161020)}.ms-founders p{max-width:640px;color:#cac5d0;line-height:1.8}.ms-counter{display:grid;place-items:center;padding:35px;border:1px solid #ffffff28;border-radius:20px}.ms-counter strong{font:120px/.8 'DM Serif Display',serif;color:var(--pink)}.ms-counter span{margin:15px}.ms-counter a{font-size:20px}.ms-faq{background:#0d0b13}.ms-faq details{border-top:1px solid var(--line);padding:22px 0}.ms-faq summary{cursor:pointer;font-size:18px;font-weight:600}.ms-faq details p{max-width:800px;color:#aaa5b0;line-height:1.75}.ms-cta{padding:140px 0;text-align:center;background:radial-gradient(circle at 50% 100%,#7b3c9155,transparent 55%),#07060b}.ms-cta h2,.ms-cta p{margin-left:auto;margin-right:auto}.ms-cta p:not(.kicker){max-width:700px;color:#aaa5b0;font-size:18px}.ms-cta .ms-button{margin-top:30px}.ms-footer{padding:65px 0;background:#030305;border-top:1px solid #ffffff14}.ms-footer .ms-wrap{display:grid;grid-template-columns:1fr auto;gap:35px}.ms-footer img{width:170px}.ms-footer p{max-width:600px;color:#77737d;font-size:12px;line-height:1.7}.ms-footer div>div:nth-child(2){display:grid;gap:9px;text-align:right;font-size:12px}.ms-footer .ms-wrap>p,.ms-footer small{grid-column:1/-1}.ms-footer small{color:#55515a}@media(max-width:850px){.ms-header{height:70px;padding:0 20px}.ms-logo img{width:135px}.ms-logo span,.ms-header>.ms-button{display:none}.ms-menu{display:block}.ms-header nav{display:none;position:absolute;top:70px;left:0;right:0;flex-direction:column;align-items:stretch;padding:20px;background:#09080f}.ms-header nav.open{display:flex}.ms-header nav a{padding:10px}.ms-wrap{width:min(100% - 30px,1180px)}.ms-hero{min-height:760px}.ms-section{padding:80px 0}.ms-section-head,.two{grid-template-columns:1fr;gap:20px}.ms-audience,.ms-feature-grid,.ms-start ol{grid-template-columns:1fr}.ms-audience article{min-height:420px}.ms-feature-grid article{grid-template-columns:120px 1fr}.ms-showcase-list{gap:70px}.ms-showcase-list article{grid-template-columns:1fr;gap:25px}.ms-showcase-list article:nth-child(even) img{order:0}.ms-start li{border-right:0;border-bottom:1px solid var(--line)}.ms-footer .ms-wrap{grid-template-columns:1fr}.ms-footer div>div:nth-child(2){text-align:left}.ms-footer .ms-wrap>p,.ms-footer small{grid-column:auto}}@media(max-width:520px){.ms-hero h1,.ms-section h2,.ms-cta h2{font-size:48px}.ms-feature-grid article{grid-template-columns:1fr}.ms-feature-grid img{height:190px}.ms-showcase-list h3{font-size:38px}}


.ms-hero{background:#07070d;isolation:isolate}
.ms-header .brand{display:flex;align-items:center;margin-right:auto;color:#fff;font-weight:800;letter-spacing:.04em;text-decoration:none}.ms-header .site-logo{display:block;max-width:170px;max-height:52px;object-fit:contain}.ms-header .brand-text{font-size:1.7rem}.ms-footer .brand{display:inline-flex;color:#fff;font-size:1.35rem;font-weight:800}.ms-footer .site-logo{max-width:170px;max-height:60px;object-fit:contain}
.ms-hero-media{position:absolute;z-index:0;top:88px;right:0;bottom:0;width:70%;overflow:hidden}
.ms-hero-media video{position:static;display:block;width:100%;height:100%;object-fit:cover;object-position:center;opacity:.98}
.ms-hero .shade{z-index:1;background:linear-gradient(90deg,#07070d 0%,#07070dfd 25%,#07070de8 39%,#07070d8f 58%,#07070d25 82%),linear-gradient(0deg,#07070df2 0%,transparent 42%),linear-gradient(180deg,#07070d80 0%,transparent 26%)}
.ms-hero .ms-wrap{z-index:2}
.ms-hero-copy{width:min(680px,57%)}
.ms-hero[style*="--hero-layout:split"]{min-height:760px;background:#07070d}
.ms-hero[style*="--hero-layout:split"] .shade{display:none}
.ms-hero[style*="--hero-layout:split"] .ms-wrap{display:flex;align-items:center;min-height:760px;padding-right:52%}
.ms-hero[style*="--hero-layout:split"] .ms-hero-copy{width:100%;max-width:640px}
.ms-hero[style*="--hero-layout:split"] .ms-hero-media{top:50%;right:max(28px,calc((100vw - 1440px)/2));bottom:auto;width:min(49vw,720px);height:auto;aspect-ratio:16/9;transform:translateY(-50%);border:1px solid #493359;border-radius:16px;background:#100d17;box-shadow:0 30px 90px #0009}
.ms-hero[style*="--hero-layout:split"] .ms-hero-media video,.ms-hero[style*="--hero-layout:split"] .ms-hero-media img{width:100%;height:100%;object-fit:contain;opacity:1}
.ms-showcase-list article{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);align-items:center}
.ms-showcase-list article:nth-child(even){grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)}
.ms-showcase-list img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:18px}
.ms-solution{padding:72px 24px;text-align:left}
.ms-solution .ms-wrap{max-width:900px}
.ms-solution h2{margin:.2em 0;font-size:clamp(2.4rem,5vw,5rem)}
.ms-solution p:last-child{max-width:820px;margin:24px auto 0;color:#e7dfe8;font-size:1.15rem;line-height:1.7}
.ms-story blockquote cite{display:block;margin-top:18px;color:#bdadc1;font:700 .75rem/1.2 var(--sans);letter-spacing:.18em;text-transform:uppercase}
.ms-founders{background:#09090c}
.ms-founders-card{position:relative;overflow:hidden;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.7fr);gap:64px;padding:72px;border:1px solid #a8449b77;border-radius:16px;background:radial-gradient(circle at 82% 18%,#8b24465c 0,transparent 42%),linear-gradient(135deg,#190a27 0%,#35101f 55%,#160a21 100%);box-shadow:0 35px 90px #0008,inset 0 1px #f28cff22}
.ms-founders-card:after{content:"";position:absolute;width:420px;height:420px;right:-170px;bottom:-250px;border-radius:50%;background:#cf4cff22;filter:blur(18px);pointer-events:none}
.ms-founders-copy{position:relative;z-index:1}
.ms-founders-copy h2{max-width:760px;margin:.35em 0;font-size:clamp(2.35rem,4.2vw,4.6rem);line-height:.96}
.ms-founders-intro{max-width:720px;color:#d8d2dc;font-size:1.08rem;line-height:1.7}
.ms-benefits{display:grid;gap:21px;margin:34px 0 0;padding:0;list-style:none}
.ms-benefits li{display:grid;grid-template-columns:34px 1fr;gap:15px;color:#ded7e2;line-height:1.55}
.ms-benefits li:before{content:"✓";display:grid;place-items:center;width:27px;height:27px;border:2px solid #df59ee;border-radius:50%;color:#f278ff;font-weight:900}
.ms-founders-cta{display:inline-flex;margin-top:36px;align-items:center;justify-content:center;min-width:240px;text-align:center}
.ms-spots{position:relative;z-index:1;align-self:center;display:flex;min-height:430px;flex-direction:column;align-items:center;justify-content:center;padding:42px 34px;border:1px solid #b0449766;border-radius:12px;background:#170711b8;text-align:center;box-shadow:0 25px 60px #0006}
.ms-spots>span{letter-spacing:.5em;font-size:.78rem;color:#cbbdca}
.ms-spots strong{margin:22px 0 14px;font-family:var(--serif);font-size:clamp(5rem,8vw,8rem);line-height:.8;color:#ee63ff;text-shadow:0 0 35px #dc46ff55}
.ms-spots p{max-width:290px;color:#cfc6cf;line-height:1.55}
.ms-spots a{margin-top:24px;padding:12px 22px;border:1px solid #d253c577;border-radius:10px;color:#fff;text-decoration:none}
.ms-faq details{transition:background .2s ease,border-color .2s ease}
.ms-faq details[open]{background:#151019;border-color:#b94fc766}
.ms-faq summary{font-size:1.05rem}
.ms-faq details p{max-width:900px;color:#cfc9d2;line-height:1.7}
@media(max-width:900px){.ms-hero-media{top:74px;width:100%;opacity:.72}.ms-hero .shade{background:linear-gradient(90deg,#07070df5 0%,#07070da8 72%,#07070d60),linear-gradient(0deg,#07070df2 0%,transparent 50%)}.ms-hero-copy{width:min(680px,90%)}.ms-hero[style*="--hero-layout:split"]{display:flex;min-height:auto;flex-direction:column;padding:120px 0 64px}.ms-hero[style*="--hero-layout:split"] .ms-wrap{display:flex;min-height:0;flex-direction:column;align-items:stretch;gap:48px;padding-right:24px;order:1}.ms-hero[style*="--hero-layout:split"] .ms-hero-copy{width:100%;max-width:none}.ms-hero[style*="--hero-layout:split"] .ms-hero-media{position:relative;top:auto;right:auto;bottom:auto;width:calc(100% - 48px);height:auto;margin:48px 24px 0;order:2;transform:none}.ms-showcase-list article,.ms-showcase-list article:nth-child(even){grid-template-columns:1fr}.ms-showcase-list article:nth-child(even) img{order:0}.ms-founders-card{grid-template-columns:1fr;gap:38px;padding:44px 28px}.ms-spots{min-height:320px}}
@media(max-width:560px){.ms-hero-copy{width:100%}.ms-hero-media{opacity:.58}.ms-founders-card{padding:35px 21px}.ms-founders-copy h2{font-size:2.45rem}.ms-spots{padding:35px 20px}.ms-spots>span{letter-spacing:.35em}}

/* Karty cílových skupin zobrazují celý obsah uložený v administraci. */
.ms-audience article{min-height:720px}
.ms-audience article>div{padding:38px;background:linear-gradient(0deg,#09070e 12%,#09070ef2 64%,transparent 100%)}
.ms-audience p:not(.lead){display:block;margin:16px 0 0;color:#d2ced7;font-size:14px;line-height:1.7}
.ms-audience ul{display:block;margin:18px 0 0;padding-left:20px;color:#c6c1cc;font-size:13px;line-height:1.7}
.ms-audience .lead{font-size:17px;line-height:1.55}
.ms-audience article.text-top>div{inset:0;display:flex;flex-direction:column;justify-content:flex-start;background:linear-gradient(180deg,#09070ef5 0%,#09070edc 68%,#09070e99 100%)}
.ms-audience article.text-bottom>div{inset:auto 0 0}
.ms-audience article.no-media>div{background:transparent}
.ms-audience article.no-media{min-height:0;height:auto;overflow:hidden}
.ms-audience article.no-media>.ms-feature-copy{position:static;inset:auto;min-height:100%;height:auto}
.ms-audience article:not(:has(>img)):not(.has-icon){min-height:0;height:auto}
.ms-audience article:not(:has(>img)):not(.has-icon)>div{position:static;inset:auto;min-height:100%;height:auto;background:transparent}
.ms-audience article:is(.no-media,.has-icon){background:#100b18;border:1px solid #241a31}
.ms-audience article:is(.no-media,.has-icon) h3{margin:18px 0 38px;color:#f7f5f8;font-family:'DM Serif Display',serif;font-size:clamp(36px,3vw,46px);font-weight:400;line-height:1.05;letter-spacing:-.025em;overflow-wrap:anywhere}
.ms-audience article:is(.no-media,.has-icon) .lead,.ms-audience article:is(.no-media,.has-icon) p:not(.lead){margin:0;color:#aaa4b3;font-family:Poppins,sans-serif;font-size:18px;font-weight:400;line-height:1.72;letter-spacing:-.012em;overflow-wrap:anywhere}
.ms-audience article:is(.no-media,.has-icon) .audience-detail{margin-top:30px!important}
.ms-audience article:is(.no-media,.has-icon) ul{margin-top:30px;padding-left:23px;color:#aaa4b3;font-family:Poppins,sans-serif;font-size:16px;line-height:1.65}
.ms-audience article:is(.no-media,.has-icon) li+li{margin-top:9px}
.ms-feature-grid article.no-media{grid-template-columns:1fr;align-items:start}
.ms-feature-grid article.has-icon{display:block;min-height:440px;padding:42px;align-content:start}
.ms-feature-icon{position:relative;z-index:2;display:grid;place-items:center;width:74px;height:74px;margin:0 0 30px;border:2px solid var(--pink,#ef62f5);border-radius:12px;color:var(--pink,#ef62f5);background:#0b0d15aa}
.ms-feature-icon svg{display:block;width:38px;height:38px}
.ms-feature-grid article.has-icon .ms-feature-copy{max-width:850px}
.ms-audience article.has-icon{padding:38px;background:#171020}
.ms-audience article.has-icon>.ms-feature-copy{position:static;padding:0;background:transparent}
.ms-showcase-list article.has-icon{display:block;min-height:520px;padding:55px;border:1px solid #392b48;border-radius:18px;background:#171020;color:#f4f1fa}
.ms-showcase-list article.has-icon>.ms-feature-copy{max-width:720px}
.ms-showcase-list article.no-media{display:block;min-height:520px;padding:55px;border:1px solid #392b48;border-radius:18px;background:#171020;color:#f4f1fa}
.ms-showcase-list article.no-media>div{max-width:720px}
.ms-showcase.ms-showcase-dark{background:#0d0b13;color:#f7f5f8}
.ms-showcase.ms-showcase-dark .ms-section-head>p:last-child{color:#aaa4b3}
.ms-showcase.ms-showcase-dark .ms-showcase-list article{color:#f7f5f8}
.ms-showcase.ms-showcase-dark .ms-showcase-list p,.ms-showcase.ms-showcase-dark .ms-showcase-list li{color:#aaa4b3}
.ms-showcase.ms-showcase-light{background:var(--paper);color:#17141c}

/* Vzhled z administrace má přednost před výchozím pozadím jednotlivých typů sekcí. */
.ms-section[style*="--section-appearance:dark"],.ms-cta[style*="--section-appearance:dark"],.ms-solution[style*="--section-appearance:dark"]{background-color:#0d0b13;color:#f7f5f8}
.ms-section[style*="--section-appearance:light"],.ms-cta[style*="--section-appearance:light"],.ms-solution[style*="--section-appearance:light"]{background-color:#f4f1eb;color:#17141c}
.ms-section[style*="--section-appearance:dark"] .ms-section-head>p:last-child{color:#aaa4b3}
.ms-story[style*="--section-appearance:dark"] p{color:#c7c1cc}
.ms-story[style*="--section-appearance:dark"] blockquote{color:#f7f5f8}
.ms-story[style*="--section-appearance:light"] p{color:#4d4852}
.ms-start[style*="--section-appearance:dark"] li p,.ms-faq[style*="--section-appearance:dark"] details p{color:#c7c1cc}
.ms-start[style*="--section-appearance:light"] li p,.ms-faq[style*="--section-appearance:light"] details p{color:#5f5964}
.ms-faq[style*="--section-appearance:light"] details[open]{background:#fff;border-color:#d7ceda}
.ms-faq[style*="--section-appearance:light"] summary{color:#17141c}
@media(max-width:850px){.ms-audience article{min-height:0}.ms-audience article>div{padding:46px}.ms-audience article:is(.no-media,.has-icon){min-height:0}.ms-audience article:is(.no-media,.has-icon) h3{margin-bottom:44px;font-size:clamp(42px,10vw,58px)}.ms-audience article:is(.no-media,.has-icon) .lead,.ms-audience article:is(.no-media,.has-icon) p:not(.lead){font-size:clamp(21px,5vw,28px);line-height:1.75}.ms-audience article:is(.no-media,.has-icon) ul{font-size:clamp(18px,4.5vw,24px);line-height:1.65}}
@media(max-width:520px){.ms-audience article>div{padding:34px 28px}.ms-audience article:is(.no-media,.has-icon){min-height:0}.ms-audience article:is(.no-media,.has-icon) h3{margin-bottom:34px}.ms-audience article:is(.no-media,.has-icon) .audience-detail,.ms-audience article:is(.no-media,.has-icon) ul{margin-top:30px!important}}


/* Rozšířená patička MyStudio – obsah je napojený na Vzhled a globální prvky. */
.ms-footer{padding:78px 0 0;background:#030305;border-top:1px solid #ffffff14}
.ms-footer .ms-footer-grid{display:grid;grid-template-columns:minmax(240px,1.4fr) repeat(3,minmax(150px,1fr));gap:54px;align-items:start}
.ms-footer section{min-width:0}
.ms-footer h3{margin:0 0 20px;color:#f4f1f6;font-size:14px;font-weight:600;letter-spacing:.02em}
.ms-footer .ms-footer-brand p{max-width:390px;margin:24px 0 0;color:#8e8994;font-size:13px;line-height:1.75}
.ms-footer .ms-footer-contact,.ms-footer .ms-footer-legal{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.ms-footer .ms-footer-contact p{margin:0 0 4px;color:#8e8994;font-size:13px;line-height:1.7}
.ms-footer .ms-footer-contact a,.ms-footer .ms-footer-legal a{color:#bdb8c3;font-size:13px;line-height:1.55;transition:color .2s ease}
.ms-footer .ms-footer-contact a:hover,.ms-footer .ms-footer-legal a:hover{color:var(--pink)}
.ms-footer-social-links{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
.ms-footer-social-links a{display:inline-flex;align-items:center;gap:11px;color:#bdb8c3;font-size:13px;transition:color .2s ease}
.ms-footer-social-links a:hover{color:var(--pink)}
.ms-footer-social-links svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}
.ms-footer-social-links svg .fill{fill:currentColor;stroke:none}
.ms-footer-social-links svg .fill-paper{fill:#030305;stroke:none}




@media(max-width:980px){.ms-footer .ms-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:46px}.ms-footer .ms-footer-brand{grid-column:1/-1}.ms-footer .ms-footer-brand p{max-width:600px}}
@media(max-width:620px){.ms-footer{padding-top:56px}.ms-footer .ms-footer-grid{grid-template-columns:1fr;gap:38px}.ms-footer .ms-footer-brand{grid-column:auto}.ms-footer .ms-footer-contact,.ms-footer .ms-footer-legal,.ms-footer-social-links{align-items:flex-start}}

/* Modul Ceník MyStudio — používá typografii a rozvržení společné šablony. */
.ms-pricing{background:#0d1016;color:#f4f2ef}
/* Hlavička je zároveň .ms-section-head: žádné vlastní velikosti H2, textu ani kontejneru. */
.ms-pricing-head h2 em{color:#efb35d;font-weight:400}
.ms-pricing-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ms-price-card{display:flex;min-height:540px;flex-direction:column;padding:38px 34px 34px;border:1px solid #29313f;border-radius:18px;background:#141923}
.ms-price-card.is-highlighted{border-color:#9a661d;background:linear-gradient(145deg,#18140f,#121721 56%);box-shadow:inset 0 1px #e8a53b20}
.ms-plan-name{margin:0 0 22px;color:#b8b7bc;font:600 11px/1.2 Poppins,sans-serif;letter-spacing:.19em;text-transform:uppercase}
.ms-price-card.is-highlighted .ms-plan-name{color:#efa52f}
.ms-plan-price{display:flex;align-items:baseline;gap:7px}
.ms-plan-price strong{font:400 clamp(42px,4.2vw,58px)/1 'DM Serif Display',serif}
.ms-plan-price span{color:#777982;font-size:13px}
.ms-plan-note{margin:10px 0 30px;color:#777982;font:13px/1.5 monospace;letter-spacing:.04em}
.ms-price-card ul{display:grid;gap:17px;margin:0 0 34px;padding:0;list-style:none;color:#aaa9ae;font-size:14px;line-height:1.55}
.ms-price-card li{display:grid;grid-template-columns:12px 1fr;gap:11px}
.ms-price-card li:before{content:"—";color:#ef9f34;font-weight:700}
.ms-price-button{display:block;margin-top:auto;padding:15px 20px;border:1px solid #303846;border-radius:9px;color:#f5f3ef;text-align:center;text-decoration:none;font-size:14px;font-weight:700;transition:transform .2s ease,background .2s ease}
.ms-price-card.is-highlighted .ms-price-button{border-color:#efa52f;background:#efa52f;color:#090b0f}
.ms-price-button:hover{transform:translateY(-2px)}
@media(max-width:850px){.ms-pricing-grid{grid-template-columns:1fr}.ms-price-card{min-height:0}}
@media(max-width:520px){.ms-price-card{padding:30px 24px}.ms-plan-price strong{font-size:44px}}

/* ==========================================================
   Jednotné rozestupy hlaviček sekcí
   Stejný systém pro Ceník, Pro koho, Funkce, Ukázky, FAQ atd.
   ========================================================== */
.ms-section-head{
  row-gap:52px;
  margin-bottom:72px;
}
.ms-section-head>.kicker{
  margin:0;
}
.ms-section-head>h2{
  margin:0;
}
.ms-section-head>p:last-child{
  align-self:start;
  margin:4px 0 0;
}

/* Ceník nepoužívá vlastní mezery v hlavičce. */
.ms-pricing-head{
  row-gap:52px;
  margin-bottom:72px;
}
.ms-pricing-head>h2,
.ms-pricing-head>p:last-child{
  margin-top:0;
}

@media(max-width:850px){
  .ms-section-head,
  .ms-pricing-head{
    row-gap:0;
    margin-bottom:48px;
  }
  .ms-section-head>.kicker,
  .ms-pricing-head>.kicker{
    margin-bottom:30px;
  }
  .ms-section-head>h2,
  .ms-pricing-head>h2{
    margin-bottom:26px;
  }
  .ms-section-head>p:last-child,
  .ms-pricing-head>p:last-child{
    margin:0;
  }
}

/* v1.0.4 – hlavičky sekcí podle dodané referenční HTML šablony */
.ms-section{padding:104px 0}
.ms-section .ms-section-head{
  display:block;
  max-width:680px;
  margin:0 0 56px;
}
.ms-section .ms-section-head .kicker{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 14px;
  color:#e8a33d;
  font-family:'DM Mono',ui-monospace,monospace;
  font-size:12.5px;
  font-weight:500;
  letter-spacing:.14em;
  line-height:1.2;
  text-transform:uppercase;
}
.ms-section .ms-section-head .kicker::before{
  content:"";
  flex:0 0 26px;
  width:26px;
  height:1px;
  background:#e8a33d;
}
.ms-section .ms-section-head h2{
  max-width:680px;
  margin:0 0 18px;
  font-family:'DM Serif Display',Georgia,serif;
  font-size:clamp(30px,3.6vw,42px);
  font-weight:400;
  line-height:1.15;
  letter-spacing:-.01em;
}
.ms-section .ms-section-head>p:last-child{
  max-width:680px;
  margin:0;
  color:#a9a7ab;
  font-size:17.5px;
  line-height:1.7;
}
.ms-section .ms-section-head>p:last-child+p{margin-top:14px}

/* Ceník používá úplně stejnou hlavičku jako ostatní sekce. */
.ms-pricing .ms-section-head,
.ms-pricing-section .ms-section-head,
.pricing-section .ms-section-head{
  max-width:680px;
  margin-bottom:56px;
}
.ms-pricing .ms-section-head h2,
.ms-pricing-section .ms-section-head h2,
.pricing-section .ms-section-head h2{
  max-width:680px;
  margin-bottom:18px;
  font-size:clamp(30px,3.6vw,42px);
  line-height:1.15;
}

@media(max-width:850px){
  .ms-section{padding:72px 0}
  .ms-section .ms-section-head{margin-bottom:44px}
  .ms-section .ms-section-head h2{font-size:clamp(30px,8vw,42px)}
  .ms-section .ms-section-head>p:last-child{font-size:16.5px}
}

/* v1.0.5 – sekce Příběh / Proč MyStudio existuje používá stejnou typografii jako ostatní sekce. */
.ms-story .ms-wrap.two > div:first-child .kicker{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 14px;
  color:#e8a33d !important;
  font-family:'DM Mono',ui-monospace,monospace;
  font-size:12.5px;
  font-weight:500;
  letter-spacing:.14em;
  line-height:1.2;
  text-transform:uppercase;
}
.ms-story .ms-wrap.two > div:first-child .kicker::before{
  content:"";
  flex:0 0 26px;
  width:26px;
  height:1px;
  background:#e8a33d;
}
.ms-story .ms-wrap.two > div:first-child h2{
  max-width:680px;
  margin:0;
  font-family:'DM Serif Display',Georgia,serif;
  font-size:clamp(30px,3.6vw,42px) !important;
  font-weight:400;
  line-height:1.15;
  letter-spacing:-.01em;
}
@media(max-width:850px){
  .ms-story .ms-wrap.two > div:first-child h2{
    font-size:clamp(30px,8vw,42px) !important;
  }
}


/* =========================================================
   MyStudio comparison module
   ========================================================= */
.ms-comparison{background:var(--ms-bg,#0b0c10)}
.ms-comparison-head{max-width:680px}
.ms-comparison-head h2 em{font-style:italic;color:var(--ms-gold-soft,#f2c078)}
.ms-comparison-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #252a37;border-radius:14px;background:#151821;margin-top:56px}
.ms-comparison-table{width:100%;min-width:850px;border-collapse:collapse;table-layout:fixed;font-size:14px}
.ms-comparison-table th,.ms-comparison-table td{padding:17px 18px;border-bottom:1px solid #1d2230;vertical-align:middle;text-align:center;color:#a9a7ab}
.ms-comparison-table thead th{font-family:var(--ms-mono,'DM Mono',monospace);font-size:12px;letter-spacing:.11em;text-transform:uppercase;font-weight:500;color:#a9a7ab}
.ms-comparison-table thead th:first-child{width:22%;text-align:left}
.ms-comparison-table tbody th{text-align:left;color:#eceae4;font-weight:600;font-size:14px;width:22%}
.ms-comparison-table tr:last-child th,.ms-comparison-table tr:last-child td{border-bottom:0}
.ms-comparison-table .is-highlighted{background:rgba(232,163,61,.055)}
.ms-comparison-table thead .is-highlighted{color:#e8a33d}
.ms-comparison-value{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:36px;line-height:1.45}
.ms-comparison-icon{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-family:var(--ms-mono,'DM Mono',monospace);font-size:14px;line-height:1}
.status-yes .ms-comparison-icon{color:#f2c078;background:rgba(232,163,61,.16);border:1px solid rgba(232,163,61,.42)}
.status-no .ms-comparison-icon{color:#6e6d75;background:rgba(255,255,255,.025);border:1px solid #252a37}
.status-part .ms-comparison-icon{color:#a9a7ab;background:rgba(255,255,255,.035);border:1px solid #252a37}
.ms-comparison-text{font-size:12px;color:#a9a7ab;max-width:155px}
.is-highlighted .ms-comparison-text{color:#eceae4}
.status-text .ms-comparison-text{font-size:13px;max-width:175px}
.ms-comparison-note{font-family:var(--ms-mono,'DM Mono',monospace);font-size:12px;line-height:1.65;color:#6e6d75;max-width:900px;margin:16px 0 0}
.ms-comparison-fair{max-width:860px;margin-top:34px;padding:28px 30px;background:#151821;border:1px solid #252a37;border-radius:14px}
.ms-comparison-fair-title{margin:0 0 12px!important;font-family:var(--ms-mono,'DM Mono',monospace);font-size:12px!important;letter-spacing:.12em;text-transform:uppercase;color:#e8a33d!important}
.ms-comparison-fair div{font-size:15px;line-height:1.7;color:#a9a7ab}
@media(max-width:700px){.ms-comparison-scroll{margin-top:38px;margin-left:-18px;margin-right:-18px;border-radius:0;border-left:0;border-right:0}.ms-comparison-table th,.ms-comparison-table td{padding:14px 12px}.ms-comparison-fair{padding:23px 20px}.ms-comparison-note{font-size:11px}}

/* v1.0.1 – jemné typografické doladění modulu Ceník */
.ms-pricing .ms-price-card{
  min-height:510px;
  padding:34px 30px 30px;
}
.ms-pricing .ms-plan-name{
  margin-bottom:18px;
}
.ms-pricing .ms-plan-price{
  gap:8px;
}
.ms-pricing .ms-plan-price strong{
  font-size:clamp(38px,3.6vw,48px);
  line-height:1.02;
}
.ms-pricing .ms-plan-price span{
  position:relative;
  top:-1px;
  font-size:12px;
  line-height:1.2;
}
.ms-pricing .ms-plan-note{
  margin:9px 0 26px;
  font-size:12.5px;
  line-height:1.5;
}
.ms-pricing .ms-price-card ul{
  gap:14px;
  margin-bottom:28px;
  font-size:13.5px;
}
.ms-pricing .ms-price-button{
  padding:13px 18px;
  font-size:13.5px;
}
@media(max-width:520px){
  .ms-pricing .ms-price-card{padding:28px 22px;min-height:0}
  .ms-pricing .ms-plan-price strong{font-size:40px}
}

/* ==========================================================
   v1.2.0 — stabilizace šablony a kompaktní patička
   ========================================================== */

/* Jednotná hlavička všech běžných produktových sekcí. */
.ms-section .ms-section-head,
.ms-pricing .ms-section-head,
.ms-comparison .ms-section-head{
  display:block;
  max-width:680px;
  margin:0 0 56px;
}
.ms-section .ms-section-head .kicker,
.ms-story .ms-wrap.two > div:first-child .kicker{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 14px;
  color:#e8a33d!important;
  font-family:'DM Mono',ui-monospace,monospace;
  font-size:12.5px;
  font-weight:500;
  letter-spacing:.14em;
  line-height:1.2;
  text-transform:uppercase;
}
.ms-section .ms-section-head .kicker::before,
.ms-story .ms-wrap.two > div:first-child .kicker::before{
  content:"";
  flex:0 0 26px;
  width:26px;
  height:1px;
  background:#e8a33d;
}
.ms-section .ms-section-head h2,
.ms-story .ms-wrap.two > div:first-child h2{
  max-width:680px;
  margin:0 0 18px;
  font-family:'DM Serif Display',Georgia,serif;
  font-size:clamp(30px,3.6vw,42px);
  font-weight:400;
  line-height:1.15;
  letter-spacing:-.01em;
}
.ms-section .ms-section-head>p:last-child{
  max-width:680px;
  margin:0;
  color:#a9a7ab;
  font-size:17.5px;
  line-height:1.7;
}

/* Ceník: cena výrazná, ale ne větší než hierarchie sekce. */
.ms-pricing .ms-plan-price strong{
  font-size:clamp(38px,3.5vw,46px);
  line-height:1;
}
.ms-pricing .ms-plan-price span{
  font-size:13px;
  line-height:1.25;
}
.ms-pricing .ms-price-card{
  min-height:500px;
  padding:34px 32px 30px;
}
.ms-pricing .ms-price-card ul{gap:14px}
.ms-pricing .ms-price-button{padding:13px 18px}

@media(max-width:850px){
  .ms-section .ms-section-head{margin-bottom:44px}
  .ms-section .ms-section-head>p:last-child{font-size:16.5px}
  .ms-pricing .ms-price-card{min-height:0;padding:28px 22px}
  .ms-pricing .ms-plan-price strong{font-size:40px}
}


/* Footer component: single source of truth. */
.ms-footer{padding:78px 0 0;background:#030305;border-top:1px solid #ffffff14}
.ms-footer .ms-footer-grid{display:grid;grid-template-columns:minmax(240px,1.4fr) repeat(3,minmax(150px,1fr));gap:54px;align-items:start}
.ms-footer section{min-width:0}
.ms-footer h3{margin:0 0 20px;color:#f4f1f6;font-size:14px;font-weight:600;letter-spacing:.02em}
.ms-footer .ms-footer-brand p{max-width:390px;margin:24px 0 0;color:#8e8994;font-size:13px;line-height:1.75}
.ms-footer .ms-footer-contact,.ms-footer .ms-footer-legal{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.ms-footer .ms-footer-contact p{margin:0 0 4px;color:#8e8994;font-size:13px;line-height:1.7}
.ms-footer .ms-footer-contact a,.ms-footer .ms-footer-legal a{color:#bdb8c3;font-size:13px;line-height:1.55;transition:color .2s ease}
.ms-footer .ms-footer-contact a:hover,.ms-footer .ms-footer-legal a:hover{color:var(--pink)}
.ms-footer-social-links{display:flex;flex-direction:column;align-items:flex-start;gap:11px}
.ms-footer-social-links a{display:inline-flex;align-items:center;gap:11px;color:#bdb8c3;font-size:13px;transition:color .2s ease}
.ms-footer-social-links a:hover{color:var(--pink)}
.ms-footer-social-links svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7}
.ms-footer-social-links svg .fill{fill:currentColor;stroke:none}
.ms-footer-social-links svg .fill-paper{fill:#030305;stroke:none}
.ms-footer .ms-footer-meta{display:flex;align-items:center;justify-content:space-between;gap:32px;width:100%;margin-top:58px;padding:22px 0 34px;border-top:1px solid #ffffff12}
.ms-footer .ms-footer-meta p{max-width:900px;margin:0;color:#74707a;font-size:12px;line-height:1.7}
.ms-footer .ms-footer-meta small{flex:0 0 auto;margin:0;color:#5f5a64;font-size:11px;white-space:nowrap}
@media(max-width:980px){.ms-footer .ms-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:46px}.ms-footer .ms-footer-brand{grid-column:1/-1}.ms-footer .ms-footer-brand p{max-width:600px}}
@media(max-width:620px){.ms-footer{padding-top:56px}.ms-footer .ms-footer-grid{grid-template-columns:1fr;gap:38px}.ms-footer .ms-footer-brand{grid-column:auto}.ms-footer .ms-footer-meta{align-items:flex-start;flex-direction:column;gap:12px;margin-top:42px;padding-bottom:28px}.ms-footer .ms-footer-contact,.ms-footer .ms-footer-legal,.ms-footer-social-links{align-items:flex-start}.ms-footer .ms-footer-meta small{white-space:normal}}

/* Obecné obsahové sekce respektují vzhled nastavený v editoru. */
.ms-generic-section> .ms-wrap{position:relative}
.ms-generic-section p:not(.kicker){color:inherit;opacity:.78;line-height:1.75}
.ms-image-text-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:64px;align-items:center}
.ms-image-text-media img,.ms-image-text-media video{display:block;width:100%;max-height:560px;object-fit:cover;border-radius:16px}
.ms-html-section{overflow:hidden}
.ms-html-section> .ms-wrap{max-width:1180px}
@media(max-width:850px){.ms-image-text-grid{grid-template-columns:1fr;gap:32px}}


/* Mír CMS section editor audit 2.4.0 — all section types follow the active MyStudio design system. */
.ms-section-head{max-width:none;text-align:left}
.ms-section-head h2,.ms-generic-section h2,.ms-image-text-section h2,.ms-contact-section h2{margin:15px 0 22px;font:clamp(42px,5vw,68px)/1.02 'DM Serif Display',serif;letter-spacing:-.03em}
.ms-section-head>p:last-child{max-width:680px}
.ms-appearance-light{color:#17141c}
.ms-appearance-light .ms-section-head>p:last-child,.ms-appearance-light p,.ms-appearance-light li{color:#68636d}
.ms-appearance-dark,.ms-appearance-accent{color:#f7f5f8}
.ms-appearance-dark .ms-section-head>p:last-child,.ms-appearance-dark p,.ms-appearance-dark li,
.ms-appearance-accent .ms-section-head>p:last-child,.ms-appearance-accent p,.ms-appearance-accent li{color:#aaa5b0}
.ms-appearance-light .kicker,.ms-appearance-dark .kicker,.ms-appearance-accent .kicker{color:#e9a536}
.ms-generic-section,.ms-builder-cards-section,.ms-process-section,.ms-services-section,.ms-service-pricing-section,.ms-works-section,.ms-gallery-section,.ms-testimonials-section,.ms-courses-section,.ms-contact-section{background-repeat:no-repeat;background-position:center;background-size:cover}
.ms-builder-cards,.ms-service-grid,.ms-testimonial-grid,.ms-course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ms-builder-cards article,.ms-service-grid article,.ms-testimonial-grid blockquote,.ms-course-grid article{margin:0;padding:34px;border:1px solid #ffffff18;border-radius:16px;background:#14121a}
.ms-appearance-light .ms-builder-cards article,.ms-appearance-light .ms-service-grid article,.ms-appearance-light .ms-testimonial-grid blockquote,.ms-appearance-light .ms-course-grid article{border-color:#1b182018;background:#fff}
.ms-builder-cards article>span,.ms-service-grid article>span{color:#e9a536;font-size:11px;font-weight:700;letter-spacing:.16em}
.ms-builder-cards h3,.ms-service-grid h3,.ms-works-list h3,.ms-course-grid h3{margin:18px 0 12px;font:30px/1.08 'DM Serif Display',serif}
.ms-builder-cards strong,.ms-service-grid strong,.ms-course-grid strong{display:block;margin-top:18px;color:#e9a536}
.ms-process-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;padding:0;list-style:none;border-top:1px solid #ffffff20}
.ms-process-list li{display:grid;grid-template-columns:auto 1fr;gap:20px;padding:36px 28px;border-right:1px solid #ffffff20}
.ms-process-list li:last-child{border-right:0}.ms-process-list>li>span{color:#e9a536;font-weight:700}.ms-process-list h3{margin:0 0 12px;font:28px/1.1 'DM Serif Display',serif}.ms-process-list small{color:#e9a536}
.ms-appearance-light .ms-process-list,.ms-appearance-light .ms-process-list li{border-color:#1b182020}
.ms-service-price-list{margin:0 0 28px;border-top:1px solid #ffffff1c}.ms-service-price-list>div{display:flex;justify-content:space-between;gap:30px;padding:18px 0;border-bottom:1px solid #ffffff1c}.ms-service-price-list strong{color:#e9a536}
.ms-appearance-light .ms-service-price-list,.ms-appearance-light .ms-service-price-list>div{border-color:#1b182020}
.ms-works-list{display:grid;gap:16px}.ms-works-list article{display:grid;grid-template-columns:1fr minmax(240px,420px);gap:32px;align-items:center;padding:28px;border:1px solid #ffffff18;border-radius:16px;background:#14121a}.ms-works-list article>div>span{color:#e9a536;font-size:11px;letter-spacing:.14em}.ms-works-list audio{width:100%}
.ms-appearance-light .ms-works-list article{border-color:#1b182018;background:#fff}
.ms-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ms-gallery-grid figure{margin:0}.ms-gallery-grid img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px}.ms-gallery-grid figcaption{padding:10px 2px;color:#88838d;font-size:12px}
.ms-testimonial-grid blockquote p{font:25px/1.5 'DM Serif Display',serif;color:inherit}.ms-testimonial-grid footer{display:flex;flex-direction:column;gap:4px;margin-top:24px}.ms-testimonial-grid footer span{color:#8d8992;font-size:12px}
.ms-course-grid article{padding:0;overflow:hidden}.ms-course-grid a{display:block;padding:24px}.ms-course-grid img{width:calc(100% + 48px);height:220px;margin:-24px -24px 24px;object-fit:cover}
.ms-contact-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(420px,1.2fr);gap:72px;align-items:start}.ms-contact-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ms-contact-form label{display:grid;gap:8px;font-size:13px}.ms-contact-form input,.ms-contact-form select,.ms-contact-form textarea{width:100%;padding:14px 15px;border:1px solid #ffffff25;border-radius:8px;background:#0e0c13;color:#fff;font:inherit}.ms-contact-form .full{grid-column:1/-1}.ms-appearance-light .ms-contact-form input,.ms-appearance-light .ms-contact-form select,.ms-appearance-light .ms-contact-form textarea{border-color:#1b182025;background:#fff;color:#17141c}
.ms-html-section{text-align:left}.ms-html-section>.ms-wrap>:first-child{margin-top:0}.ms-html-section>.ms-wrap>:last-child{margin-bottom:0}
@media(max-width:900px){.ms-builder-cards,.ms-service-grid,.ms-testimonial-grid,.ms-course-grid{grid-template-columns:1fr 1fr}.ms-process-list{grid-template-columns:1fr}.ms-process-list li{border-right:0;border-bottom:1px solid #ffffff20}.ms-works-list article,.ms-contact-grid{grid-template-columns:1fr}.ms-gallery-grid{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.ms-builder-cards,.ms-service-grid,.ms-testimonial-grid,.ms-course-grid,.ms-gallery-grid{grid-template-columns:1fr}.ms-contact-form{grid-template-columns:1fr}.ms-contact-form .full{grid-column:auto}}
