 /* view_historical_event.php page content image styles */
 :root {
    --title-color: #0e3a59; /* General Styles */
}
.event-container {
            max-width: 100%;
            overflow: hidden;
            background: #fff;
            border-radius: 14px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
            padding: 0;
        }

        .event-image {
            width: 100%;
            max-width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
            border-radius: 14px 14px 0 0;
        }

        .event-date {
            padding: 20px 28px 8px;
            font-size: 0.9rem;
            color: #eb7254;
            font-weight: 600;
        }

        .event-title {
            padding: 0 28px 12px;
            font-size: 1.8rem;
            font-weight: 700;
            color: #0e3a59;
            line-height: 1.3;
            margin: 0;
        }

        .event-meta {
            padding: 0 28px 16px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .event-category {
            display: inline-flex;
            align-items: center;
            padding: 6px 14px;
            border-radius: 20px;
            background: linear-gradient(135deg, rgba(235, 114, 84, 0.1) 0%, rgba(245, 166, 35, 0.1) 100%);
            color: #eb7254;
            font-size: 0.82rem;
            font-weight: 600;
        }

        .content-message {
            padding: 0 28px;
        }

        .event-description {
            padding: 8px 28px 24px;
            color: #333;
            line-height: 1.75;
            font-size: 0.98rem;
        }

        .event-description img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 12px 0;
        }

        .event-description p {
            margin-bottom: 1rem;
        }

        .back-button {
            padding: 0 28px 28px;
        }




        .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: 0;
            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;
        }

        .related-body-wrapper {
            padding: 16px;
        }

        .collection-list-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 14px 18px;
            border-bottom: 1px solid #f0f0f0;
            text-decoration: none;
            transition: all 0.25s ease;
            background: #fff;
        }
        .collection-list-item:last-child {
            border-bottom: none;
        }
        .collection-list-item:hover {
            background: #fafbff;
            padding-left: 24px;
        }
        .collection-list-item span:first-child {
            color: #2d3748;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.2s ease;
        }
        .collection-list-item:hover span:first-child {
            color: #1a73e8;
        }
        .collection-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 32px;
            height: 26px;
            padding: 0 10px;
            font-size: 0.75rem;
            font-weight: 700;
            border-radius: 50%;
            background: #1a73e8;
            color: #fff;
            box-shadow: 0 2px 6px rgba(26, 115, 232, 0.25);
        }

        .event-container {
            max-width: 100%;
            overflow: hidden;
            background: #fff;
            border-radius: 14px;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
            padding: 0;
        }

        .event-image {
            width: 100%;
            max-width: 100%;
            height: auto;
            display: block;
            object-fit: cover;
            border-radius: 14px 14px 0 0;
        }

        .event-date {
            padding: 20px 28px 8px;
            font-size: 0.9rem;
            color: #eb7254;
            font-weight: 600;
        }

        .event-title {
            padding: 0 28px 12px;
            font-size: 1.8rem;
            font-weight: 700;
            color: #0e3a59;
            line-height: 1.3;
            margin: 0;
        }

        .event-meta {
            padding: 0 28px 16px;
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .event-category {
            display: inline-flex;
            align-items: center;
            padding: 6px 14px;
            border-radius: 20px;
            background: linear-gradient(135deg, rgba(235, 114, 84, 0.1) 0%, rgba(245, 166, 35, 0.1) 100%);
            color: #eb7254;
            font-size: 0.82rem;
            font-weight: 600;
        }

        .content-message {
            padding: 0 28px;
        }

        .event-description {
            padding: 8px 28px 24px;
            color: #333;
            line-height: 1.75;
            font-size: 0.98rem;
        }

        .event-description img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 12px 0;
        }

        .event-description p {
            margin-bottom: 1rem;
        }

        .back-button {
            padding: 0 28px 28px;
        }
        