/* Workefy UI fixes — nav, buttons, animations (loads after webflow.css + workefy-brand.css) */

:root {
  --workefy-hover-fast: 0.18s;
  --workefy-hover-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Override Webflow's default 0.4s button transitions */
.primary-btn-wrapper,
.primary-btn-wrapper.hero,
.primary-btn-wrapper.white,
.primary-btn-wrapper.career,
.primary-btn-wrapper.normal,
.primary-btn-wrapper.add-to-cart,
.secondary-button,
.footer-nav-link,
.button-hover-bg,
.button-hover-color,
.navbar .nav-menu-link,
.navbar .dropdown-toggle-wrap {
  transition-duration: var(--workefy-hover-fast) !important;
  transition-timing-function: var(--workefy-hover-ease) !important;
}

/* ─── Fixed header: transparent at top, solid on scroll ─── */
.navbar.w-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease,
    backdrop-filter 0.2s ease;
}

.navbar.w-nav.navbar-scrolled {
  background-color: rgba(37, 40, 96, 0.97) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(15, 18, 48, 0.18);
}

.navbar .nav-menu-link,
.navbar .nav-menu-link .nav-link,
.navbar .dropdown-toggle-wrap,
.navbar .dropdown-toggle-text {
  color: #fff !important;
}

.navbar .nav-menu-link.w--current,
.navbar .nav-menu-link.w--current .nav-link,
.navbar .dropdown.nav-dropdown-current > .dropdown-toggle-wrap,
.navbar .dropdown.nav-dropdown-current > .dropdown-toggle-wrap .dropdown-toggle-text,
.navbar .dropdown-toggle-wrap.w--open {
  color: #5ba3e8 !important;
}

.navbar .single-nav-menu:has(.nav-menu-link.w--current) {
  box-shadow: inset 0 -2px 0 #5ba3e8;
}

.navbar .nav-menu-link:hover,
.navbar .nav-menu-link:hover .nav-link,
.navbar .dropdown-toggle-wrap:hover,
.navbar .dropdown-toggle-wrap:hover .dropdown-toggle-text {
  color: #fff !important;
}

.navbar .nav-menu-link.w--current:hover,
.navbar .nav-menu-link.w--current:hover .nav-link {
  color: #8fafdb !important;
}

.navbar .brand-logo.black {
  display: none !important;
}

.navbar .brand-logo.white,
.navbar .brand-logo:not(.black) {
  opacity: 1 !important;
  position: relative !important;
}

.navbar .cart-icon {
  color: rgba(255, 255, 255, 0.88);
}

.navbar .menu-button {
  color: #fff;
}

/* ─── Client logo strip: slow continuous marquee ─── */
.section.client-logo-v2 .client-logo-wrap {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 4%,
    #000 96%,
    transparent 100%
  );
}

.section.client-logo-v2 .client-logo-single-wrap {
  animation: workefy-logo-marquee 55s linear infinite;
  will-change: transform;
}

.section.client-logo-v2 .client-logo-wrap:hover .client-logo-single-wrap {
  animation-play-state: paused;
}

@keyframes workefy-logo-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-100%, 0, 0);
  }
}

/* ─── Duplicate nav label slide (Webflow hover pattern) ─── */
.nav-menu-link {
  position: relative;
  display: block;
  height: 24px;
  overflow: hidden;
}

.nav-menu-link .nav-link {
  display: block;
  line-height: 24px;
  white-space: nowrap;
  transition: transform var(--workefy-hover-fast) var(--workefy-hover-ease);
  will-change: transform;
}

.nav-menu-link .nav-link + .nav-link {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
}

.nav-menu-link:hover .nav-link {
  transform: translateY(-100%);
}

/* ─── Pages dropdown: single chevron + label slide ─── */
.dropdown-toggle-texts {
  position: relative;
  height: 24px;
  overflow: hidden;
}

.dropdown-toggle-text {
  display: block;
  line-height: 24px;
  white-space: nowrap;
  transition: transform var(--workefy-hover-fast) var(--workefy-hover-ease);
}

