/*
Theme Name:     Rabota
Description:    Дочерняя тема для темы twentytwentyfive 
Author:         1
Template:       twentytwentyfive
Version:        1.0
*/
/* Анимация ссылок с возможностью настройки цветов темы */
a:not(.wp-element-button):not(button):not(.button):not(.wp-block-button__link) {
  text-decoration: none;
  outline: none;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

/* Убираем стандартную обводку */
a:not(.wp-element-button):not(button):not(.button):not(.wp-block-button__link):focus,
a:not(.wp-element-button):not(button):not(.button):not(.wp-block-button__link):active {
  outline: none;
  box-shadow: none;
}

/* Анимация подчеркивания */
a:not(.wp-element-button):not(button):not(.button):not(.wp-block-button__link)::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

a:not(.wp-element-button):not(button):not(.button):not(.wp-block-button__link):hover {
  color: var(--wp--preset--color--primary, #1c7fda);
}

a:not(.wp-element-button):not(button):not(.button):not(.wp-block-button__link):hover::before {
  width: 100%;
}

/* Убираем обводку для всех элементов */
*:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Убираем анимацию для кнопок */
.wp-element-button,
button,
.button,
.wp-block-button__link {
  transition: none !important;
  animation: none !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Убираем hover эффекты для кнопок */
.wp-element-button:hover,
button:hover,
.button:hover,
.wp-block-button__link:hover {
  transform: none !important;
  box-shadow: none !important;
  animation: none !important;
}

/* Убираем псевдоэлементы с кнопок */
.wp-element-button::before,
.wp-element-button::after,
button::before,
button::after,
.button::before,
.button::after,
.wp-block-button__link::before,
.wp-block-button__link::after {
  display: none !important;
}

/* Убираем фокусные стили с кнопок */
.wp-element-button:focus,
button:focus,
.button:focus,
.wp-block-button__link:focus {
  outline: none !important;
  box-shadow: none !important;
}