body {
    background: url("../images/bg-dark-linen.png") repeat fixed;
}

strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

input,
select {
    vertical-align: middle;
}

label {
    display: block;
    font-size: .9em;
    margin: .8em 0 .5em 0;
}

select {
    border: 1px solid #acacac;
    border-radius: 4px;
    padding: 3px 4px;
}

/*fieldset {*/
/*    border: 1px dotted #ccc;*/
/*    margin: 0 0 1.4615em;*/
/*    !*padding: 1.1em;*!*/
/*}*/

legend {
    font-weight: bold;
}

a {
    color: #0066aa;
    -webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    -o-transition: color .2s ease-in-out;
    -ms-transition: color .2s ease-in-out;
    text-decoration: none;
    transition: color .2s ease-in-out;
}

a:hover {
    color: #d54e21;
    text-decoration: none;
}

/* ================================= */
/* ========Layout========= */
.center {
    text-align: center;
}

.pagination.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination {
    margin-top: 15px;
    margin-bottom: 15px;
}

.top-header {

}

.container-content {
    padding-top: 5px;
}

/* ================================= */
/* ========Heroes List Overlay====== */
.list-grid .list-item,
.upcoming-grid .list-item {
    position: relative;
    padding: 0;
}

/* Блок с датой премьеры для фильмов */
.list-grid .list-item .item-premiere,
.upcoming-grid .list-item .item-premiere {
    position: absolute;
    /*top: 8px;*/
    /*left: 8px;*/
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: 600;
    z-index: 10;
    pointer-events: none;
}

/* Значок в нижнем левом углу */
.list-grid .list-item .item-badge-bottom,
.upcoming-grid .list-item .item-badge-bottom {
    top: auto;
    bottom: 0;
    /*left: 8px;*/
    text-align: left;
}

/* Значок поверх элемента */
.list-grid .list-item .item-badge,
.upcoming-grid .list-item .item-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 6px 10px;
    border-radius: 50%;
    font-size: 1.2em;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.list-grid .list-item .item-link,
.upcoming-grid .list-item .item-link {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 10px;
}

.list-grid .list-item .item-image,
.upcoming-grid .list-item .item-image {
    display: block;
    width: 165px;
    height: 220px;
    object-fit: cover;
    margin-bottom: 0;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.list-grid .list-item .item-link:hover .item-image,
.upcoming-grid .list-item .item-link:hover .item-image {
    transform: scale(1.05);
}

.list-grid .list-item .item-title,
.upcoming-grid .list-item .item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    color: #fff;
    padding: 2px 0 2px 0;
    text-align: center;
    pointer-events: none;
}

/* Заголовки под картинкой (list_item.html: .item-title-below) */
.list-grid .list-item .item-title.item-title-below,
.upcoming-grid .list-item .item-title.item-title-below {
    position: static;
    background: transparent;
    color: #333;
    pointer-events: auto;
    padding-top: 8px;
    max-width: 165px;
    margin: 0 auto;
    text-align: center;
}

/* Оригинальное имя (англ.) — чуть крупнее и жирнее */
.list-grid .list-item .item-title.item-title-below .item-title-main,
.upcoming-grid .list-item .item-title.item-title-below .item-title-main {
    margin-bottom: 4px;
    line-height: 1.25;
}

.list-grid .list-item .item-title.item-title-below .item-title-main .item-link,
.upcoming-grid .list-item .item-title.item-title-below .item-title-main .item-link {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    text-decoration: none;
    display: inline-block;
}

/* Русское название — вторичный текст */
.list-grid .list-item .item-title.item-title-below .item-title-rus,
.upcoming-grid .list-item .item-title.item-title-below .item-title-rus {
    line-height: 1.3;
}

.list-grid .list-item .item-title.item-title-below .item-title-rus .item-link,
.upcoming-grid .list-item .item-title.item-title-below .item-title-rus .item-link {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #555;
    text-decoration: none;
    display: inline-block;
}

/* Наведение только на ссылку заголовка (карточка не подсвечена) */
.list-grid .list-item:not(:hover) .item-title.item-title-below .item-title-main .item-link:hover,
.list-grid .list-item:not(:hover) .item-title.item-title-below .item-title-rus .item-link:hover,
.upcoming-grid .list-item:not(:hover) .item-title.item-title-below .item-title-main .item-link:hover,
.upcoming-grid .list-item:not(:hover) .item-title.item-title-below .item-title-rus .item-link:hover {
    color: #029fd6;
    text-decoration: underline;
}

/* Заголовок поверх картинки (без .item-title-below) */
.list-grid .list-item .item-title-main,
.upcoming-grid .list-item .item-title-main {
    font-size: 1.0em;
    margin-bottom: 3px;
    color: #fff;
    text-decoration: none;
}

.list-grid .list-item .item-title-rus,
.upcoming-grid .list-item .item-title-rus {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.list-grid .list-item:hover,
.upcoming-grid .list-item:hover {
    background: transparent;
}

.list-grid .list-item:hover .item-link,
.upcoming-grid .list-item:hover .item-link {
    opacity: 1;
}

/* ================================= */
/* ========Events List Overlay====== */
.events-grid .list-item {
    position: relative;
    padding: 0;
}

.events-grid .list-item .item-link {
    position: relative;
    display: block;
    text-decoration: none;
    overflow: hidden;
    border-radius: 10px;
}

.events-grid .list-item .item-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 0;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.events-grid .list-item .item-link:hover .item-image {
    transform: scale(1.05);
}

.events-grid .list-item .item-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    color: #fff;
    padding: 5px 5px 5px 5px;
    text-align: center;
    pointer-events: none;
}

.events-grid .list-item .item-title-main {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 3px;
    color: #fff;
    text-decoration: none;
}

.events-grid .list-item .item-title-rus {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.events-grid .list-item:hover {
    background: transparent;
}

.events-grid .list-item:hover .item-link {
    opacity: 1;
}

.events-grid .list-item .item-link:hover .item-title-main,
.events-grid .list-item .item-link:hover .item-title-rus {
    color: #fff;
    text-decoration: none;
}

.events-grid .list-item .item-description {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
    pointer-events: none;
    overflow-y: auto;
}

.events-grid .list-item .item-link:hover .item-description {
    opacity: 1;
}

.events-grid .list-item .item-link:hover .item-title {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.events-grid .list-item .item-description-text {
    font-size: 0.9em;
    line-height: 1.5;
    text-align: center;
    max-height: 100%;
    overflow-y: auto;
}


/*----->***********HEADERS*************/
#content h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6 {
    color: #000;
}

#content h1 a,
#content h2 a,
#content h3 a,
#content h4 a,
#content h5 a,
#content h6 a,
#content a h2 {
    color: #015577;
}

#content a h2:hover {
    color: #FFF;
}

#content h1 a:hover,
#content h2 a:hover,
#content h3 a:hover,
#content h4 a:hover,
#content h5 a:hover,
#content h6 a:hover,
#content a h2:hover {
    color: #029fd6;
}

.content h1,
.news-detail h1 {
    font: bold 32px/1 'Roboto', sans-serif;
    margin-bottom: 1.0rem;
    margin-top: 0.5rem;
}

.similar-news-section-title {
    font: bold 22px/1.2 'Roboto', sans-serif;
    color: #333;
    margin: 1.25rem 0 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #e8e8e8;
}

.similar_news .similar-news-section-title:first-child {
    margin-top: 0;
}

.similar_news h3 {
    padding-top: 10px;
}

.similar-news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 0.35rem;
    margin-top: 0.4rem;
    font-size: 13px;
    line-height: 1.35;
    color: #666;
}

.similar-news-meta-sep {
    color: #aaa;
    user-select: none;
}

