

/* Исправления для фонового изображения */
.body__background {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

.body__background img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Обеспечиваем правильное отображение контента */
main {
    position: relative !important;
    z-index: 1 !important;
    padding: 0 10px !important;
    max-width: 1140px !important;
    margin: 0 auto !important;
    width: 100% !important;
}



.button {
    padding: 6px;
    cursor: pointer;
    font-size: 20px;
    background: transparent;
    outline: none;
    position: relative;
    overflow: hidden;
    display: flex;
    line-height: 100%;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    font-weight: bold;
    text-transform: uppercase;
    font-family: Bangers, sans-serif;
    font-style: italic;
}

.button_1 {
    background: #cb1105;
    color: white;
}

.form_wrapper {
    max-width: 500px;
    border-radius: 6px;
    overflow: hidden;
    margin: 20px auto 50px;
}

form .big__banner__links {
    margin-top: 30px;
    justify-content: center;
}

.big__banner__links {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
}

.big__banner__link {
    display: flex;
    align-items: center;
    border-radius: 4px;
    justify-content: center;
    background: var(--color-2);
    padding: 12px;
}

.big__banner__link svg {
    width: 20px;
    height: 20px;
}

.form__head {
    padding: 15px;
    width: 100%;
    background: #1a2c38;
}

.form__head svg {
    width: 67px;
    height: 34px;
}

form button {
    width: 100%;
}

.button_2 {
    background: #69b9d2;
    color: white;
}

.section__title_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section__title {
    text-transform: uppercase;
    font-family: Bangers, sans-serif;
    font-style: italic;
    font-size: 48px;
    text-align: center;
    font-weight: bold;
    color: #f5d737;
    text-shadow: 1px 3px black;
}

.section__subtitle {
    margin-top: 15px;
    font-size: 18px;
    text-align: center;
    font-family: Tahoma, sans-serif;
    color: white;
}

.button_3.active {
    background: var(--color-3);
}

.button__svg_wrapper svg {
    width: 32px;
    height: 32px;
}

.button_3 {
    border: 1px solid var(--color-3);
}

.button_4 {
    background: var(--color-9);
}

.button_4:hover {
    background: var(--color-10);
}

.wp-element-button {
    border-radius: 4px!important;
}

.wp-block-post-content a:not(a[href="/go"]) {
    color: var(--color-3);
}

.content_wrapper {
    position: relative;
}

@media (max-width: 500px) {
    .wp-block-button {
        width: 100% !important;
    }

    .section__title {
        font-size: 20px;
    }
}

table {
    margin-block-start: 15px!important;
    margin-block-end: 15px!important;
    border-collapse: collapse;
}

table td {
    border: 1px solid white;
    padding: 10px;
}

.table_wrapper tbody tr:nth-child(odd) {
    background: #69b9d2;
}

.table_wrapper tbody tr:nth-child(even) {
    background: #cb1105;
}

.entry-content .container {
    width: auto;
    transition: all 0.3s;
}

.iframe {
    margin-bottom: 20px;
}

.table_wrapper {
    overflow: auto;
}




/* Исправления для кнопок с более высокой специфичностью */
.wp-block-post-content .button.button_1,
.wp-block-post-content a.button.button_1,
.entry-content .button.button_1,
.entry-content a.button.button_1 {
    background: #cb1105 !important;
    color: white !important;
}

.wp-block-post-content .button.button_2,
.wp-block-post-content a.button.button_2,
.entry-content .button.button_2,
.entry-content a.button.button_2 {
    background: #69b9d2 !important;
    color: white !important;
}

.wp-block-post-content .button.button_3,
.wp-block-post-content a.button.button_3,
.entry-content .button.button_3,
.entry-content a.button.button_3 {
    border: 1px solid var(--color-3) !important;
    color: var(--color-4) !important;
}

.wp-block-post-content .button.button_3.active,
.wp-block-post-content a.button.button_3.active,
.entry-content .button.button_3.active,
.entry-content a.button.button_3.active {
    background: var(--color-3) !important;
    color: var(--color-4) !important;
}

.wp-block-post-content .button.button_4,
.wp-block-post-content a.button.button_4,
.entry-content .button.button_4,
.entry-content a.button.button_4 {
    background: var(--color-9) !important;
    color: var(--color-4) !important;
}

.wp-block-post-content .button.button_4:hover,
.wp-block-post-content a.button.button_4:hover,
.entry-content .button.button_4:hover,
.entry-content a.button.button_4:hover {
    background: var(--color-10) !important;
    color: var(--color-4) !important;
}

/* Исключаем кнопки из стилей ссылок */
.wp-block-post-content a.button,
.entry-content a.button {
    color: inherit !important;
    text-decoration: none !important;
}

/* Стили для страницы 404 */
.error-404 {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-404 {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-404 .big404 {
    animation: bounce 1s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

.page-404 .button {
    transition: all 0.3s ease;
}

.page-404 .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-404 .button.button_1:hover {
    background: #a00d04 !important;
}

.page-404 .button.button_2:hover {
    background: #5a9bb8 !important;
}

@media (max-width: 768px) {
    .page-404 {
        padding: 4rem 0 6rem !important;
    }
    
    .page-404 .big404 {
        font-size: 120px !important;
    }
    
    .page-404 h1 {
        font-size: 28px !important;
    }
    
    .page-404 p {
        font-size: 16px !important;
    }
    
    .page-404 .button {
        padding: 0.8rem 1.5rem !important;
        font-size: 18px !important;
    }
}

