/* Page Title Styles */
.page-title {
  background-color: #ff6900;
  text-align: center;
  padding: 20px;
  margin-bottom: 20px;
}

.page-title h1 {
  color: white;
  font-size: 36px;
  margin: 0;
}

/* Base styles for apparatus container */
.apparatus-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 90%;
  margin: auto;
}

/* Individual apparatus item styles */
.apparatus-item {
  text-align: center;
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 400px; /* Set consistent height for all items */
  box-sizing: border-box;
}

.apparatus-item img {
  width: 100%;
  max-width: 300px;
  margin-bottom: 8px;
}

/* Apparatus Label Styles */
.apparatus-label {
  background-color: #ff6900;
  font-weight: bold;
  color: white;
  padding: 10px;
  font-size: 16px;
  position: relative;
  margin-bottom: 8px;
}

.apparatus-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #3b87b8;
}

/* Apparatus Description Styles */
.apparatus-description {
  font-size: 14px;
  color: #f5f5f5;
  padding-top: 10px;
}

/* Grid styles for desktop devices */
@media (min-width: 768px) {
  .apparatus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
  }

  .apparatus-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
