    /* Film Layout Styles */
    .film-custom-layout {
        margin: 20px 0;
        width: 100%;
    }
    
    .film-main-grid {
        display: flex;
        gap: 30px;
        margin-bottom: 40px;
        align-items: flex-start;
    }
    
    .film-poster-section {
        flex-shrink: 0;
        width: 250px;
    }
    
    .film-poster-img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }
    
    .film-ratings {
        margin-top: 15px;
    }
    
    .rating-item {
        display: flex;
        align-items: center;
        padding: 8px 12px;
        margin-bottom: 8px;
        border-radius: 6px;
        color: white;
        font-weight: bold;
        font-size: 14px;
    }
    
    .rating-item i {
        margin-right: 8px;
    }
    
    .imdb-rating {
        background: #f3ce13;
        color: #000;
    }
    
    .kinopoisk-rating {
        background: #ff5400;
    }
    
    .external-links {
        display: flex;
        gap: 10px;
        margin-top: 10px;
    }
    
    .external-links a {
        padding: 6px 12px;
        background: #f0f0f0;
        border-radius: 4px;
        text-decoration: none;
        color: #333;
        font-size: 12px;
        font-weight: bold;
    }
    
    .external-links a:hover {
        background: #e74c3c;
        color: white;
    }
    
    .film-info-section {
        flex: 1;
    }
    
    .film-title {
        margin: 0 0 10px 0;
        font-size: 28px;
        color: #333;
    }
    
    .film-original-title {
        margin: 0 0 20px 0;
        color: #666;
        font-style: italic;
        font-size: 18px;
    }
    
    .film-metadata-grid {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    .meta-row {
        display: flex;
        align-items: flex-start;
    }
    
    .meta-row .label {
        font-weight: bold;
        min-width: 140px;
        color: #333;
        flex-shrink: 0;
    }
    
    .meta-row .value {
        color: #666;
    }
    
    .meta-row .value a {
        color: #e74c3c;
        text-decoration: none;
    }
    
    .meta-row .value a:hover {
        text-decoration: underline;
    }
    
    .film-section {
        margin: 40px 0;
        padding: 20px 0;
        border-top: 1px solid #eee;
    }
    
    .film-section h3 {
        margin-bottom: 20px;
        font-size: 22px;
        color: #333;
    }
    
    .film-section h3 i {
        margin-right: 10px;
        color: #e74c3c;
    }
    
    .crew-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .crew-member {
        background: #f8f9fa;
        padding: 10px 15px;
        border-radius: 6px;
        border-left: 3px solid #e74c3c;
    }
    
    .crew-link {
        text-decoration: none;
        color: #333;
        font-weight: bold;
    }
    
    .crew-link:hover {
        color: #e74c3c;
    }
    
    .cast-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .cast-member {
        display: flex;
        gap: 12px;
        align-items: center;
        padding: 15px;
        border: 1px solid #eee;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .cast-member:hover {
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        transform: translateY(-2px);
    }
    
    .cast-photo {
        flex-shrink: 0;
    }
    
    .cast-photo img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .cast-photo-placeholder {
        width: 60px;
        height: 60px;
        background: #f0f0f0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #999;
    }
    
    .cast-info {
        flex: 1;
        min-width: 0;
    }
    
    .cast-info h4 {
        margin: 0 0 5px 0;
        font-size: 14px;
    }
    
    .cast-info h4 a {
        color: #333;
        text-decoration: none;
    }
    
    .cast-info h4 a:hover {
        color: #e74c3c;
    }
    
    .character-name {
        margin: 0 0 5px 0;
        font-size: 12px;
        color: #666;
    }
    
    .lead-badge {
        background: #27ae60;
        color: white;
        padding: 2px 6px;
        border-radius: 3px;
        font-size: 10px;
        font-weight: bold;
    }
    
    .trailer-container {
        margin: 20px 0;
    }
    
    .trailer-container iframe {
        width: 100%;
        max-width: 800px;
        height: 400px;
        border-radius: 8px;
    }
    
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .gallery-item {
        display: block;
        border-radius: 6px;
        overflow: hidden;
        transition: transform 0.3s ease;
    }
    
    .gallery-item:hover {
        transform: scale(1.05);
    }
    
    .gallery-item img {
        width: 100%;
        height: 120px;
        object-fit: cover;
    }
    
    .press-kit-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        background: #3498db;
        color: white;
        text-decoration: none;
        border-radius: 6px;
        font-weight: bold;
        transition: background 0.3s ease;
    }
    
    .press-kit-btn:hover {
        background: #2980b9;
        color: white;
    }
    
    /* Responsive */
    @media (max-width: 768px) {
        .film-main-grid {
            flex-direction: column;
        }
        
        .film-poster-section {
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
        }
        
        .meta-row {
            flex-direction: column;
            gap: 2px;
        }
        
        .meta-row .label {
            min-width: auto;
        }
        
        .cast-grid {
            grid-template-columns: 1fr;
        }
        
        .gallery-grid {
            grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        }
    }
        /* --- Стили для оформления описания фильма в стиле цитаты --- */

