/*
Theme Name: Легкая Базовая Тема
Theme URI: https://example.com
Author: Ваше Имя
Author URI: https://example.com
Description: Минималистичная, быстрая тема WordPress без визуальных конструкторов. Упор на текст, читаемость и скорость загрузки.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lightweight-theme
*/

/* 
 * Базовые стили будут генерироваться динамически 
 * на основе настроек из Customizer
 */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* overflow-x: hidden убран -- по спецификации CSS Overflow Module оставлять
   overflow-y визуально "visible" при overflow-x:hidden невозможно (браузер
   принудительно подменяет overflow-y на auto, даже если задать его явно),
   из-за чего body становится скролл-контейнером и ЛЮБОЙ position: sticky
   на сайте перестаёт прилипать. Тот же фикс и по той же причине — в
   vsp-crm/assets/css/id-panel-public.css (найдено и починено 2026-09-16
   на прилипающем меню личного кабинета). Если появится горизонтальный
   скролл от слишком широкого элемента — чинить на уровне этого элемента
   (max-width: 100%), не здесь. */
body {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Базовые стили для кнопок */
button:not(.components-button):not([class*="elementor"]):not([class*="interactive"]),
input[type="submit"]:not([class*="elementor"]),
input[type="button"]:not([class*="elementor"]),
input[type="reset"]:not([class*="elementor"]),
.button:not([class*="elementor"]):not([class*="interactive"]),
.btn:not([class*="elementor"]):not([class*="interactive"]),
a.button:not([class*="elementor"]):not([class*="interactive"]),
a.btn:not([class*="elementor"]):not([class*="interactive"]) {
    cursor: pointer;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    text-decoration: none;
    line-height: 1.5;
}

button:not(.components-button):disabled,
input[type="submit"]:disabled,
input[type="button"]:disabled,
input[type="reset"]:disabled,
.button:disabled,
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Контент записей */
.entry-content p:not([class*='elementor']):not([class*='interactive']) {
    margin-bottom: 1.5em;
    display: block;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5em;
    padding-left: 2em;
}

.entry-content li {
    margin-bottom: 0.5em;
}

.entry-content h1:not([class*='elementor']),
.entry-content h2:not([class*='elementor']),
.entry-content h3:not([class*='elementor']),
.entry-content h4:not([class*='elementor']),
.entry-content h5:not([class*='elementor']),
.entry-content h6:not([class*='elementor']) {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.entry-title {
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.3;
}

.entry-title a {
    text-decoration: none;
}
