/* Страница "Москва как сыр" */
.cheese-page {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cheese-page .collection-intro {
    text-align: center;
    margin-bottom: 40px;
    width: 100%;
}

.cheese-page .intro-logo {
    max-width: 400px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cheese-page .intro-logo:hover {
    transform: scale(1.02);
}

/* Убираем логотип из правой части */
.cheese-page .logo-right {
    display: none;
}

/* Галерея превью */
.cheese-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.cheese-item {
    cursor: pointer;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 4px;
}

.cheese-item:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

.cheese-item img {
    display: block;
    height: 200px;
    width: auto;
    object-fit: contain;
}

.cheese-item-title {
    text-align: center;
    font-size: 14px;
    color: #ccc;
    font-family: 'Georgia', serif;
    margin-top: 10px;
    padding: 5px;
}

/* Модальное окно */
.modal-cheese-content {
    max-width: 1080px;
    background: #1a1a1a;
    border: 1px solid #333;
}

.modal-cheese-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}

.modal-cheese-image {
    width: 100%;
}

.modal-cheese-image img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    display: block;
    border: 1px solid #fff;
    margin: 0 auto;
}

.modal-cheese-info {
    width: 100%;
}

.modal-cheese-info h2 {
    font-size: 28px;
    color: #fff;
    font-family: 'Georgia', serif;
    margin-bottom: 10px;
    text-align: center;
}

.modal-cheese-authors {
    font-size: 14px;
    color: #aaa;
    font-family: 'Georgia', serif;
    text-align: center;
    margin-bottom: 20px;
    font-style: italic;
}

.modal-cheese-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.modal-cheese-gallery img {
    height: 240px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-cheese-gallery img:hover {
    transform: scale(1.05);
}

.modal-cheese-description {
    width: 100%;
}

.modal-cheese-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #ddd;
    font-family: 'Georgia', serif;
    text-align: left;
    white-space: pre-wrap;
}

.modal-cheese-strangeness {
    margin-top: 30px;
    text-align: center;
}

.modal-cheese-strangeness img {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.modal-cheese-strangeness-text {
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.8;
    color: #ddd;
    font-family: 'Arial', 'Helvetica', sans-serif;
    text-align: left;
    white-space: pre-wrap;
    font-style: normal;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .modal-cheese-body {
        flex-direction: column;
    }
    
    .modal-cheese-image {
        flex: none;
        width: 100%;
    }
}
