/*
Theme Name: Gerindra Sigi
Description: Tema WordPress portal DPC Partai Gerindra Kabupaten Sigi.
Version: 1.0
Author: Gerindra Sigi
Text Domain: gerindra-sigi
*/
:root{--red:#c90000;--dark:#111;--light:#f7f7f7}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:#171717;line-height:1.6}a{color:var(--red);text-decoration:none}.container{width:min(1120px,92%);margin:auto}
.topbar{background:#111;color:#fff;font-size:12px;padding:8px 0}.right{float:right;color:#ccc}
.site-header{position:sticky;top:0;z-index:99;background:#fff;border-bottom:1px solid #eee}.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:10px;color:#111;min-width:0}.brand .custom-logo-link{display:flex;align-items:center;max-width:190px;max-height:58px}.brand .custom-logo{display:block;width:auto;height:auto;max-width:190px;max-height:58px;object-fit:contain}.brand-mark{width:46px;height:46px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center;font-size:26px;font-weight:900}.brand strong{display:block;font-size:20px}.brand small{display:block;color:var(--red);font-size:11px;font-weight:800;letter-spacing:2px}
.main-menu{display:flex;gap:18px;align-items:center}.main-menu a{color:#222;font-size:13px;font-weight:700}.main-menu a:hover{color:var(--red)}.menu-toggle{display:none;background:none;border:0;font-size:28px}
.hero{min-height:560px;background:linear-gradient(115deg,#820000,#d20b0b 56%,#111);color:#fff;display:flex;align-items:center}.hero-inner{padding:85px 0}.eyebrow{font-size:12px;font-weight:800;letter-spacing:2px;color:var(--red)}.hero .eyebrow{color:#fff}.hero h1{font-size:clamp(42px,6vw,72px);line-height:1.02;margin:10px 0 22px;max-width:760px}.hero p{max-width:700px;font-size:18px;color:#f7dddd}.actions{display:flex;gap:12px;margin-top:28px}.btn{display:inline-block;background:var(--red);color:#fff!important;padding:12px 21px;font-weight:800}.hero .btn{background:#fff;color:#a00000!important}.btn.outline{background:transparent!important;border:1px solid #fff;color:#fff!important}
.quick{background:#fff;box-shadow:0 8px 30px #0001}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr)}.quick-grid a{padding:23px;border-right:1px solid #eee;color:#111}.quick-grid b,.quick-grid span{display:block}.quick-grid span{font-size:12px;color:#777}
.section{padding:80px 0}.light{background:var(--light)}.section-title{font-size:38px;line-height:1.15;margin:0 0 18px}.two{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.profile-card{background:#f5f5f5;border-left:5px solid var(--red);padding:28px;display:flex;gap:22px;align-items:center}.portrait{width:150px;height:190px;background:#ddd;display:grid;place-items:center;text-align:center;font-weight:900;color:#777;flex:none;overflow:hidden}.portrait.has-photo{background:#eee}.portrait img{width:100%;height:100%;object-fit:cover;display:block}
.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:30px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.card{background:#fff;border:1px solid #eee}.thumb{height:190px;background:linear-gradient(135deg,#222,#b40000);display:grid;place-items:center;color:#fff;font-weight:900;overflow:hidden}.thumb img{width:100%;height:100%;object-fit:cover}.card-body{padding:21px}.tag{font-size:10px;font-weight:900;color:var(--red);letter-spacing:1px}.card h3{line-height:1.25}.card p,.card small{font-size:13px;color:#777}
.people{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.person{border:1px solid #eee;text-align:center;padding:25px}.avatar{width:100px;height:100px;margin:auto;border-radius:50%;background:#ddd;overflow:hidden;display:grid;place-items:center;font-size:30px;font-weight:900;color:#888}.avatar img{width:100%;height:100%;object-fit:cover}
.chips{display:flex;flex-wrap:wrap;gap:10px}.chip{background:#eee;padding:7px 13px;border-radius:30px;font-size:13px}.program-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.program{background:#fff;padding:28px;border-top:4px solid var(--red)}.program b{color:var(--red)}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stats div{background:#f7f7f7;padding:24px;text-align:center}.stats strong{display:block;font-size:30px;color:var(--red)}
.red-section{background:var(--red);color:#fff}.red-section .eyebrow{color:#fff}.form-box{background:#fff;padding:25px}.form-box input,.form-box select,.form-box textarea{width:100%;padding:12px;margin:5px 0;border:1px solid #ddd;font:inherit}
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.gallery-item{height:190px;background:linear-gradient(135deg,#111,#c90000);color:#fff;display:grid;place-items:center;font-weight:900;overflow:hidden}.gallery-item img{width:100%;height:100%;object-fit:cover}
.site-footer{background:#191b1d;color:#d7d7d7;border-top:0;margin-top:0;position:relative}.footer-wrap{padding:0 0 36px}.footer-cta{height:115px;border-radius:22px;background:linear-gradient(110deg,#e2c600,#f0d218);color:#111;display:flex;align-items:center;justify-content:center;gap:28px;position:relative;overflow:hidden;margin-top:0;transform:translateY(-58px);margin-bottom:-20px;box-shadow:0 8px 24px rgba(0,0,0,.14)}.footer-cta-shape{position:absolute;border-radius:50%;background:rgba(255,255,255,.18);width:180px;height:180px;left:-30px;top:-80px}.footer-cta-shape-one:after{content:"";position:absolute;width:130px;height:130px;border-radius:50%;background:rgba(255,255,255,.08);left:85px;top:75px}.footer-cta-title{font-size:30px;font-weight:800;position:relative;z-index:1}.footer-hotline{display:inline-flex;align-items:center;gap:10px;background:#16181a;color:#fff!important;padding:12px 20px;border-radius:28px;font-weight:800;font-size:16px;position:relative;z-index:1}.footer-hotline-icon{font-size:19px}.footer-main{display:grid;grid-template-columns:2fr 1fr 1fr 1.45fr;gap:55px;padding-top:5px}.footer-col h4{color:#fff;font-size:17px;margin:8px 0 20px;letter-spacing:.2px}.footer-col a{display:block;color:#c8c8c8;font-size:15px;margin:12px 0}.footer-col a:hover{color:#f0d218}.footer-brand-logo{display:flex!important;align-items:center;gap:12px;margin:0 0 14px!important;color:#fff!important}.footer-logo,.footer-brand-logo .custom-logo{display:block;width:auto;height:auto;max-width:58px;max-height:58px;object-fit:contain}.footer-fallback-mark{width:54px;height:54px;background:#d00000;color:#fff;border-radius:8px;display:grid;place-items:center;font-weight:900;font-size:28px;flex:none}.footer-brand-name{display:flex;flex-direction:column;line-height:1}.footer-brand-name strong{font-size:23px;color:#fff}.footer-brand-name b{font-size:18px;color:#f0d218;letter-spacing:.5px}.footer-brand-col p{font-size:15px;color:#bfc0c1;max-width:360px;margin:0 0 10px}.footer-social-title{font-size:14px;color:#aaa;margin:14px 0 10px}.footer-socials{display:flex;gap:12px}.footer-socials a,.footer-socials span{width:44px;height:44px;border-radius:50%;background:#2c2f32;color:#eee!important;display:grid!important;place-items:center;font-size:15px;font-weight:800;margin:0!important}.footer-socials a:hover{background:#f0d218;color:#111!important}.footer-contact-item{display:flex;gap:13px;align-items:flex-start;margin:0 0 18px;color:#c8c8c8;font-size:15px;line-height:1.55}.footer-contact-item a{margin:0!important;color:#c8c8c8!important}.footer-contact-icon{color:#f0d218;font-size:22px;line-height:1.2;min-width:20px;text-align:center}.footer-bottom{border-top:1px solid #343638;color:#a7a8a9;font-size:13px}.footer-bottom-inner{display:flex;justify-content:space-between;gap:20px;padding:20px 0}.footer-bottom-inner div:last-child{color:#bdbdbd}
.post-page{padding:70px 0}.post-page .content{max-width:800px}.post-page h1{font-size:42px}
@media(max-width:900px){.menu-toggle{display:block}.main-menu{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;padding:16px 4%;flex-direction:column;align-items:flex-start;border-bottom:1px solid #ddd}.main-menu.open{display:flex}.right{display:none}.quick-grid,.cards,.people,.program-grid,.gallery{grid-template-columns:repeat(2,1fr)}.two{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.quick-grid,.cards,.people,.program-grid,.gallery,.footer-grid{grid-template-columns:1fr}.hero h1{font-size:44px}.section{padding:58px 0}.profile-card{flex-direction:column;align-items:flex-start}.actions{flex-direction:column}.stats{grid-template-columns:1fr}}

/* Footer logo */
.footer-brand{align-items:center;max-width:100%;}
.footer-brand .custom-logo-link,.footer-logo{display:block;width:auto;height:auto;max-width:210px;max-height:90px;object-fit:contain;}
.footer-logo{margin:0 0 8px;}

/* Footer compact responsive overrides */
.site-footer{font-size:14px;}
.footer-wrap{padding-bottom:24px;}
.footer-cta{min-height:88px;height:88px;border-radius:18px;margin-top:0;transform:translateY(-44px);margin-bottom:-18px;gap:18px;padding:0 28px;}
.footer-cta-title{font-size:25px;white-space:nowrap;}
.footer-hotline{padding:10px 16px;font-size:14px;white-space:nowrap;}
.footer-main{gap:38px;padding-top:0;}
.footer-logo,.footer-brand-logo .custom-logo{max-width:170px;max-height:54px;}
.footer-fallback-mark{width:46px;height:46px;font-size:23px;}
.footer-brand-name strong{font-size:20px;}
.footer-brand-name b{font-size:16px;}
.footer-brand-col p{font-size:14px;line-height:1.5;}
.footer-social-title{font-size:13px;}
.footer-socials a,.footer-socials span{width:40px;height:40px;font-size:14px;}
.footer-col h4{font-size:15px;margin-bottom:14px;}
.footer-col a{font-size:14px;margin:9px 0;}
.footer-contact-item{font-size:14px;margin-bottom:14px;}
.footer-bottom-inner{padding:14px 0;font-size:12px;}
@media(max-width:900px){
  .footer-wrap{padding-left:20px;padding-right:20px;}
  .footer-cta{width:100%;box-sizing:border-box;min-height:78px;height:78px;transform:translateY(-39px);margin-bottom:-14px;padding:0 18px;gap:12px;}
  .footer-cta-title{font-size:21px;}
  .footer-hotline{padding:9px 13px;font-size:13px;}
  .footer-main{grid-template-columns:1fr 1fr;gap:28px 24px;}
}
@media(max-width:560px){
  .footer-wrap{padding-left:16px;padding-right:16px;padding-bottom:18px;}
  .footer-cta{min-height:72px;height:72px;border-radius:16px;transform:translateY(-36px);margin-bottom:-10px;padding:0 14px;gap:8px;}
  .footer-cta-title{font-size:18px;white-space:normal;line-height:1.05;max-width:48%;text-align:center;}
  .footer-hotline{padding:8px 11px;font-size:12px;gap:6px;}
  .footer-hotline-icon{font-size:15px;}
  .footer-main{grid-template-columns:1fr;gap:22px;padding-top:0;}
  .footer-logo,.footer-brand-logo .custom-logo{max-width:145px;max-height:48px;}
  .footer-brand-logo{gap:8px;margin-bottom:10px!important;}
  .footer-brand-col p{max-width:none;font-size:13px;}
  .footer-socials{gap:9px;}
  .footer-socials a,.footer-socials span{width:38px;height:38px;font-size:13px;}
  .footer-col h4{font-size:14px;margin:0 0 10px;}
  .footer-col a{font-size:13px;margin:7px 0;}
  .footer-contact-item{font-size:13px;}
  .footer-bottom-inner{flex-direction:column;align-items:flex-start;gap:6px;padding:12px 0;font-size:11px;}
}

/* Ultra-compact mobile footer */
@media (max-width:560px){
  .site-footer{overflow:hidden;}
  .footer-wrap{width:100%;padding:0 14px 12px;}
  .footer-cta{min-height:56px;height:56px;margin-top:0;transform:translateY(-28px);margin-bottom:-18px;border-radius:13px;padding:0 10px;gap:7px;box-shadow:0 4px 12px rgba(0,0,0,.12);}
  .footer-cta-shape{width:105px;height:105px;left:-24px;top:-48px;}
  .footer-cta-title{font-size:15px;line-height:1;max-width:52%;white-space:nowrap;text-align:left;}
  .footer-hotline{padding:6px 9px;font-size:10px;gap:4px;border-radius:20px;}
  .footer-hotline-icon{font-size:12px;}
  .footer-main{display:block;padding-top:0;}
  .footer-col{margin-bottom:16px;}
  .footer-brand-logo{margin-bottom:7px!important;}
  .footer-logo,.footer-brand-logo .custom-logo{max-width:112px;max-height:40px;}
  .footer-fallback-mark{width:36px;height:36px;font-size:18px;}
  .footer-brand-name strong{font-size:16px;}
  .footer-brand-name b{font-size:13px;}
  .footer-brand-col p{font-size:11px;line-height:1.35;margin:0 0 7px;max-width:100%;}
  .footer-social-title{font-size:11px;margin:8px 0 6px;}
  .footer-socials{gap:7px;}
  .footer-socials a,.footer-socials span{width:32px;height:32px;font-size:11px;}
  .footer-col h4{font-size:12px;margin:0 0 6px;}
  .footer-col a{font-size:11px;margin:4px 0;}
  .footer-contact-item{font-size:11px;line-height:1.35;margin-bottom:8px;gap:8px;}
  .footer-contact-icon{font-size:16px;min-width:16px;}
  .footer-bottom-inner{padding:9px 0;font-size:9px;gap:3px;}
}

/* Anggota DPRD Sigi - 5 card layout */
.dprd-members{padding-top:72px;padding-bottom:78px}
.dprd-members .section-title span{color:var(--red)}
.section-lead{max-width:850px;color:#555;margin:-8px 0 34px;font-size:16px}
.dprd-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px;align-items:stretch}
.dprd-card{background:#fff;border:1px solid #e4e4e4;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(0,0,0,.06);text-align:center;display:flex;flex-direction:column;min-width:0}
.dprd-photo{aspect-ratio:4/5;background:#ececec;overflow:hidden;display:flex;align-items:center;justify-content:center}
.dprd-photo img{width:100%;height:100%;object-fit:cover;display:block}
.dprd-photo.placeholder{background:#ddd;color:#777;font-weight:800;font-size:13px;letter-spacing:1px}
.dprd-card-body{padding:17px 12px 20px;display:flex;flex-direction:column;flex:1;justify-content:flex-start}
.dprd-card-body h3{font-size:18px;line-height:1.2;margin:0;font-weight:800}
.dprd-line{width:72%;height:2px;background:var(--red);margin:10px auto 10px}
.dprd-card-body p{font-size:14px;line-height:1.4;color:#444;margin:0}
@media(max-width:1100px){.dprd-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:700px){.dprd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.dprd-card-body{padding:13px 8px 16px}.dprd-card-body h3{font-size:15px}.dprd-card-body p{font-size:12px}.dprd-members{padding-top:54px;padding-bottom:58px}}
@media(max-width:430px){.dprd-grid{grid-template-columns:1fr 1fr;gap:10px}.dprd-photo{aspect-ratio:4/5}.dprd-card{border-radius:12px}.dprd-card-body h3{font-size:14px}.dprd-card-body p{font-size:11px}.dprd-line{margin:8px auto}.section-lead{font-size:14px}}
