body {
  overflow-x: hidden;
}
/* Theme Styles */
[data-bs-theme="dark"] {
  color-scheme: dark;
}
.navbar.fixed-top {
  z-index: 9999!important;
}

/* For Navbar and its options */
#nav-bar {
  z-index: 99999;
  position: fixed;
  top: 0;
  left: 0;
  margin: 0 auto;
  padding: 5px 1%;
  width: 100%;
  max-height: 50px;
  height: 50px;
  background: var(--bs-body-bg);
  line-height: 30px;
  border-bottom: 1px solid var(--bs-light-border-subtle);
}
.brand-logo {
  max-height: 35px;
  height: auto; /* Ensures height is set automatically to maintain aspect ratio */
  width: auto; /* Ensures width is set automatically to maintain aspect ratio */
  object-fit: contain; /* Ensures the image fits within the container while maintaining aspect ratio */
}
        /* General Styles */
        .blog-card {
            transition: transform 0.3s;
        }

        .blog-card:hover {
            transform: translateY(-5px);
        }

        /* View Toggle Styles */
        .view-toggle .btn.active {
            background-color: var(--bs-primary);
            color: white;
        }
        
        .side-post-item {
            display: flex;
            gap: 1rem;
            padding: 0.75rem;
            border-top: 1px solid var(--bs-border-color);
            text-decoration: none;
            color: inherit;
            transition: background-color 0.2s;
        }
        
        .side-post-item:hover,
		.blog-post-item:hover {
            background-color: var(--bs-tertiary-bg);
        }
        
        .side-post-image {
            width: 70px;
            height: 70px;
            object-fit: cover;
            border-radius: 4px;
            flex-shrink: 0;
        }
        
        .blog-post-item {
            display: flex;
            gap: 1rem;
			margin-bottom: 15px;
            padding: 0.75rem;
            border: 1px solid var(--bs-border-color);
            text-decoration: none;
            color: inherit;
			border-radius: 4px;
            transition: background-color 0.2s;
        }
        
        .blog-post-image {
            width: 25%;
            height: 150px;
            object-fit: cover;
            border-radius: 4px;
            flex-shrink: 0;
        }
        
        .side-post-content {
            flex-grow: 1;
            min-width: 0;
        }
        
        .side-post-content h6 {
            margin-bottom: 0.25rem;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            font-size: 0.95rem;
            line-height: 1.4;
        }
        
        .side-post-content p {
            font-size: 0.875rem;
            margin-bottom: 0;
            color: var(--bs-secondary-color);
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
        }

        /* Sidebar Styles */
        .sidebar .card {
            margin-bottom: 1.5rem;
        }

        .sidebar .list-group-item {
            border-bottom: 1px solid var(--bs-border-color);
            padding: 0.75rem 1rem;
        }

        /* Footer Styles */
        .social-links a {
            display: inline-block;
            width: 32px;
            height: 32px;
            line-height: 32px;
            text-align: center;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.1);
            transition: background-color 0.2s;
        }

        .social-links a:hover {
            background-color: rgba(255, 255, 255, 0.2);
        }

        .bg-darker {
            background-color: rgba(0, 0, 0, 0.2);
        }
.blog-content .ql-video {
    width: 100%;
    aspect-ratio: 16/9;
    max-width: 100%;
    height: auto;
	border-radius: 10px;
}

/* For older browsers that don't support aspect-ratio */
@supports not (aspect-ratio: 16/9) {
    .blog-content .ql-video {
        position: relative;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
        height: 0;
        overflow: hidden;
    }
    
    .blog-content .ql-video iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
}

        /* Responsive Styles */
        @media (max-width: 768px) {
            .hero-section .col-main {
                order: 1;
				padding: 0px 20px!important;
				border: 0px!important;
            }
            
            .hero-section .col-trending {
                order: 2;
            }
            
            .hero-section .col-latest {
                order: 3;
            }

            .sidebar {
                text-align: center;
            }

            .sidebar .card {
                margin-left: auto;
                margin-right: auto;
                max-width: 400px;
            }
        }
        
        .sticky-sidebar {
            position: sticky;
            top: 20px;
        }
        
        @media (max-width: 768px) {
            .sticky-sidebar {
                position: static;
            }
            .sidebar-content {
                text-align: center;
            }
        }
@media (max-width: 992px) {
    .hero-section .col-main {
        order: 1;
    }
    
    .hero-section .col-trending {
        order: 2;
    }
    
    .hero-section .col-latest {
        order: 3;
    }
    
    .side-post-list {
        height: auto;
        max-height: 400px;
    }
}

#brand-logo-mobile {
	display: none;
}
#brand-logo {
	display: inline-block;
}
/* Tablet and below tablet */
@media (max-width: 767.98px) {
	#brand-logo {
		display: none;
	}
#brand-logo-mobile {
	display: inline-block;
}
	.vh-100 {
		margin-top: 70px!important;
		padding-bottom: 50px!important;
		height: auto!important;
	}
	
	.hide-in-mobile {
		display: none;
	}
}