/*
Theme Name: Clintonel Foundation
Theme URI: https://clintonel.org
Author: Clintonel Foundation
Description: Custom block theme for Clintonel Foundation — equipping young Africans with the engineering, technical and entrepreneurial skills they need to secure dignified work, create products and build businesses. On activation it creates the Home, About, Our Work, Impact, Partner With Us, News and Contact pages and the main menu.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: clintonel-foundation
*/

/* ---------- Utility classes used by the theme's patterns ---------- */
.cf-eyebrow{font-size:.72rem!important;font-weight:700;letter-spacing:.22em;text-transform:uppercase;color:var(--wp--preset--color--orange);margin-bottom:.4rem!important}
.cf-eyebrow.cf-light{color:#FFC6A6}
.cf-rule{width:52px!important;height:3px;background:var(--wp--preset--color--orange)!important;border:0!important;margin-left:0!important;margin-top:.9rem!important;margin-bottom:1.2rem!important;opacity:1!important}
.cf-rule.cf-center{margin-left:auto!important;margin-right:auto!important}
.cf-rule.cf-white{background:#fff!important;opacity:.7!important}
.cf-lead{font-size:1.06rem;color:var(--wp--preset--color--muted);max-width:760px}
.cf-lead:not(.has-text-align-center){margin-left:0!important}
.cf-card{background:#fff;border-radius:6px;box-shadow:0 1px 2px rgba(15,42,82,.06),0 8px 24px rgba(15,42,82,.06)}
.cf-card.cf-sand{background:var(--wp--preset--color--sand);box-shadow:none}
.cf-topline{border-top:4px solid var(--wp--preset--color--blue)}
.cf-topline.cf-green{border-top-color:var(--wp--preset--color--green)}
.cf-topline.cf-orange{border-top-color:var(--wp--preset--color--orange)}
.cf-topline.cf-purple{border-top-color:var(--wp--preset--color--purple)}
.cf-leftline{border-left:3px solid var(--wp--preset--color--orange)}
.cf-leftline.cf-green{border-left-color:var(--wp--preset--color--green)}
.cf-leftline.cf-blue{border-left-color:var(--wp--preset--color--blue)}
.cf-icon{width:48px;height:48px;border-radius:10px;display:flex!important;align-items:center;justify-content:center;margin:0 0 .9rem!important;background:var(--wp--preset--color--orange)}
.cf-icon img{width:24px!important;height:24px!important}
.cf-icon.cf-blue{background:var(--wp--preset--color--blue)}
.cf-icon.cf-green{background:var(--wp--preset--color--green)}
.cf-icon.cf-purple{background:var(--wp--preset--color--purple)}
.cf-stat{background:rgba(255,255,255,.10);border-radius:6px;text-align:center}
.wp-block-column>.cf-stat+.cf-stat{margin-top:.6rem}
.wp-block-column>.cf-stat{min-height:150px;display:flex;flex-direction:column;justify-content:center}
.cf-stat .cf-num{font-family:var(--wp--preset--font-family--heading);font-size:clamp(2rem,4vw,2.6rem);font-weight:600;line-height:1.1;color:#fff;margin:0}
.cf-stat .cf-num-label{font-size:.82rem;color:#D3E1F6;margin-top:.4rem;line-height:1.5}
.cf-stat-head{font-size:.72rem!important;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:#fff;border-top:3px solid var(--wp--preset--color--orange);background:rgba(0,0,0,.16);padding:.7rem 1rem!important;margin:0!important;min-height:3.4rem;display:flex;align-items:center}
.cf-list{list-style:none;padding-left:0!important}
.cf-list li{position:relative;padding-left:1.1rem;margin:.35rem 0;font-size:.92rem}
.cf-list li:before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--wp--preset--color--orange)}
.cf-small{font-size:.85rem!important}
.cf-note{font-size:.78rem!important;font-style:italic;opacity:.85}
.cf-step-num{width:56px!important;max-width:56px!important;height:56px;padding:0!important;border-radius:50%;color:#fff!important;font-weight:700;font-size:1.25rem!important;display:flex!important;align-items:center;justify-content:center;margin:0 auto .9rem!important}
.cf-sdg{display:inline-block;color:#fff;font-size:.72rem!important;font-weight:700;padding:.45rem .8rem!important;border-radius:3px;margin:0!important}
.cf-logos img{max-height:56px!important;width:auto!important;max-width:100%!important;object-fit:contain;margin:0 auto}
.cf-logos .wp-block-image{display:flex;align-items:center;justify-content:center;min-height:86px;margin:0}
.cf-logos.cf-boxed .wp-block-image{background:#fff;border-radius:6px;padding:.8rem 1rem}
.cf-photo img{border-radius:6px}
.cf-quote{font-family:var(--wp--preset--font-family--heading);font-style:italic}
.cf-pill{display:inline-block!important;font-size:.7rem!important;font-weight:700;color:#fff;padding:.25rem .6rem!important;border-radius:3px;margin-bottom:.6rem!important}
.cf-target-num{font-family:var(--wp--preset--font-family--heading);font-size:1.9rem!important;font-weight:600;line-height:1.1;margin:0!important;color:#fff}
.cf-target-label{font-size:.85rem!important;color:#FFE7D9;margin-top:.2rem!important}

/* Page sections sit flush against each other */
.cf-sections>*{margin-block-start:0!important;margin-block-end:0!important}

/* Outline buttons are used on dark backgrounds */
.wp-block-button.is-style-outline>.wp-block-button__link{color:#fff;border:2px solid #fff;background:transparent}
.wp-block-button.is-style-outline>.wp-block-button__link:hover{background:#fff;color:var(--wp--preset--color--navy)}

/* Header */
.cf-header{position:sticky;top:0;z-index:50;box-shadow:0 2px 12px rgba(0,0,0,.12)}
.admin-bar .cf-header{top:32px}
.cf-header .wp-block-navigation a:hover{color:var(--wp--preset--color--orange-light)!important}
.cf-header .wp-block-navigation .current-menu-item>a{color:var(--wp--preset--color--orange-light)!important}
.cf-header .wp-block-navigation__responsive-container.is-menu-open{background:var(--wp--preset--color--navy)!important;color:#fff!important;padding:2rem}
.cf-header .wp-block-site-logo img,.cf-header .cf-logo img{max-height:52px;width:auto}

/* Footer */
.cf-footer a{color:#DCE7F7;text-decoration:none}
.cf-footer a:hover{color:var(--wp--preset--color--orange-light)}
.cf-footer .cf-contact{display:flex;gap:.6rem;align-items:flex-start;margin:.35rem 0}
.cf-footer .cf-contact img{width:16px;height:16px;margin-top:.3rem}

/* Cover hero tweaks */
.cf-hero .wp-block-cover__inner-container{max-width:1200px}
.cf-page-hero h1{color:#fff}

/* Blog */
.wp-block-post-template .wp-block-post{background:#fff}
.wp-block-post-featured-image img{border-radius:6px}

@media (max-width:781px){
  .cf-stat-head{min-height:0}
  .cf-hide-mobile{display:none!important}
}
@media (max-width:600px){ .admin-bar .cf-header{top:0} }
.cf-hero-lead{max-width:720px;margin-left:0!important}
.wp-site-blocks>footer,.wp-site-blocks>.wp-block-template-part:last-child{margin-block-start:0}
