body {
    font-family: Arial, sans-serif;
    margin: 0; padding: 0;
    background: #fff;
    color: #333;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #c8102e;
    padding: 10px 20px;
    color: white;
}

.logo img {
    height: 40px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: bold;
}

main {
    padding: 20px;
}

h1, h2 {
    color: #c8102e;
}

input[type="text"] {
    width: 100%;
    max-width: 400px;
    padding: 8px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
    gap: 20px;
}

.card {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
}

.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 8px 12px;
    background: #c8102e;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 8px;
    text-align: center;
}

.category-section {
    margin-bottom: 40px;
}


.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Make images and text scale nicely */
img, .card {
  max-width: 100%;
  height: auto;
}

body {
  font-family: Arial, sans-serif;
  margin: 0 1rem;
}

header, nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #333;
}

input#searchBox {
  width: 100%;
  max-width: 400px;
  padding: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table thead th, table tbody td {
  padding: 8px;
  border: 1px solid #ccc;
  text-align: center;
  white-space: nowrap; /* prevent cell content from wrapping */
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  margin-bottom: 1.5rem;
}
