/* =============================================
   News CPT — Archive Styles
   ============================================= */

.news-archive-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.news-archive-title {
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 3px solid #0073aa;
    padding-bottom: 10px;
}

/* ── Single news row ── */
.news-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e5e5e5;
}

.news-row.news-featured {
    background: #fffbf0;
    border-left: 4px solid #f0a500;
    padding-left: 16px;
    border-radius: 4px;
}

/* ── Thumbnail ── */
.news-thumb {
    flex-shrink: 0;
    width: 220px;
}

.news-thumb img {
    width: 220px;
    height: 140px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    transition: opacity 0.2s ease;
}

.news-thumb img:hover {
    opacity: 0.85;
}

/* ── Content area ── */
.news-content {
    flex: 1;
    min-width: 0;
}

.news-tag {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.news-title {
    font-size: 1.2rem;
    margin: 0 0 8px;
    line-height: 1.4;
}

.news-title a {
    text-decoration: none;
    /*color: #1a1a1a;*/
}

.news-title a:hover {
/*    color: #0073aa;*/
}

.news-excerpt {
    font-size: 0.92rem;
    color: #444;
    margin: 0 0 10px;
    line-height: 1.6;
}

/* ── Meta line ── */
.news-meta {
    font-size: 0.82rem;
    color: #888;
    margin: 0 0 1rem 0;
    text-align: center;
}

.news-source {
    font-weight: 600;
    color: #555;
}

.news-author {
    font-style: italic;
}

.news-time {
    color: #aaa;
}

/* ── Pagination ── */
.news-pagination {
    margin-top: 40px;
    text-align: center;
}

.news-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.news-pagination .page-numbers {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #0073aa;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.news-pagination .page-numbers:hover,
.news-pagination .page-numbers.current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.news-none {
    color: #888;
    font-style: italic;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .news-row {
        flex-direction: column;
    }

    .news-thumb,
    .news-thumb img {
        width: 100%;
        height: 200px;
    }
}

/* ── Single news post ── */
.single-news-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.news-back a {
    text-decoration: none;
    font-size: 0.9rem;
}

.single-news-title {
    font-size: 2rem;
    margin: 10px 0 12px;
    line-height: 1.3;
}

.single-news-thumb {
    /*margin: 20px 0;*/
    display: flex;
}

.single-news-thumb img {
    margin: 0 auto;
    width: 50%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.single-news-content {
    font-size: 1rem;
    line-height: 1.8;
/*    color: #333;*/
    margin-top: 24px;
}

.single-news-content p {
    margin-bottom: 1.2em;
}