/*!
Theme Name: LogosPresTheme
Author: 'Mihail Carataev'
Version: 0.0.1
*/

:root {
    --color-bg: #FFF9F4; /* Основной цвет фона */
    --color-primary: #111;
    --color-decorative: #E16A37;
    --color-font: #363635;
    --color-grey: #666;
    --color-yellow: #FFD966;
    --text-text-active: #FF8800;
    --color-font-black: #333333;
    --color-font-white: #fff9f4;
    
    --color-block-dark: #5E5E5E;
    --color-border: #E5DFD6;
    --color-secondary-text: #949291;
    --color-urgent: #FF0000;
    --color-fresh: #FFA64D;
    
    --font-primary: "IBM Plex Sans", sans-serif;
    --font-secondary: "IBM Plex Serif", sans-serif;
}
#progress-bar {
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background-color: var(--color-yellow);
}
.admin-bar #progress-bar {
    top: 0;
}
body {
    min-height: 100vh;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    background-color: var(--color-bg);
}
body.admin-bar {
    min-height: calc(100vh - 32px);
}
hr {
    border: none;
    border-bottom: 1px solid #e5dfd6;
    margin: 0;
}
a {
    transition: .2s;
}
a:hover {
    cursor: pointer;
    color: var(--text-text-active) !important;
}

.limited-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--lines, 3);
    overflow: hidden;
}
  

.container.small,
.container {
    padding: 0 20px;
    box-sizing: border-box;
}

@media (min-width: 1300px) {
    .container {
        margin: 0 auto;
        width: 100%;
        max-width: 1288px;
        box-sizing: content-box;
    }
}
@media (min-width: 845px) {
    .container.small {
        margin: 0 auto;
        width: 100%;
        max-width: 850px;
        box-sizing: content-box;
    }
}


/* uikit */
.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 40px;
    max-width: fit-content;
    white-space: nowrap;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.3;
    color: var(--color-font);
    border-radius: 8px;
    border: 1px solid var(--color-grey);
    transition: .4s;
}
.btn:hover {
    cursor: pointer;
}

.btn.small-button {
    padding: 8px 16px;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    color: var(--color-font-white);
    background-color: var(--color-primary);
    border: none;
}
.btn.small-button:hover {
    background-color: var(--color-grey);
}
.btn.small-button.active {
    background-color: var(--color-grey);
}

.btn.text-button {
    padding: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.2;
    color: var(--color-grey);
    border: none;
}
.btn.text-button:hover {
    text-decoration: underline;
}

.btn-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background-color: #E5DFD6;
    transition: .4s;
}
.btn-icon svg {
    display: block;
    height: 16px;
    width: 16px;
}
.btn-icon:hover {
    background-color: var(--color-yellow);
}

.btn-icon-simple {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: 30px;
}
.btn-icon-simple:hover {
    cursor: pointer;
}
.btn-icon-simple svg {
    display: block;
    height: 16px;
    width: 16px;
    transition: .4s;
}
.btn-icon-simple:hover svg {
    opacity: .4;
}
.btn-default {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 40px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    text-align: center;
    color: var(--color-font);
    border-radius: 8px;
    border: 1px solid #666;
    transition: .4s;
}
.btn-default:hover {
    cursor: pointer;
    color: #fff !important;
    background-color: #666;
    border: 1px solid #666;
}
.btn-black__wrap {
    max-width: 190px;
    margin: 0 auto;
}
.btn-black {
    font-family: var(--font-secondary);
    color: #fff;
    font-size: 14px;
    line-height: 120%;
    padding: 16px 52px;
    background-color: #111;
    border: 1px solid #111;
}
.btn-black:hover {
    color: #111 !important;
    cursor: pointer;
    opacity: .7;
    background: transparent;
}

/* END uikit i*/

/* selector lang */
.language-trigger {
    position: relative;
    cursor: pointer;
    padding: 5px 10px;
    user-select: none;
}

.current-language {
    font-size: 16px;
    font-weight: 500;
    color: #ccc;
    text-decoration: none;
}

.language-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff; 
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 100px;
    z-index: 1000;
}