.similar-news-more-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.similar-news-more-item {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.similar-news-more-item:last-child {
    border-bottom: none;
}

.similar-news-more-item > a {
    font-weight: 500;
}

/* Карточки «похожие»: полная ширина, оверлеи поверх картинки (перебивает 260px из responsive.css) */
.similar_news .similar-news-card.news-list .editorial-img,
.similar_news .similar-news-card.news-list .news-list-img {
    position: relative;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
}

.similar-news-card-byline {
    margin: 0.35rem 0 0;
    font-size: 13px;
    color: #666;
}

#similar-news-section.hidden {
    display: none;
}

#topic-news-section.hidden {
    display: none;
}

.movie-topic-news-skeleton {
    margin: 1.25rem 0 0.75rem;
}

.movie-topic-news-skeleton-title {
    height: 22px;
    max-width: 280px;
    border-radius: 4px;
    background: linear-gradient(90deg, #dedede 0%, #ececec 45%, #dedede 100%);
    background-size: 200% 100%;
    animation: movie-topic-news-shimmer 1.2s ease-in-out infinite;
    margin-bottom: 1rem;
}

.movie-topic-news-skeleton-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.movie-topic-news-skeleton-card {
    min-height: 180px;
    border-radius: 8px;
    background: linear-gradient(90deg, #e0e0e0 0%, #ebebeb 50%, #e0e0e0 100%);
    background-size: 200% 100%;
    animation: movie-topic-news-shimmer 1.2s ease-in-out infinite;
}

@media (max-width: 767px) {
    .movie-topic-news-skeleton-cards {
        grid-template-columns: 1fr;
    }
}

@keyframes movie-topic-news-shimmer {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

.similar-news-loading-text {
    margin: 0.75rem 0;
    font-size: 14px;
    color: #666;
}

.content h2 {
    font: bold 24px/1 'Roboto', sans-serif;
}

.content h3 {
    font: 22px/1 'Roboto', sans-serif;
}

.container {
    background-color: #FFFFFF;
}

.news-detail .editorial-byline .news-byline-views {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    vertical-align: middle;
}

.news-detail .editorial-byline .news-byline-views-icon {
    display: inline-block;
    vertical-align: middle;
}

/* Текст новости: вёрстка из редактора часто с width в px — не вылезать за колонку */
.news-detail img,
.news-detail video,
.news-detail picture img {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
}

.news-detail iframe,
.news-detail embed,
.news-detail object {
    max-width: 100%;
}

/* Таблицы: укладываются в колонку, перенос в ячейках вместо раздувания ширины */
.news-detail table {
    max-width: 100%;
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

.news-detail table th,
.news-detail table td {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Колонка Bootstrap / flex: min-width:0 нужен для сжатия flex-колонки; без overflow-x:auto — нет «ездящей» области на мобилке */
.news-detail {
    min-width: 0;
    overflow-x: hidden;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.news-detail pre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* News Section */
.news-list ul,
#post-content ul.list-item {
    padding: 0px;
    font-size: 16px;
}

.news-list-mobile .editorial-img {
    float: none;
}

ul.list-item {
    padding-left: 0;
}

/* News List End */

.taxonomy .links li a {
    /*background-color: #fff;*/
    padding: 2px 6px 1px;
    font-size: 14px;
}

.editorial .taxonomy,
#block-system-main ul.inline {
    word-wrap: break-word;
}

.editorial .taxonomy {
    margin-top: -10px;
}

ul.inline,
ul.links.inline {
    display: inline;
    padding-left: 0;
}

ul.inline li {
    display: inline;
    list-style-type: none;
    padding: 0 0.5em;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body.body-font-sans-serif p,
body.body-font-sans-serif li {
    line-height: 1.7em;
}


.icon-comments a, .icon-comments a:hover {
    color: #fff;
}

/***********NEWS LIST*******************/
.editorial-stats {
    display: block;
    position: absolute;
    width: auto;
    bottom: 10px;
    left: 5px;
}

.editorial-stats i {
    background: none repeat scroll 0 0 #000000;
    opacity: 0.8;
    border-radius: 30px;
    color: #FFFFFF;
    float: left;
    font-size: 12px;
    font-style: normal;
    line-height: 16px;
    margin: 0;
    padding: 1px 6px 0;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    width: auto;
}

.editorial-stats i:first-child {
    float: right;
}

/*comments*/


.editorial-stats-comments {
    display: block;
    position: absolute;
    width: auto;
    bottom: 10px;
    right: 5px;
}

.editorial-stats-views {
    display: block;
    position: absolute;
    width: auto;
    bottom: 10px;
    right: 46px;
}

.editorial-stats-comments i,
.editorial-stats-views i {
    background: none repeat scroll 0 0 #000000;
    opacity: 1;
    border-radius: 30px;
    color: #FFFFFF;
    float: left;
    font-size: 12px;
    font-style: normal;
    line-height: 16px;
    margin: 0;
    padding: 1px 6px 0;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    width: auto;
}

.editorial-stats-comments i:first-child {
    float: right;
}

/* Новости: бейджи как у .item-premiere — фикс. кегль 13.6px (= 0.85×16px), жёстко перебивает 12px и Bootstrap */
/*.node-news .editorial-img .editorial-stats,*/
/*.node-news .editorial-img .editorial-stats-comments,*/
/*.node-news .editorial-img .editorial-stats-views {*/
/*    z-index: 10;*/
/*    font-size: 13.6px !important;*/
/*}*/

.node-news .editorial-img .editorial-stats {
    bottom: 5px;
    left: 8px;
}

.node-news .editorial-img .editorial-stats-comments {
    bottom: 5px;
    right: 8px;
}

.node-news .editorial-img .editorial-stats-views {
    bottom: 5px;
    right: 58px;
}

.node-news .editorial-img .editorial-stats i,
.node-news .editorial-img .editorial-stats-comments i,
.node-news .editorial-img .editorial-stats-views i {
    float: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.75);
    opacity: 1;
    border-radius: 6px;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    /*font-size: 0.85em;*/
    font-weight: 600;
    font-style: normal;
    line-height: 1.25;
    margin: 0;
    padding: 6px 12px;
    text-shadow: none;
    text-transform: none;
    width: auto;
}

.node-news .editorial-img .editorial-stats-comments i img,
.node-news .editorial-img .editorial-stats-views i img {
    height: 12px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

.node-news .editorial-img .editorial-stats i:first-child,
.node-news .editorial-img .editorial-stats-comments i:first-child {
    float: none;
}

.node-news .editorial-img .editorial-stats i a,
.node-news .editorial-img .editorial-stats i a:hover,
.node-news .editorial-img .editorial-stats-comments a,
.node-news .editorial-img .editorial-stats-comments a:hover,
.node-news .editorial-img .editorial-stats-views a,
.node-news .editorial-img .editorial-stats-views a:hover {
    color: #fff;
    /*font-size: 0.85em;*/
    text-decoration: none;
}

/*content type label*/
.content-type-label {
    display: block;
    position: absolute;
    width: auto;
    top: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 3px;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: bold;
    line-height: 16px;
    padding: 2px 8px;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    z-index: 10;
}

.editorial .img {
    float: left;
    margin: 0 15px 0 0;
    position: relative;
}

.editorial .title, .editorial .editorial-title {
    clear: none;
    font-size: 21px;
    font-weight: 400;
    line-height: 25px;
    margin: 0;
}

.read-more-news {
    float: right;
}

.editorial li {
    list-style: none outside none;
}

.news-list {
    background-image: url("../images/bg-border-light.png");
    background-position: center bottom;
    background-repeat: repeat-x;
    padding: 10px 0 10px 0;
}

.similar_news .news-list {
    background-image: none;
}

.editorial .taxonomy {
    margin-top: -10px;
}

.editorial .taxonomy,
#block-system-main ul.inline {
    word-wrap: break-word;
}

/* News Section End */


/* Tags Section */
.tag-index-title {
    background: url("../images/bg_dot_black.png") repeat scroll 0 0 rgba(0, 0, 0, 0) /*none repeat scroll 0 0 #303030*/;
    height: 40px;
    overflow: hidden;
    padding: 5px 9px 0 15px;
    width: 95px;
    vertical-align: middle;
    float: left;
    font-size: 15px;
    color: #fff;
    line-height: 15px;
    text-align: center;
}

.block-tag-index img {
    width: 30px;
    height: 30px;
    margin: 3px 7px 3px 3px;
}

#newsgroupScroller {
    background: none repeat scroll 0 0 #012d41;
    height: 40px;
    margin: 0px;
    overflow: hidden;
    vertical-align: middle;
    /*width: 1055px;*/
    padding-left: 10px;
}

#newsgroupScroller a {
    padding-left: 3px;
}

/* Tags Section End */

/* Pagination */
.item-list {
    padding-top: 15px;
}

.item-list .pager {
    clear: both;
    text-align: center;
}

.item-list .pager li {
    background-image: none;
    display: inline;
    list-style-type: none;
    padding: 0.5em;
}

.pager-current {
    font-weight: bold;
}

.item-list .pager li {
    background: #cfcfcf;
    border-radius: 3px;
    margin-right: 4px;
}

/* Pagination Section End */

.container-wide {
    padding-left: 0;
    padding-right: 0;
}

.sidebar {
    padding-top: 10px;
}

/* Sidebar */
.sidebar h2 {
    -moz-border-radius-topleft: 24px;
    -webkit-border-top-left-radius: 24px;
    -moz-border-radius-bottomleft: 24px;
    -webkit-border-bottom-left-radius: 24px;
    border-radius: 24px 0 0 24px;
    /*margin-right: -10px;*/
    padding: 1px 0 3px 14px;
}

.sidebar h2,
.sidebar input[type="submit"],
.sidebar input[type="reset"],
.sidebar button {
    background: #0066aa;
    /* ie10 consumer preview */
    background-image: -ms-linear-gradient(bottom, #99CCFF 0%, #0066aa 100%);
    /* mozilla firefox */
    background-image: -moz-linear-gradient(bottom, #99CCFF 0%, #0066aa 100%);
    /* opera */
    background-image: -o-linear-gradient(bottom, #99CCFF 0%, #0066aa 100%);
    /* webkit (safari/chrome 10) */
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #99CCFF), color-stop(1, #0066aa));
    /* webkit (chrome 11+) */
    background-image: -webkit-linear-gradient(bottom, #99CCFF 0%, #0066aa 100%);
    /* w3c markup, ie10 release preview */
    background-image: linear-gradient(to left, #99CCFF 0%, #0066aa 100%);
    color: #fff;
    text-shadow: 1px 1px 1px #011723;
}

.sidebar td, th {
    padding: .0em;
}

.sidebar h2 {
    -moz-border-radius-topleft: 24px;
    -webkit-border-top-left-radius: 24px;
    -moz-border-radius-bottomleft: 24px;
    -webkit-border-bottom-left-radius: 24px;
    border-radius: 24px 0 0 24px;
    /*margin-right: -10px;*/
    padding: 1px 0 3px 14px;
}

.sidebar-left aside h2 {
    -moz-border-radius-topright: 24px;
    -webkit-border-top-right-radius: 24px;
    -moz-border-radius-bottomright: 24px;
    -webkit-border-bottom-right-radius: 24px;
    border-radius: 0 24px 24px 0;
    margin-left: -20px;
    padding: 2px 0 2px 10px;
}

/* Sidebar End */

/* Quotes */
/*Quotes*/
.block-quotes {
    background: url("../images/quote.png") no-repeat scroll 0 0 #DEDEDE;
    border: 1px solid #999999;
    border-radius: 5px;
    font-style: italic;
    margin: 5px 0;
    padding: 10px 12px 5px 47px;
    quotes: none;

    margin-left: auto;
    margin-right: auto;
}

/* Quotes end */

/* Onradar */

#pre_footer {
    overflow: hidden;
}

#block-views-on-radar-onradar .view-on-radar {
    /*margin-bottom: -45px;*/
    width: 1320px;
}

#block-views-on-radar-onradar .view-on-radar img {
    width: 163px;
    /*height: 186px;*/
}

#block-views-on-radar-onradar .view-on-radar .views-field-field-movies-premiere-us {
    background-position: 15px 5px;
}

#block-views-on-radar-onradar .header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: url("../images/bg_header.jpg") repeat-y scroll 0 0 #368bb0;
}

.upcoming-title {
    color: #fff;
    padding: 0 25px 0 10px;
    text-shadow: 1px 1px 3px #011723;
    margin: 0;
    flex: 1;
    font-size: 26px;
    line-height: 32px;
}

/*#block-views-on-radar-onradar .view-on-radar .field-content {*/
/*    font-size: 13px;*/
/*}*/

.view-all-csoon {
    padding: 8px 18px 8px 8px;
    color: #fff;
    text-shadow: 1px 1px 3px #011723;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.view-all-csoon a,
.color-palette-green-bamboo .view-all-csoon a:hover {
    color: #fff;
}

#block-views-flex-slider-view-block-1 .view-content,
#pre_footer .view-content {
    overflow-x: initial;
}

.preview-cat-img,
.editor-content_mobile img,
.editor-content_mobile .field-item .rtecenter img,
#comments-mobile .message-wrap img,
.news-detail_mobile img,
.forum-post-wrapper_mobile img {
    width: 100% !important;
    height: auto !important;
}

.view-content .views-view-grid td:hover {
    background: #0091bb;
    color: #fff !important;
}

.view-content .views-view-grid td:hover a {
    color: #fff !important;
}

.view-content td {
    text-align: center;
    vertical-align: top;
}

#block-views-on-radar-onradar .view-on-radar .views-field-field-movies-premiere-us {
    background-position: 15px 5px;
}

/*#block-views-on-radar-onradar .view-on-radar .field-content {*/
/*    font-size: 13px;*/
/*}*/

.view-content td {
    text-align: center;
    vertical-align: top;
}

.coming-soon-table {
    width: 100%;
}

/* Onradar end */

/****************MOVIES***********************/
.views-field-field-movies-premiere-us {
    background: #dedede url("../images/camera_icon.png") no-repeat;
    background-position: 25px 5px;;
    background-color: transparent;
}

.node-movies ul li {
    padding: 5px;
}

.node-movies .original-title,
.node-tv .original-title {
    font-size: 22px;
    color: #626262;
}

.views-field-field-movies-descr,
.views-field-field-events-inshort p,
.view-blogs .views-field-body {
    text-align: left;
}

.views-field-field-events-year {
    width: 50px;
}

/**************************************/

#colophon {
    -webkit-box-shadow: 0px 5px 17px rgba(50, 50, 50, 0.56);
    -moz-box-shadow: 0px 5px 17px rgba(50, 50, 50, 0.56);
    background: #3c3c3c;
    background: -moz-linear-gradient(90deg, rgb(57, 57, 57) 31%, rgb(86, 86, 86) 77%);
    background: -webkit-linear-gradient(90deg, rgb(57, 57, 57) 31%, rgb(86, 86, 86) 77%);
    background: -o-linear-gradient(90deg, rgb(57, 57, 57) 31%, rgb(86, 86, 86) 77%);
    background: -ms-linear-gradient(90deg, rgb(57, 57, 57) 31%, rgb(86, 86, 86) 77%);
    background: linear-gradient(90deg, rgb(57, 57, 57) 31%, rgb(86, 86, 86) 77%);
    /* box-shadow: 0px 5px 17px rgba(50, 50, 50, 0.56); */
    margin-bottom: 24px;
    padding-top: 5px;
    color: #C6C6C6;
    font-size: 16px;
    line-height: 15px;
    text-align: left;
}

