 @font-face {
  font-family: 'simple-line-icons';
  src: url('fonts/simple-line-icons.woff2') format('woff2');
}
#special i:before {
     font-family: 'simple-line-icons';
}
.privacy__item h4 { 
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 26px;
    font-weight: 500;
    color: #262626;
}
.news-image img {
    max-width: 100%;
}

/* === ОСНОВНЫЕ КОНТЕЙНЕРЫ === */


.mdl-card__title {
    padding: 16px 24px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f5f5f5;
    margin: -20px -20px 20px;
}

.mdl-card__title-text {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    color: #333;
}

.news__wrapper h1 {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 24px;
    line-height: 1.3;
    color: #333;
}

/* === ЗАГОЛОВКИ === */
.news__wrapper h2 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 18px;
    line-height: 1.3;
    color: #333;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.news__wrapper h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 25px 0 15px;
    line-height: 1.3;
    color: #333;
}

.news__wrapper h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 12px;
    line-height: 1.4;
    color: #333;
}

.news__wrapper h5 {
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0 10px;
    line-height: 1.4;
    color: #333;
}

.news__wrapper h6 {
    font-size: 14px;
    font-weight: 600;
    margin: 14px 0 10px;
    line-height: 1.4;
    color: #333;
    text-transform: uppercase;
}

/* === ПАРАГРАФЫ === */
.news__wrapper p {
    margin-bottom: 1em;
    line-height: 1.6;
}

/* === СПИСКИ === */
/* Маркированные списки */
.news__wrapper ul {
    list-style: disc outside;
    margin: 16px 0;
    padding-left: 24px;
}

.news__wrapper ul li {
    margin-bottom: 8px;
    padding-left: 4px;
    display: list-item; /* Явно указываем отображение как элемент списка */
}

/* Вложенные маркированные списки */
.news__wrapper ul ul {
    margin: 8px 0;
    list-style-type: circle;
}

.news__wrapper ul ul ul {
    list-style-type: square;
}

/* Нумерованные списки */
.news__wrapper ol {
    list-style: decimal outside;
    margin: 16px 0;
    padding-left: 24px;
}

.news__wrapper ol li {
    margin-bottom: 8px;
    padding-left: 4px;
    display: list-item; /* Явно указываем отображение как элемент списка */
}

/* Вложенные нумерованные списки */
.news__wrapper ol ol {
    margin: 8px 0;
    list-style-type: lower-alpha;
}

.news__wrapper ol ol ol {
    margin: 8px 0;
    list-style-type: lower-roman;
}

/* Смешанные вложенные списки */
.news__wrapper ul ol,
.news__wrapper ol ul {
    margin: 8px 0;
}

/* Исправление для HTML-элементов списка */
.news__wrapper li::marker {
    color: #333; /* Цвет маркера */
}

/* === ТЕКСТОВОЕ ФОРМАТИРОВАНИЕ === */
.news__wrapper strong,
.news__wrapper b {
    font-weight: 600;
    color: #333;
}

.news__wrapper em,
.news__wrapper i {
    font-style: italic;
}

/* === ССЫЛКИ === */
.news__wrapper a {
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 102, 204, 0.3);
}

.news__wrapper a:hover {
    color: #004c99;
    border-bottom-color: rgba(0, 76, 153, 0.5);
}

.news__wrapper a:visited {
    color: #551a8b;
    border-bottom-color: rgba(85, 26, 139, 0.3);
}

/* === БЛОЧНЫЕ ЭЛЕМЕНТЫ === */
/* Цитаты */
.news__wrapper blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    border-left: 4px solid #e0e0e0;
    background-color: #f9f9f9;
    color: #555;
}

.news__wrapper blockquote p:last-child {
    margin-bottom: 0;
}

/* Код и pre */
.news__wrapper code {
    font-family: Consolas, Monaco, "Courier New", monospace;
    background-color: #f5f5f5;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 90%;
    color: #d14;
}

.news__wrapper pre {
    margin: 16px 0;
    padding: 12px;
    background-color: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.45;
}

.news__wrapper pre code {
    background: none;
    padding: 0;
    font-size: 14px;
    color: #333;
    border-radius: 0;
    white-space: pre;
}

/* Горизонтальная линия */
.news__wrapper hr {
    margin: 24px 0;
    border: 0;
    border-top: 1px solid #e0e0e0;
}

/* === ТАБЛИЦЫ === */
.news__wrapper table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    border-spacing: 0;
}

.news__wrapper table th {
    background-color: #f5f5f5;
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
}

.news__wrapper table td {
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    vertical-align: top;
}

