/*!
Theme Name: mycompany 2

Author: MyCompany

Description: mycompany design 2
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mycompany
Tags: mycompany-theme
*/
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

:root {
    --container-padding: 16px;
}
/* main styles events */
#adminmenuback {
    z-index: 10;
}

#events-list {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-top: 1%;
}

.event-block {
    display: flex;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.event-image {
    flex: 0 0 150px;
    max-width: 150px;
    max-height: 150px;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-image img {
    max-width: 100%;
    max-height: 100%;
}

#image-preview img {
    max-width: 300px !important;
    max-height: 300px !important;
}

.event-details {
    flex-grow: 1;
}

.event-actions {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.create_new {
    float: right;
    margin: 15px auto !important;
}

#filter-date-picker {
    vertical-align: middle;
}

#event-name, #event-description, #event-location, #event-date, #event-status, #upload-image-button  {
    width: 300px;
}

#event-description {
    height: 200px;
}

#event-location, #event-date, #event-status {
    text-align: center;
}

#edit-event-name, #edit-event-description, #edit-event-location, #edit-event-date, #edit-event-status, #edit-upload-image-button  {
    width: 300px;
}

#edit-event-description {
    height: 200px;
}

#edit-event-location, #edit-event-date, #edit-event-status {
    text-align: center;
}

#add-event-form, #edit-event-form, #view-event-form {
    margin-top: 2%;
    display: grid;
}

#submit {
    width: 20%;
    margin-top: 30px;
}



/* loader */

.loader {
    border: 3px solid #47515E;
    border-radius: 50%;
    border-top: 3px solid #F8E7BC;
    width: 72px;
    height: 72px;
    animation: spin 2s linear infinite;
    position: absolute;
    left: auto;
    top: auto;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-container {
    position: absolute;
    width: 100%;
    height: 115%;
    border-radius: 30px;
    background: #1A1A1A;
    top: 0;
    left: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}



/* tickets management */

.context-menu {
    display: none;
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    z-index: 10;
}

.context-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.context-menu ul li a {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
}

.context-menu ul li:hover {
    background-color: #eee;
}

.context-menu .dropdown-menu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 1px;
    border: 1px solid #ccc;
    background: #fff;
    min-width: 150px;
    z-index: 1000;
}

.context-menu .dropdown:hover .dropdown-menu {
    display: block;
}

.add-table {
    padding: 10px;
    font-size: 14px;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-width: 1px;
    border-radius: 4px;
    margin-top: 20px;
    max-width: 50%;
    width: 100%;
    cursor: pointer;
}

#shadow-table {
    /* opacity: 0; */
    justify-content: start;
    margin-left: 15%;
    transition: all 0.3s ease-in-out;
}

#shadow-table.visible {
    opacity: 1;
}

#additional-table {
    opacity: 0;
    transition: all 0.3s ease-in-out;
    height: 5%;
    width: 5%;
}

#additional-table.visible {
    opacity: 1;
}

.additional-moved {
    --dx: 35px !important;
    --dy: 175px !important;
}

.row1 {
    display: grid;
    grid-template-columns: 35% 65%;
}

.row2 {
    display: grid;
    grid-template-columns: 75%;
    margin-top: 30px;
}

.row1-view {
    display: grid;
    grid-template-columns: 100%;
}

.row2-view {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-top: 30px;
}

.information-block {
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 16px;
    border: 1px solid #fff;
    border-radius: 5px;
    padding: 10px;
    background-color: #0e0d0d;
}

.view-label {
    color: #b7b6b6;
}
.view-label b {
    color: #fff;
}

.view-edit-button {
    float: right;
    margin: -34px auto !important;
    font-size: 16px !important;
}

.ticket-info {
    flex: 0.6;
    display: flex;
    justify-content: start;
    align-items: start;
    flex-direction: column;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
}

.seat-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.seat-ticket-info {
    font-size: 16px;
    margin-bottom: 10px;
}

.seat-total {
    margin-bottom: 10px;
}

.seat-ticket_button {
    text-align: center;
    font-size: 16px;
    border: 1px solid;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
    width: 100%;
    height: 7%;
    background-color: #fff;
}

.seat-ticket_button:hover {
    background-color: #e0e0e0;
}

.seat.inactive {
    display: none;
    cursor: none;
    pointer-events:none;
}

