/* Person Modal Styles */
.person-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.person-modal {
  background: #fff;
  border-radius: 8px;
  max-width: 640px;
  width: 90%;
  max-height: 80vh;
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.person-modal-header {
  flex-shrink: 0;
}

.person-modal-headshot {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem auto;
  display: block;
}

.person-modal-name {
  margin: 0.5rem 0 0.25rem 0;
  font-size: 1.75rem;
  font-weight: bold;
}

.person-modal-designation {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  color: #666;
}

.person-modal-socials {
  margin-bottom: 1.5rem;
}

.person-modal-bio {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5rem;
  text-align: left;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

/* Rich text formatting styles within bio */
.person-modal-bio p {
  margin-bottom: 1rem;
}

.person-modal-bio p:last-child {
  margin-bottom: 0;
}

.person-modal-bio h1,
.person-modal-bio h2,
.person-modal-bio h3,
.person-modal-bio h4,
.person-modal-bio h5,
.person-modal-bio h6 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.person-modal-bio h1:first-child,
.person-modal-bio h2:first-child,
.person-modal-bio h3:first-child,
.person-modal-bio h4:first-child,
.person-modal-bio h5:first-child,
.person-modal-bio h6:first-child {
  margin-top: 0;
}

.person-modal-bio ul,
.person-modal-bio ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.person-modal-bio li {
  margin-bottom: 0.25rem;
}

.person-modal-bio strong {
  font-weight: bold;
}

.person-modal-bio em {
  font-style: italic;
}

.person-modal-bio a {
  color: #2563eb;
  text-decoration: underline;
}

.person-modal-bio a:hover {
  color: #1d4ed8;
}

.person-modal-bio blockquote {
  border-left: 4px solid #e5e7eb;
  padding-left: 1rem;
  margin: 1rem 0;
  font-style: italic;
  color: #6b7280;
}

.person-modal-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: none;
  border: none;
  width: 2rem;
  height: 2rem;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  color: #333;
}
.person-modal-close:hover {
  background: none;
  border: none;
  color: #333;
}
.person-modal-close:focus {
  outline: none;
  background: none;
  border: none;
  color: #333;
}

/* Social Icons - Hover Effects */
.dc-person-social:hover {
  background-color: var(--base-200) !important;
  color: var(--base-700) !important;
  transform: translateY(-1px);
  transition: all 0.2s ease;
}

.dc-person-social-email:hover {
  background-color: #ea4335 !important;
  color: white !important;
}

.dc-person-social-facebook:hover {
  background-color: #1877f2 !important;
  color: white !important;
}

.dc-person-social-instagram:hover {
  background-color: #e4405f !important;
  color: white !important;
}

.dc-person-social-x:hover {
  background-color: #000 !important;
  color: white !important;
}

.dc-person-social-tiktok:hover {
  background-color: #000 !important;
  color: white !important;
}

.dc-person-social-linkedin:hover {
  background-color: #0a66c2 !important;
  color: white !important;
}

/* FontAwesome icons are handled by FontAwesome CSS */

/* Inline Person Component Spacing */
.dc-person-module .dc-person-headshot {
  margin-bottom: 1rem;
}

.dc-person-module .dc-person-name {
  margin-bottom: 0.5rem;
}

.dc-person-module .dc-person-designation {
  margin-bottom: 0;
}

