/**
Theme Name: E-Museum
Author: Torus
Author URI: https://torus.kz
Description: e-museum theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: e-museum
Template: astra
*/

header.elementor.elementor-location-header {
    position: absolute;
	position: fixed;
  top: 0;
  width: 100%;
}
header.nav-light-bg>div {
    background: #fff;
}
header .main-none {
	visibility: hidden;
	/*transition: all 0.4s ease;*/
}
header.nav-light-bg .main-none {
	visibility: visible;
}
header search.e-search {
    max-width: 230px;
    margin-left: auto;
}
header {
  transition: transform 0.5s ease;
  z-index: 1000;
}
/* Навигация показывается */
header.nav-down {
  transform: translateY(0);
}

/* Навигация скрывается вверх */
header.nav-up {
  transform: translateY(-100%);
}
.ex-img {
    height: 280px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    border-radius: 15px;
}
.ex-img img {
	width: 100%;
}
svg.e-font-icon-svg.e-eicon-chevron-left {
    fill: #920923 !important;
}
svg.e-font-icon-svg.e-eicon-chevron-right {
    fill: #920923 !important;
}
.news-img {
    height: 195px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-direction: column;
    border-radius: 15px;
}
.title-name {
    color: #A18363;
    font-size: 22px;
    font-weight: 700;
}
.lh14{
	line-height: 1.4;
}

.periods {
    color: #A18363;
    font-size: 20px;
}


.catalog-filter {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    /*flex-wrap: wrap;*/
}

.catalog-filter input,
.catalog-filter select {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
}

.catalog-filter input {
    flex: 1;
    min-width: 200px;
}

.catalog-filter select {
    min-width: 180px;
}

.catalog-filter button {
    padding: 12px 30px;
    background: #8B1538;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.exhibits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.exhibit-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
	margin-bottom: 35px;
}

.exhibit-card:hover {
    transform: translateY(-5px);
}

.exhibit-card img {
    width: 100%;
    height: 200px !important;
    object-fit: cover;
    border-radius: 15px !important;
    margin-bottom: 15px;
}

.exhibit-info {
    
}

.exhibit-info h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #A18363;
    line-height: 1.2;
}

.exhibit-museum {
    display: block;
    font-size: 14px;
    color: #334155;
    line-height: 1.3;
}

.catalog-pagination {
    margin-top: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.results-count {
    color: #666;
    font-size: 14px;
}

.load-more {
    padding: 14px 40px;
    background: #8B1538;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
}

.load-more:hover {
    background: #7c0a2c;
}

.load-more:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #666;
}

/* Select2 стили под каталог */
.select2-container {
    min-width: 200px;
}

.select2-container--default .select2-selection--single {
    height: 42px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px !important;
    padding-left: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    padding: 8px 12px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 4px !important;
}

.select2-results__option--highlighted {
    background-color: #3b82f6 !important;
}


/* Контейнер превью */
.carousel-thumbs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0px;
    padding: 15px;
	padding-top: 0px;
}

/* Каждое превью */
.carousel-thumbs .thumb-item {
    width: 100px;
    height: 100px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.carousel-thumbs .thumb-item:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.carousel-thumbs .thumb-item.active {
    opacity: 1;
    /*border-color: #A18363;*/ /* Ваш цвет из темы */
    /*box-shadow: 0 4px 12px rgba(161, 131, 99, 0.4);*/
}

.carousel-thumbs .thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Скрываем служебный элемент */
.slide-thumb-url {
    display: none !important;
}
#ast-scroll-top {
    background-color: #8B1538;
    font-size: 17px;
}
header {
	transition: all .4s ease;
}
.logoh {
    background-image: url(/wp-content/uploads/sites/11/2025/12/logo1.png);
    height: 37px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
	max-width: 230px;
}
.nav-light-bg .logoh {
    background-image: url(/wp-content/uploads/sites/11/2025/12/logo2.png);
}

