/* ===================================
   SIPZZ - BLOG.CSS
   Blog listing and article page styles
   =================================== */

/* ===================================
   BLOG LISTING PAGE
   =================================== */

.page-header {
    text-align: center;
    padding: 80px 0 60px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid #e8dcd9;
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-section {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

/* ===================================
   ARTICLE CARDS
   =================================== */

.article-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e8dcd9;
    transition: all 0.3s ease;
    display: block;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-blue);
}

.article-card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

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

.article-card-date {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.article-card-excerpt {
    font-size: 15px;
    color: var(--text-muted);
    margin: 0 0 25px 0;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    color: var(--brand-blue);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* ===================================
   ARTICLE PAGE
   =================================== */

.article-main {
    padding-top: 60px;
    padding-bottom: 80px;
    background-color: var(--bg-white);
}

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

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-title {
    font-size: 44px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0 0 20px 0;
}

.article-meta {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.article-meta span {
    margin: 0 10px;
}

.article-hero-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 50px;
    background-color: #e8dcd9;
}

/* ===================================
   ARTICLE CONTENT
   =================================== */

.article-content {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
}

.article-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 50px;
    margin-bottom: 20px;
}

.article-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 40px;
    margin-bottom: 15px;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content a {
    color: var(--brand-blue);
    text-decoration: underline;
    font-weight: 600;
}

.article-content a:hover {
    opacity: 0.8;
}

.article-content ul,
.article-content ol {
    padding-left: 25px;
    margin-bottom: 25px;
}

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

.article-content blockquote {
    border-left: 4px solid var(--brand-blue);
    padding-left: 25px;
    margin: 40px 0;
    font-style: italic;
    font-size: 18px;
    color: var(--text-primary);
}

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

.back-to-blog {
    display: inline-block;
    margin-top: 50px;
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-blue);
    transition: opacity 0.3s ease;
}

.back-to-blog:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* ===================================
   RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

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

    .article-hero-image {
        height: 300px;
    }

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

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

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