/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 
                 'Oxygen', 'Ubuntu', 'Cantarell', 'Open Sans', 
                 'Helvetica Neue', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Контейнеры */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    padding: 0 15px;
}

/* Обертка страницы */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main {
    flex: 1 0 auto;
}

.footer {
    flex-shrink: 0;
}

/* Типография */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

/* Списки */
ul, ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Изображения */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Кнопки */
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

/* Формы */
input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #007bff;
}

/* Утилитарные классы */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }



.now-title section {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-left: 25px;
    padding-right: 25px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: cover;
    background-color: #2e3134;
    color: #fff;
}
.screen-welcome__body {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    padding-top: 30vh;
    width: 100%;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-width: 1920px;
}
.now-title section:before  {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    background-color: #000;
    opacity: .3;
}
/* Адаптивность */
@media (min-width: 1200px) {
    .screen-welcome__body {
        padding-left: 320px;
        padding-right: 110px;
    }
.screen-welcome__body h1 {
        font-size: 60px;
        line-height: 64px;
    }	
}
@media (max-width: 1200px) {
    .container {
        max-width: 992px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 768px;
    }
    
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
}
@media (min-width: 768px) {
    .screen-welcome__body {
        padding-top: 6vh;
        padding-left: 145px;
        padding-right: 80px;
    }
}
@media (max-width: 768px) {
    .container {
        max-width: 576px;
        padding: 0 10px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    body {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
}

/* Темная тема (опционально) */
@media (prefers-color-scheme: dark) {
    body {
        color: #fff;
        background-color: #1a1a1a;
    }
    
    a {
        color: #4dabf7;
    }
    
    a:hover {
        color: #339af0;
    }
    
    input, textarea, select {
        background-color: #2d2d2d;
        border-color: #404040;
        color: #fff;
    }
}


        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }

        .news-card {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
            transition: all 0.4s ease;
            height: 400px;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
        }

        .news-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
        }

       .path-news .news-card:first-child {
            grid-column: span 2;
        }

       .news-card .media--image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            transition: transform 0.5s ease;
            z-index: 1;
        }

        .news-card:hover .media--image {
            transform: scale(1.1);
        }

        .card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to top, rgb(0 0 0 / 43%) 0%, rgb(0 0 0 / 20%) 50%, rgb(0 0 0 / 47%) 100%);
            z-index: 1;
        }

        .card-content { 
            position: relative;
            z-index: 1;
            padding: 25px;
            color: white;
        }

        .news-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        .news-date {
            font-size: 0.9rem;
            color: #ffd700;
            font-weight: 500;
            display: flex;
            align-items: center;
        }

        .news-date i {
            margin-right: 5px;
        }

        .news-badge {
            font-size: 0.75rem;
            background: linear-gradient(45deg, #ff6b6b, #ff9a9e);
            color: #fff;
            padding: 5px 12px;
            border-radius: 20px;
            font-weight: 600;
            text-transform: uppercase;
        }

        .news-title {
            font-size: 1.5rem;
            margin: 10px 0 15px;
            line-height: 1.4;
            font-weight: 700;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }

        .news-card.featured .news-title {
            font-size: 2rem;
        }

        .news-excerpt {
            color: #e0e0e0;
            margin-bottom: 20px;
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .news-link a {
            display: inline-flex;
            align-items: center;
            color: #ffd700;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .news-link a:hover {
            color: #ff6b6b;
            transform: translateX(5px);
        }

        .news-link i {
            margin-left: 8px;
            transition: transform 0.3s ease;
        }

        .news-link:hover i {
            transform: translateX(5px);
        }

        .category-tag {
            position: absolute;
            top: 20px;
            right: 20px;
            z-index: 4;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            padding: 5px 15px;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
			color: #fff;
        }

        /* Адаптивность для мобильных устройств */
        @media (max-width: 768px) {
            .news-grid {
                grid-template-columns: 1fr;
            }
            
            .news-card:first-child {
                grid-column: span 1;
            }
            
            .news-card.featured .news-title {
                font-size: 1.6rem;
            }
            
            .news-card {
                height: 350px;
            }
           

        .loading-indicator {
            text-align: center;
            margin: 30px 0;
            color: rgba(255, 255, 255, 0.7);
            font-style: italic;
        }
        }
		#block-pushkino-site-branding {
			padding-bottom: 40px;
		}
		        .banner {
            width: 100%;
            height: 200px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
			background-size: cover;
            background-image: url(/static/img/323443.jpg);
            background-position: 50% 50%;
            background-repeat: no-repeat;
        }
   		     .now-title .banner {
            width: 100%;
            height: 200px;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
			background-size: cover;
            background-image: none;
            background-position: 50% 50%;
            background-repeat: no-repeat;
        }     
        .banner-content {
            text-align: center;
            z-index: 2;
            padding: 0 20px;
            max-width: 1200px;
            width: 100%;
        }
        .banner::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
            animation: pulse 8s infinite linear;
            z-index: 1;
        }
        .block-logo {
		display: flex;
    justify-content: left;	
		}
        @keyframes pulse { 
            0% {
                transform: rotate(0deg);
            }
            100% {
                transform: rotate(360deg);
            }
        }
		
 /* Кнопка гамбургера */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
}

