/*
Theme Name: MuseoWeb
Description: Tema personalizzato per il portale MuseoWeb
Version: 1.0
Text Domain: museoweb
*/

/* Impaginazione provvisoria per verificare lo scheletro */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

header {
    padding: 20px 30px;
    border-bottom: 1px solid #ddd;
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

header nav > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

header nav li {
    position: relative;
}

header nav a {
    display: block;
    padding: 8px;
    text-decoration: none;
}

header nav ul.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 8px;
    background: white;
    border: 1px solid #ddd;
    z-index: 100;
}

header nav li:hover > ul.sub-menu,
header nav li:focus-within > ul.sub-menu {
    display: block;
}

main {
    max-width: 1100px;
    margin: 35px auto;
    padding: 0 25px;
}

footer {
    padding: 20px 30px;
    border-top: 1px solid #ddd;
}

/* Footer MuseoWeb */

.museoweb-footer {
    margin-top: 60px;
    padding: 30px 24px;
    background: #f2f2f2;
    border-top: 3px solid #777;
    font-size: 14px;
}

.museoweb-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.museoweb-footer-info p {
    margin: 6px 0 0;
}

.museoweb-footer-links a {
    color: #333;
    text-decoration: underline;
}

.museoweb-header-logos {
    max-width: 1150px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.museoweb-header-logos a {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.museoweb-header-logos img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-mic, .logo-iccu {
    max-height: 85px;
}

.logo-movio {
    max-height: 100px;
}

@media (max-width: 650px) {
    .museoweb-header-logos {
        gap: 12px;
    }

    .logo-mic, .logo-iccu {
        max-height: 55px;
    }

    .logo-movio {
        max-height: 65px;
    }
}
