/* トップ「グローバル高等学院だより」のカード（サムネイルの高さをそろえる） */
.news-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    background: #fff;
    transition: box-shadow .2s ease, transform .2s ease;
}
.news-card:hover {
    box-shadow: 0 6px 18px rgba(0, 60, 140, .12);
    transform: translateY(-2px);
}
.news-card > a {
    display: block;
    overflow: hidden;
    background: #f1f4f8; /* 画像の読み込み前・欠けたとき用 */
}
.news-card .card-img-top {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9; /* 元画像の縦横比に関わらず同じ高さにそろえる */
    object-fit: cover;
    object-position: center;
}
.news-card .card-body {
    flex-grow: 1;
}
.news-card .card-title {
    font-size: 1rem;
    line-height: 1.6;
}
.news-card .card-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* タイトルは2行まで */
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #212529;
    text-decoration: none;
}
.news-card .card-title a:hover {
    color: #003c8c;
    text-decoration: underline;
}
