/*
 * BS Reboot задає img { max-width: 100%; height: auto } — у порожній рамці висота стає 0.
 * Рамка з aspect-ratio + absolute img гарантують видиму площу.
 */
.intro-performance-split__thumb {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 14rem;
    aspect-ratio: 4 / 3;
}

.intro-performance-split__thumb > img.intro-performance-split__img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    object-fit: cover;
    z-index: 0;
}

.intro-performance-split__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.intro-performance-split__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.content-flex-min {
    min-width: 0;
}

.leaf-chapter__photo--shift:hover { transform: scale(1.1); transition: transform .2s ease; }

.content-grid-gap {
    gap: 2rem;
}

.content-body-frame {
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

.content-heading-gap {
    margin-bottom: 2rem;
}

.content-medium-height {
    display: block;
    width: 100%;
    height: 18rem;
    min-height: 18rem;
    flex-shrink: 0;
    object-fit: cover;
}

.content-large-height {
    display: block;
    width: 100%;
    height: 20rem;
    min-height: 20rem;
    flex-shrink: 0;
    object-fit: cover;
}

/* v22 tabs — button transition (active colors via TW/BS classes in blade + JS) */
.perks-tab-filter__btn {
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

/* v28 - scattered rotation per card (per-index transform has no TW/BS utility) */
[data-scatter-card] {
    transition: transform 200ms ease;
}

/* fixed card width (w-64 has no equivalent Bootstrap utility) */
.scrapbook-pile__card {
    width: 16rem;
}

[data-scatter-card="0"] {
    transform: rotate(-3deg);
}

[data-scatter-card="1"] {
    transform: rotate(2deg) translateY(-0.5rem);
}

[data-scatter-card="2"] {
    transform: rotate(-1.5deg);
}

[data-scatter-card]:hover {
    transform: rotate(0deg) translateY(0);
}

/* faq wiki-nav — layout + motion (no colors) */
.faq-wiki-nav__aside {
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .faq-wiki-nav__aside {
    width: 15rem;
  }
}

.faq-wiki-nav__layout {
  min-width: 0;
}

.faq-wiki-nav__menu-body {
  min-width: 0;
}

.faq-wiki-nav__main {
  flex: 1 1 0%;
  min-width: 0;
}

.faq-wiki-nav__menu-item {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  cursor: pointer;
  outline-offset: -2px;
}

.faq-wiki-nav__panel--active {
  display: block;
}

.faq-wiki-nav__reveal-item {
  opacity: 0;
  transform: translate3d(-1.25rem, 0, 0);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-wiki-nav__reveal-item--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.faq-wiki-nav__reveal-item:nth-child(1) {
  transition-delay: 0.05s;
}

.faq-wiki-nav__reveal-item:nth-child(2) {
  transition-delay: 0.12s;
}

.faq-wiki-nav__reveal-item:nth-child(3) {
  transition-delay: 0.19s;
}

.faq-wiki-nav__reveal-item:nth-child(4) {
  transition-delay: 0.26s;
}

.faq-wiki-nav__reveal-item:nth-child(5) {
  transition-delay: 0.33s;
}

.faq-wiki-nav__reveal-main {
  opacity: 0;
  transform: translate3d(1.5rem, 0, 0);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.15s;
}

.faq-wiki-nav__reveal-main--visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.faq-wiki-nav__panel--enter .faq-wiki-nav__panel-inner {
  animation: faq-wiki-nav-panel-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes faq-wiki-nav-panel-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-wiki-nav__reveal-item,
  .faq-wiki-nav__reveal-main {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faq-wiki-nav__reveal-item:nth-child(n) {
    transition-delay: 0s;
  }

  .faq-wiki-nav__panel--enter .faq-wiki-nav__panel-inner {
    animation: none;
  }
}

.cta-smoke-hero__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-smoke-hero__lines {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cta-smoke-hero__line-track {
  letter-spacing: 0.08em;
  line-height: 1;
}

.cta-smoke-hero__line--center {
  align-self: center;
  text-align: center;
}

.cta-smoke-hero__line--end {
  align-self: flex-end;
  text-align: end;
  margin-inline-end: 4%;
}

.cta-smoke-hero__line--start {
  align-self: flex-start;
  text-align: start;
  margin-inline-start: 4%;
}

.cta-smoke-hero__rule {
  height: 0;
}

.cta-smoke-hero__cta {
  transition: filter 0.2s ease, transform 0.15s ease;
}

.cta-smoke-hero__cta:hover,
.cta-smoke-hero__cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cta-smoke-hero__cta:hover .cta-smoke-hero__cta-icon,
.cta-smoke-hero__cta:focus-visible .cta-smoke-hero__cta-icon {
  transform: translate(2px, -2px);
}

.cta-smoke-hero__cta-icon {
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  .cta-smoke-hero__lines {
    gap: 0.75rem;
  }

  .cta-smoke-hero__line--end {
    margin-inline-end: 10%;
  }

  .cta-smoke-hero__line--start {
    margin-inline-start: 10%;
  }
}

@media (max-width: 767px) {
  .cta-smoke-hero__line--end,
  .cta-smoke-hero__line--start {
    margin-inline: 0;
    align-self: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-smoke-hero__cta:hover,
  .cta-smoke-hero__cta:focus-visible {
    transform: none;
  }

  .cta-smoke-hero__cta:hover .cta-smoke-hero__cta-icon,
  .cta-smoke-hero__cta:focus-visible .cta-smoke-hero__cta-icon {
    transform: none;
  }
}

