/* ========================================
   News Show Page Styles
   ======================================== */

:root {
    --sb-dark-1: #0d1b2a;
    --sb-dark-2: #1b263b;
    --sb-dark-3: #415a77;
    --sb-yellow: #ffed00;
    --sb-yellow-dark: #ffc300;
    --sb-glass: rgba(255, 255, 255, 0.03);
    --sb-glass-border: rgba(255, 255, 255, 0.1);
    --sb-text-muted: rgba(255, 255, 255, 0.6);
}

/* ========================================
   Article Hero Section
   ======================================== */
.article-hero {
    background: linear-gradient(135deg, var(--sb-dark-1) 0%, var(--sb-dark-2) 50%, var(--sb-dark-3) 100%);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
    margin-top: -80px;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(255, 237, 0, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.article-hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 40%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(79, 172, 254, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.article-honeycomb {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='56' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0-12l20-12V22L28 10 8 22v20l20 12z' fill='%23ffed00' fill-opacity='0.02'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.article-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-breadcrumb a {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--sb-text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: var(--sb-yellow);
}

.article-breadcrumb span {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--sb-yellow);
}

.article-breadcrumb iconify-icon {
    color: var(--sb-text-muted);
    font-size: 1rem;
}

.article-ref-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 237, 0, 0.1);
    border: 1px solid rgba(255, 237, 0, 0.3);
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--sb-yellow);
    margin-bottom: 1.5rem;
}

.article-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.article-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.95rem;
    color: var(--sb-text-muted);
}

.article-meta-item iconify-icon {
    font-size: 1.2rem;
    color: var(--sb-yellow);
}

/* ========================================
   Article Content Section
   ======================================== */
.article-content-section {
    background: linear-gradient(180deg, var(--sb-dark-2) 0%, var(--sb-dark-1) 100%);
    padding: 0 0 100px;
    position: relative;
}

/* ========================================
   Featured Image
   ======================================== */
.article-featured-image {
    position: relative;
    margin-top: -40px;
    margin-bottom: 50px;
    z-index: 20;
}

.article-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
}


/* ========================================
   Sidebar Card
   ======================================== */
.sidebar-card {
    background: var(--sb-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 24px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.sidebar-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--sb-glass-border);
    margin-bottom: 1.5rem;
}

.sidebar-author-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--sb-yellow), var(--sb-yellow-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.sidebar-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar-author-info h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #ffffff;
    margin: 0 0 4px;
}

.sidebar-author-info p {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: var(--sb-text-muted);
    margin: 0;
}

.sidebar-section-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 0.75rem;
    color: var(--sb-yellow);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.sidebar-detail-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--sb-glass-border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.sidebar-detail-item:hover {
    background: rgba(255, 237, 0, 0.05);
    border-color: rgba(255, 237, 0, 0.2);
}

.sidebar-detail-item iconify-icon {
    font-size: 1.25rem;
    color: var(--sb-yellow);
}

.sidebar-detail-item span {
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.sidebar-actions {
    display: flex;
    gap: 12px;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--sb-glass-border);
}

.btn-edit {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--sb-yellow), var(--sb-yellow-dark));
    border: none;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--sb-dark-2);
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(255, 237, 0, 0.4);
    color: var(--sb-dark-2);
}

.btn-delete {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: 2px solid #ef4444;
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ef4444;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background: #ef4444;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ========================================
   Main Content Card
   ======================================== */
.content-card {
    background: var(--sb-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--sb-glass-border);
    border-radius: 24px;
    padding: 2.5rem;
}

.content-excerpt {
    background: linear-gradient(135deg, rgba(255, 237, 0, 0.1) 0%, rgba(255, 195, 0, 0.05) 100%);
    border: 1px solid rgba(255, 237, 0, 0.2);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.content-excerpt::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--sb-yellow), var(--sb-yellow-dark));
    border-radius: 4px 0 0 4px;
}

.content-excerpt p {
    font-family: 'Nunito', sans-serif;
    font-size: 1.1rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin: 0;
}

.content-body {
    font-family: 'Nunito', sans-serif;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.9;
}

.content-body h1, .content-body h2, .content-body h3, 
.content-body h4, .content-body h5, .content-body h6 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-body h2 {
    font-size: 1.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--sb-glass-border);
}

.content-body h3 {
    font-size: 1.4rem;
}

.content-body p {
    margin-bottom: 1.25rem;
}

.content-body a {
    color: var(--sb-yellow);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.content-body a:hover {
    border-bottom-color: var(--sb-yellow);
}

.content-body ul, .content-body ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.content-body li {
    margin-bottom: 0.5rem;
}

.content-body blockquote {
    background: var(--sb-glass);
    border-left: 4px solid var(--sb-yellow);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 16px 16px 0;
    font-style: italic;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 1.5rem 0;
}

.content-body pre, .content-body code {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.25rem 0.5rem;
    font-size: 0.9rem;
}

.content-body pre {
    padding: 1.5rem;
    overflow-x: auto;
}

/* ========================================
   Gallery Section
   ======================================== */
.gallery-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--sb-glass-border);
}

.gallery-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gallery-title iconify-icon {
    color: var(--sb-yellow);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(13, 27, 42, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 50px;
    height: 50px;
    background: var(--sb-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover::before,
.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: var(--sb-dark-2);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.gallery-item:hover .gallery-item-icon {
    opacity: 1;
}

/* ========================================
   Back Button
   ======================================== */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--sb-glass);
    border: 1px solid var(--sb-glass-border);
    border-radius: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.back-btn:hover {
    background: rgba(255, 237, 0, 0.1);
    border-color: rgba(255, 237, 0, 0.3);
    color: var(--sb-yellow);
    transform: translateX(-5px);
}

/* ========================================
   Lightbox Customization
   ======================================== */
.lb-outerContainer {
    border-radius: 16px !important;
    background: var(--sb-dark-2) !important;
}

.lb-dataContainer {
    padding: 10px 0 !important;
}

.lb-data .lb-caption {
    font-family: 'Nunito', sans-serif !important;
    font-weight: 600 !important;
    color: #ffffff !important;
}

.lb-data .lb-number {
    font-family: 'Nunito', sans-serif !important;
    color: var(--sb-text-muted) !important;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 0.8 !important;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 1 !important;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 992px) {
    .article-hero {
        padding: 120px 0 50px;
    }
    
    .sidebar-card {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    
    .content-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-meta-row {
        gap: 1rem;
    }
    
    .article-breadcrumb {
        font-size: 0.8rem;
    }
    
    .sidebar-actions {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
