:root {
  --ei-ink: #111112;
  --ei-paper: #f7f4ef;
  --ei-white: #ffffff;
  --ei-orange: #e95f24;
  --ei-orange-dark: #c94713;
  --ei-blue: #42b9ed;
  --ei-green: #55cf68;
  --ei-muted: #716f6c;
  --ei-line: rgba(17, 17, 18, .12);
}

body.ei-blog-archive,
body.ei-blog-single {
  margin: 0;
  background: var(--ei-paper);
  color: var(--ei-ink);
  font-family: "DM Sans", Arial, sans-serif;
}

.ei-blog-app *, .ei-blog-app *::before, .ei-blog-app *::after { box-sizing: border-box; }
.ei-blog-app a { color: inherit; text-decoration: none; }
.ei-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.ei-site-header {
  position: relative;
  z-index: 20;
  background: #101011;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.ei-header-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.ei-brand { display: inline-flex; align-items: flex-end; gap: 7px; color: #fff; }
.ei-brand img { display: block; width: auto; max-width: 142px; max-height: 58px; object-fit: contain; }
.ei-brand-mark { font-weight: 800; font-size: 18px; line-height: .72; letter-spacing: -.8px; }
.ei-brand-sub { color: var(--ei-orange); font-size: 10px; padding-bottom: 1px; }
.ei-header-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 600; }
.ei-header-nav > a:not(.ei-header-cta) { color: rgba(255,255,255,.72); transition: color .2s ease; }
.ei-header-nav > a:hover, .ei-header-nav > a.is-current { color: #fff; }
.ei-header-cta { padding: 13px 20px; border-radius: 999px; background: var(--ei-green); color: #101011; }
.ei-menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.ei-menu-toggle > span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; }
.ei-mobile-nav { padding: 0 24px 24px; background: #101011; }
.ei-mobile-nav a { display: block; padding: 13px 0; color: #fff; border-top: 1px solid rgba(255,255,255,.1); }

.ei-blog-hero, .ei-single-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(105deg, rgba(0,0,0,.94), rgba(16,16,17,.78)),
    radial-gradient(circle at 75% 30%, rgba(233,95,36,.22), transparent 34%),
    #111112;
  color: #fff;
}
.ei-blog-hero::after, .ei-single-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}
.ei-hero-glow { position: absolute; width: 460px; height: 460px; right: -120px; top: -130px; border-radius: 50%; background: rgba(66,185,237,.16); filter: blur(70px); z-index: -1; }
.ei-blog-hero-inner { padding: 92px 0 100px; text-align: center; }
.ei-eyebrow { margin: 0 0 16px; display: flex; align-items: center; gap: 10px; color: var(--ei-orange); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ei-blog-hero .ei-eyebrow { justify-content: center; }
.ei-eyebrow span { width: 28px; height: 2px; background: currentColor; }
.ei-blog-hero h1 { max-width: 850px; margin: 0 auto; font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; }
.ei-blog-hero h1 em { color: var(--ei-orange); font-family: "Playfair Display", Georgia, serif; font-weight: 600; }
.ei-hero-copy { max-width: 680px; margin: 28px auto 0; color: rgba(255,255,255,.72); font-size: 18px; line-height: 1.65; }
.ei-blog-search { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; max-width: 720px; margin: 38px auto 0; padding: 8px 8px 8px 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.ei-blog-search svg { width: 20px; fill: none; stroke: rgba(255,255,255,.58); stroke-width: 1.7; }
.ei-blog-search input { width: 100%; border: 0; outline: 0; background: transparent; color: #fff; font: inherit; }
.ei-blog-search input::placeholder { color: rgba(255,255,255,.45); }
.ei-blog-search button { cursor: pointer; border: 0; border-radius: 999px; padding: 14px 25px; background: var(--ei-orange); color: #fff; font: 700 14px/1 "DM Sans", sans-serif; }

.ei-blog-listing { padding: 56px 0 100px; }
.ei-filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 58px; }
.ei-filter-row a { padding: 10px 17px; border: 1px solid var(--ei-line); border-radius: 999px; background: rgba(255,255,255,.45); color: #555; font-size: 13px; font-weight: 600; }
.ei-filter-row a:hover, .ei-filter-row a.is-active { background: var(--ei-ink); border-color: var(--ei-ink); color: #fff; }
.ei-listing-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.ei-listing-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.045em; }
.ei-listing-heading > p { color: var(--ei-muted); font-size: 14px; }
.ei-see-all { font-weight: 700; font-size: 14px; }
.ei-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ei-post-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--ei-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 38px rgba(18,18,18,.055); transition: transform .25s ease, box-shadow .25s ease; }
.ei-post-card:hover { transform: translateY(-5px); box-shadow: 0 18px 48px rgba(18,18,18,.1); }
.ei-card-image { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #181819; }
.ei-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ei-post-card:hover .ei-card-image img { transform: scale(1.045); }
.ei-card-placeholder { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 75% 20%, rgba(233,95,36,.55), transparent 36%), linear-gradient(135deg,#0e0e0f,#272326); color: #fff; }
.ei-card-placeholder > span { font-weight: 800; font-size: 30px; letter-spacing: -.06em; }
.ei-card-placeholder small { color: var(--ei-orange); font-size: 12px; }
.ei-card-content { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.ei-card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 15px; color: #898682; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.ei-category { display: inline-flex; align-items: center; width: fit-content; padding: 7px 11px; border-radius: 999px; background: rgba(233,95,36,.11); color: var(--ei-orange-dark); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.ei-card-content h3 { margin: 0; font-size: 22px; line-height: 1.18; letter-spacing: -.03em; }
.ei-card-content h3 a:hover { color: var(--ei-orange-dark); }
.ei-card-content > p { margin: 14px 0 22px; color: var(--ei-muted); font-size: 14px; line-height: 1.65; }
.ei-read-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: var(--ei-ink); font-size: 13px; font-weight: 700; }
.ei-read-more span { color: var(--ei-orange); transition: transform .2s ease; }
.ei-read-more:hover span { transform: translateX(4px); }
.ei-pagination { margin-top: 52px; }
.ei-pagination .page-numbers { display: flex; justify-content: center; gap: 8px; padding: 0; list-style: none; }
.ei-pagination a, .ei-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid var(--ei-line); border-radius: 50px; background: #fff; font-weight: 700; font-size: 13px; }
.ei-pagination .current { background: var(--ei-ink); color: #fff; }
.ei-empty-state { padding: 72px 24px; border: 1px dashed rgba(17,17,18,.25); border-radius: 20px; text-align: center; background: rgba(255,255,255,.45); }
.ei-empty-state > span { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ei-ink); color: #fff; font-weight: 800; }
.ei-empty-state h3 { margin: 20px 0 8px; font-size: 28px; }
.ei-empty-state p { color: var(--ei-muted); }
.ei-empty-state a { display: inline-block; margin-top: 14px; color: var(--ei-orange-dark); font-weight: 700; }

.ei-blog-cta { padding: 0 0 100px; }
.ei-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 54px 60px; border-radius: 24px; background: var(--ei-ink); color: #fff; }
.ei-cta-card h2 { max-width: 720px; margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.08; letter-spacing: -.045em; }
.ei-cta-card > div > p:last-child { max-width: 650px; margin: 18px 0 0; color: rgba(255,255,255,.65); line-height: 1.6; }
.ei-cta-card > a, .ei-inline-cta-inner > a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 999px; background: var(--ei-green); color: #101011; font-size: 14px; font-weight: 700; }

.ei-single-head-inner { max-width: 960px; padding: 76px 0 82px; }
.ei-back-link { display: inline-block; margin-bottom: 38px; color: rgba(255,255,255,.62); font-size: 13px; font-weight: 600; }
.ei-single-hero h1 { max-width: 900px; margin: 20px 0 22px; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
.ei-single-deck { max-width: 780px; margin: 0 0 30px; color: rgba(255,255,255,.72); font-size: 19px; line-height: 1.6; }
.ei-single-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; color: rgba(255,255,255,.58); font-size: 13px; }
.ei-single-meta strong { color: #fff; }
.ei-single-cover { margin-top: 56px; }
.ei-single-cover img { width: 100%; max-height: 650px; object-fit: cover; border-radius: 24px; }
.ei-article-layout { display: grid; grid-template-columns: 110px minmax(0, 760px); justify-content: center; gap: 44px; padding: 72px 0 92px; }
.ei-share-rail { position: sticky; top: 28px; align-self: start; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ei-share-rail > span { margin-bottom: 7px; color: var(--ei-muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.ei-share-rail a, .ei-share-rail button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--ei-line); border-radius: 50%; background: #fff; color: #333; font: 700 12px/1 "DM Sans", sans-serif; cursor: pointer; }
.ei-article-content { min-width: 0; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.86; color: #2c2b29; }
.ei-article-content > :first-child { margin-top: 0; }
.ei-article-content h2, .ei-article-content h3, .ei-article-content h4 { margin: 1.85em 0 .65em; color: var(--ei-ink); font-family: "DM Sans", Arial, sans-serif; line-height: 1.18; letter-spacing: -.035em; }
.ei-article-content h2 { font-size: 34px; }
.ei-article-content h3 { font-size: 27px; }
.ei-article-content a { color: var(--ei-orange-dark); text-decoration: underline; text-underline-offset: 3px; }
.ei-article-content blockquote { margin: 2em 0; padding: 10px 0 10px 28px; border-left: 4px solid var(--ei-orange); color: #46433f; font-size: 25px; font-style: italic; line-height: 1.55; }
.ei-article-content img { max-width: 100%; height: auto; border-radius: 14px; }
.ei-article-content ul, .ei-article-content ol { padding-left: 1.25em; }
.ei-article-content li { margin: .45em 0; }
.ei-article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--ei-line); font-family: "DM Sans", Arial, sans-serif; font-size: 12px; }
.ei-article-tags > span { font-weight: 700; }
.ei-article-tags a { padding: 7px 11px; border-radius: 999px; background: rgba(17,17,18,.06); color: #4f4d49; text-decoration: none; }
.ei-inline-cta { padding: 70px 0; background: #101011; color: #fff; }
.ei-inline-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.ei-inline-cta h2 { margin: 0; font-size: clamp(34px, 5vw, 56px); line-height: 1.03; letter-spacing: -.05em; }
.ei-inline-cta p:last-child { max-width: 700px; color: rgba(255,255,255,.62); }
.ei-related { padding: 92px 0 105px; }

.ei-site-footer { padding: 70px 0 28px; background: #0c0c0d; color: #fff; }
.ei-footer-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; padding-bottom: 54px; }
.ei-footer-grid p { max-width: 470px; margin: 20px 0 0; color: rgba(255,255,255,.55); line-height: 1.65; }
.ei-footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; font-weight: 600; }
.ei-footer-links a:hover { color: var(--ei-orange); }
.ei-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.38); font-size: 11px; }

@media (max-width: 980px) {
  .ei-header-nav { display: none; }
  .ei-menu-toggle { display: block; }
  .ei-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ei-cta-card, .ei-inline-cta-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
  .ei-shell { width: min(100% - 30px, 1180px); }
  .ei-header-inner { min-height: 74px; }
  .ei-brand img { max-width: 120px; max-height: 48px; }
  .ei-blog-hero-inner { padding: 68px 0 72px; text-align: left; }
  .ei-blog-hero .ei-eyebrow { justify-content: flex-start; }
  .ei-blog-hero h1 { font-size: 44px; }
  .ei-hero-copy { margin-top: 22px; font-size: 16px; }
  .ei-blog-search { grid-template-columns: auto 1fr; border-radius: 18px; padding: 15px; }
  .ei-blog-search button { grid-column: 1 / -1; width: 100%; }
  .ei-blog-listing { padding: 40px 0 72px; }
  .ei-filter-row { flex-wrap: nowrap; overflow-x: auto; margin-right: -15px; padding-right: 15px; margin-bottom: 42px; scrollbar-width: none; }
  .ei-filter-row a { flex: 0 0 auto; }
  .ei-listing-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .ei-post-grid { grid-template-columns: 1fr; }
  .ei-card-content h3 { font-size: 21px; }
  .ei-cta-card { padding: 38px 26px; }
  .ei-single-head-inner { padding: 54px 0 60px; }
  .ei-back-link { margin-bottom: 28px; }
  .ei-single-hero h1 { font-size: 42px; }
  .ei-single-deck { font-size: 17px; }
  .ei-single-cover { margin-top: 24px; }
  .ei-single-cover img { border-radius: 14px; }
  .ei-article-layout { grid-template-columns: 1fr; padding: 52px 0 70px; }
  .ei-share-rail { position: static; flex-direction: row; justify-content: flex-start; }
  .ei-share-rail > span { margin: 0 7px 0 0; writing-mode: initial; transform: none; }
  .ei-article-content { font-size: 17px; line-height: 1.78; }
  .ei-article-content h2 { font-size: 29px; }
  .ei-article-content blockquote { font-size: 21px; }
  .ei-inline-cta { padding: 54px 0; }
  .ei-related { padding: 68px 0 76px; }
  .ei-footer-grid { grid-template-columns: 1fr; gap: 42px; }
  .ei-footer-bottom { flex-direction: column; }
}

