/* ---- from page.php ---- */
/* Базовые стили */
                    .page-content-wrapper { 
                        color: #a1a1aa; 
                        font-size: 1.125rem; 
                        line-height: 1.75; 
                    }
                    
                    /* Заголовки */
                    .page-content-wrapper h1,
                    .page-content-wrapper h2, 
                    .page-content-wrapper h3, 
                    .page-content-wrapper h4,
                    .page-content-wrapper h5,
                    .page-content-wrapper h6 {
                        color: #ffffff; 
                        font-family: 'Playfair Display', serif; 
                        font-weight: 700;
                        margin-top: 2.5em; 
                        margin-bottom: 1em; 
                        line-height: 1.3;
                    }
                    
                    .page-content-wrapper h1 { font-size: 2.5rem; }
                    .page-content-wrapper h2 { 
                        font-size: 2rem; 
                        border-bottom: 1px solid #333; 
                        padding-bottom: 15px; 
                    }
                    .page-content-wrapper h3 { font-size: 1.5rem; }
                    .page-content-wrapper h4 { font-size: 1.25rem; }
                    
                    /* Параграфы */
                    .page-content-wrapper p { 
                        margin-bottom: 1.5em; 
                    }
                    
                    /* Списки */
                    .page-content-wrapper ul, 
.page-content-wrapper ol { 
    margin: 1.5em 0;
    padding-left: 2em;
    list-style-position: outside; /* ВАЖНО */
}

.page-content-wrapper ul {
    list-style-type: disc; /* Маркеры для ul */
}

.page-content-wrapper ol {
    list-style-type: decimal; /* Цифры для ol */
}
                    
                    .page-content-wrapper li { 
                        margin-bottom: 0.75em;
                        line-height: 1.75;
                    }
                    
                    .page-content-wrapper ul > li::marker { 
                        color: #C9A84C; 
                    }
                    
                    .page-content-wrapper ol > li::marker { 
                        color: #C9A84C; 
                        font-weight: bold; 
                    }
                    
                    /* Вложенные списки */
                    .page-content-wrapper ul ul,
                    .page-content-wrapper ol ol,
                    .page-content-wrapper ul ol,
                    .page-content-wrapper ol ul {
                        margin: 0.5em 0;
                    }
                    
                    /* Ссылки */
                    .page-content-wrapper a { 
                        color: #C9A84C; 
                        text-decoration: underline; 
                        transition: color 0.3s; 
                    }
                    .page-content-wrapper a:hover { 
                        color: #d4b85e; 
                    }
                    
                    /* Цитаты */
                    .page-content-wrapper blockquote {
                        border-left: 4px solid #C9A84C;
                        padding-left: 1.5rem;
                        margin: 2rem 0;
                        font-style: italic;
                        color: #C9A84C;
                    }
                    
                    /* Жирный и курсив */
                    .page-content-wrapper strong,
                    .page-content-wrapper b {
                        color: #ffffff;
                        font-weight: 600;
                    }
                    
                    .page-content-wrapper em,
                    .page-content-wrapper i {
                        font-style: italic;
                    }
                    
                    /* Разделители */
                    .page-content-wrapper hr { 
                        border: 0; 
                        border-top: 1px solid #333; 
                        margin: 3em 0; 
                    }
                    
                    /* Изображения */
                    .page-content-wrapper img {
                        max-width: 100%;
                        height: auto;
                        border-radius: 8px;
                        margin: 2rem 0;
                    }
                    
                    /* Таблицы */
                    .page-content-wrapper table {
                        width: 100%;
                        border-collapse: collapse;
                        margin: 2rem 0;
                    }
                    
                    .page-content-wrapper th,
                    .page-content-wrapper td {
                        border: 1px solid #333;
                        padding: 0.75rem;
                        text-align: left;
                    }
                    
                    .page-content-wrapper th {
                        background-color: #1a1a1a;
                        color: #C9A84C;
                        font-weight: 600;
                    }
                    
                    /* Код */
                    .page-content-wrapper code {
                        background-color: #1a1a1a;
                        padding: 0.2em 0.4em;
                        border-radius: 3px;
                        font-size: 0.9em;
                        color: #C9A84C;
                    }
                    
                    .page-content-wrapper pre {
                        background-color: #1a1a1a;
                        padding: 1.5rem;
                        border-radius: 8px;
                        overflow-x: auto;
                        margin: 1.5rem 0;
                    }
                    
                    .page-content-wrapper pre code {
                        background-color: transparent;
                        padding: 0;
                    }

