body {

}

main {
  margin-top: 4rem;
}

.layout-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* paste start */


.with-sidebar-first {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.with-sidebar-first > .sidebar-first-wrapper {
  /* border: solid green; */
  display: block;
  flex-basis: 20rem;
  flex-grow: 1;
}

.with-sidebar-first > .content-wrapper-outer {
  /* border: solid hotpink; */
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 50%;
}

.with-sidebar-first .content-wrapper-inner {
  /* border: solid orange; */

  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 6rem;

  .content {
    /* border: solid black; */
    /* outline: solid #666; */
    background: #fafafa;
    /* border-left: solid #ddd 1px;
    border-right: solid #ddd 1px; */
    flex-basis: 0;
    flex-grow: 999;
    min-inline-size: 60%;

    >div {
      padding: 0 2rem;
    }
  }

  .sidebar-second-wrapper {
    /* border: solid blue; */
    flex-basis: 20rem;
    flex-grow: 1;
  }

}
@media (width < 1230px) {
  .with-sidebar-first .content-wrapper-inner {
    flex-direction: column-reverse;
  }
}


.sidebar-first-wrapper,
.sidebar-second-wrapper {
  font-size: 90%;
}


/* paste end */


#block-drpl-learn-sitebranding {
  a {
    /* &::before {
      content: '//';
    } */
  }
}


.paragraph--type--media {
  &>div {
    text-align: center;
  }

  img {
    border: solid #333 2px;
    max-width: 99%;
    object-fit: contain;
    /* padding: 2px; */
  }
}

.paragraph--type--text {

  p + * {
    margin-block-start: 1.4rem;
  }
}

.paragraph--type--text,
.paragraph--type--summary {
  li {
    margin-bottom: 1rem;
  }
}


.navblock {
  h3 {
    a {
      text-decoration: none;
    }
  }

  ul {
    padding-inline: 0;
    line-height: 1.5rem;
    list-style-type: none;

    a {
      display: block;
      padding: 2px 4px;
      text-decoration: none;

      &:hover {
        background: #fafafa;
      }

    }
  }
}

[class*="paragraph--type--code"] {

  pre {
    /* background: #f0f0f0; */
    /* border: solid; */
    padding: 0;

    code {
      /* background: transparent; */
      font-size: 95%;
      font-family: monospace;

    }
  }
}


.simpletoc {
  ol {
    list-style-type: none;
    padding-inline-start: 0;


  }
}
