/* ===== Ayyub Binnat — sayt düzəlişləri ===== */

/* 1. Başlıq loqosu: daxili səhifələrdə şəkil <span> içindədir (ana səhifədə <h1>) */
.smart-head .logo-link > span,
.smart-head .logo-link > h1 {
  grid-area: mark;
  margin: 0;
  line-height: 0;
  display: flex;
  align-items: center;
}

/* 2. "Ən çox oxunanlar": mətn sütunu ilə eyni en, simmetrik kartlar */
.single .related-posts {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.single .related-posts .block-head {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
  box-shadow: none !important;
}
.single .related-posts .loop-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch;
}
.single .related-posts .l-post {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
}
.single .related-posts .l-post .media {
  margin-bottom: 14px;
}
.single .related-posts .l-post .content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.single .related-posts .l-post .post-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
  min-height: calc(3 * 1.35em);
  margin-bottom: 6px;
}
.single .related-posts .l-post .read-more-btn {
  margin-top: auto !important;
  align-self: flex-start;
}
.single .related-posts .l-post .post-meta {
  margin-bottom: 14px;
}
.single .related-posts .l-post .media {
  width: 100% !important;
  align-self: stretch;
  flex: none;
}
@media (max-width: 700px) {
  .single .related-posts .loop-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 18px !important; }
  .single .related-posts .l-post { flex-direction: row; align-items: stretch; gap: 14px; }
  .single .related-posts .l-post .media { width: 42% !important; margin: 0 !important; align-self: flex-start !important; }
  .single .related-posts .l-post .post-title { min-height: 0; font-size: 15px !important; }
  .single .related-posts .l-post .post-meta { margin-bottom: 10px; }
}
