/*
Theme Name: Mastering Fiction
Description: Mastering Fiction branding for WordPress's standard block and site editors.
Template: twentytwentyfive
Version: 1.0.0
Text Domain: mastering-fiction
*/
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:#fff;color:#111b2e;font-family:"IBM Plex Sans",sans-serif;font-size:23px;font-weight:400;line-height:1.6;letter-spacing:normal}
.wp-site-blocks{padding:0}.wp-site-blocks>*,.mf-main,.mf-main>.wp-block-post-content{margin-block:0}
.mf-section{background:var(--mf-bg,#fff);color:var(--mf-text,#111b2e);margin:0;max-width:none!important}
.mf-container{max-width:var(--mf-width,1152px)!important;width:100%;margin:0 auto!important;padding:var(--mf-top,30px) 20px var(--mf-bottom,30px)}
.mf-section :where(h1,h2,h3,h4,h5,h6){font-family:Alexandria,sans-serif;font-weight:700;line-height:1.15;letter-spacing:.01em;margin:0 0 20px}
/* The parent theme's "pretty" wrapping changes the source page's line breaks. */
.mf-section :where(h1,h2,h3,h4,h5,h6,p,li,blockquote,figcaption){text-wrap:wrap}
.mf-section h1{color:var(--mf-h1,inherit)}.mf-section h2{color:var(--mf-h2,inherit)}.mf-section h3{color:var(--mf-h3,inherit)}.mf-section h4{color:var(--mf-h4,inherit)}
.mf-copy{font-size:16px;min-width:0}.mf-copy p{margin:0 0 15px;line-height:1.6}.mf-copy p:last-child{margin-bottom:0}.mf-copy :where(h3,h4):not(:first-child){margin-top:25px}
.mf-copy ul,.mf-copy ol{margin:0 0 15px;padding-left:1.4em}.mf-copy li{margin:0 0 8px}.mf-copy li>p{margin-bottom:0}
.mf-copy .text-lg{font-size:23px}.mf-copy .text-sm{font-size:21px}.mf-copy .text-md{font-size:16px}
.mf-section a:not(.wp-block-button__link){color:var(--mf-link,#5762b7);text-decoration-line:underline;text-decoration-style:dotted;text-underline-offset:.2em}
.mf-section a:hover,.mf-navigation a:hover,.mf-footer a:hover{opacity:.75}
.mf-align-left{text-align:left}.mf-align-center{text-align:center}.mf-align-right{text-align:right}
.mf-media-row.wp-block-columns{display:grid;gap:var(--mf-gap,40px);align-items:center!important;margin:0}
.mf-media-row>.wp-block-column{min-width:0;margin:0}
.mf-section .wp-block-image{margin:0 0 15px;max-width:100%}.mf-section .wp-block-image:last-child{margin-bottom:0}
.mf-section .wp-block-image img{display:block;max-width:100%;width:100%;height:auto}
.mf-grid.wp-block-columns{display:grid;gap:var(--mf-gap,40px);margin:0;align-items:stretch}
.mf-grid>.wp-block-column{min-width:0;display:flex;margin:0}.mf-grid>.wp-block-column>div{width:100%}
.mf-grid-heading{margin:0 0 var(--mf-gap,40px);font-size:23px}.mf-grid-heading p{margin:0 0 15px}.mf-grid-heading p:last-child{margin-bottom:0}
.mf-grid-heading h2{margin:0 0 25px}
.mf-card{background:var(--mf-card,#fff);color:var(--mf-card-text,#111b2e);border-radius:var(--mf-card-radius,10px);padding:22px;box-shadow:0 5px 15px rgba(0,0,0,.04);--mf-h1:var(--mf-card-heading,#111b2e);--mf-h2:var(--mf-card-heading,#111b2e);--mf-h3:var(--mf-card-heading,#111b2e);--mf-h4:var(--mf-card-heading,#111b2e);--mf-link:#5762b7;--mf-muted:#4a4a4a}
.mf-kind-image .mf-card{padding:30px}.mf-stacked>.mf-section-image{max-width:55%;margin:0 auto 25px}
.mf-copy hr{height:0;border:0;border-top:1px solid currentColor;opacity:.2;width:100%;max-width:none;margin:20px 0}
.mf-copy mark{color:inherit;background:transparent;padding:0}.mf-card mark.text-highlight-green{background:#c7ecce}
.mf-button-area{margin-top:25px}.mf-button-area .wp-block-buttons{display:flex;flex-wrap:wrap;gap:16px;justify-content:inherit}
.mf-align-center .wp-block-buttons{justify-content:center}.mf-align-right .wp-block-buttons{justify-content:flex-end}
.mf-button-area .wp-block-button__link{display:inline-block;font-family:Poppins,sans-serif;font-size:19px;font-weight:500;line-height:1.95;letter-spacing:.06em;text-decoration:none;background:var(--mf-button,#5762b7);color:var(--mf-button-text,#fff);padding:16px 24px;border:0;border-radius:200px;box-shadow:none;text-align:center}
.mf-button-area .wp-block-button__link:hover{opacity:.8}.mf-button-area .mf-button-subtext{font-family:"IBM Plex Sans",sans-serif;font-size:16px;color:var(--mf-muted,#4a4a4a);line-height:1.6;margin:15px 0 0}
.mf-grid .mf-button-area:first-child{margin-top:0}.mf-grid .mf-plain{align-self:center}
.mf-faq.wp-block-details{margin:0 0 28px;padding:22px;background:var(--mf-card,#fff);color:var(--mf-card-text,#111b2e);border-radius:var(--mf-card-radius,10px);box-shadow:0 5px 15px rgba(0,0,0,.04)}
.mf-faq summary{font-family:Alexandria,sans-serif;font-size:25px;font-weight:700;line-height:1.3;list-style:none;cursor:pointer;position:relative;padding-right:35px}
.mf-faq summary::-webkit-details-marker{display:none}.mf-faq summary::after{content:'⌄';position:absolute;right:0;top:0;font-family:Arial,sans-serif;font-size:26px}
.mf-faq[open] summary::after{content:'⌃'}.mf-faq[open] summary{margin-bottom:25px}.mf-faq p{margin:0 0 15px;line-height:1.6}.mf-faq p:last-child{margin:0}
.mf-preheading{font-family:Alexandria,sans-serif;font-weight:700}.mf-subheading{font-family:Alexandria,sans-serif;font-weight:500}
.mf-header{background:#eaf2fa;color:#111b2e;margin:0}.mf-header-inner{max-width:1152px;margin:0 auto;min-height:128.8px;padding:20px;display:flex;gap:40px;align-items:center}
.mf-logo{flex:0 0 150px;width:150px;margin:0!important}.mf-logo img{width:150px;height:88px;object-fit:contain;display:block}
.mf-section strong,.mf-section b{font-weight:700}
.mf-logo a{display:block;line-height:0}
.editor-styles-wrapper{font-weight:400}
.mf-navigation{font-family:Poppins,sans-serif;font-size:18px;font-weight:500;line-height:1.45;flex:1}.mf-navigation .wp-block-navigation__container{gap:28px}.mf-navigation a{color:#111b2e;text-decoration:none}
.mf-footer{background:#eaf2fa;color:#111b2e;padding:30px 20px}.mf-footer-inner{max-width:1112px;margin:0 auto}.mf-footer-navigation{font-family:Poppins,sans-serif;font-size:18px;line-height:1.45;justify-content:center;margin:0 0 30px}.mf-footer-navigation .wp-block-navigation__container{gap:20px 24px;justify-content:center}.mf-footer a{color:inherit;text-decoration:none}.mf-footer .wp-block-social-links{gap:24px;margin:0 0 30px;padding:0;justify-content:center;font-size:22px}.mf-footer .wp-block-social-link{color:#111b2e;background:transparent}.mf-legal{text-align:center;font-family:"IBM Plex Sans",sans-serif;font-size:14px;margin:0}
.mf-not-found{padding-top:80px;padding-bottom:80px}a:focus-visible,summary:focus-visible,button:focus-visible{outline:3px solid #5b8bdb;outline-offset:5px}
.editor-styles-wrapper .mf-section{max-width:none!important}.editor-styles-wrapper .mf-header-inner{min-height:0}.editor-styles-wrapper .wp-block-post-content{max-width:none!important}
@media(max-width:800px){.mf-header-inner{gap:20px}.mf-navigation{font-size:16px}.mf-navigation .wp-block-navigation__container{gap:16px}}
/* Podia keeps the section typography and 40px gaps on phones. Only the
   columns stack at 768px, with the section image preceding the copy. */
@media(max-width:767px){
  .mf-media-row.wp-block-columns,.mf-grid.wp-block-columns{grid-template-columns:minmax(0,1fr)!important}
  .mf-media-row>.wp-block-column:has(>.mf-section-image){order:-1}
  .mf-container{padding-left:20px;padding-right:20px}
  .mf-stacked>.mf-section-image{max-width:100%}
  .mf-media-row .wp-block-image{margin-bottom:0}
  .mf-header-inner{min-height:104px}
  .mf-logo,.mf-logo img{width:157.5px}
  .mf-logo{flex-basis:157.5px}
  .mf-logo img{height:64px;object-position:left center}
  .mf-navigation{justify-content:flex-end}
  .mf-footer-navigation{font-size:16px}
  .mf-faq summary{font-size:30px;line-height:1.15}
  .mf-media-row .mf-button-area .wp-block-button,.mf-media-row .mf-button-area .wp-block-button__link{width:100%}
}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
