/**
 * Front-end only: make editable FSE paint like lep-redesign / Cloudflare.
 * Loaded last. Does not affect block structure or Site Editor editability.
 */

html:has(body.lep-redesign) {
  font-size: 16px !important;
}

body.lep-redesign,
body.lep-redesign.lep-redesign--fse {
  font-family: "Figtree", "Avenir Next", "Segoe UI", sans-serif !important;
  font-size: 1.0625rem !important;
  line-height: 1.65 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  font-optical-sizing: auto !important;
  text-rendering: optimizeLegibility !important;
  text-align: left !important;
}

/* Body copy (incl. blocks) */
body.lep-redesign p,
body.lep-redesign li,
body.lep-redesign .lede,
body.lep-redesign .hero__lede,
body.lep-redesign .btn,
body.lep-redesign .wp-block-button__link,
body.lep-redesign .nav-links,
body.lep-redesign .nav-links a,
body.lep-redesign .role,
body.lep-redesign .eyebrow,
body.lep-redesign .invest-list span,
body.lep-redesign .pillar p,
body.lep-redesign .team-card__body p,
body.lep-redesign .contact-form,
body.lep-redesign .site-footer,
body.lep-redesign .wp-block-list,
body.lep-redesign .wp-block-paragraph {
  font-family: "Figtree", "Avenir Next", "Segoe UI", sans-serif !important;
}

/* Display / headings (plain + core/heading blocks) */
body.lep-redesign h1,
body.lep-redesign h2,
body.lep-redesign h3,
body.lep-redesign h1.wp-block-heading,
body.lep-redesign h2.wp-block-heading,
body.lep-redesign h3.wp-block-heading,
body.lep-redesign .wp-block-heading,
body.lep-redesign .hero h1,
body.lep-redesign .hero h1.wp-block-heading,
body.lep-redesign .section h2,
body.lep-redesign .section h2.wp-block-heading,
body.lep-redesign .pillar h3,
body.lep-redesign .pillar h3.wp-block-heading,
body.lep-redesign .team-card__body h3,
body.lep-redesign .team-card__body h3.wp-block-heading,
body.lep-redesign .thesis-stat strong,
body.lep-redesign .invest-list strong {
  font-family: "Newsreader", "Iowan Old Style", Georgia, serif !important;
  font-weight: 500 !important;
  font-optical-sizing: auto !important;
  font-variation-settings: "opsz" 48 !important;
}

/* Hero H1 — exact Cloudflare metrics */
body.lep-redesign .hero h1,
body.lep-redesign .hero h1.wp-block-heading,
body.lep-redesign .hero .wp-block-heading {
  margin: 0 0 1rem !important;
  font-size: clamp(2.1rem, 4.5vw, 3.35rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.02em !important;
  font-variation-settings: "opsz" 72 !important;
  text-align: left !important;
}

body.lep-redesign .hero__lede,
body.lep-redesign p.hero__lede {
  margin: 0 0 1.75rem !important;
  max-width: 32rem !important;
  font-size: 1.125rem !important;
  line-height: 1.65 !important;
  color: #5c6b78 !important;
  font-family: "Figtree", "Avenir Next", "Segoe UI", sans-serif !important;
  text-align: left !important;
}

body.lep-redesign .section h2,
body.lep-redesign .section h2.wp-block-heading {
  margin: 0 0 1rem !important;
  font-size: clamp(1.85rem, 3.2vw, 2.65rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  text-align: left !important;
}

body.lep-redesign .hero,
body.lep-redesign .hero__content,
body.lep-redesign .section,
body.lep-redesign .eyebrow {
  text-align: left !important;
}


/* Centered hero block (Cloudflare); text remains left-aligned inside */
body.lep-redesign .hero__content,
body.lep-redesign .wrap.hero__content,
body.lep-redesign .wp-block-group.hero__content {
  margin-inline: auto !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Editable: taller nav ribbon + larger type (match CF layout, bigger scale) */
body.lep-redesign .site-header {
  padding: 1.2rem 0;
}

body.lep-redesign .site-header .logo img,
body.lep-redesign .site-header a.logo img,
body.lep-redesign .site-header figure.lep-logo-image img {
  height: 60px;
  width: auto;
}

body.lep-redesign .site-header .nav-links {
  font-size: 1.02rem;
  gap: 0.45rem 1.4rem;
}

body.lep-redesign .site-header a[href^="mailto:"],
body.lep-redesign .cta a[href^="mailto:"] {
  display: none !important;
}

/* Internships apply-by-email (role inbox is intentionally public) */
.lep-redesign .intern-intro a[href^="mailto:"],
body.lep-redesign .intern-intro a[href^="mailto:"] {
  display: inline !important;
  color: var(--sea);
  font-weight: 600;
  text-decoration: none;
}
.lep-redesign .intern-intro a[href^="mailto:"]:hover,
body.lep-redesign .intern-intro a[href^="mailto:"]:hover {
  text-decoration: underline;
}

/* CTA / hero buttons: flush left edge with copy (match Cloudflare) */
.lep-redesign .cta .actions,
.lep-redesign .cta .wp-block-group.actions,
body.lep-redesign .cta .actions {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  align-items: flex-start !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  gap: 0.85rem !important;
}

.lep-redesign .cta .lep-btn-wrap,
.lep-redesign .cta .actions > p,
body.lep-redesign .cta .lep-btn-wrap {
  margin: 0 !important;
  padding: 0 !important;
  text-indent: 0 !important;
}

.lep-redesign .cta .btn,
.lep-redesign .cta a.btn,
.lep-redesign .hero .btn,
.lep-redesign .hero a.btn,
body.lep-redesign .cta .btn,
body.lep-redesign .hero .btn {
  margin-left: 0 !important;
  margin-inline-start: 0 !important;
}

/*
 * Team carousel / Slick chrome lives only in lep-fse.css (single owner).
 * Do not duplicate here — late load used to fight arrow/layout fixes.
 */
