/* ===== NEWS CENTER 1.0 ===== */

.news-center-page {
    max-width: 1320px;
    margin: 0 auto 80px;
    padding: 0 18px;
}

/* ===== BREADCRUMB ===== */

.nc-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 4px 18px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.nc-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
}

.nc-breadcrumb a:hover {
    color: var(--primary-soft);
}

.nc-breadcrumb [aria-current="page"] {
    color: var(--text);
}

/* ===== HERO ===== */

.nc-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 30px;
    align-items: stretch;
    padding: 38px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 15% 0%, rgba(59, 130, 246, .22), transparent 40%),
        radial-gradient(circle at 100% 100%, rgba(56, 189, 248, .12), transparent 45%),
        linear-gradient(135deg, rgba(15, 23, 42, .94), rgba(2, 6, 23, .94));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.nc-hero-intro {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
}

.nc-kicker {
    color: var(--primary-soft);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 900;
    font-size: 13px;
    margin: 0 0 8px;
}

.nc-hero h1 {
    font-size: clamp(34px, 4vw, 50px);
    margin: 0;
    letter-spacing: -1.5px;
}

.nc-hero-sub {
    color: var(--muted);
    font-size: 16px;
    max-width: 520px;
    margin: 12px 0 0;
}

.nc-demo-banner {
    margin-top: 18px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(250, 204, 21, .1);
    border: 1px solid rgba(250, 204, 21, .28);
}

.nc-demo-tag {
    flex-shrink: 0;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(250, 204, 21, .22);
    color: #fde68a;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .6px;
    line-height: 1.6;
}

.nc-demo-banner p {
    margin: 0;
    color: #fde68a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.nc-search-row {
    margin-top: 22px;
}

.nc-search-row input {
    width: 100%;
    box-sizing: border-box;
    padding: 15px 18px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .06);
    color: white;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: .2s;
}

.nc-search-row input::placeholder {
    color: var(--muted);
}

.nc-search-row input:focus {
    border-color: var(--primary-soft);
    background: rgba(255, 255, 255, .09);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, .18);
}

.nc-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.nc-filter-btn {
    background: rgba(255, 255, 255, .07);
    border: 1px solid var(--border);
    color: var(--muted);
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
    box-shadow: none;
    transition: .2s;
}

.nc-filter-btn:hover {
    color: white;
    border-color: rgba(56, 189, 248, .4);
}

.nc-filter-btn.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(59, 130, 246, .3);
}

.nc-filter-btn:focus-visible,
.nc-search-row input:focus-visible {
    outline: 2px solid var(--primary-soft);
    outline-offset: 2px;
}

/* ===== FEATURED HERO PANEL ===== */

.nc-hero-feature {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.nc-feature-skeleton {
    flex: 1;
    min-height: 220px;
    border-radius: 26px;
}

.nc-feature-side-skel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.nc-feature-mini-skeleton {
    height: 90px;
    border-radius: 20px;
}

.nc-feature-main {
    display: block;
    flex: 1;
    border-radius: 26px;
    overflow: hidden;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: transform .22s ease, border-color .22s ease;
}

.nc-feature-main:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, .4);
}

.nc-feature-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.nc-feature-media {
    position: relative;
    height: 150px;
    background: linear-gradient(135deg, rgba(59, 130, 246, .25), rgba(15, 23, 42, .4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.nc-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 22px;
    background: rgba(255, 255, 255, .04);
}

.nc-feature-media.nc-media-fallback,
.nc-card-media.nc-media-fallback {
    background: linear-gradient(135deg, rgba(59, 130, 246, .3), rgba(15, 23, 42, .5));
}

.nc-media-fallback {
    font-size: 34px;
    color: rgba(255,255,255,.55);
}

.nc-feature-body {
    padding: 22px 24px 20px;
}

.nc-feature-body h2 {
    margin: 12px 0 10px;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -.5px;
}

.nc-feature-body p {
    color: var(--muted);
    margin: 0;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nc-feature-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.nc-mini-card {
    border-radius: 20px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--border);
    transition: .22s ease;
}

.nc-mini-card:hover {
    background: rgba(59, 130, 246, .1);
    border-color: rgba(56, 189, 248, .35);
    transform: translateY(-3px);
}

.nc-mini-card-link {
    display: block;
    padding: 16px;
    text-decoration: none;
    color: inherit;
}

.nc-mini-card h3 {
    margin: 10px 0 8px;
    font-size: 15px;
    line-height: 1.3;
}

.nc-mini-meta {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.nc-feature-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    min-height: 220px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .04);
    border: 1px dashed var(--border);
    padding: 24px;
}

.nc-feature-empty h3 {
    margin: 0;
}

.nc-feature-empty p {
    margin: 0;
    color: var(--muted);
    max-width: 320px;
}

/* ===== CATEGORY BADGES ===== */

.nc-card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .6px;
    background: rgba(59, 130, 246, .18);
    color: #bfdbfe;
}

.nc-feature-body .nc-card-category,
.nc-mini-card .nc-card-category {
    position: static;
    display: inline-block;
}