.language-option {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.language-option:hover {
    background-color: #f5f5f5;
    color: #007bff;
}

.language-option:active {
    background-color: #e9ecef;
}
/* END selector lang */

/* menu */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 1000;
    padding: 20px;
    transition: .4s;
}
.admin-bar .sidebar-menu {
    top: 30px;
}

.sidebar-menu.active {
    left: 0;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-list li {
    padding: 16px 0;
    border-bottom: 1px solid #ddd;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-list .menu-arrow-wrapp,
.menu-list a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-font);
}
.menu-button-arrow {
    margin: -7px 0;
    height: 30px;
    max-width: 30px;
    min-width: 30px;
    border-radius: 50%;
    background-color: #5E5E5E;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .4s;
}
.menu-list .menu-button-arrow:hover {
    cursor: pointer;
    color: var(--color-decorative);
}
.menu-list .menu-button-arrow svg {
    transform: rotate(180deg);
}
.menu-list .menu-button-arrow path {
    fill: #fff;
}
/* Стрелочка для подменю */
.arrow {
    cursor: default;
    font-size: 12px;
}
.submenu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: right 0.3s ease-in-out;
    z-index: 1010;
    overflow-y: auto;
    padding: 16px;
}
.admin-bar .submenu {
    top: 30px;
}

.submenu.active {
    left: 0;
}

.back-btn {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: left !important;
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    border-bottom: 1px solid #838383 !important;
}
.back-btn svg {
    transform: rotate(0deg) !important;
}
.mobile {
    display: block;
}

@media (min-width: 768px) {
    .mobile {
        display: none;
    }
    .menu-close {
        display: none;
    }
    .menu-list li {
        padding: 24px 0;
    }
    .sidebar-menu {
        width: 320px;
        left: -320px;
    }

    .sidebar-menu.active {
        left: 0;
        z-index: 999;
    }

    .submenu {
        width: 320px;
        left: -320px;
    }

    .submenu.active {
        left: 0;
    }
}
/* END menu */

/* ads style */
.ads-block-banners {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #666;
}
.ads-block-banners a {
    height: 100%;
    width: 100%;
}
.ads-block-banners img {
    max-width: 100%; /* Убрано calc(100% + 40px) для предотвращения переполнения */
    width: 100%;
    height: auto;
    display: block;
    padding: 0;
}

.ads-billboard {
    box-sizing: content-box;
    width: 100%;
    height: auto;
    margin: 45px -20px;
}

.ads-half-page,
.ads-small {
    width: 100%;
    height: auto;
}

.placeholder {
    background-color: #d3d3d3;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ads-block-banners img.mobile-only {
    display: none;
}
.ads-block-banners img.desktop-only {
    display: block;
}

@media (min-width: 950px) {
    .ads-block-banners {
        padding-bottom: 56px;
    }
    .ads-billboard {
        max-width: 970px;
        height: 250px;
        margin: 0 auto;
    }
    .ads-half-page {
        max-width: 300px;
        height: 600px;
    }
    .ads-small {
        max-width: 300px;
        height: 250px;
    }
}

@media (max-width: 949px) {
    .ads-block-banners img.mobile-only {
        display: block;
    }
    .ads-block-banners img.desktop-only {
        display: none;
    }
    .ads-billboard {
        margin: 20px 0;
    }
    .ads-half-page,
    .ads-small {
        max-width: 100%;
        height: auto;
    }
}
/* END ads style */



/* exchange block */
.exchandge-wrapper table {
    width: 100%;
}
.exchandge-wrapper tr {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #C5C3C3;
    width: 100%;
}
.exchandge-wrapper tr:last-child {
    border: none;
}
.exchandge-wrapper td{
    display: flex;
    align-items: center;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    color: var(--color-font);
}
/* END exchange block */


/*slider*/
.swiper-news__wrap .swiper-navigation-wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding: 0 10px;
}

.swiper-news__wrap .swiper-button-prev,
.swiper-news__wrap .swiper-button-next {
    position: relative;
    width: 40px;
    height: 40px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}
