/* Blog Page Styles - UmzugProfis24 */

/* Simple Blog Header */
.blog-simple-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.blog-header-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-simple-header .logo a {
    color: #00a887;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.blog-simple-header .logo a:hover {
    color: #008c6f;
}

/* Blog Container */
.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Blog Header */
.blog-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 60px 20px;
    background: #f8fafc;
    border-radius: 20px;
}

.blog-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e3a52;
    line-height: 1.2;
}

.blog-subtitle {
    font-size: 1.25rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Blog Articles List */
.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

/* Article Card - Horizontal Layout */
.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 3px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: row;
    min-height: 200px;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,168,135,0.12);
    border-color: #00a887;
}

.article-card-image {
    width: 280px;
    min-width: 280px;
    background: linear-gradient(135deg, #00a887 0%, #008c6f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.article-card-image::before {
    content: "🚚";
    font-size: 70px;
    opacity: 0.3;
}

.article-card-content {
    padding: 35px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e3a52;
    line-height: 1.3;
}

.article-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card-title a:hover {
    color: #00a887;
}

.article-card-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.05rem;
    flex: 1;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.article-date {
    color: #94a3b8;
    font-size: 0.9rem;
}

.article-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00a887;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.article-read-more:hover {
    gap: 12px;
}

.article-read-more::after {
    content: "→";
    font-size: 1.2rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 50px 0;
}

.pagination-btn,
.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-btn:hover,
.pagination-number:hover {
    background: #00a887;
    border-color: #00a887;
    color: white;
}

.pagination-number.current {
    background: #00a887;
    border-color: #00a887;
    color: white;
    cursor: default;
}

.pagination-ellipsis {
    color: #94a3b8;
    padding: 0 5px;
}

/* Related Articles Section */
.related-articles {
    margin-top: 80px;
    padding: 40px;
    background: #f8fafc;
    border-radius: 15px;
}

.related-articles-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1e3a52;
    margin-bottom: 30px;
    text-align: center;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.related-article-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.related-article-card:hover {
    border-color: #00a887;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,168,135,0.1);
}

.related-article-card a {
    text-decoration: none;
    color: inherit;
}

.related-article-card h3 {
    font-size: 1.1rem;
    color: #1e3a52;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-container {
        padding: 30px 15px;
        max-width: 100%;
    }

    .blog-header {
        padding: 40px 20px;
        margin-bottom: 35px;
        border-radius: 15px;
    }

    .blog-title {
        font-size: 2rem;
    }

    .blog-subtitle {
        font-size: 1.05rem;
    }

    .blog-grid {
        gap: 25px;
    }

    /* Card becomes vertical on mobile */
    .article-card {
        flex-direction: column;
        min-height: auto;
    }

    .article-card-image {
        width: 100%;
        min-width: unset;
        height: 180px;
    }

    .article-card-content {
        padding: 25px;
    }

    .article-card-title {
        font-size: 1.3rem;
    }

    .article-card-excerpt {
        font-size: 0.95rem;
    }

    .related-articles {
        padding: 30px 20px;
        margin-top: 50px;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pagination-btn,
    .pagination-number {
        min-width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .blog-header {
        padding: 35px 15px;
        border-radius: 12px;
    }

    .blog-title {
        font-size: 1.7rem;
        margin-bottom: 15px;
    }

    .blog-subtitle {
        font-size: 0.95rem;
    }

    .article-card {
        border-radius: 12px;
    }

    .article-card-image {
        height: 160px;
    }

    .article-card-image::before {
        font-size: 50px;
    }

    .article-card-content {
        padding: 20px;
    }

    .article-card-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    .article-card-excerpt {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .related-articles {
        padding: 25px 15px;
    }

    .related-articles-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 375px) {
    .blog-container {
        padding: 25px 10px;
    }

    .blog-header {
        padding: 30px 15px;
        margin-bottom: 30px;
    }

    .blog-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .blog-subtitle {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .blog-grid {
        gap: 20px;
    }

    .article-card {
        border-radius: 10px;
    }

    .article-card-image {
        height: 140px;
    }

    .article-card-image::before {
        font-size: 45px;
    }

    .article-card-content {
        padding: 18px;
    }

    .article-card-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .article-card-excerpt {
        font-size: 0.85rem;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .article-card-footer {
        padding-top: 15px;
    }

    .article-date {
        font-size: 0.8rem;
    }

    .article-read-more {
        font-size: 0.9rem;
    }

    .pagination-btn,
    .pagination-number {
        min-width: 32px;
        height: 32px;
        font-size: 0.85rem;
        padding: 0 8px;
    }
}