.main__wrapper {
  background-color: var(--color-background);
  margin-top: 5rem;
}

.minor-section {
  padding: 5rem 2rem;
  max-width: 120rem;
  margin: 0 auto;
}

.minor__header {
  margin-bottom: 4rem;
}

.minor__title {
  font-size: 3.6rem;
  color: var(--color-primary-switch);
  font-weight: 700;
  border-bottom: 3px solid var(--color-border);
  padding-bottom: 0.5rem;
  text-align: center;
}

.minor__description {
  font-size: 1.8rem;
  color: var(--color-primary-switch);
  margin-top: 1rem;
  line-height: 1.6;
}

.minor__table-wrapper {
  overflow-x: auto;
}

.minor__table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.05);
  border-radius: 0.8rem;
  overflow: hidden;
}

.minor__table th,
.minor__table td {
  padding: 1.5rem 2rem;
  text-align: left;
  border-right: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.minor__table th:last-child,
.minor__table td:last-child {
  border-right: none;
}

.minor__table th {
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-size: 2.2rem;
}

/* Set column widths */
.minor__table td {
  border-bottom: 1px solid #ddd;
  font-size: 1.6rem;
  color: var(--color-primary);
}

.minor__table td:first-child,
.minor__table th:first-child {
  width: 15%;
}

.minor__table td:nth-child(2),
.minor__table th:nth-child(2) {
  width: 35%;
}

.minor__table td:nth-child(3),
.minor__table th:nth-child(3) {
  width: 15%;
}

.minor__table td:nth-child(4),
.minor__table th:nth-child(4) {
  width: 35%;
}

.table__section-title {
  background-color: var(--color-primary);
  color: white;
  text-align: center;
  padding: 2rem;
  font-size: 2.6rem;
}

.minor__table tr:hover {
  background-color: var(--color-hover);
  transition: background-color 0.3s ease-in-out;
}

.note-section {
  margin-top: 4rem;
  padding: 2rem;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 0.8rem;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05);
}

.note-title {
  font-size: 2.4rem;
  color: var(--color-primary);
  font-weight: 600;
}

.note-list {
  margin-top: 1rem;
  font-size: 1.6rem;
  color: var(--color-primary);
  line-height: 1.5;
}

@media (max-width: 48em) {
  .minor__table th,
  .minor__table td {
    padding: 1rem;
  }
}

.minor__table td {
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.minor__table tr:hover td {
  transform: scale(1.02);
}