/* ---- from single-service.php ---- */
.service-content-wrapper { color: #a1a1aa; font-size: 1.125rem; line-height: 1.75; }
                        .service-content-wrapper h2, .service-content-wrapper h3, .service-content-wrapper h4 {
                            color: #ffffff; font-family: 'Playfair Display', serif; font-weight: 700;
                            margin-top: 2.5em; margin-bottom: 1em; line-height: 1.3;
                        }
                        .service-content-wrapper h2 { font-size: 2rem; border-bottom: 1px solid #333; padding-bottom: 15px; }
                        .service-content-wrapper h3 { font-size: 1.5rem; }
                        .service-content-wrapper p { margin-bottom: 1.5em; }
                        .service-content-wrapper ul, .service-content-wrapper ol { margin-bottom: 1.5em; padding-left: 1.5em; }
                        .service-content-wrapper li { margin-bottom: 0.5em; }
                        .service-content-wrapper ul > li::marker { color: #C9A84C; }
                        .service-content-wrapper a { color: #C9A84C; text-decoration: underline; transition: color 0.3s; }
                        .service-content-wrapper a:hover { color: #fff; }
                        .service-content-wrapper hr { border: 0; border-top: 1px solid #333; margin: 3em 0; }
                        .service-content-wrapper .wp-block-columns { display: flex; flex-wrap: wrap; gap: 2rem; margin-bottom: 1.5em; }
                        .service-content-wrapper .wp-block-column { flex: 1; min-width: 300px; }

/* ---- from single-story.php ---- */
.story-content-wrapper { 
                            color: #a1a1aa; 
                            font-size: 1.125rem; 
                            line-height: 1.75; 
                        }
                        
                        /* Заголовки */
                        .story-content-wrapper h2, 
                        .story-content-wrapper h3, 
                        .story-content-wrapper h4 {
                            color: #ffffff; 
                            font-family: 'Playfair Display', serif; 
                            font-weight: 700;
                            margin-top: 2.5em; 
                            margin-bottom: 1em; 
                            line-height: 1.3;
                        }
                        .story-content-wrapper h2 { 
                            font-size: 2rem; 
                            border-bottom: 1px solid #333; 
                            padding-bottom: 15px; 
                        }
                        .story-content-wrapper h3 { font-size: 1.5rem; }
                        
                        /* Параграфы */
                        .story-content-wrapper p { margin-bottom: 1.5em; }
                        
                        /* Списки */
                        .story-content-wrapper ul, 
                        .story-content-wrapper ol { 
                            margin-bottom: 1.5em; 
                            padding-left: 1.5em; 
                        }
                        .story-content-wrapper li { margin-bottom: 0.5em; }
                        .story-content-wrapper ul > li::marker { color: #C9A84C; }
                        
                        /* Ссылки */
                        .story-content-wrapper a { 
                            color: #C9A84C; 
                            text-decoration: underline; 
                            transition: color 0.3s; 
                        }
                        .story-content-wrapper a:hover { color: #fff; }
                        
                        /* Цитаты */
                        .story-content-wrapper blockquote {
                            border-left: 4px solid #C9A84C;
                            padding-left: 1.5rem;
                            margin: 2rem 0;
                            font-style: italic;
                            color: #C9A84C;
                            font-size: 1.25rem;
                        }
                        
                        /* Разделители */
                        .story-content-wrapper hr { 
                            border: 0; 
                            border-top: 1px solid #333; 
                            margin: 3em 0; 
                        }
                        
                        /* Изображения в контенте */
                        .story-content-wrapper img {
                            max-width: 100%;
                            height: auto;
                            border-radius: 8px;
                            margin: 2rem 0;
                        }
                        
                        /* Галереи WordPress */
                        .story-content-wrapper .wp-block-gallery {
                            display: grid;
                            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
                            gap: 1rem;
                            margin: 2rem 0;
                        }
                        
                        .story-content-wrapper .wp-block-image {
                            margin: 2rem 0;
                        }
                        
                        /* Колонки */
                        .story-content-wrapper .wp-block-columns { 
                            display: flex; 
                            flex-wrap: wrap; 
                            gap: 2rem; 
                            margin-bottom: 1.5em; 
                        }
                        .story-content-wrapper .wp-block-column { 
                            flex: 1; 
                            min-width: 300px; 
                        }
                        
                        /* Жирный и курсив */
                        .story-content-wrapper strong,
                        .story-content-wrapper b {
                            color: #ffffff;
                            font-weight: 600;
                        }
                        
                        .story-content-wrapper em,
                        .story-content-wrapper i {
                            font-style: italic;
                        }

/* ---- from single-project.php ---- */
/* Скрываем крестики и другие элементы управления блоков */
.slider-track .block-editor-block-list__block-edit::before,
.slider-track .block-editor-block-contextual-toolbar,
.slider-track .components-button,
.slider-track [data-type="core/image"] .block-editor-block-mover,
.slider-track [data-type="core/image"] .block-editor-block-contextual-toolbar {
    display: none !important;
}

/* ---- from functions.php ---- */
/* Стили для плавающих кнопок */
        .float-contact-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        .float-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
            transition: transform 0.3s;
        }
        .float-btn:hover {
            transform: scale(1.1);
        }
        .btn-max {
            color: white;
        }
        .btn-phone {
            background-color: #0073aa;
            color: white;
        }
        .float-btn svg {
            width: 30px;
            height: 30px;
            fill: currentColor;
        }
        /* Скрыть на очень маленьких экранах, если мешает */
        @media (max-width: 480px) {
            .float-contact-container {
                bottom: 10px;
                right: 10px;
            }
            .float-btn {
                width: 50px;
                height: 50px;
            }
        }

/* ---- from template-parts/contact.php ---- */
/* Force button styles to override theme */
.contact-toggle-btn {
    display: block !important;
    width: 100% !important;
    padding: 12px 16px !important;
    text-align: center !important;
    border: 1px solid #333 !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

.contact-toggle-btn.active {
    background: #C9A84C !important;
    color: #0a0a0a !important;
    border-color: #C9A84C !important;
}

.contact-toggle-btn:not(.active) {
    background: #0a0a0a !important;
    color: #7a7670 !important;
    border-color: #333 !important;
}

.contact-toggle-btn:hover:not(.active) {
    border-color: #C9A84C !important;
}

.contact-toggle-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

/* Reset any theme button styles */
#contact-form button {
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}