/* notification styles */

.h1-row2 {
    margin-top: 50px !important;
}

#edit-notification-modal, #edit-notification-reminder, #edit-notification-change {
    display: none;
    border: 1px #000 solid;
    padding: 20px;
    /* display: flex; */
    flex-direction: column;
    justify-content: center;
    margin: 30px 0;
    width: 50%;
    background: #ffffff8c;
}

#edit-notification-modal h2 {
    margin-top: 0;
}

#notification-body {
    height: 200px;
}

#save-notification {
    margin-top: 20px;
}

.settings-item {
    margin: 10px auto;
    font-size: 14px;
    font-weight: 400;
    display: grid;
    grid-template-columns: 30% 15% 10% 45%;
}

.settings-item label {
    font-weight: 600;
}

#second-settings-item {
    grid-template-columns: 30% 15% 10% 15% 15%;
}

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

.save-notification {
    margin-top: 15px !important;
}

.disclaimer {
    margin-top: 10px;
    color: gray;
    font-size: 14px;
    font-style: italic;
}


.send-notifications {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border: 1px solid #000;
    margin-left: 10px;
    height: 50%;
    border-radius: 5px;
    background-color: #ffffff77;
}

.send-notifications h1 {
    margin-bottom: 15px;
    text-align: center;
}

.notifications-title {
    display: grid;
    grid-template-columns: 25% 25% 25%;
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.notifications-title span{
    border: 1px solid;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: none;
    background-color: #ffffff8c;
}
.notifications-title span:last-child{
    border-right: 1px solid;
}

.notification_item {
    display: grid;
    grid-template-columns: 25% 25% 25% 25%;
    text-align: center;
    font-size: 16px;
    /* margin-top: 10px; */
    height: 38%;
}

.notifications-list {
    background-color: #ffffff8c;
}

.notification_item .item_name {
    border: 1px solid #000;
    border-right: none;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.notification_item .item_time {
    border: 1px solid #000;
    padding: 5px;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.notification_item .item_status {
    border: 1px solid #000;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item_button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    border-radius: 5px;
    background-color: #fff;
    cursor: pointer;
    font-weight: 600;
    margin: 5px;
    box-shadow: 1px 1px;
}

.item_button:hover {
    background-color: #e0e0e0;
}

.row_order {
	width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media only screen and (max-width: 600px) {
  .event_popup .event_info .event-input {
      max-width: 100% !important;
  }
  .event_overlay .event_popup {
      max-width:100vw !important;
      max-height:100vh !important;
  }
  .event_overlay .event_success_popup {
      max-width:100vw !important;
      max-height:100vh !important;
  }
  #close_event_popup_success {
      max-width: 100%;
  }
}


.footer_section .copyright {
    font-family: Onest;
    margin-top: 50px;
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
}
@media only screen and (max-width: 760px) {
    .footer_section .copyright {
        text-align: center;
    }
}

@media only screen and (max-width: 768px) and (max-height: 990px) {
    .event_tickets .events_list {
        max-height: 90% !important;
    }
}




section.main_content,
.news_head_page .news_block .news_info {
    color: #f8e7bc;
    font-family: Onest;
}
section.main_content .container {
    max-width: 1110px;
}
.news_head_page .news_block .news_info img {
    max-width: 100%;
}
.news_head_page .news_block .news_info h2 {
    margin-top: 32px;
}
.news_head_page .news_block .news_info p,
.news_head_page .news_block .news_info ul,
.news_head_page .news_block .news_info ol,
.news_head_page .news_block .news_info table {
    color: rgba(255, 255, 255, 0.6);
    font-family: Onest;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.news_head_page .news_block .news_info table {
    width: 100%;
    border-collapse: collapse;
}
.news_head_page .news_block .news_info th,
.news_head_page .news_block .news_info td {
    border: 1px solid #f8e7bc;
    padding: 8px 12px;
    text-align: left;
}

.input-error {
    border: 1px solid #ff3b3b !important;
}



main.regular-page {
    display: flex;
    flex-direction: column;
    /* justify-content: center;
    align-items: center; */
    width: 100%;
    max-width: calc(1110px + calc(var(--container-padding) * 2));
    margin: 160px auto 60px;
    padding: 0 var(--container-padding);

    font-family: Onest;
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, .6);
}
main.regular-page a {
    color: #f8e7bc;
}
main.regular-page a:hover {
    color: #946e0f;
}
main.regular-page h2 {
    color: #f8e7bc;
    font-size: 24px;
    margin-bottom: 16px;
}
main.regular-page .modified_date {
    margin-top: 24px;
    color: #f8e7bc;
    font-weight: bold;
    text-align: right;
}


a.ai_link {
    position: absolute;
    color: rgba(0, 0, 0, 0) !important;
    pointer-events: none;
}

@media only screen and (max-width: 760px) {

    .banner .banner_image {
        background-image: image-set(url(img/index/Banner_mobile.webp?v=1789330000) type("image/webp"), url(img/index/Banner_mobile.png?v=1789330000) type("image/png")) !important;
    }
}

@media only screen and (max-width: 480px) {

    .banner .banner_image {
        background-image: image-set(url(img/index/Banner_mobile.webp?v=1789330000) type("image/webp"), url(img/index/Banner_mobile.png?v=1789330000) type("image/png")) !important;
    }    
}
.fade-in-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}
.fade-in-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


footer {
    width: 100%;
    border-top: 1px solid #333;
}
footer .footer_section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}


@media (min-width: 961px) {
    .events .event-seasons {
        width: 95% !important;
        max-width: 1560px !important;
        margin: 0 auto !important;
    }
}

.contacts {
    padding: 60px 5% !important;
}
footer .footer_section {
    padding: 10px 5% 5px 5% !important;
    width: 100% !important;
    max-width: 100% !important;
}


.contacts {
    grid-template-columns: 1fr 1fr;
}
@media (max-width: 1024px) {
    .contacts {
        grid-template-columns: 100%;
    }
}

footer {
    width: 100%;
    margin-top: 20px;
    position: relative;
}

footer::before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #555;
    position: absolute;
    top: 0;
    left: 0;
}

