/* Country hub news list (resources/views/partials/ajax-common-news.blade.php, common/news.blade.php) */

/* Filters */
.cn-filters .form-control { height: 46px; border: 1px solid #d5dde8; border-radius: 6px; box-shadow: none; }
.cn-filters .form-control:focus { border-color: #0070ad; box-shadow: 0 0 0 3px rgba(0, 112, 173, .12); }
.cn-filters #reset { height: 46px; width: 100%; border: 1px solid #0070ad; border-radius: 6px; background: #fff; color: #0070ad; font-weight: 500; }
.cn-filters #reset:hover { background: #0070ad; color: #fff; }

/* Cards */
.news-container { padding-top: 8px; }
.cn-card {
    background: #fff;
    border: 1px solid #e3e9f1;
    border-left: 3px solid transparent;
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 16px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.cn-card:hover { border-color: #cfdbe9; border-left-color: #0070ad; box-shadow: 0 4px 16px rgba(11, 42, 74, .08); }

.cn-date { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; color: #5b6573; font-size: .85rem; letter-spacing: .01em; }
.cn-date i { color: #8a96a6; font-size: .8rem; }

.cn-title { font-size: 1.15rem; font-weight: 600; line-height: 1.4; margin: 0 0 8px; text-align: left; }
.cn-title a { color: #0b2a4a; text-decoration: none; }
.cn-title a:hover, .cn-title a:focus { color: #0070ad; text-decoration: underline; }

.cn-excerpt {
    color: #3d4754;
    font-size: .97rem;
    line-height: 1.65;
    margin: 0 0 14px;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cn-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; border-top: 1px solid #eef2f7; padding-top: 12px; }

.cn-tags { display: flex; flex-wrap: wrap; gap: 6px; flex: 1 1 auto; min-width: 0; }
.cn-tag {
    border: 1px solid #e1e7ef;
    background: #f5f7fa;
    color: #3d4754;
    border-radius: 999px;
    padding: 3px 11px;
    font-size: .8rem;
    line-height: 1.5;
    cursor: pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.cn-tag:hover, .cn-tag:focus-visible { background: #e8f2f9; border-color: #b9d6ea; color: #0070ad; }
.cn-tag-extra { display: none; }
.cn-tags.is-open .cn-tag-extra { display: inline-block; }
.cn-tags.is-open .cn-tag-more { display: none; }
.cn-tag-more { background: #fff; color: #0070ad; border-style: dashed; }

.cn-more { flex-shrink: 0; color: #0070ad; font-weight: 500; font-size: .93rem; text-decoration: none; white-space: nowrap; }
.cn-more i { font-size: .8rem; margin-left: 4px; transition: transform .15s ease; }
.cn-more:hover { color: #0b2a4a; text-decoration: underline; }
.cn-more:hover i { transform: translateX(3px); }

/* No results */
.cn-empty { border: 1px dashed #d5dde8; border-radius: 8px; padding: 28px 24px; margin-top: 16px; text-align: center; color: #5b6573; }
.cn-empty-title { font-weight: 600; color: #0b2a4a; margin-bottom: 4px; }

.cn-pagination { margin-top: 24px; }

@media (max-width: 575.98px) {
    .cn-card { padding: 16px; }
    .cn-title { font-size: 1.05rem; }
    .cn-footer { flex-direction: column; align-items: flex-start; }
}
