/* Custom layout fixes for sidebar and main content */

/* Container should use flexbox for proper side-by-side layout */
@media only screen and (min-width: 825px) {
  #container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: flex-start;
    max-width: 1024px;
    margin: 0 auto;
  }

  #content {
    width: 100%;
    float: none;
  }

  #sidebar {
    width: 100%;
    float: none;
  }
}

/* Mobile: stack vertically */
@media only screen and (max-width: 824px) {
  #container {
    display: block;
  }

  #content,
  #sidebar {
    width: 100%;
    float: none;
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
}
