/* ── Year badge & line ─────────────────────────────────────────────────── */
.awards-year-badge {
  flex-shrink: 0;
  background: linear-gradient(135deg, #1a3c5e 0%, #2a6496 100%);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  padding: 6px 22px;
  border-radius: 40px;
  letter-spacing: 2px;
  box-shadow: 0 4px 14px rgba(42, 100, 150, .3);
}

.awards-year-line {
  border-color: #2a6496;
  border-width: 2px;
  opacity: .3;
}

/* ── Award type heading ────────────────────────────────────────────────── */
.awards-type-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1a3c5e;
  border-left: 4px solid #f0a500;
  padding-left: 10px;
  margin-bottom: 14px;
}

/* ── Award card ────────────────────────────────────────────────────────── */
.award-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

/* Photo area */
.award-card-photo {
  position: relative;
  height: 160px;
  background: linear-gradient(135deg, #e8f0fe 0%, #d0e4fa 100%);
  overflow: hidden;
}

.award-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.award-card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #b0c4d8;
}

.award-card-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #f0a500;
  color: #fff;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

/* Card body */
.award-card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.award-category-tag {
  display: inline-block;
  background: #1a3c5e;
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .5px;
  border-radius: 20px;
  padding: 2px 10px;
  margin-bottom: 4px;
  align-self: flex-start;
}

.award-recipient {
  font-size: .95rem;
  font-weight: 700;
  color: #1a3c5e;
  line-height: 1.3;
}

.award-film {
  font-size: .78rem;
  color: #6c757d;
  font-style: italic;
  margin-top: 2px;
}

/* ── Popover Custom Styles ────────────────────────────────────────────── */
.popover {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  background: #1a3c5e;
}

.popover-body {
  color: #fff;
  padding: 12px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
}

.bs-popover-top>.popover-arrow::after {
  border-top-color: #1a3c5e;
}

.bs-popover-bottom>.popover-arrow::after {
  border-bottom-color: #1a3c5e;
}

.bs-popover-start>.popover-arrow::after {
  border-left-color: #1a3c5e;
}

.bs-popover-end>.popover-arrow::after {
  border-right-color: #1a3c5e;
}

/* ── Responsive tweaks ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .award-card-body {
    padding: 10px;
  }

  .award-recipient {
    font-size: 0.85rem;
  }

  .award-category-tag {
    font-size: 0.6rem;
    padding: 1px 8px;
  }
}

@media (max-width: 576px) {
  .awards-year-badge {
    font-size: 1.1rem;
    padding: 5px 16px;
  }

  .award-card-photo {
    height: 140px;
  }

  .award-recipient {
    font-size: 0.8rem;
  }

  /* Ensure popover doesn't cover too much on small screens */
  .popover {
    max-width: 250px;
  }
}