.kz-burger-menu {
    /*position: fixed;*/
    top: 30px;
    left: 30px;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    z-index: 1000;
    /*background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);*/
    transition: all 0.3s ease;
}

.kz-burger-menu:hover {
    /*transform: scale(1.05);*/
    /*box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);*/
}

.kz-burger-line {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 0px;
    transition: all 0.3s ease;
}
.langh a, .logh {
    color: #fff !important;
}
.nav-light-bg .langh a, .nav-light-bg .logh {
    color: #2c3e50 !important;
}
header.nav-light-bg .kz-burger-line {
	background: #2c3e50;
}

.kz-burger-menu.active .kz-burger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.kz-burger-menu.active .kz-burger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.kz-burger-menu.active .kz-burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.kz-fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.5s, opacity 0.3s ease;
}

.kz-fullscreen-menu.active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 0.3s ease;
}

.kz-menu-left {
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    position: relative;
    overflow: hidden;
}

.kz-fullscreen-menu.active .kz-menu-left {
    transform: translateX(0);
}

.kz-menu-left::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(111, 156, 118, 0.1) 0%, transparent 70%);
    animation: kzPulse 8s ease-in-out infinite;
}

.kz-menu-left::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -30%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(198, 168, 124, 0.1) 0%, transparent 70%);
    animation: kzPulse 10s ease-in-out infinite reverse;
}

@keyframes kzPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.kz-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.kz-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.kz-menu-close span {
    position: absolute;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.kz-menu-close span:first-child {
    transform: rotate(45deg);
}

.kz-menu-close span:last-child {
    transform: rotate(-45deg);
}

.kz-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.kz-menu-link {
    font-size: 28px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    padding: 10px 0;
    overflow: hidden;
    transform: translateX(-100px);
    opacity: 0;
}

.kz-fullscreen-menu.active .kz-menu-link {
    transform: translateX(0);
    opacity: 1;
    transition-delay: calc(var(--i) * 0.1s + 0.3s);
}

.kz-menu-link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #e8e4b9, #c6a87c);
    transition: width 0.4s ease;
    border-radius: 2px;
}

.kz-menu-link:hover {
    color: #fff;
    transform: translateX(20px);
}

.kz-menu-link:hover::before {
    width: 100%;
}

.kz-menu-footer {
    margin-top: auto;
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.kz-menu-social {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.kz-social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.kz-social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateY(-3px);
}

.kz-menu-copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    margin: 0;
}

.kz-menu-right {
    width: 40%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    cursor: pointer;
}

.kz-fullscreen-menu.active .kz-menu-right {
    transform: translateX(0);
}

.kz-menu-right-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.7) 0%, rgba(15, 52, 96, 0.5) 100%);
}

.kz-menu-right-content {
    position: absolute;
    bottom: 80px;
    left: 40px;
    right: 40px;
    color: #fff;
    z-index: 1;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease 0.5s;
}

.kz-fullscreen-menu.active .kz-menu-right-content {
    transform: translateY(0);
    opacity: 1;
}

.kz-menu-right-content h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: 2px;
	color: #fff;
}

.kz-menu-right-content p {
    font-size: 18px;
    opacity: 0.8;
    font-weight: 300;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .kz-menu-link { font-size: 40px; }
}

@media (max-width: 1024px) {
    .kz-menu-left { width: 70%; padding: 40px 50px; }
    .kz-menu-right { width: 30%; }
    .kz-menu-link { font-size: 36px; }
    .kz-menu-right-content h2 { font-size: 28px; }
}

@media (max-width: 768px) {
    .kz-burger-menu { top: 20px; left: 20px; width: 44px; height: 44px; }
    .kz-burger-line { width: 20px; }
    .kz-menu-left { width: 100%; padding: 80px 30px 30px; }
    .kz-menu-right { display: none; }
    .kz-menu-link { font-size: 28px; }
    .kz-menu-close { top: 20px; right: 20px; width: 44px; height: 44px; }
    .kz-menu-close span { width: 20px; }
}

