/* Styles of our own, on top of Framer's (which live in page-*.css and stay untouched). */

/* Articles beyond the first ten, until "Load More" reveals them (Framer's CSS sets display). */
[data-load-more-item][hidden] {
  display: none !important;
}

/* "Stay updated" email field (home page): Framer pads it 25px on every side inside a 49px
   box, which leaves 0px for the text — on the live Framer site too. Keep the 25px sides. */
.framer-ms1Pr .framer-espr9d {
  --framer-input-padding: 0 25px;
}

/* A form's error (src/scripts/interactions.ts): a toast at the bottom of the window. */
.ent-form-error {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1000;
  width: max-content;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 12px 18px;
  box-sizing: border-box;
  transform: translateX(-50%);
  border-radius: 10px;
  background: #b4232a;
  color: #fff;
  font: 500 14px/1.4 "Figtree", system-ui, sans-serif;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.ent-form-error:empty {
  display: none;
}

/* The navigation's "Get started" button (src/lib/navLinks.ts), in place of Framer's 79px-wide
   "Contact" button: as wide as its text. */
.framer-5u4Sq .ent-cta {
  width: auto;
}
.framer-5u4Sq .ent-cta .framer-1fabvmi-container {
  position: relative;
  left: auto;
  width: auto;
  height: 100%;
}

/* Room for Pricing, Contact, Log in and Get started: Framer's bar is 800px wide (still at most
   90% of the window). */
@media (min-width: 810px) {
  .framer-odFd2 .framer-1vs21cr-container {
    width: 940px;
    left: calc(50% - min(90%, 940px) / 2);
  }
}
/* Narrow tablets: nearly the full width, tighter links, and the logo and buttons only as wide as
   they are (Framer gives both sides an equal share, which clipped "Log in" at 820px). */
@media (min-width: 810px) and (max-width: 1099.98px) {
  .framer-odFd2 .framer-1vs21cr-container {
    width: calc(100% - 32px);
    max-width: none;
    left: 16px;
  }
  .framer-5u4Sq .framer-1b1fkzk {
    gap: 12px;
  }
  .framer-5u4Sq .framer-4yblnf,
  .framer-5u4Sq .framer-o09s3v {
    flex: none;
    width: auto;
  }
}
