/**
 * Staff detail page — layout aligned to team-details reference + screenshot
 * (photo left, badge bottom-right, cream section, slim progress bars).
 */

:root {
  --fcf-staff-detail-cream: #f5f1e6;
  --fcf-staff-detail-forest: #2d4739;
  --fcf-staff-detail-gold: #c5a059;
}

.fcf-staff-detail-hero.breadcumb-wrapper::before {
  background: linear-gradient(
    180deg,
    rgba(45, 71, 57, 0.72) 0%,
    rgba(45, 71, 57, 0.55) 45%,
    rgba(45, 71, 57, 0.88) 100%
  );
}

.fcf-staff-detail-page.team-details {
  background-color: var(--fcf-staff-detail-cream);
}

.fcf-staff-detail-page .fcf-staff-detail-profile-row {
  align-items: center;
}

/* Photo column first on all breakpoints */
.fcf-staff-detail-page .fcf-staff-detail-profile-row > .col-lg-6:first-child {
  order: 0;
}
.fcf-staff-detail-page .fcf-staff-detail-profile-row > .col-lg-6:last-child {
  order: 1;
}

.fcf-staff-detail-page .team-img.fcf-staff-detail-photo img {
  border-radius: 22px;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 636 / 720;
  max-height: min(88vh, 720px);
}

/* Experience badge — forest square, bottom-right, gold + white type */
.fcf-staff-detail-page .team-img .text-box.fcf-staff-detail-exp-badge {
  width: 200px;
  height: 200px;
  border-radius: 18px;
  left: auto;
  right: 24px;
  bottom: 24px;
  top: auto;
  background-color: var(--fcf-staff-detail-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.fcf-staff-detail-page .team-img .text-box.fcf-staff-detail-exp-badge .text-box__number {
  font-size: 52px;
  line-height: 1;
  color: var(--fcf-staff-detail-gold);
  margin-bottom: 8px;
}

.fcf-staff-detail-page .team-img .text-box.fcf-staff-detail-exp-badge .text-box__title {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  text-transform: none;
}

.fcf-staff-detail-page .team-content.fcf-staff-detail-content {
  padding-right: 0;
  padding-left: 12px;
}

@media (min-width: 992px) {
  .fcf-staff-detail-page .team-content.fcf-staff-detail-content {
    padding-left: 28px;
  }
}

.fcf-staff-detail-page .team-title {
  color: var(--fcf-staff-detail-forest);
  font-size: clamp(32px, 4vw, 42px);
}

.fcf-staff-detail-page .team-degi {
  color: #6b6b6b;
  font-weight: 500;
  font-size: 18px;
}

.fcf-staff-detail-page .tdetails-title {
  color: #1a1a1a;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.fcf-staff-detail-page .tdetails-span {
  font-size: 16px;
  color: #4a4a4a;
}

/* Slim gold progress track, green thumb feel via bar */
.fcf-staff-detail-page .progress-box__progress {
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background-color: rgba(45, 71, 57, 0.18);
}

.fcf-staff-detail-page .progress-box__bar {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fcf-staff-detail-gold) 0%, #d4b56e 100%);
  box-shadow: none;
  min-width: 4px;
  width: 0;
  transition: width 0.35s ease-out;
}

.fcf-staff-detail-page .progress-box__title {
  color: #1a1a1a;
}

.fcf-staff-detail-page .details-title {
  color: #1a1a1a;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 34px);
  margin-bottom: 20px;
}

.fcf-staff-detail-page .details-text {
  font-size: 17px;
  line-height: 1.75;
  color: #3d3d3d;
  max-width: 100%;
}

.fcf-staff-detail-page .fcf-staff-detail-list ul li {
  text-transform: none;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.65;
  color: #3d3d3d;
}

.fcf-staff-detail-page .fcf-staff-detail-list ul li i {
  color: var(--fcf-staff-detail-forest);
}

.fcf-staff-detail-page .contact-style1 ul li i {
  background-color: var(--fcf-staff-detail-forest);
  color: var(--fcf-staff-detail-gold);
}

.fcf-staff-detail-page .contact-style1 ul li a {
  text-transform: none;
}

.fcf-staff-detail-page .contact-style1 ul li.fcf-staff-email-item {
  margin-bottom: 8px;
}

.fcf-staff-detail-page .contact-style1 ul li .fcf-staff-email-link {
  font-size: 15px;
  line-height: 1.3;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.fcf-staff-detail-social.social-links li a {
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  background-color: var(--fcf-staff-detail-forest);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
  text-transform: none;
  word-break: normal;
  overflow-wrap: normal;
}

.fcf-staff-detail-social.social-links li a:hover {
  background-color: var(--fcf-staff-detail-gold);
  color: var(--fcf-staff-detail-forest);
}

@media (max-width: 991px) {
  .fcf-staff-detail-page .team-img .text-box.fcf-staff-detail-exp-badge {
    width: 160px;
    height: 160px;
    right: 16px;
    bottom: 16px;
  }
  .fcf-staff-detail-page .team-img .text-box.fcf-staff-detail-exp-badge .text-box__number {
    font-size: 40px;
  }
  .fcf-staff-detail-page .team-img .text-box.fcf-staff-detail-exp-badge .text-box__title {
    font-size: 14px;
  }
  .fcf-staff-detail-page .team-content.fcf-staff-detail-content {
    padding-left: 0;
    margin-top: 8px;
  }
}

@media (max-width: 575px) {
  .fcf-staff-detail-page .team-img .text-box.fcf-staff-detail-exp-badge {
    display: flex;
  }
}
