/*
Theme Name: Math for Breakfast
Version: 1.0.0
Description: A faithful WordPress migration of Math for Breakfast.
*/
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;font-family:Helvetica,Arial,sans-serif;color:#5e5e5e;font-size:16px;line-height:1.5}button,input,textarea{font:inherit}img{max-width:100%;display:block}a{color:inherit}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:400}h1{font-size:32px;line-height:1.25;color:#161616;margin-bottom:24px}h2{font-size:32px;line-height:1.4;color:#018795;margin-bottom:40px}h3{font-size:22px;line-height:1.25;color:#1b1b1b;margin-bottom:24px}p{line-height:1.5}p:has(>br:only-child){min-height:1.5em}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #018795;outline-offset:4px}.container{max-width:1112px;margin:0 auto}.narrow{max-width:725.33px;margin:0 auto}.site-header{height:165px;padding:24px 48px;display:flex;align-items:center;justify-content:space-between}.site-header img{height:117px;width:auto;max-width:310px;object-fit:contain}.button{display:inline-flex;min-height:56px;padding:8px 32px;align-items:center;justify-content:center;background:#161616;color:#dbdbdb;font-size:14px;font-weight:700;letter-spacing:1px;text-decoration:none;border:0;cursor:pointer;line-height:1.5}.button:hover{filter:brightness(.88)}.header-button{background:#e2e2e2;color:#1b1b1b}.hero{width:100%;height:auto}.intro,.how,.workshops,.faq,.contact{padding:56px 24px}.green{background:#b6f0c7;color:#414943}.yellow{background:#fac443;color:#39342c}.teal{background:#018795;color:#fff}.intro{text-align:center}.intro p,.how p{font-size:18px;line-height:27px}.intro .button,.how .button{margin-top:24px}.green h2{color:#161616}.split{display:grid;grid-template-columns:1fr 1fr}.split-copy{padding:56px max(48px,calc((100vw - 1027px)/2));padding-right:max(48px,calc((100vw - 1027px)/2));}.split-copy h2{margin-bottom:40px}.split-copy p{font-size:16px;line-height:24px}.split-image{width:100%;height:100%;object-fit:cover;min-height:100%;}.split .light{background:white;color:#303030;margin-top:24px}.details h2{font-size:44px;color:#fff;line-height:1.4}.details h3{color:#fff}.gallery-section{padding-top:56px;overflow:hidden}.gallery-section h2{text-align:center;max-width:1112px;margin:0 auto 40px}.gallery{position:relative;overflow:hidden;background:#fff}.gallery-track{display:flex;gap:5px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x mandatory;padding:0 max(24px,calc((100vw - 900px)/2));}.gallery-track::-webkit-scrollbar{display:none}.gallery-slide{padding:0;border:0;background:none;flex:0 0 auto;scroll-snap-align:center;cursor:pointer;filter:brightness(.3);transition:filter .2s}.gallery-slide.selected{filter:none}.gallery-slide img{height:600px;width:auto;max-width:none;object-fit:contain}.gallery-prev,.gallery-next{position:absolute;top:50%;transform:translateY(-50%);border:0;color:white;background:#0006;width:48px;height:64px;font-size:48px;cursor:pointer}.gallery-prev{left:24px}.gallery-next{right:24px}.how h2{text-align:center}.how h3{color:#000}.cards{display:grid;grid-template-columns:1fr 1fr;gap:48px}.cards article p{font-size:16px;line-height:24px}.cards article .button{margin-top:24px}.teal-button{background:#018795;color:white}.date{margin-bottom:0}.triptych{display:flex}.triptych img{width:33.333%;height:300px;object-fit:cover}.faq h2{text-align:center;margin-bottom:16px}.faq .narrow>p{margin-bottom:32px}details{border-bottom:1px solid #ddd}summary{cursor:pointer;list-style:none;font-size:22px;color:#1b1b1b;padding:24px 40px 24px 0;position:relative;line-height:1.25}summary::-webkit-details-marker{display:none}summary::after{content:'⌄';position:absolute;right:4px;top:22px;font-size:24px}details[open] summary::after{content:'⌃'}details>div{padding:0 40px 24px 0}details p{line-height:24px}.signup-banner{padding:56px 24px;text-align:center}.signup-banner h2{color:white;margin:0}.contact h2{text-align:center;color:#161616}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px}.contact-grid h3{color:#000}.contact-info p{margin-bottom:24px}.contact-info .button{margin-top:8px}.mfb-form label{display:block;margin-bottom:24px;font-size:16px;color:#39342c}.mfb-form input,.mfb-form textarea{display:block;width:100%;margin-top:8px;padding:14px 16px;background:#fff;border:1px solid #39342c55;border-radius:0;color:#161616;min-height:56px}.mfb-form textarea{resize:vertical}.mfb-form .button{width:100%}.form-status{margin-top:16px}footer{padding:40px 24px;background:#fac443;text-align:center;font-size:14px}.mfb-honey{position:absolute;left:-10000px}.skip-link{position:absolute;top:-100px}.skip-link:focus{top:0;background:white;z-index:99}.wp-block-html{margin:0}.wp-site-blocks{padding:0}
@media(min-width:1024px) and (max-width:1279px){.container{max-width:936px}.narrow{max-width:608px}.split-copy{padding:56px 64px}.gallery-section h2{max-width:936px}}
@media(min-width:1280px){.container{max-width:1160px}.narrow{max-width:757px}.intro h1{font-size:36px}.intro p,.how p{font-size:20px;line-height:30px}}
@media(max-width:1023px){.site-header{height:130px;padding:24px}.site-header img{height:82px;width:auto}.container{max-width:720px}.split-copy{padding:40px 32px}.details h2{font-size:36px}.gallery-slide img{height:420px}.split-copy h2{font-size:30px}.cards{gap:32px}}
@media(max-width:767px){.site-header{height:112px;justify-content:center}.site-header img{height:76px;max-width:260px}.header-button{display:none}.hero{width:100%;height:auto;min-height:180px;object-fit:cover}.intro,.how,.workshops,.faq,.contact{padding:40px 24px}h1{font-size:28px;line-height:35px}h2{font-size:28px;line-height:1.4;margin-bottom:32px}h3{font-size:20px;line-height:25px}.intro p,.how p{font-size:16px;line-height:24px}.split{display:flex;flex-direction:column}.split-copy{padding:40px 24px;order:2}.split-image{order:1;height:300px;min-height:0;object-fit:cover}.details h2,.split-copy h2{font-size:28px;margin-bottom:32px}.gallery-section{padding-top:40px}.gallery-section h2{padding:0 24px;margin-bottom:32px;font-size:28px}.gallery-slide img{height:210px}.gallery-track{padding:0 max(24px,calc((100vw - 315px)/2))}.gallery-prev,.gallery-next{width:32px;height:48px;font-size:36px}.gallery-prev{left:8px}.gallery-next{right:8px}.cards{grid-template-columns:1fr;gap:48px}.triptych img{height:150px}.faq summary{font-size:20px}.signup-banner{padding:40px 24px}.contact-grid{grid-template-columns:1fr;gap:40px}.contact h2{margin-bottom:32px}footer{text-align:left}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Reference alignment and image sizing. */
.intro{text-align:left}.split-visual{position:relative;min-height:300px}.split-image{position:absolute;inset:0;width:100%;height:100%;min-height:0;object-fit:cover}@media(max-width:767px){.split-visual{order:1;height:300px;width:100%;flex:0 0 300px}.split-image{order:initial}.intro h1{font-size:28px}}

.mfb-form .opt-in{display:flex;gap:12px;align-items:flex-start;font-size:14px}.mfb-form .opt-in input{width:18px;min-height:18px;height:18px;margin:2px 0 0;flex:0 0 18px}.map-slot{margin-top:48px}.map-slot iframe{width:100%;height:400px;border:0;display:block}@media(max-width:767px){.map-slot iframe{height:300px}}
@media(min-width:1024px){.split-copy{padding:56px 9.4vw}}
@media(min-width:1024px) and (max-width:1279px){h1{font-size:30px;line-height:37.5px}h2{font-size:30px;line-height:42px}.details h2{font-size:38px;line-height:53.2px}}

.mfb-form .field{position:relative}.mfb-form .field input{background:#e9b73e;border:0;margin:0;height:46px;min-height:46px;line-height:16px;padding:23px 16px 7px}.mfb-form .field span{position:absolute;left:16px;top:12px;pointer-events:none;transition:.15s}.mfb-form .field input:focus+span,.mfb-form .field input:not(:placeholder-shown)+span{top:4px;font-size:12px}.mfb-form .area span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.mfb-form textarea{height:154.5px;background:#e9b73e;border:0;margin:0;padding:16px;color:#161514}.mfb-form textarea::placeholder{color:#39342c;opacity:1}
.parents h2{color:#161616}
