/* =========================================================
   styleSheet.css (FINAL) - Editorial Team (Image #2 layout)
   Works with: body.page.page_editorial_team and .tim-editor
   ========================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }

/* Scope styles to editorial team page only */
.page_editorial_team .tim-editor{
  text-align: center;
  padding: 18px 20px 26px;
  background: linear-gradient(to right, #15427a, #3aa0e8);
  position: relative;
  overflow: hidden;
}

/* subtle moving sheen */
.page_editorial_team .tim-editor::before{
  content:'';
  position:absolute;
  top:0; left:0;
  width:200%;
  height:200%;
  background: linear-gradient(
    to right,
    rgba(255,255,255,.05),
    rgba(255,255,255,.10),
    rgba(255,255,255,.05)
  );
  animation: moveBackground 12s linear infinite;
  z-index:0;
}
@keyframes moveBackground{
  0%{ transform: translateX(0); }
  100%{ transform: translateX(-50%); }
}

/* title */
.page_editorial_team .tim-editor h2{
  font-family: Georgia, serif;
  font-size: 2.1em;
  margin: 16px 0 26px;
  color: rgba(0,0,0,.55);
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}
.page_editorial_team .tim-editor h2::after{
  content:'';
  display:block;
  width:64px;
  height:4px;
  background:#0d84ff;
  margin:12px auto 0;
  border-radius:4px;
}

/* CARD GRID — force image #2 layout */
.page_editorial_team .tim-editor .editor-grid{
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 320px; /* photo | info | stats */
  align-items: center;
  gap: 18px;

  margin: 0 0 20px 0;
  padding: 18px 18px;

  border: 1px solid rgba(255,255,255,.78);
  border-radius: 20px;

  background: linear-gradient(90deg, rgba(18,78,142,.92), rgba(46,133,206,.88));
  box-shadow: 0 10px 22px rgba(0,0,0,.18);

  overflow: hidden;
  text-align: left;

  transition: transform .18s ease, box-shadow .18s ease;
}
.page_editorial_team .tim-editor .editor-grid:hover{
  transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #fecb55, #fff);
}

/* subtle bubble */
.page_editorial_team .tim-editor .editor-grid::before{
  content: "";
    
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 123, 255, 0.1), rgba(0, 123, 255, 0));
    background-image: url('https://jcrdrr.tabikdc.org/public/site/images/adminjcrdrr/jcrdrr bulat.png'); /* Ganti URL_LOGO dengan URL logo Anda */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 13%; /* Atur ukuran logo sesuai kebutuhan */
    transition: opacity 0.3s;
    opacity: 0;
    z-index: 1;
    animation: float 5s cubic-bezier(1, -0.32, 0.05, 0.72) infinite, bubble 20s infinite;
    transform: rotate(0deg);
}
@keyframes bubble {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) translateX(10px) rotate(45deg);
    }
    50% {
        transform: translateY(-20px) translateX(-10px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) translateX(10px) rotate(45deg);
    }
    100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
}

.page_editorial_team .tim-editor .editor-grid:hover::before {
    opacity: 0.5;
    
}

.page_editorial_team .tim-editor .editor-grid > *{
  position: relative;
  z-index: 1;
}

/* PHOTO */
.page_editorial_team .tim-editor .editor-image-wrapper{
  display:flex;
  align-items:center;
  justify-content:center;
}
.page_editorial_team .tim-editor .editor-image-wrapper img{
  width:120px;
  height:150px;
  object-fit:cover;
  border-radius:16px;
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 6px 14px rgba(0,0,0,.22);
  display:block;
}

/* INFO */
.page_editorial_team .tim-editor .editor-info{
  min-width: 0;
  padding-right: 6px;
}
.page_editorial_team .tim-editor .editor-info h3{
  margin: 0 0 8px 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}
.page_editorial_team .tim-editor .editor-role{
  margin: 0 0 8px 0;
  font-weight: 800;
  color: #ffffff;
}
.page_editorial_team .tim-editor .editor-info p{
  margin: 0 0 10px 0;
  color: #ffffff;
  line-height: 1.45;
}

/* expertise bar */
.page_editorial_team .tim-editor .editor-expertise{
  margin-top: 8px;
  background: rgba(202,223,245,.72);
  color: #0b2344;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: .95rem;
  line-height: 1.4;
  width: 100%;
  max-width: 560px;
}
.page_editorial_team .tim-editor .editor-expertise strong{
  font-weight: 800;
  color: #082349;
}

/* SOCIAL ICONS — circular */
.page_editorial_team .tim-editor .social-links{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.page_editorial_team .tim-editor .social-links a{
  width:38px;
  height:38px;
  border-radius:999px;
  background:#ffffff;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 8px 16px rgba(0,0,0,.18);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  transition: transform .15s ease;
}
.page_editorial_team .tim-editor .social-links a:hover{ transform: scale(1.2) rotate(360deg);
  transition: transform 0.5s;
    box-shadow: 0 0 15px rgb(0 123 255 / 0%); }
.page_editorial_team .tim-editor .social-links img{
  width:22px;
  height:22px;
  object-fit:contain;
  display:block;
}
.page_editorial_team .tim-editor .social-links img:hover{
    transform: scale(1.2);
    filter: brightness(1.2);
}
/* STATS — stay on right */
.page_editorial_team .tim-editor .editor-stats-widget{
  justify-self: end;
  margin-top: 0;
  width: 100%;
  max-width: 300px;

  background: rgba(200,223,245,.55);
  border-radius: 16px;
  padding: 18px 18px 12px;
  box-shadow: 0 8px 16px rgba(0,0,0,.10);
}
.page_editorial_team .tim-editor .editor-stats-widget h4{
  margin: 0 0 14px 0;
  text-align:center;
  color:#2464ff;
  font-size: 1rem;
  font-weight: 800;
}
.page_editorial_team .tim-editor .stats-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.75);
}
.page_editorial_team .tim-editor .stats-row:last-child{ border-bottom:none; }

.page_editorial_team .tim-editor .stats-label{
  display:flex;
  align-items:center;
  gap:7px;
  color:#3e3e3e;
  font-size: .95rem;
  line-height: 1.2;
}
.page_editorial_team .tim-editor .stats-label img{
  width:18px;
  height:18px;
  object-fit:contain;
}
.page_editorial_team .tim-editor .stats-value{
  min-width: 34px;
  text-align:right;
  color:#2464ff;
  font-size: 1.05rem;
  font-weight: 800;
}
.page_editorial_team .tim-editor .stats-value iframe{
  width:34px;
  height:24px;
  border:0;
  background: transparent;
  overflow:hidden;
  vertical-align: middle;
}

/* Responsive — only stack when truly small */
@media (max-width: 720px){
  .page_editorial_team .tim-editor{ padding: 14px 12px 22px; }

  .page_editorial_team .tim-editor .editor-grid{
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 14px;
  }

  .page_editorial_team .tim-editor .editor-image-wrapper{
    justify-content: flex-start;
  }

  .page_editorial_team .tim-editor .editor-stats-widget{
    justify-self: stretch;
    max-width: 100%;
    margin-top: 10px;
  }

  .page_editorial_team .tim-editor .editor-expertise{
    max-width: 100%;
  }
}