@media (max-width: 480px) {
    .kz-menu-link { font-size: 24px; }
    .kz-menu-left { padding: 70px 20px 20px; }
}





/* Хлебные крошки */
.exhibit-breadcrumbs {
    padding: 15px 0;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
}

.exhibit-breadcrumbs a {
    color: #8B1538;
    text-decoration: none;
}

.exhibit-breadcrumbs a:hover {
    text-decoration: underline;
}

.exhibit-breadcrumbs .separator {
    margin: 0 8px;
    color: #9ca3af;
}

.exhibit-breadcrumbs .current {
    color: #374151;
}

/* Ссылка на музей */
.exhibit-museum-link {
    margin-bottom: 25px;
}

.exhibit-museum-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3c3c3c;
    font-size: 16px;
    text-decoration: none;
    padding: 0;
    border-radius: 8px;
    transition: all 0.2s;
}

span.tax-values {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 1px;
}

span.zoom-icon svg {
    stroke: #555;
}

.exhibit-museum-link svg {
    margin-top: -5px;
}

/* Основной контент */
.exhibit-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .exhibit-content {
        grid-template-columns: 1fr;
    }
}

/* Изображение */
.exhibit-main-image {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.exhibit-main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.exhibit-main-image:hover img {
    transform: scale(1.02);
}

.exhibit-main-image .zoom-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255,255,255,0.7);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	display: flex;
}

/* Информация */
.exhibit-info-column h3 {
    font-size: 18px;
    color: #A18363;
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.exhibit-description {
    margin-bottom: 25px;
}

.exhibit-description p {
    color: #4b5563;
    line-height: 1.7;
}

/* Таксономии */
.exhibit-taxonomies {
    margin-bottom: 25px;
}

.exhibit-tax-row {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.exhibit-tax-row:last-child {
    border-bottom: none;
}

.tax-label {
    font-weight: 600;
    color: #A18363;
    min-width: 120px;
    font-size: 18px;
}

.tax-values a {
    color: #3b82f6;
    text-decoration: none;
}

.tax-values a:hover {
    text-decoration: underline;
}

/* Состояние */

.exhibit-condition h3 {
    border: none;
    padding: 0;
    margin-bottom: 8px;
}

.exhibit-condition p {
    margin: 0;
}

/* Галерея */
.exhibit-gallery-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.exhibit-gallery-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.exhibit-swiper {
    padding-bottom: 50px;
}

.exhibit-swiper .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
}

.exhibit-swiper .swiper-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s;
}

.exhibit-swiper .swiper-slide:hover img {
    transform: scale(1.05);
}

.exhibit-swiper .swiper-button-prev,
.exhibit-swiper .swiper-button-next {
    color: #3b82f6;
}

.exhibit-swiper .swiper-pagination-bullet-active {
    background: #3b82f6;
}

/* Похожие экспонаты */
.related-exhibits {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

.related-exhibits>h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #A18363;
}

.related-exhibits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1024px) {
    .related-exhibits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-exhibits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .related-exhibits-grid {
        grid-template-columns: 1fr;
    }
}





/* Фильтр новостей */
.news-filter {
    display: flex;
    gap: 15px;
    /*flex-wrap: wrap;*/
    margin-bottom: 30px;
    /*padding: 20px;
    background: #f9fafb;*/
    border-radius: 12px;
}

.news-filter input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
}

/*.news-filter .select2-container {
    min-width: 220px;
}*/

.news-filter button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.news-filter button[type="submit"] {
    background: #8B1538;
    color: white;
}

.news-filter button[type="submit"]:hover {
    background: #7c0a2c;
}

/* Сетка новостей */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* Карточка новости */
.news-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-decoration: none;
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    display: flex;
    object-fit: cover;
    overflow: hidden;
    border-radius: 15px;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-content {
    margin-top: 15px;
}

