.container {
  max-width: 1100px;
}

/* ── Wrapper ── */
.profile-wrapper {
  padding: 60px 0 80px;
}

.main-card {
  background: var(--card);
  border: 1px solid rgba(176, 138, 69, 0.25);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* ── Profile Header ── */
.profile-header {
  display: flex;
  gap: 40px;
  padding: 40px;
  background: linear-gradient(135deg, rgba(176, 138, 69, 0.06) 0%, #FFFDF7 100%);
  border-bottom: 1px solid rgba(176, 138, 69, 0.15);
  align-items: center;
}

@media (max-width: 768px) {
  .profile-header {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
}

.photo-wrap {
  flex-shrink: 0;
}

.photo-wrap img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  object-position: top;
  border-radius: 20px;
  border: 2px solid rgba(176, 138, 69, 0.35);
  box-shadow: 0 12px 28px rgba(91, 7, 16, 0.14);
  display: block;
}

.profile-id h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: 36px;
  color: var(--brand);
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.tagline {
  font-size: 17px;
  font-weight: 500;
  color: var(--brand2);
  line-height: 1.45;
  max-width: 560px;
  margin: 0 0 18px;
}

.cert-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cert-badges {
    justify-content: center;
  }
}

.badge {
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid;
}

.badge-maroon {
  background: rgba(91, 7, 16, 0.07);
  color: var(--brand);
  border-color: rgba(91, 7, 16, 0.18);
}

.badge-gold {
  background: rgba(176, 138, 69, 0.12);
  color: #6e4f10;
  border-color: rgba(176, 138, 69, 0.35);
}

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid rgba(176, 138, 69, 0.15);
  background: rgba(176, 138, 69, 0.03);
}

@media (max-width: 650px) {
  .stats-bar {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: 1fr;
  }
}

.stat-item {
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid rgba(176, 138, 69, 0.12);
}

.stat-item:last-child {
  border-right: none;
}

@media (max-width: 480px) {
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(176, 138, 69, 0.12);
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}

.stat-number {
  font-family: 'Libre Baskerville', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12.5px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
}

/* ── Body ── */
.profile-body {
  padding: 40px;
}

@media (max-width: 768px) {
  .profile-body {
    padding: 24px 20px;
  }
}

/* ── Section Labels & Titles ── */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand2);
  margin: 0 0 14px;
}

.section-title {
  font-size: 17px;
  color: var(--brand);
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(176, 138, 69, 0.22);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

/* ── Bio ── */
.bio-section {
  max-width: 860px;
  margin-bottom: 32px;
}

.bio-section p {
  font-size: 16px;
  margin: 0 0 16px;
  color: #3A3532;
  line-height: 1.78;
}

.bio-section p:last-child {
  margin: 0;
}

/* ── Research Card ── */
.research-card {
  background: linear-gradient(135deg, rgba(176, 138, 69, 0.09) 0%, rgba(255, 253, 247, 0.5) 100%);
  border: 1px solid rgba(176, 138, 69, 0.28);
  border-radius: 16px;
  padding: 28px 30px;
  margin-bottom: 30px;
}

.research-card-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}

@media (max-width: 580px) {
  .research-card-header {
    flex-direction: column;
    gap: 14px;
  }
}

.research-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--brand2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.research-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
}

.research-content h4 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--brand);
  font-weight: 700;
}

.research-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.72;
  margin: 0 0 14px;
}

.research-body p:last-child {
  margin: 0;
}

.research-sites {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0;
}

.site-tag {
  background: rgba(91, 7, 16, 0.06);
  border: 1px solid rgba(91, 7, 16, 0.12);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.award-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(176, 138, 69, 0.14);
  border: 1px solid rgba(176, 138, 69, 0.35);
  color: #6e4f10;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 6px;
}

/* ── CTA Box ── */
.cta-box {
  background: rgba(91, 7, 16, 0.04);
  border-left: 4px solid var(--brand);
  padding: 20px 26px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 600px) {
  .cta-box {
    flex-direction: column;
    text-align: center;
  }
}

.cta-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--brand);
  line-height: 1.4;
}

.cta-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cta-btn {
  display: inline-block;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 10px;
  white-space: nowrap;
  font-size: 15px;
  transition: transform 0.2s, background 0.2s;
}

.cta-btn-primary {
  background: var(--brand);
  color: #FFFDF7;
}

.cta-btn-primary:hover {
  background: #700914;
  transform: translateY(-1px);
}

.cta-btn-outline {
  background: transparent;
  border: 1.5px solid var(--brand);
  color: var(--brand);
}

