/* faq v26 — masonry board + falling glyphs */
.faq-masonry__col {
  min-width: 0;
}

.faq-masonry__cell {
  min-height: 12rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

@media (min-width: 768px) {
  .faq-masonry__cell {
    min-height: 13.5rem;
  }
}

.faq-masonry__body {
  width: 100%;
  flex: 1 1 auto;
}

.faq-masonry__cell--featured {
  min-height: 14rem;
}

@media (min-width: 768px) {
  .faq-masonry__cell--featured {
    min-height: 16.5rem;
  }
}

.faq-masonry__answer {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.faq-masonry__cell--featured .faq-masonry__answer {
  -webkit-line-clamp: 5;
}

.faq-masonry__photo {
  object-fit: cover;
  filter: grayscale(1);
  transition: filter 500ms ease;
}

.faq-masonry__cell:hover .faq-masonry__photo {
  filter: grayscale(0);
}

.faq-masonry__shade {
  transition: opacity 300ms ease;
}

.faq-masonry__cell--media:hover .faq-masonry__shade {
  opacity: 0.92;
}

/* Falling question marks */
.faq-masonry__backdrop {
  width: 100%;
  height: 100%;
}

.faq-masonry__glyph {
  position: absolute;
  top: 0;
  right: auto;
  margin: 0;
  animation: faq-masonry-glyph-fall linear infinite;
  will-change: transform, opacity;
  font-family: ui-sans-serif, system-ui, sans-serif;
}

.faq-masonry__glyph--sm {
  font-size: 5rem;
}

.faq-masonry__glyph--md {
  font-size: 7.5rem;
}

.faq-masonry__glyph--lg {
  font-size: 10rem;
}

.faq-masonry__glyph--a { left: 5%; animation-duration: 14s; animation-delay: 0s; }
.faq-masonry__glyph--b { left: 20%; animation-duration: 16s; animation-delay: -3s; }
.faq-masonry__glyph--c { left: 35%; animation-duration: 18s; animation-delay: -7s; }
.faq-masonry__glyph--d { left: 50%; animation-duration: 15s; animation-delay: -2s; }
.faq-masonry__glyph--e { left: 65%; animation-duration: 17s; animation-delay: -9s; }
.faq-masonry__glyph--f { left: 80%; animation-duration: 13s; animation-delay: -5s; }
.faq-masonry__glyph--g { left: 92%; animation-duration: 19s; animation-delay: -11s; }
.faq-masonry__glyph--h { left: 12%; animation-duration: 16.5s; animation-delay: -13s; }
.faq-masonry__glyph--i { left: 42%; animation-duration: 14.5s; animation-delay: -6s; }
.faq-masonry__glyph--j { left: 72%; animation-duration: 17.5s; animation-delay: -4s; }
.faq-masonry__glyph--k { left: 58%; animation-duration: 20s; animation-delay: -15s; }
.faq-masonry__glyph--l { left: 28%; animation-duration: 15.5s; animation-delay: -8s; }

@keyframes faq-masonry-glyph-fall {
  0% {
    transform: translateY(-20%) rotate(-8deg);
    opacity: 0;
  }
  6% {
    opacity: 0.35;
  }
  50% {
    transform: translateY(50vh) rotate(6deg);
  }
  94% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(110vh) rotate(12deg);
    opacity: 0;
  }
}

@media (min-width: 768px) {
  .faq-masonry__glyph--sm {
    font-size: 6rem;
  }

  .faq-masonry__glyph--md {
    font-size: 9rem;
  }

  .faq-masonry__glyph--lg {
    font-size: 12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-masonry__glyph {
    animation: none;
    opacity: 0.2;
  }
}

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

.tips-compact__thumb--xs {
    width: 1.5rem;
    height: 1.5rem;
}

/* contact-split — full-height image needs object-fit (no BS util) */
.contact-split__img {
    object-fit: cover;
    min-height: 16rem;
    max-height: 28rem;
}

/* contact-split — icon cell size (TW rounded padding has no fixed-size BS util) */
.contact-split__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

