/* Expert Breadcrumbs */
.expert-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.75rem 2px;
  font-size: 0.875rem;
  color: #6b7280;
}

.expert-single-wrapper .entry-content, .expert-reviews-section {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.expert-breadcrumbs a {
  color: #4f46e5;
  text-decoration: none;
  transition: color 0.2s ease;
}

.expert-breadcrumbs a:hover {
  color: #3730a3;
  text-decoration: underline;
}

.expert-breadcrumbs .separator {
  color: #9ca3af;
  font-size: 0.75rem;
}

.expert-breadcrumbs .current {
  color: #374151;
  font-weight: 500;
}

/* Expert Single Header */
.expert-profile-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid #e4e7ec;
  border-radius: 8px;
  background: #fff;
}

/* Sticky header for laptop/iPad (not mobile) */
@media (min-width: 769px) {
  .expert-profile-header {
    position: sticky;
    top: 100px;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
}

.expert-profile-left {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
}

.expert-profile-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.expert-profile-avatar {
  width: 84px;
  height: 84px;
  border-radius: 8px;
  object-fit: cover;
}

.expert-live-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: #e0e0e0;
}

.expert-live-indicator.online {
  background: #10b981;
}

.expert-live-indicator.offline {
  background: #ef4444;
}

.expert-profile-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.expert-profile-row-1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.expert-profile-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.expert-profile-title {
  margin: 0;
  line-height: 1.2;
  font-weight: 600;
  font-size: 20px;
  color: #1a202c;
}

.expert-profile-subject {
  font-size: 13px;
  color: #4f46e5;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.expert-hire-btn {
  display: inline-block;
  min-width: 140px;
  padding: 12px 28px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: #fff;
  background: #4f46e5;
  text-decoration: none;
  transition: background 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.expert-hire-btn:hover {
  background: #4338ca;
}

.expert-profile-row-2 {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.expert-profile-rating-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 8px 0px;
}

.expert-profile-rating-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.expert-profile-rating-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.expert-profile-rating-item .rating-label {
  font-size: 11px;
  color: #667085;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.rating-value-line {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rating-count-line {
  color: #667085;
  font-size: 12px;
}

.rating-label {
  color: #667085;
  font-weight: 500;
}

.rating-value {
  color: #1a202c;
  font-weight: 600;
  font-size: 14px;
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-stars .star-filled,
.rating-stars .star-empty {
  font-size: 14px;
}

.rating-stars .star-filled {
  color: #ffc107;
}

.rating-stars .star-empty {
  color: #e0e0e0;
}

.rating-count {
  color: #667085;
  font-size: 12px;
  margin-left: 4px;
}

.expert-profile-rating-link {
  text-decoration: none;
  cursor: pointer;
}

.expert-profile-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-label {
  font-size: 11px;
  color: #667085;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.stat-value {
  font-size: 15px;
  color: #1a202c;
  font-weight: 600;
}

.stat-value.success-rate {
  color: #10b981;
}

@media (max-width: 1024px) {
  .expert-profile-header {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .expert-profile-row-1 {
    flex-direction: column;
    align-items: flex-start;
  }

  .expert-profile-hire-btn {
    width: 100%;
  }

  .expert-profile-row-2 {
    gap: 12px;
  }
}
