/* General Styles */

.tabs {
    display: flex;
    overflow-x: auto;
    background-color: var(--white);/*#f1f1f1d0;*/
    padding: 1rem;
    white-space: nowrap;
    margin-bottom: 20px;
    /* box-shadow: inset 0 10px 10px #dadadad0; */
}


.tab {
    padding: 10px 20px;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
    text-align: center;
}

.tab.active {
    color: var(--tertiary-color);
    border-bottom: 3px solid var(--tertiary-color);
    font-weight: 700;
}

.menu {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}

.menu-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures the link stays at the bottom */
    text-align: center;
}


.menu-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.menu-item h2 {
    margin: 10px 0;
    font-size: 1.2em;
}

.menu-item h2 a {
    color: #333;
}

.menu-item a {
    text-decoration: none;
}
.menu-item .link {
    color: var(--tertiary-color);
    font-weight: bold;
}

.hidden {
    display: none;
}

/* Responsive Design */
@media (min-width: 768px) {
    .tabs {
        justify-content: center;
    }
    .menu {
        grid-template-columns: repeat(4, 1fr);
    }
}
