body{
    font-family:roboto;
}

/* Perfect justified layout */
.justified-gallery {
    margin-left: -2px !important;
    margin-right: -2px !important;
}

.justified-item {
    margin: 2px !important;
}

@media (max-width: 768px) {
    .custom-image-container {
        max-width: 100% !important;
    }

    

    .image-left-section{
        margin-top: -90px;
    }

    .image-left-section{
        padding-left:50px !important;
        padding-right:50px !important;
    }
    
    .justified-gallery {
        gap: 3px !important;
        margin-left: -1.5px !important;
        margin-right: -1.5px !important;
    }
    
    .justified-item {
        min-width: calc(50% - 3px) !important;
        height: 180px !important;
        margin: 1.5px !important;
    }
    
    .image-navigation {
        flex-direction: column !important;
        gap: 15px;
    }
    
    .image-navigation > div {
        width: 100%;
        text-align: center;
    }
    
    .image-navigation a {
        display: block !important;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .justified-item {
        min-width: calc(100% - 3px) !important;
        height: 200px !important;
        flex: 1 !important;
    }
    
    .justified-gallery {
        gap: 3px !important;
    }
}

/* Justified gallery hover effects */
.justified-item:hover .justified-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.justified-item:hover .image-overlay {
    opacity: 1;
}

/* Smooth transitions */
.justified-item {
    transition: transform 0.2s ease;
}

.justified-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 10;
    position: relative;
}

/* Existing styles */


.image-section{
    background-color: #fff;
    padding-left: 50px !important;
    padding-right: 50px !important;
    padding:15px;
    border-radius: 5px;
}

.image-meta{
    font-family: roboto;
}

.image-download-button{
    color: #fff !important;
    background-color: #000;
    padding: 10px 20px;
    border-radius: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.image-download-button-green{
    background-color: #294D5C;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 5px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.mt-5{
    margin-top: 50px;
}

.image-left-section{
    padding-left:50px !important;
}

.post-meta-d{
    font-size: 12px;
}

.related-images-section{
    background-color: #e9e9e9a6;
    width: 100%;
    padding-top: 20px;
}

.related-images{
    padding:30px 100px;
}


 @media (max-width: 480px){
    .related-images{
    padding:5px;
}

.related-images-section{
    margin-top: 50px;
}
 }



/* Hover/active state */
.ui-menu-item-wrapper.ui-state-active {
    background: #f0f0f0 !important; /* apna color lagao */
    color: #333 !important;         /* text color */
    border: none !important;
}


#msb-search:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid #ccc !important; /* apna normal border rakh lo */
}