html, body {
    overflow-x: hidden;
}
.banner_content {
    margin-left: 5% !important;
}


#intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.2s ease;
}
.intro__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1a1a1a;
    z-index: 1;
}
.intro__white {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    z-index: 2;
    clip-path: circle(0% at 50% 50%);
    -webkit-clip-path: circle(0% at 50% 50%);
}
.intro__star {
    position: absolute;
    z-index: 3;
    opacity: 0;
    width: 60px; /* Adjust size based on design */
    height: auto;
}
.intro-lock {
    overflow: hidden !important;
}

#intro[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

/* Fix events grid for desktop to be 5 columns, 2 rows */
.events {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 20px 0 60px 0 !important;
    box-sizing: border-box !important;
}

@media (min-width: 961px) {
    .events .event-seasons {
        width: 95% !important;
        max-width: 1560px !important;
        margin: 0 auto !important;
        padding: 30px 0 !important;
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 16px !important;
        box-sizing: border-box !important;
        justify-content: center !important;
    }
}

.events .event-seasons .event-item,
.events .event-item {
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 540 / 359 !important;
    height: auto !important;
    max-height: none !important;
    position: relative !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.events .event-seasons .event-item:hover,
.events .event-item:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7) !important;
}

.events .event-seasons .event-item .background-image,
.events .event-item .background-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 16px !important;
}

.events .event-seasons .event-item .overlay-image,
.events .event-item .overlay-image {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    pointer-events: none !important;
}

.events .event-seasons .event-item .content,
.events .event-item .content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;
    padding: 10px !important;
}

.events .event-item .content h2 {
    text-align: center !important;
    font-family: Rosemaria, serif !important;
    font-size: 20px !important;
    color: #f8e7bc !important;
    margin: 0 0 6px 0 !important;
}

.events .event-item .content .card-divider {
    width: 60% !important;
    border: none !important;
    border-top: 1px solid #f8e7bc !important;
    margin: 6px 0 !important;
}

.events .event-item .content .card-subtitle {
    text-align: center !important;
    color: #f8e7bc !important;
    font-size: 13px !important;
    margin-bottom: 8px !important;
    font-family: Onest, sans-serif !important;
}

.certificates, .gift-cert, .cert_banner {
    display: none !important;
}