#colophon .footer-area a {
    color: #C6C6C6;
    font-weight: normal;
}

#colophon .footer-area a:hover {
    text-decoration: underline;
    color: #029fd6;
}

.footer-area {
    float: left;
    list-style: none;
}

.footer-area .block > h2 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 0px 0px 0px 0px;
    text-transform: uppercase;
}

.footer-area .content {
    color: #bbb;
    line-height: 160%;
    margin: 0;
    padding: 7px 0px;
}

#copyright {
    background: #3e3742;
    padding: 25px 0px;
    text-align: center;
}

.credit {
    color: #eee;
}

/* Footer */
.container.footer {
    background-color: transparent;
}


footer#colophon h2,
footer#colophon {
    color: #eaeaea;
}

footer#colophon .block-inner:first-child,
#preface-wrapper .block-inner:first-child {
    /*padding-left: 14px;*/
}

footer#colophon .block-inner:last-child,
#preface-wrapper .block-inner:last-child {
    padding-right: 7px;
}

header.container {
    -moz-border-radius-topleft: 12px;
    -webkit-border-top-left-radius: 12px;
    -moz-border-radius-topright: 12px;
    -webkit-border-top-right-radius: 12px;
    border-radius: 12px 12px 0 0;
    margin-top: 0px;
    z-index: 100;
}