.news-card-date {
	display: flex;
    flex-direction: column;
    display: inline-block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
}

.news-card-date {
    order: 0;
}

span.news-card-museum {
    order: 2;
}

h3.news-card-title {
    order: 1;
}

.news-card-museum {
    display: inline-block;
    font-size: 16px;
    color: #1c1c1c;
}

a.news-card {
    margin-bottom: 30px;
}

.news-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #A18363;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.news-card-excerpt {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* Пагинация */
.news-pagination {
    margin-top: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.news-pagination .results-count {
    color: #6b7280;
    font-size: 14px;
}

.news-load-more {
    padding: 12px 30px;
    background: #920923;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.news-load-more:hover {
    background: #7c0a2c;
}

.news-load-more:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 16px;
}





/* Фильтр 3D моделей - СВЕТЛАЯ ТЕМА */
.models-filter {
    display: flex;
    gap: 15px;
    /*flex-wrap: wrap;*/
    margin-bottom: 30px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
}

.models-filter input[type="text"] {
    flex: 1;
    min-width: 200px;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    color: #111827;
}

.models-filter input[type="text"]::placeholder {
    color: #9ca3af;
}

.models-filter .select2-container {
    min-width: 220px;
}

.models-filter button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.models-filter button[type="submit"] {
    background: #8B1538;
    color: white;
}

.models-filter button[type="submit"]:hover {
    background: #7c0a2c;
}

/* Сетка 3D моделей */
.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .models-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .models-grid {
        grid-template-columns: 1fr;
    }
}

/* Карточка 3D модели - СВЕТЛАЯ */
.model-card {
    display: block;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.model-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    /*background: #f3f4f6;*/
}

.model-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.model-card:hover .model-card-image img {
    transform: scale(1.05);
}

.model-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    background: #bda488f2;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.model-card-content {
    padding: 16px;
}

.model-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.model-card-museum {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
}

/* Пагинация */
.models-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.models-pagination .results-count {
    color: #6b7280;
    font-size: 14px;
}

.models-load-more {
    padding: 12px 30px;
    background: #8B1538;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.models-load-more:hover {
    background: #7c0a2c;
}

.models-load-more:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6b7280;
    font-size: 16px;
}



/* Обёртка */
.news-gallery-wrapper {
    position: relative;
    margin-bottom: 30px;
}

/* Одиночное изображение */
.news-gallery-single-image {
    display: block;
    border-radius: 12px;
    overflow: hidden;
}

.news-gallery-single-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

/* Карусель */
.news-gallery-swiper {
    padding-bottom: 50px;
}

.news-gallery-swiper .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
}

.news-gallery-swiper .swiper-slide a {
    display: block;
}

.news-gallery-swiper .swiper-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s;
}

.news-gallery-swiper .swiper-slide:hover img {
    transform: scale(1.05);
}

@media (max-width: 640px) {
    .news-gallery-swiper .swiper-slide img {
        height: 150px;
    }
}

/* Навигация */
.news-gallery-prev,
.news-gallery-next {
    position: absolute;
    top: calc(50%);
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: rgb(255 255 255 / 85%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
}

.news-gallery-prev:hover,
.news-gallery-next:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.news-gallery-prev {
    /*left: -22px;*/
}

.news-gallery-next {
    /*right: -22px;*/
}

@media (max-width: 768px) {
    .news-gallery-prev {
        left: 10px;
    }
    
    .news-gallery-next {
        right: 10px;
    }
}

.news-gallery-prev svg,
.news-gallery-next svg {
    color: #374151;
}

/* Пагинация */
.news-gallery-pagination {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.news-gallery-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.2s;
}

.news-gallery-pagination .swiper-pagination-bullet-active {
    background: #3b82f6;
    width: 24px;
    border-radius: 5px;
}

/* Счетчик - убираем для карусели */
.news-gallery-counter {
    display: none;
}

.news-into {
    text-align: center;
}