/* FPD-DPR Anggota v1.2.0: scoped public directory/profile styles */
.fpdp-main{background:#f7f9fc;color:#142b4d;min-height:58vh;padding:28px 0 72px}.fpdp-main *, .fpdp-main *::before, .fpdp-main *::after{box-sizing:border-box}.fpdp-directory,.fpdp-profile-wrap{width:min(1180px,calc(100% - 40px));margin:auto}.fpdp-page-intro{padding:33px 36px 31px;border-radius:18px;background:linear-gradient(115deg,#103463,#20569a);color:#fff;margin:0 0 22px;position:relative;overflow:hidden}.fpdp-page-intro::after{content:"";position:absolute;right:-40px;top:-90px;width:280px;height:280px;border:2px solid rgba(255,255,255,.14);border-radius:50%;pointer-events:none}.fpdp-eyebrow{display:block;letter-spacing:.09em;font-weight:800;font-size:11px;color:#dfe9fd;text-transform:uppercase}.fpdp-page-intro h1{color:#fff;font-size:clamp(29px,4vw,46px);line-height:1.15;margin:12px 0 10px}.fpdp-page-intro p{margin:0;max-width:760px;color:#e6effd;line-height:1.65}.fpdp-filters{display:grid;grid-template-columns:minmax(170px,1.2fr) repeat(3,minmax(140px,1fr));gap:14px;padding:23px;background:#fff;border:1px solid #dde5f1;border-radius:17px;box-shadow:0 10px 30px rgba(13,47,95,.045);margin:0 0 23px}.fpdp-filter-field{min-width:0}.fpdp-filter-field label{display:block;margin:0 0 9px;color:#203654;font-size:13px;font-weight:750}.fpdp-filter-field input,.fpdp-filter-field select{display:block;width:100%;max-width:none;min-height:46px;margin:0;border:1px solid #cfdbea;border-radius:10px;padding:9px 13px;background:#fff;color:#173456;font-size:14px;line-height:1.3;box-shadow:none}.fpdp-filter-field input:focus-visible,.fpdp-filter-field select:focus-visible{outline:3px solid #9ec8ff;outline-offset:1px;border-color:#206fc6}.fpdp-filter-actions{grid-column:1/-1;display:flex;align-items:center;gap:12px;flex-wrap:wrap}.fpdp-submit,.fpdp-filter-actions .fpdp-submit{border:0;background:#195498;color:#fff!important;border-radius:10px;padding:12px 23px;min-height:44px;font-size:14px;font-weight:800;cursor:pointer}.fpdp-submit:hover{background:#103c77}.fpdp-reset{display:inline-flex;padding:11px 16px;border-radius:10px;color:#174d86!important;font-size:14px;font-weight:700;text-decoration:none!important}.fpdp-reset:hover{background:#edf4fc}.fpdp-list-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 0 17px;font-size:14px;color:#64758f}.fpdp-list-head strong{font-size:16px;color:#142e54}.fpdp-member-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.fpdp-member-card{min-width:0;border-radius:17px;overflow:hidden;background:#fff;border:1px solid #e1e8f2;box-shadow:0 8px 22px rgba(20,47,83,.065);display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}.fpdp-member-card:hover{transform:translateY(-3px);box-shadow:0 14px 27px rgba(20,47,83,.11)}.fpdp-member-image{display:block;width:100%;aspect-ratio:4/4.1;background:#dce9f7;overflow:hidden}.fpdp-member-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 20%}.fpdp-no-photo{height:100%;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;color:#1d518c;background:linear-gradient(155deg,#eaf2fc,#cfdef1);text-align:center;padding:24px}.fpdp-no-photo span{font-size:13px;letter-spacing:.1em;font-weight:850}.fpdp-no-photo strong{font-size:19px}.fpdp-card-body{padding:19px 18px;display:flex;flex-direction:column;flex:1;gap:7px}.fpdp-card-body h2{font-size:18px!important;line-height:1.35;margin:0 0 2px;color:#142d50;font-weight:800}.fpdp-card-body h2 a{color:inherit!important;text-decoration:none!important}.fpdp-card-role{font-size:12px!important;color:#718198!important;margin:0 0 5px!important}.fpdp-meta-line{display:flex;align-items:start;gap:7px;margin:0!important;font-size:12px!important;line-height:1.55;color:#263d5a}.fpdp-meta-line b{flex:0 0 47px;color:#6b7b93;font-size:11px}.fpdp-meta-line span{min-width:0;overflow-wrap:anywhere}.fpdp-card-cta{margin-top:auto;padding-top:15px;display:inline-flex;align-items:center;justify-content:space-between;color:#174f91!important;text-decoration:none!important;font-size:13px;font-weight:800}.fpdp-card-cta span{font-size:20px;color:#d93449}.fpdp-empty{padding:55px 24px;text-align:center;border:1px dashed #bfd2e7;border-radius:16px;background:white}.fpdp-empty strong{font-size:20px}.fpdp-empty p{color:#697d98}.fpdp-empty a{color:#184f8f}.fpdp-pagination ul{display:flex;justify-content:center;align-items:center;gap:7px;list-style:none;margin:32px 0 0;padding:0;flex-wrap:wrap}.fpdp-pagination a,.fpdp-pagination span{min-width:40px;min-height:40px;display:flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid #d7e2f0;padding:6px 12px;background:#fff;text-decoration:none;color:#194773}.fpdp-pagination .current{background:#164a8a;color:#fff;border-color:#164a8a}
/* Detail page */
.fpdp-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;font-size:13px;align-items:center;color:#6c7b90;margin:5px 0 20px}.fpdp-breadcrumb a{color:#1c5797;text-decoration:none}.fpdp-profile-hero{display:grid;grid-template-columns:minmax(240px,330px) 1fr;background:linear-gradient(125deg,#153865,#205aa6);border-radius:20px;overflow:hidden;min-height:330px;color:#fff;box-shadow:0 13px 30px rgba(19,55,105,.13)}.fpdp-profile-photo{min-height:330px;background:#c9dced}.fpdp-profile-photo img{display:block;width:100%;height:100%;max-height:460px;object-fit:cover;object-position:center top}.fpdp-profile-heading{padding:38px 43px;align-self:center}.fpdp-profile-heading h1{margin:12px 0 10px;font-size:clamp(26px,3vw,40px);color:#fff;line-height:1.2}.fpdp-profile-role{font-size:16px;color:#e0eaff;margin:0 0 20px}.fpdp-profile-chips{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0}.fpdp-profile-chips span{background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.26);border-radius:99px;padding:8px 12px;color:#fff;font-size:13px;font-weight:700}.fpdp-profile-akd{line-height:1.65;font-size:13px;margin-top:20px;color:#f4f7fe}.fpdp-profile-akd b{display:block;margin-bottom:3px}.fpdp-profile-nav{display:flex;overflow-x:auto;gap:8px;margin:22px 0 24px;padding-bottom:4px;scrollbar-width:thin}.fpdp-profile-nav a{white-space:nowrap;background:#fff;color:#214d84;border:1px solid #dce5f2;border-radius:10px;padding:11px 17px;text-decoration:none;font-size:13px;font-weight:800}.fpdp-profile-nav a:hover{background:#1d5496;color:white}.fpdp-profile-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:24px}.fpdp-profile-sections{display:grid;gap:20px;min-width:0}.fpdp-panel{background:white;border:1px solid #e0e7f1;box-shadow:0 5px 20px rgba(16,43,79,.035);border-radius:17px;padding:27px 30px;scroll-margin-top:80px}.fpdp-section-heading{display:flex;align-items:center;gap:11px;margin-bottom:23px}.fpdp-section-heading>span{width:4px;align-self:stretch;min-height:28px;border-radius:99px;background:#e1243e}.fpdp-section-heading h2{font-size:23px;color:#153c6d;line-height:1.3;margin:0}.fpdp-fact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:0}.fpdp-fact-grid>div{min-width:0;background:#f5f8fc;border:1px solid #e5ebf5;border-radius:11px;padding:14px 16px}.fpdp-fact-grid dt{font-size:12px;font-weight:750;color:#76869b;margin-bottom:7px}.fpdp-fact-grid dd{font-size:15px;color:#18375d;font-weight:750;margin:0;overflow-wrap:anywhere;line-height:1.5}.fpdp-history{list-style:none;margin:0;padding:0}.fpdp-history li{position:relative;padding:0 0 19px 27px;border-left:2px solid #dbe7f7;margin-left:7px;line-height:1.6;color:#203a5b;overflow-wrap:anywhere}.fpdp-history li:last-child{padding-bottom:0;border-left-color:transparent}.fpdp-history li::before{content:"";position:absolute;left:-6px;top:6px;width:10px;height:10px;border-radius:50%;background:#1f5a9b;border:2px solid white;box-shadow:0 0 0 1px #c9ddf3}.fpdp-freeform{border-top:1px solid #e6ecf4;margin-top:18px;padding-top:18px}.fpdp-profile-side{position:sticky;top:20px}.fpdp-side-card{background:#fff;border:1px solid #e0e7f1;border-radius:16px;padding:23px}.fpdp-side-card .fpdp-eyebrow{color:#46749c}.fpdp-side-card h2{color:#143763;font-size:19px;margin:12px 0}.fpdp-side-card p{color:#718199;font-size:14px;line-height:1.65}.fpdp-side-card a{display:block;text-align:center;background:#165394;color:#fff!important;border-radius:9px;text-decoration:none!important;font-weight:700;font-size:13px;padding:12px 10px}
@media(max-width:1050px){.fpdp-member-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.fpdp-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.fpdp-directory,.fpdp-profile-wrap{width:min(100% - 26px,1180px)}.fpdp-main{padding-top:15px}.fpdp-page-intro{padding:26px 23px}.fpdp-member-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fpdp-member-card .fpdp-card-body{padding:13px 12px}.fpdp-card-body h2{font-size:15px!important}.fpdp-card-role{font-size:11px!important}.fpdp-meta-line{font-size:11px!important}.fpdp-meta-line b{flex-basis:41px}.fpdp-profile-hero{grid-template-columns:1fr}.fpdp-profile-photo{width:100%;height:275px;min-height:0}.fpdp-profile-heading{padding:25px 22px}.fpdp-profile-layout{grid-template-columns:1fr}.fpdp-profile-side{position:static}.fpdp-fact-grid{grid-template-columns:1fr}.fpdp-panel{padding:23px 19px}}@media(max-width:490px){.fpdp-filters{grid-template-columns:1fr;padding:17px}.fpdp-filter-actions{justify-content:space-between}.fpdp-member-grid{grid-template-columns:1fr}.fpdp-member-image{aspect-ratio:5/3}.fpdp-member-card{display:grid;grid-template-columns:37% minmax(0,1fr)}.fpdp-member-card .fpdp-member-image{height:100%;aspect-ratio:auto}.fpdp-card-cta{padding-top:9px}.fpdp-list-head{align-items:start;flex-direction:column;gap:4px}.fpdp-profile-photo{height:245px}.fpdp-profile-heading h1{font-size:26px}.fpdp-section-heading h2{font-size:21px}}
@media(prefers-reduced-motion:reduce){.fpdp-member-card{transition:none}}

/* v1.2.2 — single-member hero only: balanced text left, centered rounded portrait right.
   Keep all directory, biodata, import, archive and navigation styling unchanged. */
.fpdp-main.fpdp-profile-main .fpdp-profile-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr) !important;
  align-items: center !important;
  column-gap: clamp(20px, 3vw, 46px) !important;
  row-gap: 16px !important;
  min-height: 0 !important;
  padding: clamp(24px, 3vw, 42px) clamp(24px, 3.4vw, 48px) !important;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(115deg, #12345e, #2159a1);
}
.fpdp-main.fpdp-profile-main .fpdp-profile-heading {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  min-width: 0;
  padding: 0 !important;
  overflow-wrap: anywhere;
}
.fpdp-main.fpdp-profile-main .fpdp-profile-heading h1 {
  max-width: 100%;
  margin: 12px 0 14px;
  color: #fff;
  font-size: clamp(25px, 3vw, 40px) !important;
  line-height: 1.22;
  overflow-wrap: anywhere;
}
.fpdp-main.fpdp-profile-main .fpdp-profile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  min-width: 0;
}
.fpdp-main.fpdp-profile-main .fpdp-profile-chips span {
  display: inline-flex;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.38;
  font-size: clamp(11px, 1.22vw, 13px);
}
.fpdp-main.fpdp-profile-main .fpdp-profile-photo {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: center;
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: min(100%, 288px) !important;
  max-width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
  min-width: 0 !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 20px !important;
  background: #e5edf6 !important;
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 12px 30px rgba(4, 20, 43, .22);
}
.fpdp-main.fpdp-profile-main .fpdp-profile-photo img.fpdp-profile-portrait {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
  border: 0 !important;
  border-radius: inherit !important;
  box-shadow: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  transform: none !important;
}
.fpdp-main.fpdp-profile-main .fpdp-profile-photo .fpdp-no-photo {
  width: 100%;
  height: 100%;
  min-height: 0;
  border-radius: inherit;
  color: #174574;
  background: #e5edf6;
}
/* iPad portrait and compact landscape still use two columns. */
@media (min-width: 641px) and (max-width: 980px) {
  .fpdp-main.fpdp-profile-main .fpdp-profile-hero {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr) !important;
    column-gap: clamp(12px, 2vw, 22px) !important;
    padding: 24px !important;
  }
  .fpdp-main.fpdp-profile-main .fpdp-profile-heading h1 {
    font-size: clamp(21px, 2.8vw, 32px) !important;
  }
  .fpdp-main.fpdp-profile-main .fpdp-profile-photo {
    width: min(100%, 258px) !important;
    border-radius: 18px !important;
  }
}
/* Phone: content first, centered portrait second. */
@media (max-width: 640px) {
  .fpdp-main.fpdp-profile-main .fpdp-profile-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 22px !important;
    padding: 25px 20px 28px !important;
  }
  .fpdp-main.fpdp-profile-main .fpdp-profile-heading {
    grid-column: 1;
    grid-row: 1;
  }
  .fpdp-main.fpdp-profile-main .fpdp-profile-heading h1 {
    font-size: clamp(23px, 6vw, 32px) !important;
  }
  .fpdp-main.fpdp-profile-main .fpdp-profile-photo {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 265px) !important;
    justify-self: center;
    border-radius: 18px !important;
  }
  .fpdp-main.fpdp-profile-main .fpdp-profile-chips span {
    font-size: 12px;
  }
  .fpdp-main.fpdp-profile-main .fpdp-profile-nav {
    flex-wrap: wrap;
    overflow-x: visible;
  }
  .fpdp-main.fpdp-profile-main .fpdp-profile-nav a {
    white-space: normal;
  }
}
@media (max-width: 400px) {
  .fpdp-main.fpdp-profile-main .fpdp-profile-hero {
    padding: 22px 16px 26px !important;
  }
}

