/* Shared outline controls — readable as buttons on every breakpoint */

.ui-btn,
.blog-post__back,
.blog-page__link,
.case-page__back,
.library-single__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--divider-strong);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--text-main);
  font-family: inherit;
  font-size: var(--fs-ui);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color .2s ease,
    color .2s ease,
    background .2s ease,
    opacity .2s ease;
}

.ui-btn:hover,
.blog-post__back:hover,
.blog-page__link:hover,
.case-page__back:hover,
.library-single__back:hover {
  border-color: var(--text-soft);
  color: var(--text-main);
  opacity: 1;
}

.ui-btn:focus-visible,
.blog-post__back:focus-visible,
.blog-page__link:focus-visible,
.case-page__back:focus-visible,
.library-single__back:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.ui-btn svg,
.blog-post__back svg,
.blog-page__link svg,
.case-page__back svg,
.library-single__back svg {
  width: 14px;
  height: 14px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s var(--ease-out);
}

.blog-page__link:hover svg {
  transform: translateX(2px);
}

.blog-post__back:hover svg,
.case-page__back:hover svg,
.library-single__back:hover svg {
  transform: translateX(-2px);
}

/* Site-wide outline icon stroke (menu / search / services language) */
.ui-icon svg,
.search__item-icon > svg,
.header__panel-icon svg,
.header__panel-theme-icon svg,
.header__theme-icon svg,
.home-service__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
