
/* =========================================================
   FK UNSULBAR SDM UNIFIED V2
   ========================================================= */
.fksdm2-page-main,
.fksdm2-page-main *{
  box-sizing:border-box;
  font-family:inherit!important;
}

.fksdm2-page-main{
  --fk-teal:#008B8B;
  --fk-green:#087A70;
  --fk-navy:#0B2545;
  --fk-gold:#D4AF37;
  --fk-text:#29414C;
  --fk-muted:#687D86;
  --fk-line:#D8E9E4;
  margin:0!important;
  padding:0!important;
  background:linear-gradient(180deg,#fff 0%,#f8fcfb 42%,#fff 100%);
}

/* Standar proyek: 2 baris kosong setelah navbar */
.fksdm2-static-top-gap{
  display:block;
  width:100%;
  height:116px;
  min-height:116px;
  pointer-events:none;
}

.fksdm2-unified{
  width:min(1180px,calc(100% - 42px));
  margin:0 auto;
  padding:0 0 68px;
}

.fksdm2-intro{
  display:grid;
  grid-template-columns:7px minmax(0,1fr);
  gap:18px;
  max-width:930px;
  margin-bottom:28px;
}

.fksdm2-intro-mark{
  width:7px;
  border-radius:999px;
  background:linear-gradient(180deg,var(--fk-teal),var(--fk-gold));
}

.fksdm2-eyebrow{
  display:block;
  margin-bottom:7px;
  color:var(--fk-teal);
  font-size:11px;
  font-weight:800;
  letter-spacing:.13em;
}

.fksdm2-intro h1{
  margin:0 0 10px!important;
  color:var(--fk-navy)!important;
  font-size:clamp(36px,4vw,50px)!important;
  line-height:1.05!important;
  font-weight:800!important;
  letter-spacing:-.03em!important;
  text-transform:none!important;
}

.fksdm2-intro p{
  max-width:870px;
  margin:0!important;
  color:var(--fk-muted)!important;
  font-size:15px!important;
  line-height:1.75!important;
}

/* Tabs */
.fksdm2-tabs{
  display:inline-flex;
  gap:6px;
  padding:6px;
  margin:0 0 18px;
  border:1px solid rgba(0,139,139,.12);
  border-radius:18px;
  background:#F3F9F7;
}

.fksdm2-tab{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:46px;
  padding:0 17px;
  border:0!important;
  border-radius:13px!important;
  background:transparent!important;
  color:#526974!important;
  font-size:13px!important;
  font-weight:800!important;
  cursor:pointer;
  box-shadow:none!important;
  transition:.2s ease;
}

.fksdm2-tab b{
  min-width:25px;
  height:25px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 6px;
  border-radius:999px;
  background:#fff;
  color:var(--fk-green);
  font-size:10px;
  box-shadow:0 2px 8px rgba(11,37,69,.05);
}

.fksdm2-tab.is-active{
  background:linear-gradient(135deg,#078C82,#08756D)!important;
  color:#fff!important;
  box-shadow:0 8px 20px rgba(0,139,139,.14)!important;
}

.fksdm2-tab.is-active b{
  background:rgba(255,255,255,.16);
  color:#fff;
}

/* Toolbar */
.fksdm2-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:20px;
  padding:13px 16px;
  border:1px solid rgba(0,139,139,.11);
  border-radius:18px;
  background:linear-gradient(110deg,#fff,#f5faf8);
  box-shadow:0 7px 20px rgba(11,37,69,.03);
}

.fksdm2-current-count{
  display:flex;
  align-items:baseline;
  gap:8px;
}

.fksdm2-current-count strong{
  color:var(--fk-teal);
  font-size:25px;
  line-height:1;
}

.fksdm2-current-count span{
  color:#607680;
  font-size:12px;
  font-weight:700;
}

.fksdm2-search-wrap{
  position:relative;
  width:min(370px,100%);
}

.fksdm2-search-wrap .dashicons{
  position:absolute;
  left:13px;
  top:50%;
  transform:translateY(-50%);
  color:#738982;
  z-index:2;
}

.fksdm2-search{
  width:100%;
  height:42px;
  padding:0 15px 0 41px!important;
  border:1px solid #d9e7e3!important;
  border-radius:999px!important;
  background:#fff!important;
  color:var(--fk-text)!important;
  font-size:12px!important;
  outline:none;
  box-shadow:none!important;
}

.fksdm2-search:focus{
  border-color:rgba(0,139,139,.42)!important;
  box-shadow:0 0 0 3px rgba(0,139,139,.07)!important;
}

/* Card grid: compact */
.fksdm2-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.fksdm2-card{
  display:grid;
  grid-template-columns:108px minmax(0,1fr);
  gap:16px;
  min-height:176px;
  padding:14px;
  border:1px solid rgba(8,122,112,.12);
  border-radius:21px;
  background:linear-gradient(120deg,#fff 0%,#fbfefd 58%,#f0f8f5 100%);
  box-shadow:0 8px 22px rgba(11,37,69,.04);
  overflow:hidden;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}

.fksdm2-card:hover{
  transform:translateY(-2px);
  border-color:rgba(0,139,139,.22);
  box-shadow:0 13px 28px rgba(11,37,69,.065);
}

/* FOTO PAS 3:4, jauh lebih kecil */
.fksdm2-photo{
  width:108px!important;
  height:144px!important;
  min-width:108px!important;
  min-height:144px!important;
  max-width:108px!important;
  max-height:144px!important;
  aspect-ratio:3/4!important;
  overflow:hidden;
  border:1px solid rgba(0,139,139,.13);
  border-radius:15px;
  background:linear-gradient(145deg,#eaf7f3,#f7fbfa);
  align-self:start;
}

.fksdm2-photo img{
  width:100%!important;
  height:100%!important;
  min-width:100%!important;
  min-height:100%!important;
  max-width:none!important;
  max-height:none!important;
  display:block!important;
  object-fit:cover!important;
  object-position:center 16%!important;
  padding:0!important;
  margin:0!important;
  border-radius:0!important;
}

.fksdm2-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 32% 22%,rgba(212,175,55,.12),transparent 24%),
    linear-gradient(145deg,#e7f5f1,#f8fbfa);
}

.fksdm2-placeholder .dashicons{
  width:auto;
  height:auto;
  color:rgba(0,121,111,.22);
  font-size:42px;
}

/* Body */
.fksdm2-body{
  position:relative;
  min-width:0;
  padding:2px 2px 0;
}

.fksdm2-topline{
  margin-bottom:7px;
}

.fksdm2-badge{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 9px;
  border-radius:999px;
  background:#E8F6F3;
  color:#08786F;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.09em;
}

.fksdm2-body h2{
  margin:0 0 5px!important;
  color:var(--fk-navy)!important;
  font-size:18px!important;
  line-height:1.28!important;
  font-weight:800!important;
  letter-spacing:-.012em!important;
  text-transform:none!important;
}

.fksdm2-role{
  display:none!important;
}

.fksdm2-meta{
  display:grid;
  grid-template-columns:88px minmax(0,1fr);
  gap:10px;
  align-items:start;
  margin-top:8px;
}

.fksdm2-meta span{
  color:#748781;
  font-size:13px;
  line-height:1.45;
  font-weight:700;
  letter-spacing:0;
  text-transform:none;
}

.fksdm2-meta strong{
  min-width:0;
  color:#3F5661;
  font-size:13px;
  line-height:1.5;
  font-weight:500;
}

.fksdm2-links{
  display:flex;
  gap:6px;
  flex-wrap:wrap;
  margin-top:10px;
}

.fksdm2-links a{
  display:inline-flex;
  align-items:center;
  gap:4px;
  padding:6px 8px;
  border:1px solid #dce9e4;
  border-radius:999px;
  background:#fff;
  color:var(--fk-green)!important;
  font-size:13px;
  font-weight:800;
  text-decoration:none!important;
}

.fksdm2-links .dashicons{
  width:auto;
  height:auto;
  font-size:12px;
}

.fksdm2-empty,
.fksdm2-empty-search{
  padding:34px 20px;
  border:1px dashed #cddfda;
  border-radius:20px;
  background:#f8fcfb;
  color:var(--fk-muted);
  text-align:center;
}

.fksdm2-empty .dashicons{
  width:auto;
  height:auto;
  margin-bottom:8px;
  color:rgba(0,121,111,.24);
  font-size:44px;
}

.fksdm2-empty h2{
  margin:0 0 5px!important;
  color:var(--fk-navy)!important;
  font-size:21px!important;
  text-transform:none!important;
}

.fksdm2-empty p{
  margin:0!important;
  font-size:13px!important;
}

.fksdm2-panel[hidden]{
  display:none!important;
}

@media(max-width:900px){
  .fksdm2-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:680px){
  .fksdm2-static-top-gap{
    height:92px;
    min-height:92px;
  }

  .fksdm2-unified{
    width:calc(100% - 24px);
    padding-bottom:45px;
  }

  .fksdm2-intro{
    margin-bottom:22px;
  }

  .fksdm2-intro h1{
    font-size:33px!important;
  }

  .fksdm2-intro p{
    font-size:14px!important;
  }

  .fksdm2-tabs{
    display:flex;
    width:100%;
  }

  .fksdm2-tab{
    flex:1 1 0;
    justify-content:center;
    padding:0 9px;
    font-size:11px!important;
  }

  .fksdm2-toolbar{
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }

  .fksdm2-search-wrap{
    width:100%;
  }

  .fksdm2-card{
    grid-template-columns:82px minmax(0,1fr);
    gap:12px;
    min-height:142px;
    padding:11px;
    border-radius:18px;
  }

  .fksdm2-photo{
    width:82px!important;
    height:109px!important;
    min-width:82px!important;
    min-height:109px!important;
    max-width:82px!important;
    max-height:109px!important;
    border-radius:12px;
  }

  .fksdm2-body h2{
    font-size:16px!important;
  }

  .fksdm2-role{
    display:none!important;
  }

  .fksdm2-meta{
    grid-template-columns:76px minmax(0,1fr);
    gap:8px;
    margin-top:6px;
  }

  .fksdm2-meta span{
    font-size:12px;
    line-height:1.4;
  }

  .fksdm2-meta strong{
    font-size:12px;
    line-height:1.45;
  }

  .fksdm2-identity{
    display:none;
  }
}


/* V2.2 - metadata lebih ringkas
   Bidang/Unit: desktop 13px, mobile 12px. */
