/* =========================================================
 * Tokoh Detail & Social Share V1
 * ======================================================= */
.figure-list-card{
  overflow:hidden;
  border:1px solid rgba(7,95,59,.08);
  border-radius:22px;
  background:#fff;
  box-shadow:0 12px 34px rgba(3,54,33,.08);
  transition:transform .24s ease,box-shadow .24s ease;
}

.figure-list-card:hover{
  transform:translateY(-5px);
  box-shadow:0 20px 46px rgba(3,54,33,.14);
}

.figure-list-photo{
  position:relative;
  display:block;
  height:330px;
  overflow:hidden;
  background:#eaf0ec;
}

.figure-list-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
  transition:transform .4s ease,filter .4s ease;
}

.figure-list-photo-overlay{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  color:#fff;
  background:rgba(3,54,33,0);
  font-size:2rem;
  opacity:0;
  transition:opacity .25s ease,background .25s ease;
}

.figure-list-card:hover .figure-list-photo img{
  transform:scale(1.04);
}

.figure-list-card:hover .figure-list-photo-overlay{
  opacity:1;
  background:rgba(3,54,33,.38);
}

.figure-list-name{
  position:relative;
  z-index:2;
  color:#17231d;
  text-decoration:none;
}

.figure-list-name:hover{
  color:var(--primary,#075f3b);
}

.figure-list-excerpt{
  line-height:1.7;
}

.figure-list-action{
  color:var(--primary,#075f3b);
  font-size:.9rem;
  font-weight:800;
}

.figure-list-action span{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
}

.figure-list-action i{
  transition:transform .2s ease;
}

.figure-list-card:hover .figure-list-action i{
  transform:translateX(4px);
}

.figure-detail-hero{
  position:relative;
  overflow:hidden;
  padding:clamp(2rem,5vw,4.5rem) 0;
  background:
    radial-gradient(circle at 85% 15%,rgba(201,154,46,.18),transparent 28%),
    radial-gradient(circle at 10% 85%,rgba(255,255,255,.08),transparent 25%),
    linear-gradient(135deg,#043b27,#075f3b 58%,#08734a);
}

.figure-detail-hero::before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.15;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px);
  background-size:36px 36px;
  pointer-events:none;
}

.figure-detail-hero .container{
  position:relative;
  z-index:1;
}

.figure-back-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  min-height:44px;
  padding:.68rem 1rem;
  border:1px solid rgba(255,255,255,.24);
  border-radius:999px;
  color:#fff;
  background:rgba(255,255,255,.10);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  font-size:.9rem;
  font-weight:750;
  line-height:1;
  text-decoration:none;
  transition:background .2s ease,transform .2s ease;
}

.figure-back-button:hover,
.figure-back-button:focus-visible{
  color:#fff;
  background:rgba(255,255,255,.18);
  transform:translateY(-1px);
}

.figure-detail-grid{
  display:grid;
  grid-template-columns:minmax(280px,420px) minmax(0,1fr);
  align-items:center;
  gap:clamp(2rem,6vw,5rem);
  margin-top:1.75rem;
}

.figure-detail-photo{
  position:relative;
  overflow:hidden;
  margin:0;
  aspect-ratio:4/5;
  border:6px solid rgba(255,255,255,.16);
  border-radius:28px;
  background:#e9efeb;
  box-shadow:0 28px 70px rgba(0,0,0,.28);
}

.figure-detail-photo::after{
  content:"";
  position:absolute;
  inset:0;
  border:1px solid rgba(255,255,255,.3);
  border-radius:22px;
  pointer-events:none;
}

.figure-detail-photo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:top center;
}

.figure-detail-kicker{
  color:#e8bd58;
  font-size:.78rem;
  font-weight:850;
  letter-spacing:.14em;
}

.figure-detail-intro h1{
  max-width:850px;
  margin:.55rem 0 .65rem;
  color:#fff;
  font-size:clamp(2.1rem,5vw,4.6rem);
  font-weight:850;
  line-height:1.06;
  text-wrap:balance;
}

.figure-detail-title{
  color:#d7eee2;
  font-size:clamp(1rem,2.2vw,1.35rem);
  font-weight:650;
  line-height:1.55;
}

.figure-detail-summary{
  max-width:780px;
  margin:1.4rem 0 0;
  color:rgba(255,255,255,.78);
  font-size:1rem;
  line-height:1.75;
}

.figure-share-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:.6rem;
  margin-top:1.65rem;
}

