/* Hero */
.hero {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}
.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Main content padding */
.main-content {
  padding: 3rem 1rem;
}

/* Sidebar styling */
.sidebar {
  padding-left: 2rem;
}

/* Callout box (Why Temoa?) */
div.callout {
  border: 1px dashed #666;
  padding: 1rem;
  margin-top: 2rem;
  background: #fafafa;
}

/* Footer override to prevent Bootstrap defaults
.site-footer {
  padding: 2rem 1rem;
  background: #2b2b2b;
  color: #bbb;
  text-align: center;
}
.site-footer a {
  color: #82c0ff;
} */

.logo-container {
    text-align: center;
    margin-bottom: 1rem;
}
.centered-logo {
    display: inline-block;
}


/* Container for the entire list, styled as one large card */
.team-list {
  margin-top: 2rem;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  overflow: hidden; /* This is important to make the child borders respect the radius */
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Styling for each organization's row */
.team-row {
  display: flex;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e9ecef; /* Separator line */
}

/* Remove the separator from the very last row */
/* .team-list .team-row:last-child {
  border-bottom: none;
} */

.team-logo-container {
  width: 220px;          /* Fixed width */
  flex-shrink: 0;        /* Prevents this column from shrinking */
  margin-right: 2rem;    /* Space between logo and text */
  text-align: center;    /* Horizontally center the image inside */
}

/* Styling for the logo image itself */
.team-logo {
  max-width: 100%;       /* Never wider than its container */
  /* max-height: 60px;   /* Control the max height for consistency */
  object-fit: contain;   /* Scales the image proportionally */
}

/* The text content in the middle */
.team-info {
  flex-grow: 1;          /* Takes up all remaining space */
  padding-right: 1.5rem;
}

.team-info h3 {
  margin: 0 0 0.25rem 0;
  color: #005a9c;
}

.team-info h4 {
  margin: 0 0 0.5rem 0;
  color: #6c757d;
  font-weight: 400;
  font-size: 1.1rem;
}

.team-info p {
  margin: 0;
  color: #495057;
  line-height: 1.6;
}

/* The button container on the right */
.team-action {
  flex-shrink: 0;
}

/* Responsive design for smaller screens */
@media (max-width: 992px) {
  .team-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-logo-container {
    width: auto; /* Let the container be its natural width on mobile */
    margin-right: 0;
    margin-bottom: 1.5rem;
    text-align: left; /* Align left on mobile */
  }

  .team-info {
    padding-right: 0;
    margin-bottom: 1.5rem;
  }
}