.dropdown-toggle-text + .dropdown-toggle-text {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
}

.dropdown-toggle-wrap:hover .dropdown-toggle-text {
  transform: translateY(-100%);
}

.dropdown-toggle-icons {
  overflow: hidden;
}

.dropdown-toggle-icon._01 {
  opacity: 1;
  transition: opacity var(--workefy-hover-fast) ease, transform var(--workefy-hover-fast) ease;
}

.dropdown-toggle-icon._02 {
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--workefy-hover-fast) ease, transform var(--workefy-hover-fast) ease;
}

.dropdown-toggle-wrap:hover .dropdown-toggle-icon._01,
.w--nav-dropdown-toggle-open .dropdown-toggle-icon._01 {
  opacity: 0;
}

.dropdown-toggle-wrap:hover .dropdown-toggle-icon._02,
.w--nav-dropdown-toggle-open .dropdown-toggle-icon._02 {
  opacity: 1;
}

/* ─── Dropdown menu link duplicates ─── */
.dropdown-link-wrap {
  position: relative;
  display: block;
  height: 24px;
  overflow: hidden;
}

.dropdown-link {
  display: block;
  line-height: 24px;
  white-space: nowrap;
  transition: transform var(--workefy-hover-fast) var(--workefy-hover-ease),
    color var(--workefy-hover-fast) var(--workefy-hover-ease);
}

.dropdown-link + .dropdown-link {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
}

.dropdown-link-wrap:hover .dropdown-link {
  transform: translateY(-100%);
  color: #ffffff !important;
}

/* ─── Products / Solutions mega dropdown panel ───
   Webflow ships .dropdown-item-title at width:110px + weight 400, which
   clips "Coming to the suite" and long product names outside the panel. */
.navbar .dropdown-list {
  min-width: max-content;
}

.navbar .dropdown-list-wrap {
  width: max-content;
  max-width: min(92vw, 560px);
  box-sizing: border-box;
  padding: 22px 24px;
  border-radius: 12px;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(15, 18, 48, 0.35);
}

.navbar .dropdown-all-item-wrap {
  grid-column-gap: 36px;
  grid-row-gap: 24px;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.navbar .dropdown-single-item {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
}

.navbar .dropdown-item-title {
  width: auto !important;
  max-width: none;
  margin-bottom: 2px;
  font-family: var(--inter-tight), "Inter Tight", sans-serif;
  font-size: 15px;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  line-height: 1.35;
  white-space: nowrap;
  color: #ffffff !important;
}

.navbar .dropdown-menu-wrap {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
}

.navbar .dropdown-link-wrap {
  width: max-content;
  max-width: 100%;
}

@media screen and (max-width: 991px) {
  .navbar .dropdown-list-wrap {
    width: 100%;
    max-width: 100%;
    padding: 16px;
  }

  .navbar .dropdown-all-item-wrap {
    flex-flow: column;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }

  .navbar .dropdown-item-title {
    white-space: normal;
  }

  .navbar .dropdown-link-wrap {
    width: 100%;
  }
}

/* ─── Primary button text slide + hover fill ─── */
.primary-btn-wrapper {
  transition: transform var(--workefy-hover-fast) var(--workefy-hover-ease),
    box-shadow var(--workefy-hover-fast) var(--workefy-hover-ease),
    border-color var(--workefy-hover-fast) var(--workefy-hover-ease),
    background-color var(--workefy-hover-fast) var(--workefy-hover-ease) !important;
}

.primary-btn-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 163, 232, 0.35);
}

.primary-btn-texts,
.secondary-btn-texts,
.blog-button-texts {
  position: relative;
  height: 24px;
  overflow: hidden;
}

.primary-btn-text,
.secondary-btn-text,
.blog-button-text {
  display: block;
  line-height: 24px;
  white-space: nowrap;
  transition: transform var(--workefy-hover-fast) var(--workefy-hover-ease);
}

.primary-btn-text + .primary-btn-text,
.secondary-btn-text + .secondary-btn-text,
.blog-button-text + .blog-button-text {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
}

