/* ---------- 新着情報 ---------- */
.cyen-news-wrap {
    max-width: 900px;
    margin-inline: auto;
}

.cyen-news-heading {
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 16px;
}

.cyen-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cyen-news-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--cyen-surface);
    border: 1px solid var(--cyen-border);
    border-radius: var(--cyen-radius-md);
}

/*
 * サムネイルは小さく固定する。
 * テーマ側に `img { height: auto }` があるため、クラス2つで詳細度を上げる。
 */
.cyen-news-item .cyen-news-thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: var(--cyen-radius-sm);
    overflow: hidden;
    background: var(--cyen-surface-sunk);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cyen-news-item .cyen-news-thumb img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    display: block;
}

/* キャストカードの No Image は min-height:180px を持つ。小さな枠に収める。 */
.cyen-news-item .cyen-front-noimage {
    width: 100%;
    height: 100%;
    min-height: 0;
    font-size: 10px;
    line-height: 1.2;
    text-align: center;
    color: var(--cyen-text-faint);
}

.cyen-news-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

/*
 * 3種別とも同じ配色にする。
 * 種別ごとに色を変えると、どれかが必ず地の色と近くなって読めなくなる。
 * どの種別かは文字で分かるので、色は分けない。
 * is-join / is-photo / is-profile は種別の目印として残してある。
 */
.cyen-news-category {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 8px;
    border-radius: var(--cyen-radius-pill);
    background: var(--cyen-badge-new);
    color: var(--cyen-text-inverse);
}

.cyen-news-cast {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: inherit;
    text-decoration: none;
}

.cyen-news-cast:hover,
.cyen-news-cast:focus-visible {
    text-decoration: underline;
}

.cyen-news-comment {
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: var(--cyen-text-muted);
    overflow-wrap: anywhere;
}

@media (max-width: 600px) {
    .cyen-news-item {
        padding: 10px;
        gap: 10px;
    }

    .cyen-news-item .cyen-news-thumb {
        width: 56px;
        height: 56px;
    }
}
