/* Blog Page Styles */
.blog-header {
    background-color: #f5f9ff; /* Light blue background */
    padding: 20px 0;
    margin-bottom: 2rem;
}

.blog-header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.blog-header__title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}
.blog-header__title-wrap h4 {
    margin: 0;
}
.blog-header__title-wrap .main-title {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

.blog-header__title {
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    justify-content: space-between;
}

.blog-header__title .post-count {
    font-size: 16px;
    color: #666;
    font-weight: normal;
}

.blog-categories-wrapper {
    position: relative;
    overflow: hidden;
}

.blog-categories-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #ddd;
}

.blog-categories {
    display: flex;
    align-items: center;
    overflow-x: auto;
    padding-bottom: 5px;
    margin-bottom: 0px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #999 transparent;
}

.blog-categories::-webkit-scrollbar {
    height: 2px;
}

.blog-categories::-webkit-scrollbar-track {
    background: #ddd;
}

.blog-categories::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 0;
}

.blog-categories__item {
    white-space: nowrap;
    padding: 10px 0 0 ;
    color: #333;
    text-decoration: none;
    position: relative;
    margin-right: 20px;
}

.blog-categories__item:last-child {
    margin-right: 0;
}

.blog-categories__item.active {
    color: #000;
}

.blog-categories__item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ff0000;
    z-index: 1;
}

/* Blog Grid */
.blog-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.blog-post {
    /*border: 1px solid #ddd;
    background: #fff;*/
    transition: transform 0.2s ease;
}

.blog-post:hover {
    border: 1px solid #ddd;
    transform: translateY(-5px);
}

