/* Blog Details Page Styling */

.blog-details-section-main {
    padding: 60px 0;
    background-color: #f8f9fa;
    background-color: #fffaf7;
}

.blog-details__left,
.comment-form {
    background: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.blog-details__img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
}

.blog-details__img img,
.comment-one__image img,
.blog-details-contente-section .custom-sidebar-post-image img {
    width: 100%;

    height: 100%;
    display: block;
    border-radius: 8px;
}

.comment-one__image img,
.blog-details-contente-section .custom-sidebar-post-image img {
    width: 80px;
    height: 80px;
    border-radius: 5px;
}

.blog-details__date {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background: #ff5722;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.comment-one__image {
    padding-top: 10px;
}

.blog-details__meta {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

.blog-details__meta a {
    text-decoration: none;
}

.blog-details__date .day {
    font-size: 18px;
    font-weight: bold;
}

.blog-details__date .month {
    font-size: 14px;
    text-transform: uppercase;
}

.blog-details__title {
    font-size: 28px;
    font-weight: bold;
    margin: 20px 0;
    color: #333;
}

.blog-details__text-2 {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.blog-details__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-top: 15px;
    margin-top: 15px;
}

.blog-details__tags span {
    font-weight: bold;
    margin-right: 10px;
}

.blog-details__social-list a {
    display: inline-block;
    margin: 0 5px;
    font-size: 18px;
    color: #555;
    transition: 0.3s;
}

.blog-details__social-list a:hover {
    color: #ff5722;
}

.comment-one {
    margin-top: 40px;
}

.comment-one__single {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-top: 20px;
    gap: 20px;
}

.comment-one__content h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
}

.comment-form button {
    background: #ff5722;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.comment-one__btn {
    margin-top: 10px;
}

.btn-title {
    background: #ff5722;
    color: #fff;
    padding: 7px 25px;
    border-radius: 5px;

}

.comment-one__content {
    display: flex;
}

.comment-one__content a {
    text-decoration: none;
}

.comment-form button:hover {
    background: #e64a19;
}

/* Sidebar Styling */

.blog-details-contente-section {
    background: #f9f9f9;
    border-radius: 8px;
}

.custom-sidebar {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.custom-sidebar-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    margin-top: 20px;
}

.custom-sidebar-post-latest {

    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
}

.custom-sidebar-category {
    background-color: #fffaf7;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    margin-top: 50px;
}

.custom-sidebar-comments {

    background-color: white;
    padding: 10px;
    border-radius: 5px;
    margin-top: 30px;
}

.custom-sidebar-post-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
    margin-top: 20px;
}

.custom-sidebar-post-content h3 {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.custom-sidebar-post-content-meta {
    color: #e64a19;
    padding-bottom: 5px;
    display: block;
}

.custom-sidebar-post-content a {
    text-decoration: none;
    padding: 20px;
    padding-left: 0;
    color: black;
    font-weight: 600;
    font-size: 15px;
}

.custom-sidebar-category-list li {
    padding: 8px 0;
    border-bottom: 1px solid #ddd;
}

.custom-sidebar-category-list li a {
    color: #333;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
}

.custom-sidebar-category-list li a:hover {
    color: #007bff;
}

.custom-sidebar-tags-list a {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    margin: 2px;
}

/* Search Bar Styling */

.custom-sidebar-search-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.custom-sidebar-search-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    outline: none;
    font-size: 14px;
}

.custom-sidebar-search-form button {
    background-color: #ff5722;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.custom-sidebar-search-form button:hover {
    background: #0056b3;
}

.custom-sidebar-search-form button i {
    font-size: 16px;
}

/* Recent Comments */

.custom-sidebar-comments-list li {
    display: flex;
    margin-bottom: 10px;
    padding: 8px;
    /* background: #fff; */
    border-radius: 5px;
    /* box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1); */
}

.custom-sidebar-comments-icon {
    background: #ff5722;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-right: 10px;
}

.custom-sidebar-comments-text-box p {
    margin: 0;
    font-size: 14px;
}

.custom-sidebar-comments-text-box span {
    font-weight: bold;
    color: #007bff;
}

@media(max-width:769px) {
    .custom-sidebar-search-form {
        width: 300px;
    }

    .custom-sidebar-search-form input {
        width: 240px !important;
    }
}

@media(max-width:426px) {
    .blog-details__img {
        height: 250px;
    }

    .comment-one__single {
        display: flex;
        flex-direction: column;
    }

    .comment-one__content {
        display: flex;
        flex-direction: column;
    }
}