
.header__menu .sub-menu {
    background-image: linear-gradient(134deg, #ffcb00, #ff0000, #ffcb00, #ff0000, #ffcb00) !important;
}			
.header__menu .sub-menu .menu-item {
    border: 1px solid #ffffff5c!important;
}
.wpcf7{
	background: #357581!important;
  padding-top: 24px !important;
    padding-right: 24px !important;
    padding-bottom: 8px !important;
    padding-left: 24px !important;
	color: #ffffff;
}
.wpcf7 content-text p {
background-color: #ecf8f426!important
}
input.wpcf7-form-control.wpcf7-submit.has-spinner{
	padding: 4px!important;
  border-radius: 4px!important;
  background-color: #357581!important;
	font-size: 20px;
  color: white;
}
.wpcf7-form p{
	background-color: #ecf8f400!important;
	margin-top: 14px;
}
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    padding-top: 4px;
    padding-right: 4px;
    padding-bottom: 4px;
    padding-left: 16px;
    border-radius: 4px;
	  font-size: 18px
}
.breadcrumbs{
display: none;
}
.sidebar-form {
    display: none;
}
.header__menu .sub-menu {
    padding: 0px!important;
    left: 0px!important;
    transform: translate(105px);
    width: 100%!important;
}
.header__menu .sub-menu .menu-item a {
    padding: calc(.25vw + 2.2px) calc(0vw + 14.4px) !important;
	text-align-last: center;
}
.header__menu .menu-item a {
		letter-spacing: 1px!important;
}
.button-orang {
    display: none!important;
}
.didnt-answer {
    display: none;
}
.form__wrap {
    display: none;
}
.header__info {
    justify-content: center;
}
.call__info {
    margin-top: -20px;
    margin-bottom: 12px;
    align-self: center;
}
p.call__info-text {
    background-color: #0f8699!important;
    border: 1px solid #08363d;
    color: #fff;
    transition: background-color .3s;
    padding: 8px 12px;
    border-radius: 4px;
	  width: max-content;
}
.content-text a:hover {
    color: #000000;
}
a.call__info-link {
    color: white;
}
.arrow-button {
    padding: 10px 20px;
    border: 1px solid #000000;
    background-color: #0f869900;
    color: #000000!important;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.3);
    border-radius: 3px;
	padding-top: clamp(10px, 3vw, 18px);
    padding-right: clamp(32px, 3vw, 40px);
    padding-bottom: clamp(10px, 3vw, 18px);
    padding-left: clamp(32px, 3vw, 40px);
}

  .arrow-button::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -16.67px; /* Стрелка в 1.5 раза меньше */
    border-top: 16.67px solid transparent; /* Верхняя часть стрелки */
    border-bottom: 16.67px solid transparent; /* Нижняя часть стрелки */
    border-left: 16.67px solid white; /* Цвет стрелки */
    transition: all 0.7s ease;
    transform: translateY(-50%);
    opacity: 0;
    z-index: 1;
  }

  .arrow-button:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    transform: translateY(-5px);
   /* width: calc(45% + 6%); *//* Увеличение ширины кнопки на 20% */
    background-color: #0f8699;
		box-shadow: 0px 31px 16px -20px rgba(0, 0, 0, 0.4);
    border: 1px solid #00000000;
  }

  .arrow-button:hover::after {
    opacity: 1;
    right: 10px; /* Переместить стрелку внутрь кнопки */
  }
.section-banner__wrap {
    margin-top: 0px;
}
@media (max-width: 1899px) {
    .header__logo-img {
        transition: transform 0.7s cubic-bezier(0, -0.92, 0.36, 0.79);
    }
}
img.header__logo-img:hover {
    transform: rotateY(360deg) scale3d(1.5, 1.5, 1.5);
}

/* Применяем анимации к тексту */
.dancing-text {
 animation: dancing-text 3s infinite alternate;
}
/* Создаем анимацию для танцующих строк */
@keyframes dancing-text {
  0%, 100% {
    transform: translateX(0) translateY(0) scale(1);
  }
  25% {
    transform: translateX(10px) translateY(-10px) scale(1.1);
  }
  50% {
    transform: translateX(-10px) translateY(10px) scale(0.85);
  }
  75% {
    transform: translateX(10px) translateY(-10px) scale(1.05);
  }
}

/*----------*/
/* Последние записи */
.recent-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.recent-post-item {
    background: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-align: center;
}

.recent-post-thumbnail {
    overflow: hidden;
}

.recent-post-thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.recent-post-title a {
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
}

/* Стили для десктопной версии */
@media (min-width: 768px) {
    .recent-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .recent-post-thumbnail img {
        width: 100%!important;
    }

    .recent-post-thumbnail:hover img {
        transform: scale(1.1);
    }
}
