/**
 * News section styles.
 *
 * The News archive and single pages deliberately reuse the Events classes
 * (.event-card, .event-image-wrapper, .event-date-badge, .event-location,
 * .event-title, .event-meta, .single-event-hero, .single-event-details-modern)
 * so the look matches Events exactly. This file only adds the few extras the
 * News section introduces: the sidebar, pagination, tags, share buttons and the
 * previous/next navigation.
 */

/* ----------------------------------------------------------------- Sidebar */
.lenspo-news-sidebar .widgettitle {
    color: #2B8B47;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #1e6b3a;
}

.lenspo-news-sidebar .wp-block-categories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lenspo-news-sidebar .cat-item {
    margin-bottom: 0.4rem;
}

.lenspo-news-sidebar .cat-item a {
    display: flex;
    align-items: center;
    padding: 0.6rem 0.9rem;
    text-decoration: none;
    color: #333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.lenspo-news-sidebar .cat-item a:hover,
.lenspo-news-sidebar .cat-item.current-cat a {
    background: #2B8B47;
    color: #fff;
}

.lenspo-news-sidebar .cat-item .badge {
    margin-left: auto;
}

.lenspo-news-sidebar .lenspo-recent-title {
    color: #333;
    text-decoration: none;
    font-size: 0.92rem;
    line-height: 1.35;
    transition: color 0.25s ease;
}

.lenspo-news-sidebar .lenspo-recent-title:hover {
    color: #2B8B47;
}

.lenspo-news-search-form .winner-search-input {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 0.7rem 1rem;
}

.lenspo-news-search-form .winner-search-input:focus {
    border-color: #1e6b3a;
    box-shadow: 0 0 0 0.2rem rgba(43, 139, 71, 0.2);
    outline: none;
}

/* ------------------------------------------------------------- Pagination */
.lenspo-news-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.lenspo-news-pagination .page-numbers {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e2e6ea;
    color: #2B8B47;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
}

.lenspo-news-pagination .page-numbers:hover,
.lenspo-news-pagination .page-numbers.current {
    background: #2B8B47;
    border-color: #2B8B47;
    color: #fff;
}

/* ------------------------------------------------------ Single news extras */
.news-tags a {
    display: inline-block;
    background: #f1f5f2;
    color: #2B8B47;
    padding: 0.3em 0.7em;
    border-radius: 20px;
    font-size: 0.82rem;
    text-decoration: none;
    margin: 0 0.25rem 0.4rem 0;
    transition: all 0.25s ease;
}

.news-tags a:hover {
    background: #2B8B47;
    color: #fff;
}

.news-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #2B8B47;
    color: #fff !important;
    margin-right: 6px;
    transition: transform 0.25s ease, background 0.25s ease;
}

.news-share-btn:hover {
    background: #1e6b3a;
    transform: translateY(-2px);
}

.news-adjacent-link {
    text-decoration: none;
    color: #333;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    display: block;
    height: 100%;
    transition: all 0.25s ease;
}

.news-adjacent-link:hover {
    border-color: #2B8B47;
    box-shadow: 0 6px 18px rgba(43, 139, 71, 0.12);
    color: #2B8B47;
}

.news-source .btn i {
    margin-right: 6px;
}
