body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  direction: rtl;
  text-align: right;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
}

header {
  background-color: rgb(25, 39, 51, 1);
  color: white;
  padding: 20px 0;
  text-align: center;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1200px;
}

.articles {
  flex: 3;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-right: 20px;
}

.articles .post {
  border-bottom: 1px solid #eee;
  padding: 20px 0;
}

.articles .post h2 {
  background-color: rgb(25, 39, 51, 1);
  color: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.articles .post h2 a {
  color: white;
  text-decoration: none;
}

.articles .post h2:hover {
  background-color: rgb(43, 245, 255, 1);
}

.articles .post p {
  color: #666;
}

.articles .read-more {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  color: rgb(25, 39, 51, 1);
  background-color: rgb(43, 245, 255, 1);
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.articles .read-more:hover {
  background-color: rgb(25, 39, 51, 1);
  color: white;
}

.articles .pagination {
  text-align: center;
  padding: 20px 0;
}

.articles .pagination a {
  margin: 0 5px;
  text-decoration: none;
  color: rgb(25, 39, 51, 1);
  padding: 10px 15px;
  border-radius: 5px;
  border: 1px solid #ddd;
  transition: background-color 0.3s ease;
}

.articles .pagination a:hover {
  background-color: rgb(43, 245, 255, 1);
  color: #fff;
}

.sidebar {
  flex: 1;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.sidebar section {
  margin-bottom: 20px;
}

.sidebar h3 {
  border-bottom: 2px solid rgb(25, 39, 51, 1);
  padding-bottom: 10px;
  color: rgb(25, 39, 51, 1);
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  margin: 10px 0;
}

.sidebar ul li a {
  text-decoration: none;
  color: rgb(25, 39, 51, 1);
  transition: color 0.3s ease;
}

.sidebar ul li a:hover {
  color: rgb(43, 245, 255, 1);
}

.sidebar .tag-cloud a {
  display: inline-block;
  margin: 5px;
  text-decoration: none;
  color: rgb(25, 39, 51, 1);
  padding: 5px;
  background: #eee;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.sidebar .tag-cloud a:hover {
  background: rgb(43, 245, 255, 1);
  color: #fff;
}

.social-share {
  margin-top: 15px;
  margin-bottom: 15px;
}

.social-share a {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px; /* Added for better spacing on smaller screens */
  padding: 10px 15px;
  background-color: rgb(43, 245, 255, 1);
  color: rgb(25, 39, 51, 1);
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 14px; /* Adjusted for better readability on mobile */
}

.social-share a:hover {
  background-color: rgb(25, 39, 51, 1);
  color: white;
}

@media (max-width: 768px) {
  .social-share a {
    display: block; /* Stack buttons vertically on smaller screens */
    width: 100%; /* Full width for better touch interaction */
    text-align: center; /* Center text */
  }
}


