/*
 * blog - Calculate Theme
 */

/* Blog Section */
.blog-section {
    background: #FFFFFF;
    padding: 80px 20px;
}

.blog-container {
    max-width: 1240px;
    margin: 0 auto;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Blog Card */
.blog-card {
    background: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;                                                 
}

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

.blog-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.blog-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.blog-card-date {
    font-weight: 400;
    font-size: 14px;
    color: #666666;
}

.blog-card-category {
    display: inline-block;
    background: #F5EFE7;
    color: #EA5A0B;
    font-weight: 500;
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-title {
    font-weight: 500;
    font-size: 22px;
    line-height: 1.3;
    color: #000000;
    margin: 0 0 15px 0;
}

.blog-card-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #EA5A0B;
}

.blog-card-excerpt {
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 20px 0;
    flex: 1;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 16px;
    color: #EA5A0B;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-card-link:hover {
    gap: 12px;
    color: #D14F09;
}

.blog-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.blog-card-link:hover svg {
    transform: translateX(4px);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.blog-pagination ul {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-pagination li {
    margin: 0;
}

.blog-pagination a,
.blog-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 15px;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-weight: 500;
    font-size: 15px;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-pagination a:hover {
    background: #EA5A0B;
    border-color: #EA5A0B;
    color: #FFFFFF;
    transform: translateY(-2px);
}

.blog-pagination .current {
    background: #EA5A0B;
    border-color: #EA5A0B;
    color: #FFFFFF;
}

.blog-pagination .prev,
.blog-pagination .next {
    font-weight: 600;
}

/* No Posts */
.blog-no-posts {
    text-align: center;
    padding: 80px 20px;
}

.blog-no-posts h2 {
    font-weight: 700;
    font-size: 32px;
    color: #000000;
    margin: 0 0 15px 0;
}

.blog-no-posts p {
    font-weight: 400;
    font-size: 18px;
    color: #666666;
    margin: 0;
}

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

/* Responsive - Mobile */
@media (max-width: 768px) {
    .blog-section {
        padding: 60px 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    .blog-card-image {
        height: 200px;
    }

    .blog-card-content {
        padding: 24px;
    }

    .blog-card-title {
        font-size: 20px;
    }

    .blog-card-excerpt {
        font-size: 14px;
    }

    .blog-pagination {
        margin-top: 40px;
    }

    .blog-pagination a,
    .blog-pagination span {
        min-width: 40px;
        height: 40px;
        font-size: 14px;
        padding: 0 12px;
    }

    .blog-no-posts {
        padding: 60px 20px;
    }

    .blog-no-posts h2 {
        font-size: 24px;
    }

    .blog-no-posts p {
        font-size: 16px;
    }
}

/* ============================================
   Single Post Styles
   ============================================ */

/* Article Hero */
.article-hero {
    position: relative;
    background: #FFFFFF;
    width: 100%;
    overflow: visible;
    margin-top: 0;
    margin-bottom: 0;
    padding: 80px 0 60px;
}

.article-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(234, 90, 11, 0.05) 0%, rgba(255, 255, 255, 1) 74%);
    z-index: 1;
}

.article-hero-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
}

.article-hero-content {
    text-align: center;
}

.article-breadcrumbs {
    text-align: center;
    margin-bottom: 20px;
    font-size: 13px
}

.article-breadcrumbs .breadcrumb {
    color: #666666;
}

.article-breadcrumbs .breadcrumb a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumbs .breadcrumb a:hover {
    color: #EA5A0B;
}

.article-breadcrumbs .breadcrumb_last {
    color: #EA5A0B;
}

.article-author-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.article-category {
    display: inline-block;
    background: #EA5A0B;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 12px;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: #666666;
    text-align: left;
}

.article-title {
    font-weight: 700;
    font-size: 48px;
    line-height: 1.2;
    color: #000000;
    margin: 0 0 20px 0;
    text-transform: none;
}

.article-excerpt {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6;
    color: #666666;
    margin: 0 0 30px 0;
}

.article-author {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.article-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #EA5A0B;
}

.article-author-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.article-author-name {
    font-weight: 600;
    font-size: 15px;
    color: #000000;
}

.article-reading-time {
    font-weight: 400;
    font-size: 13px;
    color: #666666;
}

/* Featured Image */
.article-featured-image {
    background: #F7F7F7;
    padding: 0 0 60px 0;
}

.article-featured-image-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* Article Content */
.article-content-wrapper {
    background: #FFFFFF;
    padding: 60px 0;
}

.article-content-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-content {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333333;
}

.article-content h2 {
    font-weight: 500;
    font-size: 32px;
    line-height: 1.3;
    color: #000000;
    margin: 40px 0 20px 0;
}

.article-content h3 {
    font-weight: 500;
    font-size: 24px;
    line-height: 1.4;
    color: #000000;
    margin: 30px 0 15px 0;
}

.article-content h4 {
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    color: #000000;
    margin: 25px 0 12px 0;
}

.article-content p {
    margin: 0 0 20px 0;
    font-size: 16px;
}

.article-content a {
    transition: color 0.3s ease;
    color: #ea5a0b;
    font-weight: 600;
   
}

.article-content a:hover {
    color: #EA5A0B;
    width: 100%;
    text-decoration: underline;
}

.article-content ul {
    margin: 0 0 20px 0;
    padding-left: 30px;
        list-style: decimal;
    font-size: 16px;
}

.article-content ol {
    margin: 0 0 20px 0;
    padding-left: 30px;
        list-style: decimal;
    font-size: 14px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    border-left: 4px solid #EA5A0B;
    padding-left: 24px;
    margin: 30px 0;
    font-style: italic;
    color: #666666;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
}

.article-content code {
    background: #F5F5F5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Courier New', monospace;
}

.article-content pre {
    background: #F5F5F5;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.article-content pre code {
    background: none;
    padding: 0;
}

/* Article Footer */
.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #F0F0F0;
}