@media (max-width: 1100px) and (min-width: 961px) {
    .events .event-seasons {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
}

/* Update the style for "Что вас ждет на шоу" */
.about_show h2 {
    color: #f8e7bc !important;
    font-family: Rosemaria, serif !important;
    font-size: 52px !important;
    text-transform: uppercase;
}

@media only screen and (max-width: 760px) {
    .about_show h2 {
        font-size: 36px !important;
        margin: 40px auto !important;
    }
}

/* Update Footer Font and Spacing */
footer .footer_section .footer_block a {
    font-family: Onest, sans-serif !important;
    font-size: 16px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: 6px !important;
    transition: color 0.3s ease;
}
footer .footer_section .footer_block a:hover {
    color: #f8e7bc !important;
}

/* Legal text bottom alignment */
footer .section_down .footer_block a {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}
footer .section_down .footer_block a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Fix social buttons hover */
footer .social_btn:hover {
    color: #f8e7bc !important;
}
footer .social_btn:hover svg {
    stroke: #f8e7bc !important;
}

/* Fix footer logo max-width override */
footer .footer_section .first_footer_block img[alt="logo footer"] {
    max-width: none !important;
    height: 90px !important;
    width: auto !important;
    object-fit: contain;
    margin-bottom: 20px;
}

/* Adjust social icons image width inside link_block */
footer .footer_section .footer_block .link_block img,
footer .footer_section .footer_block .link_block svg {
    max-width: 24px !important;
    width: 24px !important;
    height: 24px !important;
}
/* Увеличенная кнопка на главном баннере */
.banner_content .red_button {
    padding: 16px 36px !important;
    font-size: 20px !important;
    border-radius: 12px !important;
}

@media only screen and (max-width: 760px) {
    .banner_content .red_button {
        padding: 14px 28px !important;
        font-size: 18px !important;
        width: auto !important;
        max-width: fit-content !important;
        margin: 0 auto !important;
    }
}

/* Позиционирование кнопки на баннере */
.banner_image {
    position: relative;
    display: flex;
}

.banner_content.desktop_only {
    position: absolute !important;
    bottom: 8% !important;
    left: 15% !important;
    margin: 0 !important;
    width: auto !important;
}

@media only screen and (max-width: 1024px) {
    .banner_content.desktop_only {
        left: 4% !important;
    }
}

@media only screen and (max-width: 760px) {
    .banner_content.mobile_only {
        margin-top: -60px !important;
        position: relative;
        z-index: 10;
        display: flex;
        justify-content: center;
    }
    .banner_content.mobile_only .red_button {
        margin: 0 auto !important;
    }
}

/* Увеличиваем высоту баннера, чтобы скрыть черные полосы снизу */


@media only screen and (max-width: 1024px) {
    .banner {
        padding-top: 38px !important;
    }
    .banner_main {
        min-height: auto !important;
        padding: 0 16px 16px 16px !important;
    }
}

.banner_main {
    min-height: auto;
    padding: 115px 5%;
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    background-color: #0b0b0d !important;
}

#fixed-bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('./img/main-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: -999;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
}

.banner .banner_image {
    background-image: url('img/index/banner.webp?v=1789350000') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
}

@media only screen and (min-width: 1025px) {
    .banner .banner_image:hover {
        background-image: url('img/index/banner_hover.webp?v=1789350000') !important;
        transition: background-image 0.3s ease-in-out !important;
    }
}

@media only screen and (max-width: 1024px) and (min-width: 761px) {
    .banner .banner_image {
        background-image: url('img/index/Banner_tablet.webp?v=1789350000') !important;
    }
}




.about .about_us .section_title {
    text-shadow: 0 0 10px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.6);
}

.about .about_show h2 {
    text-shadow: 0 0 10px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.8), 0 0 30px rgba(0,0,0,0.6);
}

.about .about_us .section_title,
.about .about_show h2 {
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 1), 0px 0px 30px rgba(0, 0, 0, 0.8), 0px 0px 50px rgba(0, 0, 0, 0.8) !important;
}

.footer_section .footer_block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

footer .footer_section .section_up, footer .footer_section .section_down {
    margin-bottom: 16px !important;
}
footer .footer_section .first_footer_block img[alt="logo footer"] {
    height: 60px !important;
    margin-bottom: 10px !important;
}

.footer_hr { margin: 8px 0 !important; }

