.posts-container {
  width: 100%;

  display: flex;
  flex-direction: column;

  padding: 41px max(calc((100% - (var(--view-port) - 200px)) / 2), 5%);

  .last-row {
    display: flex;
    align-items: center;
    gap: 24px;

    .social-links {
      display: flex;
      align-items: center;
      gap: 18px;

      img {
        max-width: 24px;
        cursor: pointer;

        transition: all ease .5s;
      }

      img:hover {
        opacity: 0.9;

        transform: scale(1.04);
      }
    }
  }

  .margin-b-t {
    margin-top: 30px;
    margin-bottom: 80px;
  }

  .name { grid-area: name; }
  .email { grid-area: email; }
  .comment { grid-area: comment; }

  .submit-btn {
    display: flex;
    height: 48px;
    padding: 22px 24px;
    justify-content: center;
    align-items: center;
    border-radius: 600px;
    background: #33A3FF;

    color: #FFF;
    font-family: Inter;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: -0.45px;

    transition: all ease .5s; 

    border: transparent;

    cursor: pointer;

    margin-top: 25px;
  }
}

.bold {
  font-weight: 600;
}

.title {
  color: #181837;
  font-family: Poppins;
  font-size: 36px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;

  margin-top: 57px;
  margin-bottom: 32px;
}

.post-separator-content {
  width: 100%;
  height: 1px;

  background: #E7E7E7;
}

.post-time-and-social-wrapper {
  width: 100%;
  display: flex;
  margin-top: 32px;

  justify-content: space-between;
  align-items: center;

  .text {
    color: #2F316E;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
  }

  .first-row {
    display: flex;
    align-items: center;
    gap: 32px;

    .separator {
      width: 1px;
      height: 22px;
      border: 1px solid #E7E7E7;
    }
  }

 
}

.post-image {
  width: 100%;
  object-fit: cover;
  height: 100%;
  max-height: 384px;
  margin-top: 40px;
}

.post-texts {
  color: #2F316E70;
  font-family: Inter;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.45px;

  margin-top: 40px;
}

.post-subtitle {
  color: #181837;

  font-family: Poppins;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;

  margin-top: 40px;

  margin-bottom: -16px;
}

.post-image-description {
  color: #3F3F3F;
/* text/14 - regular */
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;

  margin-top: 10px;
}

.social-links-wrapper {
  border-radius: 16px;
  background: var(--blue-100);

  display: flex;
  width: 100%;
  padding: 32px;
  justify-content: center;
  align-items: center;
  gap: 24px;

  margin-top: 60px;

  margin-bottom: 104px;
}

.comments {
  display: flex;
  flex-direction: column;

  align-items: flex-end;

  width: 100%;
}

.comments-header {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 80px;
  color: #242054;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: Poppins;
  font-size: 22px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;

  margin-bottom: 29px;

  .row {
    display: flex;
    align-items: center;
    gap: 14px;

    img {
      width: 24px;
      height: 24px;
    }
  }

  .quantity {
    width: 40px;
    height: 40px;

    border-radius: 50%;

    border: 1.5px solid #12233310;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #122333;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Poppins;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
  }
}

.comments-form {
  width: 100%;

  display: grid;

  grid-template-columns: 1fr 1fr;
 
  grid-template-areas: 
    "name email"
    "comment comment";

  gap: 16px;

  input {
    border-radius: 6px;
    border: 1px solid #E0E0E0;
    height: 48px;

    padding: 23px 22px;

    color: #9199A0;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
  }

 

  textarea {
    border-radius: 6px;
    border: 1px solid #E0E0E0;

    padding: 23px 22px;

    color: #9199A0;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;

    height: 70px;

    margin-top: 0;
  }

  input::placeholder, textarea::placeholder {
    color: #9199A0;
  }

}

.comment {
  width: 100%;
  display: flex;

  flex-direction: column;

  gap: 12px;

  padding: 32px 0;

  margin-top: 40px;

  border-top: 1px solid rgba(0, 0, 0, 0.10);

  .title-wrapper {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: flex-end;
    background-color: red;
    margin: 0 !important;
  }

  .title {
    color: var(--blue-500);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Poppins;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
  }

  .time {
    color: var(--blue-500);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Poppins;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin-left: 12px;
  }

  .text {
    color: #2D2869;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%;
  }

}


.more-posts-container {
  width: 100%;
  display: flex;
  flex-direction: column;

  padding: 0 max(calc((100% - var(--view-port)) / 2), 5%);

  .more-posts-title {
    color: #3B3A59;
    font-family: Poppins;
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;

    margin-bottom: 59px;
  }

  .list-of-posts {
    display: grid;

    grid-template-columns: 1fr 1fr 1fr;

    gap: 28px;
  }

  margin-bottom: 175px;
}


