.th-blog {
  --ink: #1B2433;
  --heading: #2A1545;
  --muted: #5B6B80;
  --body: #46556A;
  --line: #EAE5F0;
  --card-line: #E4DEEC;
  --purple: #6630aa;
  --purple-dark: #52258a;
  --pill: #D8CFE4;
  --wash: #F7F5FA;
  --tag: #F0E9F8;
  color: var(--ink);
  font-family: "Source Sans 3", system-ui, sans-serif;
  background: #fff;
}

.th-blog h1,
.th-blog h2,
.th-blog h3,
.th-blog h4 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: -0.01em;
  color: var(--heading);
  margin: 0;
}

.th-blog a { color: var(--purple); text-decoration: none; }
.th-blog a:hover { color: var(--purple-dark); }

.th-blog-wrap { max-width: 1280px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.th-blog-hero { background: var(--wash); border-bottom: 1px solid var(--line); }
.th-blog-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px;
  align-items: end;
  padding-top: 72px;
  padding-bottom: 56px;
}
.th-blog-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--purple);
  background: var(--tag);
  padding: 5px 10px;
  border-radius: 999px;
}
.th-blog h1 { font-size: 52px; line-height: 1.08; font-weight: 800; }
.th-blog-lead { margin: 18px 0 0; font-size: 19px; line-height: 1.55; color: var(--body); max-width: 620px; }
.th-blog-search label {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--heading);
}
.th-blog-search-field { position: relative; margin-top: 12px; }
.th-blog-search-field svg { position: absolute; left: 16px; top: 17px; }
.th-blog-search input[type="search"] {
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  padding: 0 18px 0 46px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid #CFC4DD;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.th-blog-note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

.th-blog-filters { border-bottom: 1px solid var(--line); background: #fff; }
.th-blog-filters-in { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding-top: 18px; padding-bottom: 18px; }
.th-blog-pill {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--pill);
  background: #fff;
  color: var(--ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.th-blog-pill.is-on,
.th-blog-pill.is-on:hover { background: var(--heading); border-color: var(--heading); color: #fff; }

.th-blog-list { padding-top: 40px; padding-bottom: 24px; }
.th-blog-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.th-blog-list h2 { font-size: 28px; font-weight: 700; }
.th-blog-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.th-blog-sort select {
  font-family: "Source Sans 3", sans-serif;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #CFC4DD;
  background: #fff;
  color: var(--ink);
  min-height: 44px;
}
.th-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.th-blog-card {
  background: #fff;
  border: 1px solid var(--card-line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  color: inherit;
  height: 100%;
}
.th-blog-card:hover { box-shadow: 0 10px 30px rgba(42, 21, 69, .10); color: inherit; }
.th-blog-ph {
  background: linear-gradient(135deg, #EDE8F3 0%, #DED5EA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.th-blog-card-media { height: 200px; width: 100%; object-fit: cover; display: block; }
.th-blog-card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.th-blog-meta-row { display: flex; gap: 10px; align-items: center; }
.th-blog-meta { font-size: 14px; color: var(--muted); }
.th-blog-card h3 { font-size: 21px; line-height: 1.28; font-weight: 700; }
.th-blog-card p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--body); }
.th-blog-card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; }
.th-blog-read { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 14px; color: var(--purple); }
.th-blog-more { display: flex; justify-content: center; padding: 16px 0 8px; }
.th-blog-empty { grid-column: 1 / -1; border: 1px dashed var(--card-line); border-radius: 14px; padding: 48px 24px; text-align: center; color: var(--body); }

.th-blog-btn {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  cursor: pointer;
}
.th-blog-btn-primary,
.th-blog-btn-primary:hover { background: var(--purple); color: #fff; }
.th-blog-btn-primary:hover { background: var(--purple-dark); }
.th-blog-btn-ghost { background: #fff; color: var(--heading); border-color: #CFC4DD; }
.th-blog-btn-ghost:hover { color: var(--heading); border-color: var(--purple); }

.th-blog-band { background: var(--wash); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.th-blog-band-in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: start; padding-top: 56px; padding-bottom: 56px; }
.th-blog-topics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.th-blog-topic {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #DDD4E8;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  min-height: 44px;
}
.th-blog-topic:hover { color: var(--ink); border-color: var(--purple); }
.th-blog-news {
  background: var(--heading);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #fff;
}
.th-blog-news .th-blog-kicker { color: #C9A8F0; background: transparent; padding: 0; }
.th-blog-news h2 { font-size: 28px; font-weight: 800; color: #fff; line-height: 1.2; }
.th-blog-news p { margin: 0; font-size: 16px; line-height: 1.55; color: #D9CCEA; }
.th-blog-news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.th-blog-news input[type="email"] {
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid #5A3A85;
  background: #3B1F5E;
  color: #fff;
  flex: 1 1 220px;
}
.th-blog-cta { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.th-blog-cta h2 { font-size: 34px; font-weight: 800; max-width: 720px; line-height: 1.15; }
.th-blog-cta p { margin: 0; font-size: 18px; color: var(--body); max-width: 560px; }
.th-blog-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.th-blog-article-head { background: var(--wash); border-bottom: 1px solid var(--line); }
.th-blog-article-head-in { padding-top: 40px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 20px; }
.th-blog-crumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); flex-wrap: wrap; }
.th-blog-crumb a { color: var(--muted); }
.th-blog-crumb a:hover { color: var(--purple); }
.th-blog-crumb span:last-child { color: var(--heading); }
.th-blog-article-head h1 { font-size: 48px; line-height: 1.12; font-weight: 800; max-width: 860px; }
.th-blog-dek { margin: 0; font-size: 20px; line-height: 1.55; color: var(--body); max-width: 760px; }
.th-blog-byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.th-blog-avatar {
  width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
}
.th-blog-avatar img { width: 100%; height: 100%; object-fit: cover; }
.th-blog-share { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.th-blog-share a, .th-blog-share button {
  width: 40px; height: 40px; border-radius: 8px; border: 1px solid #CFC4DD; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; color: var(--heading); padding: 0; cursor: pointer;
}
.th-blog-share a:hover, .th-blog-share button:hover { border-color: var(--purple); color: var(--purple); }
.th-blog-hero-img { padding-top: 40px; }
.th-blog-hero-img img, .th-blog-hero-img .th-blog-ph { width: 100%; height: 460px; border-radius: 16px; object-fit: cover; }

.th-blog-body { padding-top: 48px; padding-bottom: 24px; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; align-items: start; }
.th-blog-article p { margin: 0 0 20px; font-size: 18px; line-height: 1.7; color: #2E3A4D; }
.th-blog-article h2 { font-size: 28px; font-weight: 700; margin: 40px 0 14px; line-height: 1.25; }
.th-blog-article h3 { font-size: 21px; font-weight: 700; margin: 28px 0 10px; }
.th-blog-article ul, .th-blog-article ol { margin: 0 0 20px; padding-left: 22px; font-size: 18px; line-height: 1.7; color: #2E3A4D; }
.th-blog-article li { margin-bottom: 6px; }
.th-blog-article blockquote {
  margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--purple); background: var(--wash);
  border-radius: 0 12px 12px 0; font-size: 20px; line-height: 1.5; color: var(--heading);
  font-family: "Plus Jakarta Sans", sans-serif; font-weight: 600;
}
.th-blog-article img { max-width: 100%; height: auto; border-radius: 12px; }
.th-blog-article table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 16px; }
.th-blog-article th, .th-blog-article td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; vertical-align: top; }
.th-blog-article th { color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.th-blog-toc a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--card-line); color: var(--body); font-size: 15px; }
.th-blog-toc a:hover { border-left-color: var(--purple); color: var(--purple); }
.th-blog-side { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.th-blog-panel { border: 1px solid var(--card-line); border-radius: 14px; padding: 22px; }
.th-blog-panel h4, .th-blog-side-news h4 {
  font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px;
}
.th-blog-side-news { background: var(--wash); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.th-blog-side-news h4 { font-size: 18px; letter-spacing: 0; text-transform: none; margin: 0; }
.th-blog-side-news p { margin: 0; font-size: 15px; color: var(--body); }
.th-blog-side-news input[type="email"] {
  font-family: "Source Sans 3", sans-serif; font-size: 15px; height: 46px; padding: 0 14px;
  border-radius: 8px; border: 1px solid #CFC4DD; background: #fff; color: var(--ink); width: 100%;
}
.th-blog-popular a { display: flex; gap: 12px; align-items: center; color: inherit; margin-top: 14px; }
.th-blog-popular a:hover { color: inherit; }
.th-blog-popular img, .th-blog-popular .th-blog-ph { width: 64px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.th-blog-popular span { font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--heading); }
.th-blog-callout { background: var(--heading); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 12px; color: #fff; margin: 36px 0 8px; }
.th-blog-callout h3 { color: #fff; margin: 0; font-size: 24px; }
.th-blog-callout p { margin: 0; color: #D9CCEA; font-size: 16.5px; line-height: 1.6; }
.th-blog-callout .th-blog-btn-secondary { background: #3B1F5E; color: #fff; }
.th-blog-tags { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.th-blog-author {
  margin-top: 28px; padding: 24px; border: 1px solid var(--card-line); border-radius: 14px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
}
.th-blog-author .th-blog-avatar { width: 64px; height: 64px; }
.th-blog-related { background: var(--wash); border-top: 1px solid var(--line); }
.th-blog-related-in { padding-top: 56px; padding-bottom: 56px; }
.th-blog-related h3 { font-size: 19px; line-height: 1.3; }
.th-blog-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}

@media (max-width: 900px) {
  .th-blog-wrap { padding-left: 16px; padding-right: 16px; }
  .th-blog-hero-in,
  .th-blog-band-in,
  .th-blog-body,
  .th-blog-grid,
  .th-blog-topics { grid-template-columns: 1fr; }
  .th-blog h1 { font-size: 36px; }
  .th-blog-article-head h1 { font-size: 34px; }
  .th-blog-hero-img img, .th-blog-hero-img .th-blog-ph { height: 220px; }
  .th-blog-share { margin-left: 0; }
}
