.hero.is-info {
  background: #d66d00;
  color: white;
}

.hero.is-info .tabs.is-boxed li.is-active a {
  color: #d66d00;
}

a {
  color: #d66d00;
}

.breadcrumb a {
  color: #d66d00;
}

/* People grid layout */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: start;
}

.person-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1rem;
  /* transition: transform 0.2s ease, box-shadow 0.2s ease; */
  text-align: center;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
}


/* .person-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
} */

.person-photo {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e9ecef;
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.person-name {
  font-weight: 500;
}

.person-name a {
  color: #d66d00;
  text-decoration: none;
  font-weight: 500;
}

.person-name a:hover {
  text-decoration: underline;
}

.person-affiliation {
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 0.5rem;
  font-style: italic;
}

.person-card .year {
  display: block;
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 0.25rem;
}

/* Alumni two-column layout */
.alumni-columns {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
}

.alumni-column {
  flex: 1;
}

.alumni-list {
  list-style: none;
  list-style-type: none;
  padding-left: 0;
  margin: 0;
}

.alumni-list li {
  margin-bottom: 0.5rem;
  padding: 0.25rem 0;
  line-height: 1.4;
  list-style: none;
}

.alumni-list li::before {
  content: none;
}

.exam-list {
  margin-bottom: 1rem;
}

.exam-list li {
  margin-bottom: 0.3rem;
}

.section-spacing {
  margin-bottom: 2rem;
}

.calendar-container {
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  margin-left: -0.5rem;
  margin-right: -0.75rem;
}

/* Tablet (Bulma stacks its own columns here, giving the grid more room but auto-fit still needs nudging) */
@media (min-width: 769px) and (max-width: 1023px) {
    .people-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Additional responsive improvements */
@media (max-width: 768px) {
    .calendar-container iframe {
        height: 250px !important;
    }

    .section-spacing {
        margin-bottom: 1.5rem;
    }

    .people-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem;
    }

    .person-card {
        padding: 0.5rem;
        font-size: 1rem;
        max-width: none;
        min-height: 3rem;
        justify-content: center;
    }

    .person-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 0.5rem;
        border-width: 2px;
    }

    .person-name {
        font-size: 1rem;
        line-height: 1.2;
    }

    .alumni-columns {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Extra small screens (phones in portrait) */
@media (max-width: 480px) {
    .people-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.4rem;
    }

    .person-card {
        padding: 0.4rem;
        font-size: 0.95rem;
        min-height: 3rem;
        justify-content: center;
    }

    .person-photo {
        width: 80px;
        height: 80px;
        margin-bottom: 0.4rem;
        border-width: 1px;
    }

    .person-name {
        font-size: 0.95rem;
        line-height: 1.1;
    }
}

/* Print styles */
@media print {
    .calendar-container iframe,
    .hero {
        display: none;
    }

    .section {
        padding: 1rem 0;
    }

    a[href]:after {
        content: none;
    }
}

/* Enhanced link styles */
.exam-list a:hover {
    text-decoration: underline;
}

/* Improved spacing for general exams */
.exam-list {
    margin-left: 1rem;
}

.exam-list li {
    line-height: 1.4;
}