.news__wrapper table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Адаптивные таблицы */
@media screen and (max-width: 768px) {
    .news__wrapper table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* === МУЛЬТИМЕДИА === */
.news__wrapper img {
    max-width: 100%;
    height: auto;
    margin: 16px 0;
    display: block;
}

/* === СТИЛИ ДЛЯ ЭКРАНИРОВАННЫХ HTML-ТЕГОВ === */
/* Информационные блоки - стиль для экранированного текста */
.news__wrapper p:contains("<div class=\"info-box\">"),
.news__wrapper p:contains("Важная информация") {
    background-color: #e8f4fd;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin: 16px 0;
    border-radius: 3px;
}

/* Блоки предупреждений - стиль для экранированного текста */
.news__wrapper p:contains("<div class=\"warning-box\">"),
.news__wrapper p:contains("Предупреждение!") {
    background-color: #fdf7e8;
    border-left: 4px solid #f39c12;
    padding: 15px;
    margin: 16px 0;
    border-radius: 3px;
}

/* Стили для списка определений */
.news__wrapper p:contains("<dl>") {
    margin-bottom: 0;
}

.news__wrapper p:contains("<dt>") {
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 4px;
}

.news__wrapper p:contains("<dd>") {
    margin-left: 24px;
    margin-bottom: 12px;
}

/* Стили для mark (выделение маркером) */
.news__wrapper p:contains("<mark>") span:contains("с помощью маркера") {
    background-color: #ffffd0;
    padding: 0 3px;
}

/* Стили для подстрочного и надстрочного текста */
.news__wrapper p:contains("<sub>") {
    line-height: 1.6;
}

.news__wrapper p:contains("<sub>") span:contains("2") {
    vertical-align: sub;
    font-size: 85%;
}

.news__wrapper p:contains("<sup>") span:contains("2") {
    vertical-align: super;
    font-size: 85%;
}

/* Стили для аббревиатур */
.news__wrapper p:contains("<abbr") span:contains("HTML") {
    border-bottom: 1px dotted #777;
    cursor: help;
}

/* === АДАПТИВНОСТЬ === */
@media screen and (max-width: 768px) {
    .news__wrapper {
        padding: 15px;
    }
    
    .mdl-card__title {
        padding: 12px 16px;
        margin: -15px -15px 15px;
    }
    
    .mdl-card__title-text {
        font-size: 20px;
    }
    
    .news__wrapper h1 {
        font-size: 24px;
    }
    
    .news__wrapper h2 {
        font-size: 20px;
    }
    
    .news__wrapper h3 {
        font-size: 18px;
    }
    
    .news__wrapper h4,
    .news__wrapper h5,
    .news__wrapper h6 {
        font-size: 16px;
    }
    
    .news__wrapper ul,
    .news__wrapper ol {
        padding-left: 20px;
    }
    
    .news__wrapper pre {
        padding: 8px;
    }
    
    .news__wrapper blockquote {
        padding: 10px 15px;
    }
}

.gis-zhkh-instruction {
  max-width: 800px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.gis-zhkh-instruction h1 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
}

.gis-zhkh-instruction h2 {
  border-bottom: 1px solid #ddd;
  padding-bottom: 5px;
  margin-top: 30px;
  font-weight: 500;
}

.gis-zhkh-instruction h3 {
  margin-top: 20px;
  font-weight: 500;
}

.gis-zhkh-instruction hr {
  border: 0;
  height: 1px;
  background-color: #ddd;
  margin: 25px 0;
}

.gis-zhkh-instruction ul, .gis-zhkh-instruction ol {
  margin-left: 20px;
}

.gis-zhkh-instruction table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.gis-zhkh-instruction th {
  background-color: #f5f5f5;
  text-align: left;
}

.gis-zhkh-instruction td, .gis-zhkh-instruction th {
  padding: 12px;
  border: 1px solid #ddd;
}

.gis-zhkh-instruction tr:nth-child(even) {
  background-color: #f9f9f9;
}

.gis-zhkh-instruction blockquote {
  background-color: #f9f9f9;
  border-left: 3px solid #ddd;
  padding: 15px;
  margin: 20px 0;
}


/* === ПОЛИТИКА КОНФИДЕНЦИАЛЬНОСТИ === */
.privacy__list {
  gap: 0 !important;
}

.privacy__list p {
  margin-bottom: 8px;
  line-height: 1.6;
}

.privacy__list h2,
.privacy__list h3 {
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 600;
  color: #262626;
}

.privacy__list ul,
.privacy__list ol {
  margin: 12px 0;
  padding-left: 24px;
}

.privacy__list ul {
  list-style: disc outside;
}

.privacy__list ol {
  list-style: decimal outside;
}

.privacy__list li {
  margin-bottom: 6px;
  padding-left: 4px;
  line-height: 1.6;
}

.privacy__list strong,
.privacy__list b {
  font-weight: 600;
  color: #333;
}

.privacy__list a {
  color: #0066cc;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 102, 204, 0.3);
}

.privacy__list a:hover {
  color: #004c99;
}