/* === БАЗОВЫЕ НАСТРОЙКИ ШРИФТА === */
html {
    font-size: 100%; /* 1rem = 16px */
    scroll-padding-top: 12px; /* Отступ при переходе по якорной ссылке - глобальный */
    scroll-behavior: smooth;
}

body {
    font-family: "Times New Roman", Georgia, serif;
    font-size: 1rem; /* базовый размер = 16px */
    line-height: 1.5;
    color: #000;
    margin: 0 auto;
    background-color: #fff;
}
/* РСЯ */
.adv-block {
    margin: 24px 0;
    text-align: center;
}
#main{
    width:100%;
}
#wrapper{
    max-width:1024px;
    min-width:240px;
    margin:0 auto;
    background:#fff;
}
.logo {
    display: block;
    overflow: hidden;
    text-indent: -600px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: 0 0;
}
img{
    max-width:100%;
    height:auto;
}
/*центрирование всех изображений*/
.cntrImg{
    display: block;
    margin: auto;
    border: none;
}
/*для смайлов и мелких значков*/
.ico{
    display: inline;
    vertical-align: middle;
}
/*изображение с обтеканием слева*/
.imgL{
    display: block;
    float: left;
    max-width: 100%;
    height: auto;
    margin: 5px 10px 5px;
}
/*изображение с обтеканием справа*/
.imgR{
    display: block;
    float: right;
    max-width: 100%;
    height: auto;
    margin: 5px 10px 5px;
}
/* Figure */
.fig{
    margin: auto;
}
.fcap{
    font:italic 19px/1.2 Times New Roman,serif;
    color: #0e12cb;
    text-align: center;
    margin-bottom: 10px;
    padding: 5px;
}
/* Блок Figure + изображение-ссылка */
.fg-scheme {
    display: block;
    margin: 0 auto 2rem auto;
    max-width: 100%;
    text-align: center;
    border: 1px solid #fcedfe;   /* рамка вокруг figure */
    border-radius: 6px;
    background-color: #fff;      /* общий фон */
    overflow: hidden;            /* чтобы содержимое не выходило за границы */
}
.fg-scheme-cap {
    font-family: "Times New Roman", serif;
    font-size: 1.125rem;   /* 18px */
    font-weight: bold;
    color: #792300;
    text-shadow: 1px 1px 3px rgba(213,127,92,0.8);
    margin: 0;             /* убираем внешние отступы */
    padding: 0.5rem 0.75rem;
    background-color: #fcedfe;   /* фон подписи */
    border-top: none;            /* убрали разделитель сверху */
    border-radius: 0 0 6px 6px;  /* подпись «закрывает» нижнюю часть рамки */
}
.fg-scheme-key {
    font-weight: bold;
    color: inherit;
    letter-spacing: 0.3px;
}
/* Подсветка блока figure при переходе по якорю */
.fg-scheme:target {
    animation: fg-scheme-highlight 7s ease;
}
/* Анимация затухания - Вариант №1 */
@keyframes fg-scheme-highlight {
    0% {
        box-shadow: 0 0 15px rgba(227, 77, 247, 0.8);
    }
    20%{
        box-shadow: 0 0 7px rgba(227, 77, 247, 0.5);
    }
    100% {
        box-shadow: none;
        border-color: #fcedfe;
    }
}
/* Удаление подчёркивания ссылки при наведении - убрать после исправления ссылок*/
.content .fg-scheme a:hover, a:visited{
    border-bottom: none;
}
.v-blok{position:relative;padding-bottom:56.25%;padding-top:30px;height:0;overflow:hidden}
.v-blok iframe,.v-blok object,.v-blok embed{position:absolute;top:0;left:0;width:100%;height:100%}
/* ТАБЛИЦЫ */
.tbl {
    width: 95%;
    border: 1px solid #000;
    border-collapse: collapse;
    margin: 0.5rem 0 1rem;
}

.tbl caption {
    caption-side: top;   /* подпись сверху — как у тебя */
    text-align: left;
    font-weight: 600;
    margin-bottom: .5rem;
}

.tbl th,
.tbl td {
    border: 1px solid #ccc;
    padding: .4rem .6rem;
    text-align: center;
    white-space: nowrap; /* чтоб буквы не переносились */
}
.tbl th,
.tbl thead th {
    background: #f6f6f8;
}

.tbl th[scope="row"] {
    text-align: left;
    background: #fafafa;
    font-weight: 600;
}

/* Мобильная прокрутка, если не влезает */
.tbl-wrapper {
    overflow-x: auto;
}

