
/*
Theme Name: Astra Jura Blog Child
Theme URI: https://jura-capital.com/
Description: Final version with centered layout, featured image, static similar articles, and mobile zoom lock.
Author: Mane Media
Template: astra
Version: 10.0
*/

/* Global Layout */
.single-post .site-content,
.single-post .ast-container,
.single-post .entry-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* Featured Image */
.single-post .post-thumb img,
.single-post .wp-post-image {
  display: block;
  margin: 0 auto 30px auto;
  border-radius: 12px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Typography */
.single-post h1, .single-post h2, .single-post h3 {
  color: #193656;
  line-height: 1.3;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.single-post p {
  line-height: 1.75;
  color: #1f2937;
  margin-bottom: 1.2rem;
  font-size: 17px;
}

/* Author */
.jc-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 40px;
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
}
.jc-author img { border-radius: 50%; }
.jc-author-name {
  font-weight: 600;
  color: #193656;
}

/* Similar Articles */
.similar-articles {
  background: #f9fafb;
  padding: 60px 20px;
  margin-top: 70px;
  border-radius: 12px;
  text-align: center;
}
.similar-articles h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #193656;
}
.similar-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
}
.similar-articles-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
  max-width: 340px;
}
.similar-articles-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.similar-articles-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.similar-articles-card h3 {
  font-size: 18px;
  font-weight: 700;
  padding: 15px 20px 5px;
  color: #111827;
}
.similar-articles-card p {
  font-size: 15px;
  color: #4b5563;
  padding: 0 20px 20px;
  line-height: 1.6;
}
.similar-articles-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Remove Comments */
#comments, .comments-area { display: none !important; }

@media (max-width: 768px) {
  .similar-articles { padding: 40px 16px; }
  .similar-articles h2 { font-size: 24px; }
}
