/* Small-screen layout tweaks */
@media only screen and (max-width: 699px){
  .listing__item{flex:0 0 calc(100% / 2 - calc(var(--listing-gap)));}
}

/* Slightly reduce card text on small screens and prevent long-word clipping */
@media only screen and (max-width: 699px){
  .card__body-title,
  .card__body-subtitle,
  .card__body-text{font-size:1.3em;word-break:break-word;overflow-wrap:anywhere;hyphens:auto;}
}

/* Mobile hover fallback: keep CTA visible on touch/small screens */
@media (hover: none), only screen and (max-width: 769px){
  .card .card__body-foldable{
    opacity:1 !important;
    height:var(--card-fold-height) !important;
  }
  .card .card__body::after{opacity:.8 !important;}
}
/* Slightly smaller card CTA button on small screens */
@media only screen and (max-width: 699px){
  .card__body-button{font-size:14px;padding:.55em 1.1em;}
  .card__body-button .card__body-arrow{width:.85rem;}
}

