/* ============================================
   LIVE CATEGORY PAGE
   ============================================ */

section {
    margin-bottom: 30px;
}
   
/* ==================== CATEGORY HEADER ==================== */

.category-header {
    padding: 10px 0;
    background-color: var(--color-bg);
}

.category-page-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.category-page-title::before,
.category-page-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background-color: #e0e0e0;
    max-width: 430px;
}

/* ── Hero Section ── */
.lc-hero-section {
    width: 100%;
    margin-bottom: 2rem;
}

.lc-hero-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 420px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    position: relative;
}

/* RTL: image on left, content on right */
[dir="rtl"] .lc-hero-card {
    flex-direction: row;
}

.lc-hero-image-wrap {
    width: 50%;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.lc-hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Blur fade on the right edge of image (toward content in RTL) */
[dir="rtl"] .lc-hero-image-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    height: 100%;
    background: linear-gradient(to left, var(--color-bg-primary, #000), transparent);
    z-index: 1;
}

/* LTR: blur on left edge */
[dir="ltr"] .lc-hero-image-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 100%;
    background: linear-gradient(to right, var(--color-bg-primary, #000), transparent);
    z-index: 1;
}

.lc-hero-content {
    width: 50%;
    background: var(--color-bg-primary, #000);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    flex-shrink: 0;
}

/* Live Badge */
.lc-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-accent, #e63946);
    text-transform: uppercase;
}

[dir="rtl"] .lc-live-badge {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.lc-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e63946;
    flex-shrink: 0;
    animation: lc-pulse 1.4s ease-in-out infinite;
}

@keyframes lc-pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.85);
    }
}

.lc-hero-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-text-primary, #111);
    margin: 0;
}

.lc-hero-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary, #555);
    margin: 0;
}

/* ── Mid Section ── */
.lc-mid-section {
    margin-bottom: 2.5rem;
}

.lc-mid-inner {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
}

/* RTL: image on right, list on left */
[dir="rtl"] .lc-mid-inner {
    flex-direction: row-reverse;
}

.lc-mid-featured {
    flex: 0 0 45%;
    display: block;
    overflow: hidden;
}

.lc-mid-featured img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.lc-mid-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lc-mid-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--color-text-primary, #111);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--color-border, #e5e5e5);
    font-size: 1rem;
    line-height: 1.5;
    transition: color 0.2s;
}

.lc-mid-list-item:first-child {
    border-top: 1px solid var(--color-border, #e5e5e5);
}

.lc-mid-list-item:hover {
    color: var(--color-accent, #e63946);
}

.lc-mid-list-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-accent, #e63946);
    flex-shrink: 0;
    margin-top: 6px;
}

.lc-mid-list-title {
    flex: 1;
}

/* ── Bottom Section ── */
.lc-bottom-section {
    margin-bottom: 3rem;
}

.lc-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.lc-bottom-card {
    display: block;
    text-decoration: none;
    color: var(--color-text-primary, #111);
}

.lc-bottom-card:hover .lc-bottom-card-title {
    color: var(--color-accent, #e63946);
}

.lc-bottom-card-image {
    width: 100%;
    overflow: hidden;
    margin-bottom: 0.6rem;
}

.lc-bottom-card-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.lc-bottom-card:hover .lc-bottom-card-image img {
    transform: scale(1.03);
}

.lc-bottom-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    color: var(--color-text-primary, #111);
    transition: color 0.2s;
}

/* ── Skeletons ── */
.lc-hero-skeleton {
    width: 100%;
    height: 420px;
}

.lc-mid-skeleton {
    width: 100%;
    height: 280px;
}

.lc-bottom-skeleton {
    width: 100%;
    height: 200px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .lc-hero-card {
        flex-direction: column-reverse;
    }

    [dir="rtl"] .lc-hero-card {
        flex-direction: column-reverse;
    }

    .lc-hero-image-wrap,
    .lc-hero-content {
        width: 100%;
    }

    .lc-hero-image-wrap::after {
        display: none;
    }

    .lc-hero-title {
        font-size: 1.2rem;
    }

    .lc-mid-inner,
    [dir="rtl"] .lc-mid-inner {
        flex-direction: column;
    }

    .lc-mid-featured {
        flex: none;
        width: 100%;
    }

    .lc-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .lc-bottom-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lc-hero-content {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .category-header {
        padding: 10px 0;
    }

    .category-page-title {
        font-size: 24px;
        gap: 15px;
    }

    .category-page-title::before,
    .category-page-title::after {
        max-width: 100px;
    }
}

@media (max-width: 480px) {
    .category-page-title {
        font-size: 20px;
        gap: 10px;
    }

    .category-page-title::before,
    .category-page-title::after {
        max-width: 50px;
    }
}