﻿.bp-has-news-category-layout .site-main {
    padding: 0;
}

.bp-category-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #f3f4f6;
    padding: 40px 0 36px;
}

.bp-category-hero__inner {
    max-width: 1200px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bp-category-hero__title {
    font-size: clamp(2.25rem, 4vw, 3.25rem);
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.bp-category-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.95rem;
    color: #4b5563;
}

.bp-category-breadcrumbs a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.bp-category-breadcrumbs a:hover {
    color: #111827;
}

.bp-category-breadcrumbs .bp-breadcrumb__sep {
    color: #9ca3af;
}

.bp-category-breadcrumbs .bp-breadcrumb__current {
    color: #111827;
    font-weight: 600;
}

.bp-category-news {
    padding: 48px 0 64px;
}

.bp-category-news__inner {
    max-width: 1200px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 40px;
    align-items: flex-start;
}

.bp-category-news__main {
    padding: 0;
    min-height: 320px;
}

.bp-category-news__placeholder {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #94a3b8;
    text-align: center;
}

.bp-category-news__sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.bp-category-news__sidebar > * {
    width: 100%;
}

.bp-news-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    padding: 32px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    align-items: center;
}

.bp-news-card:first-child {
    padding-top: 0;
}

.bp-news-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.bp-news-card__thumb {
    position: relative;
}

.bp-news-card__thumb-link {
    display: block;
    overflow: hidden;
    border-radius: 22px;
}

.bp-news-card__thumb-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.bp-news-card__thumb-link:hover img {
    transform: scale(1.04);
}

.bp-news-card__thumb-placeholder {
    display: block;
    width: 100%;
    padding-top: 75%;
    border-radius: 22px;
    background: linear-gradient(135deg, #d1d5db, #f3f4f6);
}

.bp-news-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

.bp-news-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bp-news-card__meta {
    list-style: none;
    display: flex;
    gap: 18px;
    margin: 0;
    padding: 0;
    font-size: 0.93rem;
    color: #94a3b8;
}

.bp-news-card__meta i {
    margin-right: 6px;
    color: #cbd5f5;
}

.bp-news-card__title {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
    line-height: 1.25;
}

.bp-news-card__title a {
    color: #0f172a;
}

.bp-news-card__title a:hover {
    color: #d63031;
}

.bp-news-card__excerpt {
    margin: 0;
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

.bp-news-card__read-more {
    margin-top: auto;
    font-weight: 600;
    color: #0f172a;
}

.bp-news-card__read-more:hover {
    color: #d63031;
}

.bp-news-pagination {
    margin-top: 48px;
}

.bp-news-pagination ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bp-news-pagination a,
.bp-news-pagination span {
    display: inline-flex;
    min-width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
}

.bp-news-pagination .current {
    background: #111827;
    color: #ffffff;
}

@media (max-width: 1024px) {
    .bp-category-news__inner {
        padding: 0 20px;
        grid-template-columns: 1fr;
    }

    .bp-category-news__main {
        padding: 0;
    }

    .bp-category-news__inner--full {
        padding: 0 20px;
    }

    .bp-category-news__main--full {
        padding: 40px 0 52px;
    }

    .bp-category-news__sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .bp-category-hero {
        padding: 32px 0 28px;
    }

    .bp-category-hero__inner,
    .bp-category-news__inner {
        padding: 0 16px;
    }

    .bp-category-news__main {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .bp-news-card {
        grid-template-columns: 1fr;
        padding: 24px 0;
    }

    .bp-news-card__thumb {
        min-height: 220px;
    }

    .bp-news-card__meta {
        flex-wrap: wrap;
    }
}
