
like this? /* === Global resets === */
html {
  font-family: "PT Sans", Helvetica, Arial, sans-serif;
}
@media (min-width: 48em) {
  .content {
    margin-left: 20rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
@media (min-width: 58em) {
  html { font-size: 20px; }
}

/* === Sidebar Styling (Unchanged Original) === */
.sidebar {
  font-family: "PT Sans", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
  background-color: #202020;
  padding: 2rem 1rem;
}
.sidebar a,
.sidebar-about h1 {
  color: #ffffff;
}
.sidebar-about h1 {
  font-size: 1.05rem;
  line-height: 1.2;
  font-family: "Abril Fatface", serif;
  margin: 1rem 0 0.5rem 0;
  white-space: normal;
  word-break: break-word;
  text-align: left;
  max-width: 16rem;
}
.sidebar-about .lead {
  font-size: 0.75rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.5);
}

.sidebar-nav {
  margin-bottom: 1rem;
}
.sidebar-nav-item {
  display: block;
  line-height: 1.75;
}
.sidebar-nav-item.active {
  font-weight: bold;
}
@media (min-width: 48em) {
  .sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 20rem;
    overflow-y: auto;
    z-index: 1;
  }
  .sidebar-sticky {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
  }
}

/* === Content Area === */
.content {
  padding-top: 4rem;
  padding-bottom: 4rem;
  margin-left: 20rem;
  padding-left: 3.5rem;
  padding-right: 3.5rem;
  box-sizing: border-box;
  max-width: calc(100vw - 20rem);
  overflow-x: hidden;
}

/* === Table Styling === */
table {
  width: 100%;
  font-size: 0.85rem;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 1rem 0;
}
th, td {
  padding: 0.3rem 0.5rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ccc;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
}
/* Column widths for 7 columns */
table th:nth-child(1), table td:nth-child(1) { width: 5.5rem; } /* Treaty Title */
table th:nth-child(2), table td:nth-child(2) { width: 3.75rem; }    /* Status */
table th:nth-child(3), table td:nth-child(3) { width: 4rem; }    /* Date of Signature */
table th:nth-child(4), table td:nth-child(4) { width: 5.5rem; }    /* Entry Into Force */
table th:nth-child(5), table td:nth-child(5) { width: 5rem; }  /* Amendment Protocols */
table th:nth-child(6), table td:nth-child(6) { width: 5rem; }  /* Side Instruments */
table th:nth-child(7), table td:nth-child(7) {
  width: 4.25rem;
  text-align: center;
} /* Download */
@media (max-width: 48em) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  table::-webkit-scrollbar {
    height: 8px;
  }
  table::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
  }
}

/* === Footer === */
footer {
  clear: both;
  display: block;
  width: 100%;
  margin-top: 3rem;
  padding: 2rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
  position: relative;
}

/* Flex Layout for Footer Stick */
#wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
#main {
  flex: 1;
}

/* === Mobile Fixes === */
@media (max-width: 48em) {
  .sidebar {
    position: relative;
    width: 100%;
    padding: 1rem;
  }
  .sidebar-sticky {
    position: static;
  }
  .content {
    margin-left: 0;
    padding: 1rem;
    max-width: 100%;
  }
}

.dataTables_filter {
  margin-bottom: 1rem; /* or try 1.5rem for a bit more space */
}

html, body {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1 0 auto;
}

.footer-info-box {
  flex-shrink: 0;
  margin-top: 3rem;
  padding: 1.5rem;
  background-color: #f2f2f2;
  border: 1px solid #ddd;
  text-align: center;
  font-size: 0.85rem;
  color: #333;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.footer-tier {
  margin-top: 1.5rem;
}

.footer-tier-title {
  font-weight: bold;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #000;
}

.footer-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
