/*
 * Blog index and post pages (Figma: onDiem Brand - Fall 2026, "Website - Blog",
 * "Mobile - Blog", "Website - Blog post", "Mobile - Blog post").
 * Markup comes from scripts/blog.py.
 */
.b26 {
  --b26-navy: #2a3b59;
  --b26-ink: #3e4b63;
  --b26-muted: #6b7791;
  --b26-cream: #fffaf5;
  --b26-art: #f4f4f4;
  --b26-line: #e1ddd6;
  position: relative;
  overflow: hidden;
  background: var(--b26-cream);
  color: var(--b26-navy);
  font-family: "Plus Jakarta Sans", Montserrat, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.b26 *, .b26 *::before, .b26 *::after { box-sizing: border-box; }
.b26 h1, .b26 h2, .b26 h3, .b26 p, .b26 a, .b26 ul, .b26 li, .b26 button {
  margin: 0;
  font-family: inherit;
  text-transform: none;
  letter-spacing: normal;
}
.b26 a { text-decoration: none; }
.b26 [hidden] { display: none !important; }
.b26-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.b26-mobile { display: none; }

/* ---------- Hero ---------- */
.b26-hero {
  position: relative;
  min-height: 690px;
  padding: 195px 40px 0;
}
.b26-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.b26-hero__bg img { position: absolute; display: block; max-width: none; }
.b26-hero__orb {
  top: 0;
  left: 50%;
  width: max(1440px, 100%);
  height: auto;
  aspect-ratio: 1440 / 1466.36;
  transform: translate(-50%, -59.95%);
}
.b26-hero__fade { top: 0; left: 0; width: 100%; height: 441px; object-fit: fill; }
.b26 .b26-hero__bg .b26-hero__mobile { display: none; }
.b26-hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.b26 .b26-hero__title {
  color: var(--b26-navy);
  font-size: 68px;
  line-height: 80px;
  font-weight: 600;
  letter-spacing: -1.36px;
}
.b26 .b26-hero__lead {
  max-width: 696px;
  color: var(--b26-ink);
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}
.b26-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.b26 .b26-filter {
  padding: 10px 18px;
  border: 1px solid var(--b26-line);
  border-radius: 999px;
  background: #fff;
  color: var(--b26-navy);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.b26 .b26-filter:hover { border-color: var(--b26-navy); }
.b26 .b26-filter[aria-pressed="true"] { border-color: var(--b26-navy); background: var(--b26-navy); color: #fff; }
.b26 .b26-filter:focus-visible,
.b26 .b26-btn:focus-visible,
.b26 .b26-btn-outline:focus-visible,
.b26 .b26-card__title a:focus-visible { outline: 2px solid var(--b26-navy); outline-offset: 3px; }

/* ---------- Shared ---------- */
.b26 .b26-meta { color: var(--b26-muted); font-size: 14px; line-height: 22px; font-weight: 400; }
.b26 .b26-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--b26-navy);
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .15s;
}
.b26 .b26-btn:hover { background: #1f2c44; }
.b26 .b26-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--b26-navy);
  border-radius: 999px;
  color: var(--b26-navy);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.b26 .b26-btn-outline:hover { background: var(--b26-navy); color: #fff; }

/* ---------- Featured post ---------- */
.b26-featured { position: relative; max-width: 1440px; margin: 0 auto; padding: 0 120px 120px; }
.b26-featured__panel { display: flex; overflow: hidden; border-radius: 40px; background: #fff; }
.b26-featured__art { flex: 0 0 50%; min-height: 440px; background: var(--b26-art); }
.b26-featured__art img,
.b26-card__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b26-featured__copy {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 64px;
}
.b26 .b26-featured__title {
  max-width: 472px;
  color: var(--b26-navy);
  font-size: 32px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -.48px;
}
.b26 .b26-featured__text { max-width: 472px; color: var(--b26-ink); font-size: 18px; line-height: 28px; font-weight: 400; }

/* ---------- Latest posts ---------- */
.b26-latest {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px 120px;
  scroll-margin-top: 96px;
}
.b26 .b26-latest__title {
  color: var(--b26-navy);
  font-size: 48px;
  line-height: 56px;
  font-weight: 600;
  letter-spacing: -.96px;
}
.b26 .b26-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 30px;
  padding: 0;
  list-style: none;
}
.b26-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  transition: box-shadow .2s;
}
.b26-card:hover { box-shadow: 0 8px 24px rgba(42, 59, 89, .08); }
.b26-card__thumb { height: 220px; background: var(--b26-art); }
.b26-card__body { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 32px; }
.b26 .b26-card__title {
  display: -webkit-box;
  height: 48px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
}
.b26 .b26-card__title a { color: var(--b26-navy); }
/* The whole card opens the post. */
.b26 .b26-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: 32px; }
.b26 .b26-card__text {
  display: -webkit-box;
  height: 72px;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: var(--b26-ink);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}
