.page-container {
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
  }

  .page-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .content-container {
    width: 100%;
    height: 100%;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .page-title-container {
    padding: 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .page-title {
    font-weight: 600;
    line-height: 150%;
    text-align: center;
    color: var(--clr-primary-2);
  }


  h1 {
    font-size: 3rem; /* 48px */
  }
  
  h2 {
    font-size: 2.5rem; /* 40px */
  }
  
  h3 {
    font-size: 1.875rem; /* 30px */
  }
  
  h4 {
    font-size: 1.5rem; /* 24px */
  }
  
  h5 {
    font-size: 1.25rem; /* 20px */
  }
  
  h6 {
    font-size: 1.125rem; /* 18px */
    font-weight: 600;
  }


h1, h2, h3, h4, h5, h6 {
    color: var(--clr-primary-2);
}

p {
    font-size: 1rem /* 18px */;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: var(--clr-primary-2);
}

button {
  width: 150px;
  min-width: 150px;
}

.page-middle {
  padding: 1rem;
  display: flex;
  justify-content: center;
}

.create-article-container {
    width: 100%;
    max-width: 874px;
}

.result-container {
  padding: 1rem;
}

.editor-container, .preview-container {
  width: 100%;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  background: var(--clr-white);
  box-shadow: 0px 7px 10px rgba(196, 207, 230, 0.2);
  border-radius: 10px;
}

.preview-container {
  height: 70vh;
  overflow: auto;
  align-items: center;
}

.preview-content {
  width: 100%;
  max-width: 650px;
}

.page-title {
  font-weight: 600;
  line-height: 40px !important;
  text-align: center;
  color: var(--clr-primary-2);
}

h1 {
  font-size: 3rem; /* 48px */
}

h2 {
  font-size: 2.5rem; /* 40px */
}

h3 {
  font-size: 1.875rem; /* 30px */
}

h4 {
  font-size: 1.5rem; /* 24px */
}

h5 {
  font-size: 1.25rem; /* 20px */
}

h6 {
  font-size: 1rem; /* 16px */
  font-weight: 600;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--clr-primary-2);
}

p {
  font-size: .875rem /* 14px */;
  margin-bottom: 1rem;
}

h6 {
  color: var(--clr-primary-2);
  font-weight: 600;
}

b {
  font-weight: 600;
}

.preview-content,
.preview-content ol {
  padding: 0 1rem 1rem 1rem;
}

/* Restrict the size of article images */
.content-image {
  max-width: 100%; /* Prevents overflow */
  height: auto; /* Maintains aspect ratio */
  display: block; /* Prevents inline spacing issues */
  margin: 10px 0; /* Adds some spacing */
}

/* Ensure profile images retain their expected size */
.profile-image {
  width: 75px;  /* Adjust this based on design */
  height: 75px; /* Keeps profile images square */
  border-radius: 50%; /* Optional: makes it circular */
  object-fit: cover; /* Ensures the image does not stretch */
}

.article-container img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto; /* Centers the image */
  max-height: 500px; /* Prevents oversized images */
  object-fit: contain; /* Ensures the image scales properly */
}

.preview-content img {
  max-width: 90%; /* Prevents images from touching the edges */
  max-height: 400px; /* Adjust as needed */
  border-radius: 10px; /* Optional: Adds rounded corners */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Optional: Adds slight shadow */
}

@media screen and (max-width: 1080px) {
  .recommended-container{
    display: flex;
    flex-direction: column;
  }
}

@media screen and (min-width: 768px) {
  
  h3 {
    font-size: 2.5rem; /* 40px */
  }

  h6 {
    font-size: 1.125rem; /* 18px */
  }

  p {
    font-size: 1rem /* 16px */;
  }
}