.article-tags {
    margin-bottom: 30px;
}

.article-tags-label {
    font-weight: 600;
    font-size: 16px;
    color: #000000;
    display: block;
    margin-bottom: 12px;
}

.article-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tag {
    display: inline-block;
    background: #F5EFE7;
    color: #000000;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-tag:hover {
    background: #EA5A0B;
    color: #FFFFFF;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-share-label {
    font-weight: 600;
    font-size: 16px;
    color: #000000;
}

.article-share-buttons {
    display: flex;
    gap: 10px;
}

.article-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #F5F5F5;
    border-radius: 50%;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-share-btn:hover {
    background: #EA5A0B;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Related Posts */
.related-posts-section {
    background: #F7F7F7;
    padding: 80px 20px;
}

.related-posts-container {
    max-width: 1240px;
    margin: 0 auto;
}

.related-posts-title {
    font-weight: 700;
    font-size: 36px;
    line-height: 1.3;
    color: #000000;
    text-align: center;
    margin: 0 0 50px 0;
}

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

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

@media (max-width: 768px) {
    .article-hero {
        padding: 60px 0 40px;
    }

    .article-title {
        font-size: 32px;
    }

    .article-excerpt {
        font-size: 18px;
    }

    .article-author-meta {
        flex-direction: column;
        gap: 15px;
    }

    .article-meta-info {
        text-align: center;
    }

    .article-date {
        font-size: 13px;
        text-align: center;
    }

    .article-content {
        font-size: 16px;
    }

    .article-content h2 {
        font-size: 26px;
    }

    .article-content h3 {
        font-size: 22px;
    }

    .article-featured-image {
        padding: 0 0 40px 0;
    }

    .article-content-wrapper {
        padding: 40px 0;
    }

    .article-footer {
        margin-top: 40px;
        padding-top: 30px;
    }

    .article-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .related-posts-section {
        padding: 60px 20px;
    }

    .related-posts-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}