.c-content {
  display: flex;
  flex-direction: column;
  row-gap: 4px;
  text-align: justify;

  @media (1024px < width) {
    row-gap: 8px;
  }
}

.c-content p,
.c-content li {
  font-size: 14px;

  @media (1024px < width) {
    font-size: 16px;
  }
}

.c-content ul {
  list-style-type: disc;
  margin-left: 20px;
}

.c-page-content {
  font-size: 14px;

  @media (1024px < width) {
    font-size: 16px;
  }
}

.c-page-content * {
  font-family: var(--font-primary);
}

.c-page-content h2 {
  font-weight: 700;
  font-size: 16px;

  @media (1024px < width) {
    font-size: 20px;
  }
}

.c-page-content h3 {
  font-weight: 700;
  font-size: 16px;

  @media (1024px < width) {
    font-size: 16px;
  }
}

.c-page-content h2:not(:first-child) {
  margin-top: 16px;

  @media (1024px < width) {
    margin-top: 24px;
  }
}

.c-page-content h3 {
  margin-top: 16px;

  @media (1024px < width) {
    margin-top: 24px;
  }
}

.c-page-content ul {
  margin-top: 4px;

  @media (1024px < width) {
    margin-top: 8px;
  }
}

.c-page-content li {
  font-size: 14px;

  @media (1024px < width) {
    font-size: 16px;
  }
}

.c-page-content li:not(:first-child) {
  margin-top: 4px;

  @media (1024px < width) {
    margin-top: 8px;
  }
}

.c-page-content p {
  text-align: justify;
  font-size: 14px;

  @media (1024px < width) {
    font-size: 16px;
  }
}

.c-page-content p:not(:first-child) {
  margin-top: 8px;

  @media (1024px < width) {
    margin-top: 8px;
  }
}

.c-page-content ul {
  list-style-type: disc;
  margin-left: 24px;
}

.c-page-content figure {
  border-radius: 12px;
  overflow: hidden;
}

.c-page-content img {
  width: 100%;
}

.c-page-content #ez-toc-container {
  margin-top: 0;
  margin-bottom: 40px;
  padding: 20px;
  border-radius: 0;
  background-color: var(--color-primary-100) !important;
  border: 1px solid transparent !important;
  display: grid;

  @media (1024px < width) {
    margin-bottom: 24px;
    border: 1px solid rgba(from var(--color-primary) r g b / 0.3) !important;
  }
}

.c-page-content #ez-toc-container .ez-toc-title {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
  width: 100%;
  padding-left: 28px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 16px;

  @media (1024px < width) {
    padding-left: 36px;
  }
}

.c-page-content #ez-toc-container .ez-toc-cssicon-toggle-label {
  grid-column: 1 / -1;
  grid-row: 1 / 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  position: relative;

  &:after {
    @media (width <= 1024px) {
      content: '';
      width: 80px;
      position: absolute;
      bottom: -12px;
      border-bottom: 1px dashed var(--color-primary);
    }
  }
}

.c-page-content #ez-toc-container .ez-toc-cssicon-toggle-label .ez-toc-cssicon {
  width: 20px;
  height: 20px;
  position: static;
  border: none;

  @media (1024px < width) {
    width: 24px;
    height: 24px;
  }
}

.c-page-content #ez-toc-container .ez-toc-cssicon-toggle-label .ez-toc-cssicon .ez-toc-icon-toggle-span {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  position: relative;

  @media (1024px < width) {
    width: 24px;
    height: 24px;
  }
}

.c-page-content #ez-toc-container .ez-toc-cssicon-toggle-label .ez-toc-cssicon .ez-toc-icon-toggle-span::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5H20' stroke='%23367F2B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4 12H20' stroke='%23367F2B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4 19H20' stroke='%23367F2B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-size: 100%;
  width: 20px;
  height: 20px;

  @media (1024px < width) {
    width: 24px;
    height: 24px;
  }
}

.c-page-content #ez-toc-container .ez-toc-cssicon-toggle-label .ez-toc-cssicon .ez-toc-icon-toggle-span svg {
  display: none;
}

.c-page-content #ez-toc-container nav > .ez-toc-list {
  margin-top: 24px !important;

  @media (1024px < width) {
    margin-top: 12px !important;
  }
}

.c-page-content #ez-toc-container nav ul li a {
  font-size: 14px;

  @media (1024px < width) {
    font-size: 16px;
  }
}

.c-page-content.c-page-content--modified h2 {
  font-weight: 700;
  font-size: 14px;

  @media (1024px < width) {
    font-size: 24px;
  }
}

.c-page-content.c-page-content--modified h2:not(:first-of-type) {
  margin-top: 20px;

  @media (1024px < width) {
    margin-top: 40px;
  }
}

.c-page-content.c-page-content--modified p:not(:first-child) {
  margin-top: 6px;

  @media (1024px < width) {
    margin-top: 12px;
  }
}
