/* ------------------------------------------- All -------------------------------------------------- */

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------- Management Team ------------------------------------------- */
/* -------------- Card ------------ */
.management-team-card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.management-team-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ------------ Social ----------- */

.management-team-social a {
  color: #555;
  margin: 0 8px;
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

.management-team-social a:hover {
  color: #0d6efd;
}

/* ---------------------------------------------- Core Team ---------------------------------------- */
/* ---------- Card ---------- */

.core-team-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.35rem;
  padding: 1.75rem;
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}

.core-team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(15, 23, 42, 0.08);
}

.core-team-horizontal {
  display: flex;
  align-items: center;
}

/* ---------- Image ---------- */

.core-team-image-wrap {
  position: relative;
  /*width: 120px;*/
  /*min-width: 120px;*/
  height: 250px;
  border-radius: 0.35rem;
  overflow: hidden;
}

.core-team-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.core-team-image-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 1) 90%
  );
  pointer-events: none;
}

/* ---------- Text ---------- */

.core-team-content {
  margin-left: 1.5rem;
  flex: 1;
}

.core-team-name {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.core-team-role {
  font-size: 0.9rem;
  font-weight: 500;
  color: #0f172a;
}

.core-team-institution {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.core-team-bio {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---------- Mobile ---------- */

@media (max-width: 575px) {
  .core-team-horizontal {
    flex-direction: column;
    text-align: center;
  }

  .core-team-content {
    margin-left: 0;
    margin-top: 1rem;
  }

  .core-team-image-wrap::after {
    display: none;
  }
}

/* ---------------------------------------------- Community ---------------------------------------- */
/* --------- Card ---------*/

.community-card {
  border: 1.5px solid #dee2e6; /* visible border */
  border-radius: 0.75rem;
}
.community-card:hover {
  border-color: #adb5bd; /* darker border on hover */
  box-shadow: 0 0.75rem 1.5rem rgba(0,0,0,0.15); /* slightly stronger shadow */
}

.community-card-body {
  padding: 16px;
}

.community-card-body p {
  margin-bottom: 1rem;
}

/* ---------------------------------------------- Events ---------------------------------------- */
/* --------- Events view ---------*/

.events-row {
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
.events-row:hover {
    background-color: #e9ecef;
    transform: scale(1.01);
}

.events-actions button {
    min-width: 80px;
}

.events-date {
  width: 72px;
  text-align: center;
  border-radius: 8px;
  padding: 6px 4px;
  font-weight: 600;
  line-height: 1.1;
  flex-shrink: 0;
}

.events-date .day {
  font-size: 1.4rem;
}

.events-date .month {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.events-date .year {
  font-size: 0.75rem;
  opacity: 0.8;
}

.events-date.range {
  width: auto;
  padding: 6px 10px;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .events-date {
    margin-bottom: 15px;
  }
}

/* ---------------------------------------------- Workshops ---------------------------------------- */
/* --------- Workshops view ---------*/

/* Smooth hover effect for cards */
.workshopcard {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  border: 1.5px solid #dee2e6; /* visible border */
  border-radius: 0.75rem;
  padding: 16px;
}

.workshopcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 1rem 2rem rgba(0,0,0,0.2);
}

/* Left image card layout */
.workshopcard-horizontal {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.workshopcard-horizontal img {
  max-width: 120px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-right: 15px;
}

.workshopcard-summary {
  font-size: 0.9rem;
  color: #555;
}

.workshopbadge-category {
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .workshopcard-horizontal {
    flex-direction: column;
    text-align: center;
  }

  .workshopcard-horizontal img {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

.workshopbadge-repo {
  float: right;
  padding: 1px
}

.workshopbadge-build {
  float: right;
  padding: 1px;
}

.modalworkshop-summarytext {
  clear: right;
  padding-top: 5px;
}
