/** Layout **/
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;

  main {
    flex: 1 0 auto;

    aside {
      flex: 1;
      padding-inline: 0.5rem;

      &:first-child {
        order: 2;
      }
    }
    

    &.container {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 0 1rem;

      &.container-reverse {
        flex-direction: row-reverse;
      }

      &:has(.home:not(.posts)) {
        align-items: center;
      }
    }
  }
}

@import "_core/header";
@import "_core/breadcrumb";
@import "_core/footer";
@import "_core/pagination";
