body {
    margin: 0;
    font-family: Arial;
}

.container {
    display: flex;
    height: calc(100vh - 85px); /* full height minus banner */
}

#banner {
    height: 80px;
    width: 100%;
    background: orange;
    color: black;
    border-bottom: 3px solid orange;
    display: flex;
    box-shadow: 0px 2px 5px 5px rgba(255,165,0,0.3);
    background-image: url("/logo.jpg");
    background-repeat: repeat-x;
    background-position: top left;
    background-size: auto 80px;
    text-align: center;
    align-items: center, start;
    align-content: center, start;
    justify-content: center;
    position: relative;
}

.overlay-links {
    font-size: 12px;
    font-weight: bold;
    height: 30px;
    top: 6px;
    display: flex;
}

    .overlay-links a {
        color: black;
        text-decoration: none;
        border: 3px solid orange;
        margin-right: 3px;
        font-weight: bold;
        background: rgba(255,165,0,0.7);
        padding: 5px 10px;
        border-radius: 4px;
        display: flex;
    }

.overlay-links a:hover {
    border: 3px solid black;
}

#menu {
    width:auto;
    background: orange;
    color: black;
    padding: 10px;
    overflow-y: auto;
    box-shadow: 2px 0px 5px 5px rgba(255,165,0,0.3);
}

#menu h2 {
    margin-top: 0;
}

#sectionList {
    font-family: sans-serif;
    font-size: 14px;
}

.menu-item {
    padding: 8px 10px;
    cursor: pointer;
    font-weight: bold;
}

    .menu-item:hover {
        background: #f2f2f2;
    }

.menu-header {
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    gap: 6px;
    align-items: center;
}

    .menu-header:hover {
        background: #f2f2f2;
    }

    .menu-header.active {
        font-weight: bold;
    }

.menu-arrow {
    font-size: 11px;
    width: 12px;
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

    .submenu.open {
        max-height: 500px;
    }

.submenu-item {
    padding: 6px 10px 6px 28px;
    cursor: pointer;
}

    .submenu-item:hover {
        background: #f5f5f5;
    }

    .submenu-item.active {
        background: #e8eefc;
        font-weight: bold;
    }

.section-item {
    padding: 8px;
    font-weight: bold;
    border: 2px solid orange;
    border-radius: 6px;
    cursor: pointer;
}


.section-item:hover {
    background: white;
    border: 2px solid darkorange;
}

#main {
    flex: 1;
    padding: 20px;
    overflow-y:auto;
}

#gallery {
    display: flex;
    flex-wrap: wrap;
    padding: 10px 10px;
    gap: 10px 10px;
}

#cardsContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

#articleText {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.card {
    width: 180px;
    height: 180px;
    border: 3px solid orange;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    padding: 10px 10px;
}

.card:hover {
border: 3px solid black;
}


.card img {
width: 100%;
height: 120px;
object-fit: cover;
}

.card .info {
padding: 8px;
}

.card .info h3 {
    font-size: 14px;
    margin: 0 0 5px 0;
}

.card .info p {
    font-size: 12px;
    color: #555;
    margin: 0;
}
