/* ══════════════════════════════════════════════
   Team Member Profile Pages – S&A Solutions
   ══════════════════════════════════════════════ */

/* ── Profile Hero ── */
.rt-profile-hero {
  background-color: #15241b;
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.rt-profile-hero .rt-container {
  max-width: 1100px;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.rt-profile-avatar-wrap {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(250, 243, 227, 0.15);
}

.rt-profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rt-profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2e3f34 0%, #15241b 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Marcellus', serif;
  font-size: 4rem;
  color: #faf3e3;
  letter-spacing: 0.05rem;
}

.rt-profile-hero-info {
  flex: 1;
}

.rt-profile-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-family: 'GeneralSans', 'Inter', sans-serif;
  font-size: 0.875rem;
  color: #b8b7b7;
}

.rt-profile-breadcrumb a {
  color: #b8b7b7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.rt-profile-breadcrumb a:hover {
  color: #faf3e3;
}

.rt-profile-role {
  display: inline-block;
  font-family: 'GeneralSans', 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  color: #15241b;
  background-color: #faf3e3;
  padding: 0.375rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}

.rt-profile-hero h1 {
  font-family: 'Marcellus', serif;
  font-size: 3rem;
  line-height: 115%;
  font-weight: 400;
  letter-spacing: -0.04rem;
  color: #faf3e3;
  margin-bottom: 0.75rem;
}

.rt-profile-tagline {
  font-family: 'GeneralSans', 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 170%;
  color: #b8b7b7;
  max-width: 520px;
}

.rt-profile-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.rt-profile-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(250, 243, 227, 0.1);
  transition: background-color 0.3s ease;
}

.rt-profile-social a:hover {
  background-color: rgba(250, 243, 227, 0.2);
}

.rt-profile-social a svg {
  width: 18px;
  height: 18px;
  stroke: #faf3e3;
  fill: none;
  stroke-width: 2;
}

/* ── Profile Body ── */
.rt-profile-body {
  padding: 5rem 0;
  background-color: #fff;
}

.rt-profile-body .rt-container {
  max-width: 1100px;
}

.rt-profile-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

/* Left: Main Content */
.rt-profile-main h2 {
  font-family: 'Marcellus', serif;
  font-size: 2rem;
  line-height: 125%;
  font-weight: 400;
  color: #151515;
  margin-bottom: 1.25rem;
  margin-top: 0;
}

.rt-profile-main h2:not(:first-child) {
  margin-top: 3rem;
}

.rt-profile-main p {
  font-family: 'GeneralSans', 'Inter', sans-serif;
  font-size: 1.0625rem;
  line-height: 180%;
  color: #484341;
  margin-bottom: 1.5rem;
}

.rt-profile-main ul {
  font-family: 'GeneralSans', 'Inter', sans-serif;
  font-size: 1.0625rem;
  line-height: 180%;
  color: #484341;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.rt-profile-main li {
  margin-bottom: 0.5rem;
}

.rt-profile-main strong {
  font-weight: 600;
  color: #151515;
}

/* Right: Sidebar Info Card */
.rt-profile-sidebar {
  position: sticky;
  top: 6rem;
}

.rt-profile-card {
  background-color: #f6f3ee;
  border-radius: 1.25rem;
  padding: 2rem;
}

.rt-profile-card-title {
  font-family: 'GeneralSans', 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
  color: #15241b;
  margin-bottom: 1.5rem;
}

.rt-profile-card-item {
  margin-bottom: 1.25rem;
}

.rt-profile-card-label {
  font-family: 'GeneralSans', 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  color: #b8b7b7;
  margin-bottom: 0.25rem;
}

.rt-profile-card-value {
  font-family: 'GeneralSans', 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: #151515;
  line-height: 150%;
}

.rt-profile-card-value a {
  color: #15241b;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.rt-profile-card-value a:hover {
  opacity: 0.7;
}

.rt-profile-card-divider {
  height: 1px;
  background-color: rgba(21, 36, 27, 0.1);
  margin: 1.5rem 0;
}

/* CTA Button in Sidebar */
.rt-profile-cta {
  display: block;
  width: 100%;
  padding: 1rem;
  text-align: center;
  font-family: 'GeneralSans', 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #faf3e3;
  background-color: #15241b;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 1.5rem;
}

.rt-profile-cta:hover {
  background-color: #2e3f34;
}

/* ── Quote Block ── */
.rt-profile-quote {
  background-color: #15241b;
  color: #faf3e3;
  padding: 2.5rem;
  border-radius: 1.25rem;
  margin: 2.5rem 0;
  position: relative;
}

.rt-profile-quote p {
  font-family: 'Marcellus', serif;
  font-size: 1.375rem;
  line-height: 160%;
  color: #faf3e3;
  font-style: italic;
  margin-bottom: 0;
}

.rt-profile-quote::before {
  content: '\201C';
  font-family: 'Marcellus', serif;
  font-size: 4rem;
  color: rgba(250, 243, 227, 0.2);
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

/* ── Other Team Members ── */
.rt-profile-team {
  padding: 5rem 0;
  background-color: #f6f3ee;
}

.rt-profile-team .rt-container {
  max-width: 1100px;
}

.rt-profile-team h2 {
  font-family: 'Marcellus', serif;
  font-size: 2rem;
  font-weight: 400;
  color: #151515;
  margin-bottom: 2.5rem;
}

.rt-profile-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.rt-profile-team-card {
  background-color: #fff;
  border-radius: 1.25rem;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rt-profile-team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(21, 36, 27, 0.1);
}

.rt-profile-team-card-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.rt-profile-team-card-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #2e3f34, #15241b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Marcellus', serif;
  font-size: 2.5rem;
  color: #faf3e3;
}

.rt-profile-team-card-info {
  padding: 1.25rem 1.5rem;
}

.rt-profile-team-card-name {
  font-family: 'Marcellus', serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #151515;
  margin-bottom: 0.25rem;
}

.rt-profile-team-card-role {
  font-family: 'GeneralSans', 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: #b8b7b7;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .rt-profile-hero .rt-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .rt-profile-tagline {
    max-width: 100%;
  }

  .rt-profile-social {
    justify-content: center;
  }

  .rt-profile-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .rt-profile-sidebar {
    position: relative;
    top: 0;
  }

  .rt-profile-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 479px) {
  .rt-profile-hero h1 {
    font-size: 2.25rem;
  }

  .rt-profile-avatar-wrap {
    width: 160px;
    height: 160px;
  }

  .rt-profile-team-grid {
    grid-template-columns: 1fr;
  }
}
