
/* === content-single-main related classes === */

/* Article meta grid (title + small meta row) */
.katen-article{
    padding: 18px;
    border-radius: 12px;
    background: #fff;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}
.katen-article-meta-grid {
  display: grid;
  gap: 12px;
  align-items: center;
  margin: 20px 0;
}

/* Local title (smaller, used on content part if needed) */
.katen-local-title {
  margin: 12px 0 8px;
  line-height: 1.15;
  font-size: 32px;
  font-weight: 700;
  color: #0f1724;
}

/* Author row */
.katen-author-row { margin-top: 6px; color: #8b8b8b; font-size: 14px; }
.katen-author-row-inner { display:flex; align-items:center; gap:10px; }

/* Author meta inside the small row */
.katen-author-meta { display:flex; flex-direction:column; }
.katen-author-name { font-weight:600; color:#222; }
.katen-author-date { font-size:13px; color:#9a9a9a; }

/* Content body (use existing theme typography rules, these are fallbacks) */
.katen-article-content {
  margin-top: 12px;
  line-height: 1.8;
  color: #3a3a3a;
  font-size: 16px;
}

/* Tags wrapper */
.katen-post-tags-wrap { margin-top: 22px; }

/* Author box (detailed) */
.katen-author-box {
  display:flex;
  gap:18px;
  padding:18px;
  border-radius:12px;
  background:#fff;
  margin-top:26px;
  box-shadow:0 6px 18px rgba(0,0,0,0.04);
  align-items:flex-start;
}
.katen-author-avatar-box { flex:0 0 96px; }
.katen-author-body { flex:1; }
.katen-author-name-large { font-weight:700; font-size:16px; color:#0f1724; }
.katen-author-desc { color:#6b7280; margin-top:8px; }
.katen-author-more-wrap { margin-top:10px; }
.katen-author-more { color:#ff718a; font-weight:700; text-decoration:none; }

/* Related posts */
.katen-related { margin-top:28px; }
.katen-related-title { margin:0 0 12px; font-size:18px; font-weight:700; color:#0f1724; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.related-card {
  display:block;
  background:#fff;
  padding:10px;
  border-radius:8px;
  text-decoration:none;
  color:inherit;
  transition: transform .18s ease;
}
.related-card:hover { transform: translateY(-6px); }

.related-card-thumb {
  width:100%;
  height:130px;
  object-fit:cover;
  border-radius:6px;
  display:block;
}
.related-placeholder {
  width:100%;
  height:130px;
  background:#f3f3f3;
  border-radius:6px;
}
.related-card-title { margin-top:8px; font-weight:700; color:#0f1724; }
.related-card-date { color:#9a9a9a; font-size:13px; margin-top:6px; }
.katen-related-none { color:#9a9a9a; }

/* Comments wrapper */
.katen-comments-wrap { margin-top:28px; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .katen-local-title { font-size: 28px; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .katen-article-content { font-size: 15px; }
}

@media (max-width: 700px) {
  .katen-local-title { font-size: 22px; }
  .related-grid { grid-template-columns: 1fr; }
  .katen-article-content { font-size: 15px; line-height: 1.7; }
  .katen-author-box { flex-direction: row; gap:12px; }
}

