/* Start Global */

* {
  box-sizing: border-box;
}

body {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  background-color: #f0f0f0;
}

/* End Global */

/* Start Navbar */

nav {
  font-weight: 600;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

nav .navbar-toggler:focus {
  outline: none;
}

@media (max-width: 767px) {
  nav .navbar-collapse {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid;
  }
}

nav .navbar-nav .nav-item .nav-link {
  transition: 0.25s;
}

/* End Navbar */

/* Start Content */

.content {
  margin: 50px 0;
}

.content .post {
  max-width: 430px;
  margin: 0 auto 40px;
}

.content .post .post-img {
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  overflow: hidden;
  max-height: 199px;
  transition: 0.3s;
}

.content .post .post-details {
  border: 1px solid #e0e0e0;
  padding: 25px 10px 15px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  transition: 0.3s;
}

.content .post:hover .post-img {
  box-shadow: 1px -3px 17px 3px #cfcfcf;
}

.content .post:hover .post-details {
  box-shadow: 1px 1px 20px 3px #cfcfcf;
}

.content .post .post-details .post-meta {
  margin-bottom: 20px;
  font-size: 14px;
}

.content .post .post-details .post-meta i {
  margin: 5px;
}

.content .post .post-details .post-meta .date {
  margin-left: 15px;
}


.content .post .post-details .post-title {
  padding: 0 0 10px;
}

.content .post .post-details .post-title h4 {
  margin: 0;
  line-height: 1.6;
}

.content .post .post-details .post-title h4 a {
  color: #121416;
  transition: 0.25s;
}

.content .post .post-details .post-title h4 a:hover {
  color: #007bff;
  text-decoration: none;
}

.content .post .post-details .post-content p {
  font-size: 14px;
  margin: 0 0 20px;
}

.content .alert strong {
  margin-right: 15px;
}

.content .contact h3 {
  margin-bottom: 50px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
}

.content .contact form textarea {
  resize: none;
}

.content .contact form input[type='submit'] {
  margin-right: 15px;
}

/* End Content */

/* Start Single Post */

.content .single-post .post-details {
  border: 1px solid #e0e0e0;
  padding: 25px 10px 15px;
}

.content .single-post .post-details {
  padding-top: 30px;
}

.content .single-post .post-details .post-meta {
  margin-bottom: 50px;
  font-size: 14px;
}

.content .single-post .post-details .post-meta i {
  margin: 5px;
}

.content .single-post .post-details .post-meta .date {
  margin-left: 15px;
}

.content .single-post .post-details .post-title {
  margin-bottom: 30px;
  font-weight: 700;
}

.content .single-post .post-details .post-content p {
  line-height: 2;
}

/* End Single Post */

/* Start Sidebar */

.content .sidebar-item {
  margin-bottom: 50px;
}

.content .sidebar-item .list-group .list-group-item.active {
  font-size: 18px;
  font-weight: 700;
}

.content .sidebar-item .list-group .list-group-item.active i {
  font-size: 16px;
  margin-left: 8px;
}

.content .sidebar-item .list-group .list-group-item a {
  color: #121416;
  display: block;
  transition: 0.25s;
}

.content .sidebar-item .list-group .list-group-item a:hover {
  color: #007bff;
  text-decoration: none;
}

.content .sidebar-item.search button {
  margin-top: 15px;
}

.content .latest-posts .list-group .list-group-item a:hover img {
  transition: 0.25s;
}

.content .latest-posts .list-group .list-group-item a:hover img {
  box-shadow: 1px 1px 15px 1px #cfcfcf;
}

.content .categories .list-group .list-group-item a i {
  margin-left: 5px;
  font-size: 14px;
}

/* End Sidebar */

/* Start Pagination */

.pagination .page-item.disabled {
  cursor: not-allowed;
}

/* End Pagination */

/* Start Footer */

footer {
  padding: 10px 0;
}

footer .copyright {
  /*font-weight: 700;*/
  font-size: 15px;
}

footer .links a {
  color: #fff;
  transition: 0.25s;
  margin: 0 5px;
}

footer .links a:hover {
  text-decoration: none;
  color: #007bff;
}

/* End Footer */

/* Start Markdown Content Styling */
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.post-content h1 { font-size: 1.15rem; }
.post-content h2 { font-size: 1.1rem; }
.post-content h3 { font-size: 1.0rem; }
.post-content h4 { font-size: 0.9rem; }

.post-content p {
  margin-bottom: 1rem;
  line-height: 1.9;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1rem;
  padding-right: 2rem;
  padding-left: 0;
}

.post-content ul {
  list-style-type: disc;
  list-style-position: inside;
}

.post-content ol {
  list-style-type: decimal;
  list-style-position: inside;
}

.post-content li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

.post-content blockquote {
  border-right: 4px solid #007bff;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background-color: #f8f9fa;
  font-style: italic;
}

.post-content code {
  background-color: #f4f4f4;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  direction: ltr;
  display: inline-block;
}

.post-content pre {
  background-color: #2d2d2d;
  color: #f8f8f2;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  direction: ltr;
  text-align: left;
  margin: 1rem 0;
}

.post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.post-content strong {
  font-weight: 700;
}

.post-content a {
  color: #007bff;
  text-decoration: underline;
}

.post-content hr {
  margin: 2rem 0;
  border-color: #dee2e6;
}

/* End Markdown Content Styling */
