/* =========================
   TAJUK
========================= */
.ppdks-dual-chart .org-chart-title{
  text-align: center;
  margin: 0 0 20px;
}

.ppdks-dual-chart .org-kicker{
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf2fb;
  color: #0e4e92;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
}

.ppdks-dual-chart .org-chart-title h1{
  margin: 0;
  font-size: 30px;
  line-height: 1.12;
  font-weight: 800;
  color: #163a63;
}

.ppdks-dual-chart .org-subtitle{
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  color: #5b6777;
}

.ppdks-dual-chart .org-title-line{
  width: 64px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: linear-gradient(to right, #0e4e92, #69a7e8);
}

/* =========================
   CARD BOS / TIMBALAN
========================= */
.ppdks-dual-chart .org-card{
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(15,35,95,.08);
  padding: 12px 14px 10px;
  text-align: center;
  border: 1px solid rgba(14,78,146,.08);
  width: 100%;
}

.ppdks-dual-chart .org-top,
.ppdks-dual-chart .org-middle{
  display: flex;
  justify-content: center;
}

.ppdks-dual-chart .org-card-boss,
.ppdks-dual-chart .org-card-middle{
  max-width: 320px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ppdks-dual-chart .org-photo{
  margin-bottom: 8px;
}

.ppdks-dual-chart .org-photo img{
  width: 82px;
  height: 82px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  background: #f3f6fb;
  border: 4px solid #e8eef8;
  box-shadow: 0 5px 14px rgba(0,0,0,.08);
}

.ppdks-dual-chart .org-info{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.ppdks-dual-chart h3{
  margin: 0;
  line-height: 1.2;
  font-weight: 700;
  color: #1e293b;
  width: 100%;
  font-size: 14px;
}

.ppdks-dual-chart .org-position{
  font-size: 11px;
  font-weight: 700;
  color: #0e4e92;
  text-transform: uppercase;
  line-height: 1.18;
  width: 100%;
}

.ppdks-dual-chart .org-grade{
  font-size: 11px;
  font-weight: 600;
  color: #6a7381;
  line-height: 1.18;
  white-space: nowrap;
}

.ppdks-dual-chart .org-label{
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eaf2fb;
  color: #0e4e92;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2px;
  margin-bottom: 4px;
  text-transform: uppercase;
}

/* =========================
   LINE BOS > TIMBALAN
========================= */
.ppdks-dual-chart .org-line-vertical{
  width: 4px;
  border-radius: 999px;
  background: #c8d8ee;
  margin-left: auto;
  margin-right: auto;
}

.ppdks-dual-chart .org-line-main{
  height: 20px;
  margin: 0 auto;
}

/* =========================
   DUA KUMPULAN UTAMA
========================= */
.ppdks-dual-chart .org-section-row{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  margin-top: 6px;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.ppdks-dual-chart .org-section-row::before{
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 12px;
  border-radius: 999px;
  background: #c8d8ee;
}

.ppdks-dual-chart .org-section-row::after{
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 4px;
  border-radius: 999px;
  background: #c8d8ee;
}

.ppdks-dual-chart .org-section{
  position: relative;
}

.ppdks-dual-chart .org-section-line{
  width: 4px;
  height: 14px;
  margin: -1px auto 0;
  border-radius: 999px;
  background: #c8d8ee;
  position: relative;
  z-index: 2;
}

.ppdks-dual-chart .org-section-box{
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(14,78,146,.08);
  box-shadow: 0 8px 22px rgba(15,35,95,.08);
  padding: 14px;
}

.ppdks-dual-chart .org-section-title{
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  color: #163a63;
  margin-bottom: 12px;
}

/* =========================
   STAFF
========================= */
.ppdks-dual-chart .org-staff-rows{
  display: grid;
  gap: 12px;
}

.ppdks-dual-chart .org-staff-row{
  display: grid;
  gap: 12px;
}

.ppdks-dual-chart .org-staff-row.row-4{
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ppdks-dual-chart .org-staff-row.row-3{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ppdks-dual-chart .org-staff-row.row-2-center{
  grid-template-columns: repeat(2, minmax(0, 230px));
  justify-content: center;
}

.ppdks-dual-chart .org-staff-card{
  background: #f8fbff;
  border: 1px solid #e3edf9;
  border-radius: 16px;
  padding: 10px 10px 9px;
  text-align: center;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.ppdks-dual-chart .org-staff-card img{
  width: 66px;
  height: 66px;
  object-fit: cover;
  display: block;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #f3f6fb;
  border: 4px solid #e8eef8;
  box-shadow: 0 5px 14px rgba(0,0,0,.08);
}

.ppdks-dual-chart .org-staff-card h4{
  margin: 0 0 4px;
  font-size: 12px;
  line-height: 1.24;
  font-weight: 700;
  color: #1e293b;
  min-height: 2.7em;
}

.ppdks-dual-chart .org-staff-card .staff-role{
  font-size: 10px;
  line-height: 1.18;
  font-weight: 700;
  color: #0e4e92;
  text-transform: uppercase;
  min-height: 2.5em;
}

.ppdks-dual-chart .org-staff-card .staff-grade{
  margin-top: 4px;
  font-size: 10px;
  line-height: 1.16;
  font-weight: 600;
  color: #6a7381;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1199px){
  .ppdks-dual-chart .org-staff-row.row-4{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ppdks-dual-chart .org-staff-row.row-3{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ppdks-dual-chart .org-staff-row.row-2-center{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }
}

@media (max-width: 767px){
  .ppdks-dual-chart{
    padding: 12px 0 20px;
  }

  .ppdks-dual-chart .org-chart-title{
    margin-bottom: 18px;
  }

  .ppdks-dual-chart .org-chart-title h1{
    font-size: 24px;
  }

  .ppdks-dual-chart .org-subtitle{
    font-size: 14px;
  }

  .ppdks-dual-chart .org-card-boss,
  .ppdks-dual-chart .org-card-middle{
    width: 100%;
    max-width: 100%;
  }

  .ppdks-dual-chart .org-section-row{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ppdks-dual-chart .org-section-row::before,
  .ppdks-dual-chart .org-section-row::after,
  .ppdks-dual-chart .org-section-line{
    display: none;
  }

  .ppdks-dual-chart .org-photo img{
    width: 78px;
    height: 78px;
  }

  .ppdks-dual-chart h3{
    font-size: 13px;
  }

  .ppdks-dual-chart .org-position,
  .ppdks-dual-chart .org-grade,
  .ppdks-dual-chart .org-staff-card .staff-role,
  .ppdks-dual-chart .org-staff-card .staff-grade{
    font-size: 10px;
  }

  .ppdks-dual-chart .org-staff-row.row-4,
  .ppdks-dual-chart .org-staff-row.row-3,
  .ppdks-dual-chart .org-staff-row.row-2-center{
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PPDKS FINAL UI (14px PROFESSIONAL VERSION)
   ========================================================= */

/* ===== ROW FIX ===== */
.sppb-row > div[class*="sppb-col"] {
  display: flex;
}

.sppb-column,
.sppb-column-addons,
.sppb-column-addons-wrap,
.sppb-addon-wrapper {
  width: 100%;
  height: 100%;
}

/* =========================================================
   BASE CARD
   ========================================================= */
.ppd-info-card,
.ppd-pengumuman-module {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 24px 28px;
  min-height: auto;
  height: auto;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(20, 35, 90, 0.04);
}

/* background subtle */
.ppd-info-card::before,
.ppd-pengumuman-module::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(16, 43, 120, 0.015) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(16, 43, 120, 0.015) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(16, 43, 120, 0.015) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(16, 43, 120, 0.015) 75%);
  background-size: 30px 30px;
  opacity: 0.18;
  pointer-events: none;
}

/* overlay */
.ppd-info-card::after,
.ppd-pengumuman-module::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.9),
    rgba(255,255,255,0.97)
  );
}

/* content layer */
.ppd-info-content,
.ppd-pengumuman-module > * {
  position: relative;
  z-index: 2;
}

/* =========================================================
   TITLE
   ========================================================= */
.ppd-section-title,
.ppd-pengumuman-module h3,
.ppd-pengumuman-module .module-title,
.ppd-pengumuman-module .sppb-addon-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  color: #1f3fbf !important;
  line-height: 1.4;
}

/* =========================================================
   TEXT ITEM (14px)
   ========================================================= */
.ppd-link-item,
.ppd-pengumuman-module a {
  font-size: 14px !important;
  line-height: 1.55;
  gap: 10px;
  padding: 3px 0;
  font-weight: 500;
}

/* =========================================================
   ICON
   ========================================================= */
.ppd-link-item i {
  font-size: 14px;
  width: 18px;
  min-width: 18px;
}

/* =========================================================
   SPACING
   ========================================================= */
.ppd-section {
  margin-bottom: 20px;
}

.ppd-divider {
  margin: 8px 0 6px;
}

/* =========================================================
   PENGUMUMAN LIST
   ========================================================= */
.ppd-pengumuman-module ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ppd-pengumuman-module li {
  margin-bottom: 12px !important;
  padding-bottom: 12px !important;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.ppd-pengumuman-module li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* =========================================================
   HOVER
   ========================================================= */
.ppd-link-item:hover,
.ppd-pengumuman-module a:hover {
  transform: translateX(3px);
  color: #2b63ea !important;
}

/* =========================================================
   CLEAN JOOMLA MODULE
   ========================================================= */
.ppd-pengumuman-module .mod-articles,
.ppd-pengumuman-module ul {
  margin: 0;
  padding: 0;
}

/* buang metadata */
.ppd-pengumuman-module small,
.ppd-pengumuman-module time,
.ppd-pengumuman-module .published {
  display: none !important;
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 768px) {
  .ppd-info-card,
  .ppd-pengumuman-module {
    padding: 20px;
  }

  .ppd-section-title {
    font-size: 15px !important;
  }

  .ppd-link-item,
  .ppd-pengumuman-module a {
    font-size: 13px !important;
  }
}