footer {
    -moz-border-radius-bottomright: 12px;
    -webkit-border-bottom-right-radius: 12px;
    -moz-border-radius-bottomleft: 12px;
    -webkit-border-bottom-left-radius: 12px;
    border-radius: 0 0 12px 12px;
    margin-bottom: 10px;
}

body.bg-dark-linen #colophon {
    background: -moz-linear-gradient(center top, #404040 0px, #151515 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);

}

body.bg-dark-linen #colophon p,
body.bg-dark-linen #colophon li,
body.bg-dark-linen #colophon div {
    color: #C6C6C6;
    margin-left: 5px;
}

/* End backgrounds */
.icon-comments a, .icon-comments a:hover {

    color: #fff;

}

body.bg-dark-linen #colophon {
    background: -moz-linear-gradient(center top, #404040 0px, #151515 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);

}

body.bg-dark-linen #colophon p,
body.bg-dark-linen #colophon li,
body.bg-dark-linen #colophon div {
    color: #C6C6C6;
    margin-left: 5px;
}

#block-menu-secondary-menu a,
#block-block-111 a,
.avatar-user-actions a,
#post_footer a {
    color: #07acdb;
}

#block-menu-secondary-menu a:hover,
#block-block-111 a:hover,
.avatar-user-actions a:hover,
#post_footer a:hover {
    color: #0091bb;
}

.icon-comments {
    color: #fff;
}

.rtecenter .caption {
    margin-left: auto;
    margin-right: auto;
}

#post_footer .block {

    margin-bottom: 0em;

}

div.age-rating {
    width: 60px;
    height: 32px;
    float: right;
    margin-top: -60px;
    margin-left: 20px;
    text-align: center;
    font-size: 18px;
    line-height: 32px;
    background-color: #3d3d3d;
    color: #fff;
}

/* Footer end */


/* HEROES START */
.item-characteristic {
    font-size: 16px;
}

.item-characteristic .field-list {
    font-weight: bold;
}

.item-characteristic p {
    margin: 2px 0;
}

.item-characteristic .field-name-field-hero-main-picture,
.item-characteristic .field-name-field-movies-picture,
.item-characteristic .field-name-field-game-picture,
.item-characteristic .field-name-field-comicshop-main-pic {
    float: left;
}

.item-characteristic img /*, .item-content img*/
{
    -moz-box-shadow: 5px 5px 5px #888;
    -webkit-box-shadow: 5px 10px 5px #888;
    box-shadow: 5px 5px 5px #888;
    margin-right: 15px;
}

.item-card,
.item-characteristic .item-fieldgroup {
    background-color: #f2f2f2; /*#f2f2f2 #FCFFCD #F4FFE8*/
    border-color: #ccc;
    margin-bottom: 14px;
}

/* HEROES END */

/* COMMENTS START */
/* Comments */

#comments {
    border: 2px solid #cecece;
    border-radius: 8px;
    clear: both;
    margin-top: 14px;
    padding: 5px;
}

.comment {
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: .2em;
    /*min-height: 150px;*/
    padding: 5px;
}

h3.comment-title a {
    color: #67696d;
    font-size: 16px;
    margin-bottom: 5px;
}

.comment .new {
    background: #e5e5e5;
    border-radius: 4px;
    color: #67c1c9;
    margin-left: 1em;
    padding: 3px 10px;
    text-transform: uppercase;
}

.comment .new:after {
    content: "\0020\0021";
}

.comment h3 {
    margin-bottom: .5em;
    margin-top: 0;
}

.form-textarea-wrapper textarea {
    border: 1px solid #acacac;
    border-radius: 3px;
}

.comment .submitted {
    border-radius: 4px;
    display: inline;
    padding: 3px;
    text-transform: capitalize;
    width: 100%;
}

.comment .user-picture {
    border: 1px solid #d9d9d9;
    float: left;
    margin-bottom: 7px;
    margin-right: 7px;
    padding: 4px;
}

.comment-new-comments {
    display: none;
}

.field-name-comment-body {
    margin-top: 10px;
}

li.comment_forbidden a {
    text-transform: uppercase;
}

.item-list .pager li {
    background: #cfcfcf;
    border-radius: 3px;
    margin-right: 4px;
}

.user-picture img {
    width: 70px;
}

.message {
    margin: 0 0 20px;
    position: relative;
}

.message:before, .message:after {
    content: "";
    display: table;
}

.message:after {
    clear: both;
}

@media (max-width: 767px) {
    .message {
        margin-bottom: 10px;
    }
}

.message.answer .message-inner {
    background: none repeat scroll 0 0 #E2F0DB;
}

.message-wrap {
    background: none repeat scroll 0 0 #DFE0E2;
    border-radius: 4px;
    margin-left: 80px;
    padding: 3px;
}

@media (max-width: 767px) {
    .message-wrap {
        margin-left: 0;
        padding: 0;
    }
}

.message-inner {
    background: none repeat scroll 0 0 #f6f5f4;
    border: 1px solid #D1D4D6;
    border-radius: 4px;
    padding: 10px 10px 0;
    position: relative;
}

@media (max-width: 767px) {
    .message-inner {
        padding: 5px 5px 0;
    }
}

@media (min-width: 768px) {
    .message-inner:after {
        border-bottom: 8px solid rgba(0, 0, 0, 0);
        border-right: 8px solid #f2f4f6;
        border-top: 8px solid rgba(0, 0, 0, 0);
        content: " ";
        left: -8px;
        position: absolute;
        top: 11px;
    }

    .message-inner:before {
        border-bottom: 10px solid rgba(0, 0, 0, 0);
        border-right: 10px solid #D1D4D6;
        border-top: 10px solid rgba(0, 0, 0, 0);
        content: " ";
        left: -10px;
        position: absolute;
        top: 9px;
    }
}

/* Комментарии: картинки в теле не шире блока (аватар в .user-picture не затрагивается) */
#comments .message-content img,
#comments .message-content video {
    max-width: 100% !important;
    height: auto !important;
    box-sizing: border-box;
}

#comments .message-content iframe {
    max-width: 100%;
}

.message-inner:hover .message-options {
    display: block;
}

.message-inner:hover .message-notification-line {
    display: none;
}

.message-inner .message-notification-line {
    font-size: 11px;
    line-height: 20px;
    position: absolute;
    right: 10px;
    top: 15px;
}

