.search-bar-link {
  padding: 7px 10px;
  border-radius: 4px;
  border: 1px solid #d0d7de;          /* subtle grey border */
  background: #f3f7f6;                /* soft tint */
  color: #1f2933;                     /* slightly softer than pure black */
  text-decoration: none;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.search-bar-link:hover {
  background: #e6f0ee;                /* slightly darker on hover */
  border-color: #b8c2cc;
}

.header-img {
  /* Make a square so the circle isn't an oval */
  aspect-ratio: 1 / 1 !important;       /* crucial */

  /* Show entire image */
  object-position: center !important;   /* or top, etc. */

  /* Circle + nice background for the letterbox area */
  border-radius: 50% !important;
  background: #fff !important;          /* or match your page color */

  /* Your effects */
  box-shadow: -4.98px 4.98px 18.91px 4.98px rgba(51, 50, 13, 0.4) inset !important;
  transition: opacity 1s ease-in-out !important;
  opacity: 1 !important;
  padding: 0.6rem;
}

.clickable-card {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.clickable-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, .15) !important;
}

.clickable-card:active {
  transform: translateY(-1px);
}

/* Keep inner links above the card click area */
.clickable-card a,
.clickable-card button {
  position: relative;
  z-index: 2;
}

/* Top accent strip */
.view-accent-strip {
  height: 6px;
  background-color: var(--dark-green);
}

/* Card wrapper */
.view-card {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.view-card:hover {
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

/* Image */
.view-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--dark-green);
}

/* Title */
.view-title {
  font-size: 1.8rem;
  color: #1b5e20;
  margin-bottom: 0.5rem;
}

/* Description */
.view-description {
  font-size: 1rem;
  color: #6c757d; /* Bootstrap secondary text color */
  margin-bottom: 1rem;
}

/* Button */
.view-btn {
  border-radius: 12px;
}