.figure-share-button{
  appearance:none;
  border:0;
  min-height:43px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.45rem;
  padding:.65rem .85rem;
  border-radius:12px;
  color:#fff;
  font-size:.8rem;
  font-weight:750;
  line-height:1;
  text-decoration:none;
  cursor:pointer;
  transition:filter .18s ease,transform .18s ease;
  -webkit-tap-highlight-color:transparent;
}

.figure-share-button:hover,
.figure-share-button:focus-visible{
  color:#fff;
  filter:brightness(1.08);
  transform:translateY(-1px);
}

.figure-share-button:active{
  transform:scale(.96);
}

.figure-share-whatsapp{background:#178b4b}
.figure-share-facebook{background:#1877f2}
.figure-share-x{background:#111}
.figure-share-telegram{background:#229ed9}
.figure-share-linkedin{background:#0a66c2}
.figure-share-native{background:#c99a2e}
.figure-share-copy{background:#65746c}

.figure-biography-section{
  background:#f6f9f7;
}

.figure-biography-card{
  padding:clamp(1.25rem,4vw,2.5rem);
  border:1px solid rgba(7,95,59,.08);
  border-radius:26px;
  background:#fff;
  box-shadow:0 16px 48px rgba(3,54,33,.08);
}

.figure-biography-heading{
  display:flex;
  align-items:center;
  gap:1rem;
  margin-bottom:1.6rem;
  padding-bottom:1.25rem;
  border-bottom:1px solid #e5ece7;
}

.figure-biography-icon{
  flex:0 0 56px;
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  border-radius:18px;
  color:#fff;
  background:linear-gradient(145deg,var(--primary,#075f3b),#043c26);
  font-size:1.3rem;
}

.figure-biography-heading .figure-detail-kicker{
  color:var(--gold,#c99a2e);
}

.figure-biography-heading h2{
  margin:.2rem 0 0;
  font-size:clamp(1.45rem,3vw,2rem);
  font-weight:850;
}

.figure-biography-content{
  color:#35423b;
  font-size:1.04rem;
  line-height:1.9;
}

.figure-biography-content p,
.figure-biography-content div{
  text-align:justify;
}

.figure-biography-content img{
  max-width:100%;
  height:auto;
  border-radius:16px;
}

.figure-biography-empty{
  padding:2rem;
  border:1px dashed rgba(7,95,59,.18);
  border-radius:17px;
  color:#6d7972;
  text-align:center;
  background:#f8fbf9;
}

.figure-detail-bottom-nav{
  display:flex;
  justify-content:center;
  margin-top:1.75rem;
}

.figure-detail-bottom-nav .figure-back-button{
  border-color:rgba(7,95,59,.16);
  color:var(--primary,#075f3b);
  background:#fff;
  box-shadow:0 8px 24px rgba(3,54,33,.08);
}

.figure-detail-bottom-nav .figure-back-button:hover{
  color:#fff;
  background:var(--primary,#075f3b);
}

@media(max-width:991.98px){
  .figure-detail-grid{
    grid-template-columns:minmax(240px,340px) minmax(0,1fr);
    gap:2rem;
  }
}

@media(max-width:767.98px){
  .figure-list-photo{
    height:310px;
  }

  .figure-detail-hero{
    padding-top:1.35rem;
  }

  .figure-detail-grid{
    grid-template-columns:1fr;
    margin-top:1.25rem;
  }

  .figure-detail-photo-column{
    max-width:330px;
    width:100%;
    margin-inline:auto;
  }

  .figure-detail-photo{
    border-width:4px;
    border-radius:23px;
  }

  .figure-detail-intro{
    text-align:center;
  }

  .figure-detail-intro h1{
    margin-inline:auto;
  }

  .figure-detail-summary{
    margin-inline:auto;
  }

  .figure-share-buttons{
    justify-content:center;
  }

  .figure-share-button{
    flex:1 1 calc(33.333% - .6rem);
    min-width:96px;
  }

  .figure-biography-card{
    border-radius:20px;
  }

  .figure-biography-content{
    font-size:.98rem;
    line-height:1.78;
  }

  .figure-back-button{
    width:100%;
    border-radius:14px;
  }
}

@media(max-width:420px){
  .figure-share-button{
    flex-basis:calc(50% - .6rem);
  }

  .figure-share-button span{
    font-size:.75rem;
  }

  .figure-biography-heading{
    align-items:flex-start;
  }

  .figure-biography-icon{
    width:48px;
    height:48px;
    flex-basis:48px;
    border-radius:15px;
  }
}
