/*
Theme Name:  Балашовский театр
Theme URI:  
Description: The original   theme.
Version: 2020
Author: alisa
*/

/* CSS Document */




  /*Убрать обводку браузера*/
a.active.focus,
a.active:focus,
a.focus,
a:active.focus,
a:active:focus,
a:focus,
button.active.focus,
button.active:focus,
button.focus,
button:active.focus,
button:active:focus,
button:focus,
.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
outline: 0!important;
outline-color: transparent!important;
outline-width: 0!important;
outline-style: none!important;
box-shadow: 0 0 0 0 rgba(0,123,255,0)!important;
}
/*Конец Убрать обводку браузера*/
:focus {
    outline-style: none;
   /* outline-width: 0px !important;  */
    outline-color: none !important;
}
 
 
   :root {
            --brand-red: #B90000;
            --brand-white: #ffffff;
            --brand-black: #000000;
        }

        * {
            font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
        }

        body {
            color: var(--brand-black);
            background: var(--brand-white);
        }

        /* ===================== HEADER / NAVBAR ===================== */
        
       .allpage body.page-id-17 {
        background: url(/wp-content/uploads/2026/04/contact.jpg) top center no-repeat;
        
        } 
        
 

.spul ul {
margin-bottom: 0px !important;	
	
}

.spul {
margin-bottom: 15px;	
	
}

#fullRepertoirebtn {
	margin-top: 15px;
margin-bottom: 15px;		
}

 .allpage header {
   
}
       
  .page-id-17     .contentmargin220 {
             margin-top: 370px;
       }
       
        .contentmargin220 {
             margin-top: 60px;
       }
        
.category-lyudi-teatra  .contentmargin220 {
             margin-top:  0px;
       }       
        
        
        .top-navbar {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
            padding-top: 12px;
            padding-bottom: 40px;
            transition: background 0.3s;
        }
        
        
        .allpage .top-navbar.black {
    /* position: relative; */
    background: #000;
    padding-bottom: 0px;
}

.category-7  .top-navbar, .category-afisha .top-navbar{
    /* position: relative; */
    background: #000;
    padding-bottom: 0px;
}
        
       .allpage .top-navbar {
        /*position: relative; */
       } 
       
       .allpage    .post-template-spektakl .top-navbar {
        position: absolute;
       } 
        
        .logo-img {
         width: 80px;
        }

        .top-navbar.scrolled {
            position: fixed;
            background: rgba(0,0,0,0.92);
            padding-bottom: 12px;
            box-shadow: 0 2px 20px rgba(0,0,0,0.3);
        }

        .navbar-brand-logo {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid var(--brand-red);
            background: var(--brand-white);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            flex-shrink: 0;
        }

        .navbar-brand-logo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .navbar-brand-text {
            color: var(--brand-white) !important;
            font-size: 0.85rem;
            line-height: 1.2;
            margin-left: 12px;
            text-decoration: none;
        }

        .navbar-brand-text .theater-title {
            font-weight: 700;
            font-size: 1.05rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .top-navbar .nav-link {
            color: rgba(255,255,255,0.85) !important;
            font-size: 0.9rem;
            font-weight: 500;
            padding: 6px 14px !important;
            transition: color 0.2s;
        }

        .top-navbar .nav-link:hover,
        .top-navbar .nav-link:focus {
            color: var(--brand-white) !important;
            text-decoration: none;
        }

        .navbar-toggler {
            border-color: rgba(255,255,255,0.4);
        }

        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

        .btn-buy {
            background-color: var(--brand-red);
            color: var(--brand-white);
            border: none;
            border-radius: 4px;
            font-weight: 600;
            padding: 10px 28px;
            transition: background 0.2s;
        }

        .btn-buy:hover {
            background-color: #a00000;
            color: var(--brand-white);
        }

        .btn-outline-light-custom {
            border: 2px solid var(--brand-white);
            color: var(--brand-white);
            border-radius: 4px;
            font-weight: 600;
            padding: 9px 28px;
            background: transparent;
            transition: all 0.2s;
        }

        .btn-outline-light-custom:hover {
            background: var(--brand-white);
            color: var(--brand-black);
        }
        
          .justcenter {
     justify-content: center;
   }

   .people {
    text-align: center;
      margin-bottom: 30px;
   }
   
    .people img {
    border-radius: 5px;
    margin-bottom: 15px;
    }

        /* ===================== HERO SLIDER ===================== */
           /* Секция-обёртка */
    .hero-slider {
      position: relative;
      height: 100vh; /* можно заменить на 80vh */
      min-height: 520px;
      overflow: hidden;
    }

    /* Сам carousel и внутренности на всю высоту */
    #heroCarousel,
    #heroCarousel .carousel-inner,
    #heroCarousel .carousel-item {
      height: 100%;
    }

    /* Фон слайдов */
    .hero-slide-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      transform: scale(1.02); /* лёгкий запас от дёргания */
    }

    /* Затемняющий слой поверх фото, но под текстом */
  .hero-slider  .carousel-item::after {
      content: "";
      position: absolute;
      inset: 0;
       background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.35) 45%,
        rgba(0, 0, 0, 0.75) 100%
      );   
      z-index: 1;
      pointer-events: none;
    }

    /* Контент слайда */
    .hero-slider .carousel-caption {
      z-index: 2;
      left: 0;
      right: 0;
      bottom: 14%;
      text-align: left;
      padding-left: 0;
      padding-right: 0;
    }

    .post-template-spektakl  .hero-slider .carousel-caption {
 
      bottom: 0%;
 
    }
    
    .slide-sp-info {
     display: flex;
     justify-content: space-between;
    }


    .hero-slider .carousel-caption .container {
      position: relative;
    }

    .hero-slider h1 {
      margin: 0 0 12px;
      font-size: clamp(30px, 5vw, 64px);
      line-height: 1.05;
      font-weight: 800;
      color: #fff;
      text-transform: uppercase;
      max-width: 900px;
    }
            