footer .footer_section .section_up {
    margin-bottom: 8px !important;
}
footer .footer_section .section_down {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

footer { background-color: rgba(0, 0, 0, 0.8) !important; }

footer .footer_section .section_up { align-items: center !important; }

footer .footer_section .footer_block {
    justify-content: center !important;
}

@media only screen and (max-width: 900px) {
    .new_modal_layout .modal-body-container {
        flex-direction: column !important;
        overflow-y: auto !important;
    }
    .new_modal_layout .modal-body-container > div:first-child { /* thumbsCol */
        flex-direction: row !important;
        width: 100% !important;
        height: 100px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
    }
    .new_modal_layout .modal-body-container > div:first-child > div {
        width: 120px !important;
        height: 80px !important;
    }
    .new_modal_layout .modal-body-container > div:nth-child(2) { /* mainFrame */
        min-height: 250px !important;
    }
    .new_modal_layout .modal-body-container > div:nth-child(3) { /* detailsCol */
        width: 100% !important;
        height: auto !important;
    }
    .new_modal_layout .event_title h1 {
        font-size: 16px !important;
    }
    .new_modal_layout .event_prev, .new_modal_layout .event_next {
        min-width: 80px !important;
        font-size: 12px !important;
        padding: 8px !important;
    }
}



/* Make the ticket banner slightly bigger */
.banner_image {
    transform: scaleX(1.05);
    transform-origin: center top;
}
@media only screen and (max-width: 1024px) {
    .banner_image {
        transform: scaleX(1.02);
    }
}
@media only screen and (max-width: 760px) {
    .banner_image {
        transform: scaleX(1);
    }
}

.red_button { text-align: center; }

header .buttons .red_button {
    white-space: nowrap;
    height: 44px; /* Same height as black_button might be */
    padding: 8px 16px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
header .buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}
header .buttons .black_button {
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px !important;
    margin: 0 !important;
}

@media only screen and (max-width: 760px) {
    #logo-wrapper {
        justify-content: flex-start !important;
        min-height: unset !important;
        flex: none !important;
        height: auto !important;
        margin: 0 !important;
    }
}





/* Old mobile styles removed in favor of unified responsive styles */


/* SUPER OVERRIDE FOR EVENT CARDS TEXT */
html body .events .event-seasons .event-item .content h2,
html body .events .event-item .content h2,
html body #events .event-seasons .event-item .content h2 {
    font-family: 'Onest', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding-top: 25px !important;
    padding-bottom: 5px !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
}

html body .events .event-seasons .event-item .content .card-subtitle,
html body .events .event-item .content .card-subtitle,
html body #events .event-seasons .event-item .content .card-subtitle {
    font-family: 'Onest', sans-serif !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    font-weight: 300 !important;
    color: #fff !important;
}

html body .events .event-seasons .event-item .content,
html body .events .event-item .content,
html body #events .event-seasons .event-item .content {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

html body .events .event-seasons .event-item .card-divider,
html body .events .event-item .card-divider {
    margin: 8px 0 !important;
    width: 60% !important;
}

html body .events .event-seasons .event-item .event-item_button,
html body .events .event-item .event-item_button {
    margin-top: 10px !important;
    padding: 6px 14px !important;
    font-size: 13px !important;
}

html body .events .event-seasons .event-item .overlay-image,
html body .events .event-item .overlay-image {
    top: 0 !important;
    left: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
}



/* REVERT WIDTH/HEIGHT FOR CONTENT TO MATCH RED FRAME */
html body .events .event-seasons .event-item .content,
html body .events .event-item .content,
html body #events .event-seasons .event-item .content {
    top: 0 !important;
    left: 0 !important;
    width: 228px !important;
    height: 311px !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    position: absolute !important;
}

html body .events .event-seasons .event-item:nth-child(even) .content {
    left: auto !important;
    right: 0 !important;
}

html body .events .event-seasons .event-item .overlay-image,
html body .events .event-item .overlay-image {
    top: 0 !important;
    left: 0 !important;
    width: 228px !important;
    height: 311px !important;
    object-fit: cover !important;
    position: absolute !important;
}

html body .events .event-seasons .event-item:nth-child(even) .overlay-image {
    left: auto !important;
    right: 0 !important;
}

