/*
Theme Name: MyLessonNote Commercial V5 Three Navigation Chains
Theme URI: https://mylessonnote.com/
Author: MyLessonNote
Description: SEO-focused commercial WordPress theme for Nigerian primary-school lesson notes.
Version: 3.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mylessonnote
*/
:root{--blue:#0872cf;--blue-dark:#075eb5;--sky:#29aee8;--green:#45b62b;--green-dark:#309a1b;--orange:#ff7a00;--yellow:#ffb313;--ink:#17233c;--muted:#68758b;--bg:#f7f9fe;--card:#fff;--border:#e5ebf4;--radius:20px;--shadow:0 18px 44px rgba(22,55,94,.10);--width:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-size:16px;line-height:1.7}a{color:var(--blue);text-decoration:none}a:hover{color:var(--orange)}img{max-width:100%;height:auto}button,input,select,textarea{font:inherit}.mln-container{width:min(var(--width),calc(100% - 36px));margin-inline:auto}.mln-screen-reader{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.mln-site-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.985);border-bottom:1px solid var(--border);box-shadow:0 5px 22px rgba(30,55,90,.06)}.mln-header-row{min-height:82px;display:flex;align-items:center;gap:24px}.mln-brand{display:flex;align-items:center;flex:0 0 auto}.mln-brand img,.custom-logo{display:block;width:auto;max-height:56px;max-width:300px}.mln-nav-wrap{margin-left:auto;display:flex;align-items:center;gap:12px;min-width:0}.mln-primary-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:1px}.mln-primary-nav a{display:block;padding:11px 8px;border-radius:9px;color:var(--ink);font-weight:800;font-size:13px;white-space:nowrap}.mln-primary-nav a:hover,.mln-primary-nav .current-menu-item>a,.mln-primary-nav .current-menu-ancestor>a{color:var(--blue);background:#eef7ff}.mln-menu-toggle{display:none;width:44px;height:44px;border:1px solid var(--border);background:#fff;border-radius:12px;color:var(--blue);font-size:22px;cursor:pointer}
.mln-header-search{position:relative;display:flex;align-items:center;border:1px solid #dbe4ef;background:#fff;border-radius:999px;min-width:220px;box-shadow:inset 0 1px 2px rgba(30,55,90,.03)}.mln-search-field-wrap{position:relative;flex:1;min-width:0}.mln-header-search input{width:100%;border:0;outline:0;background:transparent;padding:10px 7px 10px 14px;color:var(--ink);font-size:13px}.mln-header-search button{width:40px;height:40px;border:0;border-radius:50%;background:var(--orange);color:#fff;cursor:pointer;display:grid;place-items:center;flex:0 0 auto}.mln-header-search button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.mln-header-search button:hover{background:#e86d00}
.mln-suggestions{position:absolute;left:0;right:0;top:calc(100% + 9px);z-index:1200;background:#fff;border:1px solid var(--border);border-radius:16px;box-shadow:0 22px 50px rgba(17,44,78,.18);overflow:hidden;min-width:330px;text-align:left}.mln-suggest-group+.mln-suggest-group{border-top:1px solid var(--border)}.mln-suggest-label{padding:9px 13px 5px;color:#8a96a8;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.mln-suggestions a{display:flex;align-items:center;gap:9px;padding:10px 13px;color:var(--ink);font-size:13px;line-height:1.35}.mln-suggestions a:hover,.mln-suggestions a.is-active{background:#f1f7ff;color:var(--blue)}.mln-suggest-icon{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#edf7ff;color:var(--blue);font-weight:900;flex:0 0 auto}.mln-suggestions a b{margin-left:auto;color:#aab4c1}.mln-suggest-empty{padding:14px;color:var(--muted);font-size:13px}
.mln-main{min-height:65vh}.mln-commercial-hero{position:relative;overflow:hidden;padding:68px 0 64px;background:linear-gradient(135deg,#f3f5ff 0%,#fbfcff 60%,#eefaff 100%);border-bottom:1px solid var(--border)}.mln-commercial-hero:before{content:"";position:absolute;width:330px;height:330px;border-radius:50%;background:rgba(8,114,207,.08);right:-80px;top:-130px}.mln-commercial-hero:after{content:"";position:absolute;width:210px;height:210px;border-radius:50%;background:rgba(255,122,0,.09);left:-90px;bottom:-115px}.mln-commercial-hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.13fr .87fr;align-items:center;gap:54px}.mln-kicker{display:inline-flex;align-items:center;gap:7px;padding:7px 12px;border-radius:999px;background:#e8fff5;color:#158056;font-weight:900;font-size:12px;letter-spacing:.02em}.mln-hero-copy h1{margin:18px 0 15px;font-size:clamp(42px,5.4vw,68px);line-height:1.03;letter-spacing:-.05em;max-width:720px}.mln-hero-copy h1 span{color:var(--blue)}.mln-hero-copy>p{margin:0 0 25px;color:var(--muted);font-size:17px;max-width:700px}.mln-big-search{position:relative;display:flex;max-width:680px;background:#fff;border:1px solid #dce5ef;border-radius:16px;padding:6px;box-shadow:0 12px 34px rgba(24,64,115,.10)}.mln-big-search .mln-search-field-wrap{flex:1}.mln-big-search input{width:100%;border:0;outline:0;background:transparent;padding:13px 14px}.mln-big-search button{border:0;border-radius:12px;background:var(--blue);color:#fff;font-weight:900;padding:12px 19px;cursor:pointer;white-space:nowrap}.mln-big-search button:hover{background:var(--blue-dark)}.mln-big-search .mln-suggestions{top:calc(100% + 13px);min-width:100%}.mln-quick-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.mln-quick-links a{padding:6px 11px;border:1px solid #dfe5ef;border-radius:999px;background:#fff;color:var(--muted);font-size:12px;font-weight:800}.mln-quick-links a:hover{border-color:#bcd9f5;color:var(--blue)}
.mln-hero-visual{display:flex;justify-content:center}.mln-demo-sheet{position:relative;width:min(100%,430px);background:#fff;border:1px solid #eef0f6;border-radius:28px;padding:29px;box-shadow:0 28px 60px rgba(31,55,92,.14);transform:rotate(1deg)}.mln-demo-top{display:flex;justify-content:space-between;gap:15px}.mln-demo-top span{display:inline-block;padding:5px 10px;border-radius:999px;background:#eeeaff;color:#5f52ef;font-size:10px;font-weight:900}.mln-demo-top span:last-child{background:#fff0e4;color:#c65d11}.mln-demo-sheet h2{font-size:24px;line-height:1.15;margin:22px 0 15px}.mln-week-badge{position:absolute;left:-35px;top:62px;transform:rotate(-7deg);background:var(--orange);color:#fff;padding:9px 14px;border-radius:11px;font-weight:900;font-size:13px;box-shadow:0 12px 25px rgba(255,122,0,.25)}.mln-demo-lines{display:grid;gap:8px;margin-bottom:22px}.mln-demo-lines i{height:9px;background:#edf0f6;border-radius:99px}.mln-demo-lines i:nth-child(2){width:82%}.mln-demo-lines i:nth-child(3){width:66%}.mln-demo-row{display:flex;align-items:center;gap:11px;padding:12px;background:#f8f8fc;border-radius:12px;margin:9px 0}.mln-demo-row b{width:30px;height:30px;border-radius:9px;background:#6557f5;color:#fff;display:grid;place-items:center}.mln-demo-row.orange b{background:var(--orange)}.mln-demo-row.green b{background:#1dbf83}.mln-demo-row strong{font-size:12px}.mln-easy-badge{position:absolute;right:-26px;bottom:72px;background:#1dbf83;color:#fff;border-radius:12px;padding:10px 14px;font-weight:900;font-size:12px;transform:rotate(5deg)}
.mln-home-section{padding:64px 0}.mln-home-section.mln-soft{background:var(--bg)}.mln-section-head{width:min(var(--width),calc(100% - 36px));margin:0 auto 25px;display:flex;justify-content:space-between;align-items:end;gap:20px}.mln-section-head h2{margin:0;font-size:clamp(30px,4vw,40px);line-height:1.12;letter-spacing:-.035em;color:var(--ink)}.mln-section-head p{margin:7px 0 0;color:var(--muted)}.mln-section-head-row{align-items:center}.mln-view-all{font-weight:900;color:#5f52ef;white-space:nowrap}.mln-grid{width:min(var(--width),calc(100% - 36px));margin:auto;display:grid;gap:16px}.mln-grid-classes{grid-template-columns:repeat(6,1fr)}.mln-grid-terms{grid-template-columns:repeat(3,1fr)}.mln-card-link{display:flex;flex-direction:column;align-items:center;text-align:center;height:100%;background:#fff;border:1px solid var(--border);border-radius:18px;padding:20px;color:var(--ink);box-shadow:0 8px 24px rgba(30,55,90,.04);transition:.18s ease}.mln-card-link:hover{transform:translateY(-4px);box-shadow:0 15px 34px rgba(30,55,90,.10);color:var(--ink);border-color:#cfe0f3}.mln-card-icon{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;color:#fff;font-weight:900;margin-bottom:12px;background:#5f52ef}.mln-class-card:nth-child(3n+2) .mln-card-icon{background:var(--orange)}.mln-class-card:nth-child(3n) .mln-card-icon{background:#20be82}.mln-card-link strong{font-size:16px}.mln-card-link>span:last-child{color:var(--muted);font-size:12px;margin-top:3px}
.mln-subject-grid{width:min(var(--width),calc(100% - 36px));margin:auto;display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.mln-subject-card{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--border);border-radius:17px;padding:14px;color:var(--ink);box-shadow:0 8px 20px rgba(30,55,90,.035);transition:.18s ease}.mln-subject-card:hover{transform:translateY(-3px);box-shadow:0 15px 30px rgba(30,55,90,.08);color:var(--ink);border-color:#cfe0f3}.mln-subject-illustration{width:76px;height:58px;display:grid;place-items:center;overflow:hidden;border-radius:13px;flex:0 0 auto}.mln-subject-illustration img{width:100%;height:100%;object-fit:contain}.mln-subject-copy{min-width:0;display:flex;flex-direction:column}.mln-subject-copy strong{font-size:14px}.mln-subject-copy small{color:var(--muted);font-size:11px;margin-top:2px}.mln-subject-arrow{margin-left:auto;color:#a9b4c2;font-weight:900}.mln-subject-card:hover .mln-subject-arrow{color:var(--orange)}
.mln-post-grid{width:min(var(--width),calc(100% - 36px));margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.mln-post-card{border:1px solid var(--border);background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 9px 28px rgba(30,55,90,.06);display:flex;flex-direction:column}.mln-post-thumb{aspect-ratio:16/9;background:linear-gradient(135deg,#f0eeff,#fff4eb);display:block;overflow:hidden}.mln-post-thumb>img{width:100%;height:100%;object-fit:cover;display:block}.mln-post-placeholder{height:100%;display:grid;place-items:center}.mln-post-placeholder img{width:78px;height:auto;filter:drop-shadow(0 7px 10px rgba(8,114,207,.14))}.mln-post-body{padding:19px;display:flex;flex-direction:column;flex:1}.mln-post-cats{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:9px}.mln-pill{display:inline-block;padding:4px 8px;font-size:10px;border-radius:999px;background:#eef7ff;color:var(--blue-dark);font-weight:900}.mln-post-card h3{margin:0 0 9px;font-size:19px;line-height:1.35}.mln-post-card h3 a{color:var(--ink)}.mln-post-card h3 a:hover{color:var(--blue)}.mln-post-excerpt{color:var(--muted);font-size:13px;margin-bottom:14px}.mln-read-more{margin-top:auto;font-weight:900;color:var(--orange);font-size:13px}.mln-home-empty{width:min(740px,calc(100% - 36px));margin:auto;padding:34px;border:1px dashed #cad5e3;border-radius:20px;text-align:center}.mln-home-empty img{width:88px}.mln-home-empty h3{margin:12px 0 5px}.mln-home-empty p{margin:0;color:var(--muted)}
.mln-term-card{display:flex;align-items:center;gap:15px;background:#fff;border:1px solid var(--border);border-radius:18px;padding:20px;color:var(--ink);box-shadow:0 8px 24px rgba(30,55,90,.04)}.mln-term-card:hover{transform:translateY(-3px);color:var(--ink)}.mln-term-card>span{font-size:28px;font-weight:900;color:rgba(8,114,207,.22)}.mln-term-card div{display:flex;flex-direction:column}.mln-term-card strong{font-size:18px}.mln-term-card small{color:var(--muted)}.mln-term-card>b{margin-left:auto;color:var(--orange)}
.mln-cta{width:min(var(--width),calc(100% - 36px));margin:0 auto 68px;background:linear-gradient(120deg,var(--blue-dark),var(--blue) 45%,var(--sky));color:#fff;border-radius:28px;padding:clamp(30px,5vw,50px);display:flex;justify-content:space-between;align-items:center;gap:28px}.mln-cta h2{margin:0 0 7px;color:#fff;font-size:clamp(28px,4vw,40px);line-height:1.12}.mln-cta p{margin:0;color:rgba(255,255,255,.84)}.mln-cta a{display:inline-block;background:var(--orange);color:#fff;font-weight:900;border-radius:13px;padding:13px 19px;white-space:nowrap}
.mln-content-shell{width:min(900px,calc(100% - 36px));margin:42px auto 70px}.mln-page-card,.mln-article{background:#fff;border:1px solid var(--border);border-radius:24px;box-shadow:var(--shadow);padding:clamp(22px,4vw,48px)}.mln-entry-title{margin:0 0 10px;font-size:clamp(30px,4vw,48px);line-height:1.15;letter-spacing:-.025em}.mln-entry-meta{color:var(--muted);font-size:14px;margin-bottom:24px;display:flex;gap:12px;flex-wrap:wrap}.mln-entry-content h2{margin-top:34px;font-size:25px;line-height:1.3;color:var(--blue-dark);border-left:5px solid var(--orange);padding-left:13px}.mln-entry-content h3{margin-top:28px;color:var(--green-dark)}.mln-entry-content ul,.mln-entry-content ol{padding-left:24px}.mln-entry-content blockquote{margin:28px 0;padding:18px 22px;border-left:5px solid var(--green);background:#f4fbf1;border-radius:0 14px 14px 0}.mln-entry-content table{width:100%;border-collapse:collapse}.mln-entry-content th,.mln-entry-content td{border:1px solid var(--border);padding:10px 12px;text-align:left}
.mln-archive-hero{padding:48px 0;background:linear-gradient(135deg,#f0f8ff,#fff,#f6fff2);border-bottom:1px solid var(--border)}.mln-archive-hero h1{margin:0;font-size:clamp(34px,5vw,50px);line-height:1.1}.mln-archive-hero p{max-width:760px;margin:12px 0 0;color:var(--muted)}.mln-archive-wrap{padding:46px 0 70px;background:var(--bg)}.mln-pagination{width:min(var(--width),calc(100% - 36px));margin:32px auto 0}.mln-pagination .nav-links{display:flex;gap:8px;flex-wrap:wrap}.mln-pagination a,.mln-pagination span{min-width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--border);border-radius:10px;background:#fff;padding:0 10px}.mln-pagination .current{background:var(--blue);color:#fff;border-color:var(--blue)}.mln-empty{width:min(760px,calc(100% - 36px));margin:60px auto;text-align:center}.mln-breadcrumbs{width:min(900px,calc(100% - 36px));margin:28px auto -18px;color:var(--muted);font-size:13px}.mln-breadcrumbs a{color:var(--muted)}
.mln-site-footer{background:#10233e;color:#d7e3f1;padding:52px 0 20px}.mln-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:44px}.mln-footer-logo{max-width:290px;background:#fff;border-radius:13px;padding:8px 12px;margin-bottom:16px}.mln-site-footer h3{color:#fff;margin:0 0 12px;font-size:16px}.mln-site-footer p{margin:0;color:#b9c9da}.mln-site-footer ul{list-style:none;margin:0;padding:0}.mln-site-footer li{margin:7px 0}.mln-site-footer a{color:#d7e3f1}.mln-site-footer a:hover{color:#fff}.mln-footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:36px;padding-top:18px;color:#9fb3c8;font-size:13px}
@media(max-width:1100px){.mln-menu-toggle{display:block;margin-left:auto}.mln-nav-wrap{display:none;position:absolute;top:100%;left:0;right:0;background:#fff;border-bottom:1px solid var(--border);box-shadow:0 16px 30px rgba(20,50,90,.12);padding:16px 18px 20px;flex-direction:column;align-items:stretch}.mln-nav-wrap.is-open{display:flex}.mln-primary-nav ul{flex-direction:column;align-items:stretch}.mln-primary-nav a{padding:10px 12px}.mln-header-search{width:100%}.mln-grid-classes{grid-template-columns:repeat(3,1fr)}.mln-subject-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.mln-brand img,.custom-logo{max-width:245px;max-height:49px}.mln-commercial-hero-grid{grid-template-columns:1fr}.mln-hero-visual{margin-top:10px}.mln-subject-grid,.mln-post-grid{grid-template-columns:repeat(2,1fr)}.mln-footer-grid{grid-template-columns:1fr 1fr}.mln-footer-grid>:first-child{grid-column:1/-1}.mln-suggestions{min-width:100%}}
@media(max-width:560px){.mln-container{width:min(100% - 24px,var(--width))}.mln-brand img,.custom-logo{max-width:200px;max-height:44px}.mln-commercial-hero{padding:48px 0}.mln-hero-copy h1{font-size:41px}.mln-big-search{flex-direction:column}.mln-big-search button{width:100%}.mln-grid-classes,.mln-grid-terms,.mln-subject-grid,.mln-post-grid{grid-template-columns:1fr}.mln-home-section{padding:50px 0}.mln-section-head,.mln-section-head-row{align-items:flex-start;flex-direction:column}.mln-cta{align-items:flex-start;flex-direction:column}.mln-footer-grid{grid-template-columns:1fr}.mln-footer-grid>:first-child{grid-column:auto}.mln-week-badge{left:-9px}.mln-easy-badge{right:-7px}.mln-demo-sheet{padding:24px 20px}.mln-subject-illustration{width:70px}.mln-suggestions{left:-4px;right:-4px}}

/* v2.1 reliability refinements */
@media(min-width:1101px){.mln-primary-nav a{padding-inline:6px;font-size:12.5px}.mln-header-search{min-width:190px}.mln-header-row{gap:14px}}


/* v3.0 curriculum navigation + redesigned footer */
.mln-post-navigation{width:min(900px,calc(100% - 36px));margin:26px auto 0;display:flex;align-items:center;justify-content:space-between;gap:14px}
.mln-post-navigation.mln-post-navigation-bottom{margin:0 auto 64px}
.mln-nav-slot{display:flex;flex:1}.mln-nav-slot:last-child{justify-content:flex-end}
.mln-curriculum-button{display:inline-flex;align-items:center;justify-content:center;min-width:132px;padding:11px 20px;border-radius:13px;background:var(--blue);color:#fff!important;font-weight:900;font-size:14px;letter-spacing:.045em;box-shadow:0 8px 20px rgba(8,114,207,.18);transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.mln-curriculum-button:hover{background:var(--blue-dark);color:#fff!important;transform:translateY(-2px);box-shadow:0 11px 24px rgba(8,114,207,.24)}
.mln-curriculum-button.mln-next-button{background:var(--green-dark);box-shadow:0 8px 20px rgba(48,154,27,.16)}
.mln-curriculum-button.mln-next-button:hover{background:#257f15;box-shadow:0 11px 24px rgba(48,154,27,.22)}
.mln-single-content-shell{margin:18px auto 18px}

.mln-site-footer{background:linear-gradient(145deg,#0c1d34,#102b4c);padding:58px 0 20px}
.mln-footer-grid{grid-template-columns:1.45fr 1fr 1fr 1fr;gap:38px}
.mln-footer-brand p{max-width:360px}.mln-footer-tagline{margin-top:13px!important;font-size:13px;color:#8fb0cf!important}
.mln-site-footer h3{font-size:15px;letter-spacing:.02em;margin-bottom:14px}
.mln-site-footer li{margin:8px 0}.mln-site-footer a{display:inline-block;color:#d7e3f1}.mln-site-footer a:hover{color:#fff;transform:translateX(2px)}
.mln-footer-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;flex-wrap:wrap}
.mln-footer-bottom-links{display:flex;gap:14px;flex-wrap:wrap}.mln-footer-bottom-links a{color:#9fb3c8;font-size:12px}.mln-footer-bottom-links a:hover{color:#fff}

@media(max-width:900px){.mln-footer-grid{grid-template-columns:1fr 1fr}.mln-footer-brand{grid-column:1/-1}}
@media(max-width:560px){.mln-post-navigation{width:min(100% - 24px,900px);gap:10px}.mln-curriculum-button{min-width:112px;padding:10px 14px;font-size:12px;border-radius:11px}.mln-footer-grid{grid-template-columns:1fr}.mln-footer-brand{grid-column:auto}.mln-footer-bottom{align-items:flex-start;flex-direction:column}.mln-site-footer{padding-top:44px}}

/* v3.2 automatic Scheme of Work week links */
.mln-entry-content .mln-scheme-week-link{display:inline-flex;align-items:center;gap:.45em;color:var(--blue-dark);text-decoration:none;border-bottom:2px solid rgba(8,114,207,.2);transition:color .16s ease,border-color .16s ease,transform .16s ease}
.mln-entry-content .mln-scheme-week-link:hover{color:var(--orange);border-color:var(--orange);transform:translateX(2px)}
.mln-scheme-week-arrow{color:var(--orange);font-weight:900;line-height:1}