.primary-btn-wrapper:hover .primary-btn-text,
.secondary-button:hover .secondary-btn-text,
.blog-button:hover .blog-button-text {
  transform: translateY(-100%);
}

.primary-btn-wrapper .button-hover-bg {
  transform: scale(0);
  border-radius: inherit;
  background-color: rgba(255, 255, 255, 0.14) !important;
  transition: transform 0.22s var(--workefy-hover-ease);
}

.primary-btn-wrapper:hover .button-hover-bg {
  transform: scale(1.15);
}

.secondary-button {
  transition: transform var(--workefy-hover-fast) var(--workefy-hover-ease),
    box-shadow var(--workefy-hover-fast) var(--workefy-hover-ease),
    background-color var(--workefy-hover-fast) var(--workefy-hover-ease) !important;
}

.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 163, 232, 0.35);
}

.secondary-button .button-hover-color {
  transform: scale(0);
  border-radius: inherit;
  background-color: rgba(255, 255, 255, 0.14) !important;
  transition: transform 0.22s var(--workefy-hover-ease);
}

.secondary-button:hover .button-hover-color {
  transform: scale(1.15);
}

/* Primary button icons — stack both assets; contrast.css toggles visibility */
.primary-btn-icons {
  position: relative;
}

.primary-btn-icon {
  position: absolute;
  top: 0;
  left: 0;
  transform: none !important;
}

/* Primary button icon nudge on hover */
.primary-btn-wrapper .primary-btn-icons {
  transition: transform var(--workefy-hover-fast) var(--workefy-hover-ease);
}

.primary-btn-wrapper:hover .primary-btn-icons {
  transform: rotate(-45deg) translate(2px, -2px);
}

.blog-button {
  transition: transform var(--workefy-hover-fast) var(--workefy-hover-ease);
}

.blog-button:hover {
  transform: translateX(4px);
}

.blog-button-icons .blog-button-icon {
  transition: transform var(--workefy-hover-fast) var(--workefy-hover-ease),
    opacity var(--workefy-hover-fast) ease;
}

.blog-button:hover .blog-button-icon._01 {
  transform: translateX(4px);
  opacity: 0;
}

.blog-button:hover .blog-button-icon._02 {
  transform: translateX(0);
  opacity: 1;
}

/* ─── Page hero titles: visible immediately; inner pages max 2 lines ─── */
.section.inner .inner-title,
.section.inner .inner-title.contact,
.section.inner .inner-title.pricing,
.section.inner .inner-title.features,
.section.inner .inner-title.career,
.section.inner .inner-title.price,
.section.blog-inner .inner-title,
.section.inner-privacy .inner-title,
.section.terms-inner .inner-title,
.section.inner .inner-details,
.section.blog-inner .inner-details,
.section.hero-v1 .hero-v1-title,
.section.hero-v1 .hero-v1-details,
.section.hero-v1 .hero-v1-button-wrap {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  visibility: visible !important;
}

.section.inner .inner-title,
.section.inner .inner-title.contact,
.section.inner .inner-title.pricing,
.section.inner .inner-title.features,
.section.inner .inner-title.career,
.section.inner .inner-title.price,
.section.blog-inner .inner-title,
.section.inner-privacy .inner-title,
.section.terms-inner .inner-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  width: 100% !important;
  max-width: 720px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: clamp(2rem, 4.5vw, 3rem) !important;
  line-height: 1.2 !important;
  text-wrap: balance;
}

