
/*
Theme Name: Lazismu Pakem
Theme URI: https://www.skormu.id/
Author: PCM Pakem
Description: Lazismu Pakem App-style WordPress theme — mobile-first fundraising.
Version: 1.2.4
Text Domain: lazismu-pakem
*/

:root{
  --green:#087b43;
  --green-dark:#045b31;
  --green-soft:#eaf8f0;
  --orange:#f28c18;
  --orange-soft:#fff1df;
  --red:#ef3d35;
  --ink:#17221d;
  --muted:#727b76;
  --line:#e6ebe8;
  --bg:#f7f9f8;
  --white:#fff;
  --shadow:0 7px 24px rgba(20,60,40,.08);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--ink);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.45;
}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
.container{width:min(1400px,calc(100% - 32px));margin:auto}

/* APP HEADER */
.app-header{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}
.app-header-inner{
  min-height:72px;display:flex;align-items:center;gap:20px;
}
.brand{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;
  width:150px!important;height:52px!important;min-width:150px!important;
  max-width:150px!important;overflow:hidden!important;
}
.brand .lzm-header-logo{
  display:block!important;
  width:135px!important;height:44px!important;
  max-width:135px!important;max-height:44px!important;
  min-width:135px!important;min-height:44px!important;
  object-fit:contain!important;object-position:left center!important;
}
.user-greeting{
  display:none;min-width:0;
}
.user-greeting small{display:block;color:var(--muted);font-size:10px}
.user-greeting strong{display:block;font-size:14px}
.header-actions{margin-left:auto;display:flex;align-items:center;gap:8px}
.icon-btn{
  width:40px;height:40px;border:1px solid var(--line);background:#fff;
  border-radius:13px;display:grid;place-items:center;color:var(--ink);
}
.main-nav{margin-left:auto}
.main-nav ul{display:flex;list-style:none;margin:0;padding:0;gap:3px}
.main-nav a{font-size:13px;font-weight:800;padding:9px 11px;border-radius:11px}
.main-nav a:hover{background:var(--green-soft);color:var(--green)}
.header-donate{
  background:var(--orange);color:#fff;padding:10px 16px;
  border-radius:999px;font-size:13px;font-weight:850;
}
.menu-btn{display:none;border:0;background:var(--green);color:#fff;width:40px;height:40px;border-radius:12px}

/* HARD HEADER LOGO LIMIT — prevents WordPress/customizer image rules from enlarging the logo */
.app-header .brand, .app-header .brand .lzm-header-logo{box-sizing:border-box!important}
.app-header .brand .lzm-header-logo{overflow:hidden!important}

/* APP BODY */
.app-shell{padding-bottom:20px}
.app-hero{
  background:linear-gradient(135deg,#eaf8f0 0%,#fff 58%,#fff3e2 100%);
  padding:18px 0 10px;
}
.hero-top{
  display:flex;align-items:end;justify-content:space-between;gap:12px;
  margin-bottom:13px;
}
.hero-top h1{font-size:24px;line-height:1.1;margin:0}
.hero-top p{margin:4px 0 0;color:var(--muted);font-size:12px}
.hero-cta{font-size:12px;font-weight:850;color:var(--green);white-space:nowrap}

/* CATEGORY TABS */
.category-tabs{
  display:flex;gap:9px;overflow-x:auto;padding:2px 1px 9px;
  scrollbar-width:none;
}
.category-tabs::-webkit-scrollbar{display:none}
.category-tab{
  flex:0 0 auto;background:#fff;border:1px solid #cfd7d2;
  padding:9px 16px;border-radius:999px;font-size:12px;font-weight:850;
  color:#626c67;
}
.category-tab.active{background:var(--green);border-color:var(--green);color:#fff}

/* CAMPAIGN BANNER */
.campaign{
  position:relative;overflow:hidden;border-radius:20px;
  min-height:180px;
  background:linear-gradient(120deg,#075e31,#0b8b4b 63%,#f28c18);
  color:#fff;display:flex;align-items:center;
  box-shadow:var(--shadow);
}
.campaign:before{
  content:"";position:absolute;right:-90px;top:-120px;
  width:330px;height:330px;border-radius:50%;
  background:rgba(255,255,255,.08);
}
.campaign-content{position:relative;z-index:2;padding:22px;max-width:720px}
.campaign-kicker{
  display:inline-block;background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.16);border-radius:999px;
  padding:5px 9px;font-size:10px;font-weight:900;margin-bottom:8px;
}
.campaign h2{margin:0 0 7px;font-size:clamp(22px,3vw,34px);line-height:1.12}
.campaign p{margin:0;color:#e5f4eb;font-size:13px;max-width:650px}
.campaign .btn{
  display:inline-flex;margin-top:14px;background:#fff;color:var(--green);
  padding:9px 14px;border-radius:11px;font-weight:900;font-size:12px;
}
.campaign-art{
  position:absolute;right:24px;bottom:0;width:220px;height:160px;
  opacity:.16;border-radius:100% 0 0 0;
  background:radial-gradient(circle at 45% 45%,#fff 0 5%,transparent 6%),
             linear-gradient(145deg,transparent 48%,#fff 49% 52%,transparent 53%);
}

/* SECTIONS */
.section{padding:24px 0}
.section-head{
  display:flex;align-items:end;justify-content:space-between;
  gap:12px;margin-bottom:13px;
}
.section-head h2{margin:0;font-size:21px;line-height:1.15}
.section-head p{margin:3px 0 0;color:var(--muted);font-size:12px}
.section-link{font-size:12px;color:var(--green);font-weight:900;white-space:nowrap}

/* PROGRAM RECOMMENDATIONS */
.recommendations{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;
}
.program-card{
  background:#fff;border:1px solid var(--line);border-radius:18px;
  overflow:hidden;box-shadow:0 3px 13px rgba(0,0,0,.035);
}
.program-thumb{
  position:relative;display:block;aspect-ratio:16/9;
  background:linear-gradient(135deg,#dff4e8,#fff0d8);
  overflow:hidden;
}
.program-thumb img{
  width:100%!important;height:100%!important;
  max-width:none!important;object-fit:cover!important;display:block;
}
.program-placeholder{
  width:100%;height:100%;display:grid;place-items:center;
  color:var(--green);font-size:18px;font-weight:950;
  letter-spacing:.04em;
}
.program-badge{
  position:absolute;top:9px;left:9px;
  padding:5px 8px;background:#fff;color:var(--green);
  border-radius:999px;font-size:9px;font-weight:950;
}
.program-body{padding:12px}
.program-title{
  font-size:15px;line-height:1.25;margin:0 0 5px;
  min-height:38px;
}
.program-excerpt{
  margin:0 0 10px;color:var(--muted);font-size:11px;
  min-height:32px;
}
.progress{height:7px;background:#edf0ee;border-radius:99px;overflow:hidden}
.progress span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--green),#2db16c)}
.program-meta{
  display:flex;justify-content:space-between;gap:8px;
  margin:7px 0 10px;color:var(--muted);font-size:10px;
}
.program-meta strong{color:var(--green)}
.participate{
  display:flex;align-items:center;justify-content:center;
  width:100%;padding:9px;border-radius:10px;
  background:var(--orange);color:#fff;font-weight:900;font-size:11px;
}

/* QUICK GRID LIKE APP */
.app-menu{
  display:grid;grid-template-columns:repeat(8,1fr);gap:10px;
}
.app-menu-item{
  background:#fff;border:1px solid var(--line);border-radius:16px;
  padding:13px 5px;text-align:center;
}
.app-menu-icon{
  width:43px;height:43px;margin:auto auto 7px;border-radius:14px;
  background:var(--green-soft);color:var(--green);
  display:grid;place-items:center;font-weight:950;font-size:17px;
}
.app-menu-item strong{display:block;font-size:11px;line-height:1.2}
.app-menu-item small{display:block;font-size:9px;color:var(--muted);margin-top:2px}

/* DONATION STRIP */
.donation-strip{
  background:#fff;border:1px solid var(--line);border-radius:18px;
  padding:16px;display:flex;align-items:center;justify-content:space-between;gap:18px;
  box-shadow:0 3px 13px rgba(0,0,0,.03);
}
.donation-strip strong{font-size:16px}.donation-strip p{margin:2px 0 0;color:var(--muted);font-size:11px}
.amount-row{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}
.amount-row a{padding:8px 11px;background:var(--green-soft);color:var(--green);border-radius:10px;font-size:11px;font-weight:900}

/* NEWS */
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}
.news-card{background:#fff;border:1px solid var(--line);border-radius:17px;overflow:hidden}
.news-thumb{display:block;aspect-ratio:16/9;background:#eaf0ec}
.news-thumb img{width:100%;height:100%;object-fit:cover}
.news-body{padding:12px}.news-body small{color:var(--muted);font-size:10px}.news-body h3{font-size:15px;line-height:1.3;margin:4px 0}.news-body p{color:var(--muted);font-size:11px;margin:0}

/* INTEGRATION */
.integration-section{padding-top:4px;padding-bottom:20px}
.integration{
  border-radius:20px;background:linear-gradient(115deg,#064d2a,#087b43 62%,#ef8a19);
  color:#fff;padding:22px;position:relative;overflow:hidden;
}
.integration h2{margin:0 0 7px;font-size:24px;line-height:1.15}.integration p{margin:0;color:#dcefe4;font-size:12px;max-width:900px}.integration .btn{display:inline-flex;margin-top:13px;background:#fff;color:var(--green);padding:9px 13px;border-radius:10px;font-size:11px;font-weight:900}

/* FOOTER */
.site-footer{background:#063b24;color:#dcebe2;margin-top:18px}
.footer-main{padding:32px 0;display:grid;grid-template-columns:1.4fr 1fr 1fr 1.35fr;gap:28px}
.footer-brand img{
  width:auto!important;height:60px!important;max-width:190px!important;
  object-fit:contain!important;background:#fff;padding:5px;border-radius:9px;
}
.site-footer h3{font-size:13px;color:#fff}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{font-size:12px;margin:6px 0}.footer-contact p{font-size:12px;line-height:1.65;margin:6px 0;color:#dcebe2}.footer-contact a{color:#ffb34d}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:12px 0;font-size:10px;display:flex;justify-content:space-between}
.footer-bottom a{color:#ffb34d}


/* WIDGETS + VISITOR COUNTER */
.pre-footer{padding:10px 0 0;background:var(--bg)}
.widget-zone{margin:0 0 14px;padding:0}
.lzm-widget{margin:0 0 12px}
.lzm-widget:last-child{margin-bottom:0}
.lzm-widget h3{margin:0 0 9px;font-size:16px}
.lzm-widget img{max-width:100%;height:auto}
.lzm-widget .widget{margin:0}
.visitor-counter{
  background:#fff;border:1px solid var(--line);border-radius:18px;
  padding:14px 16px;box-shadow:0 3px 13px rgba(0,0,0,.03);
  margin-bottom:18px;
}
.counter-title{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ink);margin-bottom:10px}
.counter-dot{width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 0 4px var(--green-soft)}
.counter-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.counter-item{background:var(--green-soft);border-radius:13px;padding:10px;text-align:center}
.counter-item strong{display:block;color:var(--green);font-size:18px;line-height:1.1}
.counter-item span{display:block;color:var(--muted);font-size:10px;margin-top:3px}

/* MOBILE APP NAV */
.mobile-nav{
  display:none;
}
@media(max-width:900px){
  .container{width:calc(100% - 20px)}
  body{padding-bottom:76px}
  .app-header-inner{min-height:62px}
  .brand{width:125px!important;height:48px!important;min-width:125px!important;max-width:125px!important}
  .brand .lzm-header-logo{width:112px!important;height:38px!important;max-width:112px!important;max-height:38px!important;min-width:112px!important;min-height:38px!important}
  .main-nav,.header-donate{display:none}
  .menu-btn{display:grid;place-items:center;margin-left:auto}
  .header-actions{margin-left:0}
  .icon-btn{width:38px;height:38px}
  .hero-top h1{font-size:21px}
  .campaign{min-height:210px}
  .campaign-art{right:-30px;width:190px}
  .recommendations{
    display:flex;overflow-x:auto;gap:11px;
    padding:2px 1px 8px;scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  .recommendations::-webkit-scrollbar{display:none}
  .program-card{min-width:76%;scroll-snap-align:start}
  .program-title{font-size:15px}
  .app-menu{grid-template-columns:repeat(4,1fr);gap:8px}
  .app-menu-item{padding:11px 3px}
  .app-menu-icon{width:40px;height:40px}
  .donation-strip{display:block}.amount-row{justify-content:flex-start;margin-top:11px}
  .news-grid{grid-template-columns:1fr}
  .news-card:nth-child(n+3){display:none}
  .footer-main{grid-template-columns:1fr}
  .counter-grid{gap:7px}.counter-item{padding:9px 5px}.counter-item strong{font-size:16px}
  .footer-bottom{display:block;text-align:center}
  .mobile-nav{
    position:fixed;left:7px;right:7px;bottom:7px;height:65px;
    display:grid;grid-template-columns:repeat(5,1fr);
    background:rgba(255,255,255,.97);backdrop-filter:blur(18px);
    border:1px solid #dfe6e2;border-radius:20px;
    box-shadow:0 10px 35px rgba(0,0,0,.17);z-index:999;padding:3px;
  }
  .mobile-nav a{
    display:flex;flex-direction:column;align-items:center;justify-content:center;
    gap:1px;font-size:9px;font-weight:900;color:#69746e;
  }
  .mobile-nav a span{
    width:29px;height:29px;border-radius:10px;
    display:grid;place-items:center;font-size:14px;
  }
  .mobile-nav a.active span{background:var(--green-soft);color:var(--green)}
  .mobile-nav a.sedekah span{background:var(--orange-soft);color:var(--orange)}
}
@media(max-width:430px){
  .hero-top{align-items:center}.hero-top p{font-size:10px}
  .campaign-content{padding:18px}.campaign h2{font-size:22px}.campaign p{font-size:11px}
  .program-card{min-width:82%}
  .app-menu-item strong{font-size:10px}
  .app-menu-item small{display:none}
}