@media screen and (max-width: 1000px) {
  .more-posts-container {
    .list-of-posts {
      grid-template-columns: 1fr 1fr;
    }
  }
}

@media screen and (max-width: 750px) {
  .more-posts-container {
    .list-of-posts {
      grid-template-columns: 1fr;
    }
  }

  .posts-container {
    .submit-btn {
      width: 100%;
    }
  }

  .comments-form {
    grid-template-columns: 1fr;
   
    grid-template-areas: 
      "name"
      "email"
      "comment";
  }

  .post-time-and-social-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.row-comments-number {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-items: center;
  gap: 14px;

  img {
    width: 24px;
    height: 24px;
  }
}

.post-content {
  height: auto;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #2F316E;
  margin-top: 40px;
}

/* Headings */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin-top: 40px;
  margin-bottom:24px;
  font-weight: bold;
  line-height: 1.2;
  color: #181837;

}

.post-content h1 {
  font-size: 2.5em;
}

.post-content h2 {
  font-size: 2em;
}

.post-content h3 {
  font-size: 1.75em;
}

.post-content h4 {
  font-size: 1.5em;
}

.post-content h5 {
  font-size: 1.25em;
}

.post-content h6 {
  font-size: 1em;
}

/* Paragraphs */
.post-content p {
  margin-bottom: 1.5em;
}

/* Links */
.post-content a {
  color: #0073aa;
  text-decoration: none;
}

.post-content a:hover,
.post-content a:focus {
  color: #005177;
  text-decoration: underline;
}

/* Lists */
.post-content ul,
.post-content ol {
  margin: 1em 0;
  padding-left: 40px;
}

.post-content ul li,
.post-content ol li {
  margin-bottom: 0.5em;
}

/* Blockquotes */
.post-content blockquote {
  margin: 1.5em 0;
  padding: 0.5em 1em;
  background-color: #f9f9f9;
  border-left: 5px solid #ccc;
}

.post-content blockquote p {
  margin: 0;
  font-style: italic;
}

/* Images */
.post-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em auto;
}

/* Tables */
.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
}

.post-content table th,
.post-content table td {
  padding: 0.75em;
  border: 1px solid #ddd;
}

.post-content table th {
  background-color: #f4f4f4;
  font-weight: bold;
}

/* Code blocks */
.post-content pre {
  background-color: #f4f4f4;
  padding: 1em;
  overflow-x: auto;
  margin: 1.5em 0;
}

.post-content code {
  background-color: #f4f4f4;
  padding: 0.2em 0.4em;
  border-radius: 3px;
}

/* Horizontal rules */
.post-content hr {
  border: 0;
  border-top: 1px solid #ddd;
  margin: 2em 0;
}

/* Captions */
.post-content figcaption {
  text-align: center;
  font-style: italic;
  font-size: 0.9em;
  color: #666;
}

/* Quotes */
.post-content q {
  quotes: "“""”""‘""’";
}

.post-content q:before {
  content: open-quote;
}

.post-content q:after {
  content: close-quote;
}

/* Inline elements */
.post-content strong {
  font-weight: bold;
}

.post-content em {
  font-style: italic;
}

/* Comments in content */
.post-content .wp-block-comment {
  background-color: #f9f9f9;
  border-left: 5px solid #ccc;
  margin: 1.5em 0;
  padding: 0.75em 1.25em;
}

/* Align classes */
.post-content .alignleft {
  float: left;
  margin-right: 1.5em;
}

.post-content .alignright {
  float: right;
  margin-left: 1.5em;
}

.post-content .aligncenter {
  display: block;
  margin: 0 auto;
}

/* Clear floats */
.post-content .clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Other elements */
.post-content .wp-caption {
  max-width: 100%;
  text-align: center;
  margin: 1.5em 0;
}

.post-content .wp-caption img {
  margin: 0 auto;
}

.post-content .wp-caption-text {
  font-size: 0.9em;
  color: #666;
  margin-top: 0.5em;
}

/* Gallery */
.post-content .gallery {
  margin: 0 -10px;
}

.post-content .gallery-item {
  display: inline-block;
  margin: 10px;
  vertical-align: top;
}

.post-content .gallery-columns-1 .gallery-item {
  max-width: 100%;
}

.post-content .gallery-columns-2 .gallery-item,
.post-content .gallery-columns-3 .gallery-item,
.post-content .gallery-columns-4 .gallery-item,
.post-content .gallery-columns-5 .gallery-item,
.post-content .gallery-columns-6 .gallery-item,
.post-content .gallery-columns-7 .gallery-item,
.post-content .gallery-columns-8 .gallery-item,
.post-content .gallery-columns-9 .gallery-item {
  max-width: calc(100% / 2 - 20px);
}