.allpage h1 {
text-transform: uppercase;
font-size: 2rem;
/*text-align: center;*/
  color: var(--brand-red);
  margin: 120px 0px 40px 0px;
}

.post-template-akter h1 {
 margin: 120px 0px 40px 0px;
}

      
    
    .allpage  h1 {
     text-transform: uppercase;
     font-weight: 800;
    /* font-size: 50px;*/
     margin-bottom: 60px;
    
    }
        .allpage     .post-template-spektakl   h1 {
     text-transform: uppercase;
     font-weight: 800;
     font-size: 50px;
     margin-bottom: 60px;
     text-align: left;
			color: #fff;
    }

    .hero-slider p {
      margin: 0 0 24px;
      font-size: clamp(15px, 2vw, 22px);
      color: #f1f1f1;
      max-width: 760px;
    }

    .hero-btn {
      display: inline-block;
      padding: 12px 22px;
      border-radius: 10px;
      background: var(--brand-red);
      color: #fff;
      text-decoration: none;
      font-weight: 700;
      transition: transform .15s ease, opacity .2s ease;
    }

    .hero-btn:hover {
      opacity: 0.92;
      transform: translateY(-1px);
      color: #fff;
    }
    
    .knopkiscena {
     margin-bottom: 60px;
    }
    
    .btnscena {
      display: inline-block;
      padding: 12px 22px;
      border-radius: 10px;
      background: var(--brand-red);
      color: #fff;
      text-decoration: none;
      font-weight: 700;
      transition: transform .15s ease, opacity .2s ease;
      width: 100%;
      border: 2px solid var(--brand-red);
    }

    .btnzascena {
      display: inline-block;
      padding: 12px 22px;
      border-radius: 10px;
     border: 2px solid var(--brand-red);
     background: #fff;
   
         color: var(--brand-red);
      text-decoration: none;
      font-weight: 700;
      transition: transform .15s ease, opacity .2s ease;
      width: 100%;
    }
    
    .btnscena:hover {
     border: 2px solid var(--brand-red);
       color: var(--brand-red);
    }
    
     .btnzascena:hover {
    background: var(--brand-red);
      color: #fff;
    }

    /* Стрелки и индикаторы выше оверлея */
    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next,
    .hero-slider .carousel-indicators {
      z-index: 3;
    }

    /* Индикаторы */
    .hero-slider .carousel-indicators [data-bs-target] {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      margin: 0 6px;
      border: 2px solid transparent;
      background-color: rgba(255, 255, 255, 0.5);
    }

    .hero-slider .carousel-indicators .active {
      background-color: var(--brand-red);
    }


    
           /* ===================== Страница спектакля ===================== */
        .vozr {
        background: var(--brand-red);
        font-size: 20px;
        padding: 5px;
        font-weight: 600;
        margin-right: 30px;
        display: inline-block;
        }
        
        .dlit {
          font-size: 18px;
        }
        
        .infosp {
        margin-bottom: 30px;
        }
        
        
       .tablespekt {
    width: 80%;
    margin: 0 auto;
    font-size: 24px;
    
}

.mt30 {
  margin-top: 30px;
}