.swiper-news__wrap .swiper-button-prev {left: -10px;}
.swiper-news__wrap .swiper-button-next {right: -10px;}
.swiper-news__wrap .swiper-button-prev:after,
.swiper-news__wrap .swiper-button-next:after {
    display: none;
}
.swiper-news__wrap .swiper-button-prev .icon,
.swiper-news__wrap .swiper-button-next .icon {
    width: 16px;
    height: 16px;
    fill: var(--color-font);
    transition: fill 0.3s ease;
}
.swiper-news__wrap .swiper-button-prev {
    transform: rotate(180deg);
}

.swiper-news__wrap .swiper-button-next {
    transform: rotate(0deg);
}
.swiper-news__wrap .swiper-button-prev:hover,
.swiper-news__wrap .swiper-button-next:hover {
    background: var(--color-yellow);
    border-color: var(--color-yellow);
}
.swiper-news__wrap .swiper-button-prev:hover .icon,
.swiper-news__wrap .swiper-button-next:hover .icon {
    fill: var(--color-font-white);
}
.swiper-news__wrap .swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--color-bg);
    border-color: var(--color-border);
}
.swiper-news__wrap .swiper-button-disabled .icon {
    fill: var(--color-grey);
}
@media (min-width: 768px) {
    .swiper-news__wrap .swiper-navigation-wrap {
        margin-top: 20px;
        padding: 0 20px;
    }
    .swiper-news__wrap .swiper-button-prev,
    .swiper-news__wrap .swiper-button-next {
        width: 48px;
        height: 48px;
    }
    .swiper-news__wrap .swiper-button-prev .icon,
    .swiper-news__wrap .swiper-button-next .icon {
        width: 20px;
        height: 20px;
    }
}
@media (min-width: 1024px) {
    .swiper-news__wrap .swiper-navigation-wrap {
        margin-top: 24px;
        padding: 0 30px;
    }

    .swiper-news__wrap .swiper-button-prev,
    .swiper-news__wrap .swiper-button-next {
        width: 56px;
        height: 56px;
    }

    .swiper-news__wrap .swiper-button-prev .icon,
    .swiper-news__wrap .swiper-button-next .icon {
        width: 24px;
        height: 24px;
    }
}
.swiper-news__wrap .swiper-pagination-news {
    position: relative;
    margin-top: -23px;
    text-align: center;
}

.swiper-news__wrap .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: var(--color-grey);
    opacity: 1;
    margin: 0 4px;
    border-radius: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.swiper-news__wrap .swiper-pagination-bullet-active {
    width: 20px;
    background: var(--color-yellow);
    border-radius: 4px;
}
.swiper-news__wrap .swiper-pagination-bullet:hover {
    background: var(--color-fresh);
}
.swiper-news__wrap .swiper-pagination-bullet:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-yellow);
}

@media (min-width: 768px) {
    .swiper-news__wrap .swiper-pagination-news {
        margin-top: 16px;
    }

    .swiper-news__wrap .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 6px;
    }

    .swiper-news__wrap .swiper-pagination-bullet-active {
        width: 24px;
    }
}

@media (min-width: 1024px) {
    .swiper-news__wrap .swiper-pagination-news {
        margin-top: 20px;
    }

    .swiper-news__wrap .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        margin: 0 8px;
    }

    .swiper-news__wrap .swiper-pagination-bullet-active {
        width: 28px;
    }
}
/*End slider*/

/* header */
.topbar {
    display: block;
    padding: 7px 0;
    background-color: #3c3c3c;
}

.header {
    margin: 0 0 24px;
    background-color: #fff;
}
.header__logo,
.menu-category,
.header__wrapper {
    display: none;
}

.logo-custom {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}
.logo-custom p {
    position: relative;
    z-index: 50;
    width: 100%;
    text-align: center;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 17px;
    line-height: 130%;
    text-align: center;
    color: #333;
    background-color: var(--color-bg);
}
.logo-custom p:after {
    content: '';
    position: absolute;
    z-index: 40;
    top: 50%;
    left: 0;
    height: 1px;
    background-color: #E5DFD6;
    width: calc(50% - 130px);
}
.logo-custom p:before {
    content: '';
    position: absolute;
    z-index: 40;
    top: 50%;
    right: 0;
    height: 1px;
    background-color: #E5DFD6;
    width: calc(50% - 130px);
}

