/* Общие стили */
body {
    padding: 0px;
    margin: 0px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
    width: calc(100vw - var(--scrollbar-width));
    background: #ffffff;
    font-size: 18px;
}

@font-face {
    font-family: 'Cherry Bomb';
    src: url('../fonts/CherryBomb-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Стили для скроллбара */
html {
    scroll-padding-top: 0 !important;
    --wp-admin--admin-bar--height: 0 !important;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Стили контейнеров */
.container {
    max-width: 1355px;
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
    height: 100%;
}

.container_text {
    max-width: 1355px;
    margin: 0 auto;
    padding: 0 10px;
    width: 100%;
    box-sizing: border-box;
    text-align: justify;
}

/* Стили сайта */

/* Основные стили для шапки */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
}

.header-container {
    background: #202325;
    height: 75px;
    width: 100%;
}

.header-grid {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    height: 100%;
    gap: 20px;
}

.header-column {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Стили для логотипа */
.site-logo img {
    width: 63px;
    height: 63px;
    display: block;
}

/* Стили для названия сайта */
.site-name-column {
    font-family: 'Cherry Bomb', sans-serif;
    color: #0FB3DC;
    text-align: center;
    font-size: 26px;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.site-name-column br {
    display: block;
    content: "";
    margin: 5px 0;
}

/* Стили для меню */
.menu-column {
    justify-content: flex-end;
}

.main-navigation {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.header-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu > li {
    position: relative;
    margin: 0 10px;
}

.header-menu a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.header-menu a:hover {
    color: #0FB3DC;
}

/* Стили для стрелки меню */
.menu-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #FFFFFF;
    transition: transform 0.3s;
}

.menu-item-has-children:hover > a > .menu-arrow {
    transform: rotate(180deg);
}

/* Выпадающее меню */
.header-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #202325;
    min-width: 227px;
    padding: 10px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.header-menu .sub-menu.level-2 {
    left: 100%;
    top: 0;
}

.header-menu .sub-menu.level-3 {
    left: 100%;
    top: 0;
}

.header-menu > li:hover > .sub-menu.level-1 {
    opacity: 1;
    visibility: visible;
}

.header-menu .sub-menu.level-1 li:hover > .sub-menu.level-2 {
    opacity: 1;
    visibility: visible;
}

.header-menu .sub-menu.level-2 li:hover > .sub-menu.level-3 {
    opacity: 1;
    visibility: visible;
}

.header-menu .sub-menu li {
    padding: 5px 15px;
}

/* Стили для кнопки */
.header-button {
    background: #0FB3DC;
    color: #FFFFFF;
    padding: 7px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.3s;
    text-align: center;
    white-space: nowrap;
}

.header-button:hover {
    background: #0d9ec4;
}