/* Горизонтальный скролл таблиц */
.table {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;  /* чтобы не появлялась вертикальная полоса */
    -webkit-overflow-scrolling: touch;
    margin: 0 0 1em;
}
table caption {
    font-weight: bold;
    font-size: 1.125rem; /* примерно 18px если базовый 16px */
    margin-bottom: 0.5rem;
}
/* Оформление заметки */
.zam{
    border:solid 1px #fec300;
    background-color:#ffcc34;
    background-image:-moz-linear-gradient(top,#ffcc34 0%,#f9f8d4 100%);
    background-image:-webkit-linear-gradient(top,#ffcc34 0%,#f9f8d4 100%);
    background-image:-o-linear-gradient(top,#ffcc34 0%,#f9f8d4 100%);
    background-image:-ms-linear-gradient(top,#ffcc34 0%,#f9f8d4 100%);
    background-image:linear-gradient(top,#ffcc34 0%,#f9f8d4 100%);
    -webkit-box-shadow:2px 3px 7px #4a4a4a;
    -moz-box-shadow:2px 3px 7px #4a4a4a;
    box-shadow:2px 3px 7px #4a4a4a;
    margin:5px;
    padding:3px 10px;
    -webkit-border-radius:20px;
    -moz-border-radius:20px;
    border-radius:20px;
}
.zam p{
    font-size:21px;
    text-align:center;
    text-shadow:1px 0 0 #c56f5b;
}
/* Меню навигации под шапкой*/
.nav {
    background-color: #fff;
}
.nav ul {
    list-style-type: none;
    margin: 0 auto;
    padding-inline-start: 5px;
}
.nav li {
    display: inline-block;
    margin: 5px 10px;
    padding: 0;
}
.nav a {
    display: block;
    padding:7px 98px 12px 0;
    font:16px Times New Roman,serif;
    color:#0044cc;
    text-decoration:none;
    background-image:url(../images/design/home.jpg);
    background-repeat:no-repeat;
    background-position:0 0
}
.nav a.start {
    background-image:url(../images/design/roket.jpg)
}
.nav a.master {
    background-image:url(../images/design/repair.jpg)
}
.nav a.comp {
    background-image:url(../images/design/computer.jpg)
}
.nav a.tech {
    background-image:url(../images/design/technolog.jpg)
}
.nav a:hover {
    background-position:0 -40px;color:#000088;
    border-bottom: none; /*Убирает нижнее подчёркивание при наведении на ссылку. text-decoration не работает, так как изображение!*/
}
.nav a[aria-current="page"] {
    color: #000;
    font-weight: bold;
}
.nav a:focus,
.nav a:active {
    outline: 2px solid #999;
    background-color: #eef;
}
/* Обёртка основного контента по центру */
.mainBlok{
    width:1024px;
}
/* Основной текст в блоке контента (десктоп + планшеты) */
.content p,
.content ul li,
.content ol li,
.content dd {
    line-height: 1.4;
}
.content{
    width:728px;
    padding:40px 25px 10px;
    float:left;
    margin:0 8px 13px 0;
    border:1px solid #98A8FE;
    border-radius:18px;
    box-shadow:2px 3px 7px #98A8FE;
    background-image: -webkit-linear-gradient(top, #99A9FE, #FFFFFF 41px); /* Chrome 10–25, Safari 5.1–6 */
    background-image: linear-gradient(to bottom, #99A9FE, #FFFFFF 41px);   /* modern */
    background-repeat: no-repeat;
    background-size: 100% 41px;
}
.sidebar{
    width:226px;
    float:left;
    margin:0 8px 13px 0;
    border:1px solid #98A8FE;
    border-radius:18px;
    box-shadow:2px 3px 7px #98A8FE;
    background-image: linear-gradient(to bottom, #99A9FE, #FFFFFF 41px);
}
.menu{
    width:226px;
    height:29px;
    margin: 0 auto;
    font:italic bold 15px Arial,sans-serif;
    color:#fff;
    text-align:center;
    padding-top:10px;
    text-shadow: 1px 2px 3px #5363B9;
}
.partition{
    list-style-type: none;
    list-style-position: outside;
    margin-top: 5px;
    padding: 0 10px;
}
.partition li {
    font: 20px Times New Roman,serif;
    color:#000;
    line-height: 1.5;
    padding-left: 25px;
    background-image: url("../images/design/vl.gif");
    background-position: 0 11px;
    background-repeat: no-repeat;
}
/* ?  внутри пунктов списка бокового меню нет абзацев */
.partition li a {
    text-decoration: none;
}
.partition li a:hover {
    border-bottom-style: dashed;
    border-bottom-color: #0000A8;
    border-bottom-width: 1px;
}
.pages{
    list-style-type: none;
    list-style-position: outside;
    padding: 0 10px;
    margin-top: 30px;
}
.pages li {
    font: 20px Times New Roman,serif;
    color:#000;
    line-height: 1.5;
    padding-left: 25px;
    background-image: url("../images/design/punkt.png");
    background-position: 0 11px;
    background-repeat: no-repeat;
}
.pages li a {
    text-decoration: none;
}
.pages li a:hover {
    border-bottom-style: dashed;
    border-bottom-color: #0000A8;
    border-bottom-width: 1px;
}
/* Блок ссылок Новое на сайте в сайдбаре */
.new{
    list-style-type: none;
    list-style-position: outside;
    padding: 0 10px;
    margin-top: 3px;
}
.new li{
    font: 18px Times New Roman,serif;
    color:#000;
    line-height: 1.3;
    padding: 3px 10px 20px 23px;
    background-image: url("../images/design/kn.gif");
    background-position: 0 8px;
    background-repeat: no-repeat;
}
.new li a{
    text-decoration: none;
}
.new li a:hover{
    border-bottom-style: dashed;
    border-bottom-color: #0000A8;
    border-bottom-width: 1px;
}
/* Подвал */
.footer {
    width:1024px;
    height:35px;
    border:1px solid #98A8FE;
    box-shadow:2px 3px 7px #98A8FE;
    margin: 0 7px 10px 0;
    text-align:center;
    color:#fff;
    font:italic bold 13px Arial,sans-serif;
    padding-top:15px;
    clear:left;
    border-radius:18px;
    background-image:-webkit-linear-gradient(top,#97A7FE,#FAFFFF);
    background-image:linear-gradient(to bottom,#97A7FE,#FAFFFF);
}
/* Кнопки Далее и Назад */
.content #go-next,.content #go-back{
    border:solid 1px #3565d5;
    -webkit-border-radius:7px;
    -moz-border-radius:7px;
    border-radius:7px;
    background-color:#00b2ed;
    background-image: -webkit-linear-gradient(top, #00b2ed, #3565d5); /* Safari 5–6, Android 4.x */
    background-image: linear-gradient(to bottom, #00b2ed, #3565d5);
    padding:5px 23px;
    font:bold 18px "Times New Roman",Times,serif;
    color:#fff;
}
.content #go-next{
    float:right;
}
.content #go-back{
    float:left;
}
/* Кнопка Наверх */
a#move_up {
    position: fixed;
    bottom: 120px;
    left: 0;
    width: 28px;
    height: 26px;
    border-radius: 0 7px 7px 0;
    display: none;
    text-decoration: none;
    background-color: #597da3;
    background-image: url(../images/design/up.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 28px 26px;
    padding: 5px 4px 7px;
    opacity: 0.8;
}
a#move_up:hover {
    background-color: #385C82;
}
/* Плашка мобильного меню - скрыта по умолчанию */
a#pull{
    display:none;
}
/* Разделитель в боковом меню */
.sep{
    border-radius:18px;
    background-image:-webkit-linear-gradient(top,#97A7FE,#FAFFFF);
    background-image:linear-gradient(to bottom,#97A7FE,#FAFFFF);
}
.sep{
    width:90%;
    height:5px;
    border:1px solid #97A7FE;
    margin:10px auto 10px;
    clear:left;
}

#nachalo{
    width:85%;
    margin:3px auto;
    border:1px dotted #BCC0C2;
}
#nachalo img{
    border:0;
    float:right;
}
#nachalo p{
    padding:5px 10px;
    text-align:left;
    font:18px Times New Roman,serif;
}

/* ЗАГОЛОВКИ */
/* hgroup - h1 + p */
.mainH{
    font: bold 1.375rem "Times New Roman", serif; /* 22px */
    color: #000000;
    text-shadow: 1px 1px 2px rgba(74, 74, 74, 0.5);
    text-align: center;
    margin: 10px 0 10px;
}
h1{
    font: bold 2.125rem "Times New Roman", serif; /* 34px */
    text-shadow: 1px 1px 2px #C56F5B;
    color: #9E4813;
    text-align: center;
    margin: 0 auto 10px;
}

h2{
    font: bold 1.8125rem "Times New Roman", serif; /* 29px */
    text-shadow: 1px 1px 2px #919B9B;
    color: #353535;
    text-align: center;
}

h3{
    font: bold 1.5625rem "Times New Roman", serif; /* 25px */
    text-shadow: 1px 1px 3px #9364D5;
    color: #4A1B8C;
    text-align: center;
}

h4{
    font: bold 1.375rem "Times New Roman", serif; /* 22px */
    text-shadow: 1px 1px 3px #D57F5C;
    color: #792300;
    text-align: center;
}

/* АБЗАЦИ и пр */
p{
    font:1.1875rem/1.2 Times New Roman,serif;
    text-align:left;
    color:#000
}
abbr{
    font: 1.1875rem/1.2 Times New Roman,serif;
    color:#5d0791;
    text-shadow: 1px 1px 2px rgba(124, 37, 145, 0.5);
    text-decoration: underline;
}
.abbrB{
    font: 19px/1.2 Times New Roman,serif;
    color:#5d0791;
    text-shadow: 1px 1px 2px rgba(124, 37, 145, 0.5);
    text-decoration: underline;
}
/* -- TEXT -- */
/* text: bold */
.bld{
    font-weight: bold;
}
/* text: bold, underline */
.boldU{
    font-weight: bold;
    text-decoration: underline;
}
/* text: italic */
.italic{
    font-style: italic;
}
/* RED: shadow */
.red{
    color:#db0000;
    text-shadow: 1px 1px 2px rgba(233, 142, 142, 0.5);
}
/* GREEN: shadow */
.green{
    color:#3aaf11;
    text-shadow: 1px 1px 2px #9bc98b;
}
/* BLUE: shadow */
.blue{
    color:#0a0ad9;
    text-shadow: 1px 1px 2px #87aaf9;
}
/* YELLOW: shadow */
.yellow{
    color:#ffd800;
    text-shadow: 1px 1px 2px #2d1500;
}
/* Элементы типа R1, Q2, GB1*/
.el{
    color: #4c4c4c;
    text-shadow: 1px 1px 2px #393239;
    text-decoration: underline;
}
/* Выделенные цифры или числа в тексте */
.num {
    color: #350303;
    text-shadow: 1px 1px 2px rgba(101, 7, 7, 0.5);
}
/* text: italic, bold */
.ib{
    font-weight: bold;
    font-style: italic;
    color:#000;
}
/* text: italic, underline */
.iu{
    font-style: italic;
    text-decoration: underline;
    color:#000;
}
/* text: underline */
.uLine{
    text-decoration: underline;
    color:#053f83;
}
/* italic - bold */
.brown{
    color:#9E4813;
}
.razdel{
    font:bold 20px Helvetica,sans-serif;
    color:#9E4813;
    text-decoration:underline;
}
hr{
    width:100%;
    height:1px;
    border:none;
    color:#BCC0C2;
    background-color:#BCC0C2;
}
/* Ссылки */
/* Сссылка на загрузку */
.download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    text-decoration: underline;
}
.download-link::after {
    content: "💾";
    font-size: 1em;
}

/* LIST */
/* dl */
.toDo {

}
.toDo dt{
    margin: 7px 0 5px 0;
    font: 19px/1.2 Times New Roman,serif;
    color: #65000b;
    text-shadow: 1px 1px 2px #b1767d;
}
.toDo dd{
    font: italic 18px/1.2 Times New Roman,serif;
    text-decoration: underline;
    color: #000;
}
/* причина - действие */
.todo-dl {
    font-size: 1.1875rem;
    margin: 1.4em 0;
    padding: 0.8em 1em;
    border-left: 3px solid #d33;
    background: #fafafa;
    line-height: 1.45;
}

.todo-dl dt {
    font-weight: 600;
    margin-top: 0.7em;
    padding-left: 1.2em;
    position: relative;
}

.todo-dl dt::before {
    content: "⚠";
    position: absolute;
    left: 0;
    color: #d33;
}

.todo-dl dd {
    margin: 0.4em 0 0.8em 1.2em;
    padding-left: 1.2em;
    position: relative;
}

.todo-dl dd::before {
    content: "➤";
    position: absolute;
    left: 0;
    color: #333;
    opacity: 0.7;
}
/* термин - определение */
.terms-dl {
    font-size: 1.1875rem;
    margin: 1.6em 0;
    line-height: 1.45;
}

.terms-dl dt {
    font-weight: 600;
    margin-top: 1em;
    padding-bottom: 0.15em;
    border-bottom: 1px solid #ddd;
}

.terms-dl dd {
    margin: 0.4em 0 0.8em 0.5em;
    padding-left: 1.2em;
    position: relative;
    background-color: rgb(255 249 239);
}

.terms-dl dd::before {
    content: "⟶";
    position: absolute;
    left: 0;
    color: #555;
    font-size: 0.9em;
    opacity: 0.8;
}

/* Ссылки */
p a:hover,p a:visited{
    border-bottom:1px dashed #00F;
}
p a:active{
    color:#39F;
}
p a:link,p a:hover,p a:active,p a:visited{
    color:#00F;
    text-decoration:none;
}
.content a:hover, a:visited{
    text-decoration:none;
    border-bottom:1px dashed #00F;
}
.content a:active{
    color:#39F;
}
.content a:link,.content a:hover,.content a:active,.content a:visited{
    color:#00F;
}
.pointer{
    font:bold italic 13px Arial,sans-serif;
    color:#fff;
    text-align:center;
    margin:13px 0 0;
}
.section{
    font:bold italic 13px Arial,sans-serif;
    color:#fff;
    text-align:left;
    margin:13px 0 0;
}
/* LIST & LINKS*/
ul, ul li {
    font-size: 1.1875rem;
    color: #000;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
ul li a:link{
    color:#00F;
    text-decoration:none;
}
ul li a:hover{
    color:#00F;
    text-decoration:none;
    border-bottom:1px dashed #00F;
}
ul li a:active{
    color:#39F
}
ul li a:visited{
    color:#00F;
    text-decoration:none;
    border-bottom:1px dashed #00F;
}

/* === Блок навигации серии статей === */
.series {
    /* Палитра */
    --series-bg:      #f6f8ff;
    --series-bdr:     #e1e6ff;
    --series-link:    #2747d9;
    --series-hover:   #1a33a6;
    --series-visited: #6a4bd6;
    --series-current: #3c1ba8;
    --series-accent:  #6111fa;

    border: 1px solid var(--series-bdr);
    background: var(--series-bg);
    padding: 1em 1.2em;
    margin: 1.5em 0;
    border-radius: 10px;
    font-size: 0.95rem;
}
/* Заголовок блока */
.series p {
    margin: 0 0 0.5em;
    font-weight: 600;
    color: #333;
}
/* Список ссылок */
.series ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.series li {
    line-height: 1.4;
}
/* интервал только между элементами, а не вокруг первого */
.series li + li {
    margin-top: 0.35em;
}
/* --- Ссылки серии --- */
.series a {
    display: block;
    text-decoration: none;
    color: var(--series-link);
    border-bottom: 1px solid transparent; /* чтобы не дёргался текст на hover */
    transition: color 0.15s ease, border-color 0.15s ease;
}
/* Часть X. – выделение */
.series a .part {
    font-weight: 600;
    color: var(--series-current);
}
/* visited */
.series a:visited {
    color: var(--series-visited);
}
/* hover + active (только на устройствах с hover) */
@media (hover: hover) {
    .series a:hover,
    .series a:active {
        color: var(--series-hover);
        border-bottom: 1px dashed currentColor;
    }

    /* "Часть" меняет цвет вместе с остальной частью ссылки */
    .series a:hover .part,
    .series a:active .part {
        color: var(--series-hover);
    }
}
/* Фокус с клавиатуры */
.series a:focus-visible {
    outline: 2px solid color-mix(in oklab, var(--series-accent) 55%, white);
    outline-offset: 2px;
    border-bottom: 1px dashed currentColor;
}
/* --- Текущая страница --- */
.series li.current a {
    color: var(--series-current);
    font-weight: 600;
    position: relative;
    padding-left: 1.4em;
    border-bottom: 1px dashed currentColor;
}
/* Указательная стрелка */
.series li.current a::before {
    content: "➜";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--series-accent);
    font-weight: 700;
    line-height: 1;
}
/* --- Меньше анимаций для тех, кто отключил движение в системе --- */
@media (prefers-reduced-motion: reduce) {
    .series a {
        transition: none;
    }
}

/* Навигационный блок для ссылок серии внизу страницы */
/* Контейнер */
.pager {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 2rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

/* Общий стиль кнопок */
.pager a {
    flex: 1 1 48%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 8px 20px;
    font-weight: bold;
    text-decoration: none;

    background: #00b2ed;
    background-image: linear-gradient(to bottom, #00b2ed, #3565d5);
    border: 1px solid #3565d5;
    border-radius: 8px;

    box-shadow: 0 1px 2px rgba(0,0,0,.1);
    transition: all .15s ease;
    position: relative;
}

.content .pager a:link,
.content .pager a:hover,
.content .pager a:active,
.content .pager a:visited{
    font-size: 1.25rem;
    color: #fff;
    border-bottom: none;
}

/* Ховер */
.pager a:hover {
    background-image: linear-gradient(to bottom, #23c4ff, #3f6de0);
    border-color: #2950b8;
}

/* Активное состояние */
.pager a:active {
    transform: translateY(1px);
}

/* Стрелка влево для .prev */
.pager .prev::before {
    content: "←";
    font-size: 1.1em;
    margin-right: 8px;
    position: relative;
    top: -1px;
}

/* Стрелка вправо для .next */
.pager .next::after {
    content: "→";
    font-size: 1.1em;
    margin-left: 8px;
    position: relative;
    top: -1px;
}

/* Когда ссылка только одна — центрируем и ограничиваем ширину */
.pager a:only-child {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

/* Мобильная адаптация */
@media (max-width: 640px) {
    .pager {
        flex-direction: column;
        align-items: center; /* чтобы обе/одна кнопка были по центру */
    }
    .pager a {
        width: 80%;
        max-width: 320px; /* можно, чтобы не раздувалась на очень узких экранах */
    }
}


/* LIST style */
.circle-p{
    list-style:outside url(../images/design/punkt.png);
    padding-inline-start: 25px;
}
.circle-o{
    list-style:outside url(../images/design/punkt-o.png);
    padding-inline-start: 25px;
}
/* Применяется только к спискам с классом circle-b */
ul.circle-b,
ul.circle-b li {
    font-size: 1.1875rem;
    color: #000;
    line-height: 1.4;
    margin: 17px 0;
    overflow-wrap: anywhere;
}
/* Индивидуальные маркеры для списков circle-b */
ul.circle-b {
    list-style: outside url(../images/design/punkt-b.png);
    padding-inline-start: 25px;
}
.punkt{
    list-style:inside url(../images/design/kn.gif);
    padding:0 20px 5px 10px;
}

.centerContent{
    text-align:center;
}
.note{
    font:bold 12px "Courier New",Courier,monospace;
    color:#999;
}
.rightImg{
    float:right;
    margin:5px 10px;
}
.sidebarAds{
    width:97%;
    height:600px;
    overflow:hidden;
    margin:0 auto;
    padding-bottom: 18px;
    clear:left;
}
.teaser{
    width:100%;
    max-height:80vh;
}
.load{
    list-style:outside url(../images/design/load.gif);
}
.kratko{
    border-bottom:1px dotted #BCC0C2;
    margin:5px 0;
}
.kratko img{
    width:61px;
    height:61px;
    margin:5px 10px 0 5px;
    float:left;
    border:0;
}
.kratko p,.kratko ul{
    padding:5px 5px 5px 76px;
    text-align:left;
    font:18px Times New Roman,serif;
}
/* Блок - Новое на сайте - дата публикации */
.pubdate{
    display: block;
    font:bold 14px Times New Roman,serif;
    color:#740398;
    text-decoration:underline;
    margin: 5px 0 10px;
}
#recomm,.kratko{
    width:100%;
}
/* Блок кнопок соц. сети */
.sm-like {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 20px 0;
    justify-content: flex-start; /* по умолчанию — выравнивание слева */
}
.like {
    flex: 0 1 165px; /* минимум 165px, можно ужиматься */
    height: 32px;
}
/* Для старых браузеров — fallback */
@supports not (display: flex) {
    .like {
        float: left;
        width: 230px;
        height: 32px;
        margin: 7px 10px 7px 0;
    }
    .sm-like::after {
        content: "";
        display: table;
        clear: both;
    }
}
/*  */
#recomm{
    margin:0 auto;
    overflow:hidden;
}
/* Виджеты ВК */
#vk_comments,#vk_comments iframe{
    width:100%!important;
}
.vk-wrapper {
    display: flex;
    justify-content: center;
    padding: 10px 0 18px 0;
}

/* Заголовок H2 - блок комментариев ВК */
.h2vk {
    font: 21px/1.3 "Segoe UI", Tahoma, sans-serif;
    text-align: left;
    color: #3b5998; /* ближе к цвету VK */
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.1); /* мягкая тень */
}
/* Значок к заголовку H2 - блок комментариев ВК */
.h2vk::after {
    content: " \2193";
    font-size: 0.9em;
    color: inherit;
    margin-left: 2px;
}
/* Изображение в начале статьи справа или по центру */
.Pro {
    display: block;
    float: right;
    max-width: min(370px, 100%);   /* не шире 370 px */
    max-height: 370px;  /* не выше 370 px */
    width: auto;        /* сохраняет пропорции */
    height: auto;       /* сохраняет пропорции */
    margin: 15px 0 15px 30px;
}
.obzor{
    overflow:hidden;
    margin:20px 3%;
    padding:10px 3%;
    border:1px dashed #727277;
    border-radius:7px;
}
.obzor img{
    float:right;
    margin:5px;
}
.obzor a:link,.obzor a:hover{
    font:bold 18px Times New Roman,serif;
    text-decoration:none;
}
.obzor a:hover{
    border-bottom:1px dashed #00F;
}
/* Стили для стр. Книги для радиолюбителей */
/* Контейнер общего описания книги */
.book {
    margin-bottom: 2em;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 12px;
    background: #f9f9f9;

    display: flex;
    flex-direction: row;
    gap: 1em;
    align-items: flex-start;
    flex-wrap: wrap;
}
/* Оформление заголовка-названия книги, авторства */
.book h2,
.book .author {
    flex-basis: 100%;
}
.book h2 {
    font-size: 1.2em;
    margin: 0 0 0.2em;
}
.book .author {
    font-style: italic;
    margin: 0 0 1em;
}
/* Оформление обложки книги */
.book-cover {
    max-width: 147px;
    height: auto;
    border-radius: 6px;
    flex-shrink: 0;
}
/* Оформление текстового описания книги */
.book-body {
    flex: 1;
    min-width: 200px;
}
/* Контейнер навигации крошек */
.breadcrumb {
    margin: 20px 0;
    font: 18px/1.5 "Times New Roman", Tahoma, sans-serif;
    color: #444;
}
/* Упорядоченный список */
.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}
/* Элемент списка */
.breadcrumb li {
    display: flex;
    align-items: center;
    white-space: nowrap;
}
/* Разделитель между элементами */
.breadcrumb li::before {
    content: "→";
    padding: 0 8px;
    color: #888;
}
/* Значок домика для первого элемента */
.breadcrumb li:first-child::before {
    content: "🏠";
    font-size: 14px;
}
/* Ссылки */
.breadcrumb a {
    color: #0033cc;
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb a:hover {
    color: #001a66;
    text-decoration: none;
    border-bottom: none;
}
/* Текущий элемент (последний) */
.breadcrumb li:last-child {
    color: #000;
}
/* Общий контейнер для рекомендуемых ссылок */
.reco-block {
    margin: 25px 0;
    padding: 15px 20px;
    border: 1px solid #ADADB3;
    border-radius: 12px;
    background: #f9f9ff;
    box-shadow: 2px 3px 7px rgba(152, 168, 254, 0.3);
}
.reco-block h2 {
    font-size: 1.25rem;
    line-height: 1.4;
    color: #2c3e50;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05);
}
.reco-block h2::before {
    content: "📌";
    margin-right: 5px;
}
.reco-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.reco-list li {
    margin: 0.5em 0;
    font-size: 1.1rem;
    line-height: 1.5;
}
.reco-list li::before {
    content: "👉";
    display: inline-block;
    margin-right: 0.5em;
    flex-shrink: 0;
}
/* Ссылки */
.reco-list a {
    text-decoration: none;
    color: #003366;
    transition: color 0.3s ease;
}
.reco-list a:hover {
    color: #3565d5;
    text-decoration: none;
    border-bottom: none; /* Можно убрать когда наладишь оформление в списках */
}
/* Внешние ссылки */
a.external {
    color: #0066cc;
    text-decoration: underline;
}
a.external::after {
    content: "🔗";
    color: #999;              /* мягкий серый */
    font-size: 0.9em;
    opacity: 0.7;             /* полупрозрачная, не отвлекает */
    margin-left: 0.3em;
    vertical-align: baseline;
}
/* Дата публикации и обновления */
.pub {
    margin-top: 6px;
    font-size: 0.9375rem; /* 15px для десктопа и планшета */
    color: #555;
}
.pub-sep {
    padding: 0 8px;
    opacity: 0.7;
}
.pub-mod time {
    white-space: nowrap;
}
/* screen №2 < 1025px */
@media (min-width:1025px) {
    .logo {
        width: 1024px;
        height: 87px;
        background-image: url(../images/design/logo.png);
    }
    a#move_up {
        bottom: 120px;
        border-radius: 7px;
        margin-left: 5px;
        opacity: 0.9;
    }
}
/* 769px < screen №3 < 1025px */
@media (min-width:769px) and (max-width:1024px){
    h1{
        font-size: 1.875rem;   /* 30px */
    }
    .mainH{
        font-size: 1.3125rem; /* 21px */
    }
    h2{
        font-size: 1.6875rem;  /* 27px */
    }
    h3{
        font-size: 1.5rem;     /* 24px */
    }
    h4{
        font-size: 1.3125rem;  /* 21px */
    }
    p{
        font-size: 1.1875rem;  /* 19px */
    }
    ul, ul li {
        font-size: 1.1875rem;  /* 19px */
    }
    .todo-dl {
        font-size: 1.1875rem;  /* 19px */
    }
    .terms-dl {
        font-size: 1.1875rem;  /* 19px */
    }
    .content a:link,
    .content a:hover,
    .content a:active,
    .content a:visited{
        font-size: 19px;
    }
    /*Основной контент - main*/
    .sidebar{
        width: 100%;
        border: none;
        box-shadow: none;
    }
    .menu{
        width: 100%;
    }
    .partition{
        width: 80%;
        margin: 5px auto 0 auto;
    }
    .partition li{
        display: inline-block;
        background-image: none;
        padding: 5px 5px;
    }
    .partition li a:link, .partition li a:visited, .partition li a:hover, .partition li a:active{
        background-color: #EDEDED;
        color: #4c4c4c;
        text-decoration: none;
        line-height: 1.5;
        border: 1px solid #D3D4D7;
        border-radius: 3px;
        padding: 3px 10px 5px;
    }
    .pages{
        width: 80%;
        margin: 30px auto 0 auto;
    }
    .pages li{
        display: inline-block;
        background-image: none;
        padding: 5px 5px;
    }
    .pages li a:link, .pages li a:visited, .pages li a:hover, .pages li a:active{
        background-color: #F7E8DF;
        color: #9E4813;
        text-decoration: none;
        line-height: 1.5;
        border: 1px solid #9E4813;
        border-radius: 3px;
        padding: 3px 10px 5px;
    }
    /*Меню вверху справа*/
    .menu{
        width: 100%;
    }
    /*блок новое на сайте*/
    .new{
        width: 80%;
        margin: 3px auto 3px auto;
    }
    .new li{
        display: inline-block;
        background-image: none;
        padding: 5px 5px;
    }
    .new li a:link, .new li a:visited, .new li a:hover, .new li a:active{
        background-color: #F0D6F0;
        color: #732882;
        text-decoration: none;
        line-height: 1.5;
        border: 1px solid #732882;
        border-radius: 3px;
        padding: 3px 10px 5px;
    }
.mainBlok,.nav,.watch{
    width:100%;
}
.footer{
    width:100%;
    border:0;
    box-shadow:none;
}
.logo {
    width: 523px;
    height: 81px;
    background-image: url(../images/design/logo-m540.png);
}
.content{
    width:94%;
    margin:0 0 10px;
    padding:40px 3% 10px;
}
.content,.sidebar{
    border:0;box-shadow:none;
}
.punkt{
    list-style:none;
    padding:0;
}
.punkt li{
    margin:5px 7px;
}
.punkt li a:link{
    font:16px Times New Roman,serif;
    background-color:#EDEDED;
    color:#4c4c4c;
    text-decoration:none;
    line-height:1.3;
    padding:3px 10px 5px;
    border-radius:3px;
    border:1px solid #D3D4D7;
}
.sidebarAds{
    width:100%;
    height:90px;
}
}
/* 240px < screen №4 < 768px */
@media (min-width:240px) and (max-width:768px){
    h1{
        font-size: 1.625rem;   /* 26px */
    }
    .mainH{
        font-size: 1.1875rem; /* 19px */
    }
    h2{
        font-size: 1.4375rem;  /* 23px */
    }
    h3{
        font-size: 1.3125rem;  /* 21px */
    }
    h4{
        font-size: 1.1875rem;  /* 19px */
    }
    p{
        font-size: 1.0625rem;  /* 17px */
    }
    ul, ul li {
        font-size: 1.0625rem;  /* 17px */
    }
    .todo-dl {
        font-size: 1.0625rem;  /* 17px */
    }
    .terms-dl {
        font-size: 1.0625rem;  /* 17px */
    }
    .pub {
        font-size: 0.875rem; /* 14px */
    }
    /* На смартфонах — чуть больше воздуха между строками основного текста */
    .content p,
    .content ul li,
    .content ol li,
    .content dd,
    .content ul.circle-b,
    .content ul.circle-b li {
        line-height: 1.5;
    }
    /* Списки с синей точкой */
    ul.circle-b,
    ul.circle-b li {
        font-size: 1.0625rem;
    }
    .content a:link,.content a:hover,.content a:active,.content a:visited{
        font-size: 1.0625rem;
    }
    .Pro {
        float: none;
        margin: 0 auto 15px;
    }
    .imgL, .imgR{
        float: none;
        margin: 0 auto 5px;
    }
    .sidebar{
        width: 100%;
    }
    .menu{
        width: 100%;
    }
.mainBlok,.nav,#Ads{
    width:100%;
}
.logo {
    width: 177px;
    height: 47px;
    background-image: url(../images/design/logo-m240.png);
}
.nav{
    display:none;
}
a#pull{
    display:block;
    font:bold 18px Times New Roman,serif;
    color:#fff;
    background-color:#98A8FE;
    text-decoration:none;
    border-radius:5px;
    padding:5px 3%;
    margin:5px auto;
    width:94%;position:relative;
}
a#pull:after{
    content:"";
    background:url(../images/design/m-icon.png) no-repeat;
    width:12px;
    height:13px;
    display:inline-block;
    position:absolute;
    top:10px;
    right:3%;
}
.content{
    width:94%;
    margin:0 0 10px;
    padding:40px 3% 10px;
}
    /*Основной контент - main*/
    .sidebar{
        width: 100%;
        border: none;
        box-shadow: none;
    }
    .menu{
        width: 100%;
    }
    .partition{
        width: 80%;
        margin: 5px auto 0 auto;
    }
    .partition li{
        display: inline-block;
        background-image: none;
        padding: 5px 5px;
    }
    .partition li a:link, .partition li a:visited, .partition li a:hover, .partition li a:active{
        background-color: #EDEDED;
        color: #4c4c4c;
        text-decoration: none;
        line-height: 1.5;
        border: 1px solid #D3D4D7;
        border-radius: 3px;
        padding: 3px 10px 5px;
    }
    .pages{
        width: 80%;
        margin: 30px auto 0 auto;
    }
    .pages li{
        display: inline-block;
        background-image: none;
        padding: 5px 5px;
    }
    .pages li a:link, .pages li a:visited, .pages li a:hover, .pages li a:active{
        background-color: #F7E8DF;
        color: #9E4813;
        text-decoration: none;
        line-height: 1.5;
        border: 1px solid #9E4813;
        border-radius: 3px;
        padding: 3px 10px 5px;
    }
    /* Навигационное меню - верх */
    .series a{
        display: block;
        padding: 6px 0;
    }
    /*Меню вверху справа*/
    .menu{
        width: 100%;
    }
    /*блок новое на сайте*/
    .new{
        width: 80%;
        margin: 3px auto 3px auto;
    }
    .new li{
        display: inline-block;
        background-image: none;
        padding: 5px 5px;
    }
    .new li a:link, .new li a:visited, .new li a:hover, .new li a:active{
        background-color: #F0D6F0;
        color: #732882;
        text-decoration: none;
        line-height: 1.8;
        border: 1px solid #732882;
        border-radius: 3px;
        padding: 3px 10px 5px;
    }

.footer{
    width:100%;
    border:0;
    box-shadow:none;
}
.content{
    border:0;
    box-shadow:none;
}
.punkt{
    list-style:none;
    padding:0;
}
.punkt li{
    margin:5px 7px;
}
.punkt li a:link{
    font:16px Times New Roman,serif;
    background-color:#EDEDED;
    color:#4c4c4c;
    text-decoration:none;
    line-height:1.3;
    padding:3px 10px 5px;
    border-radius:3px;
    border:1px solid #D3D4D7;
}
.sidebarAds{
    width:100%;
    height:280px;
}
.rightImg{
    margin:0 auto;
}
/* Центрирование кнопок соц. сетей */
.sm-like {
    justify-content: center;
}
/* 📱 Мобильная адаптация для стр. Книги для радиолюбителей */
    .book {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .book-body {
        text-align: left;
    }
    /* Хлебные крошки */
    .breadcrumb {
        margin: 15px 0;
        border-radius:3px;
        border:1px solid #CCCCCC;
        padding: 5px 5px;
        background-color:#F9F9F9;
        max-width: 500px;
    }
    .breadcrumb ol {
        flex-direction: column;
        gap: 4px;
    }
    .breadcrumb li::before {
        content: "↳";
        padding: 0;
    }
    .breadcrumb li {
        display: block;
    }
    .breadcrumb a {
        display: inline-block;
        position: relative;
    }
    /* Значок домика для первого элемента */
    .breadcrumb li:first-child::before {
        content: "🏠";
        font-size: 14px;
    }
    .breadcrumb a::before {
        position: absolute;
        left: 0;
        color: #999;
        font-size: 12px;
    }
    /* Оформление для рекомендуемых ссылок */
    .reco-block {
        padding: 0.8em 1em;
        border-right-width: 3px;
    }
    .reco-block h2 {
        font-size: 1.1rem;
    }
    .reco-list li {
        line-height: 1.4;
    }
    .reco-list li::before {
        margin-right: 0.4em;
    }
}
/* Масштабирование схемы при наведении курсора - только десктоп! */
@media (hover: hover) and (pointer: fine) {
    .zoom {
        display: inline-block;
        overflow: hidden;
        border-radius: 0;
        cursor: zoom-in;
    }

    .zoom picture,
    .zoom img {
        display: block;
        width: 100%;
        height: auto;
        transition: transform .3s ease, filter .3s ease;
    }

    .zoom:hover picture,
    .zoom:hover img {
        transform: scale(1.05);
    }
}