/*
 Theme Name:   Poseidon Child
 Description:  Child theme for the Poseidon theme
 Template:     poseidon
 Version:      1.0.0
*/

/* Custom CSS From Here */

/* Hide any class that starts with these prefixes */
[class^="referrer-"],
[class^="company-"],
[class^="affiliation-"],
[class^="extra_info-"],
[class^="contact_details-"],
[class^="user_company-"] {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Footer menu styling */
.footer-nav {
    float: right;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 2em 0;
    display: flex;
    /* horizontal */
    gap: 15px;
}

.footer-menu li {
    margin: 0;
    padding: 0;
}

.footer-menu li a {
    text-decoration: none;
    color: inherit;
    /* uses theme footer text colour */
}

.footer-menu li a:hover {
    text-decoration: underline;
}

/* Mobile footer layout: stack menu and site info */
@media (max-width: 478px) {

    /* Remove right float so things stack */
    .footer-nav {
        float: none;
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    /* Keep menu horizontal, but centred – or switch to column if you prefer */
    .footer-menu {
        justify-content: center;
        /* centres the links */
        flex-wrap: wrap;
        /* lets them wrap on small screens */
        padding: 2em 0 0;
    }

    /* Make footer text full-width underneath menu */
    #footer-text.site-info {
        float: none;
        /* override any theme float */
        width: 100%;
        text-align: center;
        padding: 1em 0 2em;
        margin-top: 5px;
    }
}