.b26-card__more { color: var(--b26-navy); font-size: 16px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.b26-card:hover .b26-card__more { text-decoration: underline; }
.b26-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; }
.b26 .b26-pagination__count { color: var(--b26-muted); font-size: 14px; line-height: 22px; white-space: nowrap; }
.b26-pagination__links { display: flex; gap: 12px; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .b26-featured, .b26-latest { padding-left: 40px; padding-right: 40px; }
  .b26-featured__copy { padding: 48px; }
  .b26 .b26-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) and (min-width: 768px) {
  .b26-featured__panel { flex-direction: column; }
  .b26-featured__art { flex: none; min-height: 0; height: 320px; }
  .b26 .b26-featured__title,
  .b26 .b26-featured__text { max-width: 600px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .b26-desktop { display: none; }
  .b26-mobile { display: inline; }
  .b26-hero { min-height: 0; padding: 126px 16px 48px; }
  .b26 .b26-hero__bg .b26-hero__orb,
  .b26 .b26-hero__bg .b26-hero__fade { display: none; }
  .b26 .b26-hero__bg .b26-hero__mobile { display: block; top: 0; left: 0; width: 100%; height: 704px; }
  .b26-hero__copy { gap: 24px; }
  .b26 .b26-hero__title { font-size: 40px; line-height: 44px; letter-spacing: -.8px; }
  .b26 .b26-hero__lead { font-size: 17px; line-height: 28px; }
  .b26-featured { padding: 16px 16px 64px; }
  .b26-featured__panel { flex-direction: column; border-radius: 28px; }
  .b26-featured__art { flex: none; min-height: 0; height: 220px; }
  .b26-featured__copy { gap: 16px; padding: 28px 24px; }
  .b26 .b26-featured__title { font-size: 26px; line-height: 32px; letter-spacing: -.39px; }
  .b26 .b26-featured__text { font-size: 16px; line-height: 26px; }
  .b26 .b26-featured .b26-btn { width: 100%; }
  .b26-latest { gap: 24px; padding: 16px 16px 64px; scroll-margin-top: 80px; }
  .b26 .b26-latest__title { font-size: 34px; line-height: 40px; letter-spacing: -.68px; }
  .b26 .b26-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .b26 .b26-card__title { font-size: 17px; line-height: 22px; height: 48px; }
  .b26-pagination { justify-content: space-between; }
  .b26-pagination__links { gap: 8px; }
}

/* =================== Post page =================== */
.b26-post { --b26-quote: #f7f1ea; --b26-cover: #fce8d3; }
.b26-post-hero { position: relative; padding: 195px 40px 100px; }
.b26-post-hero__fade { top: 0; left: 0; width: 100%; height: 441px; }
.b26-post-hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.b26 .b26-back { color: var(--b26-navy); font-size: 14px; line-height: 20px; font-weight: 600; }
.b26 .b26-back:hover { text-decoration: underline; }
.b26 .b26-post-hero__title {
  color: var(--b26-navy);
  font-size: 68px;
  line-height: 80px;
  font-weight: 600;
  letter-spacing: -1.36px;
}
.b26 .b26-post-hero__lead { max-width: 696px; color: var(--b26-ink); font-size: 20px; line-height: 30px; font-weight: 500; }
.b26-cover { max-width: 1440px; margin: 0 auto; padding: 0 120px 96px; }
.b26-cover__art {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 480px;
  border-radius: 40px;
  background: var(--b26-cover);
}
.b26-cover__art img { display: block; width: 160px; height: 160px; }

/* Article text. It comes from the old posts, so style plain tags. */
.b26-article { padding: 0 40px 140px; }
.b26-article__body { max-width: 720px; margin: 0 auto; color: var(--b26-ink); font-size: 18px; line-height: 28px; font-weight: 400; }
.b26 .b26-article__body > * + * { margin-top: 20px; }
.b26 .b26-article__body p,
.b26 .b26-article__body li { font-size: inherit; line-height: inherit; color: inherit; }
.b26 .b26-article__body strong,
.b26 .b26-article__body b { color: var(--b26-navy); font-weight: 600; }
.b26 .b26-article__body a { color: var(--b26-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.b26 .b26-article__body h2,
.b26 .b26-article__body h3,
.b26 .b26-article__body h4,
.b26 .b26-article__body h5,
.b26 .b26-article__body h6 { margin-bottom: 0; color: var(--b26-navy); font-weight: 600; text-transform: none; }
.b26 .b26-article__body h2 { font-size: 32px; line-height: 40px; letter-spacing: -.48px; }
.b26 .b26-article__body h3 { font-size: 24px; line-height: 32px; letter-spacing: -.24px; }
.b26 .b26-article__body h4 { font-size: 20px; line-height: 28px; }
.b26 .b26-article__body h5,
.b26 .b26-article__body h6 { font-size: 18px; line-height: 28px; }
.b26 .b26-article__body > * + h2 { margin-top: 40px; }
.b26 .b26-article__body > * + h3,
.b26 .b26-article__body > * + h4 { margin-top: 32px; }
.b26 .b26-article__body h2 strong,
.b26 .b26-article__body h3 strong,
.b26 .b26-article__body h4 strong { font-weight: inherit; }
.b26 .b26-article__body ul,
.b26 .b26-article__body ol { margin-bottom: 0; padding-left: 4px; }
.b26 .b26-article__body ul { list-style: none; }
.b26 .b26-article__body ol { padding-left: 24px; }
.b26 .b26-article__body li + li { margin-top: 10px; }
.b26 .b26-article__body ul > li { position: relative; padding-left: 21px; }
.b26 .b26-article__body ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 7px;
  height: 18px;
  background: url("/assets/images/blog-2026/bullet.084f8df2.svg") no-repeat 0 0 / 7px 18px;
}
.b26 .b26-article__body blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 28px 32px;
  border: 0;
  border-radius: 24px;
  background: var(--b26-quote);
  color: var(--b26-navy);
  font-size: 20px;
  line-height: 30px;
  font-weight: 500;
}
.b26 .b26-article__body blockquote strong { font-weight: 600; }
/* Several posts put the attribution ("—Name, title") in a second blockquote
   right after the quote. Join it to the quote's box as the small credit line. */
.b26 .b26-article__body blockquote:has(+ blockquote) { padding-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.b26 .b26-article__body blockquote + blockquote {
  margin-top: 0;
  padding-top: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  color: var(--b26-muted);
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
}
.b26 .b26-article__body blockquote + blockquote strong { color: inherit; font-weight: 600; }
.b26 .b26-article__body figure { max-width: 100% !important; width: auto; margin-left: 0; margin-right: 0; float: none; }
.b26 .b26-article__body figure > div { width: 100%; }
.b26 .b26-article__body img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 24px; }
.b26 .b26-article__body figcaption { margin-top: 8px; color: var(--b26-muted); font-size: 14px; line-height: 22px; text-align: center; }
.b26 .b26-article__body iframe { max-width: 100%; border: 0; border-radius: 24px; }

/* Keep reading */
.b26-related { background: var(--b26-quote); }
.b26-related > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.b26-related { padding: 100px 120px 120px; }
.b26-related__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 48px; }
.b26 .b26-related__title { color: var(--b26-navy); font-size: 48px; line-height: 56px; font-weight: 600; letter-spacing: -.96px; }
.b26 .b26-related__all { color: var(--b26-navy); font-size: 16px; line-height: 20px; font-weight: 600; white-space: nowrap; }
.b26 .b26-related__all:hover { text-decoration: underline; }

@media (max-width: 1100px) {
  .b26-cover { padding-left: 40px; padding-right: 40px; }
  .b26-related { padding-left: 40px; padding-right: 40px; }
  .b26-related .b26-grid > :nth-child(3) { display: none; }
}

@media (max-width: 767px) {
  .b26-post-hero { padding: 126px 16px 48px; }
  .b26-post-hero__copy { gap: 20px; }
  .b26 .b26-post-hero__title { font-size: 40px; line-height: 44px; letter-spacing: -.8px; }
  .b26 .b26-post-hero__lead { font-size: 17px; line-height: 28px; }
  .b26-cover { padding: 8px 16px 48px; }
  .b26-cover__art { height: 220px; border-radius: 28px; }
  .b26-cover__art img { width: 100px; height: 100px; }
  .b26-article { padding: 0 16px 72px; }
  .b26-article__body { font-size: 16px; line-height: 26px; }
  .b26 .b26-article__body h2 { font-size: 26px; line-height: 32px; letter-spacing: -.39px; }
  .b26 .b26-article__body h3 { font-size: 22px; line-height: 28px; }
  .b26 .b26-article__body h4 { font-size: 18px; line-height: 26px; }
  .b26 .b26-article__body > * + h2 { margin-top: 36px; }
  .b26 .b26-article__body ul > li { padding-left: 18px; }
  .b26 .b26-article__body ul > li::before {
    width: 6px;
    height: 16px;
    background: url("/assets/images/blog-2026/bullet-m.646a7b05.svg") no-repeat 0 0 / 6px 16px;
  }
  .b26 .b26-article__body blockquote { padding: 24px; border-radius: 20px; font-size: 17px; line-height: 28px; }
  .b26 .b26-article__body img { border-radius: 20px; }
  .b26-related { padding: 56px 16px 64px; }
  .b26-related__head { margin-bottom: 24px; }
  .b26 .b26-related__title { font-size: 34px; line-height: 40px; letter-spacing: -.68px; }
  .b26-related .b26-grid { gap: 24px; }
  .b26-related .b26-grid > :nth-child(3) { display: flex; }
}
