/* Walter landing: Blog ("From the blog"). Figma "Blog" (5284:71871): desktop 5284:71771, mobile 5284:71823. */
#walter-blog, #walter-blog * { box-sizing: border-box; }
#walter-blog { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
/* Theme guard: headings, paragraphs, lists, links and images inside the section ignore the theme's own styles */
#walter-blog h2, #walter-blog h3, #walter-blog p { font-family: inherit; text-transform: none; text-shadow: none; padding: 0; border: 0; background: none; }
#walter-blog ul, #walter-blog li { margin: 0; padding: 0; list-style: none; background: none; border: 0; }
#walter-blog li::before, #walter-blog li::marker { content: none; }
#walter-blog a { box-shadow: none; }
#walter-blog .wb-card, #walter-blog .wb-card:hover, #walter-blog .wb-all, #walter-blog .wb-all:hover { text-decoration: none; }
#walter-blog .wb-card:hover { color: inherit; }
#walter-blog img { box-shadow: none; }
#walter-blog { padding: 95px 24px 94px; background: #fafafa; color: #000; overflow: hidden; overflow: clip;
  font-family: "InterVariable", "Inter", system-ui, sans-serif; font-feature-settings: "liga" 1, "calt" 1; }
#walter-blog .wb-inner { max-width: 1152px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 48px; }

/* Heading (Figma 5284:71773) */
#walter-blog .wb-head { max-width: 614px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
#walter-blog .wb-text { display: flex; flex-direction: column; align-items: center; gap: 16px; }
#walter-blog .wb-badge { margin: 0; height: 29px; padding: 3px 11px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 12px;
  color: rgba(0, 0, 0, 0.6); font-size: 14px; line-height: 21px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; font-variation-settings: "opsz" 15; }
#walter-blog .wb-content { display: flex; flex-direction: column; align-items: center; gap: 8px; }
#walter-blog .wb-title { margin: 0; color: #000; font-size: 40px; line-height: 60px; font-weight: 500; letter-spacing: -0.01em; font-variation-settings: "opsz" 30; }
#walter-blog .wb-title span { display: block; }
#walter-blog .wb-sub { margin: 0; color: rgba(0, 0, 0, 0.6); font-size: 18px; line-height: 27px; font-weight: 400; letter-spacing: -0.01em; font-variation-settings: "opsz" 14; }
#walter-blog .wb-all { height: 40px; padding: 8px 14px; border-radius: 12px; background: #f5f5f5; /* Figma 5284:71872 */ color: rgba(0, 0, 0, 0.6); text-decoration: none;
  font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: -0.01em; white-space: nowrap; font-variation-settings: "opsz" 15; transition: background-color 150ms ease-out; }
#walter-blog .wb-all:hover { background: #ececec; }
#walter-blog .wb-all:focus-visible { outline: 2px solid #7a37f0; outline-offset: 2px; }

/* Carousel (Figma 5284:71782): arrow, 24, cards, 24, arrow; the cards scroll sideways when they don't all fit */
#walter-blog .wb-carousel { position: relative; width: 100%; display: flex; align-items: center; gap: 24px; }
#walter-blog .wb-track { flex: 1; min-width: 0; display: flex; gap: 24px; margin: 0; padding: 0; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; scrollbar-width: none; }
#walter-blog .wb-track::-webkit-scrollbar { display: none; }
/* Desktop edges. The row reaches 24px into the gaps beside the arrows, and those 24px are a permanent soft edge:
   at rest they are empty, so the cards sit exactly as designed; while the row slides, cards pass through them
   and fade away instead of being cut. The script also fades each card as it leaves the resting area. Between
   desktop and mobile, where the cards don't all fit, the cut card fades out over the last 72px on the right. */
@media (min-width: 768px) {
  #walter-blog .wb-track { margin: 0 -24px; padding: 0 24px; scroll-padding: 0 24px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%); }
  #walter-blog .wb-track.is-cut { -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 96px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 96px), transparent 100%); }
}
#walter-blog .wb-item { flex: none; scroll-snap-align: start; }

/* Card (Figma 5284:71785): 328 x 399 */
#walter-blog .wb-card { width: 328px; height: 399px; display: flex; flex-direction: column; gap: 16px; padding: 7px 7px 15px; border: 1px solid rgba(0, 0, 0, 0.08); /* Figma stroke is inside: 8px / 16px from the outer edge */ border-radius: 16px;
  background: #fff; color: inherit; text-decoration: none; overflow: hidden; }