.nc-cat-breaking { background: rgba(239, 68, 68, .18); color: #fca5a5; }
.nc-cat-official { background: rgba(34, 197, 94, .18); color: #86efac; }
.nc-cat-transfer { background: rgba(56, 189, 248, .18); color: #7dd3fc; }
.nc-cat-rumour { background: rgba(168, 85, 247, .18); color: #d8b4fe; }
.nc-cat-club { background: rgba(59, 130, 246, .18); color: #bfdbfe; }
.nc-cat-player { background: rgba(250, 204, 21, .18); color: #fde68a; }
.nc-cat-competition { background: rgba(249, 115, 22, .18); color: #fdba74; }
.nc-cat-default { background: rgba(148, 163, 184, .18); color: #e2e8f0; }

/* ===== MAIN LAYOUT ===== */

.nc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    margin-top: 34px;
    align-items: start;
}

.nc-main-col {
    min-width: 0;
}

.nc-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.nc-section-head h2 {
    margin: 0;
    font-size: 22px;
}

/* ===== NEWS GRID ===== */

.nc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.nc-card {
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: fadeInUp .4s ease both;
}

.nc-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease;
}

.nc-card:hover {
    border-color: rgba(56, 189, 248, .4);
    transform: translateY(-5px);
    transition: transform .22s ease, border-color .22s ease;
}

.nc-card-media {
    position: relative;
    height: 110px;
    background: linear-gradient(135deg, rgba(59, 130, 246, .18), rgba(15, 23, 42, .4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.nc-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 18px;
    background: rgba(255, 255, 255, .04);
}

.nc-card-body {
    padding: 18px 20px 16px;
}

.nc-card-body h3 {
    margin: 0 0 8px;
    font-size: 17px;
    line-height: 1.3;
}

.nc-card-body p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nc-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.nc-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 20px 18px;
    margin-top: -6px;
}

/* subtle rhythm across the grid on large screens */
@media (min-width: 1000px) {
    .nc-grid .nc-card:nth-child(6n+1) {
        grid-column: span 2;
    }

    .nc-grid .nc-card:nth-child(6n+1) .nc-card-media {
        height: 150px;
    }
}

/* ===== TAG CHIPS (shared: grid cards, feature, article) ===== */

.tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    background: rgba(59, 130, 246, .12);
    color: #7dd3fc;
    border: 1px solid rgba(56, 189, 248, .2);
    transition: .2s;
}

a.tag-chip:hover {
    background: rgba(59, 130, 246, .24);
    color: white;
    transform: translateY(-2px);
}

.tag-chip-static {
    background: rgba(148, 163, 184, .12);
    color: var(--muted);
    border-color: var(--border);
}

.tag-chip-player {
    background: rgba(250, 204, 21, .12);
    color: #fde68a;
    border-color: rgba(250, 204, 21, .22);
}

.tag-chip-competition {
    background: rgba(249, 115, 22, .12);
    color: #fdba74;
    border-color: rgba(249, 115, 22, .22);
}

.tag-chip-transfer {
    background: rgba(34, 211, 238, .12);
    color: #67e8f9;
    border-color: rgba(34, 211, 238, .22);
}

/* ===== EMPTY / ERROR STATES ===== */

.nc-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 60px 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .04);
    border: 1px dashed var(--border);
}

.nc-empty-icon {
    font-size: 34px;
    color: var(--muted);
}

.nc-empty-state h3 {
    margin: 4px 0 0;
}

.nc-empty-state p {
    margin: 0;
    color: var(--muted);
    max-width: 360px;
}

.nc-error-state {
    border-style: solid;
    border-color: rgba(239, 68, 68, .3);
    background: rgba(239, 68, 68, .06);
}

.nc-retry-button {
    margin-top: 8px;
}

.nc-empty-state-compact {
    padding: 20px;
    border-radius: 18px;
    text-align: left;
    align-items: flex-start;
    gap: 10px;
}

.nc-empty-state-compact p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.nc-empty-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.nc-empty-actions a {
    color: var(--primary-soft);
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
}

.nc-empty-actions a:hover {
    text-decoration: underline;
}

/* ===== SIDEBAR ===== */

.nc-side-col {
    display: grid;
    gap: 20px;
}

.nc-side-card {
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.nc-side-caption {
    margin: -4px 0 14px;
    color: var(--muted);
    font-size: 12px;
}

.nc-side-list {
    display: grid;
    gap: 10px;
}

.nc-trending-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, .04);
    border: 1px solid transparent;
    transition: .2s;
}

.nc-trending-row:hover {
    background: rgba(59, 130, 246, .12);
    border-color: rgba(56, 189, 248, .3);
}

.nc-trending-rank {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-soft));
    font-weight: 900;
    font-size: 12px;
}

.nc-trending-info {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.nc-trending-info strong {
    font-size: 13px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nc-trending-info small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1080px) {
    .nc-layout {
        grid-template-columns: 1fr;
    }

    .nc-side-col {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .nc-hero {
        grid-template-columns: 1fr;
    }

    .nc-feature-side {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .nc-hero {
        padding: 26px;
        border-radius: 26px;
    }

    .nc-side-col {
        grid-template-columns: 1fr;
    }

    .nc-grid {
        grid-template-columns: 1fr;
    }

    .nc-grid .nc-card:nth-child(6n+1) {
        grid-column: auto;
    }

    .nc-feature-side {
        grid-template-columns: 1fr;
    }

    .nc-section-head {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .nc-breadcrumb {
        font-size: 12px;
    }

    .nc-hero h1 {
        font-size: 30px;
    }

    .nc-filters {
        gap: 8px;
    }

    .nc-filter-btn {
        padding: 9px 13px;
        font-size: 12px;
    }
}