.message-inner .message-notification-line .bug {
    background-color: #E6E6E6;
    background-image: linear-gradient(#F5F5F5, rgba(230, 230, 230, 0));
    background-repeat: repeat-x;
    border: 1px solid #B0B0B0;
    border-radius: 2px;
    box-shadow: 0 1px 0 #FFFFFF inset, 0 1px 1px rgba(0, 0, 0, 0.1);
    color: #9DA1A4;
    float: right;
    font-size: 10px;
    font-weight: bold;
    line-height: 10px;
    margin: 0 5px 0 0;
    padding: 2px 4px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}


.avatar-circle {
    border-radius: 200px;
    display: inline-block;
    float: right;
    margin: 10px 0 20px 10px;
    position: relative;
    width: 75px;
}

.avatar-circle img {
    border-radius: 200px;
    vertical-align: top;
}

.avatar-circle:after {
    border-radius: 200px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5) inset;
    content: " ";
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.avatar-user {
    display: block;
    float: left;
    font-size: 12px;
    position: relative;
    width: 70px;
}

@media (max-width: 767px) {
    .avatar-user {
        display: none;
    }
}

.avatar-user:hover .avatar-user-actions {
    left: 100%;
    margin: 0 0 0 5px;
    opacity: 1;
}

.avatar-user .avatar {
    margin: 0 0 30px;
    width: 60px;
}

.avatar-user.banned .avatar:before {
    box-shadow: 0 0 0 6px #9C1616 inset;
}

.avatar-user-actions {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.9);
    border-radius: 4px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 2px 5px rgba(0, 0, 0, 0.25);
    color: #CCCCCC;
    left: -9999em;
    margin-left: -5px;
    opacity: 0;
    padding: 10px;
    position: absolute;
    top: 0;
    transition: opacity 0.25s ease 0s, margin 0.25s ease 0s;
    width: 220px;
    z-index: 5000010;
}

.avatar-user-actions:before, .avatar-user-actions:after {
    content: "";
    display: table;
}

.avatar-user-actions:after {
    clear: both;
}

.avatar-user-actions:before {
    border-bottom: 10px solid rgba(0, 0, 0, 0);
    border-right: 10px solid rgba(0, 0, 0, 0.9);
    border-top: 10px solid rgba(0, 0, 0, 0);
    content: " ";
    display: block;
    left: -10px;
    position: absolute;
    top: 11px;
}

.avatar-user-actions:after {
    content: " ";
    display: block;
    height: 100%;
    left: -30px;
    position: absolute;
    top: 0;
    width: 30px;
}

.avatar-user-actions dl {
}

.avatar-user-actions dl:before, .avatar-user-actions dl:after {
    content: "";
    display: table;
}

.avatar-user-actions dl:after {
    clear: both;
}

.avatar-user-info dt {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 2px;
    margin-left: 1px;
}

.avatar-user-info dt a {
    color: #EEEEEE;
}

.avatar-user-info dt a:hover {
    color: #FFFFFF;
}

.avatar-user-info dd {
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
}

.avatar-user-info img {
    display: inline-block;
    vertical-align: middle;
}

.avatar-user-info .date-registered {
    font-size: 12px;
}

.message-inner .new {
    float: right;
    color: #ff0000;
}

#edit-author--2 label {
    display: inline;
}

#comments .title {
    padding-bottom: 10px;
}

.user-picture img {
    border-radius: 4px;
}

/* COMMENTS END */

/**
 * Tables.
 */
table {
    width: 100%;
    /*
    color: #333;
    border-collapse: collapse;
    border-spacing: 0;
    */
}

td, th {
    /*
    border: 1px solid transparent;
    height: 30px;
    transition: all 0.2s;
    border: 1px dotted #ccc;
    */
    padding: .5em;
}

th {
    background: #DFDFDF;
    font-weight: bold;
}

td {
    background: #fafafa;
    text-align: left;
    font-size: .9em;
}

tr:nth-child(even) td {
    background: #f1f1f1;
}

tr:nth-child(odd) td {
    /*  background: #fefefe;*/
}

tr:nth-child(odd) td:hover,
tr:nth-child(even) td:hover {
    /*color: #fff;*/
}

tbody tr:not(.draggable):hover,
.forum-table tr:not(.draggable).even:hover,
.forum-table tr:not(.draggable).odd:hover {
    background: #666;
    /*  color: #fff !important;*/
}

tbody tr:hover {
    /*  background: #666;
      color: #fff !important;*/
}

tr:hover td {
    /*  background-color: transparent;*/
}

tbody tr td a:hover,
tbody tr:hover a {
    /*  color: #fff !important;*/
}

tbody tr.draggable td a:hover,
tbody tr.draggable:hover,
tbody tr.draggable:hover a {
    /*  color: #333 !important;*/
}

tr td ul.inline li {
    margin-bottom: 9px;
    display: block;
}

tr.odd .form-item,
tr.even .form-item {
    margin-bottom: 10px;
}

a.td-hovered {
    color: #fff !important;
}

tr td ul {
    margin: 0;
    padding: 0;
}

.view-content .views-view-grid td:hover {
    background: #0091bb;
    color: #fff !important;
}

/* Tables end */

.heroes-grid,
.list-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 8px;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hero-item,
.list-grid .list-item,
.upcoming-grid .list-item {
    text-align: center;
    padding: .5em;
}

.upcoming-grid .list-item {
    padding: 5px;
}


.upcoming-grid .list-item {
    width: 170px;
}

.list-item .item-image {
    width: 165px;
    height: 220px;
    margin-bottom: 5px;
}

.list-grid .list-item:hover,
.upcoming-grid .list-item:hover {
    background: #0091bb;
    color: #fff !important;
}

.list-grid .list-item:hover a,
.upcoming-grid .list-item:hover a {
    color: #fff !important;
}

.upcoming-grid {
    padding-left: 10px;
    padding-right: 10px;
}

/*--->******QUOTES**********/
blockquote,
q,
#comments blockquote,
#comments q {
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    background: #dedede url("../images/quote.png") no-repeat;
    font: 300 14px/1.2 "Roboto", arial, sans-serif;
    color: #000;
    margin: 10px 0;
    padding: 10px 12px 5px 47px;
    quotes: none;
    font-style: italic;
}

#content_footer blockquote,
#content_footer q,
#comments blockquote,
#comments q {
    border: 1px solid #999;
    border-radius: 5px;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

.node-heroes blockquote,
.node-heroes q {
    background: url("../images/quote_red.png") no-repeat;
    color: #b60731;
    content: open-quote;
    font: 300 16px/1.6 "Roboto", arial, sans-serif;
    left: 0;
    /*line-height: 0.7em;*/
    margin-left: 30px;
    top: 10px;
}

/*<---******QUOTES**********/

.rteright {
    text-align: right;
}

.rtecenter {
    text-align: center;
}

.rtecenter .content-image-link img {
    display: inline-block;
}

.item-card,
.item-characteristic .item-fieldgroup {
    background-color: #f2f2f2; /*#f2f2f2 #FCFFCD #F4FFE8*/
    border-color: #ccc;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 10px 10px;
    padding: 0.35em 0.625em 0.75em;
}

.node-main-picture img {
    /*border: 1px dotted #333;*/
    margin-bottom: 8px;
    padding: 8px;
    height: auto;
    width: 300px;
    float: left;
}

.links {
    color: #000;
    font-size: 16px;
}

.links li a {
    background-color: #ddd;
    border-radius: 4px;
    font-weight: normal;
    padding: 2px 10px 1px 10px;
    text-transform: capitalize;
}

.links li a:hover,
ul.pager li:hover {
    background-color: #999;
    color: #fff;
}

ul.pager li a:hover {
    color: #fff;
}

article.last {
    margin-bottom: 30px;
}

/** TOP **/
.region-hero-second {
    overflow: hidden;
}

