:root {
  /* Neutral colors */
  --color-bg: #493d9e; /* Main header footer background */
  --color-surface: #b2a5ff; /* Cards, nav, etc. */
  --color-main-bg: #dad2ff; /* Main background */
  --color-border: #493d9e;

  /* Text */
  --color-text-primary: #000000;
  --color-text-secondary: #cccccc;
  --color-text-muted: #888888;

  /* Accent colors */
  --color-accent: #ff5252; /* Red accent */
  --color-accent-alt: #4caf50; /* Green accent */

  /* Button */
  --color-btn-bg: #b2a5ff;
  --color-btn-text: #000000;

  /* --color: #FFF2AF; */
}

@font-face {
  font-family: yekan;
  src: url("../fonts/BYekan+.ttf");
}

body {
  font-family: yekan;
  background-color: var(--color-main-bg);
  color: #212121;
  line-height: 1.7;
  direction: rtl;
}

li {
  list-style-position: inside;
}

.container.blog-post {
  margin: 40px auto;
  padding: 20px;
  max-width: 900px;
  background-color: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

#blog-title-section {
  text-align: center;
  margin-bottom: 25px;
}

#blog-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
}

.blog-publish-data {
  font-size: 0.9rem;
  color: #777;
}

#blog-picture-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 25px;
}

#blog-content {
  font-size: 1rem;
  padding: 10px 0;
  color: #444;
}

#next-prev-blog-section {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  border-top: 1px solid #eee;
  padding-top: 20px;
  width: 100%;
}

#next-prev-blog-section div {
  
  background-color: var(--color-surface);
  transition: color 0.3s ease;
  padding: 0px 10px;
  border-radius: 6px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#next-prev-blog-section div:hover {
  /* background-color: var(--color-bg);
  color: #fff; */
}

#next-prev-blog-section a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  background-color: inherit;
}

#next-prev-blog-section h4 {
  font-size: 1rem;
}

@media (max-width: 1020px) {
  .blog-post * {
    font-size: 15px;
  }
}

@media (max-width: 970px) {
  .container.blog-post {
    width: auto;
    max-width: unset;
    /* margin: 0px 40px; */
    margin-left: 40px;
    margin-right: 40px;
  }
}

@media (max-width: 900px) {
  #blog-title {
    font-size: 1.7rem;
  }
}

@media (max-width: 550px) {
  #blog-title {
    font-size: 1.4rem;
  }
  #next-prev-blog-section div {
    height: 30px;
  }
  #next-prev-blog-section h4 {
    font-size: 0.9rem;
  }
}
@media (max-width: 500px) {
  .container.blog-post {
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 360px) {
  #next-prev-blog-section h4 {
    font-size: 0.7rem;
  }
  .container {
    padding: 0px 5px !important;
  }
}
