/* css styles */

/* Hide table of contents and navigation for cleaner layout */
.sidebar {
  display: none;
}

.page-navigation {
  display: none;
}

/* Full-width content layout */
.content {
  max-width: 100%;
}

body {
  background-color: #f8f9fa;
}

/* Professional title styling */
.title, .subtitle {
  text-align: center;
  margin-bottom: 2rem;
}

.title {
  font-size: 3.5rem;
  font-weight: 700;
  color: #2c3e50;
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 1.3rem;
  color: #555;
  font-weight: 400;
  line-height: 1.6;
}

/* Callout styling */
.callout {
  border-left: 5px solid #28a745;
  padding: 1.5rem;
  margin: 2rem 0;
  background-color: #f0fdf4;
  border-radius: 6px;
}

.callout-important {
  border-left-color: #dc3545;
  background-color: #fef2f2;
}

.callout-note {
  border-left-color: #0066cc;
  background-color: #f0f7ff;
}

.callout-title {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

/* Improved heading styling */
h1, h2, h3 {
  color: #2c3e50;
  font-weight: 600;
}

h2 {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  border-bottom: 3px solid #e8f4f8;
  padding-bottom: 0.8rem;
}

h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.8rem;
  color: #34495e;
}

/* Grid layout improvements */
.grid {
  margin: 2rem 0;
  gap: 2rem;
}

.g-col-12 {
  margin-bottom: 1rem;
}

/* Image styling */
img {
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 100%;
  height: auto;
}

/* Index page main grid images - larger size */
.quarto-page .grid img:not(.g-col-lg-3 img):not(.g-col-lg-4 img) {
  max-width: 100%;
  min-height: auto;
}

/* Specific sizing for index page grid images */
.grid .g-col-12.g-col-md-6 img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Content text improvements */
p {
  line-height: 1.7;
  color: #444;
  font-size: 1.05rem;
}

li {
  line-height: 1.7;
  color: #444;
}

/* Strong text styling */
strong {
  color: #2c3e50;
  font-weight: 600;
}

/* Horizontal rule styling */
hr {
  margin: 3rem 0;
  border-top: 2px solid #e8f4f8;
  border-bottom: none;
}

/* Team Members Page - Reduce Font Sizes */
.grid strong {
  font-size: 0.95rem;
}

.grid em {
  font-size: 0.90rem;
}

.grid p {
  font-size: 0.88rem;
  margin: 0.5rem 0;
}

/* Specific styling for team member cards */
.g-col-12 strong {
  display: block;
  margin-top: 0.5rem;
}

.g-col-12 em {
  display: block;
  color: #666;
  margin: 0.25rem 0;
}

/* Team member image sizing */
.g-col-12 img {
  max-width: 280px;
  height: auto;
  border-radius: 8px;
}

/* Principal Investigators images - smaller size */
.g-col-lg-4 img {
  max-width: 240px;
  height: auto;
}

/* Country team images - medium size */
.g-col-lg-3 img {
  max-width: 200px;
  height: auto;
}