.region-hero-second {
    background: url("../images/bg_dot_black.png") repeat scroll 0 0 rgba(0, 0, 0, 0);
    height: 100%;
    min-height: 110px;
    /*margin-bottom: 35px;*/

}

.region-hero-second div {
    padding-top: 3px;
}

/****/

/* HEADER */
.top-header {
    /*
height: 76px;
 width: 100%;

  background: -moz-linear-gradient(center top , #404040 0px, #151515 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
  box-shadow: 0px 0px 17px rgba(50, 50, 50, 0.56);
  */
    background: repeating-linear-gradient(#404040, #151515 100%) repeat scroll 0 0 rgba(0, 0, 0, 0);
    box-shadow: 0 0 3px #292929;
    border-bottom: 1px solid #292929;
    opacity: 1;
    width: 100%;
}

#head {
    background: transparent;
    padding-top: 12px;
    padding-bottom: 12px;
}

.top-header .row {
    min-height: 60px;
}

/* Логотип: по центру по высоте, отступ слева */
.top-header #logo-top {
    display: flex;
    align-items: center;
}

.top-header #logo-img {
    display: block;
    /*max-height: 50px;*/
    width: auto;
}

/* HEADER END */


/* SLIDER */
.swiper {
    width: 100%;
    height: 100%;

}

.swiper-slide {
    background-position: center;
    background-size: cover;
}

.swiper-slide img {
    display: block;
    width: 100%;
}

/* SLIDER END */


/*.container .row {*/
/*    display: flex;*/
/*    flex-wrap: nowrap;*/
/*}*/

.left-column {
    flex: 0 0 582px;
    width: 582px;
    max-width: 582px;
}

/* Главный слайдер слева: клик по всей области слайда; стрелки и пагинация поверх (выше z-index) */
.main-slider-slide {
    position: relative;
}

.main-slider-slide-link {
    position: relative;
    z-index: 1;
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.main-slider-slide-img {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    display: block;
}

.main-slider-slide-caption-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    width: 100%;
    height: 60px;
    background-color: #000;
    opacity: 0.5;
}

.main-slider-slide-caption-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    width: 100%;
    height: 60px;
    color: #fff;
    padding-left: 15px;
}

.main-slider-slide-title {
    font-size: 18px;
    font-weight: bold;
}

.main-slider-slide-subtitle {
    font-size: 17px;
}

.main-slider .swiper-button-next,
.main-slider .swiper-button-prev {
    z-index: 20;
}

.main-slider .swiper-pagination {
    z-index: 20;
}

.right-column {
    flex: 1;
    width: 100px;
    margin: 6px 7px 7px 0;
    padding: 0;
    background: url("../images/back_01.jpg") repeat scroll 0 0 rgba(0, 0, 0, 0);
}

#block-block-116 {
    height: 50px;

    width: 100%;
    font-size: 22px;
    color: #FFF;
    text-align: center;

}

.popular-today-block {
    margin-bottom: -1px;
    background: url("../images/bg_dot_black.png") repeat scroll 0 0 rgba(0, 0, 0, 0); /**/
}

.similar-heroes-slider {
    left: 30px;
    width: 800px;
}

.similar-heroes-slider .swiper-button-next {
    right: 20px
}

.popular-slider img,
.similar-heroes-slider img {
    border-radius: 50%;
    border: 2px solid #FFF;
    height: 140px;
    width: 140px;
}

/* Popular list styles */
.sidebar .block-popular .popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .block-popular .popular-item {
    margin-bottom: 8px;
}

.sidebar .block-popular .popular-item:last-child {
    margin-bottom: 0;
}

.sidebar .block-popular .popular-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #0066aa;
    transition: color 0.2s ease-in-out;
    /*padding: 4px;*/
    border-radius: 4px;
}

.sidebar .block-popular .popular-link:hover {
    color: #d54e21;
    background-color: rgba(0, 0, 0, 0.03);
}

.sidebar .block-popular img,
.sidebar .block-popular .popular-image {
    border-radius: 50%;
    border: 2px solid #565656;
    width: 86px;
    height: 86px;
    flex-shrink: 0;
    object-fit: cover;
}

.sidebar .block-popular .popular-title {
    flex: 1;
    line-height: 1.4;
}

.sidebar .block-author-materials > h2 {
    /*font-size: 19px;*/
    font-weight: 600;
    line-height: 1.25;
}

.sidebar .block-author-materials .block-popular .popular-title {
    font-size: 16px;
    line-height: 1.35;
}

.sidebar .block-author-materials .sidebar-author-materials-loading {
    margin: 0;
    font-size: 15px;
    color: #666;
}

.sidebar .block-author-materials .sidebar-author-materials-footer {
    margin: 10px 0 0;
    padding: 0 15px 0 0;
    font-size: 15px;
    text-align: right;
}

.sidebar .block-author-materials .sidebar-author-materials-footer a {
    color: #0066aa;
    text-decoration: none;
}

.sidebar .block-author-materials .sidebar-author-materials-footer a:hover {
    color: #d54e21;
    text-decoration: underline;
}

.similar-heroes-slider img {
    border: 2px solid #000;
}

.popular-slider .item-title,
.similar-heroes-slider .item-title {
    font-size: 17px;
    color: #FFF;
    text-align: center;
    margin-left: -15px;
    line-height: 1.15;
    margin-top: 5px;
}

.popular-slider .item-title a {
    color: #FFF;
}

.similar-heroes-slider .item-title {
    color: #000;
}

.pop-cont {
    padding: 25px 5px 0 20px;
}

.popular-slider .swiper-button-next,
.popular-slider .swiper-button-prev {
    top: 75px
}

.similar-heroes-slider .swiper-button-next,
.similar-heroes-slider .swiper-button-prev {
    top: 75px
}

.popular-slider .swiper-button-next {
    right: 36px;
}

.popular-top .popular-title {
    padding-top: 6px;
    font-size: 25px;
    font-weight: 400;
}

.swiper .swiper-pagination-bullet {
    height: 12px;
    width: 12px;
    background-color: #EDC05B;
}

/* SEARCH BOX */
.block-search {
    padding: 12px 0;
}

.search-form-wrap {
    position: relative;
    max-width: 320px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 24px;
    padding: 5px 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form:focus-within {
    border-color: #375a7f;
    box-shadow: 0 0 0 3px rgba(55, 90, 127, 0.15);
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    flex-shrink: 0;
}

.search-form:focus-within .search-icon {
    color: #375a7f;
}

#search-main {
    flex: 1;
    border: none;
    background: transparent;
    padding: 6px 0;
    font-size: 14px;
    color: #212529;
    outline: none;
}

#search-main::placeholder {
    color: #6c757d;
}

.search-btn {
    background: #375a7f;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

.search-btn:hover {
    background: #2c4764;
}

.search-btn:active {
    transform: scale(0.98);
}

.search_autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 6px;
    z-index: 1000;
}

.search_autocomplete_results {
    list-style: none;
    padding: 0;
    margin: 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
}

.search_autocomplete_results li {
    padding: 12px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.search_autocomplete_results li:last-child {
    border-bottom: none;
}

.search_autocomplete_results li:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

/* Индикатор загрузки поиска */
.search_autocomplete_results .search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    cursor: default;
}

.search_autocomplete_results .search-loading:hover {
    background: transparent;
}

.search-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-top-color: #375a7f;
    border-radius: 50%;
    animation: search-spin 0.7s linear infinite;
}

.search-loading-text {
    color: #6c757d;
    font-size: 14px;
}

@keyframes search-spin {
    to { transform: rotate(360deg); }
}

/* Результаты живого поиска */
.search_autocomplete_results .item_result a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.search_autocomplete_results .search_img {
    width: 50px;
    height: 65px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 4px;
}

