/* Global Header Support */
.global-header {
    background: #faf8ef;
    /* Matching body background for seamless look, or #fff0f5 for pink tint */
    border-bottom: 3px solid #f2b179;
    padding: 5px 0;
    /* Thinner header */
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 9999;
}

.header-content {
    width: 700px;
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    /* Logo left, Nav right */
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.header-content .brand a {
    font-size: 28px;
    font-weight: bold;
    color: #776e65;
    text-decoration: none;
    font-family: "Clear Sans", sans-serif;
    display: block;
    /* Removed flex since no icon */
    letter-spacing: -0.5px;
    /* Tighter tracking for logo feel */
}

/* Removed img styles as image is being deleted */

.header-content nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    /* Align nav items to the right */
    gap: 15px;
}

.header-content nav a,
.dropbtn {
    text-decoration: none;
    color: #8f7a66;
    font-weight: normal;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 3px;
    transition: all 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.header-content nav a:hover,
.header-content nav a.active,
.dropdown:hover .dropbtn {
    background: #8f7a66;
    color: white;
    text-decoration: none;
}

/* Dropdown Container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #faf8ef;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    border: 1px solid #f2b179;
    border-radius: 3px;
    right: 0;
    /* Align right side of dropdown with right side of button */
}

/* Links inside the dropdown */
.dropdown-content a {
    color: #776e65;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f2b179;
    color: white;
}

/* Show the dropdown menu on hover or when active class is present */
.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    display: block;
}

@media screen and (max-width: 520px) {
    .header-content {
        justify-content: center;
        /* On very small screens, center might still be better if it wraps */
    }

    .header-content nav {
        justify-content: center;
    }

    /* Fix dropdown being cut off on left side on mobile */
    .dropdown-content {
        right: auto;
        left: 0;
    }
}