/* ===== ГРУППОВЫЕ ОБЪЯВЛЕНИЯ ДЛЯ font-weight: 700 ===== */
h1, .h1,
.block-title,
.title,
.block-front_title,
.section-events-title,
.news-categories_menu a,
.services-cat_title,
.related-articles .h3, .related-links .h3,
.related-articles h3, .related-links h3,
.month-events_title {
    font-weight: 700;
}

/* ===== ПОДКЛЮЧЕНИЕ ШРИФТОВ ===== */
/* merriweather-300 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 300;
    src: url('../primepres/fonts/merriweather-v30-cyrillic_cyrillic-ext_latin_latin-ext-300.woff2') format('woff2');
}
/* merriweather-regular - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 400;
    src: url('../primepres/fonts/merriweather-v30-cyrillic_cyrillic-ext_latin_latin-ext-regular.woff2') format('woff2');
}
/* merriweather-700 - cyrillic_cyrillic-ext_latin_latin-ext */
@font-face {
    font-display: swap;
    font-family: 'Merriweather';
    font-style: normal;
    font-weight: 700;
    src: url('../primepres/fonts/merriweather-v30-cyrillic_cyrillic-ext_latin_latin-ext-700.woff2') format('woff2');
}

/* ===== ОСНОВНЫЕ СТИЛИ ===== */
img[align=left] {
    float: left;
    margin: 5px 20px 5px 0;
}
img[align=right] {
    float: right;
    margin: 7px 0px 10px 10px;
}
h4 {
    font-weight: bold;
}
.ulogin-block {
    display: none;
}
.invoice_seccess_ok {
    font-size: 18px;
}
.register_uf_type label {
    display: inline-block;
    vertical-align: top;
    font-family: "Merriweather", serif;
    border-bottom: 1px dotted #165f7c;
    font-size: 0.875rem;
    cursor: pointer;
}
.block-register .alert-danger {
    color: #ff0000;
    margin-bottom: 20px;
}
.recaptcha_google {
    margin-bottom: 15px;
    padding-top: 5px;
}
.bx-authform-link-container {
    text-align: center;
    padding-top: 15px;
}
.register_uf_type {
    margin-bottom: 10px;
}
.checkbox_input {
    text-align: center;
    line-height: 17px;
    margin-bottom: 10px;
}
.checkbox_input label {
    display: inline-block;
}
.registration-page {
    padding-bottom: 30px;
}
.checkbox_input label {
    position: relative;
    padding-left: 26px;
}
.label_user_type {
    display: none;
}
.checkbox_input label input {
    display: none;
}
.checkbox_input label:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 17px;
    height: 17px;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    background: #FFF;
    cursor: pointer;
    display: block;
}
.checkbox_input label.active:after {
    background: #fff url("images/checked.png") center center no-repeat;
}
.register_uf_type input {
    display: none;
}
.register_uf_type span {
    font-size: 1.125rem;
    display: inline-block;
    vertical-align: top;
    margin: 0 7px;
}
.register_uf_type label.active {
    font-size: 1.125rem;
    border-color: transparent;
}
.invoice_name {
    padding-top: 30px;
    font-weight: bold;
    display: inline-block;
    font-size: 1.25rem;
    line-height: 24px;
    font-family: "Merriweather", serif;
    margin-bottom: 10px;
    letter-spacing: 0.001em;
}
.pokuopka_online {
    color: #be3228;
}
.invoice_price {
    margin-bottom: 30px;
}
.invoice_submit {
    padding-top: 30px;
    text-align: center;
}
.invoice_field input[name='captcha_word'] {
    width: auto;
}
.analitika_date {
    text-align: right;
    font-size: 0.75rem;
    color: #7b8385;
    padding-top: 8px;
}
.invoice_form {
    background: #f7f4ee;
    border: 1px solid #e6e2da;
    max-width: 602px;
    padding: 24px 31px 30px 31px;
}
.invoice_field_name {
    margin-bottom: 6px;
}
.invoice_field {
    margin-bottom: 15px;
}
.invoice_field input {
    border: 1px solid #e6e2da;
    height: 40px;
    padding: 0px 15px;
    width: 100%;
}
a.anonce_link {
    color: #000;
    display: block;
    text-decoration: none;
}

.fixed_news_img {
    margin-bottom: 10px;
    margin-top: 5px;
}
.niko_mpn .title {
    margin-bottom: 8px;
}
.niko_mpn .date {
    font-size: 0.75rem;
    text-align: right;
    color: #7b8385;
    padding-top: 8px;
}
.buy-page table p {
    padding: 0;
    margin: 0;
}
.wrapper .table-with-head th {
    padding: 5px;
}
#main table td {
    padding: 5px;
}
/* удалён пустой блок .wrapper table td */
.wrap-text-area ul {
    list-style: disc;
    margin-left: 20px;
}
.wrap-text-area ol {
    list-style: decimal;
    margin-left: 20px;
}
.wrap-text-area h4 {
    font-weight: 600;
}

