@media (max-width: 767px) {
  .hero {
    padding-top: calc(var(--nav-height) + var(--safe-top) + var(--space-xl));
  }

  .hero-tagline {
    font-size: var(--text-base);
  }

  .section-title {
    max-width: none;
  }

  .gallery-item-caption {
    transform: translateY(0);
    position: relative;
    background: var(--glass-bg);
  }

  .gallery-item {
    aspect-ratio: auto;
  }

  .gallery-item img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .cgm-feature {
    flex-direction: column;
  }

  .lightbox-content img {
    max-width: 100%;
  }

  .show-more-hidden {
    display: none !important;
  }

  .show-more-btn {
    width: 100%;
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
  }
}

@media (min-width: 768px) {
  .show-more-btn {
    display: none !important;
  }
}

@media (hover: none) {
  .card-lift:hover {
    transform: none;
  }

  .gallery-item:hover img {
    transform: none;
  }

  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}

@media (min-width: 768px) {
  .hero-frame.parallax-enabled {
    transition: transform 0.1s linear;
  }
}
