.blog-wrapper {
    padding: 50px 0;
}

.blog-inner {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    width: 100%
}
.not-found-blog {
    text-align: center;
}

.all-blog-item {
    display: flex;
    flex-flow: column wrap;
    width: 65%;
}

.all-blog-inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
}

.blog-item {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
    background-color: var(--white-color);
    border-radius: 5px;
}

.blog-big-thumb {
    display: flex;
    flex-flow: column wrap;
    width: 95%;
    margin: 10px auto;
}

.blog-big-thumb img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 5px;
}

.blog-title {
    display: flex;
    flex-flow: column wrap;
    width: 95%;
    margin: 10px auto;
}

.blog-title h2 {
    font-size: 1.2rem;
    font-weight: 500;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.blog-title h2 a {
    color: var(--heading-color);
}

.blog-item-tags {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
}

.blog-tags {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
}

.blog-tags ul {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.blog-item-categories {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
}

.blog-categories {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 10px;
    width: 100%;
}


.blog-pagination {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    width: 100%;
    margin-top: 30px;
}

.blog-pagination span {
    font-size: 1rem;
    font-weight: 500;
}

.next-prev {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    column-gap: 30px;
}

.next-btn {
    background-color: var(--gray-color2);
    padding: 10px 25px;
    border-radius: 5px;
    color: white;
}

.previous-btn {
    background-color: var(--gray-color2);
    padding: 10px 25px;
    border-radius: 5px;
    color: white;
}





.blog-side-bar {
    display: flex;
    flex-flow: column wrap;
    width: 30%;
    background: var(--white-color);
    border-radius: 5px;
}

.blog-side-bar-inner {
    display: flex;
    flex-flow: column wrap;
    width: 80%;
    margin: 50px auto;
}

.blog-search-wrapper {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
    position: relative;
}

.search-input {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
}

.search-input input {
    padding: 15px 40px 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 400;
    font-family: var(--body-font-family);
}

.search-input input:focus {
    border: 1px solid var(--theme-color);
}

.search-input input::placeholder {

    font-size: 1rem;
    font-weight: 400;
    font-family: var(--body-font-family);
}

.blog-search-btn {
    position: absolute;
    top: 17px;
    right: 10px;
    border: 0;
    outline: 0;
}

.blog-search-btn button {
    background-color: transparent !important;
    border: 0;
    outline: 0;
}

.blog-top {
    padding-bottom: 50px;
    row-gap: 10px;
}

.blog-top h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

.blog-top div {
    column-gap: 10px;
}

.blog-search-btn button i {
    font-size: 20px;
    background-color: transparent !important;
}

.side-bar-categories {
    display: flex;
    flex-flow: column wrap;
    width: 100%;
    margin-top: 30px;
}

.side-bar-categories h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.side-bar-categorie-item {
    display: flex;
    flex-flow: column wrap;
    row-gap: 10px;
    width: 100%;
    margin-top: 10px;
}

.side-bar-categorie-item h4 a {
    display: inline;
    width: auto;
    font-size: 1rem;
    font-weight: 400;
}

.side-bar-tags {
    display: flex;
    flex-flow: column wrap;
    margin-top: 30px;
    width: 100%;
}

.side-bar-tags h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.side-bar-tag-item {
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-top: 10px;
}

.side-bar-tag-item h4 a {
    background-color: #EEEEEE;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 400;
    transition: all ease-in 0.3s;
}

.side-bar-tag-item h4 a:hover {
    background-color: blue;
    color: white;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
    body {
        background-color: rgb(5, 28, 36);
    }
}

@media only screen and (min-width: 599px) and (max-width: 767px) {
    body {
        background-color: rgb(179, 186, 189);
    }
}

@media only screen and (max-width: 600px) {
    .blog-section {
        padding: 50px 0;
    }

    .blog-inner {
        width: 100%;
    }

    .all-blog-item {
        width: 100%;
    }

    .blog-side-bar {
        width: 100%;
    }

    .all-blog-inner {
        grid-template-columns: repeat(1, 1fr);
    }
}