.header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}
.menu-category {
    display: none;
}

.buttons-wrapper {
    display: flex;
    gap: 5px;
}
.header__relative {
    display: block;
}
.header__relative.hidden {
    display: none;
}
.searchform {
    display: none;
}
.searchform.showed {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    max-width: 840px;
    padding: 9px;
    background-color: #fff;
}
.searchform__field {
    display: flex;
    align-items: center;
    background-color: #fff;
    width: 100%;
    justify-content: space-between;
}
.searchform__field input {
    width: 100%;
}
.searchform button {
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
}
.searchform svg {
    height: 16px;
    width: 16px;
}
.copy-link:hover {
    cursor: pointer;
    opacity: .6;
}
.copy-message {
    position: absolute;
    left: 55px;
    top: 13px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
@media (min-width: 1100px) {
    .topbar {
        display: block;
        padding: 9px 0;
        background-color: #fff;
    }
    .topbar__wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .current-language {
        font-weight: 500;
        font-size: 14px;
        line-height: 120%;
        color: var(--color-grey);
        opacity: .8;
    }
    .topbar__right {
        display: flex;
        align-items: center;
        gap: 40px;
    }
    .header__wrapper {
        /*background-color: ;*/
    }
}

@media (min-width: 950px) {
    .header__logo {
        display: flex;
        justify-content: center;
        padding: 24px 0 0;
    }
}

@media (min-width: 650px) {
    .header {
        background-color: var(--color-bg);
    }
    .header__wrapper {
        padding: 24px 0;
    }
    .buttons-wrapper {
        gap: 24px;
    }
    .logo--mob {
        display: none;
    }
    .searchform.showed {
        margin: 0 30px;
    }
    .menu-category {
        position: relative;
        display: flex;
        transition: .4s;
    }
    .menu-category ul {
        display: flex;
        position: relative;
        top: 0;
        left: 0;
        height: 40px;
        gap: 25px 40px;
        flex-wrap: wrap;
        padding: 10px 20px;
        background-color: #fff9f5;
        transition: .4s;
    }
    .menu-category ul a {
        display: block;
        font-family: var(--font-primary);
        font-weight: 600;
        font-size: 14px;
        line-height: 150%;
        text-transform: uppercase;
        color: var(--color-font);
    }
    .menu-category ul .current a {
        color: var(--color-decorative);
    }
    .searchform svg {
        height: 24px;
        width: 24px;
    }
}
/* END header */

/* article header */
.article-header {
    padding: 25px 0 0;
}

.breadcrumbs__wrapper {
    width: 100%;
    overflow-x: hidden;
}
.breadcrumbs {
    display: flex;
    gap: 5px;
    align-items: flex-start;
    overflow-x: auto;
    padding: 0 0 10px;
    margin: 0 0 20px;
}

.breadcrumbs {
    position: relative;
    display: flex;
    gap: 5px;
    align-items: flex-start;
    overflow-x: auto;
    padding: 0 0 10px;
    margin: 0 0 20px;
}
.breadcrumbs::-webkit-scrollbar {
    height: 3px;
    width: 70px;
}
.breadcrumbs::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.breadcrumbs::-webkit-scrollbar-thumb {
    background: #FFD966;
    border-radius: 4px;
}
.breadcrumbs::-webkit-scrollbar-thumb:hover {
    background: #c1a03f;
}
.breadcrumbs .breadcrumbs__separator,
.breadcrumbs * {
    font-family: var(--font-primary);
    white-space: nowrap;
    font-weight: 400;
    font-size: 13px;
    line-height: 1.3;
    color: #94918F;
}
.article-header h1 {
    margin: 0 0 16px;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 28px;
    line-height: 1.3;
    color: var(--color-font-black);
}
.article-header__description {
    margin: 0 0 16px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-font-black);
}

.article-header__meta {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 24px;
    flex-direction: column;
}
.article-header__meta span {
    display: inline-block;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 13px;
    line-height: 130%;
    color: #999693;
}
.article-header__meta span.seporator {
    display: none;
}
.article-header__print {
    display: none;
}

