/* ── Shared: Card ── */
.card {
    background: var(--card-gradient);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(240, 180, 41, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.card--hot {
    border-color: rgba(240, 180, 41, 0.35);
    box-shadow: 0 4px 20px rgba(240, 180, 41, 0.1);
}

.card__img-wrap {
    position: relative;
    overflow: hidden;
}

.card__img-wrap img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.card:hover .card__img-wrap img {
    transform: scale(1.04);
}

.card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.card__badge--hot {
    background: linear-gradient(135deg, #f0b429, #d99e1a);
    color: #0b0c10;
}

.card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

.card__body h3 {
    color: var(--text-main);
    font-size: 16px;
    margin: 0;
    line-height: 1.4;
}

.card__date {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.card__body p:not(.card__date) {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    margin: 0;
}

.card__btn {
    margin-top: 8px;
    width: 100%;
    text-align: center;
}

/* ── Ad Block ── */
.ad-block {
    margin: 32px 0;
}

/* ── List Hero ── */
.list-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: linear-gradient(135deg, #1a2240 0%, #0f1520 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.list-hero::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(240,180,41,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.list-hero__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--primary-glow);
    border: 1px solid rgba(240,180,41,0.3);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.list-hero__text h1 {
    font-size: 40px;
    color: var(--text-main);
    margin-bottom: 12px;
}

.list-hero__text p {
    font-size: 15px;
    max-width: 520px;
    margin-bottom: 24px;
}

.list-hero__stats {
    display: flex;
    gap: 32px;
}

.list-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.list-hero__stat-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Rajdhani', sans-serif;
    line-height: 1;
}

.list-hero__stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

.list-hero__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.list-hero__cta .btn {
    min-width: 160px;
    text-align: center;
}

@media (max-width: 768px) {
    .list-hero {
        flex-direction: column;
        padding: 28px 20px;
        text-align: center;
        gap: 28px;
    }

    .list-hero__text h1 {
        font-size: 28px;
    }

    .list-hero__text p {
        max-width: 100%;
    }

    .list-hero__stats {
        justify-content: center;
    }

    .list-hero__cta {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ── List Section ── */
.list-section {
    margin-top: 56px;
}

.list-section__header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    margin-bottom: 28px;
}

.list-section__header h2 {
    margin: 0 0 4px;
    font-size: 26px;
}

.list-section__header p {
    margin: 0;
    font-size: 14px;
}

.list-section__fire {
    margin-right: 6px;
}

/* ── List Features ── */
.list-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.list-feature {
    background: var(--card-gradient);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
}

.list-feature:hover {
    border-color: rgba(240, 180, 41, 0.35);
    transform: translateY(-3px);
}

.list-feature__icon {
    font-size: 36px;
    margin-bottom: 14px;
}

.list-feature h3 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.list-feature p {
    font-size: 14px;
    margin: 0;
}

/* ── SEO Block ── */
.list-seo {
    background: var(--card-gradient);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 36px 40px;
}

.list-seo h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

.list-seo p {
    font-size: 15px;
    line-height: 1.8;
}

.list-seo strong {
    color: var(--text-main);
}

@media (max-width: 768px) {
    .list-seo {
        padding: 24px 20px;
    }
}

/* ── Pagination ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pagination a {
    padding: 10px 22px;
    border: 1.5px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--card-bg);
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-glow);
}

.pagination a.active {
    background: linear-gradient(135deg, #f0b429, #d99e1a);
    color: #0b0c10;
    border-color: transparent;
    font-weight: 700;
}

@media (max-width: 768px) {
    .pagination a {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ── News Detail (show/news pages) ── */
.news-detail-container {
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-top: 30px;
    color: var(--text-main);
}

.news-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
}

.news-content {
    line-height: 1.9;
    font-size: 15px;
}

.news-content img {
    max-width: 100%;
    margin: 24px 0;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .news-detail-container {
        padding: 20px;
    }
}

/* ── Breadcrumb ── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span:last-child {
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.breadcrumb__sep {
    color: var(--border-color);
}

/* ── News Layout ── */
.news-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 960px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
}

/* ── Article ── */
.news-article {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.news-article__header {
    padding: 36px 40px 0;
}

.news-article__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--primary-glow);
    border: 1px solid rgba(240,180,41,0.3);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.news-article__title {
    font-size: 32px;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 16px;
}

.news-article__meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.news-article__date,
.news-article__read {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.news-article__date svg,
.news-article__read svg {
    flex-shrink: 0;
}

.news-article__cover {
    margin: 0;
}

.news-article__cover img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 36px 40px;
    line-height: 1.9;
    font-size: 15px;
    color: var(--text-muted);
}

.news-content h2,
.news-content h3 {
    color: var(--text-main);
    margin-top: 28px;
    margin-bottom: 12px;
}

.news-content p {
    margin-bottom: 16px;
}

.news-content img {
    max-width: 100%;
    margin: 24px 0;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: block;
}

.news-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Article CTA */
.news-article__cta {
    margin: 0 40px 32px;
    background: linear-gradient(135deg, #1a2240, #0f1520);
    border: 1px solid rgba(240,180,41,0.25);
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.news-article__cta-text strong {
    display: block;
    color: var(--text-main);
    font-size: 16px;
    margin-bottom: 4px;
}

.news-article__cta-text p {
    font-size: 13px;
    margin: 0;
}

.news-article__cta-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Tags */
.news-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 40px 32px;
}

.news-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 20px;
    transition: border-color 0.2s, color 0.2s;
}

.news-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

@media (max-width: 768px) {
    .news-article__header {
        padding: 24px 20px 0;
    }

    .news-article__title {
        font-size: 24px;
    }

    .news-content {
        padding: 24px 20px;
    }

    .news-article__cta {
        margin: 0 20px 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .news-article__tags {
        padding: 0 20px 24px;
    }
}

/* ── Related Articles ── */
.news-related {
    margin-top: 32px;
}

.news-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.news-related__card {
    background: var(--card-gradient);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}

.news-related__card:hover {
    border-color: rgba(240,180,41,0.4);
    transform: translateY(-3px);
}

.news-related__img img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.news-related__card:hover .news-related__img img {
    transform: scale(1.04);
}

.news-related__body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-related__body h4 {
    font-size: 14px;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-related__body span {
    font-size: 11px;
    color: var(--text-muted);
}

/* ── Sidebar ── */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 80px;
}

.sidebar-promo {
    background: linear-gradient(135deg, #1a2240, #0f1520);
    border: 1px solid rgba(240,180,41,0.3);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-promo__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
}

.sidebar-promo__amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Rajdhani', sans-serif;
    line-height: 1;
}

.sidebar-promo p {
    font-size: 13px;
    margin: 0;
}

.sidebar-promo__btn {
    width: 100%;
    text-align: center;
}

.sidebar-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.sidebar-section__header {
    padding: 14px 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255,255,255,0.02);
}

.sidebar-news {
    display: flex;
    flex-direction: column;
}

.sidebar-news__item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.sidebar-news__item:last-child {
    border-bottom: none;
}

.sidebar-news__item:hover {
    background: rgba(255,255,255,0.03);
}

.sidebar-news__item img {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.sidebar-news__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-news__text h4 {
    font-size: 13px;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-news__text span {
    font-size: 11px;
    color: var(--text-muted);
}

.sidebar-links {
    list-style: none;
    padding: 8px 0;
}

.sidebar-links li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    transition: color 0.2s, background 0.2s;
}

.sidebar-links li:last-child a {
    border-bottom: none;
}

.sidebar-links li a:hover {
    color: var(--primary);
    background: rgba(255,255,255,0.02);
}

/* ── Show Hero ── */
.show-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.show-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.show-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.45);
}

.show-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(11, 12, 16, 0.98) 0%,
        rgba(11, 12, 16, 0.5) 50%,
        rgba(11, 12, 16, 0.1) 100%
    );
}

