/* Finance Page Styles */

.finance-section {
    padding: 40px 20px;
    background: #fff;
    min-height: calc(100vh - 70px);
}

.page-title {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    margin-bottom: 30px;
    padding-left: 5px;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
}

.article-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.article-image {
    width: 100%;
    height: 280px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-date {
    font-size: 0.9rem;
    color: #999;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .finance-section {
        padding: 30px 15px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .article-image {
        height: 240px;
    }

    .article-content {
        padding: 18px;
    }

    .article-title {
        font-size: 1.15rem;
    }

    .article-date {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .article-image {
        height: 200px;
    }

    .article-content {
        padding: 15px;
    }

    .article-title {
        font-size: 1.05rem;
        -webkit-line-clamp: 3;
    }

    .article-date {
        font-size: 0.8rem;
    }
}