/* ===== ЦИТАТЫ (исправлено дублирование) ===== */
blockquote {
    position: relative;
    margin: 2em 0;
    padding: 1.5em 2.5em;
    background: #f8f9fa;
    border-left: 6px solid #165f7c;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #1e1e1e;
    line-height: 1.7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    font-family: Georgia, 'Times New Roman', serif;
}
blockquote cite,
blockquote .source {
    display: block;
    margin-top: 0.8em;
    font-style: normal;
    font-size: 0.9rem;
    color: #6c757d;
    text-align: right;
}

/* ===== ИЗОБРАЖЕНИЯ С ПОДПИСЯМИ ===== */
.text_image_with_title div {
    font-size: 12px;
    line-height: 16px;
    font-style: italic;
    color: rgb(149,149,149);
    display: block;
    max-width: 100%;
    margin-top: 5px;
}
.text_image_with_title {
    float: right;
    margin: 0px 0px 10px 10px;
    max-width: 350px;
    padding: 5px 0 0 0;
}
.text_image_with_title.left {
    float: left;
    margin: 0px 10px 10px 0px;
}

/* ===== ЛЕНТА АНАЛИТИКИ ===== */
.analitika_date.lenta_date {
    font-size: 1.25rem;
    line-height: 24px;
    font-family: "Merriweather", serif;
    color: #be3228;
    margin: 10px 0 0 0;
    font-weight: bold;
    text-align: left;
    margin-bottom: 24px;
}
.lenta_block {
    border-bottom: 1px dotted #bdbdbd;
}
.block-analitics.lenta_block .title {
    margin-bottom: 0;
}
.lenta_all {
    text-align: center;
    padding: 25px 0;
}
.detail_analitika_btn {
    line-height: 22px !important;
    font-size: 0.875rem !important;
    padding: 4px 20px !important;
    margin-left: 10px;
}
.biznes_kalendar_filter {
    margin-bottom: 30px;
}
.detail_analitika_price {
    display: inline-block;
    vertical-align: top;
    line-height: 32px;
    margin-right: 20px;
}
.lenta_all a {
    display: inline-block;
    color: #fff;
    border: 1px solid #be3228;
    height: 30px;
    line-height: 28px;
    padding: 0 20px;
    text-decoration: none;
    font-weight: 700;
    background: #be3228;
}
.lenta_all a:hover {
    background: #961414;
    border-color: #961414;
}
.block-analitics.lenta_block .title {
    padding-left: 50px;
    position: relative;
}
.block-analitics.lenta_block .title span {
    position: absolute;
    left: 0;
    top: 0px;
    font-size: 0.75rem;
    color: #7b8385;
    font-weight: normal;
    font-family: "Open Sans", sans-serif; /* если Open Sans не подключён – замените на системный */
}
.block-analitics.lenta_block .item:after {
    display: none;
}
.block-analitics.lenta_block .item {
    padding-bottom: 0;
}
.block-analitics.lenta_block .item.item_lenta_date {
    padding-top: 0;
}

/* ===== МЕДИА-ЗАПРОСЫ (исправлена лишняя скобка, удалён пустой блок) ===== */
@media (max-width: 533px) {
    .block-front .right-col .item {
        display: block;
        border: none;
    }
    .block-front .right-col .item .text.anonce_link,
    .block-front .right-col .item .date,
    .block-front .right-col .item:nth-child(3),
    .block-front .right-col .item:nth-child(4) {
        display: none;
    }
    .block-front .right-col .item {
        padding-bottom: 5px;
    }
}
@media (max-width: 420px) {
    .text_image_with_title {
        margin-left: 0;
        float: left;
    }
}
/* пустой @media (min-width: 768px) удалён */

/* ===== ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ===== */
.admixer_container {
    float: right;
    margin-left: 20px;
    margin-bottom: 20px;
}
.btn-orange:hover,
input.btn-orange:hover,
input[type="submit"].btn-orange:hover,
input[type="button"].btn-orange:hover {
    background: #961414;
    border-color: #961414;
}
.block-front .all-news a:hover {
    text-decoration: none;
    background: #961414;
}
.log-out:hover {
    background: #961414;
    -webkit-background-size: 18px;
    background-size: 18px;
    text-decoration: none;
}
.log-in:hover {
    background: #961414 url(/bitrix/templates/primepres/css/../images/keyhole.svg) 18px 9px no-repeat;
    -webkit-background-size: 18px;
    background-size: 18px;
    text-decoration: none;
}
.section-events-title {
    color: #be3228;
}
.section-events-title a {
    color: #be3228;
}
.section-events-title a:hover {
    color: #961414;
}

.banner_container {
    text-align: center;
    padding: 30px 0;
}
.banner_container .banner {
    margin: 0 auto;
    display: inline-block;
    line-height: inherit;
}
.banner_container .banner.null {
    padding: 30px 50px;
    border: 1px dotted #bdbdbd;
    text-decoration: none;
    background: #f7f4ee;
}
.banner_top_right_en {
    float: right;
    margin-left: 50px;
    margin-bottom: 30px;
}
.block-analitics .title {
    font-size: 1.1rem;
}

