/*
Theme Name: Dulur Fredy
Theme URI: https://example.com
Author: Tim Dulur Bang Fredy
Description: Tema WordPress klasik untuk website personal & komunitas Dulur Bang Fredy — Anggota DPRD Kota Tangerang, Dapil Pinang & Cipondoh. Mobile-first, oranye-hitam-krem.
Version: 1.1.1
Requires at least: 6.6
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dulur-fredy
*/
:root{--orange-500:#F26B1D;--orange-600:#E05F14;--orange-700:#C2410C;--black-900:#111111;--charcoal-800:#1F1F1F;--cream-50:#FAF7F2;--sand-100:#F3EDE3;--sand-200:#EDE5D8;--sand-300:#E6DDCF;--muted:#6B6B6B;--white:#FFFFFF;--font-head:'Plus Jakarta Sans',system-ui,sans-serif;--font-body:'Inter',system-ui,sans-serif;--r:16px;--shadow:0 12px 40px rgba(17,17,17,.08)}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--cream-50);color:var(--black-900);font-family:var(--font-body);line-height:1.55;font-size:16px;-webkit-font-smoothing:antialiased;text-wrap:pretty}
img{max-width:100%;height:auto;display:block}
a{color:var(--orange-700);text-decoration:none}a:hover{color:var(--black-900)}
h1,h2,h3,h4{font-family:var(--font-head);line-height:1.1;margin:0;letter-spacing:-.01em}
h1{font-weight:800;font-size:clamp(30px,5.2vw,58px)}h2{font-weight:800;font-size:clamp(28px,3.6vw,44px)}h3{font-weight:700;font-size:19px;line-height:1.25}
p{margin:0}
button,input,select,textarea{font:inherit}
:focus-visible{outline:3px solid var(--orange-500);outline-offset:2px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{max-width:1200px;margin:0 auto;padding-left:20px;padding-right:20px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:14px 22px;border-radius:14px;font-weight:700;border:0;cursor:pointer;transition:background .2s,color .2s,transform .2s}
.btn-orange{background:var(--orange-500);color:var(--black-900)}.btn-orange:hover{background:var(--orange-600);color:var(--black-900)}
.btn-black{background:var(--black-900);color:var(--white)}.btn-black:hover{background:var(--orange-500);color:var(--black-900)}
.btn-ghost{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.55);color:var(--white);font-weight:600}.btn-ghost:hover{background:var(--white);color:var(--black-900)}
.btn-outline{background:var(--white);border:1px solid var(--sand-300);color:var(--black-900);font-weight:600}.btn-outline:hover{background:var(--sand-100);color:var(--black-900)}
.btn-sm{min-height:44px;padding:11px 18px;border-radius:12px;font-size:14px}
.kicker{color:var(--orange-700);font-weight:700;font-size:13px;letter-spacing:.1em;text-transform:uppercase}
.lead{font-size:17px;color:var(--charcoal-800)}
.section{padding-top:clamp(56px,8vw,96px)}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;flex-wrap:wrap;margin-bottom:28px}
.section-head .stack{display:flex;flex-direction:column;gap:8px}
.more{font-weight:700;color:var(--orange-700);min-height:44px;display:inline-flex;align-items:center}
.ph{background:repeating-linear-gradient(45deg,var(--sand-100) 0 10px,#EADFCF 10px 20px);display:grid;place-items:center;font-family:ui-monospace,monospace;font-size:11px;color:var(--muted);letter-spacing:.06em;text-align:center}
.tag-demo{font-family:ui-monospace,monospace;font-size:10px;background:var(--sand-100);color:var(--muted);padding:2px 6px;border-radius:6px;letter-spacing:.06em}
/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(250,247,242,.92);backdrop-filter:blur(10px);border-bottom:1px solid var(--sand-200)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:14px;padding-bottom:14px;transition:padding .25s}
.site-header.is-scrolled .wrap{padding-top:8px;padding-bottom:8px}
.brand{display:flex;align-items:center;gap:10px;color:var(--black-900)}
.brand img{width:44px;height:44px;border-radius:50%}
.brand-name{font-family:var(--font-head);font-weight:800;font-size:17px;line-height:1.1}
.brand-sub{font-size:11px;color:var(--muted);display:block}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:4px;align-items:center}
.main-nav a{display:inline-flex;align-items:center;padding:8px 12px;border-radius:10px;font-size:14px;font-weight:500;color:var(--black-900);min-height:40px}
.main-nav a:hover,.main-nav .current-menu-item>a{background:var(--sand-100)}
.header-cta{display:flex;gap:14px;align-items:center}
.logo-pks{height:40px;width:auto}
.nav-toggle{display:none;width:44px;height:44px;border-radius:12px;border:1px solid var(--sand-300);background:var(--white);place-items:center;cursor:pointer;padding:0}
.nav-toggle span{display:block;width:18px;height:2px;background:var(--black-900);box-shadow:0 -6px 0 var(--black-900),0 6px 0 var(--black-900)}
@media (max-width:1023px){.main-nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--cream-50);border-bottom:1px solid var(--sand-200);padding:12px 20px 20px}.main-nav.is-open{display:block}.main-nav ul{flex-direction:column;align-items:stretch}.main-nav a{min-height:48px;font-size:16px}.nav-toggle{display:grid}.logo-pks{height:34px}}
/* hero */
.hero{margin:16px auto 0;max-width:1240px;padding:0 20px}
.hero-stage{position:relative;height:clamp(540px,78vh,720px);border-radius:20px;overflow:hidden;background:var(--charcoal-800);box-shadow:0 20px 50px rgba(17,17,17,.12)}
.slide{position:absolute;inset:0;opacity:0;transition:opacity .7s ease;pointer-events:none}
.slide.is-active{opacity:1;pointer-events:auto}
.slide img,.slide .ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center top}
.slide .ph{color:#A39B8F;background:repeating-linear-gradient(45deg,#2a2a2a 0 12px,#232323 12px 24px)}
.slide::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(17,17,17,0) 25%,rgba(17,17,17,.55) 60%,rgba(17,17,17,.92) 100%)}
.slide-body{position:absolute;left:0;right:0;bottom:0;padding:clamp(24px,5vw,56px);padding-bottom:calc(clamp(24px,5vw,56px) + 40px);color:var(--white);max-width:760px;z-index:1}
.slide-body .kicker{display:inline-block;background:var(--orange-500);color:var(--black-900);font-size:12px;letter-spacing:.08em;padding:6px 10px;border-radius:8px;margin-bottom:14px}
.slide-body h1{margin-bottom:12px}
.slide-body p{font-size:clamp(15px,1.6vw,19px);margin-bottom:22px;color:var(--sand-100);max-width:560px}
.slide-actions{display:flex;flex-wrap:wrap;gap:10px}
/* slide foto potret: foto di kanan, teks di kiri */
.slide--potret{background:radial-gradient(120% 90% at 85% 20%,#3a3a3a 0,var(--charcoal-800) 60%)}
@media (min-width:768px){
.slide--potret img{left:auto;right:0;width:min(52%,620px);object-fit:cover;object-position:center 12%;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 42%);mask-image:linear-gradient(90deg,transparent 0,#000 42%)}
.slide--potret::after{background:linear-gradient(90deg,rgba(17,17,17,.9) 0,rgba(17,17,17,.55) 45%,rgba(17,17,17,0) 70%),linear-gradient(180deg,rgba(17,17,17,0) 60%,rgba(17,17,17,.6) 100%)}
.slide--potret .slide-body{max-width:min(58%,700px)}
}
@media (max-width:767px){.slide--potret img{height:66%;bottom:auto;object-position:center 6%;-webkit-mask-image:linear-gradient(180deg,#000 62%,transparent);mask-image:linear-gradient(180deg,#000 62%,transparent)}.slide--potret::after{background:linear-gradient(180deg,rgba(17,17,17,0) 30%,rgba(17,17,17,.75) 55%,rgba(17,17,17,.95) 100%)}}
.hero-ctl{position:absolute;top:16px;right:16px;display:flex;gap:8px;z-index:3}
.hero-ctl button{width:44px;height:44px;border-radius:12px;border:0;background:rgba(255,255,255,.9);color:var(--black-900);font-size:18px;font-weight:700;cursor:pointer}.hero-ctl button:hover{background:var(--orange-500)}
.hero-dots{position:absolute;right:clamp(24px,5vw,56px);bottom:calc(clamp(24px,5vw,56px) + 36px);display:flex;gap:8px;z-index:3}
.hero-dots button{width:10px;min-width:10px;height:10px;border-radius:999px;border:0;background:rgba(255,255,255,.6);padding:0;cursor:pointer;transition:width .3s,background .3s}
.hero-dots button[aria-current="true"]{width:32px;background:var(--orange-500)}
@media (prefers-reduced-motion:reduce){.slide{transition:none}}
/* counters */
.counters{max-width:1240px;margin:-36px auto 0;padding:0 20px;position:relative;z-index:4}
.counters-box{background:var(--white);border-radius:20px;box-shadow:var(--shadow);border:1px solid var(--sand-200);padding:clamp(20px,3vw,32px);display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));gap:20px}
.counter{display:flex;flex-direction:column;gap:4px;padding:0 8px;border-left:1px solid var(--sand-200)}
.counter b{font-family:var(--font-head);font-weight:800;font-size:clamp(34px,4vw,48px);color:var(--orange-700);line-height:1;font-variant-numeric:tabular-nums}
.counter span{font-weight:600;font-size:15px}.counter small{font-size:12px;color:var(--muted)}
/* sapaan */
.sapaan{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:clamp(28px,5vw,64px);align-items:center}
.sapaan-photo{position:relative}
.sapaan-photo .frame{aspect-ratio:4/5;border-radius:20px;overflow:hidden;box-shadow:0 20px 50px rgba(17,17,17,.1)}
.sapaan-photo .frame img{width:100%;height:100%;object-fit:cover;object-position:center 15%}
.sapaan-photo .badge{position:absolute;left:-8px;bottom:24px;background:var(--orange-500);color:var(--black-900);padding:12px 16px;border-radius:14px;font-family:var(--font-head);font-weight:800;font-size:15px;box-shadow:0 10px 24px rgba(242,107,29,.3)}
.sapaan-text{display:flex;flex-direction:column;gap:18px}
/* cta */
.cta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:20px}
.cta-card{display:flex;flex-direction:column;justify-content:space-between;gap:28px;border-radius:20px;padding:clamp(28px,4vw,44px);min-height:260px;transition:transform .2s}
.cta-card:hover{transform:translateY(-4px)}
.cta-card .stack{display:flex;flex-direction:column;gap:10px}
.cta-card h2{font-size:clamp(26px,3vw,38px)}
.cta-orange{background:var(--orange-500);color:var(--black-900);box-shadow:0 16px 40px rgba(242,107,29,.25)}.cta-orange .kicker{color:#7A2E06}.cta-orange p{color:var(--charcoal-800)}
.cta-black{background:var(--black-900);color:var(--white);box-shadow:0 16px 40px rgba(17,17,17,.2)}.cta-black .kicker{color:var(--orange-500)}.cta-black p{color:#D9D2C7}
.cta-card .btn{align-self:flex-start}
/* jejak */
.band{background:var(--sand-100);margin-top:clamp(56px,8vw,96px);padding:clamp(56px,8vw,96px) 0}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}
.card{background:var(--white);border-radius:var(--r);overflow:hidden;border:1px solid var(--sand-200);display:flex;flex-direction:column;box-shadow:0 8px 24px rgba(17,17,17,.05);transition:transform .2s}
.card:hover{transform:translateY(-4px)}
.card-media{aspect-ratio:16/10;position:relative;overflow:hidden}
.card-media img,.card-media .ph{width:100%;height:100%;object-fit:cover;object-position:center top;position:absolute;inset:0}
.card-media .jenis{position:absolute;top:12px;left:12px;background:var(--orange-500);color:var(--black-900);font-weight:700;font-size:12px;padding:5px 10px;border-radius:8px}
.card-body{padding:18px 20px 22px;display:flex;flex-direction:column;gap:8px}
.card-body .meta{font-size:13px;color:var(--muted)}
.card-body p{font-size:15px;color:var(--charcoal-800)}
.card-body h3 a{color:var(--black-900)}.card-body h3 a:hover{color:var(--orange-700)}
/* langkah */
.steps{list-style:none;margin:32px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:16px}
.steps li{background:var(--white);border:1px solid var(--sand-200);border-radius:var(--r);padding:24px;display:flex;flex-direction:column;gap:12px}
.steps .no{width:44px;height:44px;border-radius:12px;background:var(--orange-500);color:var(--black-900);font-family:var(--font-head);font-weight:800;font-size:18px;display:grid;place-items:center}
.steps h3{font-size:20px}.steps p{font-size:15px;color:var(--charcoal-800)}
code.tiket{font-family:ui-monospace,monospace;background:var(--sand-100);padding:2px 8px;border-radius:6px;font-size:15px}
/* berita + agenda */
.two-col{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:clamp(24px,4vw,48px);align-items:start}
.col-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:20px}
.col-head h2{font-size:clamp(24px,3vw,34px)}
.news-list{border-top:1px solid var(--sand-200)}
.news-item{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;padding:18px 0;border-bottom:1px solid var(--sand-200);color:var(--black-900);align-items:center}
.news-item:hover{color:var(--orange-700)}
.news-item .thumb{aspect-ratio:1;border-radius:12px;overflow:hidden}.news-item .thumb img{width:100%;height:100%;object-fit:cover;object-position:center top}
.news-item .meta{font-size:12px;color:var(--muted)}
.news-item h3{font-size:17px;line-height:1.3;margin-top:6px}
.agenda-list{display:flex;flex-direction:column;gap:12px}
.agenda-item{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;background:var(--white);border:1px solid var(--sand-200);border-radius:var(--r);padding:16px;align-items:center}
.date-chip{background:var(--black-900);color:var(--white);border-radius:12px;padding:10px 6px;text-align:center;display:flex;flex-direction:column;line-height:1}
.date-chip b{font-family:var(--font-head);font-weight:800;font-size:26px;color:var(--orange-500)}
.date-chip small{font-size:11px;letter-spacing:.08em;text-transform:uppercase;margin-top:4px}
.agenda-item h3{font-size:17px;line-height:1.3}.agenda-item .meta{font-size:13px;color:var(--muted);display:block;margin:6px 0}
.agenda-item .ics{font-size:13px;font-weight:700}
/* sosmed */
.feeds{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px;margin-top:20px}
.feed{min-height:260px;border-radius:var(--r);border:1px dashed #C9BFAE;padding:24px;line-height:1.7}
/* footer */
.site-footer{background:var(--black-900);color:var(--white);margin-top:clamp(56px,8vw,96px);padding:clamp(48px,6vw,72px) 0 32px}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:32px}
.footer-col{display:flex;flex-direction:column;gap:10px;font-size:15px;color:#D9D2C7}
.footer-col strong{color:var(--white)}
.footer-col a{color:#D9D2C7}.footer-col a:hover{color:var(--orange-500)}
.footer-brand{display:flex;align-items:center;gap:12px}.footer-brand img{width:56px;height:56px;border-radius:50%}
.footer-brand span{font-family:var(--font-head);font-weight:800;font-size:22px;color:var(--white)}
.footer-tagline{color:var(--orange-500);font-family:var(--font-head);font-weight:700;font-size:17px;line-height:1.3}
.footer-pks{height:104px;width:auto;object-fit:contain;align-self:flex-start}
.footer-bottom{border-top:1px solid #2E2E2E;margin-top:40px;padding-top:20px;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;font-size:13px;color:#A39B8F}
.wa-float{position:fixed;right:20px;bottom:20px;z-index:60;display:flex;align-items:center;gap:10px;background:var(--black-900);color:var(--white);padding:12px 18px 12px 14px;border-radius:999px;box-shadow:0 12px 30px rgba(17,17,17,.3);font-weight:700;font-size:14px;min-height:52px}
.wa-float:hover{background:var(--orange-500);color:var(--black-900)}
.wa-float i{width:28px;height:28px;border-radius:50%;background:var(--orange-500);display:inline-block}
/* halaman dalam */
.page-head{padding-top:clamp(36px,6vw,64px);display:flex;flex-direction:column;gap:10px}
.breadcrumb{font-size:13px;color:var(--muted);display:flex;gap:8px}.breadcrumb a{color:var(--muted)}
.page-head h1{font-size:clamp(32px,4.5vw,52px)}
.entry{max-width:760px;margin:clamp(28px,4vw,40px) auto 0;font-size:17px;color:var(--charcoal-800)}
.entry h2,.entry h3{margin:1.4em 0 .5em;color:var(--black-900)}.entry p{margin:0 0 1em}.entry img{border-radius:var(--r)}
.entry ul,.entry ol{padding-left:1.3em}
.archive-grid{margin-top:clamp(28px,4vw,40px)}
.pagination{display:flex;gap:8px;justify-content:center;padding-top:28px}
.pagination .page-numbers{width:44px;height:44px;border-radius:12px;background:var(--white);border:1px solid var(--sand-200);color:var(--black-900);display:grid;place-items:center}
.pagination .current{background:var(--orange-500);border-color:var(--orange-500);font-weight:700}
.p404{max-width:720px;margin:0 auto;padding:clamp(64px,10vw,120px) 20px 0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px}
.p404 .big{font-family:var(--font-head);font-weight:800;font-size:clamp(80px,16vw,160px);line-height:1;color:var(--orange-500);letter-spacing:-.04em}
.wp-block-image img{border-radius:var(--r)}
.alignwide{max-width:1200px}.alignfull{width:100%}

/* foto utama artikel: tampil utuh, tidak dipotong */
.single-thumb{margin-top:28px;border-radius:20px;overflow:hidden;background:var(--sand-100)}
.single-thumb img{width:100%;height:auto;max-height:80vh;object-fit:contain;margin:0 auto}
/* halaman profil */
.prof-hero{background:var(--black-900);color:var(--white);overflow:hidden}
.prof-hero-in{padding-top:clamp(36px,6vw,72px)}
.prof-hero-text{display:flex;flex-direction:column;gap:16px;padding-bottom:clamp(40px,6vw,80px);max-width:820px}
.prof-hero .breadcrumb,.prof-hero .breadcrumb a{color:#A39B8F}
.prof-hero .kicker{color:var(--orange-500)}
.prof-hero h1{font-size:clamp(40px,6vw,72px)}
.prof-lead{font-size:clamp(17px,1.8vw,21px);color:#E9E2D6;max-width:560px;line-height:1.55}
.prof-chips{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.prof-chips li{border:1px solid #3a3a3a;background:#1c1c1c;border-radius:999px;padding:8px 14px;font-size:14px;font-weight:600}
.prof-chips li:first-child{background:var(--orange-500);border-color:var(--orange-500);color:var(--black-900)}
.prof-hero-photo{align-self:end;position:relative}
.prof-hero-photo img{position:relative;width:100%;max-height:640px;aspect-ratio:4/5;object-fit:cover;object-position:center 8%;border-radius:24px 24px 0 0;border-bottom:6px solid var(--orange-500)}
.prof-story{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:clamp(24px,5vw,72px)}
.prof-story-head{display:flex;flex-direction:column;gap:12px;position:sticky;top:100px;align-self:start}
.prof-story-body{display:flex;flex-direction:column;gap:20px}
.prof-story-body .lead{font-size:18px;line-height:1.75}
.prof-drop::first-letter{float:left;font-family:var(--font-head);font-weight:800;font-size:64px;line-height:.9;margin:6px 10px 0 0;color:var(--orange-500)}
.prof-quote{margin:8px 0;padding:22px 26px;border-left:6px solid var(--orange-500);background:var(--sand-100);border-radius:0 16px 16px 0;font-family:var(--font-head);font-weight:700;font-size:clamp(20px,2.2vw,26px);line-height:1.35}
.prof-pillars{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px}
.prof-pillars article{background:var(--white);border:1px solid var(--sand-200);border-radius:20px;padding:28px;display:flex;flex-direction:column;gap:12px}
.prof-pillars .no{font-family:var(--font-head);font-weight:800;font-size:40px;color:var(--orange-500);line-height:1}
.prof-pillars h3{font-size:24px}.prof-pillars p{color:var(--charcoal-800)}
.prof-grid{display:block}.prof-riwayat{max-width:820px}
.prof-side-photo{border-radius:20px;overflow:hidden;aspect-ratio:4/5;position:sticky;top:100px}
.prof-side-photo img{width:100%;height:100%;object-fit:cover;object-position:center 10%}
.prof-timeline{list-style:none;margin:0;padding:0 0 0 22px;border-left:3px solid var(--sand-300);display:flex;flex-direction:column;gap:18px}
.prof-timeline li{position:relative;display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px}
.prof-timeline li::before{content:"";position:absolute;left:-31px;top:4px;width:15px;height:15px;border-radius:50%;background:var(--orange-500);border:3px solid var(--cream-50)}
.prof-timeline b{font-family:var(--font-head);color:var(--orange-700)}
.prof-cta{display:block;background:var(--black-900);color:var(--white);border-radius:24px;overflow:hidden}
.prof-cta-photo img{width:100%;height:100%;min-height:360px;object-fit:cover;object-position:center 12%}
.prof-cta-text{max-width:760px;padding:clamp(28px,5vw,56px);display:flex;flex-direction:column;gap:16px;justify-content:center}
.prof-cta-text .kicker{color:var(--orange-500)}.prof-cta-text .lead{color:#D9D2C7}
.prof-sosmed{font-size:14px;color:#A39B8F}.prof-sosmed a{color:var(--orange-500)}
.prof-src{margin-top:14px;font-size:12px;color:var(--muted)}
@media (max-width:860px){
.prof-story{grid-template-columns:1fr}
.prof-hero-text{padding-bottom:0}
.prof-hero-photo{max-width:420px;margin:0 auto;width:100%}
.prof-story-head,.prof-side-photo{position:static}
.prof-side-photo{max-width:420px}
.prof-cta-photo img{min-height:0;height:auto;aspect-ratio:1/1;object-position:center 6%}
.prof-timeline li{grid-template-columns:1fr;gap:2px}
}
