/*
Theme Name: Methali
Description: Mandhari ya maktaba ya methali za Kiswahili na za dunia.
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 8.0
Author: Methali
License: GPL-2.0-or-later
Text Domain: methali-theme
*/
*{box-sizing:border-box}body{margin:0}a{text-underline-offset:.18em}a:hover{text-decoration:underline}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #006b78;outline-offset:3px}.wp-site-blocks{overflow-wrap:break-word}.wp-site-blocks>.wp-block-template-part,.wp-site-blocks>main{margin-block-start:0}.mth-wrap{width:min(calc(100% - 3rem),1220px);margin-inline:auto!important}.mth-header{border-bottom:1px solid #e4dfeb;background:#fff}.mth-headrow{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:1.4rem}.mth-brand{font:700 2.05rem/1 Georgia,serif;color:#271534;letter-spacing:-.07em;white-space:nowrap}.mth-brand a{text-decoration:none;color:inherit;display:inline-flex;align-items:center;gap:.5rem}.mth-brand a:before{content:'❝';display:inline-grid;align-items:center;justify-content:center;background:#56338b;color:#ffdf77;border-radius:.5rem .5rem .5rem .12rem;width:37px;height:37px;font:700 39px/1 Georgia;letter-spacing:0;padding-top:5px;box-sizing:border-box}.mth-headrow nav{font-size:.96rem;font-weight:600}.mth-headrow .wp-block-navigation__container{gap:clamp(.7rem,2.1vw,2rem)}.mth-headrow .wp-block-navigation-item a{padding-block:.5rem}.mth-util{display:flex;gap:.6rem;align-items:center;margin:0}.mth-util a,.mth-inline-link{font-weight:650;text-decoration:none}.mth-util a{border:1px solid #ded6e6;border-radius:99px;padding:.55rem .9rem;font-size:.92rem}.mth-util a:last-child{color:white;background:#56338b;border-color:#56338b}.mth-home{padding-top:clamp(1.25rem,3.5vw,3rem);padding-bottom:3rem}.mth-hero{display:grid;grid-template-columns:1.04fr 1fr;align-items:stretch;border:1px solid #dcd2e8;border-radius:24px;overflow:hidden;background:#eee7fb;margin-bottom:1.25rem}.mth-hero-copy{align-self:center;padding:clamp(1.6rem,3.1vw,3rem)}.mth-hero h1{font-size:clamp(2.6rem,4.85vw,4.7rem);line-height:1.03;letter-spacing:-.054em;margin:0;max-width:11em}.mth-hero h1 em{color:#644093;font-weight:normal}.mth-hero-copy>p{max-width:31rem;margin:1.15rem 0 1.55rem;line-height:1.55}.mth-hero figure{margin:0;height:100%;min-height:380px;position:relative}.mth-hero img{position:absolute;width:100%;height:100%;object-fit:cover;object-position:51% center;display:block}.mth-home h2,.mth-page h1{letter-spacing:-.035em}.mth-home>section,.mth-home>.wp-block-group:not(.mth-hero){margin-block:clamp(1.7rem,4vw,3.2rem)}.mth-home .mth-paths{gap:1rem}.mth-home h2{font-size:clamp(1.8rem,3vw,2.7rem);margin-block:0 1.05rem}.mth-example{background:#ffedb2;border-radius:18px;padding:clamp(1.4rem,3.5vw,3rem);display:grid;grid-template-columns:1.25fr 1fr;gap:2rem;align-items:center}.mth-example blockquote{font:normal clamp(2rem,3.3vw,3.3rem)/1.12 Georgia,serif;letter-spacing:-.035em;margin:.6rem 0}.mth-example h2{font:650 .99rem/1.4 system-ui;margin:0}.mth-example p{margin:.45rem 0}.mth-example a{font-size:.94rem}.mth-page{padding-block:clamp(2rem,5vw,4rem);min-height:58vh}.mth-page h1{margin-top:0;font-size:clamp(2.3rem,5vw,4rem);line-height:1.05}.mth-page>.wp-block-post-content>p{max-width:70ch}.mth-page .wp-block-post-content>:first-child{margin-top:0}.mth-page .wp-block-post-content>*+*{margin-block-start:1.25rem}.mth-footer{border-top:1px solid #ded6e6;background:#f4eff8;padding:2.25rem 0}.mth-footrow{display:flex;justify-content:space-between;gap:1.5rem;align-items:center;flex-wrap:wrap}.mth-footrow nav{font-size:.9rem}.mth-mobile{display:none}.mtl-guides .mth-card{border:0;border-radius:0;background:transparent;padding:1rem 0}.mth-learn-title{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}.mth-learn-title p{margin:0}.mth-learn-title a{font-weight:650}.mth-learn-title h2{margin:0}.mth-invite{border-top:1px solid #dcd3e6;padding-top:1.8rem}.mth-invite p{max-width:62ch}.mth-invite a{font-weight:bold}
@media(max-width:850px){.mth-headrow{gap:.75rem}.mth-headrow .mth-util a:first-child{display:none}.mth-hero-copy{padding:1.4rem}.mth-hero figure{min-height:340px}.mth-wrap{width:calc(100% - 2rem)}}
@media(max-width:700px){.mth-headrow{min-height:65px}.mth-headrow nav{margin-left:auto}.mth-headrow .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}.mth-headrow .wp-block-navigation__responsive-container-open{display:flex}.mth-brand{font-size:1.8rem}.mth-hero{grid-template-columns:1fr;border-radius:17px}.mth-hero-copy{padding:1.5rem}.mth-hero h1{font-size:clamp(2.5rem,9vw,3.4rem)}.mth-hero figure{min-height:0;aspect-ratio:2.4}.mth-hero img{object-position:50% 58%}.mth-example{grid-template-columns:1fr;gap:.8rem}.mth-mobile{position:fixed;z-index:20;inset:auto 0 0;display:grid;grid-template-columns:repeat(4,1fr);align-items:center;background:#fff;border-top:1px solid #ded7e5;padding:.3rem .15rem max(.35rem,env(safe-area-inset-bottom))}.mth-mobile a{min-height:45px;color:#39234a;display:grid;justify-items:center;align-content:center;text-align:center;line-height:1.1;font:600 clamp(.65rem,2.5vw,.8rem)/1.15 system-ui;text-decoration:none;overflow-wrap:anywhere}.mth-mobile a span{font:1.2rem Georgia}.mth-footer{padding-bottom:6rem}.mth-headrow .mth-util{order:0}.mth-headrow .mth-util a{font-size:.8rem;padding:.5rem .75rem}.mth-footer nav ul{gap:.65rem 1rem}.mth-footrow{align-items:flex-start}.mth-headrow .wp-block-navigation__responsive-container.is-menu-open{padding:2rem}.mth-mobile:has(:focus-visible){outline:2px solid #56338b}body:has(input:focus,textarea:focus,select:focus) .mth-mobile{position:static}}
@media(max-width:380px){.mth-wrap{width:calc(100% - 1.2rem)}.mth-hero-copy{padding:1rem}.mth-search button{padding:.55rem}.mth-headrow{gap:.4rem}}
@media print{.mth-header,.mth-footer,.mth-mobile,.mth-actions,.mth-toast{display:none!important}}

