﻿.vegetable-season-table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin: 20px 0;
}

.vegetable-season-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  font-size: clamp(8px, 1.4vw, 11px);
  color: #333;
  table-layout: fixed;
}

.vegetable-season-table caption {
  text-align: left;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: clamp(11px, 1.8vw, 13px);
  color: #333;
}

.vegetable-season-table th,
.vegetable-season-table td {
  border: 1px solid #8ca879;
  padding: 2px 1px;
  text-align: center;
  height: 18px;
  line-height: 1.1;
}

.vegetable-season-table th {
  background-color: #c8ddb7;
  font-weight: bold;
}

.vegetable-season-table th:first-child,
.vegetable-season-table td:first-child {
  text-align: left;
  width: 31%;
  padding-left: 4px;
  font-weight: bold;
}

.vegetable-season-table th:not(:first-child),
.vegetable-season-table td:not(:first-child) {
  width: 5.75%;
}

.vegetable-season-table tr:nth-child(odd) {
  background-color: #dce9d1;
}

.vegetable-season-table tr:nth-child(even) {
  background-color: #c8ddb7;
}

.vegetable-season-table td.in-season::after {
  content: "x";
  font-weight: bold;
}

@media (max-width: 480px) {
  .vegetable-season-table {
    font-size: 8px;
  }

  .vegetable-season-table th:first-child,
  .vegetable-season-table td:first-child {
    width: 34%;
    padding-left: 3px;
  }

  .vegetable-season-table th,
  .vegetable-season-table td {
    padding: 1px;
    height: 17px;
  }
}