/* Shared outer geometry for home, finder questions and recommendation results.
   Loaded last to override prototype shell widths without changing card layouts. */
.home-page,
.fitrus-finder-page {
  --landing-max-width: 1600px;
  --landing-gutter: 20px;
}
@media (min-width: 768px) {
  .home-page,
  .fitrus-finder-page {
    --landing-gutter: 32px;
  }
}
@media (min-width: 960px) {
  .home-page,
  .fitrus-finder-page {
    --landing-gutter: clamp(48px, 4vw, 72px);
  }
}
:is(.home-page, .fitrus-finder-page) .landing-frame {
  box-sizing: border-box;
  width: 100% !important;
  max-width: var(--landing-max-width) !important;
  min-width: 0;
  margin-inline: auto;
  padding-inline: var(--landing-gutter) !important;
}
.home-page .landing-frame {
  padding-top: 0;
  padding-bottom: 72px;
}
@media (max-width: 959px) {
  .home-page .landing-frame {
    padding-bottom: 40px;
  }
}
:is(.home-page, .fitrus-finder-page) .landing-frame > main {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: none !important;
  margin-inline: 0;
  padding-inline: 0 !important;
}
:is(.home-page, .fitrus-finder-page) .landing-frame > .home-footer {
  box-sizing: border-box;
  width: auto;
  max-width: none !important;
  margin-inline: calc(-1 * var(--landing-gutter));
  padding-inline: var(--landing-gutter) !important;
}
:is(.home-page, .fitrus-finder-page) .landing-frame > .home-footer {
  box-shadow: 0 0 0 100vmax #06111f;
  clip-path: inset(0 -100vmax);
}
.fitrus-finder-page.result-mode .result-bottom-bar {
  padding-inline: var(--landing-gutter);
}
.fitrus-finder-page.result-mode .result-bottom-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: calc(var(--landing-max-width) - 2 * var(--landing-gutter));
  margin-inline: auto;
}