/* vip caledar */
.calendar__list {
    padding: 0;
}
.calendar__list li {
    display: flex;
    gap: 20px;
    padding-left: 0 !important;
}
.calendar__list li:last-child {
    margin: 0 !important;
}
.calendar__list li:before {
    display: none;
}
.calendar__list span {
    font-weight: 600;
    white-space: nowrap;
}
.article-content .calendar__list p {
    margin: 0;
}
.article-content a {
    color: var(--color-decorative);
}
.article-content a:hover {
    cursor: pointer;
    text-decoration: underline;
}

/* END vip caledar */

.anchor-to-top {
    position: fixed;
    display: flex;
    scale: 0;
    justify-content: center;
    align-items: center;
    height: 35px;
    width: 35px;
    bottom: 30px;
    padding: 5px;
    right: 30px;
    z-index: 9999;
    border-radius: 50%;
    background-color: #ffd967;
    transition: .3s;
    filter: drop-shadow(2px 2px 2px #d0d0d0);
}
.anchor-to-top.show {
    scale: 1;
}
.anchor-to-top svg {
    height: 100%;
    width: 100%;
    transition: .3s;
    transform: rotate(180deg);
}
.anchor-to-top:hover,
.anchor-to-top:hover rect {
    opacity: .9;
    fill: #000 !important;
    color: #000 !important;
    cursor: pointer;
}

@media (min-width: 860px) {
    .anchor-to-top {
        height: 45px;
        width: 45px;
    }
    .article-header__meta span.seporator {
        display: block;
        height: 3px;
        width: 3px;
        background-color: #999693;
        border-radius: 50%;
    }
    .article-header__meta {
        position: relative;
        align-items: center;
        flex-direction: row;
    }
    #progress-bar {
        top: 0;
    }
    .admin-bar #progress-bar {
        top: 30px;
    }
    .btn-icon-simple svg {
        height: 24px;
        width: 24px;
    }
    .article-header {
        padding: 0;
    }
}

@media (min-width: 1100px) {
    
    .article-header__print {
        position: absolute;
        right: 0;
        top: -7px;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 30px;
        width: 30px;
    }
    .article-header__print svg {
        height: 24px;
        width: 24px;
    }
}

/* END article header */
.sharebar {
    display: none;
}

@media (min-width: 1100px) {
    .sharebar {
        position: sticky;
        top: 25px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin: 0 auto 60px;
        padding: 8px;
        max-width: fit-content;
        max-height: 295px;
        border: 1px solid #C5C3C3;
    }
    .sharebar hr {
        background: #C5C3C3;
    }
    .sharebar a {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sharebar a:first-child {
        padding-bottom: 16px;
        border-bottom: 1px solid #C5C3C3;
    }
    .sharebar a:hover svg {
        opacity: .7;
    }
    .sharebar svg {
        height: 20px;
        width: 20px;
    }
    .sharebar__list-link-alert {
        display: none;
    }
}

/* sharebar */



/* article content */

.article-content .wp-caption {
    margin: 0 0 16px;
    max-width: 100%;
}
.article-content img > :first-child,
.article-content .wp-caption img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}
.wp-caption p.wp-caption-text {
    margin: 10px 0 0;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 13px;
    line-height: 130%;
    color: #949291;
}
.article-content p {
    margin: 0 0 25px;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: var(--color-primary);
}

.article-content ul {
    margin: 0 0 25px;
    padding: 0;
}

.article-content ol {
    margin: 0 0 25px;
    padding: 0;
    list-style-type: none;
    counter-reset: list-counter;
}

.article-content ol li,
.article-content ul li {
    margin: 0 0 15px;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: var(--color-primary);
    list-style-type: none;
    position: relative;
    padding-left: 28px;
}

.article-content ol li {
    counter-increment: list-counter;
}

.article-content ol li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0;
    top: 14px;
    transform: translateY(-50%);
    color: var(--color-yellow);
    font-size: 18px;
    font-weight: 600;
    line-height: 150%;
}

