.single-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    flex: 2;
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 20px 0 #5959590A;
}

.content img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.content h1 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Sidebar Area */
.sidebar {
    /*flex: 1;*/
    padding: 20px;
}

.sidebar .ad {
    margin-bottom: 12px;
}

.sidebar .ad img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.article-wrapper {
    display: flex;
    gap: 12px;
}

.article-container .breadcrumbs {
    margin-bottom: 56px
}

.sidebar-card {
    width: 100%;
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px #5959590A;
    padding: 20px;
    text-align: center;
}

.sidebar-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.sidebar-card h2 {
    font-size: 18px;
    color: #0056b3;
    margin-bottom: 10px;
}

.sidebar-card .meta-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #E0E0E0;
    padding-bottom: 10px;
    width: 100%;
}

.sidebar-card .meta-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.sidebar-card .meta-info span i {
    font-size: 16px;
    color: #666;
    width: 100%;
}

.sidebar-card .categories-title {
    font-size: 14px;
    color: #333;
    margin-top: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sidebar-card .categories-title i {
    font-size: 18px;
    color: #666;
}

.sidebar-card .categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sidebar-card .category {
    padding: 5px 10px;
    font-size: 12px;
    color: #555;
    background-color: #F5F5F5;
    border-radius: 8px;
    cursor: pointer;
}

.sidebar-card .category:hover {
    background-color: #e9e9e9;
}

.content-table {
    width: 100%;
    background-color: #ECF2FF;
    border: 1px solid #F5F5F5;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 12px;
}

.content-table-header {
    background-color: #0031A2;
    color: #fff;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
}

.content-table-body {
    padding: 15px;
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

.content-table-body a {
    text-decoration: none;
    margin-bottom: 5px;
    transition: 0.4s;
    font-size: 13px;
    font-weight: 500;
    line-height: 20.15px;
    color: #333333;
}

.content-table-body a:hover {
    color: #0056b3;
}

.content-table-body ul {
    margin: 10px 0 0 20px;
    padding: 0;
    list-style: none;
    position: relative;
}

.content-table-body ul li {
    margin: 5px 0;
    color: #333;
    display: flex;
    align-items: center;
    position: relative;
}

.content-table-body ul {
    max-height: 220px;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.content-table-body ul.expanded {
    max-height: none;
    /* Remove height restriction */
}

.read-more-btn {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 14px;
    color: #fff;
    background-color: #0031A2;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #00227a;
}

.recent-articles {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 12px;
    margin-bottom: 12px;
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 20px 0px #5959590A;
}

.recent-articles-header {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: #4F4F4F;
    box-shadow: 0px 0px 20px 0px #8282821A;
    padding: 12px;
}

.recent-articles-list {
    list-style: none;
    padding: 15px;
    margin: 0;
    border-top: none;
}

.recent-articles-list li {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    padding: 5px 0;
    display: flex;
    align-items: center;
    transition: 0.4s;
    margin-bottom: 8px;
    cursor: pointer;
}

.recent-articles-list li a {
    color: #333;
}

.recent-articles-list li:hover a {
    color: #00227a;
}

.recent-articles-list li:last-child {
    border-bottom: none;
}

.recent-articles-list li::before {
    content: "•";
    color: #333;
    font-size: 18px;
    margin-left: 10px;
}

.swiper-pagination {
    bottom: -25px !important;
}

.swiper-pagination .swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

.blog-card {
    background-color: #fff;
    border: 1px solid #F5F5F5;
    border-radius: 10px;
    box-shadow: 0 0 20px 0 #5959590A;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card img {
    width: 100%;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.blog-card-body {
    padding: 0 15px 15px;
}

.blog-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 21px;
    color: #333333;
    margin: 16px 0 10px;
}

.blog-description {
    font-size: 14px;
    font-weight: 400;
    color: #4F4F4F;
    margin-bottom: 12px;
    line-height: 1.5;
}

.blog-meta {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: #999;
    gap: 12px;
}

.blog-meta .author {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-meta .author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.blog-meta .date {
    font-size: 13px;
    display: flex;
    gap: 6px;
}

.blog-card .date p {
    margin: 0;
    color: #4F4F4F;
    font-size: 13px;
    font-weight: 600;
}

.blog-meta .author span {
    font-weight: 500;
    font-size: 12px;
    color: #828282;
}

.img-wrapper {
    padding: 16px 16px 0;
    display: flex;
}

.img-wrapper img {
    border-radius: 8px;
}

.ad-phone {
    display: none;
}

.blog-swiper h3 {
    color: #333333;
    margin: 10px 0;
    font-weight: 700;
}

.pagination {
    display: flex;
    gap: 8px;
}

.pagination > div {
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 0 20px 0 #5959590A;
    border: 1px solid #E0E0E0;
    display: flex;
    padding: 10px;
    color: #333333;
    font-weight: 700;
    gap: 12px;
    font-size: 14px;
    align-items: center;
}

.pagination > div:last-child {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
    gap: 5px;
}

.pagination > div button {
    background: #F5F5F5;
    border-radius: 8px;
    border: none;
    color: #4F4F4F;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 5px 10px;
    transition: .4s;
}

.pagination > div:hover button {
    background: var(--secondary-color);
    transition: .4s;
    color: #fff;
}

.pagination > div:last-child {
    order: 2;
}

.pagination .prev {
    order: 3;
}

.recommended-product {
    border: 1px solid #FC7C5F;
    box-shadow: 0px 0px 20px 0px #5959590A;
    padding: 16px 21px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.recommended-product-info img {
    width: 91px;
    height: 91px;
    object-fit: cover;
    border-radius: 8px;
}

.recommended-product-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.recommended-product-info-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.recommended-product-info-content span {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    color: #FB502A;
}

.recommended-product-info-content h3 {
    margin: 0;
}

.recommended-product-info-content a {
    font-size: 20px;
    font-weight: 700;
    line-height: 31px;
    color: #333333;
}

.recommended-more {
    padding: 6px 7px;
    display: flex;
    align-items: center;
    width: max-content;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #4F4F4F;
    box-shadow: 0px 0px 20px 0px #5959590A;
    transition: 0.3s;
    border-radius: 8px;
}

.recommended-more:hover {
    background: var(--primary-color);
    color: #fff;
}

.recommended-price-amount {
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommended-price-amount .price {
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.recommended-product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.blogs-next-prev {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
}

.post-next,
.post-prev {
    font-size: 13px;
    font-weight: 700;
    line-height: 21.7px;
    color: #333333;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 0px 20px 0px #5959590A;
    border-radius: 12px;
    transition: 0.3s;
}

.post-next:hover,
.post-prev:hover {
    background: var(--primary-color);
    color: #fff;
}

.post-next:hover span,
.post-prev:hover span {
    color: #333333;
}

.post-next span,
.post-prev span {
    font-size: 14px;
    font-weight: 600;
    padding: 6px 8px;
    background: #F5F5F5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    width: max-content;
    gap: 8px;
    transition: 0.3s;
}

.blogs-pages {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    padding: 11px 22px;
    border: 1px solid #E0E0E0;
    box-shadow: 0px 0px 20px 0px #5959590A;
    border-radius: 12px;
}

.blogs-pages span {
    color: #333333;
    font-size: 13px;
    font-weight: 700;
}

.similar-articles {
    margin-bottom: 18px;
}

.similar-articles .blog-card {
    max-width: 100%;
}

.review-post {
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 20px 0px #5959590A;
    padding: 12px;
    border-radius: 12px;
}

.review-post h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    color: #F14A25;
    margin: 0 0 12px;
}

.review-post form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-post form input,
.review-post form textarea {
    border: 1px solid #BDBDBD;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    text-align: right;
    color: #BDBDBD;
    font-family: 'YekanBakhFaNum';
}

.review-post button {
    padding: 12px;
    background: #0031A2;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #FFFFFF;
    border: none;
}


.comments-section {
    margin-top: 20px;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-title h3 {
    font-size: 20px;
    font-weight: 800;
    line-height: 20px;
    text-align: right;
    color: #000000;
    margin: 0;
}

.comments-count {
    background-color: #ECF2FF;
    border-radius: 4px;
    padding: 4px 8px;
    min-width: 75px;
    font-size: 14px;
    font-weight: 600;
    line-height: 21.7px;
    color: #0031A2;
}

.comments-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.depth-1-reply {
    margin-top: 16px;
    margin-right: 20px;
}

.depth-1-reply .comment-author {
    color: #333333;
}

.depth-2-reply {
    margin-top: 12px;
    margin-right: 35px;
    border-right: 1px solid #BDBDBD;
    padding-right: 15px;
}

.depth-2-reply .comment-author {
    color: #333333;
}

.rating-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #777;
}

.star-rating {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 16px;
    color: #FFD700;
}

.star.gray {
    color: #ccc;
}

.separator {
    font-size: 20px;
    color: #BDBDBD;
}

span.author-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 21.7px;
    color: #0031A2;
}

.comment-date {
    font-size: 14px;
    color: #777;
}

.comments-sort span {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #828282;
    display: flex;
    gap: 5px;
}

.reply-date span {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #828282;
}

.comments-sort a {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    color: #4F4F4F;
    margin: 0 2px;
}

.comments-sort a:hover {
    color: #F14A25;
}

.comments-sort a.active {
    font-size: 14px;
    font-weight: 700;
    line-height: 21.7px;
    color: #F14A25;
}

.comments-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 20px 0px #5959590A;
    border-radius: 12px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.comment-author {
    font-size: 16px;
    font-weight: 600;
    line-height: 24.8px;
    text-align: right;
    color: #0031A2;
}

.comment-date {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #828282;
}

.comment-body p {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: right;
    color: #4F4F4F;
}

.comment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.comment-rating {
    display: flex;
    gap: 2px;
}

.comment-rating .star {
    font-size: 16px;
    color: #FFD700;
}

.comment-rating .star.gray {
    color: #ccc;
}

.comment-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reply-link {
    font-size: 13px;
    font-weight: 500;
    line-height: 20.15px;
    text-align: center;
    color: #16A368;
    display: flex;
    gap: 5px;
}

.admin-reply {
    background-color: #F5F8FF;
    border: 1px solid #D8E4FF;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 16px;
    margin-right: 20px;
}

.reply-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 16px;
}

.reply-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    color: #0031A2;
}

.author-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    object-fit: cover;
}

.reply-body {
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.vote-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

button.vote-down.vc-like {
    padding-top: 4px;
}

.vote-actions button {
    background: none;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.vote-count {
    font-size: 14px;
    color: #333;
}

.review-summary {
    position: sticky;
    top: 60px;
    z-index: 10;
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0px 0px 20px 0px #5959590A;
    border: 1px solid #F5F5F5;
    margin: auto;
}

.average-rating {
    display: flex;
    flex-direction: column;
    align-items: end;
    margin-bottom: 20px;
}

.rating-value {
    font-size: 48px;
    font-weight: bold;
    color: #E63946;
}

.stars {
    display: flex;
    gap: 5px;
}

.star {
    font-size: 20px;
    color: #FFD700;
}

.star.gray {
    color: #ddd;
}

.review-info {
    display: flex;
    justify-content: space-between;
}

.rating-distribution {
    margin-bottom: 20px;
    width: 100%;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.label {
    width: 20px;
    font-size: 14px;
    color: #555;
}

.bar {
    flex: 1;
    background-color: #eee;
    height: 8px;
    border-radius: 4px;
    margin-left: 10px;
    position: relative;
    overflow: hidden;
}

.bar .fill {
    height: 100%;
    background-color: #E63946;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
}

.review-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    color: #333333;
}

.add-review-btn {
    background-color: #0031A2;
    box-shadow: 0px 0px 20px 0px #5959590A;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    width: 100%;
    transition: 0.3s;
}

.add-review-btn:hover {
    background-color: #0052cc;
}

/*res single blog*/
@media (max-width: 1399.98px) {
}

@media (max-width: 1200px) {
}

@media (max-width: 992px) {
}

@media (max-width: 720px) {
    .content {
        margin: 16px;
    }

    .sidebar .ad {
        display: none;
    }

    .article-wrapper .read-more-btn {
        display: none;
    }

    .recent-articles {
        display: none;
    }

    .ad-phone .ad {
        width: 100%;
        border-radius: 12px;
    }

    .ad-phone .ad img {
        width: 100%;
        border-radius: 8px;
    }

    .ad-phone .recommendation-product {
        padding: 16px;
        border-radius: 12px;
        border: 1px solid #FC7C5F;
    }

    .ad-phone .recommendation-product img {
        border-radius: 12px;
        width: 100%;
    }

    .ad-phone .recommendation-product p {
        margin-top: 16px;
        font-size: 14px;
        font-weight: 600;
        color: #FB502A;
    }

    .ad-phone .recommendation-product .total-price {
        color: #0031A2;
        font-size: 20px;
        font-weight: 700;
    }

    .ad-phone .recommendation-product span {
        color: #4F4F4F;
        font-size: 12px;
        font-weight: 600;
    }

    .ad-phone .recommendation-product h3 {
        margin-top: 4px;
        font-size: 16px;
        font-weight: 700;
        color: #333333;
    }

    .ad-phone .recommendation-product .btn {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        border-right: 8px;
        box-shadow: 0 0 20px 0 #5959590A;
    }

    .ad-phone .recommendation-product .btn svg {
        margin-right: 10px;
    }

    .ad-phone .product-price {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 8px;
        margin-top: 17px;
        margin-bottom: 12px;
    }

    .offer {
        background: #FFF2F2;
        color: #EF315D;
        padding: 8px;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 600;
    }

    .pagination > div:last-child {
        order: unset;
    }

    .pagination .prev {
        order: unset;
    }

    .pagination {
        flex-direction: column;
    }

    .recommended-product {
        flex-direction: column;
    }

    .blogs-next-prev {
        flex-direction: column;
        gap: 16px;
    }

    .blogs-pages {
        display: none;
    }

    .post-next,
    .post-prev {
        width: 100%;
        justify-content: space-between;
    }

    .comments-header {
        flex-wrap: wrap;
    }

    .comments-sort {
        margin: 1rem 0;
    }

    .comments-sort span {
        align-items: center;
        gap: unset;
    }

    .total-info .total-price {
        color: #0031A2;
    }

    .second-group {
        flex-direction: column-reverse;
    }

    .comment-footer {
        flex-direction: column;
        align-items: unset;
    }

    .comment-actions {
        justify-content: space-between;
        margin-top: 5px;
    }

    .comment-author {
        color: #000000;
    }

    .admin-reply {
        margin-right: 0;
    }

    .depth-2-reply {
        margin-right: 0;
    }

    .third-group {
        flex-direction: column-reverse;
    }
}

@media (max-width: 576px) {
}

@media (max-width: 400px) {
}


.vote-up.active path,
.vote-down.active path {
    fill: #007bff;
}

.review-modal-footer {
    margin-top: 20px;
    text-align: center;
}

#comment-reply-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

#comment-reply-modal > div {
    background: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
}

#comment-reply-close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
}

.review-post {
    border: 1px solid #F5F5F5;
    box-shadow: 0px 0px 20px 0px #5959590A;
    padding: 12px;
    border-radius: 12px;
    width: 100%;
    margin-top: 30px;
}

.review-post h3 {
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
    text-align: center;
    color: #F14A25;
    margin: 0 0 12px;
}

.review-post form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-post form input,
.review-post form textarea {
    border: 1px solid #BDBDBD;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    text-align: right;
    color: #BDBDBD;
    font-family: 'YekanBakhFaNum';
}

.review-post button {
    padding: 12px;
    background: #0031A2;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    color: #FFFFFF;
    border: none;
}

#comment-reply-modal > div {
    display: flex;
    flex-direction: column;
    width: 370px;
}