.search_autocomplete_results .search_result_text {
    flex: 1;
    min-width: 0;
}

.search_autocomplete_results .search_title {
    font-weight: 600;
    margin-bottom: 2px;
}

.search_autocomplete_results .search_title_eng {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 4px;
}

.search_autocomplete_results .search-add {
    display: block;
    font-size: 0.8em;
    color: #888;
}

.search_autocomplete_results .item_category a {
    display: block;
}

.search_autocomplete_results .item_category .search_title {
    margin: 0;
}

.search_autocomplete_results .item_empty .search_title {
    color: #888;
    font-weight: normal;
}

/* Адаптивность поиска */
@media (max-width: 768px) {
    .search-form-wrap {
        max-width: 100%;
    }

    .search-form {
        padding: 6px 12px;
    }

    #search-main {
        font-size: 16px; /* предотвращает zoom на iOS */
    }
}

/* SEARCH BOX END */

.sidebar .block h2 {
    padding: 7px 0 7px 15px;
    font-weight: 400;
}

.sidebar .block {
    padding-bottom: 40px;
}

.sidebar .block .block-content {
    padding-left: 15px;
}

.node-content blockquote,
.node-content q {
    color: #b60731;
    content: open-quote;
    font: 300 16px/1.6 "Roboto", arial, sans-serif;
    left: 0;
    /*line-height: 0.7em;*/
    margin-left: 30px;
    top: 10px;
    border-left: 4px solid #e74c3c;
    padding-left: 60px;
    background: #f9f9f9 url("../images/quote.png") no-repeat;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    background-position: 10px 5px;
}

.breadcrumb .separator {
    margin: 0 0.3em;
}

/* ================================= */
/* ========Article Meta Info======== */
.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    padding: 12px 0;
    /*font-size: 14px;*/
    color: #666;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.meta-item:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -14px;
    color: #ccc;
    font-weight: bold;
}

.meta-label {
    font-weight: 600;
    color: #555;
}

.meta-value {
    color: #777;
}

/* Адаптивность для article-meta: тот же размер шрифта и одна строка (без переноса блоков) */
@media (max-width: 768px) {
    .article-meta {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        gap: 8px 16px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .meta-item {
        flex-shrink: 0;
        white-space: nowrap;
    }
}

/* ================================= */
/* ========Author Tooltip=========== */
.author-link {
    position: relative;
    display: inline-block;
    color: #0066aa;
    cursor: pointer;
    transition: color .2s ease-in-out;
}

.author-link:hover {
    color: #d54e21;
}

.author-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    bottom: 100%;
    left: 0;
    transform: translateY(-10px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    min-width: 280px;
    max-width: 90vw;
    transition: all 0.3s ease;
    pointer-events: none;
    margin-bottom: 10px;
}

.author-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 30px;
    transform: translateX(0);
    border: 8px solid transparent;
    border-top-color: #764ba2;
}