.article-content ul li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 14px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: var(--color-yellow);
    border-radius: 50%;
}
.article-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-family: var(--font-primary), sans-serif;
    color: var(--color-font);
    background-color: var(--color-bg);
    margin: 0.5rem 0;
    border: 0.5px solid var(--color-border);
}

.article-content table td {
    padding: 0.5rem;
    border: 0.5px solid var(--color-border);
}
.article-content table th,
.article-content table td,
.article-content table td p{
    margin: 0;
    text-align: left;
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-primary);
    list-style-type: none;
    position: relative;
}

.article-content table th {
    background-color: var(--color-block-dark);
    color: var(--color-font-white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.article-content table tr:nth-child(odd) {
    background-color: var(--color-bg);
}

.article-content table tr:nth-child(even) {
    background-color: var(--color-border);
}

.article-content table tr:hover {
    background-color: var(--color-yellow);
    transition: background-color 0.3s ease;
}

.article-content table td.urgent {
    color: var(--color-urgent);
    font-weight: 500;
}

.article-content table td.fresh {
    color: var(--color-fresh);
    font-weight: 500;
}

@media (min-width: 769px) {
    .article-content table {
        display: table;
        margin: 1rem 0;
    }

    .article-content table th,
    .article-content table td {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .article-content ol li,
    .article-content ul li {
        padding-left: 32px;
        font-size: 20px;
    }

    .article-content ul li::before {
        left: 8px;
        width: 6px;
        height: 6px;
    }
}

.article-content blockquote {
    position: relative;
    padding: 120px 16px 16px;
    margin: 0 0 25px;
    border-radius: 2px;
    background-color: #fff;
}
.article-content blockquote:before {
    content: '“';
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 128px;
    line-height: 100%;
    color: var(--text-text-active);
}
blockquote p:last-child {
    margin: 0;
}
@media (min-width: 650px){
    .article-content{
        margin: 0 0 56px;
    }
    .article-columns:first-child {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    
}

@media (min-width: 900px){
    .article-columns {
        display: grid;
        grid-template-columns: 1fr 300px;
        width: 100%;
        gap: 15px;
    }
    .article-content {
        padding-right: 15px;
        border-right: 1px solid #e5dfd6;
    }
    .article-content p {
        font-size: 20px;
    }
    .article-content blockquote {
        padding: 16px 120px;
        margin: 0 0 25px;
    }
    .article-content blockquote:after,
    .article-content blockquote:before {
        content: '“';
        position: absolute;
        top: 16px;
        left: 16px;
        font-family: var(--font-secondary);
        font-weight: 500;
        font-size: 128px;
        line-height: 100%;
        color: var(--text-text-active);
    }
    .article-content blockquote:after {
        content: '”';
        left: auto;
        right: 16px;
    }
}

@media (min-width: 1100px){
    .article-columns:first-child,
    .article-columns {
        display: grid;
        width: 100%;
        gap: 15px;
        grid-template-columns:  92px 1fr 300px;
    }
}

/* END article content */


/* pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 15px 0;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    text-decoration: none;
    color: #333;
    background-color: transparent;
    border: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.page-numbers.current {
    background-color: #333;
    color: #fff;
}

.page-numbers:hover,
.page-numbers:focus {
    background-color: #e0e0e0;
    color: #333;
}

.page-numbers.dots {
    background: none;
    color: #333;
}

.page-numbers.next,
.page-numbers.prev {
    background: none;
    font-size: 16px;
}

.page-numbers.next::before,
.page-numbers.prev::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>') no-repeat center;
    background-size: contain;
}

.page-numbers.next::before {
    transform: rotate(180deg);
}

.page-numbers.next,
.page-numbers.prev {
    min-width: 48px;
    height: 32px;
    font-size: 0;
    background-color: #E5DFD6;
    border-radius: 5px;
}

@media (min-width: 768px) {
    .pagination {
        gap: 10px;
        font-size: 16px;
    }

    .page-numbers {
        min-width: 36px;
        height: 36px;
    }

    .page-numbers.next::before,
    .page-numbers.prev::before {
        width: 24px;
        height: 24px;
    }
}

@media (min-width: 1024px) {

    .page-numbers.next,
    .page-numbers.prev {
        min-width: 40px;
        height: 40px;
        font-size: 0;
        border-radius: 50%;
    }

    .pagination {
        gap: 12px;
    }

    .page-numbers {
        min-width: 40px;
        height: 40px;
    }
}
/* END pagination */










/* footer */
.footer__topbar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: start;
    padding: 0 0 16px;
    margin: 0 0 16px;
    border-bottom: 1px solid #E5DFD6;
}
.footer__topbar > svg {
    height: 56px;
    min-width: 56px;
}
.footer__topbar-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 16px 0 0;
    margin: 16px 0 0;
    gap: 10px;
    width: 100%;
    border-top: 1px solid var(--color-primary);
}
}
.footer__menus {
    display: flex;
    flex-direction: column;
}
.footer__menu__title {
    display: flex;
    justify-content: space-between;
}
.footer__menu__title h3 {
    margin: 0 0 16px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    line-height: .9;
    text-transform: uppercase;
    color: var(--color-font-black);
}
.footer__menu__title i {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 16px;
    width: 16px;
    display: block;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNNSA2IDAgMSAuNy4zIDUgNC42IDkuMy4zbC43LjctNSA1eiIgZmlsbD0iIzExMSIvPjwvc3ZnPg==");
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: 10px;
    transition: .4s;
}
.active .footer__menu__title i {
    transform: rotate(180deg);
}
.footer__menu ul {
    display: none;
    padding: 0 0 24px;
    margin: 0;
}
.active.footer__menu ul {
    display: block;
}
.footer__menu li > a {
    display: block;
    margin: 0 0 16px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: var(--color-font);
}
.footer__menu li:last-child > a {
    margin: 0;
}

.footer__bottom {
    display: flex;
    flex-direction: column-reverse;
}
.footer__bottom > div, 
.footer__bottom > ul {
    border-top: 1px solid #E5DFD6;
    padding: 16px 0;
}
.footer__bottom .copyright {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    line-height: 130%;
    color: var(--color-primary);
}
.footer__bottom .description {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: #949291;
}
.footer__bottom li {
    margin: 0 0 24px;
}
.footer__bottom li:last-child {
    margin: 0;
}
.footer__bottom li a {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3;
    color: var(--color-font-black);
}

@media (min-width: 600px) {
    .footer__topbar-wrapper {
        justify-content: end;
        gap: 10px;
    }
    .footer__topbar {
        flex-direction: row;
        gap: 24px;
    }
    .footer__topbar-wrapper {
        margin-top: 0;
    }
}

@media (min-width: 950px) {
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
        padding: 16px 0;
        width: 100%;
        /*border-top: 1px solid #E5DFD6;*/
    }
    .description {
        max-width: 520px;
    }
    .footer__bottom > div, 
    .footer__bottom > ul {
        border: none;
        padding: 0;
    }
    .footer__bottom ul li {
        margin: 0 0 10px;
    }
}