h2 {
text-transform: uppercase;
font-size: 25px;
text-align: center;
  color: var(--brand-red);
  margin: 30px 0px;
}


  .tablespekt td {
  width: 49%;
  font-size: 20px;
  }
  
  .infosp {
    text-align: right;
}
  
  .tablespekt a:hover {
  color: var(--brand-red);
  }
  
  .tablespekt  tr {
  border-bottom: 1px solid #bdbfc6;
 
  }
  
    .tablespekt td:first-child {
   /* text-align: right;
    border-right: 3px solid #000; */
    padding-right: 30px;
    }
       .tablespekt td {
     padding: 15px 0px;
       line-height: 1.3;
       }
       
       .blockwhite {
  /* -webkit-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.2);
border-radius:  5px;
padding: 30px;     */
margin-top: 60px;
    margin-bottom: 60px;
    font-size: 24px;
   }
   
   .backcolor {
    background: #f5ecec;
   }
  
  
  .tablabout {
    margin: 30px 0px;
  }

    /* Адаптив */
    @media (max-width: 991.98px) {
    
   .gallery-item {
    float: left;
    margin-top: 10px;
    text-align: center;
    width: 49% !important;
}

.tablespekt td {
    padding-left: 10px;
    padding-right: 10px;
    line-height: 1.3;
}

.tablespekt td:first-child {
    text-align: right;
    border-right: 1px solid #000;
}

.gallery br {
display: none;
}

.gallery  br:last-child {
 display: block;
}
    
      .hero-slider {
        min-height: 460px;
      }
      .hero-slider .carousel-caption {
        bottom: 12%;
      }
      
      .allpage .post-template-spektakl h1 {
 
    font-size: 30px;
 
}
.navbar-brand-text .theater-title {
  
    font-size: 0.75rem;

}

.tablespekt {
    width: 100%;
    margin: 0 auto;
    font-size: 18px;
}

    }

    @media (max-width: 575.98px) {
      .hero-slider {
        min-height: 500px;
        height: 500px;
      }
      .hero-slider .carousel-caption {
        bottom: 10%;
      }
      .hero-btn {
        padding: 10px 18px;
      }
    }



    .gallery-item img {
     width: 95%;
     height: auto;
     aspect-ratio: 4 / 3;
     object-fit: cover;
    }

        /* ===================== SECTION TITLES ===================== */
        .section-title {
            font-size: 2rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            display: inline-block;
            margin-bottom: 40px;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--brand-red);
            margin-top: 10px;
            border-radius: 2px;
        }

        /* ===================== UPCOMING SHOWS ===================== */
        .section-upcoming {
            padding: 70px 0;
            background: #f7f7f7;
        }

        .show-card {
            background: var(--brand-white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 24px rgba(0,0,0,0.08);
            transition: transform 0.25s, box-shadow 0.25s;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .show-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 36px rgba(0,0,0,0.14);
        }

        .show-card .card-img-wrap {
            position: relative;
            height: 220px;
            overflow: hidden;
            background: #ddd;
        }

        .show-card .card-img-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .show-card .card-img-wrap .show-date-badge {
            position: absolute;
            top: 14px;
            left: 14px;
            background: var(--brand-red);
            color: var(--brand-white);
            border-radius: 6px;
            padding: 6px 14px;
            font-weight: 700;
            font-size: 0.85rem;
            line-height: 1.3;
            text-align: center;
        }

        .show-date-badge .day {
            font-size: 1.5rem;
            display: block;
            line-height: 1;
        }

        .show-card .card-body {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .show-card .card-body h5 {
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 8px;
        }

        .show-card .card-body .desc {
            font-size: 0.9rem;
            color: #555;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex-grow: 1;
        }

        .show-card .card-footer-custom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 20px 18px;
        }

        .show-card .duration {
            font-size: 0.82rem;
            color: #888;
        }

        .show-card .duration i {
            color: var(--brand-red);
            margin-right: 4px;
        }
        

        /* ===================== NEWS ===================== */
        .section-news {
            padding: 70px 0;
        }
        
        .news-biglink {
         text-decoration: none;
         color: #555;
        }
        
         .news-biglink h5 {
         color: #000;
         }

        .news-item {
            display: flex;
            gap: 28px;
            margin-bottom: 36px;
            background: #f9f9f9;
            border-radius: 10px;
            overflow: hidden;
            transition: box-shadow 0.25s;
        }

        .news-item:hover {
            box-shadow: 0 6px 24px rgba(0,0,0,0.1);
        }

        .news-item .news-img {
            flex-shrink: 0;
            width: 320px;
            min-height: 210px;
            background: #ddd;
            overflow: hidden;
        }

        .news-item .news-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .news-item .news-body {
            padding: 24px 24px 24px 0;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .news-item .news-date {
            font-size: 0.82rem;
            color: var(--brand-red);
            font-weight: 600;
            margin-bottom: 8px;
        }

        .news-item .news-body h5 {
            font-weight: 700;
            font-size: 1.15rem;
            margin-bottom: 10px;
        }

        .news-item .news-body p {
            color: #555;
            font-size: 0.95rem;
            line-height: 1.6;
        }

        @media (max-width: 767px) {
            .news-item {
                flex-direction: column;
            }
            .news-item .news-img {
                width: 100%;
                min-height: 180px;
            }
            .news-item .news-body {
                padding: 20px;
            }
        }

        /* ===================== PARTNERS CAROUSEL ===================== */
        .section-partners {
            padding: 60px 0;
            background: #f7f7f7;
        }

        .partner-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 90px;
            padding: 10px 20px;
            opacity: 0.55;
            transition: opacity 0.3s;
            filter: grayscale(100%);
        }

        .partner-logo:hover {
            opacity: 1;
            filter: grayscale(0%);
        }

        .partner-logo img {
            max-height: 130px;
            max-width: 100%;
            object-fit: contain;
        }

        /* ===================== FOOTER ===================== */
        .site-footer {
            background: #1a1a1a;
            color: rgba(255,255,255,0.75);
            padding: 50px 0 0;
        }

        .site-footer a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: color 0.2s;
        }

        .site-footer a:hover {
            color: var(--brand-white);
        }

        .footer-title {
            color: var(--brand-white);
            font-weight: 700;
            font-size: 1rem;
            text-transform: uppercase;
            margin-bottom: 18px;
            letter-spacing: 0.5px;
        }

        .footer-nav li {
            margin-bottom: 8px;
        }

        .footer-nav li a {
            font-size: 0.9rem;
        }

        .footer-social a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            color: var(--brand-white);
            font-size: 1.2rem;
            margin-right: 8px;
            transition: background 0.2s, transform 0.2s;
        }

        .footer-social a:hover {
            background: var(--brand-red);
            transform: scale(1.1);
        }

        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding: 20px 0;
            margin-top: 40px;
            font-size: 0.82rem;
            color: rgba(255,255,255,0.4);
        }

        .footer-logo-round {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--brand-white);
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid var(--brand-red);
            overflow: hidden;
            margin-bottom: 16px;
        }

        .footer-logo-round img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        /* ===================== MISC ===================== */
        .btn-all-news {
            border: 2px solid var(--brand-red);
            color: var(--brand-red);
            font-weight: 600;
            border-radius: 4px;
            padding: 10px 32px;
            background: transparent;
            transition: all 0.2s;
        }

        .btn-all-news:hover {
            background: var(--brand-red);
            color: var(--brand-white);
        }

        .btn-all-afisha {
            border: 2px solid var(--brand-red);
            color: var(--brand-red);
            font-weight: 600;
            border-radius: 4px;
            padding: 10px 32px;
            background: transparent;
            transition: all 0.2s;
        }

        .btn-all-afisha:hover {
            background: var(--brand-red);
            color: var(--brand-white);
        }

        /* Placeholder images */
        .img-placeholder {
            background: linear-gradient(135deg, #3a3a3a 0%, #555 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(255,255,255,0.3);
            font-size: 2.5rem;
        }

        .img-placeholder-light {
            background: linear-gradient(135deg, #ccc 0%, #e0e0e0 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: rgba(0,0,0,0.15);
            font-size: 2.5rem;
        }

        /* Logo placeholder in navbar */
        .logo-placeholder-circle {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: var(--brand-white);
            border: 2px solid var(--brand-red);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--brand-red);
            font-weight: 900;
            font-size: 0.7rem;
            text-align: center;
            line-height: 1.1;
            flex-shrink: 0;
        }

        /* Custom SVG icons for social */
        .icon-vk::before { content: "VK"; font-style: normal; font-weight: 700; font-size: 0.75rem; }
        .icon-ok::before { content: "OK"; font-style: normal; font-weight: 700; font-size: 0.75rem; }
        .icon-rt::before { content: "RT"; font-style: normal; font-weight: 700; font-size: 0.75rem; }
        .icon-max::before { content: "M"; font-style: normal; font-weight: 700; font-size: 0.85rem; }

        /* Smooth scrolling */
        html { scroll-behavior: smooth; }

        /* Hero responsive */
        @media (max-width: 767px) {
            .hero-slider .carousel-item {
                height: 75vh;
            }
            .hero-slider .carousel-caption h2 {
                font-size: 1.8rem;
            }
            .hero-slider .carousel-caption p.lead {
                font-size: 0.95rem;
            }
        }
a {
color: var(--brand-red);
}


.bvi-widget, .bvi-shortcode a, .bvi-widget a, .bvi-shortcode {
    color: #ffffff;
    background: none !important;
    text-decoration: none !important;
}