/* v1.2.8 — logo dan kartu biodata, hanya halaman detail anggota. */
.fpdp-profile-main .fpdp-profile-logo { display:block; width:clamp(108px, 13vw, 160px); height:auto; max-width:100%; max-height:82px; object-fit:contain; object-position:left center; margin:0 0 18px; }
.fpdp-profile-main .fpdp-fact-grid { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; gap:14px !important; }
.fpdp-profile-main .fpdp-fact-grid > div { min-width:0; background:#f6f8fc; border:1px solid #e0e8f3; border-radius:13px; padding:19px 18px; box-shadow:0 4px 14px rgba(19,49,88,.04); }
.fpdp-profile-main .fpdp-fact-grid dt { color:#6c7d94; line-height:1.4; }
.fpdp-profile-main .fpdp-fact-grid dd { overflow-wrap:anywhere; }
@media (max-width:1050px) { .fpdp-profile-main .fpdp-fact-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media (max-width:600px) { .fpdp-profile-main .fpdp-profile-logo { width:115px; max-height:65px; margin-bottom:14px; } .fpdp-profile-main .fpdp-fact-grid { grid-template-columns:1fr !important; gap:10px !important; } .fpdp-profile-main .fpdp-fact-grid > div { padding:15px 16px; } }

/* v1.3.1: compact member directory photos while preserving the whole portrait. */
.fpdp-directory .fpdp-member-image { height: 230px; aspect-ratio: auto; background: #f2f6fb; }
.fpdp-directory .fpdp-member-image img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.fpdp-directory .fpdp-card-body { padding: 15px 16px; gap: 6px; }
.fpdp-directory .fpdp-card-cta { padding-top: 10px; }
@media (min-width: 491px) and (max-width: 1050px) {
  .fpdp-directory .fpdp-member-image { height: 200px; }
}
@media (max-width: 490px) {
  .fpdp-directory .fpdp-member-image { height: 100%; min-height: 160px; }
  .fpdp-directory .fpdp-member-card .fpdp-card-body { padding: 12px; }
}
