.test-offering-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 8px;
  padding: 1rem 1.15rem !important;
  margin-bottom: 0.85rem;
}

.card-content {
  margin-bottom: 0.85rem;
}

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

.test-info {
  padding-right: 12px;
}

.sample-requirements {
  margin-top: 0.65rem;
}

.requirements-items {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.requirement-item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.9rem;
  line-height: 1.35;
}

.requirement-item .icon {
  color: var(--color-teal);
  margin-top: 0.05rem;
}

.sample-type-tags,
.training-tags {
  margin-top: 0.65rem;
}

.sample-type-tags .tags,
.training-tags .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0 !important;
}

.laboratory-box {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.laboratory-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.lab-box {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  text-align: right;
}

.lab-logo {
  flex: 0 0 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-right: 0;
}

.lab-logo img {
  padding: 3px;
  max-width: 100%;
  max-height: 100%;
}

.lab-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.focal-person-info p {
  margin-bottom: 0.35rem;
}

.laboratory-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  word-wrap: break-word;
  hyphens: auto;
}

.agency-name {
  color: #666;
  font-size: 0.8rem;
  margin-bottom: 0.55rem;
}

.hero {
  position: relative;
  overflow: hidden;
}

.button.is-info.is-light.is-active {
  background-color: #3298dc;
  color: var(--color-white);
}

#lab-filters {
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

#lab-filters .control {
  margin-bottom: 0.5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.15;
  border-radius: 0.375rem;
  margin-right: 0;
  margin-bottom: 0;
}

.tag .icon {
  margin-right: 0.2rem;
}
