/* INFINITY / urgent public-site corrections / 2026-11-18
   1) Arrow-free UI; keep buttons and navigation usable.
   2) No image distortion; composite artwork and road maps retain native proportions. */

/* Remove any leftover arrow-only decoration from cached templates, while the
   updated Blade removes the arrow characters themselves. */
.f-mobile-nav a > span:empty,
.f-project-card-img > span:empty,
.f-index-table a > span:last-child:empty,
.f-circle-arrow:empty,
.f-spotlight-caption > span:empty,
.f-pill > b:empty,
.fx-small-pill > b:empty,
.f-inline-arrow > b:empty,
.f-footer-cta > b:empty,
.f-nav-cta > b:empty { display:none !important; }

/* Mobile navigation is now text-only; do not reserve a right-hand icon slot. */
.f-mobile-nav nav a { justify-content:flex-start; }
.f-nav-right > .f-nav-cta, .f-footer-arrow .f-footer-cta {
  justify-content:center; padding-inline:20px; gap:0;
}
.f-index-head, .f-index-table > a { grid-template-columns:9% 1.6fr .7fr .3fr; }

/* Baseline: image/video dimensions are resolved without stretching, even when
   their CMS source has a different aspect ratio from its display box. */
.f-cover, video.f-cover { object-fit:cover; object-position:center; }
.f-header .f-logo img, .f-footer-brand img { object-fit:contain; height:auto; }

/* These Figma composites include baked-in typography/diagrams: cropping
   would remove their content, and object-fit:fill deforms it. */
.fx-about-image > :is(img,video),
.fx-about-image .f-cover,
.fx-fleet-art-card > :is(img,video),
.fx-fleet-art-card .f-cover {
  object-fit:contain !important;
  object-position:center !important;
}

/* Project/map graphics: center instead of skewing or chopping off labels.
   A natural-height mobile presentation retains the full uploaded image. */
.fx-project-photo, .fx-featured-image { background-color:#09090b; }
@media (max-width:640px) {
  .fx-project-photo, .fx-featured-image {
    height:auto !important;
    min-height:0 !important;
    aspect-ratio:auto !important;
  }
  .fx-project-photo > :is(img.f-cover,video.f-cover),
  .fx-featured-image > :is(img.f-cover,video.f-cover) {
    position:relative !important;
    inset:auto !important;
    display:block;
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
    object-position:center !important;
  }
  /* Artwork cards have native 421:301 dimensions but may be replaced via CMS.
     Preserve each replacement's true ratio on small viewports. */
  .fx-fleet-art-card { aspect-ratio:auto; }
  .fx-fleet-art-card > :is(img.f-cover,video.f-cover) {
    position:relative !important;
    inset:auto !important;
    width:100% !important;
    height:auto !important;
    max-height:none !important;
  }
  /* The about image keeps its aspect-ratio box and is centered within it. */
  .fx-about-image > :is(img,video) { object-fit:contain !important; }
  .f-newsletter-field button { min-width:110px; padding-inline:12px; }
  .f-index-head, .f-index-table > a { grid-template-columns:8% minmax(0,1fr); }
  .f-index-table > a > span:last-child:empty { display:none !important; }
}

/* Old homepage is still supported by its existing carousel JS. Hide only the
   arrow-shaped controls (leave their DOM nodes so automatic playback works). */
.hero-slide-nav button, .project-image-nav button, .gallery-controls button { display:none !important; }
