#layout { background-color: #e0e0e0; }
#shops { background-color: #ffffff; }
#mall { background-color: #e0e0e0; }
#rent { background-color: #303030; display: none; }

.content {
    color: #333;
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}

#home .content, #rent .content, #contacts .content { color: white; }
.fallback-background { background: linear-gradient(135deg, #3494E6, #EC6EAD); }

.logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    width: 144px;
    transition: transform 0.3s;
}

.logo-item:hover { transform: translateY(-5px); }

.shop-logo {
    width: 144px;
    height: 144px;
    object-fit: contain;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}

.logo-name { display: none; }

.logo-item a {
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.3s;
}

.logo-item a:hover { transform: scale(1.05); }

@media (max-width: 768px) {
    .content h2 {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .logos-container {
        gap: 30px;
        margin-top: 30px;
    }

    .logo-item {
        width: 120px;
        margin-bottom: 20px;
    }

    .shop-logo {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .content h2 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .logos-container {
        gap: 20px;
        margin-top: 20px;
    }

    .logo-item {
        width: 100px;
    }

    .shop-logo {
        width: 100px;
        height: 100px;
    }
}
