/* ==========================================================================
   theme.css — white-mode overrides + blogging styles
   Loaded AFTER alexlunnon.webflow.css so these rules win.
   ========================================================================== */

/* ---- Hero avatar ------------------------------------------------------- */
.div-block-6 {
  height: auto;
}
.avatar-image {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- White mode -------------------------------------------------------- */
body,
.body,
.body-2,
.body-3 {
  background-color: #ffffff;
  background-image: none;
  color: #1a1a1a;
}

.navbar,
.nav-menu {
  color: #1a1a1a;
  background-color: rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
}

.navitem {
  color: rgba(0, 0, 0, .55);
}

.navitem:hover,
.navitem.w--current {
  color: #111111;
}

.heading,
.heading-4 {
  color: #14222f;
}

.paragraph,
.paragraph-2 {
  color: #333333;
}

.footer-link {
  color: #555555;
}

.section-5 {
  border-top: 1px solid #ececec;
}

/* Decorative dark banners used by the old Webflow article shell */
.div-block-16,
.bg-gradient {
  display: none;
}

.heading-1,
.heading-1.blog {
  color: #14222f;
}

.rich-text-block.blog {
  color: #1a1a1a;
}

.read-more-header {
  color: #14222f;
}

/* ---- Blog list (blog.html) -------------------------------------------- */
.blog-intro {
  max-width: 640px;
  margin: 0 0 32px;
}

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 720px;
}

.post-card {
  border-top: 1px solid #ececec;
}

.post-card:last-child {
  border-bottom: 1px solid #ececec;
}

.post-card-link {
  display: block;
  padding: 28px 4px;
  text-decoration: none;
  color: inherit;
  transition: background-color .15s ease, padding-left .15s ease;
}

.post-card-link:hover {
  background-color: #f7f8fa;
  padding-left: 16px;
}

.post-card-meta {
  display: block;
  font-family: Geomanist webfont, sans-serif;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.post-card-title {
  margin: 8px 0 8px;
  font-family: Geomanist webfont, sans-serif;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: #14222f;
}

.post-card-excerpt {
  margin: 0 0 12px;
  font-size: 17px;
  line-height: 1.55;
  color: #4a4a4a;
}

.post-card-cta {
  font-family: Geomanist webfont, sans-serif;
  font-weight: 500;
  color: #2897fe;
}

/* ---- Apps page: legal links ------------------------------------------- */
.app-legal {
  padding-top: 0;
}

.legal-heading {
  font-size: 32px;
}

.legal-links {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  max-width: 720px;
}

.legal-links li {
  border-top: 1px solid #ececec;
}

.legal-links li:last-child {
  border-bottom: 1px solid #ececec;
}

.legal-links a {
  display: block;
  padding: 18px 4px;
  font-family: Geomanist webfont, sans-serif;
  font-size: 19px;
  color: #14222f;
  text-decoration: none;
  transition: padding-left .15s ease, background-color .15s ease;
}

.legal-links a:hover {
  padding-left: 16px;
  background-color: #f7f8fa;
  color: #2897fe;
}

.legal-links a::after {
  content: " →";
  color: #2897fe;
}

/* ---- Article page (blog-template.html and posts) ----------------------- */
.post {
  max-width: 720px;
  margin: 0 auto;
}

.post-back {
  display: inline-block;
  margin-bottom: 24px;
  font-family: Geomanist webfont, sans-serif;
  font-size: 15px;
  color: #2897fe;
  text-decoration: none;
}

.post-back:hover {
  text-decoration: underline;
}

.post-header {
  margin-bottom: 32px;
}

.post-title {
  font-family: Geomanist webfont, sans-serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: #14222f;
  margin: 0 0 12px;
}

.post-meta {
  font-family: Geomanist webfont, sans-serif;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8a8a8a;
  margin: 0;
}

.post-body {
  font-size: 19px;
  line-height: 1.7;
  color: #2b2b2b;
}

.post-body > :first-child {
  margin-top: 0;
}

.post-body p {
  margin: 0 0 24px;
}

.post-body h2 {
  font-family: Geomanist webfont, sans-serif;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
  color: #14222f;
  margin: 48px 0 16px;
}

.post-body h3 {
  font-family: Geomanist webfont, sans-serif;
  font-size: 23px;
  font-weight: 500;
  line-height: 1.3;
  color: #14222f;
  margin: 36px 0 12px;
}

.post-body a {
  color: #2897fe;
}

.post-body ul,
.post-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}

.post-body li {
  margin-bottom: 8px;
}

.post-body blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid #2897fe;
  color: #555555;
  font-style: italic;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 16px 0;
}

.post-body figure {
  margin: 32px 0;
}

.post-body figcaption {
  font-size: 14px;
  color: #8a8a8a;
  text-align: center;
  margin-top: 8px;
}

.post-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .85em;
  background-color: #f1f3f5;
  border-radius: 5px;
  padding: 2px 6px;
}

.post-body pre {
  background-color: #14222f;
  color: #e8eaed;
  border-radius: 12px;
  padding: 20px 24px;
  overflow-x: auto;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.5;
}

.post-body pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

.post-body hr {
  border: none;
  border-top: 1px solid #ececec;
  margin: 40px 0;
}

.post-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #ececec;
}

@media (max-width: 600px) {
  .post-title {
    font-size: 32px;
  }
  .post-body {
    font-size: 17px;
  }
  .post-body h2 {
    font-size: 25px;
  }
}