@media (min-width: 961px) and (max-width: 1024px) {
    html body .events .event-seasons .event-item .content,
    html body .events .event-item .content,
    html body #events .event-seasons .event-item .content,
    html body .events .event-seasons .event-item .overlay-image,
    html body .events .event-item .overlay-image {
        width: 170px !important;
        height: 188px !important;
    }
    
    html body .events .event-seasons .event-item .content h2,
    html body .events .event-item .content h2 {
        font-size: 14px !important;
        padding-top: 10px !important;
    }
    
    html body .events .event-seasons .event-item .content .card-subtitle,
    html body .events .event-item .content .card-subtitle {
        font-size: 10px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
}



/* ABSOLUTE CENTER AND OVERRIDE ALL PADDINGS */
html body .events .event-seasons .event-item .content,
html body .events .event-item .content,
html body #events .event-seasons .event-item .content {
    top: 0 !important;
    left: 0 !important;
    width: 228px !important;
    height: 311px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    position: absolute !important;
    background: transparent !important;
}

html body .events .event-seasons .event-item .content h2,
html body .events .event-item .content h2 {
    font-family: 'Onest', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.1 !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    color: #f8e7bc !important;
    width: 100% !important;
}

html body .events .event-seasons .event-item .content .card-subtitle,
html body .events .event-item .content .card-subtitle {
    font-family: 'Onest', sans-serif !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    font-weight: 300 !important;
    color: #fff !important;
    text-align: center !important;
    width: 100% !important;
}

html body .events .event-seasons .event-item .card-divider,
html body .events .event-item .card-divider {
    margin: 0 0 10px 0 !important;
    width: 60% !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    border-top: 1px solid rgba(255,255,255,0.4) !important;
}

html body .events .event-seasons .event-item .event-item_button,
html body .events .event-item .event-item_button {
    margin: 0 !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
}



/* Custom image content layout */
html body .events .event-seasons .event-item .content.custom-image-content,
html body .events .event-item .content.custom-image-content,
html body #events .event-seasons .event-item .content.custom-image-content {
    justify-content: flex-end !important;
    align-items: flex-end !important;
    padding: 20px !important;
}

/* Allow hovering over the full card to click the button maybe? Or just keep button at bottom right */



/* FULL SIZE FOR CUSTOM IMAGE CONTENT (to show button at bottom right) */
html body .events .event-seasons .event-item .content.custom-image-content,
html body .events .event-item .content.custom-image-content,
html body #events .event-seasons .event-item .content.custom-image-content {
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    justify-content: flex-end !important;
    align-items: flex-end !important;
    padding: 25px !important;
}

html body .events .event-seasons .event-item .content.custom-image-content .event-item_button {
    background-color: rgba(139, 16, 20, 0.9) !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5) !important;
    z-index: 20 !important;
}


@media only screen and (min-width: 1025px) {
    .banner .banner_image:hover {
        background-image: url('img/index/banner_hover.webp?v=1789350000') !important;
    }
}


/* Hide scrollbar for thumbs column */
.thumbs-col::-webkit-scrollbar {
    display: none !important;
}
.thumbs-col {
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
}

/* Hide ALL scrollbars in the modal */
.new_modal_layout, 
.new_modal_layout *, 
.thumbs-col, 
.modal-body-container > div {
    scrollbar-width: none !important;  /* Firefox */
    -ms-overflow-style: none !important;  /* IE and Edge */
}

.new_modal_layout::-webkit-scrollbar, 
.new_modal_layout *::-webkit-scrollbar, 
.thumbs-col::-webkit-scrollbar, 
.modal-body-container > div::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Card alignment and scale for preview cards - clean center positioning */
html body .events .event-seasons .event-item .background-image,
html body .events .event-item .background-image,
html body #events .event-seasons .event-item .background-image {
    object-position: center center !important;
    transform: none !important;
    transform-origin: center center !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

@media only screen and (max-width: 960px) {
    html body .events .event-seasons .event-item .background-image,
    html body .events .event-item .background-image,
    html body #events .event-seasons .event-item .background-image {
        -o-object-position: left center !important;
        object-position: left center !important;
    }
}