#walter-blog .wb-card:focus-visible { outline: 2px solid #7a37f0; outline-offset: 2px; }
#walter-blog .wb-img { display: block; flex: none; width: 100%; height: 202px; max-width: none; border-radius: 8px; object-fit: cover; background: #fafafa; }
#walter-blog .wb-info { display: flex; flex-direction: column; gap: 12px; padding: 0 12px; }
#walter-blog .wb-meta { display: flex; gap: 8px; margin: 0; color: rgba(0, 0, 0, 0.4); font-size: 14px; line-height: 21px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; font-variation-settings: "opsz" 15; }
#walter-blog .wb-copy { display: flex; flex-direction: column; gap: 8px; }
#walter-blog .wb-post { margin: 0; overflow: hidden; color: #000; font-size: 18px; line-height: 27px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; text-overflow: ellipsis; font-variation-settings: "opsz" 16; }
#walter-blog .wb-desc { height: 53px; margin: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2;
  color: rgba(0, 0, 0, 0.6); font-size: 18px; line-height: 27px; font-weight: 400; letter-spacing: -0.01em; font-variation-settings: "opsz" 14; }
#walter-blog .wb-more { display: flex; align-items: center; gap: 6px; color: rgba(0, 0, 0, 0.6); font-size: 16px; line-height: 24px; font-weight: 400; letter-spacing: -0.01em; font-variation-settings: "opsz" 15; }
#walter-blog .wb-more svg { width: 18px; height: 18px; flex: none; display: block; }

/* Arrows: 36px, white; always active, the row loops */
#walter-blog .wb-arrow { all: unset; box-sizing: border-box; position: relative; z-index: 2; flex: none; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 12px; background: #fff; color: #000; cursor: pointer; transition: background-color 150ms ease-out, opacity 150ms ease-out;
  box-shadow: 0 0 0 1px rgba(26, 26, 26, 0.06), 0 4px 9px rgba(0, 0, 0, 0.02), 0 15px 15px rgba(0, 0, 0, 0.02), 0 35px 21px rgba(0, 0, 0, 0.01); }
#walter-blog .wb-arrow svg { width: 20px; height: 20px; display: block; }
#walter-blog .wb-arrow:hover { background: #fafafa; }
#walter-blog .wb-arrow:focus-visible { outline: 2px solid #7a37f0; outline-offset: 2px; }
#walter-blog .wb-fade { display: none; }

/* Mobile (Figma 5284:71823) */
@media (max-width: 767.98px) {
  #walter-blog { padding: 48px 12px; }
  #walter-blog .wb-inner { gap: 32px; }
  #walter-blog .wb-head { max-width: 362px; }
  #walter-blog .wb-title { font-size: 32px; line-height: 40px; }
  /* The cards run to the screen edges and scroll with a swipe */
  #walter-blog .wb-carousel { width: calc(100% + 24px); margin: 0 -12px; display: block; }
  #walter-blog .wb-track { gap: 16px; padding: 0 12px; scroll-padding: 0 12px; }
  /* On phones narrower than the 402 frame the card narrows too, so it never runs off the screen and the next card still peeks in */
  #walter-blog .wb-card { width: min(328px, calc(100vw - 64px)); }
  #walter-blog .wb-carousel > .wb-arrow { display: none; }
  /* A white fade with an arrow over the right edge (Figma 5284:71859), always shown */
  #walter-blog .wb-fade { position: absolute; top: 0; bottom: 0; z-index: 2; width: 52px; display: flex; align-items: center; justify-content: center; pointer-events: none;
    opacity: 0; visibility: hidden; transition: opacity 150ms ease-out, visibility 0s linear 150ms; }
  #walter-blog .wb-fade--next { right: 0; background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff); }
  #walter-blog .wb-fade.is-on { opacity: 1; visibility: visible; transition: opacity 150ms ease-out; }
  #walter-blog .wb-fade .wb-arrow { pointer-events: auto; }
  #walter-blog .wb-fade .wb-arrow::before { content: ""; position: absolute; inset: -4px; } /* 44px tap target */
}
@media (prefers-reduced-motion: reduce) {
  #walter-blog .wb-track { scroll-behavior: auto; }
}
