/* ================================================================================== */

  /* Reply Form Styles */

        .reply-form {
            /* margin-top: 15px; */
            /* padding: 20px; */
            /* background: #f8f9fa; */
            /* border-radius: 25px; */
            /* border-left: 2px solid var(--primary-color); */
            transition: all 0.3s ease;
        }

        .reply-form-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .reply-form-header h6 {
            margin: 0;
            color: #495057;
            font-weight: 600;
        }

        .close-reply-btn {
            background: none;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: #6c757d;
            padding: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .close-reply-btn:hover {
            color: #dc3545;
        }

        .reply-form-fields {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .form-row {
            display: flex;
            gap: 12px;
        }

        .reply-input {
            flex: 1;
            padding: 10px 12px;
            border: 1px solid #ced4da;
            border-radius: 10px;
            font-size: 14px;
            background: transparent;
        }

        .reply-input:focus {
            outline: none;
            border-color: #80bdff;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }

        .reply-textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ced4da;
            border-radius: 10px;
            font-size: 14px;
            resize: vertical;
            min-height: 100px;
            font-family: inherit;
        }

        .reply-textarea:focus {
            outline: none;
            border-color: #80bdff;
            box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        }

        .reply-form-actions {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
        }

        .btn-cancel,
        .btn-submit {
            padding: 0.5rem 1rem;
            border: none;
            border-radius: 25px;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .btn-cancel {
            background: #f3f4f6;
            color: #6b7280;
            border: 1px solid var(--border-color);
        }

        .btn-cancel:hover {
            background: #e5e7eb;
        }

        .btn-submit {
            background: var(--gradient);
            color: white;
        }

        .btn-submit:hover {
            transform: translateY(-1px);
            box-shadow: 0 3px 10px var(--shadow-heavy);
        }

        .btn-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }


        /* Reply Toggle Styles */
        .reply-toggle {
            background: none;
            border: none;
            color: #007bff;
            cursor: pointer;
            font-size: 14px;
            padding: 8px 0;
            margin-bottom: 10px;
            text-decoration: underline;
        }

        .reply-toggle:hover {
            color: #0056b3;
        }

        .replies-content {
            animation: fadeIn 0.3s ease;
            /* overflow: hidden; */
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .comment-replies .comment-replies .reply-btn {
            display: none;

        }

        .comment-replies .comment-replies .comment-item {
            /* background-color: var(--bg-light); */
            border: 1px solid var(--border-color);


        }

        .comment-replies-list .comment-item {
            border: none !important;
        }

        .replies-hidden {
            display: none !important;
        }

        /* Initially hide replies */
        .comment-replies .replies-content {
            display: none;
        }

        .comment-replies-list {
            margin-left: 20px;
            /* border-left: 2px solid var(--primary-color); */
            padding-left: 20px;
            list-style-type: none;
            /* border-radius: 15px; */
            /* Hide the dot */
            padding-inline-start: 0;
            /* Optional: removes default browser padding */
        }


        /* Like button styles */
        .like-btn.liked {
            color: #dc3545;
        }

        .like-btn.liked i {
            color: #dc3545;
        }

        /* Responsive design */
        @media (max-width: 768px) {
            .form-row {
                flex-direction: column;
            }

            .reply-form-actions {
                flex-direction: column;
            }

            .btn-cancel,
            .btn-submit {
                width: 100%;
            }

            .comment-replies-list {
                margin-left: 10px;
                padding-left: 10px;
            }
        }

/* ================================================================================== */

        /* -------------------------------------------------------------------------------- */

        /* Comment Section Styles */
        .comments-section {
            margin-top: 2rem;
            /* padding-top: 2rem; */
            /* border-top: 2px solid #e5e7eb; */
        }

        @media screen and (max-width: 678px) {
            .comments-section {
                padding: 15px;
            }
        }

        .comments-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
        }

        .comments-count {
            font-size: 1.5rem;
            font-weight: 600;
            /* color: var(--text-dark); */
        }

        .sort-comments {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.9rem;
            color: var(--text-light);
        }

        .sort-comments select {
            border: none;
            border-radius: 5px;
            padding: 0.3rem 0.5rem;
            background: var(--primary);
            color: var(--text-light);
        }

        /* Comment Form */
        .comment-form {
            /* background: white; */
            border-radius: 15px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .comment-form-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .comment-form-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            border: 2px solid var(--primary-color);
            object-fit: cover;
        }

        .comment-form-user {
            font-weight: 600;
            /* color: var(--text-dark); */
        }


        .comment-form-inputs {
            margin-bottom: 1rem;
        }

        .comment-form-inputs .input-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }

        .input-field {
            position: relative;
        }

        .form-input {
            width: 100%;
            padding: 0.75rem 1rem;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            font-family: inherit;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            /* background: white; */
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
        }

        .form-input:focus+.form-label,
        .form-input:not(:placeholder-shown)+.form-label {
            transform: translateY(-1.5rem) scale(0.85);
            color: var(--primary-color);
        }

        .form-label {
            position: absolute;
            left: 1rem;
            top: 0.75rem;
            color: var(--text-light);
            font-size: 0.95rem;
            pointer-events: none;
            transition: all 0.3s ease;
            background: var(--bg-light);
            padding: 0 0.25rem;
        }

        .dark-mode .form-label {
            /* color: var(--text-dark); */
            background: var(--bg-primary);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .input-group {
                grid-template-columns: 1fr;
                gap: 0.75rem;
            }
        }

        .comment-textarea {
            width: 100%;
            min-height: 100px;
            border: 2px solid #e5e7eb;
            border-radius: 10px;
            padding: 1rem;
            font-family: inherit;
            resize: vertical;
            transition: border-color 0.3s ease;
            font-size: 20px;
        }

        .comment-textarea::placeholder {
            font-size: 15px;
        }

        .comment-textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
        }

        .comment-form-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1rem;
        }

        .comment-form-tools {
            display: flex;
            gap: 0.1rem;
            /* border: 1px solid var(--border-color); */
            border-radius: 16px;
            padding: 0 7px;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .tool-btn {
                background: none;
                border: none;
                color: var(--text-light);
                padding: 0.1rem;
                border-radius: 5px;
                cursor: pointer;
                transition: all 0.2s ease;
                font-size: 20px;
            }
        }

        /* Responsive */
        @media (min-width: 767px) {
            .tool-btn {
                background: none;
                border: none;
                color: var(--text-light);
                padding: 0.1rem;
                border-radius: 5px;
                cursor: pointer;
                transition: all 0.2s ease;
                font-size: 35px;
            }
        }

        .tool-btn:focus {
            /* background: var(--bg-light); */
            color: var(--primary-color);
            /* border-radius: 50%; */
            transform: scale(1.6);
        }

        .comment-submit {
            background: var(--gradient);
            color: white;
            border: none;
            padding: 0.75rem 1.5rem;
            border-radius: 25px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .comment-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
        }

        .comment-submit:disabled {
            opacity: 0.6;
            cursor: not-allowed;
            transform: none;
        }

        /* Comments List */
        .comments-list {
            list-style: none;
            padding: 0;
        }

        .comment-item {
            /* background: white; */
            border-radius: 15px;
            box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 1rem;
            padding: 1.5rem;
            transition: all 0.3s ease;
            border: 1px solid var(--border-color);
        }

        .comment-item:hover {
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
        }

        .comment-header {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .comment-avatar {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            border: 2px solid var(--primary-color);
            object-fit: cover;
            flex-shrink: 0;
        }

        .comment-user-info {
            flex-grow: 1;
        }

        .comment-name {
            font-weight: 600;
            /* color: var(--text-dark); */
            margin: 0;
            font-size: 0.95rem;
            text-transform: capitalize;
        }

        .comment-username {
            color: var(--text-light);
            font-size: 0.85rem;
            margin: 0;
        }

        .comment-time {
            color: var(--text-light);
            font-size: 0.8rem;
            white-space: nowrap;
        }

        .comment-content {
            /* margin: 1rem 1rem 1rem 4rem; */
            line-height: 1.6;
            word-break: break-all;
            /* color: var(--text-dark); */
            white-space: pre-wrap;
        }

        /* .comment-content a {
            color: var(--primary-color);
        } */
        .comment-content .mention {
            text-decoration: none;
            color: var(--primary-color);
        }

        .comment-content .hashtag {
            text-decoration: none;
            color: var(--primary-color);
        }

        .comment-content .link {
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }


        .comment-actions {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-top: 1rem;
        }

        .comment-action-btn {
            background: none;
            border: none;
            color: var(--text-light);
            font-size: 0.85rem;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 5px;
            display: flex;
            align-items: center;
            gap: 0.3rem;
            transition: all 0.3s ease;
        }

        .comment-action-btn:hover {
            /* background: var(--bg-light); */
            color: var(--primary-color);
        }

        .comment-action-btn.liked {
            color: #ef4444;
        }

        .comment-action-btn.liked:hover {
            color: #dc2626;
        }

        .reply-toggle {
            background: none;
            border: none;
            color: var(--primary-color);
            font-size: 0.85rem;
            cursor: pointer;
            padding: 0.3rem 0;
            text-decoration: underline;
            transition: color 0.3s ease;
            animation: slideDown 0.3s ease;
        }

        .reply-toggle:hover {
            color: var(--secondary-color);
        }

        /* Replies */
        .comment-replies {
            margin-top: 1rem;
            padding-left: 3rem;
            border-left: 2px solid var(--primary-color);
        }

        .comment-replies .comment-item {
            /* background: var(--bg-light); */
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
        }

        .comment-replies .comment-replies {
            padding-left: 2rem;
        }

        /* .comment-replies .comment-replies .comment-item {
            background: #f1f5f9;
        } */

        /* Reply Form */
        .reply-form {
            /* margin-top: 1rem; */
            /* padding: 1rem; */
            /* background: var(--bg-light); */
            border-radius: 10px;
            /* border: 2px solid #e5e7eb; */
            animation: slideDown 0.3s ease;
        }

        .reply-form-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
            color: var(--text-light);
        }

        .reply-textarea {
            width: 100%;
            min-height: 80px;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            padding: 0.75rem;
            font-family: inherit;
            resize: vertical;
            transition: border-color 0.3s ease;
            background: transparent;
        }

        .reply-textarea:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.1rem rgba(99, 102, 241, 0.2);
        }

        .reply-form-actions {
            display: flex;
            justify-content: flex-end;
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .reply-cancel {
            background: none;
            border: 1px solid #d1d5db;
            color: var(--text-light);
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .reply-cancel:hover {
            background: #f3f4f6;
        }

        .reply-submit {
            background: var(--gradient);
            color: white;
            border: none;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .reply-submit:hover {
            transform: translateY(-1px);
            box-shadow: 0 3px 10px rgba(99, 102, 241, 0.3);
        }

        /* Hide/Show animation */
        .replies-hidden {
            display: none;
        }

        .replies-showing {
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Load more comments */
        .load-more-comments {
            text-align: center;
            margin: 2rem 0;
        }

        .load-more-btn {
            background: transparent;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            padding: 0.75rem 2rem;
            border-radius: 25px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .load-more-btn:hover {
            background: var(--gradient);
            color: white;
            transform: translateY(-2px);
        }

        /* Responsive */
        @media (max-width: 768px) {
            .comment-replies {
                padding-left: 1.5rem;
            }

            .comment-replies .comment-replies {
                padding-left: 1rem;
            }

            .comments-header {
                flex-direction: row;
                align-items: flex-start;
                gap: 1rem;
            }
        }

        /* ================================ */
        /* Loading Spinner */
        /* .comments-loading {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 40px 20px;
            background: #f8f9fa;
            border-radius: 12px;
            margin: 20px 0;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #e3e3e3;
            border-top: 4px solid #007bff;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        } */



        /* === Base Skeleton Style (Light Mode) === */
        .comment-skeleton {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            border-radius: 12px;
            padding: 1rem;
            margin-bottom: 1rem;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-color);
            /* background-color: rgba(0, 0, 0, 0.03); */
            /* subtle base background */
            will-change: transform, opacity;
        }

        .comment-skeleton::after {
            content: '';
            position: absolute;
            top: 0;
            left: -150px;
            height: 100%;
            width: 150px;
            background: linear-gradient(to right,
                    transparent 0%,
                    rgba(255, 255, 255, 0.9) 50%,
                    transparent 100%);
            animation: shimmer 1.6s ease-in-out infinite;
            will-change: left;
        }

        /* Skeleton parts */
        .skeleton-avatar,
        .skeleton-name,
        .skeleton-handle,
        .skeleton-line,
        .skeleton-btn {
            background: linear-gradient(90deg, rgba(0, 0, 0, 0.08) 25%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.08) 75%);
            background-size: 200% 100%;
            animation: shimmer-elements 1.6s ease-in-out infinite;
            border-radius: 6px;
            transition: background-color 0.3s ease;
        }

        .skeleton-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            flex-shrink: 0;
            margin-right: 0.75rem;
        }

        .skeleton-header {
            display: flex;
            align-items: center;
        }

        .skeleton-name {
            width: 120px;
            height: 14px;
            margin-bottom: 6px;
        }

        .skeleton-handle {
            width: 90px;
            height: 12px;
        }

        .skeleton-body {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 0.5rem;
        }

        .skeleton-line {
            height: 12px;
        }

        .skeleton-line.short {
            width: 50%;
        }

        .skeleton-line.medium {
            width: 80%;
        }

        .skeleton-line.long {
            width: 100%;
        }

        .skeleton-footer {
            display: flex;
            gap: 1rem;
            margin-top: 10px;
        }

        .skeleton-btn {
            width: 40px;
            height: 12px;
        }

        /* === Dark Mode === */
        html.dark-mode .comment-skeleton {
            /* background-color: rgba(255, 255, 255, 0.03); */
            border: 1px solid var(--border-color);
        }

        html.dark-mode .skeleton-avatar,
        html.dark-mode .skeleton-name,
        html.dark-mode .skeleton-handle,
        html.dark-mode .skeleton-line,
        html.dark-mode .skeleton-btn {
            background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 25%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.08) 75%);
            background-size: 200% 100%;
            animation: shimmer-elements 1.6s ease-in-out infinite;
        }

        html.dark-mode .comment-skeleton::after {
            background: linear-gradient(to right,
                    transparent 0%,
                    rgba(255, 255, 255, 0.3) 50%,
                    transparent 100%);
        }

        /* === Shimmer Animation === */
        @keyframes shimmer {
            0% {
                left: -150px;
            }

            100% {
                left: 100%;
            }
        }

        @keyframes shimmer-elements {
            0% {
                background-position: -200% 0;
            }

            100% {
                background-position: 200% 0;
            }
        }

        /* ============================= */

        /* No Comments State */
        .no-comments {
            text-align: center;
            padding: 60px 20px;
            /* background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
            border-radius: 16px;
            margin: 20px 0;
            border: 2px dashed #dee2e6;
            transition: all 0.3s ease;
        }

        .no-comments:hover {
            border-color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(0, 123, 255, 0.1);
        }

        .no-comments-icon {
            font-size: 48px;
            color: #6c757d;
            margin-bottom: 16px;
            display: block;
        }

        .no-comments h3 {
            color: #495057;
            font-size: 24px;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .no-comments p {
            color: #6c757d;
            font-size: 16px;
            margin-bottom: 20px;
            line-height: 1.5;
        }

        .start-conversation-btn {
            background: var(--gradient);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 25px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }

        .start-conversation-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px var(--shadow-heavy);
        }

        /* ============================================================= */

        /* Author replies styling */
        .author-replies-section {
            margin-top: 10px;
            margin-bottom: 10px;
        }

        .author-replies-section .comment-item {
            border-left: 3px solid #007bff;
            padding-left: 15px;
            background: rgba(0, 123, 255, 0.05);
            border-radius: 8px;
            margin-bottom: 10px;
        }

        .author-replies-section .author-replies .comment-item .comment-actions .reply-btn {
            display: none;
        }
        .author-replies-section .author-replies .comment-item .comment-actions .dropdown .dropdown-menu .report-btn{
            display: none;
        }
        .author-replies-section .author-replies .comment-item .comment-actions .dropdown .dropdown-menu hr{
            display: none;
        }

        /* Current user replies styling */
        .current-user-replies-section {
            margin-top: 10px;
            margin-bottom: 10px;
        }

        .current-user-replies-section .comment-item {
            border-left: 3px solid #28a745;
            padding-left: 15px;
            background: rgba(40, 167, 69, 0.05);
            border-radius: 8px;
            margin-bottom: 10px;
        }

        .author-reply-toggle,
        .current-user-reply-toggle {
            background: none;
            border: none;
            color: #6c757d;
            font-size: 0.875rem;
            padding: 5px 0;
            cursor: pointer;
            margin-top: 5px;
            margin-right: 15px;
            text-decoration: underline;
        }

        .author-reply-toggle:hover,
        .current-user-reply-toggle:hover {
            color: #007bff;
        }

        .reply-toggle {
            background: none;
            border: none;
            color: #6c757d;
            font-size: 0.875rem;
            padding: 5px 0;
            cursor: pointer;
            margin-top: 10px;
            text-decoration: underline;
        }

        .reply-toggle:hover {
            color: #007bff;
        }

        .replies-hidden {
            display: none;
        }

        /* Enhanced styling for author comments with badge */
        .comment-item .position-relative .badge {
            font-weight: bold;
            color: white;
            background-color: #007bff !important;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        /* ====================================== */

/* ================================================================================== */

/* Post Article */
        .post-article {
            /* background: #fff; */
            /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); */
            overflow: hidden;
            margin-bottom: 30px;
        }

        @media screen and (min-width: 677px) {
            .post-article {
                border-radius: 12px;
            }

            .post-content,
            .post-main-content,
            .post-tags,
            .social-sharing,
            .movie-details {
                border-left: 1px solid var(--border-color);
                border-right: 1px solid var(--border-color);
            }

            .social-sharing {
                border-bottom: 1px solid var(--border-color);
                border-radius: 0 0 15px 15px;
            }


        }

        .post-header {
            position: relative;
            overflow: hidden;
        }

        .post-featured-image {
            width: 100%;
            /* height: 400px; */
            /* object-fit: cover; */
            transition: transform 0.3s ease;
        }

        .post-featured-image:hover {
            transform: scale(1.05);
        }

        /* .post-content {
            padding: 30px 30px 0 30px;
            border-bottom: 1px solid #e2e8f0;
        } */

        .post-overlay {
            position: relative;
        }

        .post-type-badge {
            display: inline-block;
            padding: 5px 17px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 15px;
        }

        .post-type-badge.category {
            background: var(--primary-color);
            /* blue */
            color: white;
        }

        .post-type-badge.blog {
            background: var(--secondary-color);
            /* blue */
            color: white;
        }

        .post-type-badge.movie {
            background: var(--secondary-color);
            /* amber */
            color: white;
        }

        .post-type-badge.app {
            background: var(--secondary-color);
            /* green */
            color: white;
        }


        .post-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        html.dark-mode .post-title {
            color: var(--text-light);
        }

        .post-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            /* margin-bottom: 25px; */
        }

        .post-meta-item {
            display: flex;
            align-items: center;
            gap: 8px;
            color: #64748b;
            font-size: 14px;
        }

        .post-meta-item i {
            /* color: var(--primary-color); */
            font-size: 16px;
        }

        /* Movie Details */
        .movie-details {
            /* background: #f8fafc; */
            /* border: 1px solid #e2e8f0; */
            /* border-radius: 8px; */
            padding: 25px;
            /* margin: 25px 0; */
        }



        .movie-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }

        .movie-info-item {
            /* display: flex; */
            align-items: center;
            gap: 10px;
            padding: 10px;
            /* background: #fff; */
            border-radius: 6px;
            border: 1px solid #e2e8f0;
        }

        .movie-info-item strong {
            color: #374151;
            font-weight: 600;
            min-width: 120px;
        }

        .rating {
            background: #fbbf24;
            color: #92400e;
            padding: 2px 8px;
            border-radius: 4px;
            font-weight: 600;
            font-size: 12px;
        }

        .movie-cast {
            margin: 15px 0;
            padding: 15px;
            /* background: #fff; */
            border-radius: 6px;
            border: 1px solid #e2e8f0;
        }

        .movie-cast strong {
            color: #374151;
            font-weight: 600;
        }

        .movie-plot {
            margin: 15px 0;
            padding: 15px;
            /* background: #fff; */
            border-radius: 6px;
            border: 1px solid #e2e8f0;
        }

        .movie-plot strong {
            color: #374151;
            font-weight: 600;
            display: block;
            margin-bottom: 10px;
        }

        .movie-plot p {
            color: #4b5563;
            line-height: 1.6;
        }

        .movie-trailer {
            text-align: center;
            margin-top: 20px;
        }

        .movie-trailer a {
            background: red !important;
        }


        /* App Details */
        .app-details {
            /* background: #f0fdf4; */
            border: 1px solid #bbf7d0;
            border-radius: 8px;
            padding: 25px;
            margin: 25px 0;
        }

        .app-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }

        .app-info-item {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px;
            /* background: #fff; */
            border-radius: 6px;
            border: 1px solid #bbf7d0;
        }

        .app-info-item strong {
            color: #374151;
            font-weight: 600;
            min-width: 120px;
        }

        .app-store-links {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 20px;
        }

        /* Main Content */
        .post-main-content {
            padding: 30px;
            font-size: 16px;
            line-height: 1.8;
            color: #374151;
        }

        html.dark-mode .post-main-content {
            color: var(--text-secondary) !important;
        }

        .post-main-content h1,
        .post-main-content h2,
        .post-main-content h3,
        .post-main-content h4,
        .post-main-content h5,
        .post-main-content h6 {
            color: #1e293b;
            margin: 25px 0 15px 0;
            font-weight: 600;
        }

        html.dark-mode .post-main-content h1,
        html.dark-mode .post-main-content h2,
        html.dark-mode .post-main-content h3,
        html.dark-mode .post-main-content h4,
        html.dark-mode .post-main-content h5,
        html.dark-mode .post-main-content h6 {
            color: var(--text-primary);
        }

        .post-main-content h1 {
            font-size: 2.25rem;
        }

        .post-main-content h2 {
            font-size: 1.875rem;
        }

        .post-main-content h3 {
            font-size: 1.5rem;
        }

        .post-main-content h4 {
            font-size: 1.25rem;
        }

        .post-main-content h5 {
            font-size: 1.125rem;
        }

        .post-main-content h6 {
            font-size: 1rem;
        }

        .post-main-content p {
            margin-bottom: 20px;
        }

        .post-main-content ul,
        .post-main-content ol {
            margin: 20px 0;
            padding-left: 50px;
        }

        .post-main-content li {
            margin-bottom: 8px;
        }

        .post-main-content blockquote {
            border-left: 4px solid #3b82f6;
            padding: 15px 20px;
            margin: 25px 0;
            background: #f8fafc;
            border-radius: 0 8px 8px 0;
            font-style: italic;
            color: #4b5563;
        }

        .post-main-content code {
            background: #f1f5f9;
            color: #dc2626;
            padding: 2px 6px;
            border-radius: 4px;
            font-family: 'Courier New', monospace;
            font-size: 14px;
        }

        .post-main-content pre {
            background: #1e293b;
            color: #f8fafc;
            padding: 20px;
            border-radius: 8px;
            overflow-x: auto;
            margin: 20px 0;
        }

        .post-main-content pre code {
            background: none;
            color: inherit;
            padding: 0;
        }

        .post-main-content img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            margin: 20px 0;
        }

        /* Table Styles */
        .comparison-table {
            overflow-x: auto;
            margin: 25px 0;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .comparison-table table {
            width: 100%;
            border-collapse: collapse;
            /* background: #fff; */
            font-size: 14px;
        }

        .comparison-table th,
        .comparison-table td {
            padding: 12px 15px;
            text-align: left;
            border-bottom: 1px solid #e2e8f0;
        }

        .comparison-table th {
            /* background: #f8fafc; */
            font-weight: 600;
            color: #fff;
            border-bottom: 2px solid #e2e8f0;
        }



        /*============================== */

        /*============================== */

        /* Tags */
        .post-tags {
            padding: 25px 30px;
            border-top: 1px solid var(--border-color);
        }

        .post-tags h4 {
            color: #374151;
            margin-bottom: 15px;
            font-size: 1.1rem;
            /* border-bottom: 2px solid #007bff; */
            /* padding-bottom: 10px; */
            text-transform: uppercase;

        }

        .tags-list {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        }

        .tag-link {
            display: inline-block;
            background: #f1f5f9;
            color: #475569;
            padding: 6px 12px;
            border-radius: 20px;
            text-decoration: none;
            font-size: 14px;
            transition: all 0.3s ease;
            border: 1px solid var(--border-color);
        }

        html.dark-mode .tag-link {
            background-color: var(--bg-secondary);
            color: var(--text-secondary);
        }

        .tag-link:hover {
            background: var(--gradient);
            color: #fff;
            transform: translateY(-1px);
        }

        /* Social Sharing */
        .social-sharing {
            padding: 25px 30px;
            border-top: 1px solid var(--border-color);
            /* background: #f8fafc; */
        }

        .social-sharing h4 {
            color: #374151;
            margin-bottom: 17px;
            font-size: 1.1rem;
            /* text-transform: uppercase; */
            border-bottom: 2px solid var(--primary-color);
            padding-bottom: 10px;
        }

        .social-buttons {
            display: flex;
            gap: 15px;
            flex-wrap: wrap;
        }

        .btn-social {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 10px 15px;
            border-radius: 6px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .btn-social:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .btn-social.twitter {
            background: #000;
            color: #fff;
        }

        html.dark-mode .btn-social.twitter {
            border: 1px solid var(--border-color);
        }

        .btn-social.facebook {
            background: #1877f2;
            color: #fff;
        }

        .btn-social.linkedin {
            background: #0a66c2;
            color: #fff;
        }

        .btn-social.whatsapp {
            background: #25d366;
            color: #fff;
        }

        .btn-social.copy {
            background: blue;
            color: #fff;
        }

        /* Button Styles */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 15px 30px;
            border: none;
            border-radius: 6px;
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: center;
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .btn-primary {
            background: #3b82f6;
            color: #fff;
        }

        .btn-primary:hover {
            background: #2563eb;
        }

        .btn-success {
            background: #10b981;
            color: #fff;
        }

        .btn-success:hover {
            background: #059669;
        }

        .btn-download {
            background: #f59e0b;
            color: #fff;
        }

        .btn-download:hover {
            background: #d97706;
        }

        .btn-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
        }

        .btn-outline-gradient {
            background: transparent;
            color: #667eea;
            border: 2px solid #667eea;
        }

        .btn-outline-gradient:hover {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            /* .container {
        padding: 0 15px;
    } */

            .col-lg-8 {
                flex: 0 0 100%;
                max-width: 100%;
            }

            .post-title {
                font-size: 2rem;
            }

            .post-meta {
                justify-content: center;
                text-align: center;
            }

            .post-content {
                padding: 20px;
            }

            .post-main-content {
                padding: 20px;
                font-size: 1em;
            }

            /* ===================================================== */

            /* Main Content */
            .post-main-content {
                font-size: 14px;
                line-height: 1.7;
                color: #374151;
            }


            .post-main-content h1 {
                font-size: 1.7rem;
            }

            .post-main-content h2 {
                font-size: 1.5rem;
            }

            .post-main-content h3 {
                font-size: 1.3rem;
            }

            .post-main-content h4 {
                font-size: 1.1rem;
            }

            .post-main-content h5 {
                font-size: 0.9rem;
            }

            .post-main-content h6 {
                font-size: 0.7rem;
            }




            /* ===================================================== */

            .movie-info-grid,
            .app-info-grid {
                grid-template-columns: 1fr;
            }

            .download-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }

            .download-actions {
                align-items: flex-start;
                width: 100%;
            }

            /* .social-buttons {
                justify-content: center;
            } */

            .app-store-links {
                flex-direction: column;
                align-items: center;
            }

            .breadcrumb-item.active {
                display: none;
            }

            .heading-toc {
                display: none;
            }
        }

        @media (max-width: 480px) {
            .post-title {
                font-size: 1.5rem;
            }

            /* .post-featured-image {
                height: 250px;
            } */

            .movie-details,
            .app-details,
            .download-section {
                padding: 15px;
            }

            /* .social-buttons {
                flex-direction: column;
            } */

            /* .btn-social {
                justify-content: center;
            } */
        }


        /* Loading Animation */
        .loading {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid #3498db;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Smooth Scroll */
        html {
            scroll-behavior: smooth;
        }

        /* Selection */
        ::selection {
            background: #3b82f6;
            color: #fff;
        }

        /* Focus Styles */
        /* a:focus,
        button:focus,
        input:focus,
        textarea:focus {
            outline: 2px solid #3b82f6;
            outline-offset: 2px;
        } */

        /* Print Styles */
        @media print {

            .social-sharing,
            .download-section,
            .breadcrumb-section {
                display: none;
            }

            .post-article {
                box-shadow: none;
                border: 1px solid #ccc;
            }
        }

        @media screen and (max-width: 676px) {

            .col-lg-8 {
                /* border: 1px solid var(--border-color); */
                /* border-radius: 15px; */
                /* box-shadow: 0 5px 25px var(--shadow-light); */
                padding: 0;
            }

            .movie-details {
                border: none;
            }

            .post-meta {
                justify-content: start;
            }

            .breadcrumb-section {
                display: none;
            }

            .main-content {
                margin-top: 0 !important;
            }

        }

        .download-btn {
            transition: all 0.4s ease-in-out;
            text-decoration: none;
            display: inline-block;
        }

        .download-btn.disabled {
            pointer-events: none;
            opacity: 0.7;
            cursor: not-allowed;
        }


        /*.styled-first-paragraph::first-letter {*/
        /*    font-size: 3em;*/
        /*    font-weight: bold;*/
        /*    color: #1e40af;*/
        /*    float: left;*/
        /*    line-height: 1;*/
        /*    padding-right: 5px;*/
        /*    margin-top: 2px;*/
        /*    font-family: 'Georgia', serif;*/
        /*}*/

        .citation {
            margin-left: 20px !important;
            font-size: 15px;
            border-radius: 50%;
            text-decoration: none;
            padding: 5px 10px;
            border: 1px solid var(--border-color);
            display: none;
        }

        .my-5 {
            margin-top: 0 !important;
            margin-bottom: 0 !important;
        }

        .post-main-content {
            padding-top: 0 !important;
        }

        html.dark-mode button.hindi-text {
            color: #fff;
        }

        
                                /* ===== OVERLAY TOC STYLES ===== */
                                #tocToggleBtn {
                                    position: fixed;
                                    top: 50%;
                                    left: 0;
                                    transform: translateY(-50%);
                                    background: var(--gradient);
                                    color: white;
                                    padding: 12px 8px;
                                    border-radius: 0 8px 8px 0;
                                    cursor: pointer;
                                    z-index: 1000;
                                    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
                                    transition: all 0.3s ease;
                                    display: flex;
                                    align-items: center;
                                    gap: 8px;
                                    font-size: 14px;
                                    font-weight: 500;
                                }


                                .toc-panel {
                                    position: fixed;
                                    top: 60px;
                                    left: -350px;
                                    width: 295px;
                                    height: 100vh;
                                    background: white;
                                    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
                                    z-index: 1001;
                                    transition: left 0.3s ease;
                                    overflow-y: auto;
                                    scrollbar-width: none;
                                    /* Firefox */
                                }

                                .toc-panel::-webkit-scrollbar {
                                    display: none;
                                    /* Chrome, Safari */
                                }

                                html.dark-mode .toc-panel {
                                    background: var(--bg-primary);
                                }

                                html.dark-mode .toc-panel a {
                                    color: var(--text-secondary) !important;

                                }

                                html.dark-mode .toc-panel a:hover {
                                    color: #000 !important;
                                }

                                .toc-panel.open {
                                    left: 0;
                                }

                                .toc-header {
                                    background: var(--gradient);
                                    padding: 9px 20px;
                                    display: flex;
                                    justify-content: space-between;
                                    align-items: center;
                                    position: sticky;
                                    top: 0;
                                }

                                .toc-header h4 {
                                    margin: 0;
                                    font-size: 16px;
                                    display: flex;
                                    align-items: center;
                                    gap: 8px;
                                    color: white !important;
                                }

                                .toc-close {
                                    background: none;
                                    border: none;
                                    color: white;
                                    font-size: 16px;
                                    cursor: pointer;
                                    padding: 5px;
                                    border-radius: 4px;
                                    transition: background 0.2s;
                                }

                                /* .toc-close:hover {
    background: rgba(255,255,255,0.2);
} */

                                .toc-panel ol {
                                    padding: 20px;
                                    margin: 0;
                                    list-style: none;
                                    margin-bottom: 70px;
                                }

                                .toc-panel ol ol {
                                    padding: 0 0 0 20px;
                                    margin: 8px 0;
                                }

                                .toc-panel li {
                                    margin: 8px 0;
                                }

                                .toc-panel a {
                                    color: #333;
                                    text-decoration: none;
                                    display: block;
                                    padding: 8px 12px;
                                    border-radius: 6px;
                                    transition: all 0.2s;
                                    font-size: 14px;
                                }

                                .toc-panel a:hover {
                                    background: #f0f4ff;
                                    color: #667eea;
                                }

                                .toc-panel a.active {
                                    background: #667eea;
                                    color: white;
                                }

                                /* ===== IN-PAGE TOC STYLES ===== */
                                .toc-inpage {
                                    /* background: #f8f9ff; */
                                    border: 1px solid #e2e8f0;
                                    border-radius: 12px;
                                    margin-bottom: 25px;
                                    overflow: hidden;
                                    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); */
                                }

                                .toc-inpage-header {
                                    /* background: var(--gradient); */
                                    /* color: white; */
                                    padding: 16px 20px;
                                    cursor: pointer;
                                    display: flex;
                                    justify-content: space-between;
                                    align-items: center;
                                    font-weight: 600;
                                    transition: background 0.3s ease;
                                }

                                .toc-inpage-header:hover {
                                    background: var(--gradient);
                                }

                                .toc-inpage-header span {
                                    display: flex;
                                    align-items: center;
                                    gap: 10px;
                                    font-size: 16px;
                                }

                                #inpageIcon {
                                    transition: transform 0.3s ease;
                                    font-size: 14px;
                                }

                                .toc-inpage.collapsed #inpageIcon {
                                    transform: rotate(-90deg);
                                }

                                .toc-inpage-content {
                                    max-height: 500px;
                                    overflow: auto;
                                    transition: max-height 0.4s ease, opacity 0.3s ease;
                                    opacity: 1;
                                }

                                html.dark-mode .toc-inpage-content {
                                    background: var(--bg-primary);
                                }

                                .toc-inpage.collapsed .toc-inpage-content {
                                    max-height: 0;
                                    opacity: 0;
                                }

                                .toc-inpage-content ol {
                                    padding: 20px;
                                    margin: 0;
                                    list-style: none;
                                }

                                .toc-inpage-content ol ol {
                                    padding: 0 0 0 25px;
                                    margin: 10px 0;
                                }

                                .toc-inpage-content li {
                                    margin: 10px 0;
                                }

                                .toc-inpage-content a {
                                    /* color: #2d3748; */
                                    text-decoration: none;
                                    display: block;
                                    padding: 12px 16px;
                                    border-radius: 8px;
                                    transition: all 0.3s ease;
                                    /* background: white; */
                                    border: 1px solid #e2e8f0;
                                    font-weight: 500;
                                    position: relative;
                                    overflow: hidden;
                                }

                                .toc-inpage-content a::before {
                                    content: '';
                                    position: absolute;
                                    top: 0;
                                    left: -100%;
                                    width: 100%;
                                    height: 100%;
                                    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
                                    transition: left 0.5s ease;
                                }

                                .toc-inpage-content a:hover::before {
                                    left: 100%;
                                }

                                .toc-inpage-content a:hover {
                                    background: var(--gradient);
                                    color: white;
                                    transform: translateX(5px);
                                    border-color: #667eea;
                                    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
                                }

                                .toc-inpage-content a.active {
                                    background: var(--gradient);
                                    color: white;
                                    border-color: #667eea;
                                    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
                                }

                                .toc-inpage-content ol ol a {
                                    font-size: 14px;
                                    padding: 10px 14px;
                                    /* background: #f7fafc; */
                                    border-color: #cbd5e0;
                                }

                                .toc-inpage-content ol ol a:hover {
                                    background: #e2e8f0;
                                    color: #667eea;
                                    transform: translateX(3px);
                                }

                                /* Heading highlight animation */
                                .highlighted {
                                    background: linear-gradient(90deg, rgba(102, 126, 234, 0.15) 0%, transparent 100%);
                                    padding: 15px;
                                    border-left: 4px solid #667eea;
                                    border-radius: 0 8px 8px 0;
                                    transition: all 0.3s ease;
                                    animation: highlight-pulse 2s ease-in-out;
                                    margin: 10px 0;
                                }

                                @keyframes highlight-pulse {

                                    0%,
                                    100% {
                                        background: linear-gradient(90deg, rgba(102, 126, 234, 0.15) 0%, transparent 100%);
                                        transform: translateX(0);
                                    }

                                    50% {
                                        background: linear-gradient(90deg, rgba(102, 126, 234, 0.25) 0%, transparent 100%);
                                        transform: translateX(3px);
                                    }
                                }

                                /* ===== MOBILE STYLES ===== */
                                @media (max-width: 768px) {
                                    #tocToggleBtn {
                                        display: none;
                                    }

                                    .toc-panel {
                                        display: none;
                                    }

                                    .toc-inpage-content ol {
                                        padding: 15px;
                                    }
                                }
 