/* Basic navigation styling */
.sg-header {
    background-color: #f8f9fa;
    padding: 10px;
    /*border-bottom: 2px solid #ccc;*/
}

.sg-nav {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows wrapping on small screens */
}

.sg-nav li {
    margin: 0 15px;
}

.sg-nav li a {
    text-decoration: none;
    color: black;
    font-size: 16px;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
    display: block;
}

/* Highlight active link */
.sg-nav li a.active,
.sg-nav li a:hover {
    /*background-color: #222;*/
    /*color: white;*/
    text-decoration-line: underline;
}

/* Responsive stacked menu on smaller screens */
@media (max-width: 768px) {
    .sg-nav {
        flex-direction: column;
        align-items: center;
    }

    .sg-nav li {
        margin: 8px 0; /* Adds spacing between stacked items */
    }
}