.cta-btn-outline:hover {
  background: rgba(91, 7, 16, 0.05);
  transform: translateY(-1px);
}

/* ── Info Blocks ── */
.info-block {
  background: #fff;
  border: 1px solid rgba(176, 138, 69, 0.15);
  border-radius: 16px;
  padding: 26px;
}

/* ── Education + Certs ── */
.details-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  margin-bottom: 28px;
}

@media (max-width: 860px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 20px;
  border-left: 2px solid var(--brand2);
}

.timeline li:last-child {
  margin-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 5px;
  width: 10px;
  height: 10px;
  background: var(--brand2);
  border-radius: 50%;
}

.timeline li strong {
  display: block;
  font-size: 14.5px;
  color: var(--brand);
  margin-bottom: 2px;
  font-weight: 600;
}

.timeline li span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.4;
}

.simple-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.simple-list li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(176, 138, 69, 0.1);
  font-size: 15px;
  color: #3a3532;
  display: flex;
  align-items: center;
  gap: 12px;
}

.simple-list li:last-child {
  border-bottom: none;
}

.check-icon {
  color: var(--brand2);
  flex-shrink: 0;
}

/* ── Awards ── */
.awards-section {
  margin-bottom: 28px;
}

.awards-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.awards-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(176, 138, 69, 0.1);
  font-size: 15px;
  color: #3a3532;
  line-height: 1.5;
}

.awards-list li:last-child {
  border-bottom: none;
}

.award-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: linear-gradient(135deg, rgba(176, 138, 69, 0.18) 0%, rgba(176, 138, 69, 0.06) 100%);
  border: 1px solid rgba(176, 138, 69, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--brand2);
}

.award-text strong {
  display: block;
  font-weight: 600;
  color: var(--brand);
  font-size: 14.5px;
  margin-bottom: 2px;
}

.award-text span {
  font-size: 13.5px;
  color: var(--muted);
}

/* ── Expertise + Memberships ── */
.bottom-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
  margin-bottom: 28px;
}

@media (max-width: 800px) {
  .bottom-grid {
    grid-template-columns: 1fr;
  }
}

.expertise-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

@media (max-width: 560px) {
  .expertise-list {
    grid-template-columns: 1fr;
  }
}

.expertise-list li {
  padding: 8px 0;
  font-size: 14.5px;
  color: #3a3532;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  border-bottom: 1px solid rgba(176, 138, 69, 0.08);
  line-height: 1.4;
}

.expertise-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: var(--brand2);
  border-radius: 50%;
  margin-top: 6px;
}

.membership-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.membership-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(176, 138, 69, 0.1);
  font-size: 14.5px;
  color: #3a3532;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.4;
}

.membership-list li:last-child {
  border-bottom: none;
}

.dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--brand2);
  border-radius: 50%;
  margin-top: 5px;
}

/* ── Affiliations ── */
.affiliations-section {
  margin-bottom: 28px;
}

/* ── Support Staff ── */
.staff-section {
  margin-bottom: 28px;
}

.staff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 560px) {
  .staff-grid {
    grid-template-columns: 1fr;
  }
}

.staff-card {
  background: #fff;
  border: 1px solid rgba(176, 138, 69, 0.18);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 4px 14px rgba(91, 7, 16, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.staff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(91, 7, 16, 0.11);
}

.staff-photo-wrap {
  width: 280px;
  height: 280px;
  margin: 24px auto 0;
  overflow: hidden;
  border-radius: 20px;
  border: 2px solid rgba(176, 138, 69, 0.35);
  box-shadow: 0 12px 28px rgba(91, 7, 16, 0.14);
  background: #EDE3D5;
}

.staff-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.staff-info {
  padding: 18px 20px 22px;
  border-top: 1px solid rgba(176, 138, 69, 0.12);
}

.staff-name {
  font-family: 'Libre Baskerville', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 6px;
}

.staff-role {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand2);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── Outside of Medicine ── */
.outside-card {
  background: linear-gradient(135deg, rgba(176, 138, 69, 0.07) 0%, rgba(255, 253, 247, 0.8) 100%);
  border: 1px solid rgba(176, 138, 69, 0.2);
  border-radius: 16px;
  padding: 28px 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}

@media (max-width: 560px) {
  .outside-card {
    flex-direction: column;
    gap: 14px;
  }
}

.outside-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(176, 138, 69, 0.15);
  border: 1px solid rgba(176, 138, 69, 0.28);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.outside-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--brand2);
}

.outside-content h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 8px;
}

.outside-content p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.72;
  margin: 0;
}
