/*
Theme Name: RT 003 Jaticempaka
Theme URI: https://rt03jaticempaka.my.id/
Author: RT 003 / RW 001 Jaticempaka
Description: Theme publik mobile-first untuk Sistem Informasi dan Pelayanan Warga RT 003 / RW 001 Jaticempaka.
Version: 2.5.10
Requires at least: 6.4
Requires PHP: 7.2
Text Domain: rt003-jaticempaka
*/

:root{
 --navy:#0d2d59;--navy2:#0a2344;--blue:#0d73e8;--green:#16ad68;--orange:#ff8a24;--purple:#7545d8;
 --text:#102b50;--muted:#5d718b;--line:#d9e4ef;--soft:#f4f9fd;--soft2:#eef7fc;--white:#fff;
 --radius:16px;--shadow:0 8px 28px rgba(21,60,96,.08);--container:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--text);background:#fff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}
body.menu-open{overflow:hidden}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:none}
img{display:block;max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
.rt-container{width:min(var(--container),calc(100% - 34px));margin-inline:auto}
.narrow{max-width:900px}

/* header */
.site-header{height:78px;position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);border-bottom:1px solid #edf1f5;backdrop-filter:blur(12px);transition:transform .25s ease}
.header-inner{height:100%;display:flex;align-items:center;gap:24px}
.site-branding{display:flex;align-items:center;gap:12px;color:var(--navy);min-width:260px}
.logo-wrap .custom-logo-link{display:block}.logo-wrap img{max-height:54px;width:auto}
.brand-symbol{width:48px;height:48px;border-radius:13px;background:linear-gradient(135deg,var(--blue),var(--green));color:#fff;display:grid;place-items:center;font-weight:900}
.brand-copy strong{display:block;font-size:17px;line-height:1.1}.brand-copy small{display:block;font-size:12px;color:var(--muted);margin-top:4px}
.main-nav{margin-left:auto}.main-nav ul{display:flex;align-items:center;gap:4px;list-style:none;padding:0;margin:0}
.main-nav a{display:flex;align-items:center;min-height:44px;padding:9px 11px;border-radius:9px;color:var(--text);font-size:13px;font-weight:750}
.main-nav a:hover,.main-nav .current-menu-item>a{background:#edf6ff;color:var(--blue)}
.header-actions{display:flex;align-items:center;gap:8px}.account-btn{min-height:44px;display:inline-flex;align-items:center;gap:6px;background:var(--navy);color:#fff;padding:9px 14px;border-radius:11px;font-weight:800;font-size:13px}
.mobile-toggle{display:none;width:44px;height:44px;border:0;background:#f2f6fa;border-radius:11px;padding:10px;cursor:pointer}
.mobile-toggle span{display:block;height:2px;background:var(--navy);margin:4px 0;border-radius:2px;transition:.2s}

/* hero */
.public-hero{position:relative;min-height:430px;display:flex;align-items:center;background-image:var(--hero-bg,linear-gradient(135deg,#1b517b,#0d2d59));background-position:center;background-size:cover;overflow:hidden}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,22,42,.90) 0%,rgba(3,22,42,.70) 45%,rgba(3,22,42,.12) 100%)}
.hero-content{position:relative;z-index:2;padding-block:58px}.hero-copy{max-width:610px;color:#fff}
.hero-kicker{display:inline-block;font-size:12px;font-weight:900;letter-spacing:.12em;color:#bde0ff;margin-bottom:13px}
.hero-copy h1{font-size:clamp(38px,5.2vw,64px);line-height:1.05;margin:0 0 16px;letter-spacing:-.035em}
.hero-copy p{font-size:17px;line-height:1.65;color:#eef6ff;margin:0 0 26px;max-width:590px}
.hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.btn{min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:11px 17px;border-radius:10px;font-weight:850;color:#fff;box-shadow:0 5px 16px rgba(0,0,0,.12)}
.btn-primary{background:var(--blue)}.btn-success{background:var(--green)}

/* feature strip */
.feature-strip{background:linear-gradient(180deg,#fff,#eff8ff);border-bottom:1px solid #e4edf5}
.feature-scroller{display:grid;grid-template-columns:repeat(4,1fr);padding-block:24px}
.feature-item{display:flex;align-items:center;gap:16px;padding:8px 22px;border-right:1px solid #dce8f2}
.feature-item:last-child{border-right:0}.feature-icon,.program-icon{width:54px;height:54px;flex:0 0 54px;display:grid;place-items:center;border-radius:50%;font-size:25px;color:#fff;box-shadow:inset 0 -6px 10px rgba(0,0,0,.05)}
.green{background:var(--green)}.blue{background:var(--blue)}.orange{background:var(--orange)}.purple{background:var(--purple)}
.feature-item strong{display:block;font-size:15px}.feature-item small{display:block;color:var(--muted);margin-top:4px}

/* panels */
.home-section{padding:28px 0}.soft-blue{background:linear-gradient(180deg,#f8fcff,#eef8ff)}
.home-two-col{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}
.home-panel{background:#fff;border:1px solid #d8e5f0;border-radius:13px;padding:18px;box-shadow:0 3px 14px rgba(32,84,124,.04)}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.panel-head h2,.section-title h2{font-size:21px;margin:0;letter-spacing:-.015em}.panel-head>a{font-size:12px;font-weight:850}
.featured-news{display:grid;grid-template-columns:180px 1fr;gap:18px}.news-thumb{min-height:185px;border-radius:8px;overflow:hidden;background:#eaf1f6}
.news-thumb img{width:100%;height:100%;object-fit:cover}.placeholder-photo{width:100%;height:100%;min-height:185px;display:grid;place-items:center;background:linear-gradient(135deg,#d9ecff,#cceada);color:var(--navy);font-size:28px;font-weight:900}
.placeholder-photo.small{min-height:94px}
.content-label{font-size:11px;color:var(--blue);font-weight:850}.news-copy h3{font-size:18px;margin:4px 0 6px}.mini-meta{font-size:12px;color:var(--muted)}
.news-copy p{font-size:13px;color:var(--muted);margin:10px 0}.text-link{font-size:12px;font-weight:850}
.agenda-list{display:grid}.agenda-row{display:grid;grid-template-columns:100px 1fr 130px;gap:12px;align-items:center;padding:13px 8px;border-bottom:1px solid #e5edf4;color:var(--text)}
.agenda-row:last-child{border-bottom:0}.agenda-row:hover{background:#f7fbff}.agenda-date,.agenda-location{font-size:12px;color:var(--muted)}.agenda-row strong{font-size:13px}

/* programs */
.section-title{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.section-title p{margin:0;color:var(--muted);font-size:13px}
.program-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.program-card{background:#fff;border:1px solid #dfe8f0;border-radius:10px;padding:16px;min-height:190px}
.program-icon{width:48px;height:48px;flex-basis:48px;font-size:21px}.program-card h3{font-size:16px;margin:12px 0 7px}.program-card p{font-size:13px;color:var(--muted);margin:0}

/* lower */
.lower-grid{display:grid;grid-template-columns:.9fr 1.15fr .9fr;gap:16px}.services-panel>p{font-size:13px;color:var(--muted)}
.service-list{list-style:none;padding:0;margin:12px 0 18px;display:grid;gap:8px}.service-list li{font-size:13px}.service-list li:before{content:"✓";display:inline-grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#e6f8ef;color:var(--green);font-weight:900;margin-right:8px}
.gallery-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.gallery-item{color:var(--text);font-size:12px;font-weight:750}.gallery-item img,.gallery-item .placeholder-photo{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:7px;margin-bottom:5px}
.contact-panel{background:linear-gradient(135deg,#f8fffb,#effcf7)}.contact-list{margin:0;display:grid;gap:8px}.contact-list div{display:grid;grid-template-columns:95px 1fr;gap:8px;font-size:12px}.contact-list dt{font-weight:850}.contact-list dd{margin:0;color:var(--muted)}
.whatsapp-btn{margin-top:16px;display:block;background:var(--green);color:#fff;text-align:center;border-radius:10px;padding:10px;font-size:12px;line-height:1.35}

/* stats */
.quick-stats{padding:0 0 30px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.stats-grid>div{padding:15px 18px;border-right:1px solid var(--line);background:#fff}.stats-grid>div:last-child{border-right:0}.stats-grid small{display:block;color:var(--muted);font-size:11px}.stats-grid strong{font-size:19px}

/* inner pages */
.inner-main{background:#f5f8fb;min-height:60vh;padding:34px 0 70px}.content-card,.archive-card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}
.content-card{padding:28px}.content-header{margin-bottom:22px}.page-kicker{font-size:11px;letter-spacing:.1em;color:var(--blue);font-weight:900;text-transform:uppercase}.content-header h1,.archive-head h1{font-size:clamp(30px,5vw,48px);line-height:1.1;margin:6px 0 0}
.entry-content{color:#334d6e}.entry-content img{border-radius:10px}.entry-content table{width:100%;border-collapse:collapse;overflow:auto}.entry-content th,.entry-content td{padding:11px;border-bottom:1px solid var(--line);text-align:left}
.entry-content input,.entry-content select,.entry-content textarea,.rt-form input,.rt-form select,.rt-form textarea{width:100%;min-height:46px;border:1px solid #cddae6;border-radius:9px;padding:10px 12px;background:#fff}
.entry-content button,.entry-content input[type=submit]{min-height:46px;border:0;border-radius:9px;background:var(--blue);color:#fff;font-weight:800;padding:10px 16px}
.article-cover{margin:-28px -28px 22px}.article-cover img{width:100%;max-height:470px;object-fit:cover;border-radius:14px 14px 0 0}
.archive-head{margin-bottom:18px}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.archive-card{overflow:hidden}.archive-thumb img{width:100%;aspect-ratio:16/9;object-fit:cover}.archive-body{padding:17px}.archive-body h2{font-size:18px;line-height:1.25;margin:5px 0 8px}.archive-body h2 a{color:var(--text)}.archive-body p{font-size:13px;color:var(--muted)}
.empty-state{padding:30px;text-align:center;color:var(--muted);background:#f8fbfd;border-radius:9px;font-size:13px}

/* core plugin compatibility */
.rt-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.rt-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px}.rt-btn{display:inline-flex;min-height:44px;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:9px;padding:9px 13px;font-weight:800}.rt-btn-primary{background:var(--blue);color:#fff;border-color:var(--blue)}
.rt-form{display:grid;gap:12px}.rt-alert{padding:12px;border-radius:9px;background:#effaf4;border:1px solid #ccebd9}.rt-alert.error{background:#fff1f1;border-color:#ffd4d4;color:#a32020}

/* footer */
.site-footer{background:linear-gradient(90deg,#163b68,#0c294e);color:#fff;padding:26px 0 92px}.footer-main{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:20px}.footer-brand{display:flex;align-items:center;gap:10px}.footer-logo{width:42px;height:42px;border-radius:12px;background:#fff;color:var(--navy);display:grid;place-items:center;font-weight:900}.footer-brand span,.footer-tagline span{display:block;color:#c9d8e8;font-size:11px;margin-top:3px}.footer-copy{text-align:right;font-size:11px;color:#d5dfeb}
.mobile-bottom-nav{display:none}

/* tablet */
@media(max-width:980px){
 .site-branding{min-width:auto}.brand-copy strong{font-size:15px}.main-nav a{padding:9px 7px;font-size:12px}.account-btn span:last-child{display:none}
 .feature-scroller{grid-template-columns:repeat(2,1fr)}.feature-item:nth-child(2){border-right:0}.feature-item:nth-child(-n+2){border-bottom:1px solid #dce8f2}
 .home-two-col{grid-template-columns:1fr}.lower-grid{grid-template-columns:1fr 1fr}.contact-panel{grid-column:1/-1}
 .program-grid{grid-template-columns:repeat(2,1fr)}.archive-grid{grid-template-columns:repeat(2,1fr)}
}

/* mobile */
@media(max-width:760px){
 body{padding-bottom:70px}
 .rt-container{width:min(100% - 24px,var(--container))}
 .site-header{height:64px}.site-header.header-hidden{transform:translateY(-100%)}
 .header-inner{gap:10px}.site-branding{flex:1}.brand-symbol{width:38px;height:38px;border-radius:10px}.logo-wrap img{max-height:42px}.brand-copy strong{font-size:14px}.brand-copy small{font-size:10px}
 .account-btn{display:none}.mobile-toggle{display:block}
 .main-nav{display:none;position:fixed;z-index:99;left:0;right:0;top:64px;bottom:0;background:#fff;padding:14px 18px 90px;overflow:auto}
 .main-nav.open{display:block}.main-nav ul{display:grid;gap:3px}.main-nav a{font-size:15px;padding:13px 12px;border-radius:10px}
 .mobile-toggle.active span:nth-child(1){transform:translateY(6px) rotate(45deg)}.mobile-toggle.active span:nth-child(2){opacity:0}.mobile-toggle.active span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

 .public-hero{min-height:390px;background-position:center}.hero-overlay{background:linear-gradient(180deg,rgba(3,22,42,.60),rgba(3,22,42,.90))}
 .hero-content{padding-block:42px}.hero-copy{max-width:none}.hero-kicker{font-size:10px}.hero-copy h1{font-size:36px;max-width:95%}.hero-copy p{font-size:14px;line-height:1.6}
 .hero-buttons{display:grid;grid-template-columns:1fr 1fr;gap:8px}.btn{font-size:12px;padding:10px 11px}.full-mobile{width:100%}

 .feature-strip{overflow:hidden}.feature-scroller{display:flex;overflow-x:auto;gap:10px;padding-block:14px;scroll-snap-type:x mandatory;scrollbar-width:none}.feature-scroller::-webkit-scrollbar{display:none}
 .feature-item{min-width:78%;scroll-snap-align:start;border:1px solid #dce8f2!important;border-radius:13px;background:#fff;padding:12px}.feature-icon{width:46px;height:46px;flex-basis:46px;font-size:21px}
 .home-section{padding:18px 0}.home-panel{padding:14px}.panel-head h2,.section-title h2{font-size:18px}.panel-head>a{font-size:11px}
 .featured-news{grid-template-columns:105px 1fr;gap:12px}.news-thumb,.placeholder-photo{min-height:126px}.news-copy h3{font-size:15px}.news-copy p{display:none}
 .agenda-row{grid-template-columns:82px 1fr;gap:8px;padding:11px 5px}.agenda-location{grid-column:2;font-size:11px}.agenda-row strong{font-size:12px}
 .section-title{align-items:start;display:block}.section-title p{margin-top:5px}
 .program-grid{display:flex;overflow-x:auto;gap:10px;scroll-snap-type:x mandatory;scrollbar-width:none}.program-grid::-webkit-scrollbar{display:none}.program-card{min-width:78%;scroll-snap-align:start;min-height:170px}
 .lower-grid{grid-template-columns:1fr}.contact-panel{grid-column:auto}.gallery-grid{grid-template-columns:repeat(2,1fr)}
 .stats-grid{grid-template-columns:1fr 1fr}.stats-grid>div:nth-child(2){border-right:0}.stats-grid>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.stats-grid strong{font-size:16px}
 .inner-main{padding:18px 0 40px}.content-card{padding:18px}.article-cover{margin:-18px -18px 18px}.archive-grid{grid-template-columns:1fr}
 .rt-grid{grid-template-columns:1fr}
 .site-footer{padding:22px 0 24px}.footer-main{grid-template-columns:1fr;text-align:center}.footer-brand{justify-content:center}.footer-copy{text-align:center}
 .mobile-bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(5,1fr);left:0;right:0;bottom:0;z-index:110;background:rgba(255,255,255,.98);border-top:1px solid #dce6ef;padding:4px max(5px,env(safe-area-inset-right)) calc(5px + env(safe-area-inset-bottom)) max(5px,env(safe-area-inset-left));box-shadow:0 -6px 20px rgba(13,45,89,.10)}
 .mobile-bottom-nav a{min-height:58px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#63758a;font-size:10px;font-weight:750}.mobile-bottom-nav span{font-size:17px;line-height:1}.mobile-bottom-nav small{margin-top:4px}
 .mobile-bottom-nav .nav-main-action span{width:39px;height:39px;margin-top:-19px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff;font-size:26px;box-shadow:0 6px 18px rgba(13,115,232,.28)}.mobile-bottom-nav .nav-main-action small{color:var(--blue);margin-top:2px}
}
@media(max-width:390px){
 .hero-copy h1{font-size:32px}.hero-buttons{grid-template-columns:1fr}.featured-news{grid-template-columns:94px 1fr}.feature-item,.program-card{min-width:86%}
}


/* =========================================================
   v2.0.1 Responsive Refinements
   ========================================================= */

@media(min-width:1200px){
  .public-hero{min-height:400px}
  .hero-copy{max-width:680px}
  .hero-copy h1{font-size:58px}
}

@media(max-width:760px){
  .public-hero{
    min-height:auto;
    padding-bottom:0;
  }
  .hero-content{
    padding-top:36px;
    padding-bottom:34px;
  }
  .hero-copy h1{
    font-size:34px;
    line-height:1.08;
    max-width:100%;
    margin-bottom:14px;
  }
  .hero-copy p{
    font-size:14px;
    margin-bottom:20px;
  }
  .hero-buttons{
    grid-template-columns:1fr 1fr;
  }
  .hero-buttons .btn{
    min-height:44px;
    line-height:1.25;
    text-align:center;
  }

  .feature-scroller{
    padding-left:12px;
    padding-right:18px;
    scroll-padding-left:12px;
  }
  .feature-item{
    min-width:82%;
  }

  .program-grid{
    padding-right:10px;
    scroll-padding-left:0;
  }

  .mobile-bottom-nav{
    min-height:64px;
  }

  .site-footer{
    padding-bottom:90px;
  }
}

@media(max-width:480px){
  .hero-copy h1{
    font-size:30px;
  }
  .hero-copy p{
    font-size:13px;
  }
  .hero-buttons{
    grid-template-columns:1fr;
  }
  .feature-item,
  .program-card{
    min-width:88%;
  }
  .featured-news{
    grid-template-columns:92px 1fr;
  }
  .panel-head{
    align-items:flex-start;
  }
  .panel-head h2{
    font-size:17px;
  }
}

@media(max-width:360px){
  .rt-container{
    width:calc(100% - 18px);
  }
  .site-header{
    height:60px;
  }
  .main-nav{
    top:60px;
  }
  .brand-symbol{
    width:34px;
    height:34px;
    border-radius:9px;
    font-size:13px;
  }
  .brand-copy strong{
    font-size:12px;
  }
  .brand-copy small{
    font-size:9px;
  }
  .mobile-toggle{
    width:40px;
    height:40px;
  }
  .public-hero{
    min-height:auto;
  }
  .hero-content{
    padding-top:28px;
    padding-bottom:28px;
  }
  .hero-kicker{
    font-size:8px;
    margin-bottom:9px;
  }
  .hero-copy h1{
    font-size:27px;
    line-height:1.06;
    letter-spacing:-.025em;
    margin-bottom:12px;
  }
  .hero-copy p{
    font-size:12px;
    line-height:1.5;
    margin-bottom:16px;
  }
  .hero-buttons{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
  }
  .hero-buttons .btn{
    min-height:42px;
    font-size:11px;
    padding:9px 10px;
  }
  .feature-item{
    min-width:92%;
    padding:10px;
  }
  .feature-item strong{
    font-size:13px;
  }
  .feature-item small{
    font-size:10px;
  }
  .feature-icon{
    width:40px;
    height:40px;
    flex-basis:40px;
    font-size:18px;
  }
  .home-section{
    padding:14px 0;
  }
  .home-panel{
    padding:12px;
  }
  .program-card{
    min-width:92%;
  }
  .mobile-bottom-nav a{
    min-height:56px;
    font-size:9px;
  }
  .mobile-bottom-nav span{
    font-size:15px;
  }
  .mobile-bottom-nav .nav-main-action span{
    width:36px;
    height:36px;
    font-size:23px;
  }
}

@media(max-width:280px){
  .hero-copy h1{
    font-size:24px;
  }
  .hero-copy p{
    font-size:11px;
  }
  .brand-copy strong{
    font-size:11px;
  }
  .brand-copy small{
    display:none;
  }
  .feature-item,
  .program-card{
    min-width:96%;
  }
}

/* Improve keyboard/safe-area behavior */
@supports(padding:max(0px)){
  .mobile-bottom-nav{
    padding-bottom:max(5px, env(safe-area-inset-bottom));
  }
}


/* =========================================================
   v2.0.2 Header / Logo / Desktop Navigation Fix
   ========================================================= */

/* Logo with built-in text replaces the theme's duplicate brand text */
.site-branding:has(.custom-logo-link) .brand-copy{
  display:none !important;
}

/* Keep custom logo compact enough for navigation */
.logo-wrap{
  display:flex;
  align-items:center;
  min-width:0;
}
.logo-wrap .custom-logo-link{
  display:flex;
  align-items:center;
  max-width:100%;
}
.logo-wrap img.custom-logo{
  width:auto;
  height:auto;
  max-height:52px;
  max-width:235px;
  object-fit:contain;
}

/* Header layout should never force menu outside viewport */
.header-inner{
  min-width:0;
}
.site-branding{
  min-width:0 !important;
  flex:0 1 auto;
}
.main-nav{
  min-width:0;
  flex:1 1 auto;
  margin-left:auto;
}
.main-nav ul{
  justify-content:flex-end;
  min-width:0;
}
.main-nav li{
  flex:0 0 auto;
}
.main-nav a{
  white-space:nowrap;
}
.header-actions{
  flex:0 0 auto;
}

/* Medium desktop / laptop */
@media(max-width:1180px) and (min-width:981px){
  .rt-container{
    width:min(var(--container),calc(100% - 24px));
  }
  .logo-wrap img.custom-logo{
    max-width:190px;
    max-height:46px;
  }
  .main-nav ul{
    gap:1px;
  }
  .main-nav a{
    padding:8px 7px;
    font-size:11px;
  }
  .account-btn{
    padding:8px 10px;
    font-size:11px;
  }
}

/* Tablet: switch to compact header earlier if menu gets crowded */
@media(max-width:980px){
  .logo-wrap img.custom-logo{
    max-width:185px;
    max-height:44px;
  }
}

/* Mobile */
@media(max-width:760px){
  .site-branding{
    max-width:calc(100% - 52px);
  }
  .logo-wrap{
    max-width:100%;
  }
  .logo-wrap img.custom-logo{
    max-width:165px;
    max-height:40px;
  }
}

/* Small mobile */
@media(max-width:390px){
  .logo-wrap img.custom-logo{
    max-width:145px;
    max-height:36px;
  }
}

/* Very small mobile */
@media(max-width:320px){
  .logo-wrap img.custom-logo{
    max-width:125px;
    max-height:34px;
  }
}


/* =========================================================
   v2.1.0 Logo icon + dynamic Site Title / Tagline
   ========================================================= */

.site-header{overflow:hidden}
.site-branding{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0 !important;
  max-width:320px;
}
.site-branding .brand-copy{
  display:block !important;
  min-width:0;
  flex:1 1 auto;
}
.site-branding .brand-copy strong{
  display:block;
  font-size:17px;
  line-height:1.05;
  white-space:normal;
  overflow-wrap:anywhere;
}
.site-branding .brand-copy small{
  display:block !important;
  font-size:11px;
  color:var(--muted);
  margin-top:3px;
  line-height:1.25;
}
.logo-wrap,.logo-image-only{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
}
.logo-wrap .custom-logo-link,
.logo-image-only .custom-logo-link{
  display:flex;
  align-items:center;
  justify-content:center;
}
.logo-wrap img.custom-logo,
.logo-image-only img.custom-logo{
  width:44px !important;
  height:44px !important;
  max-width:44px !important;
  max-height:44px !important;
  object-fit:contain;
  border-radius:10px;
}

/* Disable old hide-rule from previous patch */
.site-branding:has(.custom-logo-link) .brand-copy{
  display:block !important;
}

/* Footer uses same visual identity */
.footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.footer-logo-wrap,
.footer-logo{
  width:44px;
  height:44px;
  flex:0 0 44px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.footer-logo-wrap .custom-logo-link{
  display:flex;
  align-items:center;
  justify-content:center;
}
.footer-logo-wrap img.custom-logo{
  width:44px !important;
  height:44px !important;
  max-width:44px !important;
  max-height:44px !important;
  object-fit:contain;
  border-radius:10px;
}
.footer-brand-copy strong{
  display:block;
  color:#fff;
  font-size:16px;
  line-height:1.1;
}
.footer-brand-copy span{
  display:block;
  color:#c9d8e8;
  font-size:11px;
  margin-top:4px;
  line-height:1.3;
}

/* Navigation balance */
.main-nav{
  min-width:0;
  flex:1 1 auto;
}
.main-nav ul{
  justify-content:flex-end;
  flex-wrap:nowrap;
}
.main-nav a{
  white-space:nowrap;
}

@media(max-width:1180px) and (min-width:981px){
  .site-branding{max-width:260px}
  .site-branding .brand-copy strong{font-size:15px}
  .site-branding .brand-copy small{font-size:10px}
  .logo-wrap img.custom-logo,
  .logo-image-only img.custom-logo{width:40px !important;height:40px !important;max-width:40px !important;max-height:40px !important}
  .main-nav a{font-size:11px;padding:8px 6px}
}

@media(max-width:980px){
  .site-branding{max-width:none}
}

@media(max-width:760px){
  .site-branding{max-width:calc(100% - 54px);gap:10px}
  .site-branding .brand-copy strong{font-size:14px}
  .site-branding .brand-copy small{font-size:10px}
  .logo-wrap img.custom-logo,
  .logo-image-only img.custom-logo{width:38px !important;height:38px !important;max-width:38px !important;max-height:38px !important;border-radius:9px}
  .footer-logo-wrap,
  .footer-logo,
  .footer-logo-wrap img.custom-logo{width:40px !important;height:40px !important;max-width:40px !important;max-height:40px !important}
}

@media(max-width:390px){
  .site-branding .brand-copy strong{font-size:12px}
  .site-branding .brand-copy small{font-size:9px}
  .logo-wrap img.custom-logo,
  .logo-image-only img.custom-logo{width:34px !important;height:34px !important;max-width:34px !important;max-height:34px !important}
}


/* =========================================================
   v2.1.1 Mobile logo size hotfix
   ========================================================= */

/* Desktop: slightly more compact */
.logo-wrap img,
.logo-wrap img.custom-logo,
.logo-image-only img,
.logo-image-only img.custom-logo{
  width:40px !important;
  height:40px !important;
  max-width:40px !important;
  max-height:40px !important;
  object-fit:contain !important;
}
.site-branding{gap:10px !important;}

/* Mobile: reduce logo more aggressively */
@media(max-width:760px){
  .site-header{height:72px !important;}
  .header-inner{gap:8px !important;}
  .site-branding{max-width:calc(100% - 54px) !important;gap:8px !important;}
  .logo-wrap,
  .logo-image-only,
  .logo-wrap .custom-logo-link,
  .logo-image-only .custom-logo-link{
    width:32px !important;
    height:32px !important;
    min-width:32px !important;
    min-height:32px !important;
  }
  .logo-wrap img,
  .logo-wrap img.custom-logo,
  .logo-image-only img,
  .logo-image-only img.custom-logo{
    width:32px !important;
    height:32px !important;
    max-width:32px !important;
    max-height:32px !important;
    border-radius:8px !important;
  }
  .site-branding .brand-copy strong{font-size:13px !important;line-height:1.05 !important;}
  .site-branding .brand-copy small{font-size:9px !important;line-height:1.15 !important; margin-top:2px !important;}
  .mobile-toggle{width:42px !important;height:42px !important;}
  .main-nav{top:72px !important;}
}

@media(max-width:390px){
  .site-header{height:68px !important;}
  .logo-wrap,
  .logo-image-only,
  .logo-wrap .custom-logo-link,
  .logo-image-only .custom-logo-link{
    width:28px !important;
    height:28px !important;
    min-width:28px !important;
    min-height:28px !important;
  }
  .logo-wrap img,
  .logo-wrap img.custom-logo,
  .logo-image-only img,
  .logo-image-only img.custom-logo{
    width:28px !important;
    height:28px !important;
    max-width:28px !important;
    max-height:28px !important;
    border-radius:7px !important;
  }
  .site-branding .brand-copy strong{font-size:12px !important;}
  .site-branding .brand-copy small{font-size:8px !important;}
  .main-nav{top:68px !important;}
}


/* =========================================================
   v2.2.0 Mobile UX Redesign
   ========================================================= */

/* Drawer backdrop */
.mobile-drawer-backdrop{display:none}

@media(max-width:760px){
  /* Hero lebih ringkas agar konten berikutnya mulai terlihat */
  .public-hero{min-height:0 !important}
  .hero-content{padding-top:30px !important;padding-bottom:28px !important}
  .hero-copy h1{font-size:32px !important;line-height:1.06 !important;margin-bottom:12px !important}
  .hero-copy p{font-size:13px !important;line-height:1.5 !important;margin-bottom:16px !important}
  .hero-kicker{font-size:9px !important;margin-bottom:9px !important}
  .hero-buttons{grid-template-columns:1fr 1fr !important;gap:8px !important}
  .hero-buttons .btn{min-height:44px !important;font-size:12px !important}

  /* Prioritas 4 kartu menjadi 2x2, tidak horizontal scroll */
  .feature-strip{overflow:visible !important;padding:14px 0 !important}
  .feature-scroller{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
    overflow:visible !important;
    padding:0 !important;
  }
  .feature-item{
    min-width:0 !important;
    scroll-snap-align:none !important;
    border:1px solid #dce8f2 !important;
    border-radius:13px !important;
    background:#fff !important;
    padding:11px !important;
    gap:10px !important;
    min-height:92px;
  }
  .feature-icon{width:40px !important;height:40px !important;flex-basis:40px !important;font-size:18px !important}
  .feature-item strong{font-size:12px !important;line-height:1.2}
  .feature-item small{font-size:9px !important;line-height:1.3;margin-top:3px !important}

  /* Program RT 2x2 */
  .program-grid{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
    overflow:visible !important;
    padding:0 !important;
  }
  .program-card{
    min-width:0 !important;
    min-height:168px !important;
    scroll-snap-align:none !important;
    padding:14px !important;
  }
  .program-card h3{font-size:14px !important;line-height:1.25}
  .program-card p{font-size:11px !important;line-height:1.45}

  /* Drawer dari kanan */
  .main-nav{
    display:block !important;
    position:fixed !important;
    top:0 !important;
    right:0 !important;
    left:auto !important;
    bottom:0 !important;
    width:min(86vw,340px) !important;
    background:#fff !important;
    padding:92px 18px 100px !important;
    transform:translateX(104%);
    transition:transform .28s ease;
    overflow-y:auto !important;
    box-shadow:-18px 0 40px rgba(13,45,89,.16);
    z-index:120 !important;
  }
  .main-nav.open{transform:translateX(0)}
  .main-nav ul{display:grid !important;gap:5px !important}
  .main-nav li{width:100%}
  .main-nav a{
    min-height:48px !important;
    padding:12px 14px !important;
    border-radius:10px !important;
    font-size:14px !important;
    font-weight:800 !important;
    justify-content:flex-start !important;
  }
  .main-nav a:hover,.main-nav .current-menu-item>a{background:#edf6ff !important;color:var(--blue) !important}
  .mobile-drawer-backdrop{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(6,23,44,.46);
    opacity:0;
    visibility:hidden;
    transition:.25s ease;
    z-index:115;
    backdrop-filter:blur(2px);
  }
  .mobile-drawer-backdrop.show{opacity:1;visibility:visible}
  .mobile-toggle{position:relative;z-index:130}

  /* Bottom nav lebih menarik */
  .mobile-bottom-nav{
    min-height:68px !important;
    border-top:1px solid rgba(13,45,89,.10) !important;
    background:rgba(255,255,255,.96) !important;
    backdrop-filter:blur(14px);
    box-shadow:0 -10px 30px rgba(13,45,89,.12) !important;
    padding-top:5px !important;
  }
  .mobile-bottom-nav a{
    color:#71849a !important;
    position:relative;
    border-radius:14px;
    transition:.2s ease;
  }
  .mobile-bottom-nav a.is-active{
    color:var(--blue) !important;
    background:#eef6ff;
  }
  .mobile-bottom-nav a:not(.nav-main-action).is-active:before{
    content:"";
    position:absolute;
    top:2px;
    width:18px;
    height:3px;
    border-radius:999px;
    background:var(--blue);
  }
  .mobile-bottom-nav .nav-main-action{
    background:transparent !important;
  }
  .mobile-bottom-nav .nav-main-action span{
    width:42px !important;
    height:42px !important;
    margin-top:-22px !important;
    border:4px solid #fff;
    box-shadow:0 8px 22px rgba(13,115,232,.30) !important;
  }
  .mobile-bottom-nav .nav-main-action.is-active small{color:var(--blue) !important}

  /* Cards utama lebih ringan */
  .home-panel{border-radius:16px !important;box-shadow:0 5px 18px rgba(23,68,105,.06) !important}
  .panel-head h2{font-size:17px !important}
  .panel-head>a{font-size:10px !important}
}

@media(max-width:420px){
  .hero-copy h1{font-size:29px !important}
  .hero-buttons{grid-template-columns:1fr !important}
  .feature-scroller,.program-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}

@media(max-width:330px){
  .feature-scroller,.program-grid{grid-template-columns:1fr !important}
  .feature-item{min-height:auto}
  .program-card{min-height:auto !important}
}


/* =========================================================
   v2.3.0 Informasi Cepat
   ========================================================= */
.quick-info-section{
  padding:28px 0;
  background:#fff;
}
.quick-info-wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:24px;
  align-items:start;
}
.quick-info-panel{
  background:#fff;
  border:1px solid #dce7f1;
  border-radius:18px;
  padding:18px;
  box-shadow:0 8px 24px rgba(15,49,82,.06);
}
.quick-info-panel h2{
  margin:0 0 14px;
  font-size:18px;
  line-height:1.2;
  color:#0f3152;
}
.quick-info-list{
  display:grid;
  gap:10px;
}
.quick-info-card{
  display:block;
  border:1px solid #dce7f1;
  background:#f8fbfd;
  border-radius:14px;
  padding:13px 14px;
  text-decoration:none;
  color:inherit;
  transition:.2s ease;
}
.quick-info-card:hover{
  transform:translateY(-1px);
  border-color:#b9d2e7;
  box-shadow:0 5px 14px rgba(15,49,82,.06);
}
.quick-info-label{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  color:#284866;
  text-transform:uppercase;
  margin-bottom:4px;
}
.quick-info-value{
  display:block;
  font-size:18px;
  font-weight:800;
  color:#071b33;
  line-height:1.2;
}
.quick-info-main{
  min-width:0;
}
@media(max-width:900px){
  .quick-info-wrap{
    grid-template-columns:1fr;
  }
  .quick-info-panel{
    order:2;
  }
}
@media(max-width:760px){
  .quick-info-section{
    padding:20px 0;
  }
  .quick-info-panel{
    padding:14px;
    border-radius:16px;
  }
  .quick-info-panel h2{
    font-size:17px;
  }
  .quick-info-card{
    padding:12px 13px;
  }
  .quick-info-value{
    font-size:17px;
  }
}


/* =========================================================
   v2.3.1 Hero-integrated Quick Info
   ========================================================= */
.hero-with-info{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,360px);
  gap:28px;
  align-items:center;
}
.hero-quick-info{
  position:relative;
  z-index:2;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  border:1px solid rgba(220,231,241,.9);
  box-shadow:0 12px 30px rgba(8, 32, 58, .18);
}
.hero-quick-info h2{
  font-size:18px;
  margin-bottom:14px;
}
.hero-quick-info .quick-info-card{
  background:#fff;
}
.quick-info-section{display:none !important;}

@media(max-width:980px){
  .hero-with-info{
    grid-template-columns:1fr;
    gap:18px;
  }
  .hero-quick-info{
    max-width:440px;
    width:100%;
  }
}

@media(max-width:760px){
  .hero-with-info{
    gap:16px;
  }
  .hero-quick-info{
    margin-top:4px;
    background:rgba(255,255,255,.92);
    box-shadow:0 10px 22px rgba(8, 32, 58, .16);
  }
  .hero-quick-info h2{
    font-size:17px;
  }
}

@media(max-width:480px){
  .hero-quick-info{
    border-radius:16px;
  }
}


/* =========================================================
   v2.3.2 Transparansi Kas section
   ========================================================= */
.transparency-section{
  background:transparent;
  padding-top:10px;
}
.transparency-head{
  align-items:flex-start;
  margin-bottom:18px;
}
.transparency-head h2{
  margin:0 0 6px;
  color:#0f3152;
  font-size:18px;
  line-height:1.2;
}
.transparency-head p{
  margin:0;
  color:#627790;
  font-size:13px;
  line-height:1.55;
}
.transparency-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.transparency-card{
  border:1px solid #dce7f1;
  border-radius:16px;
  background:rgba(255,255,255,.92);
  padding:18px 16px;
  box-shadow:0 8px 20px rgba(15,49,82,.05);
}
.transparency-card small{
  display:block;
  font-size:12px;
  color:#5b7187;
  margin-bottom:8px;
}
.transparency-card strong{
  display:block;
  font-size:18px;
  color:#071b33;
  line-height:1.2;
}
@media(max-width:760px){
  .transparency-grid{
    grid-template-columns:1fr;
  }
  .transparency-head{
    gap:8px;
  }
  .transparency-head h2{
    font-size:17px;
  }
}


/* =========================================================
   v2.3.3 Remove hero quick panel, move stats up, move transparency below Program RT
   ========================================================= */
.hero-with-info{
  display:block;
  grid-template-columns:none;
}
.public-hero .hero-content{
  display:block;
}
.public-hero .hero-copy{
  max-width:720px;
}
.quick-info-panel,
.hero-quick-info,
.quick-info-section{
  display:none !important;
}

.quick-stats{
  padding:18px 0 6px;
  background:transparent;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:0;
  border:1px solid #dce7f1;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
}
.stats-grid > div{
  padding:14px 16px;
  border-right:1px solid #dce7f1;
}
.stats-grid > div:last-child{
  border-right:none;
}
.stats-grid small{
  display:block;
  color:#5f7489;
  font-size:12px;
  margin-bottom:6px;
}
.stats-grid strong{
  display:block;
  color:#071b33;
  font-size:18px;
  line-height:1.15;
}
@media(max-width:760px){
  .quick-stats{
    padding:16px 0 4px;
  }
  .stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0;
  }
  .stats-grid > div{
    border-right:1px solid #dce7f1;
    border-bottom:1px solid #dce7f1;
  }
  .stats-grid > div:nth-child(2n){
    border-right:none;
  }
  .stats-grid > div:nth-last-child(-n+2){
    border-bottom:none;
  }
}


/* =========================================================
   v2.3.4 Profile ↔ Modul 08 Pengurus
   ========================================================= */
.profile-board{
  margin-top:30px;
  padding-top:28px;
  border-top:1px solid #dce7f1;
}
.profile-board-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:20px;
  margin-bottom:18px;
}
.profile-eyebrow{
  display:inline-block;
  margin-bottom:5px;
  font-size:11px;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
  color:#1676d2;
}
.profile-board h2{
  margin:0 0 7px;
  color:#0d2f51;
  font-size:24px;
}
.profile-board-head p{
  margin:0;
  color:#627790;
  font-size:14px;
}
.profile-officials-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.profile-official-card{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:0;
  padding:15px;
  border:1px solid #dce7f1;
  border-radius:16px;
  background:#fff;
  box-shadow:0 6px 18px rgba(15,49,82,.05);
}
.profile-official-photo{
  width:54px;
  height:54px;
  flex:0 0 54px;
  border-radius:50%;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#eaf4fb;
  font-size:25px;
}
.profile-official-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.profile-official-copy{
  min-width:0;
}
.profile-role{
  display:block;
  margin-bottom:3px;
  color:#1676d2;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
}
.profile-official-card h3{
  margin:0;
  color:#0d2f51;
  font-size:16px;
  overflow-wrap:anywhere;
}
.profile-contact{
  display:inline-block;
  margin-top:6px;
  font-size:12px;
  font-weight:700;
  color:#087a56;
  text-decoration:none;
}
.profile-empty{
  padding:18px;
  border:1px dashed #c9d9e7;
  border-radius:14px;
  background:#f7fbfe;
  color:#5b7187;
}
@media(max-width:900px){
  .profile-officials-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:600px){
  .profile-board{
    margin-top:24px;
    padding-top:22px;
  }
  .profile-officials-grid{
    grid-template-columns:1fr;
  }
  .profile-board h2{
    font-size:21px;
  }
}


/* v2.3.5 Profil RT sourced from Module 08 */
.rt003-profile-intro{
  display:grid;
  gap:16px;
  margin:8px 0 28px;
}
.rt003-profile-block{
  padding:18px 20px;
  border:1px solid #dce7f1;
  border-radius:16px;
  background:#f9fcfe;
}
.rt003-profile-block h2{
  margin:0 0 10px;
  color:#0d2f51;
  font-size:20px;
}
.rt003-profile-block p{
  margin:0;
  color:#536b82;
  line-height:1.75;
}
.rt003-profile-mission{
  margin:0;
  padding-left:22px;
  color:#536b82;
  line-height:1.75;
}
.rt003-profile-mission li+li{margin-top:5px}


/* =========================================================
   v2.3.6 — Android & Tablet Drawer Visibility Fix
   ========================================================= */

/* Prevent page scrolling while drawer is open */
body.menu-open{
  overflow:hidden !important;
}

/* The header must sit ABOVE the backdrop when menu is open.
   This avoids the drawer being trapped under the sibling backdrop. */
body.menu-open .site-header{
  z-index:310 !important;
}

/* Backdrop covers page content, but stays below header/drawer */
.mobile-drawer-backdrop{
  z-index:280 !important;
}

/* Tablet + Android: use drawer up to 980px */
@media(max-width:980px){
  .site-header{
    z-index:100 !important;
  }

  body.menu-open .site-header{
    z-index:310 !important;
  }

  .header-actions{
    margin-left:auto;
  }

  .account-btn{
    display:none !important;
  }

  .mobile-toggle{
    display:block !important;
    position:relative !important;
    z-index:340 !important;
    flex:0 0 auto;
  }

  .main-nav{
    display:block !important;
    position:fixed !important;
    top:0 !important;
    right:0 !important;
    left:auto !important;
    bottom:0 !important;

    width:min(86vw,360px) !important;
    max-width:360px !important;
    height:100dvh !important;

    padding:88px 18px 94px !important;
    margin:0 !important;

    background:#ffffff !important;
    opacity:1 !important;
    visibility:visible !important;

    transform:translate3d(105%,0,0) !important;
    transition:transform .28s ease !important;

    overflow-y:auto !important;
    overflow-x:hidden !important;
    overscroll-behavior:contain;

    box-shadow:-20px 0 46px rgba(6,31,58,.22) !important;
    z-index:330 !important;
  }

  .main-nav.open{
    transform:translate3d(0,0,0) !important;
  }

  .main-nav::before{
    content:"Menu";
    display:block;
    position:absolute;
    top:25px;
    left:20px;
    color:#0d2f51;
    font-size:18px;
    line-height:1;
    font-weight:900;
  }

  .main-nav ul{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:6px !important;
    width:100% !important;
    padding:0 !important;
    margin:0 !important;
    list-style:none !important;
  }

  .main-nav li{
    display:block !important;
    width:100% !important;
    margin:0 !important;
  }

  .main-nav a{
    display:flex !important;
    align-items:center !important;
    justify-content:flex-start !important;
    width:100% !important;
    min-height:48px !important;
    box-sizing:border-box !important;
    padding:12px 14px !important;
    border-radius:11px !important;
    color:#14324f !important;
    background:#fff !important;
    font-size:14px !important;
    font-weight:800 !important;
    text-decoration:none !important;
  }

  .main-nav a:hover,
  .main-nav .current-menu-item>a,
  .main-nav .current_page_item>a{
    background:#edf6ff !important;
    color:#0874d1 !important;
  }

  .mobile-drawer-backdrop{
    display:block !important;
    position:fixed !important;
    inset:0 !important;
    background:rgba(5,20,38,.52) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transition:opacity .24s ease, visibility .24s ease !important;
    z-index:280 !important;
    -webkit-backdrop-filter:blur(2px);
    backdrop-filter:blur(2px);
  }

  .mobile-drawer-backdrop.show{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
  }

  .mobile-toggle.active{
    background:#eef5fb !important;
  }
}

/* Small Android screens */
@media(max-width:420px){
  .main-nav{
    width:min(89vw,340px) !important;
    padding-left:15px !important;
    padding-right:15px !important;
  }
}

/* Very narrow devices */
@media(max-width:320px){
  .main-nav{
    width:92vw !important;
  }
}


/* =========================================================
   v2.3.7 — Drawer clipping fix
   Root cause: older .site-header{overflow:hidden} clipped
   the fixed drawer to the header's height.
   ========================================================= */

/* Header must never clip the mobile drawer. */
@media(max-width:980px){
  .site-header,
  body.menu-open .site-header{
    overflow:visible !important;
  }

  /* Remove effects that can create an unwanted containing/clipping context. */
  body.menu-open .site-header{
    transform:none !important;
    -webkit-backdrop-filter:none !important;
    backdrop-filter:none !important;
  }

  body.menu-open .header-inner{
    overflow:visible !important;
  }

  .main-nav{
    clip:auto !important;
    clip-path:none !important;
    max-height:none !important;
    min-height:100dvh !important;
    height:100dvh !important;
    overflow-y:auto !important;
    contain:none !important;
  }

  .main-nav.open{
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
    pointer-events:auto !important;
  }

  .main-nav.open ul,
  .main-nav.open .menu{
    display:grid !important;
    visibility:visible !important;
    opacity:1 !important;
  }

  .main-nav.open li{
    display:block !important;
    visibility:visible !important;
  }

  .main-nav.open a{
    visibility:visible !important;
    opacity:1 !important;
  }
}

/* Keep backdrop below the drawer and outside its clipping context. */
.mobile-drawer-backdrop{
  position:fixed !important;
  inset:0 !important;
}


/* =========================================================
   v2.3.8 — No Horizontal Scroll / True Overlay Drawer
   ========================================================= */

/* Never allow the page itself to become wider than the viewport. */
html{
  width:100%;
  max-width:100%;
  overflow-x:clip !important;
}
body{
  width:100%;
  max-width:100%;
  overflow-x:hidden !important; /* fallback for older Android browsers */
}
@supports (overflow:clip){
  body{overflow-x:clip !important;}
}

*,*::before,*::after{
  box-sizing:border-box;
}

/* Common page wrappers must stay inside the viewport. */
.site,
.site-content,
main,
.rt-container,
.header-inner,
.site-footer,
.footer-inner{
  max-width:100%;
}

/* Fixed bottom navigation must never enlarge layout width. */
.mobile-bottom-nav{
  width:100% !important;
  max-width:100vw !important;
  box-sizing:border-box !important;
  overflow-x:hidden !important;
}

/* Drawer is a pure overlay. It never participates in document width. */
@media(max-width:980px){
  body.menu-open{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
    overscroll-behavior:none;
  }

  .main-nav{
    position:fixed !important;
    left:auto !important;
    right:0 !important;
    top:0 !important;
    bottom:auto !important;

    width:min(82vw,320px) !important;
    max-width:calc(100vw - 44px) !important;
    min-width:0 !important;
    height:100dvh !important;
    min-height:100dvh !important;

    margin:0 !important;
    padding:82px 14px calc(88px + env(safe-area-inset-bottom)) !important;

    overflow-x:hidden !important;
    overflow-y:auto !important;

    transform:translate3d(100%,0,0) !important;
    will-change:transform;
    pointer-events:none !important;
    visibility:hidden !important;

    contain:layout paint;
  }

  .main-nav.open{
    transform:translate3d(0,0,0) !important;
    pointer-events:auto !important;
    visibility:visible !important;
  }

  .main-nav ul,
  .main-nav li,
  .main-nav a{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  .main-nav a{
    white-space:normal !important;
    overflow-wrap:anywhere;
  }

  .mobile-drawer-backdrop{
    width:100vw !important;
    max-width:100vw !important;
    height:100dvh !important;
    overflow:hidden !important;
  }

  /* Header remains viewport-wide, never drawer+page wide. */
  .site-header,
  .header-inner{
    width:100% !important;
    max-width:100% !important;
  }
}

/* On very small phones keep enough page visible behind drawer. */
@media(max-width:420px){
  .main-nav{
    width:min(86vw,320px) !important;
    max-width:calc(100vw - 34px) !important;
  }
}


/* =========================================================
   v2.3.9 — Bottom navigation account flow
   ========================================================= */

.mobile-bottom-nav button.mobile-account-trigger{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background:transparent;
  margin:0;
  padding:0;
  min-height:58px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:#63758a;
  font:inherit;
  font-size:10px;
  font-weight:750;
  cursor:pointer;
}
.mobile-bottom-nav button.mobile-account-trigger span{
  font-size:17px;
  line-height:1;
}
.mobile-bottom-nav button.mobile-account-trigger small{
  margin-top:4px;
}
.mobile-bottom-nav button.mobile-account-trigger.is-active{
  color:var(--blue);
  background:#edf6ff;
  border-radius:12px;
}

.mobile-account-backdrop,
.mobile-account-sheet{
  display:none;
}

@media(max-width:980px){
  .mobile-account-backdrop{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(5,20,38,.52);
    opacity:0;
    visibility:hidden;
    pointer-events:none;
    transition:opacity .22s ease,visibility .22s ease;
    z-index:420;
  }
  .mobile-account-backdrop.show{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
  }

  .mobile-account-sheet{
    display:block;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    max-width:100vw;
    max-height:min(82dvh,620px);
    padding:8px 16px calc(92px + env(safe-area-inset-bottom));
    background:#fff;
    border-radius:22px 22px 0 0;
    box-shadow:0 -18px 50px rgba(5,30,56,.22);
    transform:translate3d(0,105%,0);
    visibility:hidden;
    pointer-events:none;
    transition:transform .28s ease,visibility .28s ease;
    overflow-y:auto;
    z-index:430;
  }
  .mobile-account-sheet.open{
    transform:translate3d(0,0,0);
    visibility:visible;
    pointer-events:auto;
  }
  .mobile-account-handle{
    width:42px;
    height:5px;
    border-radius:999px;
    background:#d8e0e7;
    margin:0 auto 14px;
  }
  .mobile-account-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:15px;
    margin-bottom:16px;
  }
  .mobile-account-head strong{
    display:block;
    font-size:18px;
    color:#0d2f51;
  }
  .mobile-account-head span{
    display:block;
    margin-top:4px;
    font-size:12px;
    color:#677b90;
  }
  .mobile-account-close{
    appearance:none;
    border:1px solid #d9e4ed;
    width:38px;
    height:38px;
    flex:0 0 38px;
    border-radius:11px;
    background:#f7fafc;
    color:#163858;
    font-size:25px;
    line-height:1;
    cursor:pointer;
  }
  .mobile-account-options{
    display:grid;
    gap:10px;
  }
  .account-option{
    display:flex;
    align-items:center;
    gap:13px;
    padding:14px;
    border:1px solid #dce7f1;
    border-radius:15px;
    color:#153653;
    text-decoration:none;
    background:#fff;
  }
  .account-option.primary{
    background:#eff7ff;
    border-color:#cfe4f7;
  }
  .account-option-icon{
    width:44px;
    height:44px;
    flex:0 0 44px;
    display:grid;
    place-items:center;
    border-radius:13px;
    background:#fff;
    font-size:20px;
  }
  .account-option strong{
    display:block;
    font-size:14px;
  }
  .account-option small{
    display:block;
    margin-top:3px;
    color:#657b90;
    font-size:11px;
    line-height:1.45;
  }
  .account-register-link{
    display:block;
    margin-top:3px;
    padding:13px 10px;
    text-align:center;
    color:#0b74c9;
    text-decoration:none;
    font-size:13px;
  }
  body.account-sheet-open{
    overflow:hidden !important;
  }
}


/* v2.4.1 Registration form */
.rt003-registration{max-width:760px;margin:0 auto}
.rt003-reg-intro h2{margin:0 0 6px;color:#0d2f51}
.rt003-reg-intro p{margin:0 0 20px;color:#60768b;line-height:1.65}
.rt003-reg-form{display:grid;gap:16px}
.rt003-reg-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.rt003-reg-grid label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:800;color:#173650}
.rt003-reg-grid label.full{grid-column:1/-1}
.rt003-reg-grid input,.rt003-reg-grid select{
  width:100%;min-height:46px;padding:10px 12px;border:1px solid #d4e0ea;border-radius:11px;background:#fff;color:#102a43;font:inherit
}
.rt003-reg-note{padding:13px 14px;border-radius:12px;background:#f4f9fd;color:#587086;font-size:12px;line-height:1.55}
.rt003-reg-submit{min-height:48px;border:0;border-radius:12px;background:#087e69;color:#fff;font-weight:900;font-size:15px;cursor:pointer}
.rt003-reg-alert{padding:13px 14px;border-radius:12px;margin-bottom:16px;font-weight:700}
.rt003-reg-alert.success{background:#ecfbf5;color:#08785d;border:1px solid #bce8d8}
.rt003-reg-alert.error{background:#fff3f2;color:#b42318;border:1px solid #f4c7c3}
.rt003-reg-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:640px){.rt003-reg-grid{grid-template-columns:1fr}.rt003-reg-grid label.full{grid-column:auto}}


/* v2.4.4 — Warga self-profile & private document UI */
.rt003-account-profile-cta{margin:0 0 18px;padding:16px;border-radius:15px;background:#eef8f5;border:1px solid #cfe9df;color:#173d35}
.rt003-account-profile-cta strong{display:block;font-size:16px}
.rt003-account-profile-cta p{margin:6px 0 12px!important;color:#5a756e}
.rt003-account-profile-cta a{display:inline-block;padding:10px 13px;border-radius:10px;background:#087e69;color:#fff!important;text-decoration:none;font-weight:850}
.rt003-self-summary{padding:15px 16px;margin:0 0 20px;border:1px solid #d8e6ef;border-radius:14px;background:#f6fbfe}
.rt003-self-summary strong{color:#0d2f51}.rt003-self-summary p{margin:6px 0 0;color:#60758a}
.rt003-doc-upload{margin-top:28px;padding-top:24px;border-top:1px solid #dbe6ee}
.rt003-doc-upload h2{margin:0 0 6px;color:#0d2f51}.rt003-doc-upload>p{margin:0 0 16px;color:#60758a}
.rt003-doc-list{margin-top:18px}.rt003-doc-list h3{margin:0 0 10px}
.rt003-doc-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:12px;padding:11px 12px;border:1px solid #dce7ef;border-radius:11px;margin-top:8px}
.rt003-doc-row strong,.rt003-doc-row small{display:block}.rt003-doc-row small{margin-top:3px;color:#718398}
.rt003-doc-row a{color:#0874c7;text-decoration:none;font-weight:800}
@media(max-width:600px){.rt003-doc-row{grid-template-columns:1fr auto}.rt003-doc-row>a{grid-column:1/-1}}


/* v2.4.5 — responsive photo attachments */
.entry-featured-image{margin:0 0 20px;border-radius:16px;overflow:hidden;background:#eef3f6}
.entry-featured-image img{display:block;width:100%;height:auto;max-height:540px;object-fit:cover}
@media(max-width:680px){.entry-featured-image{border-radius:12px;margin-bottom:15px}.entry-featured-image img{max-height:360px}}


/* v2.4.6 — Dashboard Warga: Pelayanan/Pengaduan + preview foto */
.rt003-warga-actions{margin-top:24px}
.rt003-warga-action-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}
.rt003-warga-action-tabs button{min-height:44px;border:1px solid #d6e3ec;border-radius:11px;background:#fff;color:#365069;font-weight:850;cursor:pointer}
.rt003-warga-action-tabs button.active{background:#087e69;color:#fff;border-color:#087e69}
.rt003-warga-action-panel{display:none;padding:18px;border:1px solid #dbe6ee;border-radius:16px;background:#fff}
.rt003-warga-action-panel.active{display:block}
.rt003-warga-action-panel h2{margin:0 0 5px;color:#0d2f51}
.rt003-warga-action-panel>p{margin:0 0 16px;color:#64798d}
.rt003-warga-action-panel .rt003-reg-form label{display:flex;flex-direction:column;gap:7px;font-weight:800;color:#173650}
.rt003-warga-action-panel input[type=text],.rt003-warga-action-panel textarea{width:100%;padding:11px 12px;border:1px solid #d5e1ea;border-radius:11px;font:inherit}
.rt003-warga-photo-preview{min-height:88px;padding:10px;border:1px dashed #c8d8e5;border-radius:12px;background:#f8fbfd;display:flex;flex-direction:column;gap:8px;align-items:flex-start;justify-content:center}
.rt003-warga-photo-preview span{font-size:12px;color:#71849a}
.rt003-warga-photo-preview img{display:block;width:min(100%,420px);max-height:280px;object-fit:contain;border-radius:10px;background:#fff}
.rt003-warga-photo-preview button{border:1px solid #d7e2ea;background:#fff;border-radius:9px;padding:7px 10px;font-weight:800}
.rt003-warga-action-panel small{color:#71849a}
@media(max-width:600px){.rt003-warga-action-panel{padding:14px}.rt003-warga-photo-preview img{width:100%;max-height:220px}}


/* v2.5.0 — Dashboard Warga v2 */
.rt003-wd{display:grid;gap:18px}
.rt003-wd-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px;border-radius:20px;background:linear-gradient(135deg,#0b785f,#0b5f88);color:#fff}
.rt003-wd-kicker{display:block;font-size:11px;font-weight:900;letter-spacing:.14em;opacity:.82}
.rt003-wd-hero h1{margin:6px 0 4px;color:#fff;font-size:clamp(25px,4vw,38px)}
.rt003-wd-hero p{margin:0;color:rgba(255,255,255,.8)}
.rt003-wd-hero-actions,.rt003-wd-account-actions{display:flex;flex-wrap:wrap;gap:9px}
.rt003-wd-btn{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 13px;border-radius:11px;text-decoration:none!important;font-weight:850;font-size:13px}
.rt003-wd-btn.primary{background:#fff;color:#08715f!important}.rt003-wd-btn.ghost{border:1px solid rgba(255,255,255,.4);color:#fff!important;background:rgba(255,255,255,.08)}
.rt003-wd-card .rt003-wd-btn.primary{background:#087e69;color:#fff!important}.rt003-wd-card .rt003-wd-btn.ghost{border-color:#d3e0e9;color:#173650!important;background:#fff}
.rt003-wd-profile-card,.rt003-wd-card{padding:18px;border:1px solid #dbe6ee;border-radius:16px;background:#fff;box-shadow:0 6px 24px rgba(14,42,70,.035)}
.rt003-wd-profile-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px}.rt003-wd-profile-head small{display:block;color:#6c8093}.rt003-wd-profile-head strong{display:block;margin-top:2px;font-size:25px;color:#0d2f51}.rt003-wd-profile-head a{font-size:13px;color:#087e69;text-decoration:none;font-weight:850}
.rt003-wd-progress{height:8px;margin-top:12px;border-radius:999px;background:#e9f0f4;overflow:hidden}.rt003-wd-progress span{display:block;height:100%;border-radius:inherit;background:#087e69}.rt003-wd-profile-card p{margin:9px 0 0;color:#687d90;font-size:12px}
.rt003-wd-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.rt003-wd-stats article{min-width:0;padding:15px;border:1px solid #dbe6ee;border-radius:15px;background:#fff;display:flex;align-items:center;gap:11px}.rt003-wd-stat-icon{width:39px;height:39px;flex:0 0 39px;border-radius:12px;display:grid;place-items:center;background:#edf7f4;color:#087e69;font-weight:900}.rt003-wd-stats small,.rt003-wd-stats strong,.rt003-wd-stats article div>span{display:block}.rt003-wd-stats small{color:#718397;font-size:11px}.rt003-wd-stats strong{margin:2px 0;font-size:18px;color:#102f4b}.rt003-wd-stats article div>span{font-size:10px;color:#8292a3}
.rt003-wd-nav{display:flex;gap:6px;padding:6px;border:1px solid #dce7ef;border-radius:14px;background:#fff;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}.rt003-wd-nav::-webkit-scrollbar{display:none}.rt003-wd-nav button{flex:1 0 auto;min-height:39px;padding:8px 13px;border:0;border-radius:10px;background:transparent;color:#536a80;font-weight:850;cursor:pointer}.rt003-wd-nav button.active{background:#eaf6f2;color:#087e69}
.rt003-wd-panel{display:none}.rt003-wd-panel.active{display:block}.rt003-wd-grid-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.rt003-wd-card h2{margin:0 0 6px;color:#0d2f51;font-size:18px}.rt003-wd-card>p{margin:0 0 16px;color:#697e91;line-height:1.55}.rt003-wd-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.rt003-wd-card-head h2{margin:0}.rt003-wd-card-head button{border:0;background:transparent;color:#087e69;font-weight:850;cursor:pointer}.rt003-wd-card-head>span{font-size:12px;color:#708397}
.rt003-wd-history{display:grid;gap:8px}.rt003-wd-history-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px;border:1px solid #e0e8ee;border-radius:12px}.rt003-wd-history-thumb{width:52px;height:52px;object-fit:cover;border-radius:9px}.rt003-wd-history-main{min-width:0}.rt003-wd-history-main strong,.rt003-wd-history-main span,.rt003-wd-history-main small{display:block}.rt003-wd-history-main strong{font-size:13px;color:#173650;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rt003-wd-history-main span{margin-top:3px;font-size:10px;color:#7a8c9f}.rt003-wd-history-main small{margin-top:4px;color:#657b8f}
.rt003-wd-badge{display:inline-flex;align-items:center;justify-content:center;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:900;white-space:nowrap;background:#edf1f4;color:#526579}.rt003-wd-badge.success{background:#e8f8f1;color:#08785d}.rt003-wd-badge.info{background:#eaf4fd;color:#116ca5}.rt003-wd-badge.warning{background:#fff6df;color:#9a6500}.rt003-wd-badge.danger{background:#fff0ee;color:#b42318}
.rt003-wd-empty{padding:17px;border:1px dashed #cfdce5;border-radius:12px;color:#75889a;text-align:center;font-size:12px}
.rt003-wd-iuran-list{display:grid;gap:8px}.rt003-wd-iuran-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 12px;border:1px solid #e0e8ee;border-radius:11px}.rt003-wd-iuran-row strong,.rt003-wd-iuran-row span,.rt003-wd-iuran-row small{display:block}.rt003-wd-iuran-row strong{color:#173650}.rt003-wd-iuran-row>div:first-child span{font-size:12px;color:#708397;margin-top:2px}.rt003-wd-iuran-row>div:last-child{text-align:right}.rt003-wd-iuran-row small{margin-top:3px;color:#7c8d9d;font-size:10px}
.rt003-wd-form{margin-top:14px}.rt003-wd-form label{display:flex;flex-direction:column;gap:7px;font-weight:800;color:#173650}.rt003-wd-form input[type=text],.rt003-wd-form input[type=password],.rt003-wd-form textarea,.rt003-wd-form input[type=file]{width:100%;max-width:100%;box-sizing:border-box}.rt003-wd-form input[type=text],.rt003-wd-form input[type=password],.rt003-wd-form textarea{padding:11px 12px;border:1px solid #d5e1ea;border-radius:11px;font:inherit}
@media(max-width:860px){.rt003-wd-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.rt003-wd-grid-two{grid-template-columns:1fr}}
@media(max-width:600px){.rt003-wd{gap:13px}.rt003-wd-hero{align-items:flex-start;flex-direction:column;padding:17px;border-radius:16px}.rt003-wd-hero-actions{width:100%}.rt003-wd-hero-actions .rt003-wd-btn{flex:1}.rt003-wd-stats{grid-template-columns:1fr 1fr;gap:8px}.rt003-wd-stats article{padding:11px;gap:8px}.rt003-wd-stat-icon{width:34px;height:34px;flex-basis:34px}.rt003-wd-stats strong{font-size:15px}.rt003-wd-profile-card,.rt003-wd-card{padding:14px;border-radius:14px}.rt003-wd-history-row{grid-template-columns:auto minmax(0,1fr)}.rt003-wd-history-row>.rt003-wd-badge{grid-column:2;justify-self:start}.rt003-wd-history-thumb{width:48px;height:48px}.rt003-wd-nav{position:sticky;top:4px;z-index:15}}


/* =========================================================
   v2.5.1 — Struktur organisasi publik terkelompok
   ========================================================= */
.profile-org-section{
  margin-top:24px;
  padding:20px;
  border:1px solid #dce7f1;
  border-radius:18px;
  background:#fbfdff;
}
.profile-org-section:first-of-type{margin-top:20px}
.profile-org-section-head{
  display:flex;
  align-items:flex-start;
  gap:12px;
  margin-bottom:16px;
}
.profile-org-index{
  width:34px;
  height:34px;
  flex:0 0 34px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#eaf4fd;
  color:#1676d2;
  font-size:11px;
  font-weight:900;
}
.profile-org-section-head h3{
  margin:0;
  color:#0d2f51;
  font-size:19px;
}
.profile-org-section-head p{
  margin:4px 0 0;
  color:#6a7e92;
  font-size:12px;
  line-height:1.5;
}
.profile-chairman-row{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  max-width:580px;
  margin-bottom:14px;
}
.profile-chairman-row .profile-official-card{
  border-color:#bcd7ec;
  background:linear-gradient(135deg,#f5fbff,#fff);
}
.profile-chairman-row .profile-official-photo{
  width:62px;
  height:62px;
  flex-basis:62px;
}
.profile-chairman-row .profile-official-card h3{
  font-size:18px;
}
.profile-daily-grid{margin-top:0}
.profile-name-line{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
}
.profile-name-line h3{min-width:0}
.profile-coordinator-badge{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:3px 8px;
  border-radius:999px;
  background:#e7f8ef;
  color:#08785d;
  font-size:10px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
}
.profile-field-groups{
  display:grid;
  gap:14px;
}
.profile-field-group{
  padding:16px;
  border:1px solid #dce7f1;
  border-radius:15px;
  background:#fff;
}
.profile-field-title{
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:13px;
}
.profile-field-mark{
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:#087e69;
}
.profile-field-title h4{
  flex:1;
  margin:0;
  color:#0d2f51;
  font-size:15px;
}
.profile-field-count{
  padding:4px 7px;
  border-radius:999px;
  background:#f0f5f8;
  color:#6b7e90;
  font-size:10px;
  font-weight:800;
  white-space:nowrap;
}
.profile-official-card.compact{
  padding:13px;
  box-shadow:none;
}
.profile-official-card.compact .profile-official-photo{
  width:46px;
  height:46px;
  flex-basis:46px;
  font-size:20px;
}
.profile-official-card.compact h3{
  font-size:14px;
}
.profile-official-card.is-coordinator{
  border-color:#bfe3d5;
  background:#fbfffd;
}
.profile-field-members .profile-role{
  color:#708398;
}
.profile-org-other .profile-officials-grid + .profile-officials-grid{
  margin-top:12px;
}

@media(max-width:900px){
  .profile-org-section{padding:17px}
  .profile-field-members{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:600px){
  .profile-org-section{
    margin-top:16px;
    padding:14px;
    border-radius:15px;
  }
  .profile-org-section-head{gap:10px;margin-bottom:13px}
  .profile-org-index{
    width:30px;height:30px;flex-basis:30px;border-radius:9px;
  }
  .profile-org-section-head h3{font-size:17px}
  .profile-chairman-row{max-width:none}
  .profile-chairman-row .profile-official-photo{
    width:54px;height:54px;flex-basis:54px;
  }
  .profile-field-group{padding:12px}
  .profile-field-members{grid-template-columns:1fr}
  .profile-field-title{
    align-items:flex-start;
    flex-wrap:wrap;
  }
  .profile-field-title h4{
    flex:1 1 calc(100% - 24px);
  }
  .profile-field-count{
    margin-left:17px;
  }
}


/* =========================================================
   v2.5.3 — Member gate
   ========================================================= */
.rt003-member-gate{
  max-width:780px;
  margin:26px auto;
  padding:24px;
  border:1px solid #d8e5ee;
  border-radius:20px;
  background:linear-gradient(135deg,#f8fcff,#f7fffb);
  display:grid;
  grid-template-columns:64px minmax(0,1fr);
  gap:18px;
  box-shadow:0 10px 30px rgba(18,53,82,.05);
}
.rt003-member-gate-icon{
  width:58px;height:58px;
  display:grid;place-items:center;
  border-radius:17px;
  background:#eaf6f2;
  font-size:27px;
}
.rt003-member-gate-kicker{
  display:block;
  margin-bottom:5px;
  color:#087e69;
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
}
.rt003-member-gate h2{
  margin:0 0 7px;
  color:#0d2f51;
  font-size:24px;
}
.rt003-member-gate p{
  margin:0 0 9px;
  color:#5f7488;
  line-height:1.6;
}
.rt003-member-gate-note{
  padding:11px 12px;
  border-radius:11px;
  background:#fff;
  border:1px solid #e0e9ef;
  font-size:12px;
}
.rt003-member-gate-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:15px;
}
.rt003-member-gate-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:43px;
  padding:10px 15px;
  border-radius:11px;
  text-decoration:none!important;
  font-weight:900;
  font-size:13px;
}
.rt003-member-gate-btn.primary{
  background:#087e69;
  color:#fff!important;
}
.rt003-member-gate-btn.secondary{
  background:#fff;
  color:#0d5f94!important;
  border:1px solid #cbdde9;
}
.rt003-member-inline-note{
  max-width:1180px;
  margin:22px auto;
  padding:12px 14px;
  border:1px solid #d8e5ee;
  border-left:4px solid #087e69;
  border-radius:10px;
  background:#f8fbfd;
  color:#526a80;
  font-size:12px;
  line-height:1.6;
}
.rt003-member-inline-note a{
  color:#087e69;
  font-weight:900;
}
@media(max-width:600px){
  .rt003-member-gate{
    grid-template-columns:1fr;
    margin:16px 0;
    padding:17px;
    border-radius:16px;
  }
  .rt003-member-gate-icon{width:50px;height:50px}
  .rt003-member-gate h2{font-size:21px}
  .rt003-member-gate-actions{display:grid;grid-template-columns:1fr 1fr}
}


/* v2.5.5 Lite — WhatsApp Share */
.rt003-share-box{margin:22px 0 6px;padding:14px 16px;border:1px solid #d8e5ee;border-radius:14px;background:#f8fbfd;display:flex;align-items:center;justify-content:space-between;gap:14px}
.rt003-share-copy strong{display:block;color:#0d2f51;font-size:13px}
.rt003-share-copy span{display:block;margin-top:3px;color:#6b7f92;font-size:11px;line-height:1.45}
.rt003-wa-share{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 14px;border-radius:11px;background:#25D366;color:#fff!important;text-decoration:none!important;font-weight:900;font-size:12px}
@media(max-width:600px){.rt003-share-box{align-items:flex-start;flex-direction:column}.rt003-wa-share{width:100%}}
