/* ==========================================================================
   Blog — siyahi kartlari ve detal sehifesi (EasyBlogPost mezmunu ucun)
   main.min.css-den sonra yuklenir. 1rem = 10px (html font-size 62.5%).
   ========================================================================== */

/* ---------- Siyahi: eyni hundurlukde kartlar ---------- */
.blog .row > .col-lg-4 {
  display: flex;
}

.blogItem {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blogItem__img {
  flex-shrink: 0;
}

.blogItem__title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blogItem p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

/* ---------- Detal: ust hisse ---------- */
.blog-detail__top {
  align-items: center;
}

.blog-detail__top img {
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 46rem;
}

/* Qisa metn (excerpt) bezen uzun olur — bashliq yox, giris abzasi kimi. */
.blog-detail__top h2 {
  font-family: Nunito-SemiBold, Helvetica, Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.55;
  color: #0D0B20;
  margin-bottom: 0;
  padding-left: 2rem;
  border-left: 3px solid #422988;
}

@media (max-width: 991px) {
  .blog-detail__top h2 {
    font-size: 1.8rem;
  }
}

/* ---------- Detal: mezmun ---------- */
.blog-detail__content {
  max-width: 88rem;
  margin: 0 auto;
}

.blog-detail__content h2 {
  font-family: Corbel-Bold, Helvetica, Arial, sans-serif;
  font-size: 2.8rem;
  line-height: 1.3;
  color: #212A31;
  margin: 4.2rem 0 1.6rem;
}

.blog-detail__content h3 {
  font-family: Corbel-Bold, Helvetica, Arial, sans-serif;
  font-size: 2.2rem;
  line-height: 1.35;
  color: #212A31;
  margin: 3rem 0 1.2rem;
}

.blog-detail__content h4 {
  font-family: Corbel-Bold, Helvetica, Arial, sans-serif;
  font-size: 1.9rem;
  line-height: 1.4;
  color: #212A31;
  margin: 2.4rem 0 1rem;
}

.blog-detail__content > :first-child {
  margin-top: 0;
}

.blog-detail__content p {
  line-height: 1.75;
  padding-bottom: 0;
  margin: 0 0 1.8rem;
}

.blog-detail__content strong,
.blog-detail__content b {
  font-family: Nunito-Bold, Helvetica, Arial, sans-serif;
  font-weight: normal;
}

.blog-detail__content a {
  color: #422988;
  text-decoration: underline;
}

.blog-detail__content ul,
.blog-detail__content ol {
  margin: 0 0 2rem;
  padding-left: 2.4rem;
}

.blog-detail__content ul {
  list-style: disc;
}

.blog-detail__content ol {
  list-style: decimal;
}

.blog-detail__content ul li,
.blog-detail__content ol li {
  line-height: 1.7;
  margin-bottom: .8rem;
}

.blog-detail__content ul li::marker,
.blog-detail__content ol li::marker {
  color: #422988;
}

.blog-detail__content img {
  max-width: 100%;
  height: auto;
  border-radius: 2rem;
  margin: 1.2rem 0 2.6rem;
}

.blog-detail__content blockquote {
  margin: 0 0 2rem;
  padding: 1.6rem 2rem;
  border-left: 3px solid #422988;
  background: #F7F7F7;
  border-radius: 0 1.2rem 1.2rem 0;
}

.blog-detail__content table {
  width: 100%;
  margin: 0 0 2rem;
  border-collapse: collapse;
  font-size: 1.5rem;
}

.blog-detail__content th,
.blog-detail__content td {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: .8rem 1.2rem;
  text-align: left;
}

@media (max-width: 991px) {
  .blog-detail__content h2 {
    font-size: 2.4rem;
    margin-top: 3.2rem;
  }

  .blog-detail__content h3 {
    font-size: 2rem;
    margin-top: 2.4rem;
  }

  .blog-detail__content img {
    border-radius: 1.4rem;
  }
}

/* ---------- Detal: diger blog yazilari ---------- */
.blog-related {
  margin-top: 6rem;
  margin-bottom: 4rem;
}

.blog-related .blog-top {
  margin-bottom: 3rem;
}

@media (max-width: 991px) {
  .blog-related {
    margin-top: 4rem;
  }
}
