body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.8;
  background-color: #fff;
  color: #222;
  word-break: break-word;
  font-size: 17px;
}

h1 {
  font-size: clamp(1.6em, 2.5vw, 1.8em);
  line-height: 1.3;
  margin: 1.2rem 0 1rem;
  color: #2c2c2c;
}

h2 {
  color: #533DEA;
  line-height: 1.4;
  font-weight: 700;
  margin: 2rem 0 1rem;
  font-size: clamp(1.4em, 2vw, 1.6em);
}

h3, h4, h5, h6 {
  line-height: 1.4;
  font-weight: 700;
}

h3 {
  margin: 1.8rem 0 1rem;
  font-size: clamp(1.2em, 2vw, 1.4em);
}

h4 {
  margin: 1.5rem 0 0.8rem;
  color: #533DEA;
  font-size: 1.2em;
}

h5 {
  font-weight: 700;
  color: #000;
  font-size: 1.1em;
  margin: 1.2rem 0 0.8rem;
}

/* Paragraphs and Lists */
p {
  margin-bottom: 1rem;
  font-size: 18px;
  color: #333;
  line-height: 1.8;
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5em;
}

ul li, ol li {
  margin-bottom: 0.6em;
  line-height: 1.8;
}

#post-content hr {
  display: none;
}

#post-content {
  padding: 0 15px;
  box-sizing: border-box;
}

/* Responsive Paragraph Font */
@media (max-width: 768px) {
  p {
    font-size: 18px;
  }
}

/* Share Section */
.share-section {
  margin-top: 20px;
}

.share-section h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #533DEA;
}

.share-buttons {
  margin-top: 8px;
}

.share-button {
  display: inline-block;
  margin-right: 6px;
  padding: 8px 15px;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.share-button.small {
  padding: 6px 12px;
  font-size: 12px;
}

/* Social Button Colors */
.share-button.facebook {
  background-color: #3b5998;
}

.share-button.facebook:hover {
  background-color: #2d4373;
}

.share-button.twitter {
  background-color: #1da1f2;
}

.share-button.twitter:hover {
  background-color: #0d95e8;
}

.share-button.whatsapp {
  background-color: #25d366;
}

.share-button.whatsapp:hover {
  background-color: #1ab453;
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  background: #fff;
  font-size: 15px;
  border: 2px solid #ddd;
}

table th {
  background: #533DEA;
  color: #fff;
  text-align: left;
  font-weight: 600;
  padding: 12px;
  border: 2px solid #ddd;
}

table td {
  border: 2px solid #ddd;
  padding: 12px 14px;
  font-size: 16px;
}

table tr:nth-child(even) {
  background: #f9f9f9;
}

/* Make table scrollable on mobile */
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* Images in Content */
#post-content img {
  display: block;
  max-width: 700px;
  width: 100%;
  height: auto;
  margin: 1.2rem auto;
  border-radius: 8px;
  object-fit: contain;
}

#post-content a {
  color: #533DEA;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

@media (max-width: 992px) {
  #post-content img {
    max-width: 100%;
  }
}

/* Container for the sponsored block */
.related-posts-wrapper {
  width: 100%;
  box-sizing: border-box;
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: #fff;
  border-left: 5px solid #533DEA;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(83, 61, 234, 0.15);
  font-family: 'Open Sans', sans-serif;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.related-posts-wrapper:hover {
  box-shadow: 0 8px 25px rgba(83, 61, 234, 0.3);
  border-color: #3b2eda;
}

.related-posts-wrapper h4 {
  font-size: 16px;
  margin-bottom: 1rem;
  color: #533DEA;
  font-weight: 700;
  border-bottom: 3px solid #533DEA;
  padding-bottom: 0.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Smaller font size on small screens */
@media (max-width: 480px) {
  .related-posts-wrapper h4 {
    font-size: 14px;
  }
}

/* Wrapper for the cards inside */
.pp-post-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

/* Each sponsored item card */
.news-card-one {
  background: #f9f9ff;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  font-size: 16px;
  line-height: 1.5;
}

.news-card-one:hover {
  background-color: #e6e9ff;
  border-color: #533DEA;
  box-shadow: 0 6px 18px rgba(83, 61, 234, 0.25);
}

/* List styling inside each card */
.news-card-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Remove margin if multiple list items present */
.news-card-info li {
  margin-bottom: 0;
}

/* Link styling */
.news-card-info a {
  font-weight: 600;
  color: #3b2eda;
  text-decoration: none;
  display: inline-block;
  width: 100%;
  transition: color 0.3s ease;
}

.news-card-info a:hover {
  color: #1a0dab;
  text-decoration: underline;
  transform: none;
}

.news-card-info a:active {
  transform: none;
}