/* Main Street Bakery demo theme */
:root{--msb-cream:#fbf6ef;--msb-espresso:#2b1a10;--msb-crust:#b5652b;--msb-flour:#f2e6d6;--msb-cocoa:#6b4a36;--msb-line:#e6d8c6}
body{background:var(--msb-cream)}
.wp-site-blocks{padding:0!important}
.wp-site-blocks > *{margin-block-start:0!important}

/* header */
.msb-header{position:sticky;top:0;z-index:50;background:rgba(251,246,239,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--msb-line);padding:14px 24px!important}
.admin-bar .msb-header{top:32px}
@media (max-width:782px){.admin-bar .msb-header{top:46px}}
.msb-logo{font-family:Fraunces,Georgia,serif!important;font-weight:700!important;font-size:24px!important;letter-spacing:-.01em;margin:0}
.msb-logo a{color:var(--msb-espresso)!important;text-decoration:none}
.msb-nav-wrap{gap:22px!important;align-items:center}
.msb-nav a{color:var(--msb-espresso)!important;font-weight:500;font-size:16px;text-decoration:none}
.msb-nav a:hover{color:var(--msb-crust)!important}
.msb-cta .wp-block-button__link{background:var(--msb-crust)!important;color:#fff!important;padding:11px 20px!important;font-size:15px!important}
@media (max-width:600px){.msb-cta{display:none}}

/* page template */
.msb-page{padding:64px 24px 96px!important}
.msb-title{font-size:clamp(38px,6vw,60px)!important;margin-bottom:12px!important}
.msb-page > .wp-block-post-content > p:first-child{font-size:20px;color:var(--msb-cocoa)}

/* front page (Beaver Builder) */
.msb-front .fl-builder-content{font-size:18px}
.msb-front .fl-row-content-wrap{padding-left:24px;padding-right:24px}
.msb-front h1.fl-heading{font-family:Fraunces,Georgia,serif;font-size:clamp(48px,8vw,92px);line-height:.98;letter-spacing:-.02em}
.msb-front .fl-rich-text h2,.msb-front .fl-rich-text h3{font-family:Fraunces,Georgia,serif;letter-spacing:-.01em}
.msb-front .fl-rich-text h3{font-size:30px;margin:0 0 10px}
.msb-front .msb-hero .fl-rich-text p{font-size:22px!important}
.msb-front .msb-cards .fl-col-content{background:#fff;border:1px solid var(--msb-line);border-radius:22px;overflow:hidden;margin:10px;box-shadow:0 20px 40px -28px rgba(43,26,16,.35)}
.msb-front .msb-cards .fl-photo-img{width:100%;height:240px;object-fit:cover;display:block}
.msb-front .msb-cards .fl-module-photo .fl-module-content{margin:0}
.msb-front .msb-cards .fl-rich-text{padding:4px 8px 0}
.msb-front .msb-cards .fl-rich-text h3{font-size:26px}
.msb-front .msb-baker .fl-photo-img{border-radius:22px;max-height:520px;object-fit:cover}
.msb-front .msb-hours .fl-col-content{background:#fff;border:1px solid var(--msb-line);border-radius:22px;padding:18px 22px}
.msb-front .fl-button-wrap a.fl-button,.msb-front a.fl-button{background:var(--msb-espresso)!important;border:0!important;border-radius:999px!important;padding:14px 26px!important}
.msb-front a.fl-button span{color:var(--msb-cream)!important;font-weight:600}
.msb-front .msb-cards a.fl-button{background:var(--msb-crust)!important}

/* footer */
.msb-footer{background:var(--msb-espresso);color:#e9dccb;padding:56px 24px 40px!important;margin-top:0!important}
.msb-footer a{color:#fff}
.msb-footer h2,.msb-footer h3{color:#fff;font-size:26px;margin:0 0 10px}
.msb-footer .wp-block-columns{gap:40px}
.msb-footer .msb-foot-line,.msb-footer .wp-block-block{color:#e9dccb}
.msb-footer .wp-block-block > *{background:transparent!important;color:#e9dccb!important;padding:0!important;text-align:left!important;font-size:15px!important}
.msb-footer .msb-small{font-size:13px;color:#b9a68f;margin-top:28px;border-top:1px solid rgba(255,255,255,.12);padding-top:18px}
.msb-footer .wp-block-button__link{background:var(--msb-crust)!important;color:#fff!important}

/* forms: CF7, WPForms, webfaCe Leads */
.msb-page input[type=text],.msb-page input[type=email],.msb-page input[type=tel],.msb-page input[type=date],.msb-page input[type=number],.msb-page select,.msb-page textarea,
.msb-page .wpforms-field input,.msb-page .wpforms-field select,.msb-page .wpforms-field textarea{border:1px solid var(--msb-line)!important;border-radius:12px!important;background:#fff!important;padding:12px 14px!important;font:inherit;font-size:16px!important;box-shadow:none!important;max-width:100%}
.msb-page input:focus,.msb-page select:focus,.msb-page textarea:focus{outline:2px solid var(--msb-crust)!important;outline-offset:1px;border-color:transparent!important}
.msb-page .wpcf7-submit,.msb-page .wpforms-submit,.msb-page button[type=submit],.msb-page input[type=submit]{background:var(--msb-espresso)!important;color:var(--msb-cream)!important;border:0!important;border-radius:999px!important;padding:14px 28px!important;font-weight:600!important;font-size:16px!important;cursor:pointer}
.msb-page .wpcf7-submit:hover,.msb-page .wpforms-submit:hover,.msb-page button[type=submit]:hover{background:var(--msb-crust)!important}
.msb-page .wpcf7 form,.msb-page .wpforms-container{background:#fff;border:1px solid var(--msb-line);border-radius:22px;padding:28px}
.msb-page .wpforms-container form{background:transparent;border:0;padding:0}
.msb-page .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),.msb-page .wpcf7 select,.msb-page .wpcf7 textarea{width:100%!important;box-sizing:border-box}
.msb-page .wpcf7 textarea{height:160px}
.msb-page .wpcf7 p{margin:0 0 14px}
.msb-page label,.msb-page .wpforms-field-label{font-weight:600!important;font-size:15px!important}

/* fixes after first look */
.msb-front .msb-hero .fl-heading,.msb-front .msb-hero .fl-heading-text{text-align:center;display:block;width:100%}
.msb-front .msb-cards .fl-photo,.msb-front .msb-cards .fl-photo-content,.msb-front .msb-cards .fl-photo-content a{display:block!important;width:100%!important}
.msb-front .msb-cards .fl-col-group,.msb-front .msb-hours .fl-col-group{display:flex;flex-wrap:wrap}
.msb-front .msb-cards .fl-col,.msb-front .msb-hours .fl-col{display:flex;float:none}
.msb-front .msb-cards .fl-col-content,.msb-front .msb-hours .fl-col-content{flex:1;display:flex;flex-direction:column}
.msb-front .msb-cards .fl-module-button{margin-top:auto}
.msb-front .msb-hours .fl-col-content{margin:10px}
@media (max-width:768px){.msb-front .msb-cards .fl-col,.msb-front .msb-hours .fl-col{width:100%!important}}
.msb-footer .wp-block-block,.msb-footer .wp-block-block *{background:none!important;background-color:transparent!important;padding:0!important;margin:0!important;text-align:left!important;color:#e9dccb!important;font-size:15px!important;line-height:1.6!important;border:0!important;box-shadow:none!important}
.msb-footer .wp-block-block{margin-top:6px!important}
.msb-footer a{text-decoration:none}
.msb-footer a:hover{text-decoration:underline}
.msb-footer .wp-block-column:first-child > *:not(h3),.msb-footer .wp-block-column:first-child > *:not(h3) *{text-align:left!important;background:none!important;background-color:transparent!important;padding-left:0!important;padding-right:0!important;margin-left:0!important;font-size:15px!important;color:#e9dccb!important}
