body {
    margin: 0;
    font-family: var(--font-titels), sans-serif;
    background-color: var(--backmain-color);
    color: hsl(282.46deg 8% 15%);
}
.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.blog-layout {
    display: flex;
    gap: 20px;
    flex-direction: row-reverse;
}
.blog-sidebar {
    width: 25%;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 9%);
    margin-bottom: 20px;
    border: 1px solid #ececec;
    height: max-content;
}
.posts-list {
    width: 75%;
}
.blog-post {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 9%);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #ececec;
}
.post-main {
    display: flex;
    align-items: stretch;
    flex-direction: row-reverse;
    gap: 15px;
    padding: 15px;
}
.post-thumbnail {
    width: 100%;
}
.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}
.post-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.post-title {
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 8px;
    margin-block-start: 0em;
    margin-block-end: 0em;
}
.post-title a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}
.post-title a:hover {
    color: #0073aa;
}
.post-excerpt {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 10px;
    margin-block-start: 5px;
    margin-block-end: 1em;
}
.post-meta-container {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #777;
    padding-top: 10px;
    border-top: 1px solid #eee;
    align-items: center;
}
.sidebar-content{padding:10px}
@media (max-width: 992px) {
    .blog-layout {
        flex-direction: column;
    }
    .blog-sidebar {
        width: auto;
        order: 2;
        padding: 10px;
    }
    .posts-list {
        width: 100%;
        order: 1;
    }
    .blog-container {
        margin-top: 0.1rem;
    }
}
@media (max-width: 768px) {
    .post-main {
        flex-direction: column;
        text-align: center;
        gap: 0;
    }
    .post-thumbnail {
        width: 100%;
        margin-bottom: 15px;
    }
    .post-content {
        width: 100%;
    }
    .post-meta-container {
        gap: 15px;
    }
}
/*navbari*/
.post-viewcomment {
    display: flex;
}
.post-views {
    display: flex;
    align-items: center;
    margin-left: 8px;
}
.post-comments{
    display: flex;
    align-items: center;
}
.post-comments img,
.post-views img {
    width: 22px;
    height: 22px;
     margin-right: 2px;
}
.f-comment{font-family: var(--font-titels);
    font-family: var(--font-titels);
    line-height: 0;
    font-size: 1rem;}
.f-view{font-family: var(--font-titels);
    line-height: 0;
    font-size: 1rem;}
.menunavr{width: 75%;display: flex;align-items: center;font-family: var(--font-titels);}
.menunavb{width:25%;}
@media (max-width: 992px) {
    .menunavb{width:240px;}
}
.post-thumbnail {
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}
.post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    transition: transform 1s ease;
    transform-origin: center center;
}
.post-thumbnail img:hover {
    transform: scale(1.05);
}



/* استایل سلکت باکس با فلش SVG چرخشی */
.custom-select {
    position: relative;
    display: inline-block;
    width: 100%;
}

.custom-select select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
      padding: 8px 8px 8px 32px;
      height: 40px; 
      line-height: 1;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-family: var(--font-titels);
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
}

.custom-select select:hover,
.custom-select select:focus {
    border-color: #a5d2e7;
}

.custom-select .select-arrow {
      position: absolute;
    top: 18%;
    left: 8px;
    pointer-events: none;
    transition: transform 0.3s 
ease;
    color: #555;
}

.custom-select select:focus + .select-arrow,
.custom-select select:active + .select-arrow {
      transform: translateY(-10%) rotate(-90deg);
}






/*next-after-button*/
.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination a {
    padding: 2px 14px;
    margin: 2px;
background: linear-gradient(to bottom, #03A9F4, #2196F3);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    display: inline-block;
    font-size: 15px;
    transition: background 0.3s;
    font-family: var(--font-titels);
    border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.pagination a:hover {
background: linear-gradient(to bottom, #03A9F4, #2196F3);
}

.page-numbers {
    padding: 2px 14px;
    margin: 2px;
  background: #2195f3a9;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    display: inline-block;
    font-size: 15px;
    transition: background 0.3s;
    font-family: var(--font-titels);
      border: 2px solid #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}


.page-numbers:active {
    transform: translateY(1px);
     box-shadow: 0 1px 0px rgba(0, 0, 0, 0.15);
}


/*navar-bar-home-style*/
.breadcrumb {
  display: flex;
    align-items: center;
    font-size: 18px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgb(0 0 0 / 9%);
    margin-bottom: 20px;
    overflow: hidden;
    border: 1px solid #ececec;
    padding: 15px;
    justify-content: space-between;
    gap: 10px;
}

.breadcrumb a {
    color: var(--linkcolor);
    text-decoration: unset;
    font-weight: normal;
}

.breadcrumb-separator {
    margin: 0 10px;
    color: #888;
    font-size: 28px;
    line-height: 0;
}

.breadcrumb-current {
    color: #555;
    font-weight: normal;
    line-height: 0;
    font-size: 18px;
}

