/* Force every MUN header link to render in lowercase (wins over page CSS). */
nav a,
nav a span,
nav ul li a,
nav .aboutcont a,
nav .committeecont a,
nav ul li.mun-back-item .mun-back-to-main,
nav ul li.mun-back-item .mun-back-to-main span {
    text-transform: lowercase !important;
    letter-spacing: normal !important;
    font-variant: normal !important;
}

nav ul li.mun-back-item {
    display: flex;
    align-items: center;
    list-style: none;
}

.mun-back-to-main {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem !important;
    font-family: var(--body-font, 'Montserrat', sans-serif);
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    text-transform: lowercase !important;
    color: #fff !important;
    background: rgba(67, 107, 67, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mun-back-to-main:hover {
    opacity: 1 !important;
    background: #4f7b4f !important;
    transform: translateY(-1px);
}

main a.btn,
main a.registerbtn,
.contact-link {
    text-transform: lowercase !important;
}

@media (max-width: 900px) {
    nav ul li a,
    nav .aboutcont a,
    nav .committeecont a {
        text-transform: lowercase !important;
    }

    nav ul li.mun-back-item {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    nav ul li.mun-back-item .mun-back-to-main {
        width: 100%;
        justify-content: center;
        padding: 0.65rem 1rem !important;
    }
}
