/* base: full‑width with side padding */
.custom-container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
}

/* sm and up: cap at 540px */
@media (min-width: 576px) {
  .custom-container {
    max-width: 540px;
  }
}

/* md and up: cap at 720px */
@media (min-width: 768px) {
  .custom-container {
    max-width: 720px;
  }
}

/* lg and up: cap at 960px */
@media (min-width: 992px) {
  .custom-container {
    max-width: 960px;
  }
}

/* xl and up: cap at 1280px (wider than Bootstrap’s 1140px) */
@media (min-width: 1200px) {
  .custom-container {
    max-width: 1280px;
  }
}

/* xxl and up: cap at 1600px (new extra‑wide) */
@media (min-width: 1400px) {
  .custom-container {
    max-width: 1600px;
  }
}
