:root {
    --primary-red: #b91c1c;
    --secondary-red: #991b1b;
    --accent-orange: #f59e0b;
    --bg-gray: #f1f5f9;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --premium-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
    background-color: var(--bg-gray);
    font-family: 'Inter', sans-serif;
    color: #1e293b;
}

.breadcrumb-nav {
    background: white;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.breadcrumb-item {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.breadcrumb-item a:hover {
    color: var(--primary-red);
}

.breadcrumb-item.active {
    color: #0f172a;
}

.breadcrumb-separator {
    margin: 0 12px;
    color: #cbd5e1;
    font-size: 10px;
}

.section-header {
    position: relative;
    margin-bottom: 30px;
    border-bottom: 2px solid #334155;
}

.section-header h2 {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 20px;
    color: #fff;
    background: #1e293b;
    display: inline-block;
    padding: 8px 25px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.premium-box {
    background: white;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.sidebar-card {
    background: white;
    border: 1px solid var(--border-color);
    margin-bottom: 25px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.sidebar-card-header {
    background: #f8fafc;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-card-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #334155;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-card-content {
    padding: 20px;
}

/* Related Stories Items */
.story-minimal-item {
    display: flex;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s;
}

.story-minimal-item:last-child {
    border-bottom: none;
}

.story-minimal-item:hover {
    transform: translateX(5px);
}

.story-minimal-item img {
    width: 50px;
    height: 70px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.story-minimal-info {
    flex: 1;
    min-width: 0;
}

.story-minimal-info h4 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.story-minimal-info p {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 2px;
}

/* Premium Pagination Styling */
.premium-pagination .pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.premium-pagination .page-item {
    list-style: none;
}

.premium-pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px !important;
    border: 1px solid var(--border-color);
    background: white;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
    text-decoration: none;
}

.premium-pagination .page-item.active .page-link {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    box-shadow: 0 4px 10px rgba(185, 28, 28, 0.3);
}

.premium-pagination .page-item:not(.active):hover .page-link {
    border-color: #94a3b8;
    background: #f8fafc;
    color: #0f172a;
    transform: translateY(-2px);
}

.premium-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f1f5f9;
    border-color: #e2e8f0;
}

/* Mobile Adjustments for Pagination */
@media (max-width: 640px) {
    .premium-pagination {
        width: 100%;
        overflow-x: auto;
        padding: 10px 0;
        display: flex;
        justify-content: center;
    }

    .premium-pagination .pagination {
        gap: 5px;
        justify-content: center;
        min-width: auto;
    }

    .premium-pagination .page-link {
        width: 30px;
        height: 30px;
        font-size: 11px;
    }

    /* Ultra-minimal: Display strictly 4 elements: 1, 2, 3, ... End */
    .premium-pagination .page-item {
        display: none;
    }

    .premium-pagination .page-item:first-child,
    /* Prev arrow */
    .premium-pagination .page-item:last-child,
    /* Next arrow */
    .premium-pagination .page-item.active,
    /* Current Page */
    .premium-pagination .page-item.active+.page-item,
    /* Next Page */
    .premium-pagination .page-item.disabled:not(:first-child):not(:last-child),
    /* Ellipsis ... */
    .premium-pagination .page-item:nth-last-child(2) {
        /* Last Page */
        display: block;
    }
}

/* Custom Scrollbar for better aesthetics */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}