.section.inner .inner-details,
.section.blog-inner .inner-details {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* Blog post titles: an article headline must never be clipped — it is the
   page's H1 and its full text matters to both readers and search. Marketing
   page heroes keep the 2-line clamp above; only .blog-inner opts out. */
.section.blog-inner .inner-title {
  display: block;
  overflow: visible;
  -webkit-line-clamp: none;
}

/* Home hero: wrap naturally up to ~3 lines — no line-clamp ellipsis */
.section.hero-v1 .hero-v1-title {
  display: block;
  overflow: visible;
  width: 100% !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  font-size: clamp(1.875rem, 4.2vw, 3.125rem) !important;
  line-height: 1.18 !important;
  text-wrap: balance;
}

/* ─── Section entrance fallback (when IX2 is slow / fails) ─── */
@keyframes workefy-fade-up {
  from {
    opacity: 0;
    transform: translate3d(0, 1rem, 0);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

html.workefy-animate-ready [data-w-id][style*="opacity:0"],
html.workefy-animate-ready [data-w-id][style*="opacity: 0"] {
  animation: workefy-fade-up 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

html.workefy-animate-ready .hero-v1-title[style*="opacity:0"] {
  animation-duration: 1s;
}

html.workefy-animate-ready .hero-v1-details[style*="opacity:0"] {
  animation-delay: 0.12s;
}

html.workefy-animate-ready .hero-v1-button-wrap[style*="opacity:0"] {
  animation-delay: 0.24s;
}

html.workefy-animate-ready .hero-v2-image-wrap[style*="opacity:0"] {
  animation-delay: 0.36s;
  animation-duration: 1.1s;
}

/* After IX2 runs, don't fight inline styles */
html.wf-ix2-running [data-w-id][style*="opacity: 1"],
html.wf-ix2-running [data-w-id][style*="opacity:1"] {
  animation: none !important;
}

/* Card hover polish */
.journey-single-wrap,
.goal-single-wrap,
.blog-single-wrap {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.journey-single-wrap:hover,
.goal-single-wrap:hover,
.blog-single-wrap:hover {
  transform: translateY(-4px);
}

.process-single-wrap {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-single-wrap:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(37, 40, 96, 0.25);
}

/* FAQ accordion icon rotation */
.faq-single-wrap .faq-icon {
  transition: transform 0.3s ease;
}

.faq-single-wrap.w--open .faq-icon,
.faq-single-wrap.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-single-wrap.w--open,
.faq-single-wrap.is-open {
  border-color: rgba(52, 105, 178, 0.35) !important;
  box-shadow: inset 3px 0 0 var(--brand-accent, #f2a93b);
}

/* Blog category chips: soft multi-hue cycle when active / hover */
.blog-ctg-button:hover {
  border-color: rgba(52, 105, 178, 0.45) !important;
  color: var(--brand-primary, #3469b2) !important;
  background-color: var(--brand-primary-wash, #e8f0f8) !important;
}

.blog-ctg-button.w--current,
.blog-ctg-button.is-active {
  border-color: transparent !important;
  background-color: var(--brand-primary, #3469b2) !important;
  color: #ffffff !important;
}

.blog-ctg-cl-list > *:nth-child(3n + 2) .blog-ctg-button:hover {
  border-color: rgba(13, 148, 136, 0.45) !important;
  color: var(--brand-teal-ink, #0f766e) !important;
  background-color: var(--brand-teal-wash, rgba(13, 148, 136, 0.1)) !important;
}

.blog-ctg-cl-list > *:nth-child(3n) .blog-ctg-button:hover {
  border-color: rgba(242, 169, 59, 0.5) !important;
  color: var(--brand-accent-ink, #b45309) !important;
  background-color: var(--brand-accent-wash, rgba(242, 169, 59, 0.12)) !important;
}

/* Mobile nav drawer on dark surface */
@media screen and (max-width: 991px) {
  .navbar.w-nav .nav-menu-wrap {
    background-color: #252860 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .dropdown-toggle-icon._01 {
    display: block !important;
    opacity: 1;
  }

  .dropdown-toggle-icon._02 {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-menu-link .nav-link,
  .dropdown-toggle-text,
  .dropdown-link,
  .primary-btn-text,
  .secondary-btn-text,
  .blog-button-text,
  .primary-btn-wrapper,
  .secondary-button,
  .button-hover-bg,
  .button-hover-color,
  .journey-single-wrap,
  .goal-single-wrap,
  .blog-single-wrap,
  .process-single-wrap,
  .section.client-logo-v2 .client-logo-single-wrap {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  html.workefy-animate-ready [data-w-id][style*="opacity:0"],
  html.workefy-animate-ready [data-w-id][style*="opacity: 0"] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }
}

/* ─── No-JS fallback: reveal IX2-hidden content (hero H1 ships opacity:0) ───
   The .w-mod-js class is added by client JS; when scripts don't run, force
   animated elements visible so text is never hidden from users or crawlers. */
html:not(.w-mod-js) [data-w-id][style*="opacity:0"],
html:not(.w-mod-js) [data-w-id][style*="opacity: 0"] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  animation: none !important;
}

/* ─── Blog rich text: h2 section headings + inline prose links ───────────
   The Webflow theme only styles h3 inside .blog-rich-*-details. Posts use
   h2 for their section structure (one h1 = the article title), so mirror
   the h3 rules onto h2 rather than demoting headings for the sake of CSS. */
.blog-rich-top-details h2,
.blog-rich-bottom-details h2 {
  margin-top: 40px;
  font-size: 32px;
  font-weight: 500;
  line-height: 125%;
}

@media screen and (max-width: 767px) {
  .blog-rich-top-details h2,
  .blog-rich-bottom-details h2 {
    margin-top: 30px;
    font-size: 28px;
  }
}

/* Contextual internal links in body prose need to read as links. */
.blog-rich-top-details p a,
.blog-rich-bottom-details p a,
.blog-rich-top-details li a,
.blog-rich-bottom-details li a {
  color: var(--wf-navy, #252860);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

.blog-rich-top-details p a:hover,
.blog-rich-bottom-details p a:hover,
.blog-rich-top-details li a:hover,
.blog-rich-bottom-details li a:hover {
  text-decoration-thickness: 2px;
}

/* ═══════════════════════════════════════════════════════════════════════
   Blog UX pass
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Cover art sizing ──────────────────────────────────────────────────
   Covers are 1200x675 SVGs carrying width/height attributes (for CLS). The
   theme only sets width:100% on these images, so the height attribute was
   being honoured literally — a 348px-wide card image rendered 675px tall,
   letterboxing the artwork and leaving a large dead band inside every card.
   Pin the ratio instead of the pixel height. */
.blog-item-image,
.single-blog-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

/* ─── Index + related-post cards ────────────────────────────────────────
   Cards were block-level in a grid, so their height was set by title length
   and the "Learn More" affordance landed at a different baseline in every
   column. Make each card a column and push the footer to the bottom, so the
   row reads as one aligned band. */
.blog-cl-list .blog-cl-item { display: flex; }

.blog-single-wrap {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
}

.blog-single-wrap .blog-content-wrap { flex: 1 1 auto; }

.blog-single-wrap .blog-button-wrap {
  margin-top: auto;
  padding-top: 20px;
}

/* Metadata row sits directly under the image on every card. */
.blog-single-wrap .blog-ctg-time-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}

/* ─── Article measure ───────────────────────────────────────────────────
   The column was 920px wide at a 16px body size — roughly 105 characters per
   line, well past comfortable reading. Narrow the prose to ~68ch while
   leaving the hero and related-posts grid at full width. */
.single-blog-wrap .blog-rich-details-wrap {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Article typography ────────────────────────────────────────────────
   Paragraph spacing was 16px against a 150% line-height, so paragraph breaks
   read as weaker than the line breaks inside them. Open the leading slightly
   and space paragraphs on their own scale. */
.blog-rich-top-details p,
.blog-rich-bottom-details p {
  margin-top: 0;
  margin-bottom: 22px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--wf-n600, #475569);
}

/* Heading hierarchy: clear space above, tight to the text it introduces. */
.blog-rich-top-details h2,
.blog-rich-bottom-details h2 {
  margin-top: 56px;
  margin-bottom: 18px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.4px;
  color: var(--wf-n800, #1e293b);
}

.blog-rich-top-details h3,
.blog-rich-bottom-details h3 {
  margin-top: 36px;
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--wf-n800, #1e293b);
}

/* First heading in a block should not push a large gap under the hero. */
.blog-rich-top-details > h2:first-child,
.blog-rich-bottom-details > h2:first-child { margin-top: 0; }

/* Bold lead-ins were set to font-weight 400 in a blue, so emphasis in the
   body copy was not actually emphatic. Restore weight, keep it in the ink
   colour so it reads as emphasis rather than as a link. */
.blog-rich-top-details strong,
.blog-rich-bottom-details strong {
  font-weight: 600;
  color: var(--wf-n800, #1e293b);
}

/* ─── Lists ─────────────────────────────────────────────────────────────
   Lists inherited a 40px top margin and a 20px indent with no item spacing,
   so multi-line items ran together. */
.blog-rich-top-details ul,
.blog-rich-bottom-details ul,
.blog-rich-top-details ol,
.blog-rich-bottom-details ol {
  margin-top: 0;
  margin-bottom: 24px;
  padding-left: 24px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--wf-n600, #475569);
}

.blog-rich-top-details li,
.blog-rich-bottom-details li { margin-bottom: 10px; }

.blog-rich-top-details li > ul,
.blog-rich-bottom-details li > ul,
.blog-rich-top-details li > ol,
.blog-rich-bottom-details li > ol {
  margin-top: 10px;
  margin-bottom: 4px;
}

.blog-rich-top-details ol > li::marker,
.blog-rich-bottom-details ol > li::marker {
  color: var(--wf-n800, #1e293b);
  font-weight: 600;
}

.blog-rich-top-details ul > li::marker,
.blog-rich-bottom-details ul > li::marker { color: var(--wf-accent, #f2a93b); }

/* ─── Blockquote ────────────────────────────────────────────────────────
   Unstyled by the theme; give it the accent rule the design system uses. */
.blog-rich-top-details blockquote,
.blog-rich-bottom-details blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--wf-accent, #f2a93b);
  font-size: 19px;
  line-height: 1.6;
  color: var(--wf-n800, #1e293b);
}

/* ─── "Questions we get asked" ──────────────────────────────────────────
   Was a bare h2 over a run of paragraphs. Now a bordered list where each
   question is a visible affordance rather than a bold run-in. */
.wf-faq {
  margin-top: 56px;
  padding: 28px 28px 8px;
  border: 1px solid var(--wf-rule, #e2e8f0);
  border-radius: var(--wf-radius, 14px);
  background: var(--wf-n50, #f8fafc);
}

.blog-rich-top-details .wf-faq__title,
.blog-rich-bottom-details .wf-faq__title {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 24px;
}

.wf-faq__item {
  padding: 20px 0;
  border-top: 1px solid var(--wf-rule, #e2e8f0);
}

.wf-faq__list > .wf-faq__item:first-child { border-top: 0; }

.blog-rich-top-details .wf-faq__q,
.blog-rich-bottom-details .wf-faq__q {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--wf-n800, #1e293b);
}

.blog-rich-top-details .wf-faq__a,
.blog-rich-bottom-details .wf-faq__a {
  margin-bottom: 0;
  font-size: 16px;
}

/* ─── Hero spacing ──────────────────────────────────────────────────────
   80px between the standfirst and the cover, then the byline sat tight
   against the image. Even the two out. */
.inner-image-wrap { margin-top: 48px; }
.blog-inner .blog-top-wrap { margin-top: 28px; }

@media screen and (max-width: 767px) {
  .blog-rich-top-details h2,
  .blog-rich-bottom-details h2 {
    margin-top: 40px;
    font-size: 24px;
  }

  .blog-rich-top-details p,
  .blog-rich-bottom-details p { font-size: 16px; }

  .wf-faq { padding: 20px 20px 4px; }
  .inner-image-wrap { margin-top: 32px; }
}

/* ─── Hero media reveal ─────────────────────────────────────────────────
   Webflow's IX2 engine applies an initial hidden state (opacity 0 + blur) to
   .inner-image-wrap and reveals it on a scroll-into-view trigger. The trigger
   never fires for content that is already inside the viewport at load, so on
   desktop the hero image sat permanently invisible — a ~620px blank band
   under the title on all 12 blog posts and on /career.

   Above-the-fold hero media should not depend on a scroll interaction, so
   opt this element out of the animation entirely. !important is required to
   beat the inline style IX2 writes at runtime. */
.inner-image-wrap {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}