.author-link:hover .author-tooltip,
.author-tooltip:hover {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.tooltip-header {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tooltip-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tooltip-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tooltip-header strong {
    font-size: 16px;
    font-weight: 600;
}

.tooltip-content {
    padding: 16px;
}

.tooltip-content p {
    margin: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tooltip-content p:first-child {
    margin-top: 0;
}

.tooltip-content p:last-child {
    margin-bottom: 0;
}

.tooltip-label {
    font-weight: 500;
    margin-right: 8px;
    opacity: 0.9;
}

.tooltip-footer {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 0 0 12px 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.tooltip-profile-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.tooltip-profile-link:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Адаптивность для tooltip */
@media (max-width: 768px) {
    .author-tooltip {
        min-width: 240px;
        font-size: 13px;
    }

    .tooltip-avatar {
        width: 50px;
        height: 50px;
    }

    .tooltip-header strong {
        font-size: 14px;
    }

    .tooltip-content p {
        font-size: 12px;
    }

    .tooltip-profile-link {
        font-size: 13px;
        padding: 7px 16px;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .author-tooltip {
        min-width: 220px;
        max-width: 85vw;
        font-size: 12px;
    }

    .tooltip-header {
        padding: 12px;
        gap: 8px;
    }

    .tooltip-avatar {
        width: 45px;
        height: 45px;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }

    .tooltip-header strong {
        font-size: 13px;
    }

    .tooltip-content {
        padding: 12px;
    }

    .tooltip-content p {
        font-size: 11px;
        margin: 6px 0;
    }

    .tooltip-footer {
        padding: 10px 12px;
    }

    .tooltip-profile-link {
        font-size: 12px;
        padding: 6px 14px;
    }

    .tooltip-label {
        margin-right: 6px;
    }

    .author-tooltip::after {
        left: 25px;
        border: 6px solid transparent;
        border-top-color: #764ba2;
    }
}

.block-top .block-content {
    background-color: rgba(255, 240, 170, 0.9);
    border-radius: 20px;
    padding: 10px;
}

/* ===== GLOSSARY AJAX FILTER STYLES ===== */

.glossary-letter {
    cursor: pointer;
    transition: color 0.3s ease, font-weight 0.2s ease;
    text-decoration: none;
}

.glossary-letter:hover {
    color: #c00;
    text-decoration: underline;
}

.glossary-letter.active {
    font-weight: bold;
    color: #c00;
}

.list-grid {
    transition: opacity 0.3s ease;
}

.list-grid[style*="opacity: 0.5"] {
    cursor: wait;
}

/* Стили для индикатора загрузки */
.view-content.loading {
    position: relative;
    min-height: 200px;
}

.view-content.loading::after {
    content: "Загрузка...";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: #666;
}

.item-game-platforms {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #ddd; /* Если нужна линия */
}

/* PhotoSwipe Content Image Links */
.content-image-link {
    /*display: inline-block;*/
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

.content-image-link:hover {
    opacity: 0.85;
}

.content-image-link img {
    display: block;
    border: 0;
}

/* Убираем стандартный outline при фокусе */
.content-image-link:focus {
    outline: 2px solid #0066aa;
    outline-offset: 2px;
}

/* Node Gallery Styles */
.node-gallery {
    margin: 2rem 0;
}

.node-gallery .similar-news-section-title,
.node-trailers .similar-news-section-title {
    margin-bottom: 1.1rem;
}

/* Трейлеры: HTML из БД часто содержит iframe с фиксированной шириной — не давать выходить за экран */
.node-trailers {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

.node-trailers p {
    max-width: 100%;
    box-sizing: border-box;
}

.node-trailers iframe,
.node-trailers embed,
.node-trailers object {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
    margin-left: auto;
    margin-right: auto;
    border: 0;
}

.node-gallery > div {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.node-gallery .content-image-link {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.node-gallery .content-image-link:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.node-gallery .content-image-link img {
    width: 100%;
    /*height: 200px;*/
    object-fit: cover;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .node-gallery > div {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.75rem;
    }

    .node-gallery .content-image-link img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .node-gallery > div {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .node-gallery .content-image-link img {
        height: 120px;
    }
}

h2.node-subtitle {
    color: #626262;
}

.indented {
    margin-left: 20px;
}

/* Quotes List Styles */
.quotes-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.quotes-list .quotes-container {
    max-width: 100%;
}

.quote-item {
    background: #f9f9f9;
    border-left: 4px solid #e74c3c;
    padding: 20px 30px;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quote-text {
    font-size: 1.1em;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 15px 0;
    color: #333;
}

.quote-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 1em;
    color: #666;
}

.quote-author {
    font-weight: bold;
    font-style: normal;
}

.quote-author a {
    color: #e74c3c;
    text-decoration: none;
}

.quote-author a:hover {
    text-decoration: underline;
}

.quote-citation {
    font-size: 1em;
    color: #635d5d;
}

/* Authors Grid Styles */
.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.author-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.author-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.author-name {
    font-size: 1.2em;
    margin: 0 0 10px 0;
}

.author-name a {
    color: #333;
    text-decoration: none;
}

.author-name a:hover {
    color: #e74c3c;
}

.author-stats {
    color: #666;
    font-size: 0.9em;
}

.quotes-count {
    display: inline-block;
    padding: 4px 8px;
    background: #f0f0f0;
    border-radius: 4px;
}

/* Responsive */
@media (max-width: 768px) {
    .quotes-container {
        padding: 10px;
    }

    .quote-item {
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    .authors-grid {
        grid-template-columns: 1fr;
    }
}

/* Quotes List Styles */
.quotes-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.quote-item {
    background: #f9f9f9;
    border-left: 4px solid #e74c3c;
    padding: 20px 30px;
    margin-bottom: 30px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.quote-text {
    font-size: 1.1em;
    line-height: 1.6;
    font-style: italic;
    margin: 0 0 15px 0;
    color: #333;
}

.quote-footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9em;
    color: #666;
}

.quote-author {
    font-weight: bold;
    font-style: normal;
}

.quote-author a {
    color: #e74c3c;
    text-decoration: none;
}

.quote-author a:hover {
    text-decoration: underline;
}

.quote-citation {
    font-size: 0.85em;
    color: #999;
}

/* Authors Scrollable List Styles */
.authors-scrollable {
    max-height: 600px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.authors-scrollable::-webkit-scrollbar {
    width: 10px;
}

.authors-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.authors-scrollable::-webkit-scrollbar-thumb {
    background: #c0c0c0;
    border-radius: 10px;
}

.authors-scrollable::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}

.author-item {
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.author-item:last-child {
    border-bottom: none;
}

.author-link {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    color: #333;
    text-decoration: none;
    padding: 10px 12px;
    transition: background-color 0.2s;
}

.author-link:hover {
    background-color: #f8f8f8;
}

.author-link:hover .author-name {
    color: #e74c3c;
}

.author-name {
    font-weight: 500;
    transition: color 0.2s;
    flex: 1;
}

.author-count {
    color: #999;
    font-size: 0.9em;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .quotes-container {
        padding: 10px;
    }

    .quote-item {
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    .authors-scrollable {
        max-height: 500px;
        padding: 5px;
    }

    .author-link {
        padding: 8px 10px;
    }
}

/* LAST COMMENTS */
.last-comments-container a {
    color: #C6C6C6;
}

.last-comments-container a:hover {
    text-decoration: underline;
    color: #029fd6;
}

.last-comments-container h2 {
    font-size: 24px;
    margin-top: 10px;
}

.last-comments-container .item-list {
    padding-top: 0;
}

.last-comments-container ul {
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.7em;
    font-weight: normal;
}

.more-link {
    text-align: right;
}

.footer-menu li {
    border-left: 1px solid #C6C6C6;
    color: #C6C6C6;
    display: inline-block;
    padding: 0 8px;
    width: auto;
}

.footer-menu {
    font-size: 20px;
    padding-top: 25px;
}

.footer-copyright {
    font-size: 16px;
    line-height: normal;
    padding-top: 25px;
    padding-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 12px;
    padding-top: 15px;
    padding-left: 15px;
    align-items: center;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: #fff;
    transition: opacity 0.2s, transform 0.2s;
}

.footer-social-link:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.footer-social-link.vk {
    background: #0077FF;
}

.footer-social-link.youtube {
    background: #FF0000;
}

.footer-social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* NODE ACTIONS */
.node-actions {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.action-link {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    background: none;
    cursor: pointer;
    font-family: inherit;
}
.action-link.view {
    color: #007bff;
    border-color: #007bff;
}
.action-link.view:hover {
    background-color: #007bff;
    color: white;
}
.action-link.edit {
    color: #28a745;
    border-color: #28a745;
}
.action-link.edit:hover {
    background-color: #28a745;
    color: white;
}
.action-link.unpublish {
    color: #ffc107;
    border-color: #ffc107;
}
.action-link.unpublish:hover {
    background-color: #ffc107;
    color: #212529;
}
.action-link.galleries {
    color: #9954bb;
    border-color: #9954bb;
}
.action-link.galleries:hover {
    background-color: #9954bb;
    color: #212529;
}
.action-link.delete {
    color: #dc3545;
    border-color: #dc3545;
}
.action-link.delete:hover {
    background-color: #dc3545;
    color: white;
}


.node-delete-confirm {
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
}

.delete-warning {
    background-color: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 2rem;
}

.delete-warning h2 {
    color: #856404;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.item-info {
    background-color: white;
    padding: 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.item-info h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #333;
}

.item-info .subtitle {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

.item-image {
    text-align: center;
    /*margin-top: 1rem;*/
}

.item-image img {
    max-width: 200px;
    height: auto;
    border-radius: 4px;
}

.warning-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.warning-message p {
    margin: 0.5rem 0;
    color: #721c24;
}

.warning-message strong {
    font-size: 1.1rem;
}

.delete-form {
    margin-top: 1.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-danger {
    background-color: #dc3545;
    color: white;
}

.btn-danger:hover {
    background-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

/* Заголовок аккордеона «Параметры страницы»: две колонки (название / краткая сводка) в долях ширины, без float/fixed-padding */
.node-edit-settings-accordion-heading {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
    column-gap: 0.75rem;
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 0.5rem;
    text-align: left;
}

.node-edit-settings-accordion-heading-title {
    min-width: 0;
}

.node-edit-settings-accordion-heading-meta {
    color: #6c757d;
    font-size: 0.875rem;
    text-align: right;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.node-edit-settings-accordion-heading-meta input[type="checkbox"] {
    pointer-events: none;
    vertical-align: middle;
    margin: 0 0.2rem 0 0;
}

@media (max-width: 576px) {
    .node-edit-settings-accordion-heading {
        grid-template-columns: 1fr;
        row-gap: 0.25rem;
    }

    .node-edit-settings-accordion-heading-meta {
        text-align: left;
    }
}

.node-edit {
    max-width: 900px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.form-group .required {
    color: red;
}

.form-control {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

textarea.form-control {
    font-family: inherit;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.messages.error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

.messages.error h3 {
    margin-top: 0;
}

.messages.error ul {
    margin-bottom: 0;
}

#random-quote-section {
    margin-top: 25px;
}

#breadcrumbs {
    margin-top: 10px;
}

.user-menu-toggle .bg-danger,
.user-dropdown-menu .bg-danger {
    border-radius: 10px;
    background-color: #d54e21!important;
}


.article-title {
    margin-bottom: 1.0rem;
    /*padding: 0.8rem 0;*/
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #df691a;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    /*box-shadow: 0 4px 12px rgba(223, 105, 26, 0.4);*/
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #c55a16;
    transform: translateY(-2px);
    /*box-shadow: 0 6px 16px rgba(223, 105, 26, 0.5);*/
}

.back-to-top:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .back-to-top {
        display: none;
    }
}

/* Режим обслуживания: компактная полоска для модераторов без админ-панели */
.maintenance-mode-compact-strip {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2147483646;
    box-sizing: border-box;
    min-height: 48px;
    padding: 10px 16px;
    font-size: 14px;
    line-height: 1.45;
    color: #1a1a1a;
    background: linear-gradient(90deg, #d4a017, #e8c547);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.maintenance-mode-compact-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: center;
    align-items: center;
}

.maintenance-mode-compact-label {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.maintenance-mode-compact-text {
    flex: 1 1 240px;
    max-width: 100%;
    text-align: center;
}

.maintenance-mode-compact-text p:last-child {
    margin-bottom: 0;
}

body.has-maintenance-compact-strip {
    padding-top: 56px;
}

.top-header--offset-admin {
    margin-top: 56px;
}

.top-header--offset-maintenance-compact {
    margin-top: 56px;
}