.blog-post__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-post__image {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.blog-post__content {
    padding: 20px;
}

.blog-post__title {
    font-size: 1.2rem;
    margin: 0 0 10px;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-post__title i {
    color: #ff0000;
    font-size: 1rem;
}

.blog-post__categories {
    font-size: 0.9rem;
    color: #666;
}

.blog-post__categories a {
    color: #666;
    text-decoration: none;
}

.blog-post__categories a:hover {
    color: #ff0000;
}

/* Pagination */
.blog-pagination {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 10px;
}

.blog-pagination__numbers {
    display: flex;
    gap: 10px;
    align-items: center;
}

.blog-pagination__item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-pagination__dots {
    color: #666;
}

.blog-pagination__item:hover,
.blog-pagination__item.active {
    background-color: #ff0000;
    color: #fff;
    border-color: #ff0000;
}

.blog-pagination__prev,
.blog-pagination__next {
    color: #666;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    /*position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    text-decoration: none;*/
}
.blog-pagination__prev:hover,
.blog-pagination__next:hover {
    background-color: #ff0000;
    color: #fff !important;
    border-color: #ff0000;
}
.blog-pagination__prev {
    left: 20px;
}

.blog-pagination__next {
    right: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-header__container {
        flex-direction: column;
        gap: 20px;
    }
    
    .blog-categories {
        width: 100%;
    }
}

/* Single Post Styles */
.single-post-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.single-post {
   
}

.single-post__header {
    padding: 0 30px 30px;
    text-align: center;
}

.single-post__title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.single-post__title .site-icon {
    width: 40px;
    height: auto;
    display: block;
}

.single-post__meta {
    color: #666;
    font-size: 14px;
    padding: 0;
    text-align: left;
}

.single-post__meta span {
    display: inline-flex;
    align-items: center;
}

.single-post__meta i {
    margin-right: 5px;
}

.single-post__thumbnail {
    margin: 20px 0 30px;
    height: 320px;
    overflow: hidden;
    position: relative;
}

.single-post__thumbnail img {
    margin-left: auto;
    margin-right: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    object-fit: cover;
    object-position: center;
    width: 100%;
}

.single-post__content {
    padding: 0;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.single-post__content p {
    margin-bottom: 20px;
}

.single-post__content h2,
.single-post__content h3,
.single-post__content h4 {
    margin: 30px 0 15px;
    color: #333;
}

.single-post__content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

.single-post__footer {
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.single-post__tags {
    margin-bottom: 20px;
}

.single-post__tags i {
    color: #666;
    margin-right: 10px;
}

.single-post__tags a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.single-post__tags a:hover {
    color: #ff0000;
}

.single-post__share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-title {
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.share-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s;
}

.share-link:hover {
    transform: translateY(-2px);
}

.share-link.facebook {
    background-color: #1877f2;
}

.share-link.twitter {
    background-color: #1da1f2;
}

.share-link.linkedin {
    background-color: #0077b5;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    gap: 20px;
}

.post-navigation__prev,
.post-navigation__next {
    flex: 1;
}

.post-navigation__next {
    text-align: right;
}

.post-navigation a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.post-navigation a:hover {
    transform: translateY(-2px);
}

.nav-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    margin-bottom: 5px;
}

.nav-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

/* Related Posts */
.related-posts {
    margin-top: 40px;
}

.related-posts__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
}

.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.related-post {
    background: #fff;
    overflow: hidden;
}

.related-post__link {
    text-decoration: none;
    color: #333;
    display: block;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .related-post__link {
        display: flex;
        gap: 20px;
    }

    .related-post__image-wrap {
        flex: 0 0 200px;
    }

    .related-post__image {
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

    .related-post__content {
        flex: 1;
    }

    .related-post__title {
        font-size: 18px;
        font-weight: 600;
        margin: 0 0 10px;
        line-height: 1.4;
    }

    .related-post__excerpt {
        font-size: 14px;
        line-height: 1.6;
        color: #666;
        display: block;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .related-posts__grid {
        gap: 20px;
    }

    .related-post {
        display: flex;
        flex-direction: column;
    }

    .related-post__image-wrap {
        width: 100%;
    }

    .related-post__image {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .related-post__content {
        padding: 15px;
    }

    .related-post__title {
        font-size: 16px;
        font-weight: 600;
        margin: 0;
        line-height: 1.4;
    }

    .related-post__excerpt {
        display: none;
    }
}

@media (max-width: 480px) {
    .related-post__image {
        height: 140px;
    }

    .related-post__content {
        padding: 12px;
    }

    .related-post__title {
        font-size: 14px;
    }
}

/* Comments */
.comments-area {
    margin-top: 40px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    margin-bottom: 30px;
}

.comment-body {
    padding: 20px;
    background: #f8f8f8;
    border-radius: 8px;
}

.comment-meta {
    margin-bottom: 15px;
}

.comment-author {
    font-weight: 600;
    color: #333;
}

.comment-metadata {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.comment-content p {
    margin: 0;
    line-height: 1.6;
    color: #444;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .single-post__meta {
        padding: 0;
    }

    .single-post__header {
        padding: 0 20px 20px;
    }

    .single-post__title {
        font-size: 28px;
    }

    .single-post__title .site-icon {
        width: 30px;
    }

    .post-navigation {
        flex-direction: column;
    }

    .post-navigation__next {
        text-align: left;
    }

    .related-posts__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .related-posts__grid {
        grid-template-columns: 1fr;
    }

    .single-post__share {
        flex-wrap: wrap;
    }
}

/* Related Products */
.related-products {
    margin: 60px 0;
    padding: 0;
}

.related-products__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
    text-transform: uppercase;
}

.related-products__slider {
    margin-bottom: 40px;
}

.product-slide {
    padding: 10px;
}

.product-slide__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-slide__image {
    margin-bottom: 15px;
    border-radius: 0;
    overflow: hidden;
}

.product-slide__image img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    display: block;
}

.product-slide__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 10px;
    color: #333;
    line-height: 1.4;
    text-align: center;
}

.product-slide__price {
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.product-slide__price del {
    color: #999;
    font-size: 14px;
    margin-right: 5px;
}

.product-slide__price ins {
    text-decoration: none;
}

/* Custom Slick Dots */
.custom-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.custom-dots li {
    margin: 0;
}

.custom-dots button {
    width: 24px;
    height: 4px;
    padding: 0;
    border: none;
    background: #ddd;
    font-size: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.custom-dots li.slick-active button {
    /*background: #ff0000;*/
    width: 32px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .product-slide__image img {
        height: 200px;
    }
    
    .product-slide__title {
        font-size: 14px;
    }
    
    .product-slide__price {
        font-size: 16px;
    }
    
    .custom-dots button {
        width: 20px;
    }
    
    .custom-dots li.slick-active button {
        width: 28px;
    }
}

/* Archive Header */
.archive-header {
    margin-bottom: 40px;
    background: transparent;
}

.archive-header__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.archive-header__image {
    flex: 0 0 300px;
    width: 300px;
    height: 300px;
    overflow: hidden;
}

.archive-header__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.archive-header__text {
    flex: 1;
    text-align: left;
    padding-top: 20px;
}

.archive-header__title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
}

.archive-header__title .site-icon {
    width: 40px;
    height: auto;
}

.archive-header__description {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.archive-header__description p {
    margin: 0 0 15px;
}

.archive-header__description p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .archive-header__content {
        flex-direction: column;
    }

    .archive-header__image {
        width: 100%;
        flex: none;
    }

    .archive-header__text {
        padding-top: 0;
    }

    .archive-header__title {
        font-size: 28px;
    }

    .archive-header__title .site-icon {
        width: 30px;
    }
} 