/* =============================================================
   News Module — WoW Bolivia theme
   ============================================================= */

/* Section wrapper */
.wb-news-section {
    padding: 60px 0 80px;
}

/* Header */
.wb-news-header {
    margin-bottom: 36px;
}

.wb-news-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
}

/* Grid: 4 columns */
.wb-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card */
.wb-news-card {
    display: flex;
    flex-direction: column;
    background-color: #0d1c30;
    border: 1px solid rgba(0, 160, 210, 0.15);
    border-left: 3px solid #00a0d2;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.wb-news-card:hover {
    transform: translateY(-4px);
    border-left-color: #7ecfff;
    box-shadow: 0 8px 24px rgba(0, 160, 210, 0.18);
    text-decoration: none;
}

/* Thumbnail */
.wb-news-thumb {
    width: 100%;
    height: 190px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Info block */
.wb-news-info {
    padding: 16px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.wb-news-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
}

.wb-news-date {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.04em;
}

/* Pagination wrapper */
.wb-news-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: flex-end;
}

/* Override Bootstrap pagination */
.wb-news-pagination .pagination {
    gap: 4px;
    margin: 0;
}

.wb-news-pagination .pagination .page-item .page-link {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.wb-news-pagination .pagination a {
    display: inline-block;
    padding: 10px;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.45);
    background-color: rgba(0, 160, 210, 0.08);
    border: 1px solid rgba(0, 160, 210, 0.2);
    border-radius: 4px;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    line-height: 1;
}

.wb-news-pagination .pagination a:hover {
    background-color: rgba(0, 160, 210, 0.2);
    border-color: #00a0d2;
    color: #7ecfff;
    text-decoration: none;
}

.wb-news-pagination .pagination .page-item.active a {
    background-color: rgba(0, 160, 210, 0.3);
    border-color: #00a0d2;
    color: #7ecfff;
    font-weight: 600;
}

.wb-news-pagination .pagination .page-item.disabled a {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

/* =============================================================
   Single article view
   ============================================================= */
.wb-article-section {
    padding: 60px 0 80px;
    background-color: #0a0f1a;
}

.wb-article-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.wb-article-head {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 160, 210, 0.2);
}

.wb-article-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.wb-article-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.45);
}

.wb-article-meta a {
    color: #7ecfff;
    text-decoration: none;
}

.wb-article-meta a:hover {
    text-decoration: underline;
}

.wb-article-media {
    margin-bottom: 30px;
    border-radius: 4px;
    overflow: hidden;
}

.wb-article-thumb-item {
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.wb-article-video {
    border: none;
    display: block;
}

.wb-article-body {
    color: #c8d8e8;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 30px;
}

.wb-article-body h1,
.wb-article-body h2,
.wb-article-body h3 {
    color: #ffffff;
    margin: 24px 0 12px;
}

.wb-article-body a {
    color: #7ecfff;
}

.wb-article-body img {
    max-width: 100%;
    border-radius: 4px;
}

/* Tags */
.wb-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.wb-tag {
    font-size: 0.78rem;
    color: #7ecfff;
    background: rgba(0, 160, 210, 0.1);
    border: 1px solid rgba(0, 160, 210, 0.3);
    border-radius: 20px;
    padding: 3px 12px;
    text-decoration: none;
    transition: background 0.2s;
}

.wb-tag:hover {
    background: rgba(0, 160, 210, 0.25);
    text-decoration: none;
}

/* =============================================================
   Responsive
   ============================================================= */
@media (max-width: 1200px) {
    .wb-news-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .wb-news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .wb-news-grid { grid-template-columns: 1fr; }
    .wb-news-thumb { height: 220px; }
}
