@keyframes rotateSquare {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.intro-pattern-overlay {
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, currentColor 20px, currentColor 40px);
    opacity: 0.03;
    top: -20%;
    left: -30%;
    width: 100%;
    height: 100%;
    animation: rotateSquare 20s linear infinite;
}

.intro-pattern-content {
    max-width: 56rem;
}

.content-flow-gap {
    gap: 4rem;
}

.content-prose-measure {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

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

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

/* image stagger — sm:translate-y-3 / sm:-translate-y-3 have no BS utility */
@media (min-width: 640px) {
    .content-stagger__img-up   { transform: translateY(0.75rem); }
    .content-stagger__img-down { transform: translateY(-0.75rem); }
}

/* dashed border — not a native BS utility */
.content-panel__dashed { border-style: dashed; }

/* decor line — fixed width to match w-16 */
.content-decor__line { width: 4rem; height: 0; display: block; }

/* CTA hover — transform/transition have no BS utility */
.content-cta__lift { transition: transform 150ms ease; }
.content-cta__lift:hover { transform: translateY(-2px); }

/* 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;
  }
}

/* Bootstrap: grid + gap (row gutters often collapse) */
.tips-detailed__bs-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .tips-detailed__bs-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.tips-detailed__subtitle-max {
    max-width: 42rem;
}

.tips-detailed__thumb {
    width: 3rem;
    height: 3rem;
}

.tips-detailed__cta-thumb {
    width: 2rem;
    height: 2rem;
}

.tips-detailed__min-shrink {
    min-width: 0;
}

/* subscribe v16 — geometry shared by both CSS frameworks (Bootstrap has no utilities for it) */
.mailing-counter__section--py-4xl {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.mxw-3xl {
    max-width: 48rem !important;
}

.mxw-xl {
    max-width: 36rem !important;
}

/* decorative background blobs — fixed sizing, placement and blur */
.mailing-counter__blob {
    width: 16rem;
    height: 16rem;
    filter: blur(64px);
}

.mailing-counter__blob--a {
    top: -4rem;
    inset-inline-start: -4rem;
    width: 18rem;
    height: 18rem;
}

.mailing-counter__blob--b {
    bottom: -5rem;
    inset-inline-end: -2.5rem;
    width: 22rem;
    height: 22rem;
}

.mailing-counter__blob--c {
    top: 33.333333%;
    inset-inline-end: 25%;
    width: 12rem;
    height: 12rem;
}

.mailing-counter__title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.mailing-counter__subtitle {
    margin-bottom: 2.5rem;
}

.mailing-counter__row {
    flex-direction: column;
    gap: 1rem;
}

.mailing-counter__input {
    width: 100%;
    max-width: 20rem;
    padding: 0.75rem 1rem;
}

.mailing-counter__cta {
    padding: 0.75rem 2rem;
}

.mailing-counter__cta--hover {
    transition: transform 0.2s ease;
}

.mailing-counter__cta--hover:hover {
    transform: scale(1.05);
}

.mailing-counter__panel {
    padding: 2rem;
}

.mailing-counter__panel-title {
    font-size: 1.5rem;
}

@media (min-width: 640px) {
    .mailing-counter__row {
        flex-direction: row;
    }

    .mailing-counter__input {
        width: auto;
        flex: 1 1 0%;
    }
}

@media (min-width: 768px) {
    .mailing-counter__title {
        font-size: 3rem;
    }

    .mailing-counter__panel-title {
        font-size: 1.875rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mailing-counter__cta--hover:hover {
        transform: none;
    }
}