@media (min-width: 1100px) {
    .footer__menus {
        flex-direction: row;
        justify-content: space-between;
        gap: 30px;
        padding: 0 55px 40px;
    }
    .footer__menu__title i {
        display: none;
    }
    .footer__menu ul {
        display: block;
    }
}

@media (min-width: 1200px) {
    .footer__bottom ul li {
        margin: 0;
    }
    .footer__bottom ul {
        display: flex;
        gap: 30px;
    }
}
/* END footer */

/* форма обратной связи */
.contact-form-wrapper {
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
}

.contact-form-wrapper h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.contact-form-wrapper p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #555;
}

.wpcf7 {
    position: relative;
}

.wpcf7-form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 14px;
    transition: 0.3s;
}

.wpcf7-form-control:focus {
    border-color: #d69e6b;
    box-shadow: 0 0 5px rgba(214, 158, 107, 0.5);
}

.wpcf7-submit {
    background: #d69e6b;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.wpcf7-submit:hover {
    background: #c78a5f;
}

.wpcf7-spinner {
    display: none;
}

.wpcf7-form.submitting .wpcf7-submit {
    pointer-events: none;
    opacity: 0.7;
}

.wpcf7-form.submitting .wpcf7-spinner {
    display: inline-block;
}

.form-response {
    display: none;
    text-align: center;
    margin-top: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 14px;
}

