/*
Theme Name: Matilda Journal
Theme URI: https://matildaleijon.com/
Author: Matilda Leijon
Description: An editorial block theme for Matilda Leijon, with warm paper tones, photographic stories and an optional one-time content setup.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: matilda-journal
*/
:root{--ml-paper:#f4f1ea;--ml-ink:#292d26;--ml-muted:#727267;--ml-line:#d8d6cb;--ml-green:#34483c;--ml-serif:'Cormorant Garamond',Georgia,serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0}.wp-site-blocks{padding:0}.wp-site-blocks>*,.ml-main>*,.entry-content>*{margin-block-start:0}.ml-main{overflow:clip}a{color:inherit}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:400}.ml-wrap{width:90%;max-width:1320px;margin-left:auto!important;margin-right:auto!important}.ml-eyebrow{font:600 10px/1.7 'DM Sans',Arial,sans-serif;letter-spacing:2.4px;text-transform:uppercase;margin:0 0 14px}.ml-header{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:24px}.ml-brand{font:400 30px/1.05 var(--ml-serif);letter-spacing:1px;margin:0}.ml-brand a{text-decoration:none}.ml-identity>.ml-eyebrow{font-size:8px;letter-spacing:3px;margin-top:9px;margin-bottom:0}.ml-nav{font-size:12px}.ml-nav .wp-block-navigation__container{gap:28px}.ml-nav a{text-decoration:none}.ml-nav .wp-block-navigation-item:last-child>a{padding:10px 18px;border:1px solid #a7ad9e}.ml-hero{position:relative;isolation:isolate;background:#24443b;color:#fff;min-height:640px;display:flex;align-items:center;padding:80px 0 95px}.ml-hero-image{position:absolute!important;inset:0!important;margin:0!important;height:100%;width:100%;z-index:-2}.ml-hero-image img{height:100%;width:100%;object-fit:cover}.ml-hero:not(.ml-hero-plain):after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(12,32,27,.65),rgba(12,32,27,.1)),linear-gradient(0deg,rgba(12,32,27,.22),transparent 65%)}.ml-hero h1{font:400 clamp(60px,7.8vw,116px)/1.02 var(--ml-serif);letter-spacing:-3px;max-width:1000px;margin:20px 0 26px}.ml-hero-intro{max-width:440px;font-size:15px;line-height:1.8;color:#e8eae2}.ml-hero-plain{background:#e7e4da;color:var(--ml-ink);min-height:410px}.ml-hero-plain .ml-hero-intro{color:#62675c;max-width:650px}.ml-hero-plain h1{font-size:clamp(50px,6vw,90px)}.ml-section{padding-top:85px;padding-bottom:85px}.ml-section>h2,.ml-story h2,.ml-about h2,.ml-cta h2{font-size:clamp(42px,4.8vw,70px);line-height:1.05;letter-spacing:-1.7px;margin:16px 0 30px}.ml-intro{display:grid;grid-template-columns:1fr 2.5fr;gap:60px;padding-top:85px;padding-bottom:85px;border-bottom:1px solid var(--ml-line)}.ml-intro h2{font-size:clamp(34px,3.8vw,55px);line-height:1.1;letter-spacing:-1px;margin:0 0 25px}.ml-intro p:not(.ml-eyebrow){font-size:14px;color:var(--ml-muted);max-width:580px}.ml-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:45px 32px}.ml-card{min-width:0}.ml-card figure{height:360px;margin:0 0 25px;overflow:hidden}.ml-card img{height:100%;width:100%;object-fit:cover;transition:transform .6s}.ml-card:hover img{transform:scale(1.025)}.ml-card h3{font-size:35px;line-height:1.1;margin:8px 0 15px}.ml-card h3 a{text-decoration:none}.ml-card p:not(.ml-eyebrow):not(.ml-link){font-size:14px;color:#65685c}.ml-card .ml-eyebrow{color:var(--ml-muted);margin-bottom:8px}.ml-link{font-size:12px;margin-top:22px}.ml-link a{display:inline-flex;align-items:center;gap:30px;padding:11px 0;border-bottom:1px solid currentColor;text-decoration:none}.ml-link span{font-size:21px;line-height:1}.ml-about{display:grid;grid-template-columns:1fr 1fr;gap:9vw;align-items:center;padding:80px 0 100px}.ml-about .ml-portrait{height:570px;margin:0;box-shadow:-22px 22px 0 #e4dfd2}.ml-portrait img{height:100%;width:100%;object-fit:cover}.ml-about-copy p:not(.ml-eyebrow):not(.ml-link){font-size:14px;color:var(--ml-muted);max-width:440px;margin-bottom:18px}.ml-shade{background:#e7e4da}.ml-shade .ml-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.ml-shade .ml-card figure{height:300px}.ml-cta{background:var(--ml-green);color:#f5f1e8;text-align:center;padding:90px 6vw}.ml-cta h2{max-width:760px;margin-left:auto;margin-right:auto}.ml-cta>p:not(.ml-eyebrow):not(.ml-link){font-size:14px;color:#d0d5c9;max-width:650px;margin-left:auto;margin-right:auto}.ml-cta .ml-link a{color:inherit}.ml-story{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr);gap:8vw;padding-top:85px;padding-bottom:45px}.ml-story:not(:has(.ml-facts)){display:block;max-width:850px}.ml-story-copy>p:not(.ml-eyebrow):not(.ml-link){font-size:16px;color:#63685f;margin:22px 0}.ml-facts{border-top:1px solid var(--ml-ink);padding-top:24px;align-self:start}.ml-fact{border-bottom:1px solid var(--ml-line);padding:17px 0}.ml-fact .ml-eyebrow{font-size:9px;margin-bottom:6px}.ml-fact p:not(.ml-eyebrow){font-size:13px;margin:0}.ml-gallery{gap:18px!important;margin-top:35px}.ml-gallery figure{min-height:240px}.ml-gallery img{object-fit:cover}.ml-photo-placeholder{background:#dfded2;min-height:300px;display:flex;align-items:center;justify-content:center;margin-bottom:25px}.ml-image-hint{font-size:12px;letter-spacing:1px;color:#737769}.ml-price{border-top:1px solid #90988b;padding:28px 0}.ml-price h3{font-size:36px;margin:0 0 20px}.ml-price p{font-size:15px}.ml-contact-copy{max-width:700px}.ml-contact-copy h2{font-size:55px}.ml-form{max-width:780px;padding-bottom:90px}.ml-form input,.ml-form textarea{width:100%;border:1px solid #a8ac9f;background:transparent;color:var(--ml-ink);padding:14px;font:inherit;border-radius:0!important}.ml-form button,.ml-form input[type=submit]{background:var(--ml-green);color:white;border:0;padding:14px 30px;cursor:pointer}.ml-form input[type=checkbox]{width:auto}.ml-footer{display:grid;grid-template-columns:1fr 1fr;gap:30px;padding:45px 0 25px}.ml-footer-links{display:flex;flex-wrap:wrap;gap:25px;justify-content:flex-end}.ml-footer-links .ml-link{margin:0}.ml-copyright{grid-column:1/-1;border-top:1px solid var(--ml-line);padding-top:20px;color:var(--ml-muted);font-size:10px;margin:0}.wp-block-post-title{font-size:clamp(46px,6vw,85px)}a:focus-visible,button:focus-visible{outline:3px solid #b3884d;outline-offset:5px}.wp-block-navigation__responsive-container.is-menu-open{background:var(--ml-paper);color:var(--ml-ink);padding:30px}.editor-styles-wrapper .ml-hero-image{pointer-events:auto}.editor-styles-wrapper .ml-hero{isolation:auto}.editor-styles-wrapper .ml-hero-image{position:relative!important;z-index:auto;height:250px}.editor-styles-wrapper .ml-hero{display:block}.editor-styles-wrapper .ml-hero:after{display:none}.editor-styles-wrapper .ml-hero-inner{position:relative}.ml-form a{text-decoration:underline}@media(max-width:780px){.ml-wrap{width:88%}.ml-header{min-height:82px}.ml-brand{font-size:25px}.ml-hero{min-height:580px;padding:65px 0}.ml-hero h1{font-size:64px;letter-spacing:-2px}.ml-hero-plain{min-height:350px}.ml-hero-plain h1{font-size:54px}.ml-intro,.ml-about,.ml-story{grid-template-columns:1fr;gap:28px;padding-top:55px;padding-bottom:55px}.ml-section{padding-top:55px;padding-bottom:55px}.ml-cards,.ml-shade .ml-cards{grid-template-columns:1fr;gap:35px}.ml-card figure{height:330px}.ml-about .ml-portrait{height:440px;margin-left:18px}.ml-cta{padding:60px 6vw}.ml-facts{margin-top:15px}.ml-footer{grid-template-columns:1fr}.ml-footer-links{justify-content:flex-start}.ml-gallery{gap:10px!important}.ml-gallery figure{min-height:180px}.ml-contact-copy h2{font-size:42px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media(max-width:780px){.ml-nav .wp-block-navigation__responsive-container:not(.is-menu-open){display:none!important}.ml-nav .wp-block-navigation__responsive-container-open{display:flex!important}}