.hamburger {
  display: flex;
  flex-direction: column;
  width: 25px;
  height: 20px;
  justify-content: space-between;
}

.bar {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Основное меню */
.nav-menu ul.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
  align-items: center;
}

.nav-menu ul.menu li {
  position: relative;
}

.nav-menu ul.menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu ul.menu a:hover {
  color: #007acc;
}

.nav-menu ul.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #007acc;
  transition: width 0.3s ease;
}

.nav-menu ul.menu a:hover::after {
  width: 100%;
}

/* Выпадающие меню */
.nav-menu ul.menu ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 5px;
  padding: 0.5rem 0;
}

.nav-menu ul.menu li:hover > ul {
  display: block;
}

.nav-menu ul.menu ul li {
  width: 100%;
}

.nav-menu ul.menu ul a {
  display: block;
  padding: 0.75rem 1.5rem;
  white-space: nowrap;
}

/* Мобильные extras */
.mobile-extras {
  display: none;
}

/* Адаптивность */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    padding: 5rem 1.5rem 2rem;
    overflow-y: auto;
    z-index: 999;
  }
  
  .nav-menu[data-visible="true"] {
    right: 0;
  }
.nav-menu ul.menu a {
    color: #333;
}
  .nav-menu ul.menu {
    flex-direction: column;
    gap: 0;
  }
  
  .nav-menu ul.menu li {
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  
  .nav-menu ul.menu a {
    display: block;
    padding: 1rem 0;
  }
  
  .nav-menu ul.menu ul {
    position: static;
    box-shadow: none;
    padding-left: 1rem;
  }
  
  .mobile-extras {
    display: block;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
  }
  
  .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
  }
  
  .overlay.active {
    display: block;
  }
}

/* Скрытый текст для скринридеров */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}		

.afisha-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.afisha-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.afisha-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  justify-content: center;
}

.afisha-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

.card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.card-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(255, 255, 255, 0.95);
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
  line-height: 1.4;
}

.card-description {
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.card-place {
  color: #555;
  font-weight: 500;
}

.card-time {
  color: #e74c3c;
  font-weight: 600;
}

.field--name-field-ssylka-na-kupit-bilet a {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  width: 100%;
}
.field--name-field-ssylka-na-kupit-bilet .field__item {
	display: flex;
    width: 100%;
    justify-content: center;
}
.card-button:hover {
  background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
  transform: translateY(-2px);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .afisha-container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .afisha-section {
    padding: 30px 15px;
  }
  
  .afisha-title {
    font-size: 2rem;
    margin-bottom: 30px;
  }
  
  .afisha-container {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .card-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

@media (max-width: 480px) {
  .afisha-section {
    padding: 20px 10px;
  }
  
  .afisha-title {
    font-size: 1.7rem;
  }
  
  .card-content {
    padding: 20px;
  }
  
  .card-title {
    font-size: 1.2rem;
  }
}

.afisha-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: stretch; /* Важно: растягивает карточки по высоте */
}

.afisha-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Важно: занимает всю доступную высоту */
}

.card-content {
    padding: 25px;
    flex-grow: 1; /* Важно: контент растягивается */
    display: flex;
    flex-direction: column;
}

.card-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1; /* Описание растягивается, заполняя пространство */
}

