/* Hover effects for navigation knobs */
.NavLinks a img {
    transition: transform 0.3s ease;
    margin-right: 8px;
}

.NavLinks a:hover img {
    transform: rotate(90deg);
}

/* Adjust spacing for nav items with larger knobs */
.NavLinks td {
    padding: 6px 8px;
}

/* Ensure consistent vertical alignment */
.HeaderBox .HeaderContainer table {
    margin-top: 0;
    margin-bottom: 0;
}

/* Reset header spacing */
.HeaderBox {
    padding: 0;
    height: 56px;
    display: flex;
    align-items: center;
    background-color: #000; /* avoid light gray under edges */
}

/* Remove any margin from the shadow bar */
.Shadowbar {
    position: absolute;
    top: 56px !important;
    width: 960px; /* match content width */
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

/* Pull the banner up a touch so it tucks under the shadow nicely */
.FlashPanel {
    margin-top: -6px !important;
}

/* Ensure inner-page banner tucks under shadow like index */
.L2BannerContainer {
    margin-top: -6px !important; /* match .FlashPanel behavior */
}

/* Prevent baseline gap on the banner image */
.DropBanner img {
    display: block;
}

/* Add text shadow to navigation links */
.HeaderBox .HeaderContainer table tr td .NavLinks a,
.NavLinks a {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