.show-hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 48px 24px;
}

.show-hero__content .breadcrumb,
.container > .breadcrumb {
    margin-bottom: 20px;
}

.show-hero__label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--primary-glow);
    border: 1px solid rgba(240,180,41,0.3);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.show-hero__content h1 {
    font-size: 52px;
    color: var(--text-main);
    margin-bottom: 14px;
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.show-hero__content > p {
    font-size: 16px;
    max-width: 600px;
    margin-bottom: 28px;
    color: rgba(255,255,255,0.75);
}

.show-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .show-hero {
        min-height: 360px;
    }

    .show-hero__content h1 {
        font-size: 32px;
    }

    .show-hero__content {
        padding: 32px 16px;
    }
}

/* ── Show Info ── */
.show-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
    margin-top: 48px;
    padding: 36px 40px;
    background: var(--card-gradient);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.show-info__text h2 {
    font-size: 24px;
    margin-bottom: 14px;
}

.show-info__img {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.show-info__img img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    display: block;
}

.show-info__content {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

.show-info__stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 1px solid var(--border-color);
    padding-left: 40px;
    flex-shrink: 0;
}

.show-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.show-stat__value {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Rajdhani', sans-serif;
    line-height: 1;
}

.show-stat__label {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
}

@media (max-width: 768px) {
    .show-info {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        gap: 24px;
    }

    .show-info__stats {
        flex-direction: row;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 20px;
        justify-content: space-around;
    }
}

/* ── Show CTA Banner ── */
.show-cta-banner {
    background: linear-gradient(135deg, #1a2240 0%, #0f1520 100%);
    border: 1px solid rgba(240,180,41,0.3);
    border-radius: 16px;
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.show-cta-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(240,180,41,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.show-cta-banner__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 10px;
}

.show-cta-banner__text h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.show-cta-banner__text p {
    font-size: 15px;
    max-width: 480px;
    margin: 0;
}

.show-cta-banner__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.show-cta-banner__actions .btn {
    min-width: 180px;
    text-align: center;
}

@media (max-width: 768px) {
    .show-cta-banner {
        flex-direction: column;
        padding: 28px 20px;
        text-align: center;
    }

    .show-cta-banner__text h2 {
        font-size: 24px;
    }

    .show-cta-banner__text p {
        max-width: 100%;
    }

    .show-cta-banner__actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}