.custom-film-description {
    /* Основные отступы и фон */
    margin: 30px 0;
    padding: 20px 25px 20px 40px; /* Увеличенный левый отступ для линии */
    background-color: #f7f7f7; /* Светлый фон, чтобы выделить блок */
    border-radius: 8px; /* Немного скругленные углы */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Легкая тень для объема */
    position: relative; /* Важно для позиционирования вертикальной линии и кавычек */
    font-family: Georgia, serif; /* Классический шрифт для цитат */
    line-height: 1.6;
}

.custom-film-description p {
    /* Стиль текста внутри цитаты */
    font-style: italic; /* Курсив для "особого" вида */
    color: #333;
    margin-bottom: 0; /* Убираем лишние отступы у параграфов */
}

/* 1. Вертикальная линия */
.custom-film-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 6px; /* Толщина линии */
    background-color: #A0522D; /* Благородный коричневый цвет (Sienna) */
    border-radius: 8px 0 0 8px; /* Скругление только слева */
}

/* 2. Открывающие кавычки (визуальный элемент) */
.custom-film-description::after {
    content: "\201C"; /* Код для красивой открывающей кавычки */
    position: absolute;
    top: -20px; /* Поднимаем над блоком */
    left: 10px;
    font-size: 80px;
    color: rgba(160, 82, 45, 0.2); /* Тот же цвет, но полупрозрачный */
    font-weight: bold;
    line-height: 1;
    pointer-events: none; /* Кавычки не мешают взаимодействию с текстом */
    z-index: 0;
}

/* ===============================================
   CSS для страницы Кейсов и Шоурилов
   =============================================== */

.case-study-wrapper {
    max-width: 100%;
    padding-bottom: 40px;
}

/* Заголовок */
.case-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--main-color, #e74c3c);
}

.case-main-title {
    font-size: 32px;
    margin: 0;
    color: #333;
    line-height: 1.3;
}

/* Видео секция */
.case-video-section {
    margin-bottom: 40px;
}

.case-video-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.case-video-section h2 i {
    margin-right: 10px;
    color: var(--main-color, #e74c3c);
}

.case-video-wrapper {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    max-width: 100%;
}

.case-video-wrapper iframe,
.case-video-wrapper video {
    width: 100% !important;
    max-width: 100% !important;
    height: auto;
    aspect-ratio: 16/9;
    display: block;
}

/* Основная сетка контента */
.case-content-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.case-section {
    background: #fcfcfc;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--main-color, #e74c3c);
}

.case-section h2 {
    font-size: 22px;
    margin: 0 0 20px;
    color: #333;
}

.case-section h2 i {
    margin-right: 10px;
    color: var(--main-color, #e74c3c);
}

.case-text-content {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.case-text-content p {
    margin-bottom: 15px;
}

.case-text-content ul,
.case-text-content ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Результаты - особый стиль */
.case-results .results-box {
    background: #f0f9ff;
    padding: 20px;
    border-radius: 6px;
    border-left: 3px solid #3498db;
}

.case-results .results-box strong {
    color: #2980b9;
}

/* Студия */
.case-studio-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.case-studio-section h2 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
}

.case-studio-section h2 i {
    margin-right: 10px;
    color: var(--main-color, #e74c3c);
}

.studio-card {
    display: flex;
    gap: 20px;
    align-items: center;
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.studio-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

.studio-logo {
    flex-shrink: 0;
}

.studio-logo-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #eee;
}

.studio-info {
    flex-grow: 1;
}

.studio-info h3 {
    margin: 0 0 10px;
    font-size: 20px;
}

.studio-info h3 a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.studio-info h3 a:hover {
    color: var(--main-color, #e74c3c);
}

.studio-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
    font-size: 16px;
    font-weight: 600;
    color: #f39c12;
}

.studio-rating i {
    color: #f39c12;
}

.studio-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 10px 0 15px;
}

.studio-link-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--main-color, #e74c3c);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.studio-link-btn:hover {
    background: #c0392b;
}

.studio-link-btn i {
    margin-left: 8px;
}

/* Дополнительный контент */
.case-additional-content {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

/* Медиа-запросы */
@media (max-width: 991px) {
    .case-main-title {
        font-size: 26px;
    }
    
    .case-section {
        padding: 20px;
    }
    
    .case-section h2 {
        font-size: 20px;
    }
    
    .studio-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .case-main-title {
        font-size: 22px;
    }
    
    .case-video-section h2,
    .case-section h2,
    .case-studio-section h2 {
        font-size: 18px;
    }
    
    .case-text-content {
        font-size: 15px;
    }
    
    .studio-logo-img {
        width: 80px;
        height: 80px;
    }
}