/* Стили для нумерованного списка с кружками */
ol.custom_counter {
    counter-reset: custom-item;
    list-style: none;
    margin: 20px 0 20px 50px;
}

ol.custom_counter > li {
    margin: 25px 0;
    line-height: 1.8;
    position: relative;
}

ol.custom_counter > li::before {
    color: #fff; /* Белый цвет цифр */
    background: #cd0000; /* Фиолетовый фон кружка */
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 1px 2px 2px rgba(0,0,0,.05);
    font-weight: bold;
    font-size: 13px;
    content: counter(custom-item);
    counter-increment: custom-item;
    position: absolute;
    left: -50px;
    top: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

ol.custom_counter > li::after {
    border-left: 1px solid #e1e1e1;
    border-right: 1px solid #fff;
    content: '';
    position: absolute;
    left: -33px;
    top: 28px;
    height: 100%;
    z-index: 1;
}

ol.custom_counter > li:last-child:after {
    display: none;
}

/* Стили для вложенных маркированных списков */
ol.custom_counter ul {
    margin: 10px 0 10px 5px;
}

ol.custom_counter ul > li {
    line-height: 1.8;
    list-style-type: none;
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
}

ol.custom_counter ul > li:before {
    color: #cd0000; /* Фиолетовый цвет галочки */
    content: '\2713';
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Стили для меток-ссылок */
ol.custom_counter .custom_label {
    border-radius: 3px;
    padding: 3px 5px;
    text-decoration: none;
}

ol.custom_counter .custom_label_blue {
    background: #a29bfe; /* Светло-фиолетовый фон */
    color: #fff;
}

/* Стиль для страниц блога */
.post.up-page {
    max-width: 1060px;
}

/* Стиль для реквизитов */
.up-page {  
    margin-left: 1%;
    margin-right: 1%;
}

/* Основной контейнер */
.posts-img__item {
    position: relative; /* Делаем контейнер относительным */
    display: inline-block;
}

/* Изображение */
.posts-img__img {
    width: 100%; /* Изображение занимает всю ширину */
    height: 100%; /* Сохраняем пропорции */
    display: block;
}

/* Подложка */
.posts-img__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px; /* 🔥 Фиксированная высота полосы */
    background-color: rgba(255, 255, 255, 0.7); /* Светлая полоса: белый с прозрачностью */
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

/* Текст */
.posts-img__name {
    font-weight: bold; /* Утолщённый шрифт */
}








