/* Blog — content-first layout */

.blog-section {
  background:
    linear-gradient(180deg, #f7f4ee 0%, #fff 42%, #fff 100%);
}

.blog-empty {
  text-align: center;
  color: #6a7280;
  padding: 2.5rem 1rem;
  margin: 0;
  font-size: 1.05rem;
}

.blog-entry {
  padding: 1.65rem 0 1.85rem;
  border-bottom: 1px solid rgba(15, 44, 76, 0.1);
}

.blog-entry:first-child {
  padding-top: 0;
}

.blog-entry:last-child {
  border-bottom: 0;
}

.blog-entry-date {
  display: block;
  color: #8a7350;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.55rem;
}

.blog-entry-title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.45;
  color: var(--navy-deep, #0f2c4c);
}

.blog-entry-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.blog-entry-title a:hover {
  color: var(--gold, #c4a35a);
}

.blog-entry-excerpt {
  margin: 0 0 1rem;
  color: #4d5663;
  line-height: 1.85;
  font-size: 1.02rem;
}

.blog-entry-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy-deep, #0f2c4c);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
}

.blog-entry-link:hover {
  color: var(--gold, #c4a35a);
}

.blog-entry-link i {
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}

body:not(.rtl) .blog-entry-link i {
  transform: none;
}
body:not(.rtl) .blog-entry-link:hover i {
  transform: translateX(3px);
}
body.rtl .blog-entry-link:hover i {
  transform: translateX(-3px);
}

body:not(.rtl) .blog-back i {
  margin-inline-end: 0.35rem;
}

.blog-article {
  padding-bottom: 1rem;
}

.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  color: #6a7280;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.blog-back:hover {
  color: var(--gold, #c4a35a);
}

.blog-article-title {
  margin: 0.45rem 0 1.35rem;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.35;
  color: var(--navy-deep, #0f2c4c);
}

.blog-article-body {
  color: #3a4250;
  font-size: 1.08rem;
  line-height: 2;
  white-space: pre-wrap;
  word-break: break-word;
}

@media (max-width: 767px) {
  .blog-entry {
    padding: 1.35rem 0 1.5rem;
  }

  .blog-article-body {
    font-size: 1.02rem;
    line-height: 1.9;
  }
}
