/* カードリンクスタイル */
.card_link, .card_link:hover {
    display: block;
    color: inherit;
    text-decoration: none;
}

/* カードリストのスタイル */
.column-card-list .uk-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.column-card-list .uk-card-media-top {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.column-card-list .uk-card-media-top img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column-card-list .uk-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
}

/* 日付スタイル */
.column-card-list .article-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

/* タイトルスタイル */
.column-card-list .uk-card-title {
    font-size: 18px !important;
    line-height: 1.4 !important;
    font-weight: bold;
    color: #005bac;
    margin: 0 0 12px 0 !important;
}

/* 抜粋テキストスタイル */
.column-card-list .article-excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 12px;
}

/* 著者スタイル */
.column-card-list .article-author {
    font-size: 14px;
    color: #333;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

/* SP (640px以下) での調整 */
@media screen and (max-width: 640px) {
    /* カードを横並びレイアウトに変更 */
    .column-card-list .uk-card {
        flex-direction: row;
        height: 140px; /* 高さを固定 */
    }
    
    .column-card-list .uk-card-media-top {
        flex-shrink: 0;
        width: 40%;
        padding-top: 0;
        height: 100%;
        overflow: hidden;
    }
    
    .column-card-list .uk-card-media-top img {
        position: relative;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .column-card-list .uk-card-body {
        width: 60%;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .column-card-list .uk-card-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin: 0 0 auto 0 !important;
    }
    
    /* 抜粋テキストを非表示 */
    .column-card-list .article-excerpt {
        display: none;
    }
    
    .column-card-list .article-author {
        font-size: 12px;
        margin-top: 8px;
        padding-top: 8px;
    }
    
    .column-card-list .article-date {
        font-size: 12px;
        margin-bottom: 8px;
    }
} 