/* 
 * WEE PHOTOBOOTH - Knowledge List Page Styles
 * Reuses brand variables from base.css
 * UI/UX: Clean knowledge hub — single column card layout
 */

/* ===== Hero ===== */
.blog-hero {
    padding: 120px 0 50px;
    background: linear-gradient(135deg, rgba(232, 180, 184, 0.1), rgba(255, 107, 107, 0.05));
    text-align: center;
    margin-top: 80px;
}

.blog-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.blog-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    color: var(--text-color);
    margin-bottom: 12px;
}

.blog-hero-subtitle {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ===== Knowledge Main Section ===== */
.knowledge-main {
    padding: 3rem 0;
}

.articles-section h2 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* ===== Article Card (Horizontal) ===== */
.article-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(232, 180, 184, 0.2);
}

/* Thumbnail column — fixed width square */
.article-card .card-thumb {
    flex: 0 0 180px;
    width: 180px;
    min-height: 100%;
    overflow: hidden;
    position: relative;
}

.article-card .card-thumb img,
.article-card .card-thumb .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-card .card-thumb .img-placeholder {
    background: linear-gradient(135deg, #f0e8e9, #e8dadc);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4b8bc;
    font-size: 2rem;
    aspect-ratio: 1 / 1;
}

/* Body column */
.article-card .card-body {
    flex: 1;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.35rem;
}

.article-card .card-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
}

.article-card .card-tag {
    background: rgba(232, 180, 184, 0.12);
    color: var(--primary-color);
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
}

.article-card .card-date {
    color: #b0a0a3;
    white-space: nowrap;
}

.article-card h3 {
    font-size: 1.05rem;
    line-height: 1.4;
    margin: 0;
    color: var(--text-color);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card p {
    font-size: 0.85rem;
    color: var(--light-text);
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category pills (above article list) */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: var(--white);
    border: 1px solid #e8e0e1;
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    text-decoration: none;
}

.category-pill i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.category-pill:hover {
    border-color: var(--primary-color);
    background: rgba(232, 180, 184, 0.06);
}

/* Empty state */
.no-articles {
    text-align: center;
    padding: 60px 20px;
    color: var(--light-text);
}

.no-articles i {
    font-size: 2.5rem;
    color: #ddd;
    margin-bottom: 0.75rem;
}

/* ===== Responsive ===== */
@media (max-width: 700px) {
    .blog-hero {
        padding: 100px 0 35px;
        margin-top: 70px;
    }

    .blog-hero-title {
        font-size: 1.8rem;
    }

    .article-card {
        flex-direction: column;
    }

    .article-card .card-thumb {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
    }

    .article-card .card-thumb .img-placeholder {
        aspect-ratio: 16 / 9;
        height: 160px;
    }

    .article-card .card-body {
        padding: 0.85rem 1rem;
    }
}
