.org-structure {
  margin-top: 8px;
}

.org-group {
  margin-top: 32px;
}

.org-group:first-child {
  margin-top: 0;
}

.org-group__label {
  font-size: 18px;
  font-weight: 700;
  color: #E91A22;
  margin: 0 0 16px;
  font-family: 'Lato', sans-serif;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: stretch;
}

.org-grid--pimpinan {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .org-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .org-grid--pimpinan {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 992px) {
  .org-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .org-grid--pimpinan {
    grid-template-columns: repeat(3, 1fr);
  }
}

.org-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  background: #fff;
  border: 1px solid #E7E5E4;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  text-align: left;
  font: inherit;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.org-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background-color: #F7EDED;
  overflow: hidden;
}

.org-card__photo::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70%;
  height: 70%;
  transform: translate(-50%, -50%);
  background-image: url("../../images/logo-brand-black.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.12;
  pointer-events: none;
}

.org-card__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  /* filter: grayscale(100%); */
}

.org-card__footer {
  padding: 14px;
  border-top: 1px solid #E7E5E4;
}

.org-card__name {
  font-size: 18px;
  font-weight: 700;
  color: #1E1E1E;
  margin: 0 0 2px;
  font-family: 'Lato', sans-serif;
}

.org-card__role {
  font-size: 18px;
  color: #6E6E6E;
  margin: 0;
  font-weight: 400;
  overflow-wrap: break-word;
  font-family: 'Lato', sans-serif;
}

.org-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  padding: 24px 16px;
  overflow-y: auto;
}

.org-modal.is-open {
  display: flex;
}

.org-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.org-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 420px;
  margin: auto;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.org-modal__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.org-modal__body {
  padding: 16px;
}

.org-modal__name {
  font-size: 20px;
  font-weight: 700;
  color: #1E1E1E;
  font-family: 'Lato', sans-serif;
  margin: 0 0 2px;
}

.org-modal__role {
  font-size: 16px;
  color: #6E6E6E;
  margin: 0 0 12px;
  font-weight: 400;
  font-family: 'Lato', sans-serif;
}

.org-modal__desc {
  font-size: 16px;
  font-weight: 400;
  color: #1E1E1E;
  line-height: 1.5;
  margin: 0;
  font-family: 'Lato', sans-serif;
  white-space: pre-line;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 8px;
}

.org-modal__desc p {
  margin: 0 0 12px;
}

.org-modal__desc p:last-child {
  margin-bottom: 0;
}

.org-card__desc-source {
  display: none;
}