/* No changes on desktop or printed certificates. */
#fmo-quick,#fmo-header{display:none}
@media screen and (max-width: 760px){
.fa-shell,.fa-shell *,.woocommerce,.woocommerce *{box-sizing:border-box;min-width:0}
.fa-shell,.fa-main,.fa-panel,.fa-lesson,.fa-card,.woocommerce{max-width:100%;overflow-wrap:anywhere}
.fa-shell img,.fa-shell svg,.fa-shell video,.fa-shell canvas,.woocommerce img{max-width:100%;height:auto}
.fa-shell iframe{max-width:100%}.fa-video iframe{width:100%;height:auto;aspect-ratio:16/9}
.fa-shell .fa-main{padding:22px 12px 32px}.fa-shell .fa-hero{min-height:0;padding:36px 18px}.fa-shell .fa-hero h1{font-size:clamp(26px,7vw,40px)}
.fa-shell .fa-section-head h2{font-size:26px}.fa-shell .fa-filter{display:grid;grid-template-columns:1fr;gap:10px}
.fa-shell .fa-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fa-shell .fa-card>img{height:auto;aspect-ratio:16/10;object-fit:cover}.fa-shell .fa-card-body{padding:14px}.fa-shell .fa-card h3{font-size:18px}.fa-shell .fa-card p{font-size:14px}.fa-shell .fa-card-bottom{flex-wrap:wrap}.fa-shell .fa-card form{display:grid;gap:8px}.fa-shell .fa-card .fa-btn{display:block;margin:6px 0!important;text-align:center;white-space:normal}
.fa-shell .fa-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}.fa-shell .fa-foot{grid-template-columns:1fr;padding:24px 16px;gap:12px}
.fa-shell .fa-panel,.fa-shell .fa-lesson,.fa-shell .fa-quiz{padding:14px;margin:12px 0;min-inline-size:0}.fa-shell .fa-lesson summary{padding:10px 0}.fa-shell .fa-quiz label{display:flex;align-items:flex-start;gap:10px;padding:9px 0;min-height:44px;line-height:1.5}.fa-shell .fa-quiz input[type=radio]{flex:none;width:20px;height:20px;margin:3px 0 0}
.fa-shell .fa-btn,.fa-shell button,.woocommerce button,.woocommerce a.button,.woocommerce input.button{min-height:44px;padding:11px 14px;line-height:1.4;white-space:normal}
.fa-shell input:not([type=radio]):not([type=checkbox]):not([type=hidden]),.fa-shell select,.fa-shell textarea,.woocommerce input:not([type=radio]):not([type=checkbox]):not([type=hidden]),.woocommerce select,.woocommerce textarea{font-size:16px;max-width:100%;min-height:44px}
.fa-shell .fa-form input:not([type=checkbox]),.woocommerce form .form-row input.input-text{width:100%}.fa-shell .fa-certificate{padding:18px 12px;border-width:3px}.fa-shell .fa-certificate h2{font-size:25px}
.fmo-table{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.fmo-table:focus-visible,#fmo-header button:focus-visible,#fmo-quick a:focus-visible{outline:3px solid #c6a16d;outline-offset:-3px}
.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2,.woocommerce form .form-row-first,.woocommerce form .form-row-last{float:none;width:100%}.woocommerce .woocommerce-MyAccount-navigation,.woocommerce .woocommerce-MyAccount-content{float:none;width:100%}.wc-block-components-sidebar-layout{flex-wrap:wrap!important}.wc-block-components-sidebar-layout .wc-block-components-main,.wc-block-components-sidebar-layout .wc-block-components-sidebar{width:100%!important;padding:0!important}
html.fmo-ready .fmo-original{display:none!important}
html.fmo-ready #fmo-header{display:block;background:#173350;color:#fff;padding:12px 16px;font:600 15px/1.4 system-ui,sans-serif}
#fmo-header .fmo-top{display:flex;align-items:center;justify-content:space-between;gap:12px}#fmo-header a{color:white;text-decoration:none}#fmo-header button{font:inherit;color:white;background:transparent;border:1px solid #b5c5d4;border-radius:6px;min-height:44px;padding:6px 14px;cursor:pointer}#fmo-menu{display:grid;gap:4px;padding-top:10px}#fmo-menu[hidden]{display:none}#fmo-menu a{padding:10px;min-height:44px;display:flex;align-items:center;border-bottom:1px solid #ffffff26}
html.fmo-ready #fmo-quick{position:fixed;z-index:1000;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#173350;padding:5px 4px calc(5px + env(safe-area-inset-bottom,0px));box-shadow:0 -3px 12px #0002;font:600 12px/1.2 system-ui,sans-serif}
#fmo-quick a{display:flex;min-height:48px;align-items:center;justify-content:center;flex-direction:column;gap:3px;color:white;text-decoration:none}#fmo-quick a span{font-size:18px;color:#e7cf9c}#fmo-quick a[aria-current=page]{background:#ffffff18;border-radius:6px}
html.fmo-ready.fmo-bottom body{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}
}
@media screen and (max-width:520px){.fa-shell .fa-cards{grid-template-columns:minmax(0,1fr)}.fa-shell .fa-card h3{font-size:21px}}
@media print{#fmo-header,#fmo-quick{display:none!important}}
