.hcb-fac49cfb-container {
    display: grid;
    min-height: 600px;
    width: 100%;
	transition: grid-template-columns 0.3s ease;
    position: relative;
}

/* Base state (expanded on desktop, off-canvas on mobile) */
@media (min-width: 769px) {
	.hcb-fac49cfb-container {
		/* Desktop expanded handled by settings */
	}
	/* Default collapsed state for desktop if added via settings */
	.hcb-fac49cfb-container.hcb-fac49cfb-collapsed {
		/* Width handled by settings */
	}
	.hcb-fac49cfb-container.hcb-fac49cfb-collapsed .hcb-fac49cfb-sidebar-title,
	.hcb-fac49cfb-container.hcb-fac49cfb-collapsed .hcb-fac49cfb-sidebar-text {
		display: none;
	}
	.hcb-fac49cfb-container.hcb-fac49cfb-collapsed .hcb-fac49cfb-sidebar-header {
		justify-content: center;
		padding: 20px 10px;
	}
	.hcb-fac49cfb-container.hcb-fac49cfb-collapsed .hcb-fac49cfb-toggle-icon {
		margin-right: 0;
	}
	.hcb-fac49cfb-container.hcb-fac49cfb-collapsed .hcb-fac49cfb-sidebar-item {
		justify-content: center;
		padding: 15px 10px;
	}
	.hcb-fac49cfb-container.hcb-fac49cfb-collapsed .hcb-fac49cfb-sidebar-icon {
		margin-right: 0;
	}
    
    .hcb-fac49cfb-mobile-toggle,
    .hcb-fac49cfb-canvas-overlay {
        display: none;
    }
}

@media (max-width: 1024px) {
    /* Ensure grid columns span full width on tablet and mobile */
    .hcb-fac49cfb-container {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    
    /* Off-canvas sidebar */
	.hcb-fac49cfb-sidebar {
        position: fixed;
        top: 0;
        left: -300px; /* Hide by default */
        width: 300px;
        height: 100vh;
        z-index: 9999;
		border-right: none;
		border-bottom: none;
        box-shadow: 5px 0 15px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
	}
    
    .hcb-fac49cfb-container.hcb-fac49cfb-offcanvas-open .hcb-fac49cfb-sidebar {
        left: 0;
    }
    
    /* Overlay */
    .hcb-fac49cfb-canvas-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .hcb-fac49cfb-container.hcb-fac49cfb-offcanvas-open .hcb-fac49cfb-canvas-overlay {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile Toggle Button - Absolutely positioned */
    .hcb-fac49cfb-mobile-toggle {
        display: flex;
        align-items: center;
        background-color: #d32f2f;
        color: #ffffff;
        padding: 10px 15px;
        cursor: pointer;
        z-index: 10;
        position: absolute;
        top: 20px;
        left: 20px;
        border-radius: 4px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }
    
    .hcb-fac49cfb-mobile-toggle-icon {
        margin-right: 8px;
        display: flex;
    }
    
    .hcb-fac49cfb-mobile-toggle-icon svg {
        width: 18px;
        height: 18px;
        fill: currentColor;
    }
    
    .hcb-fac49cfb-mobile-toggle-text {
        font-weight: bold;
        text-transform: uppercase;
        font-size: 14px;
    }
    
    /* Close button inside sidebar */
    .hcb-fac49cfb-sidebar-close {
        display: flex !important;
        position: absolute;
        top: 15px;
        right: 15px;
        cursor: pointer;
        color: #ffffff;
    }
    
    .hcb-fac49cfb-sidebar-close svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }
	
	.hcb-fac49cfb-sidebar-list {
		display: flex;
		flex-direction: column;
        height: calc(100vh - 60px);
	}
	
	.hcb-fac49cfb-sidebar-item {
		border-bottom: 1px solid #eeeeee;
		border-right: none;
	}

    .hcb-fac49cfb-hero {
        padding-top: 80px; /* Make space for the absolute toggle */
    }
}

.hcb-fac49cfb-sidebar {
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #eeeeee;
	transition: all 0.3s ease;
}

.hcb-fac49cfb-sidebar-header {
	background-color: #d32f2f;
    color: #ffffff;
    padding: 20px;
	display: flex;
	align-items: center;
	cursor: pointer;
	transition: all 0.3s ease;
    position: relative;
}

.hcb-fac49cfb-sidebar-close {
    display: none; /* Hidden on desktop */
}

.hcb-fac49cfb-toggle-icon {
	margin-right: 10px;
	display: flex;
	align-items: center;
}
.hcb-fac49cfb-toggle-icon svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.hcb-fac49cfb-sidebar-title {
    font-weight: bold;
    text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hcb-fac49cfb-sidebar-list {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
	overflow-x: hidden;
}

.hcb-fac49cfb-sidebar-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333333;
    text-decoration: none;
    border-bottom: 1px solid #eeeeee;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hcb-fac49cfb-sidebar-item:hover {
    background-color: #fcfcfc;
    color: #d32f2f;
}

.hcb-fac49cfb-sidebar-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
	flex-shrink: 0;
}

.hcb-fac49cfb-sidebar-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.hcb-fac49cfb-sidebar-text {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.hcb-fac49cfb-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #2c3e50;
    display: flex;
    align-items: center;
    padding: 50px;
	overflow: hidden;
}

/* Background Slider Elements */
.hcb-fac49cfb-slider-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}
.hcb-fac49cfb-slider-bg.active {
    opacity: 1;
}

.hcb-fac49cfb-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(44, 62, 80, 0.7);
    z-index: 1;
}

.hcb-fac49cfb-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hcb-fac49cfb-badge {
    display: inline-block;
    background-color: #d32f2f;
    color: #ffffff;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hcb-fac49cfb-heading {
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 20px 0;
    text-transform: uppercase;
}

.hcb-fac49cfb-desc {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
}

.hcb-fac49cfb-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hcb-fac49cfb-btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hcb-fac49cfb-btn-1 {
    background-color: #d32f2f;
    color: #ffffff;
    border: 1px solid #d32f2f;
}

.hcb-fac49cfb-btn-1:hover {
    background-color: #b71c1c;
    border-color: #b71c1c;
}

.hcb-fac49cfb-btn-2 {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid #ffffff;
}

.hcb-fac49cfb-btn-2:hover {
    background-color: #ffffff;
    color: #333333;
}
