@media screen and ( max-width: 400px ){

    li.page-item {

        display: none;
    }

    .page-item:first-child,
    .page-item:nth-child( 2 ),
    .page-item:nth-last-child( 2 ),
    .page-item:last-child,
    .page-item.active,
    .page-item.disabled {

        display: block;
    }
}

.table_form{
    width: 70%;
    border-radius: 20px;
    background-color: #FFF;
    padding: 15px;
}
.table_form td{
    border-radius: 20px;
}
.table_form tr{
    border-radius: 20px;
}

@media (max-width: 576px) {
    .table_form{
        width: 100%;
    }
  }

.ck-editor__editable[role="textbox"] {
    /* editing area */
    min-height: 300px;
}
.ck-content .image {
    /* block images */
    max-width: 80%;
    margin: 20px auto;
}

.hs-item.set-bg {
    position: relative;
    z-index: 1;
}
.hs-item.set-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5); /* 50% black overlay */
    z-index: -1;
}

 .features-section {
            padding: 50px 0;
            background-color: #f9f9f9;
        }
        .feature-item {
            text-align: center;
            padding: 20px;
        }
        .feature-icon {
            font-size: 48px;
            color: #DC143C; /* Theme color */
            margin-bottom: 20px;
        }
        .feature-item h3 {
            font-size: 22px;
            margin-bottom: 15px;
            font-weight: 600;
        }
        .feature-item p {
            color: #666;
        }
        
        .gallery-section .gallery .row {
        margin-left: -15px;
        margin-right: -15px;
    }

    /* This is the main fix: Override conflicting style from style.css */
    .gallery .gallery-item {
        width: auto !important; /* Use auto width to respect Bootstrap columns */
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        margin-bottom: 30px; /* Add space between rows */
    }

    .gallery .gallery-item img {
        transition: transform 0.3s ease;
    }

    .gallery .gallery-item:hover img {
        transform: scale(1.1);
    }

.user-info-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.user-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.user-info-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
}

.user-info-details {
    flex-grow: 1;
}

.user-info-name {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.user-info-role {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.user-info-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.user-info-body p {
    margin: 0;
    padding: 5px;
    border-bottom: 1px solid #eee;
}

.user-info-body p:last-child {
    border-bottom: none;
}
