 /* historical_timeline.php page styles */
 :root {
    --title-color: #0e3a59; /* General Styles */
}
 
.sidebar-card {
            border: none;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
            transition: box-shadow 0.3s ease;
        }
        .sidebar-card:hover {
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
        }
        .sidebar-card .card-header {
            background: linear-gradient(135deg, #eb7254 0%, #f5a623 100%);
            color: #fff;
            border: none;
            padding: 14px 18px;
            font-weight: 600;
            font-size: 1.05rem;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .sidebar-card .card-header i {
            font-size: 1rem;
            opacity: 0.9;
        }
        .sidebar-card .card-body {
            padding: 16px;
            background: #fff;
        }

        .related-card {
            display: flex;
            gap: 12px;
            padding: 12px;
            margin-bottom: 12px;
            border-radius: 10px;
            background: linear-gradient(135deg, #fff8f5 0%, #ffffff 100%);
            border: 1px solid #fde8dd;
            text-decoration: none;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        .related-card::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            width: 3px;
            background: linear-gradient(180deg, #eb7254, #f5a623);
            transform: scaleY(0);
            transition: transform 0.3s ease;
        }
        .related-card:hover {
            transform: translateX(4px);
            box-shadow: 0 4px 14px rgba(235, 114, 84, 0.15);
            border-color: #f8c9b5;
            background: linear-gradient(135deg, #fff0e8 0%, #ffffff 100%);
        }
        .related-card:hover::before {
            transform: scaleY(1);
        }
        .related-card:last-child {
            margin-bottom: 0;
        }

        .related-thumb-wrap {
            position: relative;
            flex-shrink: 0;
            width: 84px;
            height: 84px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        .related-thumb {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }
        .related-card:hover .related-thumb {
            transform: scale(1.08);
        }
        .related-thumb-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
            color: #fff;
            font-size: 1.5rem;
        }

        .related-card-body {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-width: 0;
        }
        .related-card-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 20px;
            height: 20px;
            font-size: 0.7rem;
            font-weight: 700;
            border-radius: 6px;
            background: linear-gradient(135deg, #eb7254 0%, #f5a623 100%);
            color: #fff;
            margin-bottom: 6px;
        }
        .related-card-title {
            font-size: 0.92rem;
            font-weight: 600;
            color: #2d3748;
            line-height: 1.35;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin: 0;
            transition: color 0.2s ease;
        }
        .related-card:hover .related-card-title {
            color: #eb7254;
        }
        .related-card-date {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 0.75rem;
            color: #8a94a6;
            margin-top: 8px;
            font-weight: 500;
        }
        .related-card-date i {
            font-size: 0.7rem;
        }
        .content-message {
            padding: 15px;
            background-color: #f8f9fa;
            border-left: 4px solid #eb7254;
            border-radius: 4px;
            font-size: 1rem;
            line-height: 1.6;
        }
        .content-message img {
            max-width: 100%;
            height: auto;
            display: block;
            margin: 10px auto;
        }
        
        /* Sidebar Category Hover Styles */
        .category-item {
            cursor: pointer;
            padding: 10px 15px;
            border-bottom: 1px solid #f1f3f5;
            transition: background 0.2s;
            position: relative;
        }
        .category-item:last-child {
            border-bottom: none;
        }
        .category-item:hover {
            background-color: #fcfcfc;
        }
        .main-cat-name {
            font-weight: 500;
            color: #333;
        }
        .subcategory-menu {
            display: none;
            position: relative;
            width: 100%;
            background: #fff;
            padding: 5px 0 5px 15px;
            z-index: 10;
        }
        .category-item:hover .subcategory-menu {
            display: block;
        }
        .sub-cat-item {
            margin-bottom: 5px;
        }
        .sub-cat-name {
            font-weight: 500;
            color: #eb7254;
            font-size: 0.9rem;
            display: block;
            margin-bottom: 3px;
        }
        .post-cat-list {
            list-style: none;
            padding-left: 10px;
            margin-bottom: 8px;
        }
        .post-cat-list li a {
            padding: 4px 10px;
            border-radius: 4px;
            color: #666;
            font-size: 0.85rem;
            text-decoration: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.2s, color 0.2s;
        }
        .post-cat-list li a:hover {
            background-color: #f1f3f5;
            color: #0d6efd;
        }
        
        .post-breadcrumb {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 12px;
            flex-wrap: wrap;
        }
        .post-breadcrumb-item {
            font-size: 0.9rem;
        }
        .post-breadcrumb-item a {
            color: #666;
            text-decoration: none;
        }
        .post-breadcrumb-item a:hover {
            color: #0d6efd;
            text-decoration: underline;
        }
        .post-breadcrumb-separator {
            color: #999;
        }
        .post-breadcrumb-title {
            color: #333;
            font-weight: 500;
        }