.seo-block {
    padding: 20px;
    border: 1px solid #D9D9D9;
    border-radius: 10px;
}

.tag-button-news {
    font-family: 'Commissioner';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

h2 {
    font-family: 'Comme', sans-serif;
    /* Keep every h2 consistent, including headings with Bootstrap size/weight utilities. */
    font-weight: 600 !important;
    font-size: 14px !important;
    text-transform: uppercase;
    color: #111111;
    border-bottom: 2px solid #f50969;
    padding-bottom: 5px;
    display: inline-block;
}

/* Dark Theme */
.dark-mode {
    background-color: #111111 !important;
    color: #ffffff !important;
}

.dark-mode .footer {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
    color: #f0f0f0 !important;
}

.dark-mode .sub-header {
    background-color: #656565 !important;
    border-color: #444 !important;
    color: #f0f0f0 !important;
}

.dark-mode .header-icon-vision,
.dark-mode .header-icon-theme,
.dark-mode .header-icon-search {
    filter: invert(1) brightness(2);
}

.dark-mode .navbar-light .navbar-nav .nav-link,
.dark-mode .navbar-light .navbar-nav .nav-link:focus,
.dark-mode .navbar-light .navbar-nav .nav-link:hover {
    color: #f0f0f0 !important;
}

.dark-mode .h3, .dark-mode a.h3, .dark-mode h2, .dark-mode h1,
.dark-mode .news-title a {
    color: #ffffff !important;
}

.dark-mode a {
    color: #ffffff !important;
}

.dark-mode .tag-button {
    color: #aaa !important;
}

.dark-mode .article-body {
    color: #fff !important;
}

.dark-mode .news-item, .dark-mode .video-item, .dark-mode .card {
    background-color: #111111 !important;
    border-color: #444 !important;
    color: #f0f0f0 !important;
}

.dark-mode .photo-of-day-card .carousel-inner,
.dark-mode .photo-of-day-card .carousel-item {
    background-color: #111111 !important;
    border-color: #444 !important;
    color: #f0f0f0 !important;
}

.dark-mode .photo-of-day-card__description,
.dark-mode .photo-of-day-card__author {
    color: #fff;
}

.dark-mode .news-item .title, .dark-mode .video-item .title, .dark-mode .card .card-title {
    color: #ffffff !important;
}

.dark-mode .news-item .description, .dark-mode .card .card-text {
    color: #cccccc !important;
}

.dark-mode .custom-breadcrumbs {
    color: #fff !important;
}

.dark-mode .nominations li {
    color: #fff !important;
}

.dark-mode .nominations .nominations-title {
    color: #fff !important;
}

.dark-mode .about-highlight {
    color: #fff !important;
}

.vacancy-card__title {
    border-bottom: none;
}

.dark-mode .radio-frequency-list strong {
    color: #fff;
    font-weight: 500;
}

.dark-mode .radio-frequency-list span {
    color: #656565;
}

.dark-mode .radio-contacts h5,
.dark-mode .press-room-contacts h5,
.dark-mode .newspaper-contacts-list h5 {
    color: #fff;
}

.dark-mode .contact-card a {
    font-family: 'Commissioner', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #656565 !important;
    margin-bottom: 0;
}

.dark-mode .dostoyanie-gubernii-page__navigation-link:hover,
.dark-mode .dostoyanie-gubernii-page__navigation-link:focus,
.dark-mode .dostoyanie-gubernii-page__navigation-link.active {
    border-color: #656565;
    background-color: #656565;
    color: #656565;
    text-decoration: none;
}

.dark-mode blockquote {
    color: #fff;
}

/* Разрешаем горизонтальный скролл, включаем плавный свайп и скрываем скроллбар */
.tag-scroll-container {
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Плавный свайп (инерция) на iOS и Android */
    -ms-overflow-style: none; /* IE и Edge */
    scrollbar-width: none; /* Firefox */
}

/* Скрываем стандартный скроллбар в WebKit (Chrome, Safari, Opera) */
.tag-scroll-container::-webkit-scrollbar {
    display: none;
}

/* Стили для кнопок прокрутки */
.tag-scroll-btn {
    height: calc(100% - 8px);
    width: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.article-body img {
    max-width: 100%;
}