/* Modal video display: vertical rectangular framing without square black box */
.modal-body-container .modal-main-frame {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.modal-body-container video {
    background: transparent !important;
    background-color: transparent !important;
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    border: 1px solid rgba(248, 231, 188, 0.25) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
}

.modal-body-container .modal-main-frame img {
    background: transparent !important;
    background-color: transparent !important;
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    border: 1px solid rgba(248, 231, 188, 0.25) !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6) !important;
}

.modal-body-container .thumbs-col img {
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    object-fit: cover !important;
    width: 100% !important;
    height: 100% !important;
}

/* --- Text readability without dark background boxes (matches "ТАНЦЕВАЛЬНОЕ ШОУ НА МЕРОПРИЯТИЯ" & "Что вас ждет на шоу") --- */
.about_show .show_block .block_info,
.events-info .events_block {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
}

/* Titles: same shadow style as "ТАНЦЕВАЛЬНОЕ ШОУ НА МЕРОПРИЯТИЯ" and "Что вас ждет на шоу" */
.section_title,
.about .section_title,
.about_show h2,
.events-info .section_title,
.events-info .events_block .section_title,
.about_show .show_block .block_info h3 {
    color: #f8e7bc !important;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 1), 0px 0px 30px rgba(0, 0, 0, 0.8), 0px 0px 50px rgba(0, 0, 0, 0.8) !important;
}

/* Paragraph text: clear text-shadow without dark background */
.section_p,
.events-info .section_p,
.events-info .events_block .section_p,
.about_show .show_block .block_info p {
    color: #ffffff !important;
    text-shadow: 0px 3px 12px rgba(0, 0, 0, 1), 0px 0px 24px rgba(0, 0, 0, 0.9), 0px 0px 40px rgba(0, 0, 0, 0.85) !important;
}

/* Contacts section: clear text-shadow without dark background boxes */
.contacts,
.contacts_info {
    background: transparent !important;
}

.contacts_info h3 {
    font-size: clamp(36px, 3.8vw, 50px) !important;
    font-family: 'Playfair Display', serif !important;
    font-weight: 700 !important;
    color: #f8e7bc !important;
    line-height: 1.25 !important;
    margin-bottom: 28px !important;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 1), 0px 0px 30px rgba(0, 0, 0, 0.8), 0px 0px 50px rgba(0, 0, 0, 0.8) !important;
}

.contacts_info .question {
    font-size: clamp(26px, 2.6vw, 34px) !important;
    color: #f8e7bc !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    text-shadow: 0px 4px 15px rgba(0, 0, 0, 1), 0px 0px 30px rgba(0, 0, 0, 0.8) !important;
}

.contacts_info a {
    font-size: clamp(22px, 2.2vw, 28px) !important;
    color: #ffffff !important;
    text-shadow: 0px 3px 12px rgba(0, 0, 0, 1), 0px 0px 24px rgba(0, 0, 0, 0.95) !important;
}

.contacts_info .social_btn {
    font-size: clamp(20px, 2.1vw, 26px) !important;
    color: #ffffff !important;
    text-shadow: 0px 3px 12px rgba(0, 0, 0, 1), 0px 0px 24px rgba(0, 0, 0, 0.95) !important;
}

.contacts_info img,
.contacts_info svg,
.contacts_info span {
    filter: drop-shadow(0px 3px 10px rgba(0, 0, 0, 0.95)) drop-shadow(0px 0px 20px rgba(0, 0, 0, 0.85)) !important;
}

/* Prevent document height collapse when modals open so page doesn't scroll to top */
body.no-scroll,
.no-scroll {
    overflow: hidden !important;
    height: auto !important;
    min-height: 100vh !important;
}

/* Perfect Gold Frame & Image Alignment across all devices */
.about_show .show_block .image-frame,
.events-info .image-frame {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    padding: 0 !important;
}

.about_show .show_block .image-frame img.cut-corners,
.events-info .image-frame img.cut-corners {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 !important;
    mask: none !important;
    -webkit-mask: none !important;
    border-radius: 6px !important;
}

.about_show .show_block .image-frame picture,
.events-info .image-frame picture {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    box-sizing: border-box !important;
}

.about_show .show_block .image-frame picture .gold-frame,
.about_show .show_block .image-frame .gold-frame,
.events-info .image-frame picture .gold-frame,
.events-info .image-frame .gold-frame {
    position: absolute !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: fill !important;
    pointer-events: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
}



