.articleContainer {
  max-width: 900px;
  padding: 40px 0;
}

.pageTitle {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.authorSection {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.authorImg {
  width: 45px;
  height: 45px;
  border-radius: 50%;
}

.authorName {
  margin: 0;
  font-weight: 600;
}

.date {
  font-size: 14px;
  color: #666;
}

.mainImage {
  border-radius: 10px;
  margin: 20px 0;
}

.subHeading {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
}

.text {
  font-size: 17px;
  color: #333;
  margin: 15px 0;
  line-height: 1.7;
}

.sectionTitle {
  font-size: 22px;
  font-weight: 600;
  margin-top: 25px;
}

.metaRow {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  border-top: 1px solid #eee;
  padding-top: 15px;
}

.categories span {
  color: #0070f3;
}

.shareIcons {
  display: flex;
  gap: 10px;
}

.icon {
  font-size: 18px;
  cursor: pointer;
  color: #555;
}

.relatedTitle {
  margin-top: 40px;
  font-size: 24px;
  font-weight: 700;
}

.relatedCard {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
}

.relatedImg {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.relatedHeading {
  font-weight: 700;
  font-size: 18px;
}

.relatedText {
  font-size: 15px;
  color: #555;
}

.relatedFooter {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.sliderButtons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.navBtn {
  background: #fff;
  border: 1px solid #ccc;
  color: #333;
}

.sliderWrapper {
  position: relative;
}

.card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  cursor: pointer;
}

.img {
  height: 220px;
  object-fit: cover;
}

.title {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.desc {
  font-size: 14px;
  color: #555;
}

.prevBtn,
.nextBtn {
  position: absolute;
  bottom: 0;
  margin-top: 10px;
  border: 1px solid #ccc;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  font-size: 20px;
  cursor: pointer;
}

.prevBtn:hover,
.nextBtn:hover {
  background: #f1f1f1;
}

.prevBtn {
  right: 60px;
}

.nextBtn {
  right: 10px;
}

/* Fix description height & hide overflow */
.descBox {
  height: 60px; /* adjust as needed */
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .img {
    height: 180px;
  }
}