/* Основной контент */
.page-node-type-novosti .main-content {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}



/* Основной контент (левая часть) */
.page-node-type-novosti .content {
    flex: 1 1 70%;
    min-width: 300px;
}
/* Сайдбар (правая часть) */
.page-node-type-novosti .sidebar {
    flex: 1 1 25%;
    min-width: 250px;
}
.has-miniature-image .t-node, .has-top-banner .t-node {
    display: none;
}
.main-content-page {
	margin-top: 60px;
}
.path-news .main-content-page {
	margin-top: 0px;
}
.card-voz {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #333;
}
.field--name-field-ssylka-na-kupit-bilet .field__label {
	display:none;
}




        /* Main Content */
        .event-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
            margin: 3rem 0;
        }

        /* Poster Section */
        .poster-section {
            position: relative;
        }

        .poster-image {
            width: 100%;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.2);
            transition: transform 0.3s ease;
        }

        .poster-image:hover {
            transform: translateY(-5px);
        }

        .poster-badge {
            position: absolute;
            top: 20px;
            right: 20px;
            background: #e74c3c;
            color: white;
            padding: 8px 15px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.9rem;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }

        .poster-actions {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .action-btn {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px;
            background: white;
            border: 1px solid #ddd;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
        }

        .action-btn:hover {
            background: #f8f9fa;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }

        .action-btn.share {
            background: #3498db;
            color: white;
            border-color: #3498db;
        }

        .action-btn.share:hover {
            background: #2980b9;
        }

        /* Event Details */
        .event-details {
            background: white;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        }

        .event-title {
            font-size: 2.5rem;
            color: #2c3e50;
            margin-bottom: 0.5rem;
            line-height: 1.2;
        }

        .event-subtitle {
            font-size: 1.2rem;
            color: #7f8c8d;
            margin-bottom: 2rem;
        }

        .detail-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 1.5rem;
            padding: 1rem;
            background: #f8f9fa;
            border-radius: 8px;
            transition: background 0.3s;
        }

        .detail-item:hover {
            background: #e9ecef;
        }

        .detail-icon {
            width: 40px;
            height: 40px;
            background: #3498db;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
            color: white;
            flex-shrink: 0;
        }

        .price {
            font-size: 2.2rem;
            font-weight: bold;
            color: #2c3e50;
            text-align: center;
            margin: 1.5rem 0;
            padding: 1rem;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            border-radius: 10px;
        }

        .btn {
            display: inline-block;
            padding: 1.2rem 2rem;
            background: #e74c3c;
            color: white;
            text-decoration: none;
            border-radius: 8px;
            border: none;
            cursor: pointer;
            font-size: 1.1rem;
            font-weight: bold;
            transition: all 0.3s ease;
            width: 100%;
            text-align: center;
            box-shadow: 0 4px 6px rgba(231, 76, 60, 0.3);
        }

        .btn:hover {
            background: #c0392b;
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(231, 76, 60, 0.4);
        }

        .btn-secondary {
            background: #3498db;
            box-shadow: 0 4px 6px rgba(52, 152, 219, 0.3);
            margin-top: 0.8rem;
        }

        .btn-secondary:hover {
            background: #2980b9;
            box-shadow: 0 6px 12px rgba(52, 152, 219, 0.4);
        }

        /* Description Section */
        .description-section {
            grid-column: 1 / -1;
            background: white;
            padding: 2.5rem;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            margin-top: 1rem;
        }

        .section-title {
            color: #2c3e50;
            margin-bottom: 1.5rem;
            padding-bottom: 0.5rem;
            border-bottom: 2px solid #f0f0f0;
        }

        .description-text {
            margin-bottom: 1.5rem;
            line-height: 1.7;
        }