.form-response.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-response.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* END форма обратной связи */


/* newspaper banner */
.banner-newspaper {
    padding: 24px 16px 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--color-yellow);
}
.banner-newspaper__title {
    margin: 0 0 8px;
    font-family: var(--font-secondary);
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    color: var(--color-font);
}
.banner-newspaper__description {
    margin: 0 0 40px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: var(--color-font);
}
.banner-newspaper img {
    margin: 32px 0 -50px;
    width: 100%;
    height: auto;
}
/* END newspaper banner */



.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 0 35px;
}



/* newscard */
.newscard {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid #E5DFD6;
    align-items: flex-start;
}
.newscard img {
    display: block;
    background-color: #666;
    height: 85px;
    width: 110px;
    object-fit: cover;
}
.newscard__title {
    margin: 0 0 8px;
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    color: #333; 
}
.newscard__description {
    display: none;
}
.newscard__meta {
    display: flex;
    gap: 8px;
}
.newscard__meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 13px;
    line-height: 130%;
    color: #333;
    opacity: .5;
}
.newscard__meta span::after {
    content: '';
    display: block;
    height: 3px;
    width: 3px;
    border-radius: 50%;
    background-color: #333;
}
.newscard__meta span:last-child:after {
    display: none;
}

@media (min-width: 600px) {
    .author-page {
        margin: 0 0 64px;
    }
    .author-page__header {
        display: flex;
        justify-content: space-between;
        gap: 32px;
    }
    .author-page h1 {
        font-size: 28px;
    }
    .newscard__title {
        font-size: 24px;
    }
    .newscard__description {
        display: block;
        margin: 0 0 16px;
        font-family: var(--font-primary);
        font-weight: 400;
        font-size: 16px;
        line-height: 130%;
        color: #333;
    }
    .newscard__title a,
    .newscard__description p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .newscard__meta {
        display: flex;
    }
    .newscard img {
        height: 150px;
        width: 220px;
    }
}

/* END newscard */






/* print style */
@media print {
    html .header__wrapper {
        display: none !important;
    }
    html .header__logo {
        display: block !important;
        margin: 0 auto !important;
    }
    html img {
        float: left;
        max-width: 800px;
        margin-right: 30px;
    }
    html .sharebar {
        display: none !important;
    }
    html .article-columns {
        grid-template-columns: 1fr !important;
    }
    html .footer__topbar {
        border-bottom: none !important;
    }
    html .border-top,
    html .footer__menus,
    html .subscribe-section {
        display: none !important;
    }
    html .article-content {
        border: none !important;
        padding: 0 !important;
    }
    html .footer__menus {
        display: none !important;
    }
}
/* END print style */



/* contacts form style */
.contact-form-wrapper {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.5;
}

.form-field {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-field:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.3);
}

.wpcf7-not-valid-tip {
    display: none; /* Скрываем стандартный tooltip CF7 для валидации */
}

.form-field.wpcf7-not-valid {
    border-color: #dc3232 !important; /* Красная обводка для некорректных полей */
    background-color: #ffebeb !important; /* Лёгкий розовый фон для некорректных полей */
}

.form-field.wpcf7-not-valid:focus {
    box-shadow: 0 0 5px rgba(220, 50, 50, 0.3); /* Тень для некорректных полей при фокусе */
}

.required-field {
    color: #dc3232; /* Звёздочка для обязательных полей */
    margin-left: 5px;
}

.acceptance-1 {
    margin: 10px 0;
    font-size: 14px;
    color: #666;
}

.acceptance-1 input[type="checkbox"] {
    margin-right: 5px;
}

.acceptance-1.wpcf7-not-valid + .wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 12px;
    margin-top: 5px;
}

.submit-btn {
    width: 100%;
    padding: 12px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover:not(.submitting) {
    background: #333;
}

.submit-btn.submitting {
    background: #666 !important;
    cursor: not-allowed !important;
    position: relative;
}

.submit-btn.submitting::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-top: 3px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* END contacts form style */