html, body {
    height: 100%;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1 0 auto; /* take up remaining space */
}
footer {
    flex-shrink: 0; /* don’t let footer shrink */
}
    
/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 0.5rem 1rem;
    color: white;
    position: relative;
}

/* Top menu (wide screen) */
.nav-links {
    display: flex;
    /*gap: 2rem;*/
    justify-content: space-between;
   /* align-items: right; */
}
.navbar-brand{
    font-size:1.5rem;
    font-weight: bold;
}
.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.5rem;
}

.nav-links a:hover {
    background-color: #555;
    border-radius: 4px;
}

/* Hamburger */
.menu-toggle {
    font-size: 1.5rem;
    cursor: pointer;
    display: none; /* default hidden, shown in JS if logged in */
}
.menu-toggle:hover {
    background-color: #555;
    border-radius: 4px;
}

/* Center search */
.center-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 60px);
    background-color: #f4f4f4;
}

.center-content input {
    padding: 0.5rem;
    font-size: 1rem;
    width: 300px;
    max-width: 80%;
}
.category-block {
            display: inline-flex;
            align-items: center;
            width: 180px; /* Fixed width */
            padding: 12px 15px;
            background: linear-gradient(to right, #3498db, #2c3e50);
            color: white;
            border-radius: 50px; /* Pill shape */
            text-align: center;
            white-space: nowrap;
            overflow: visible;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s, box-shadow 0.3s;
            flex-shrink: 0; /* Prevents shrinking */
        }
        .category-block:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        }
        
        .category-block i {
            margin-right: 5px;
            font-size: 0.9rem;
        }
@media (max-width: 768px) {
            /* .container {
                width: 95%;
                padding: 20px;
            }
            
            h1 {
                font-size: 2rem;
            }
            
            .responsive-test {
                flex-direction: column;
            }
            
            .center-content {
                gap: 10px;
            } */
            
            .category-block {
                width: 170px; /* Slightly smaller on tablets */
            }
        }
        
        @media (max-width: 480px) {
            .category-block {
                width: 100%; /* Full width on very small screens */
                max-width: 280px; /* But with a maximum width */
                justify-content: center;
            }
            
            /* .center-content {
                flex-direction: column;
                align-items: center;
            } */
        }
/* Dropdown menu */
.dropdown-menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 65px;
    left: 10px;
    width: 200px;
    padding: 0rem 0;
    z-index: 1000;
}

.dropdown-menu a {
    color: #333;
    padding: 0.5rem 1rem;
    text-decoration: none;    
}

.dropdown-menu a:hover {
    /* background-color: #ababab;
    color: #ffc107; */
    color: #94ff1c;
    background-color: #6c757d;
}

.dropdown-menu.active {
    display: flex;
}

/* Responsive toggle on small screens */
@media (max-width: 768px) {
    .nav-links {
    display: none; /* Hide top links on mobile */
    }
    .menu-toggle {
    display: block !important; /* Always show on small screens */
    }
}

.wcl-page-a {
    display: inline-block;
}

.wcl-page-a > a {
    color: black;
    float: left;
    padding: 0 5px 0 5px;
    text-decoration: none;
    font-size: 1.1em;
}
.wcl-page-a > a:hover {
    font-weight: bold;
    font-size: 1.1em;
    color: #0d6efd;
}
.wcl-page-a > a.nav-selected {
    font-weight: bold;
    font-size: 1.1em;
    color: #fd7e14;
}