/* Inner pages: one hero type scale and one breadcrumb, whatever the page template.
   Loaded last on every page except the home pages, so it wins over each template's own hero rules. */

/* the page title (each inner page has exactly one h1, in its hero) */
main h1 {
  font-family: "Inter", sans-serif !important;
  font-size: clamp(38px, 4.4vw, 64px) !important;
  font-weight: 400 !important;
  line-height: 1.03 !important;
  letter-spacing: -0.045em !important;
}

/* the lead paragraph under it */
main h1 + .bl-phero__ex, main h1 + .uc-lead, main h1 + .hero__p, main h1 + .bl-lede, main h1 + .hc-lede,
main h1 + [class$="-lead"], main h1 + p:not([class]) {
  font-family: "Inter", sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  letter-spacing: 0 !important;
}
@media (max-width: 760px) {
  main h1 + .bl-phero__ex, main h1 + .uc-lead, main h1 + .hero__p, main h1 + .bl-lede, main h1 + .hc-lede,
  main h1 + [class$="-lead"], main h1 + p:not([class]) { font-size: 16px !important; }
}

/* breadcrumb: Home / Section / Page, the same on every template */
main [aria-label="Breadcrumb"] {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  background: none !important;
  box-shadow: none !important;
}
main [aria-label="Breadcrumb"] + * { margin-top: 0 !important; }
main [aria-label="Breadcrumb"] > * {
  display: inline-flex; align-items: center;
  margin: 0 !important; padding: 0 !important;
  font: inherit !important;
  background: none !important; box-shadow: none !important; border: 0 !important;
}
main [aria-label="Breadcrumb"] > span[aria-hidden="true"] { color: rgba(255, 255, 255, 0.5) !important; }
main [aria-label="Breadcrumb"] > :last-child { font-weight: 600 !important; }
/* phones: a 26px tap area on the links, taken back by a negative margin so nothing moves */
@media (max-width: 760px) { main [aria-label="Breadcrumb"] > a { padding-block: 3px !important; margin-block: -3px !important; } }
main [aria-label="Breadcrumb"] a:hover { text-decoration: underline; text-underline-offset: 3px; }
main [aria-label="Breadcrumb"] .hc-crumb__ic { display: none !important; }

/* hero eyebrow: one pill on every inner page (blog posts, integration guides, features, pricing, case
   studies, help, glossary, price comparison, setup guide), as on the features overview */
main .hero__new.hero__new--plain {
  display: inline-flex; align-items: center; gap: 0;
  margin: 0 !important; padding: 7px 16px !important; border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  font-family: "Inter", sans-serif !important; font-size: 14.5px !important; font-weight: 500 !important;
  line-height: 1.4 !important; letter-spacing: 0 !important; text-transform: none !important;
  white-space: normal !important; max-width: 100%;
}
main .hero__new.hero__new--plain::before, main .hero__new.hero__new--plain::after { content: none !important; }
main .hero__new--plain + h1 { margin-top: 22px !important; }
@media (max-width: 420px) {
  main .hero__new.hero__new--plain { padding: 6px 13px !important; font-size: 12px !important; }
}

/* phones: every hero card starts 72px down (some templates used 78px), level with the bottom of the
   72px header, so the header's logo and buttons sit with equal space above and below */
@media (max-width: 760px) {
  main > .abp-hero, main > .cmp-hero, main > .bl-hero, main > .bl-phero, main > .clp-hero, main > .ctp-hero,
  main > .fq-hero, main > .pc-hero, main > .lgp-hero, main > .scp-hero { margin-top: 72px !important; }
}

/* inner-page hero cards: the same presence on every template. A minimum height per screen size with the
   copy centred in the card (the breadcrumb stays pinned to the top by home-pro.js), and the same room
   under the last line: 100px desktop, 88px tablet, 56px phone. Heroes whose stat cards ride up over
   their bottom edge (about, changelog, FAQs, contact sales) keep their larger bottom padding for that
   overlap. Feature-style heroes lose 36px of extra top padding on desktop so they don't run tallest.
   Article headers (blog posts, help articles) stay compact on purpose. */
main > .abp-hero, main > .cmp-hero, main > .bl-hero, main > .clp-hero, main > .ctp-hero, main > .fq-hero,
main > .pc-hero, main > .lgp-hero, main > .scp-hero, main > .sg-hero, main > .hc-hero, main > .gl-hero, main > section.fp-hero {
  display: flex; flex-direction: column; justify-content: center; box-sizing: border-box;
}
main > .uc-hero { box-sizing: border-box; align-content: center; }
@media (min-width: 1101px) {
  main > .abp-hero, main > .cmp-hero, main > .bl-hero, main > .clp-hero, main > .ctp-hero, main > .fq-hero, main > .pc-hero,
  main > .lgp-hero, main > .scp-hero, main > .sg-hero, main > .hc-hero, main > .gl-hero, main > section.fp-hero, main > .uc-hero { min-height: 720px; }
  main > .cmp-hero, main > .bl-hero, main > .pc-hero, main > .lgp-hero, main > .scp-hero, main > .sg-hero, main > .hc-hero,
  main > .ctp-hero:not(:has(~ .ctp-stats-sec)), .fp-page main > section.fp-hero, main > section.fp-hero, main > .uc-hero { padding-bottom: 100px !important; }
  .fp-page main > section.fp-hero, main > section.fp-hero { padding-top: 64px !important; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  main > .abp-hero, main > .cmp-hero, main > .bl-hero, main > .clp-hero, main > .ctp-hero, main > .fq-hero, main > .pc-hero,
  main > .lgp-hero, main > .scp-hero, main > .sg-hero, main > .hc-hero, main > .gl-hero, main > section.fp-hero, main > .uc-hero { min-height: 600px; }
  main > .cmp-hero, main > .bl-hero, main > .pc-hero, main > .lgp-hero, main > .scp-hero, main > .sg-hero, main > .hc-hero,
  main > .ctp-hero:not(:has(~ .ctp-stats-sec)), .fp-page main > section.fp-hero, main > section.fp-hero, main > .uc-hero { padding-bottom: 88px !important; }
}
@media (max-width: 760px) {
  main > .cmp-hero, main > .bl-hero, main > .pc-hero, main > .lgp-hero, main > .scp-hero, main > .sg-hero, main > .hc-hero,
  main > .ctp-hero:not(:has(~ .ctp-stats-sec)), .fp-page main > section.fp-hero, main > section.fp-hero, main > .uc-hero { padding-bottom: 56px !important; }
}
