/* ========================================
   Articles (記事一覧) Page Styles
   - 横長カードを縦方向に並べる
   ======================================== */

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.articles-card {
    display: block;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.articles-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.articles-card-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.articles-card-body {
    flex: 1;
    min-width: 0;
}

/* heading.css の section h2::after（absolute）が h2 の高さに含まれず日付と重なるため、カード内は打ち消す */
.articles-list .articles-card .articles-card-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 0 0 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
    color: #1f2937;
    position: relative;
}

.articles-list .articles-card .articles-card-title::after {
    display: none;
}

.articles-list .articles-card .articles-card-title .fa {
    color: #3b82f6;
}

.articles-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0.85rem 0 0 0;
    line-height: 1.35;
}

.articles-card-date {
    display: block;
}

.articles-card-description {
    display: block;
    margin-top: 0.45rem;
    color: #4b5563;
    line-height: 1.45;
}

.articles-card-arrow {
    color: #9ca3af;
    font-size: 1rem;
    flex-shrink: 0;
    align-self: center;
    margin-top: 0.15rem;
}

.articles-card:hover .articles-card-arrow {
    color: #3b82f6;
}
