/*
Theme Name: Yoruba Lede
Description: Yorùbá L’Èdè cultural heritage website, with editable pages, community gallery and enquiries.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Author: Smartedge Learning & IT
License: GPL-2.0-or-later
Text Domain: yoruba-lede
*/
:root{--background:#fffdf8;--foreground:#173d30;--card:#fff;--card-foreground:#173d30;--popover:#fffdf8;--popover-foreground:#173d30;--primary:#164c38;--primary-foreground:#fff;--secondary:#f3eddf;--secondary-foreground:#173d30;--muted:#f3eddf;--muted-foreground:#546259;--accent:#e8d7ad;--accent-foreground:#173d30;--destructive:#a63126;--border:#d7dbcf;--input:#aab5a9;--ring:#b06c23;--radius:.5rem}
*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--foreground);font-family:Arial,Helvetica,sans-serif;font-size:1rem;line-height:1.65}h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.17;font-weight:400}h1,h2,h3,.brand,.club-words>span{font-family:Georgia,'Times New Roman',serif}h1{font-size:clamp(2.8rem,5.5vw,5.5rem);letter-spacing:-.045em}h2{font-size:clamp(2rem,3.2vw,3.2rem);letter-spacing:-.035em}h3{font-size:1.6rem}p{margin:1rem 0;color:#536357}em{font-weight:400;color:#ad572b}a{color:inherit;text-decoration:none}p a,.small a{text-decoration:underline;text-underline-offset:3px}a,button{touch-action:manipulation}a:hover{color:#ae592b}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.6;cursor:wait}:focus-visible{outline:3px solid #bf7426;outline-offset:4px}img{max-width:100%;display:block}.topline{background:#123f2d;color:#f2e5bb;padding:.55rem 5%;display:flex;justify-content:space-between;font-size:.75rem;letter-spacing:.12em}.topline span{letter-spacing:.025em}header{padding:1.4rem 5%;display:flex;align-items:center;justify-content:space-between;gap:1.5rem;border-bottom:1px solid #dde1d5;background:#fffdf8}.brand{display:flex;gap:.65rem;align-items:center;font-size:1.65rem;font-weight:bold;white-space:nowrap}.brand small{display:block;font: .625rem Arial,sans-serif;letter-spacing:.13em;margin-top:.15rem}.brand img{width:65px;height:65px;object-fit:contain}.brand-mark{font:1.3rem Georgia;border:1px solid #b78a38;border-radius:50%;padding:.4rem;color:#9a6a21}header nav{display:flex;gap:1.5rem;font-size:.875rem}header nav a:hover{box-shadow:0 2px #b78a38}.button{background:#164c38;color:white;display:inline-flex;align-items:center;justify-content:center;gap:1.5rem;padding:.95rem 1.5rem;border:1px solid transparent;border-radius:4px;font-weight:600;font-size:.9375rem;line-height:1.4}.button:hover{background:#246044;color:#fff}.button.gold{background:#e9bd56;color:#123f2d}.button.gold:hover{background:#f4ce71}.button.compact{padding:.8rem 1rem;white-space:nowrap}.hero{padding:4.5rem 5% 4rem;display:grid;grid-template-columns:1.05fr 1fr;gap:5%;align-items:center}.eyebrow{font-size:.75rem;letter-spacing:.14em;font-weight:700;color:#8f592a;margin:0 0 1.3rem;line-height:1.6}.hero h1{font-size:clamp(3.5rem,6vw,6rem);line-height:1.08}.hero .intro{max-width:480px;font-size:1.125rem;line-height:1.75;margin:1.6rem 0 2rem}.actions{display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap}.text-link{font-size:.875rem;font-weight:600}.text-link span{margin-left:.4rem}.hero-foot{font-size:.75rem;letter-spacing:.12em;margin:2.7rem 0 0;color:#61735e}.hero-image{position:relative;align-self:stretch;min-height:460px}.hero-image img{height:100%;width:100%;object-fit:cover;border-radius:42% 42% 3px 3px}.hero-image figcaption{position:absolute;bottom:24px;left:-25px;background:#fffdf8;padding:1.2rem 2rem;box-shadow:0 6px 25px #173d3010;font-size:.875rem}.hero-image figcaption span{display:block;font:italic 1.9rem Georgia;color:#98502a}.hero-image figcaption small{display:block;color:#687265;font-size:.75rem;margin-top:.3rem}.ribbon{background:#f0e4cb;display:flex;justify-content:space-around;align-items:center;padding:1.3rem 5%;font:1.2rem Georgia;color:#224831;gap:1rem;flex-wrap:wrap}.ribbon i{font-size:1rem;color:#a55d2f}.section{padding:5.5rem 7%}.intro-section>div{display:grid;grid-template-columns:1fr 1.1fr;gap:7%}.intro-section>div p:first-child{font-size:1.25rem;margin-top:0}.under-link{display:inline-block;font-size:.9375rem;font-weight:600;border-bottom:1px solid #8c9b81;padding-bottom:.3rem;margin-top:1rem}.tint{background:#f5f1e7}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:2rem;margin-bottom:2.5rem}.grid{display:grid;gap:1.5rem}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:3rem}.card{background:white;border:1px solid #dce0d3;border-radius:6px;padding:2rem;min-width:0}.card h2{font-size:2rem}.card p{line-height:1.7}.programme{transition:transform .2s,box-shadow .2s}.programme:hover{transform:translateY(-4px);box-shadow:0 12px 35px #163c3010}.number{display:block;font:italic 2.4rem Georgia;color:#ad592b;margin-bottom:2.2rem}.programme:nth-child(2){background:#edf0e3}.programme:nth-child(3){background:#f5e7d4}.club-band{background:#153f2e;color:#fffdf3;display:grid;grid-template-columns:1fr 1fr;gap:6%}.club-band .eyebrow{color:#e3bd69}.club-band p{color:#d2dfcd}.club-band .button{margin-top:1rem}.club-words{border:1px solid #809771;padding:3rem;align-self:center;background:repeating-linear-gradient(45deg,transparent,transparent 18px,#ffffff03 18px,#ffffff03 20px)}.club-words>span{display:block;font-size:2rem}.club-words>span:first-child{font-size:clamp(2.5rem,4vw,4.5rem);color:#edc870}.empty-inline{border-top:1px solid #ced7c8;border-bottom:1px solid #ced7c8;padding:2.2rem 0}.challenge-band{background:#f0d9b8}.challenge-band h2{font-size:clamp(2.7rem,4vw,4.5rem)}.challenge-band .button{margin-top:1rem}.join-strip{display:flex;gap:3rem;justify-content:space-between;align-items:center}.join-strip .button{flex-shrink:0}footer{background:#0d3024;color:#edf0df;padding:4rem 7% 1.5rem}footer p{color:#bdcebb;font-size:.875rem}footer small{font-size:.75rem;color:#b9cbb4}.footer-top{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2rem}.footer-top h3{font:600 .875rem Arial;margin-bottom:1.2rem;color:#eccf8e}.footer-top>div>a:not(.brand){display:block;font-size:.875rem;margin-bottom:.5rem}.footer-bottom{border-top:1px solid #385344;margin-top:3rem;padding-top:1.5rem;display:flex;gap:1.5rem;flex-wrap:wrap;font-size:.75rem;color:#c1cfba}.footer-bottom span{margin-right:auto}.mobile-menu{display:none}.skip{position:fixed;left:1rem;top:-100px;padding:1rem;background:white;z-index:100}.skip:focus{top:0}.page-hero{padding:3rem 7% 4rem;background:#eff0e5}.page-hero h1{max-width:950px}.page-hero>p:last-child{max-width:780px;font-size:1.2rem;margin-bottom:0}.breadcrumb{font-size:.875rem;display:inline-block;margin-bottom:2rem;text-decoration:underline}.page-body{min-height:420px}.prose{max-width:800px}.prose h2{margin:2rem 0 1rem}.prose h2:first-child{margin-top:0}.prose ul,.large-list{padding-left:1.4rem}.prose li,.large-list li{margin:.8rem 0}.prose+.grid{margin:3rem 0}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}blockquote{font:italic 1.8rem/1.5 Georgia;border-left:3px solid #b17836;margin:2rem 0;padding-left:1.5rem}.form label{display:block;margin:1.2rem 0 .5rem;font-size:.9375rem;font-weight:600}input:not([type=checkbox]),textarea{display:block;width:100%;padding:.75rem;border:1px solid #aab5a9;border-radius:4px;background:#fff;color:#173d30;margin:.4rem 0;font-weight:400}textarea{resize:vertical}.form .check,.check{display:flex;align-items:flex-start;gap:.75rem;font-weight:400}.check [data-slot=checkbox]{margin-top:.3rem;flex-shrink:0}.small{font-size:.8125rem}.status{font-size:.9375rem;white-space:pre-wrap}.honey{position:absolute!important;left:-9999px!important}.narrow{max-width:650px;margin:0 auto}.facts{padding:1rem 0;margin:2rem 0;border-block:1px solid #cad5c5}.facts strong{display:block;color:#173d30}.notice{background:#f4ead5;padding:1.2rem;border-left:3px solid #b58433}.challenge-card,.support-card{background:#174d37;color:white;padding:3rem}.challenge-card p,.support-card p{color:#e4ebd9}.challenge-card h2,.support-card h2{margin:1.5rem 0}.challenge-card>span{color:#efcc78;letter-spacing:.15em;font-size:.875rem}.spaced{margin-top:3rem}.card-image{width:100%;height:220px;object-fit:cover;margin-bottom:1.5rem;border-radius:3px}.feature-image{width:100%;max-height:600px;object-fit:contain;margin-bottom:2rem}.video{width:100%;aspect-ratio:16/9;border:0;margin:2rem 0}.video-consent{width:100%;padding:3rem;background:#e8eddf;border:1px solid #b9c5ad;color:#163e2b;margin:1.5rem 0}.video-consent span{display:block;font-size:.8125rem;margin-top:1rem}.admin-form{display:grid;gap:1rem}.admin-form label{display:block}.admin-toolbar{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:2rem}.admin-list{margin-top:2rem}.admin-list article{border-top:1px solid #ccd7c6;padding:1.5rem 0}.admin-list button{margin-right:1rem}.admin-tabs{display:flex;gap:.5rem;flex-wrap:wrap}.admin-tabs [data-state=active]{background:#164c38;color:white}.admin-tabs button{padding:.7rem 1rem;border:1px solid #b8c8af;border-radius:4px}.editor-settings{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.editor-settings label:has(textarea){grid-column:1/-1}
@media(max-width:1100px){header nav{gap:.9rem}header{gap:1rem}.brand{font-size:1.3rem}header>.button{display:none}.hero{gap:4%;padding-top:3rem}.hero-image{min-height:400px}.hero h1{font-size:4.5rem}}
@media(max-width:760px){.topline{justify-content:center;font-size:.625rem}.topline span{display:none}header{padding:1.1rem 5%;flex-wrap:wrap}header>nav{display:none}.mobile-menu{display:block}.mobile-menu summary{cursor:pointer;font-size:.9375rem;padding:.5rem}.mobile-menu nav{position:absolute;right:5%;top:110px;background:#fffdf8;z-index:5;padding:1.5rem;box-shadow:0 5px 30px #0002;display:flex;flex-direction:column}.hero{grid-template-columns:1fr;padding:3rem 6%;gap:2.5rem}.hero h1{font-size:clamp(3.2rem,12vw,5rem)}.hero-image{min-height:0;height:360px;margin-left:1rem}.hero-image figcaption{left:-1rem;padding:.8rem 1.4rem}.hero-image figcaption span{font-size:1.6rem}.hero-foot{margin-top:2rem}.ribbon{font-size:1rem;padding:1rem;gap:.75rem}.ribbon span:last-child,.ribbon i:last-of-type{display:none}.section{padding:3.5rem 6%}.intro-section>div,.two,.three,.club-band{grid-template-columns:1fr;gap:2rem}.section-heading{display:block}.club-words{padding:2rem}.join-strip{align-items:start;flex-direction:column;gap:1rem}.footer-top{grid-template-columns:1fr 1fr}.footer-top>div:first-child{grid-column:1/-1}.footer-bottom{gap:1rem}.footer-bottom span{width:100%}.page-hero{padding:2rem 6% 3rem}.page-hero h1{font-size:2.8rem}.card{padding:1.5rem}.editor-settings{grid-template-columns:1fr}.challenge-card,.support-card{padding:2rem}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

.brand img.supplied-logo{width:110px;height:70px;object-fit:contain}.card-image{object-fit:contain;background:#f2f0e9;height:280px}.hero-image img{object-position:center 35%}@media(max-width:760px){.brand img.supplied-logo{width:80px;height:52px}}

.check input[type=checkbox]{width:20px;height:20px;flex-shrink:0;margin-top:4px}.yl-pagination{display:flex;gap:1rem;flex-wrap:wrap;margin-top:2rem}.yl-message:empty{display:none}.yl-message{padding:1rem;background:#eef3e7}.wp-block-html{margin:0}.brand small{font-size:12px}.eyebrow,.small{font-size:14px}.yl-form-error{color:#9b2920}.screen-reader-text{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}.alignwide{width:100%}
/* Photo banners and accessible homepage slideshow — 1.1 */
.page-hero.yl-photo-banner{position:relative;isolation:isolate;overflow:hidden;min-height:360px;display:flex;align-items:center;background:#123c2c;color:#fff}
.yl-banner-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 38%;z-index:-2}
.yl-photo-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,30,20,.9),rgba(5,30,20,.5));z-index:-1}
.yl-banner-copy{max-width:850px}.yl-photo-banner h1,.yl-photo-banner p,.yl-photo-banner a{color:#fff}.yl-photo-banner .eyebrow{color:#f0d08b}
.hero-image.yl-slideshow{display:block;position:relative;overflow:hidden;margin:0;background:#103b2a;min-width:0}
.yl-slides{height:100%;min-height:500px}.yl-slide{position:relative;height:100%;min-height:500px}.yl-slide[hidden]{display:none}.yl-slide img{display:block;width:100%;height:100%;min-height:500px;object-fit:cover;object-position:center 35%}
.yl-slide-caption{position:absolute;bottom:0;left:0;right:0;padding:5rem 1.5rem 5.5rem;background:linear-gradient(transparent,rgba(4,29,19,.92));color:#fff;font:600 clamp(1.3rem,2.2vw,2rem)/1.2 Georgia,serif}
.yl-slide-controls{position:absolute;bottom:1rem;left:1rem;right:1rem;display:flex;align-items:center;gap:.65rem;color:#fff}.yl-slide-controls[hidden]{display:none}.yl-slide-controls button{min-height:44px;min-width:44px;padding:.5rem .85rem;border:1px solid #fff8;background:#113c2e;color:#fff;border-radius:4px;font:inherit;cursor:pointer}.yl-slide-controls button:last-child{margin-left:auto}.yl-slide-controls button:focus-visible{outline:3px solid #f0d08b;outline-offset:3px}.yl-slide-controls span{font-size:1rem}
@media(max-width:700px){.page-hero.yl-photo-banner{min-height:300px;padding:3rem 1.25rem}.yl-slides,.yl-slide,.yl-slide img{min-height:360px;height:360px}.hero-image.yl-slideshow{min-height:360px}.yl-banner-copy h1{font-size:clamp(2rem,9vw,3.5rem)}}
.hero-image.yl-slideshow img{border-radius:0}.hero-image.yl-slideshow{border-radius:1rem}