.analitika_date {
    color: #464b4d;
}
.date {
    color: #464b4d;
}
.block-analitics.lenta_block .title span {
    color: #464b4d;
}

/* ===== СПИСОК НОВОСТЕЙ ===== */
div.news-list {
    word-wrap: break-word;
}
.news-date-time {
    color: #464b4d;
    letter-spacing: 0.02em;
}
.news-list .card-title,
.news-list .card-title a {
    font-size: 20px;
    line-height: 24px;
    font-family: "Merriweather", serif;
    margin-bottom: 9px;
    letter-spacing: 0.001em;
    color: #165f7c;
    padding: 5px 0px 3px 0px;
}
.card-text {
    color: #000;
    display: block;
    text-decoration: none;
    font-size: 0.875rem;
}
.news-detail-title,
.news-detail-title a {
    font-size: 20px;
    line-height: 24px;
    font-family: "Merriweather", serif;
    margin-bottom: 9px;
    letter-spacing: 0.001em;
    color: #165f7c;
}
.news-list-param,
.news-list-icon,
.news-list-value {
    visibility: hidden;
}
.news-detail-date {
    color: #464b4d;
    letter-spacing: 0.02em;
}

/* ===== ОБЩИЕ КНОПКИ ===== */
.btn,
input.btn,
input[type="submit"],
input[type="button"],
input[type="reset"] {
    display: inline-block;
    max-width: 100%;
    text-align: center;
    padding: 10px 22px;
    font-weight: 700;
    background-color: #165f7c;
    color: #FFF;
    border: 1px solid #165f7c;
    transition: 0.4s;
    -webkit-transition: 0.4s;
    -moz-transition: 0.4s;
    -ms-transition: 0.4s;
    -o-transition: 0.4s;
    cursor: pointer;
    vertical-align: top;
    outline: none;
}

/* ===== ДЕТАЛИ НОВОСТИ (дублирование удалено, оставлен один блок) ===== */
.news-detail-view,
.news-detail-comments,
.news-detail-author,
.news-detail-other {
    padding-bottom: 5px;
    color: #fff;
    white-space: nowrap;
    font-size: 13px;
}

.bx-newslist-other {
    visibility: hidden;
}

/* ===== КНОПКА В bx-newslist (уже оптимизирована) ===== */
.bx-newslist .btn {
    background-color: #165f7c;
    border: 1px solid #165f7c;
    padding: 4px 20px 5px;
    min-width: 141px;
    text-align: center;
    font-weight: 700;
    color: #fff;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}
.bx-newslist .btn:hover {
    background-color: #0e4a62;
    border-color: #0e4a62;
}

.new-date-time {
    color: #1f2426;
}

.btn-sm {
    padding: 5px 20px;
    text-align: center;
    font-weight: 700;
    background-color: #165f7c;
    color: #FFF;
    border: 1px solid #165f7c;
}
.bx-newslist-date {
    color: #464b4d;
}
.fa {
    color: #464b4d;
    padding-right: 3px;
}

/* ===== АДАПТИВНЫЕ ПРАВКИ ===== */
@media (min-width: 992px) {
    .col-md-4 {
        width: 100%;
    }
}
@media (max-width: 576px) {
    .col-sm {
        width: 100%;
    }
    .news-list {
        padding-left: 20px;
        padding-right: 20px;
    }
}
.bx-newslist-title a {
    font-size: 20px;
    line-height: 24px;
    font-family: "Merriweather", serif;
    margin-bottom: 9px;
    letter-spacing: 0.001em;
    color: #165f7c;
}
@media (max-width: 1140px) {
    #search .search-inner {
        width: 100%;
        margin: 5px;
    }
}
@media (max-width: 640px) {
    .news-detail-content {
        margin-bottom: 5px;
        font-size: 1rem;
    }
    img[align="right"] {
        float: right;
        margin: 7px 48px 10px 10px;
    }
    .card-text {
        color: #000;
        display: block;
        text-decoration: none;
        font-size: 1rem;
    }
}
@media (max-width: 428px) {
    img[align="right"] {
        float: right;
        margin: 7px 3px 10px 10px;
    }
}
@media (max-width: 384px) {
    img[align="right"] {
        float: right;
        margin: 7px 2px 10px 10px;
    }
}
@media (max-width: 320px) {
    img[align="right"] {
        float: right;
        margin: 7px 0px 10px 10px;
    }
} /* ← здесь была лишняя скобка – исправлено */

.news-list .card-title,
.news-list .card-title a {
    font-size: 22px;
}

.news-detail-content {
    margin-bottom: 5px;
    font-size: 1rem;
}
img[align="middle"] {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* ===== АДАПТИВ ДЛЯ ЦИТАТ ===== */
@media (max-width: 600px) {
    blockquote {
        padding: 1.2em 1.5em;
        margin: 1.5em 0;
    }
}
.card-text {
    color: #000;
    display: block;
    text-decoration: none;
    font-size: 16px;
	
}
.news-list .card-title,
.news-list .card-title a {
    font-size: 20px;
}