.news-page {
    display: grid;
    gap: 12px;
}

.news-page .news-hero {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    padding: 12px;
}

.news-page .news-hero-header h1 {
    margin: 0;
    color: #1f2e4b;
    font-size: 1.5rem;
}

.news-page .news-hero-header p {
    margin: 4px 0 0;
    color: #667792;
    font-size: 0.9rem;
}

.news-page .news-search-panel {
    margin-top: 12px;
    background: linear-gradient(135deg, #f8fbff 0%, #f1f6ff 100%);
    border: 1px solid #d8e2f2;
    border-radius: 12px;
    padding: 10px;
}

.news-page .news-search-row {
    display: grid;
    grid-template-columns: 1fr 180px 110px;
    gap: 8px;
}

.news-page .news-search-input-wrap {
    position: relative;
}

.news-page .news-search-input-wrap i {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #6f7f98;
}

.news-page .news-search-input-wrap input,
.news-page .news-search-select {
    width: 100%;
    height: 42px;
    border: 1px solid #cfd9ea;
    border-radius: 10px;
    background: #fff;
    color: #243552;
    font-size: 0.92rem;
}

.news-page .news-search-input-wrap input {
    padding: 0 36px 0 10px;
}

.news-page .news-search-select {
    padding: 0 10px;
}

.news-page .news-search-btn {
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #2f5fa8 0%, #1f4c96 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.news-page .news-grid-wrap {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    padding: 10px;
}

/* خبر شاخص دسته */
.news-page .news-top-highlight {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    padding: 10px;
    overflow: hidden;
}

.news-page .news-top-slider {
    position: relative;
}

.news-page .news-top-slide {
    display: none;
}

.news-page .news-top-slide.active {
    display: block;
}

.news-page .news-top-media {
    position: relative;
    display: block;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background: #e3eaf4;
    text-decoration: none;
}

.news-page .news-top-media__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    z-index: 0;
}

.news-page .news-top-badge {
    position: absolute;
    right: 10px;
    top: 10px;
    z-index: 2;
    background: #c4911d;
    color: #fff;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
}

.news-page .news-top-overlay {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
    padding: 22px 26px;
    background: linear-gradient(180deg, rgba(5, 12, 26, 0) 0%, rgba(5, 12, 26, 0.88) 100%);
}

.news-page .news-top-overlay h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 2.4vw, 2.2rem);
    line-height: 1.5;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.news-page .news-top-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(25, 61, 119, 0.85);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.news-page .news-top-prev {
    left: 14px;
}

.news-page .news-top-next {
    right: 14px;
}

/* کارت‌های لیست اخبار */
.news-page .news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.news-page .news-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e4eaf4;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.news-page .news-card-image {
    position: relative;
    display: block;
    width: 100%;
    height: 220px;
    flex-shrink: 0;
    overflow: hidden;
    background: #e8edf5;
    text-decoration: none;
}

.news-page .news-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.news-page .news-card-badge {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 2;
    background: rgba(25, 61, 119, 0.92);
    color: #fff;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 0.72rem;
}

.news-page .news-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 10px;
}

.news-page .news-card-body h3 {
    margin: 0 0 7px;
    font-size: 1rem;
    line-height: 1.65;
}

.news-page .news-card-body h3 a {
    color: #1f2f4a;
    text-decoration: none;
}

.news-page .news-card-body p {
    margin: 0;
    color: #6b7c96;
    font-size: 0.86rem;
    line-height: 1.7;
    flex: 1;
}

.news-page .news-card-meta {
    margin-top: 9px;
    padding-top: 8px;
    border-top: 1px solid #edf1f8;
    display: flex;
    justify-content: space-between;
    color: #7c8ca6;
    font-size: 0.75rem;
}

.news-page .news-empty {
    text-align: center;
    padding: 28px 12px;
    color: #647692;
}

.news-page .news-empty i {
    font-size: 2rem;
    margin-bottom: 8px;
}

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

.news-page .news-pagination a,
.news-page .news-pagination span {
    min-width: 36px;
    text-align: center;
    text-decoration: none;
    border: 1px solid #d7dfec;
    background: #fff;
    color: #2d4670;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 0.86rem;
}

.news-page .news-pagination .active {
    background: #214c95;
    border-color: #214c95;
    color: #fff;
}

@media (max-width: 900px) {
    .news-page .news-search-row {
        grid-template-columns: 1fr;
    }

    .news-page .news-grid {
        grid-template-columns: 1fr;
    }

    .news-page .news-top-media {
        min-height: 260px;
    }

    .news-page .news-card-image {
        height: 200px;
    }
}
