.twt-kb {
  --twt-kb-red: #e31b23;
  --twt-kb-red-dark: #b91219;
  --twt-kb-ink: #1f2328;
  --twt-kb-muted: #667085;
  --twt-kb-border: #e4e7ec;
  --twt-kb-surface: #fff;
  color: var(--twt-kb-ink);
}

.twt-kb-container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.twt-kb-single--article { overflow-x: clip; }
.twt-kb-single--topic { overflow-x: clip; }

.twt-kb-search { margin-block: 0 48px; }
.twt-kb-search__field {
  display: flex;
  max-width: 850px;
  margin-inline: auto;
  border: 1px solid var(--twt-kb-border);
  border-radius: 8px;
  background: var(--twt-kb-surface);
  box-shadow: 0 8px 24px rgba(16, 24, 40, .08);
  overflow: hidden;
}
.twt-kb-search__input {
  min-width: 0;
  flex: 1;
  min-height: 58px;
  padding: 0 20px;
  border: 0 !important;
  outline: 0;
  box-shadow: none !important;
  font: inherit;
  font-size: 1rem;
}
.twt-kb-search__input:focus { box-shadow: inset 0 0 0 2px var(--twt-kb-red) !important; }
.twt-kb-search__button {
  min-width: 112px;
  padding: 0 24px;
  border: 0;
  background: var(--twt-kb-red);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.twt-kb-search__button:hover,
.twt-kb-search__button:focus { background: var(--twt-kb-red-dark); }
.twt-kb-search__results {
  display: none;
  max-width: 850px;
  margin: 8px auto 0;
  border: 1px solid var(--twt-kb-border);
  border-radius: 8px;
  background: var(--twt-kb-surface);
  box-shadow: 0 12px 32px rgba(16, 24, 40, .12);
  overflow: hidden;
}
.twt-kb-search__results.is-visible { display: block; }
.twt-kb-search__results.is-loading { min-height: 80px; opacity: .65; }
.twt-kb-search-result { padding: 18px 22px; border-bottom: 1px solid var(--twt-kb-border); }
.twt-kb-search-result:last-child { border-bottom: 0; }
.twt-kb-search-result__topic {
  margin-bottom: 4px;
  color: var(--twt-kb-red-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.twt-kb-search-result__title { margin: 0 0 4px; font-size: 1.08rem; }
.twt-kb-search-result__title a { color: var(--twt-kb-ink); text-decoration: none; }
.twt-kb-search-result__title a:hover { color: var(--twt-kb-red); text-decoration: underline; }
.twt-kb-search-result__excerpt { margin: 0; color: var(--twt-kb-muted); font-size: .93rem; }
.twt-kb-search__empty,
.twt-kb-search__error { margin: 0; padding: 22px; }

.twt-kb-topics__title { margin-bottom: 24px; text-align: center; }
.twt-kb-topic-grid {
  display: grid;
  grid-template-columns: repeat(var(--twt-kb-columns, 3), minmax(0, 1fr));
  gap: 24px;
}
.twt-kb-topic-card {
  border: 1px solid var(--twt-kb-border);
  border-radius: 10px;
  background: var(--twt-kb-surface);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.twt-kb-topic-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16, 24, 40, .1); }
.twt-kb-topic-card__link { display: block; height: 100%; color: inherit; text-decoration: none; }
.twt-kb-topic-card__image { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.twt-kb-topic-card__body { display: block; padding: 22px; }
.twt-kb-topic-card__title { display: block; margin-bottom: 8px; font-size: 1.2rem; font-weight: 700; }
.twt-kb-topic-card__excerpt { display: block; margin-bottom: 14px; color: var(--twt-kb-muted); }
.twt-kb-topic-card__count { display: block; color: var(--twt-kb-red-dark); font-size: .82rem; font-weight: 700; }

.twt-kb .kb-categories {
  padding: 24px 0;
  background: #f4f4f4;
}
.twt-kb .kb-container {
  width: 90%;
  max-width: 1100px;
  margin-inline: auto;
}
.twt-kb .kb-category-grid__items {
  display: grid;
  grid-template-columns: repeat(var(--twt-kb-category-columns, 2), minmax(0, 1fr));
  gap: 0 24px;
}
.twt-kb .kb-category-card {
  min-width: 0;
  margin: 1rem 0;
  padding: 28px;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.twt-kb .kb-category-card:hover,
.twt-kb .kb-category-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}
.twt-kb .kb-category-card__link {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.twt-kb .kb-category-card__link:focus-visible { outline: 3px solid rgba(215, 25, 32, .3); outline-offset: 5px; }
.twt-kb .kb-category-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.twt-kb .kb-category-icon {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
}
.twt-kb .kb-icon {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e30613;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}
.twt-kb .kb-category-card h3 {
  margin: 0;
  color: #111;
  font-size: 24px;
  font-weight: 700;
}
.twt-kb .kb-category-card p {
  margin: 6px 0 0;
  color: #666;
  font-size: 14px;
  line-height: 1.4;
}

.twt-kb-breadcrumbs { margin-bottom: 28px; color: var(--twt-kb-muted); font-size: .9rem; }
.twt-kb-breadcrumbs > * + * { margin-left: 8px; }
.twt-kb-breadcrumbs a { color: var(--twt-kb-red-dark); }
.twt-kb-entry__header h1 { margin-bottom: 28px; }
.twt-kb-entry__content { margin-bottom: 48px; }
.twt-kb .twt-kb-article-hero {
  position: relative;
  left: 50%;
  display: flex;
  width: 100vw;
  max-width: 100vw;
  min-height: 480px;
  align-items: flex-end;
  margin-left: -50vw;
  padding: 0;
  overflow: hidden;
  background-color: #000;
  background-position: center;
  background-size: cover;
  color: #fff;
}
.twt-kb .twt-kb-article-hero__inner {
  padding-top: 100px;
  padding-bottom: 70px;
}
.twt-kb .twt-kb-article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
}
.twt-kb .twt-kb-article-breadcrumbs a {
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
}
.twt-kb .twt-kb-article-breadcrumbs a:hover,
.twt-kb .twt-kb-article-breadcrumbs a:focus { color: #fff; text-decoration: underline; }
.twt-kb .twt-kb-article-breadcrumbs strong { color: #fff; font-weight: 600; }
.twt-kb .pillar-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  backdrop-filter: blur(10px);
}
.twt-kb .twt-kb-article-hero__title {
  max-width: 900px;
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.1;
  text-align: left;
}
.twt-kb .intro {
  max-width: 760px;
  margin-bottom: 35px;
  color: rgba(255, 255, 255, .88);
  font-size: 19px;
  line-height: 1.8;
}
.twt-kb .intro p { margin: 0; color: inherit; }
.twt-kb .article-meta { display: flex; flex-wrap: wrap; gap: 16px; }
.twt-kb .meta-item {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 14px;
  backdrop-filter: blur(10px);
}
.twt-kb .twt-kb-topic-hero {
  position: relative;
  left: 50%;
  display: flex;
  width: 100vw;
  max-width: 100vw;
  min-height: 390px;
  align-items: center;
  margin-left: -50vw;
  background-color: #000;
  background-image: linear-gradient(120deg, #050505, #1a1a1a);
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
}
.twt-kb .twt-kb-topic-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.twt-kb .twt-kb-topic-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}
.twt-kb .twt-kb-topic-breadcrumbs a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.twt-kb .twt-kb-topic-breadcrumbs a:hover,
.twt-kb .twt-kb-topic-breadcrumbs a:focus { color: #fff; text-decoration: underline; }
.twt-kb .twt-kb-topic-breadcrumbs strong { color: #fff; }
.twt-kb .twt-kb-topic-hero__title {
  position: relative;
  max-width: 900px;
  margin: 0 0 28px;
  padding-bottom: 24px;
  color: #fff;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.05;
}
.twt-kb .twt-kb-topic-hero__title::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: #d71920;
  content: '';
  transform: translateX(-50%);
}
.twt-kb .twt-kb-topic-hero__excerpt {
  max-width: 760px;
  color: rgba(255, 255, 255, .88);
  font-size: 20px;
  line-height: 1.7;
}
.twt-kb .twt-kb-topic-hero__excerpt p { margin: 0; color: inherit; }
.twt-kb-topic-body { padding-top: 56px; }
.twt-kb .twt-kb-page-nav {
  display: flex;
  margin: 42px 0 56px;
  padding-top: 24px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid #e5e7eb;
}
.twt-kb .twt-kb-page-nav__link {
  display: inline-flex;
  min-height: 46px;
  padding: 11px 18px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #d9dde3;
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.twt-kb .twt-kb-page-nav__link:hover,
.twt-kb .twt-kb-page-nav__link:focus-visible {
  border-color: #d71920;
  color: #d71920;
  transform: translateY(-2px);
}
.twt-kb .twt-kb-page-nav__link:focus-visible {
  outline: 3px solid rgba(215, 25, 32, .18);
  outline-offset: 3px;
}
.twt-kb .twt-kb-page-nav__link--primary {
  border-color: #d71920;
  background: #d71920;
  color: #fff;
}
.twt-kb .twt-kb-page-nav__link--primary:hover,
.twt-kb .twt-kb-page-nav__link--primary:focus-visible {
  border-color: #b91219;
  background: #b91219;
  color: #fff;
}
.twt-kb .twt-kb-page-nav--topic { justify-content: flex-start; }
.twt-kb .sidebar {
  position: sticky;
  top: 30px;
}
.twt-kb .sidebar.has-promotion { position: static; }
.twt-kb .sidebar-card,
.twt-kb .sidebar-card-2 {
  margin-bottom: 24px;
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}
.twt-kb .sidebar-card { background: #fff; }
.twt-kb .sidebar-card-2 {
  background-color: #1a1a1a;
  background-position: center;
  background-size: cover;
  color: #fff;
}
.twt-kb .sidebar-card h3,
.twt-kb .sidebar-card-2 h3 { margin: 0 0 16px; font-size: 20px; }
.twt-kb .sidebar-card-2 h3 { color: #fff; }
.twt-kb .sidebar-card-2 p { margin: 0 0 20px; color: rgba(255, 255, 255, .82); }
.twt-kb .twt-kb-mobile-sidebar-cards { display: none; }
.twt-kb .twt-kb-promotion {
  position: relative;
  margin-bottom: 24px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.twt-kb .twt-kb-promotion:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, .12);
}
.twt-kb .twt-kb-promotion__label {
  display: inline-flex;
  margin: 2px 2px 12px;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff0f1;
  color: #d71920;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  line-height: 1;
  text-transform: uppercase;
}
.twt-kb .twt-kb-promotion__link {
  display: block;
  color: #111;
  text-decoration: none;
}
.twt-kb .twt-kb-promotion__link:focus-visible {
  border-radius: 12px;
  outline: 3px solid rgba(215, 25, 32, .22);
  outline-offset: 3px;
}
.twt-kb .twt-kb-promotion__artwork {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #f4f4f4;
}
.twt-kb .twt-kb-promotion__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 0 !important;
  object-fit: contain;
}
.twt-kb .twt-kb-promotion__cta {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px 3px;
  color: #d71920;
  font-size: 14px;
  font-weight: 800;
}
.twt-kb .twt-kb-promotion__cta [aria-hidden="true"] {
  font-size: 20px;
  line-height: 1;
  transition: transform .2s ease;
}
.twt-kb .twt-kb-promotion__link:hover .twt-kb-promotion__cta [aria-hidden="true"] { transform: translateX(4px); }
.twt-kb .twt-kb-promotion--inline {
  width: min(100%, 780px);
  margin: 40px auto;
  padding: 18px;
}
.twt-kb .twt-kb-promotion--inline .twt-kb-promotion__artwork { max-height: 680px; }
.twt-kb .twt-kb-promotion--inline .twt-kb-promotion__image {
  width: auto;
  max-height: 680px;
}
.twt-kb .twt-kb-promotion--inline .twt-kb-promotion__cta { padding: 17px 6px 4px; font-size: 16px; }
.twt-kb .toc ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.twt-kb .toc li { margin: 0; padding: 0; }
.twt-kb .toc a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: #000;
  line-height: 1.4;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.twt-kb .toc a::before {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 999px;
  background: #d71920;
  content: '';
}
.twt-kb .toc a:hover,
.twt-kb .toc a:focus {
  color: #d71920;
  transform: translateX(3px);
}
.twt-kb .twt-kb-guide-heading { scroll-margin-top: 110px; }
.twt-kb-topic-articles { padding-top: 32px; border-top: 1px solid var(--twt-kb-border); }
.article-filters { padding: 0 0 30px; }
.article-filters .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.article-filters button {
  padding: 14px 24px;
  border: 0;
  border-radius: 40px;
  background: #fff;
  color: var(--twt-kb-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}
.article-filters button:hover,
.article-filters button:focus-visible,
.article-filters button.active {
  background: #d71920;
  color: #fff;
}
.article-filters button:focus-visible { outline: 3px solid rgba(215, 25, 32, .3); outline-offset: 2px; }
.twt-kb-article-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.related-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}
.related-card-image {
  display: block;
  width: 100%;
  height: 200px;
  background: #ddd;
  overflow: hidden;
}
.related-card-image__img,
.related-card-image__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.related-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 24px 24px;
}
.related-card-tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff0f1;
  color: #d71920;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
.related-card .related-card-title {
  margin: 0 0 14px;
  font-size: 24px;
  line-height: 1.25;
}
.related-card-title a { color: inherit; text-decoration: none; }
.related-card-title a:hover,
.related-card-title a:focus { color: var(--twt-kb-red); }
.related-card-description { margin: 0; color: var(--twt-kb-muted); }
.related-card[hidden] { display: none !important; }
.twt-kb-related-articles { margin-block: 56px; }
.twt-kb-related-articles__title { margin: 0 0 28px; }
.twt-kb-related-articles .twt-kb-article-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.twt-kb-featured-articles { margin-block: 56px; }
.twt-kb-featured-articles__title { margin: 0 0 28px; }
.twt-kb-featured-articles .twt-kb-article-list,
.twt-kb-filterable-articles .twt-kb-article-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.twt-kb .info-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
  margin: 40px 0;
}
.twt-kb .info-card {
  min-width: 0;
  flex: 1 1 0;
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  background: #f8f8f8;
  transition: transform .25s ease, box-shadow .25s ease;
}
.twt-kb .info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
}
.twt-kb .info-card h4 {
  margin: 0 0 12px;
  font-size: 20px;
}
.twt-kb .info-card__text > :first-child { margin-top: 0; }
.twt-kb .info-card__text > :last-child { margin-bottom: 0; }
.twt-kb .quick-answer {
  margin-bottom: 40px;
  padding: 28px;
  border: 1px solid #ffd8da;
  border-left: 5px solid #d71920;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff5f5, #fff);
}
.twt-kb .quick-answer h3 {
  margin: 0 0 10px !important;
  color: #d71920;
  font-size: 20px;
  font-weight: 600;
}
.twt-kb .quick-answer__content > :first-child { margin-top: 0; }
.twt-kb .quick-answer__content > :last-child { margin-bottom: 0; }
.twt-kb .twt-kb-expert-quote {
  position: relative;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  margin: 40px 0;
  padding: 32px;
  overflow: hidden;
  border: 1px solid #ffd8da;
  border-left: 5px solid #d71920;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff5f5, #fff);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}
.twt-kb .twt-kb-expert-quote::after {
  position: absolute;
  top: -26px;
  right: 22px;
  color: rgba(215, 25, 32, .08);
  content: '\201C';
  font-family: Georgia, serif;
  font-size: 160px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}
.twt-kb .twt-kb-expert-quote__portrait {
  position: relative;
  z-index: 1;
  display: flex;
  width: 144px;
  height: 180px;
  align-items: center;
  justify-content: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.twt-kb .twt-kb-expert-quote__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border-radius: 0 !important;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .14));
}
.twt-kb .twt-kb-expert-quote__initials {
  display: flex;
  width: 104px;
  height: 132px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffd8da;
  border-radius: 20px;
  background: #fff0f1;
  color: #d71920;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: .04em;
}
.twt-kb .twt-kb-expert-quote__content {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.twt-kb .twt-kb-expert-quote__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  color: #d71920;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.twt-kb .twt-kb-expert-quote blockquote {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.twt-kb .twt-kb-expert-quote__text {
  color: #222;
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.6;
}
.twt-kb .twt-kb-expert-quote__text > :first-child { margin-top: 0; }
.twt-kb .twt-kb-expert-quote__text > :last-child { margin-bottom: 0; }
.twt-kb .twt-kb-expert-quote figcaption {
  display: flex;
  gap: 3px;
  margin-top: 18px;
  flex-direction: column;
  color: #666;
  font-size: 14px;
  line-height: 1.45;
}
.twt-kb .twt-kb-expert-quote figcaption strong {
  color: #111;
  font-size: 16px;
}
.twt-kb .article img {
  border-radius: 1rem;
}
.twt-kb .article {
  padding: 50px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
}
.twt-kb .article p,
.twt-kb .article li {
  color: #333333;
}
.twt-kb .article ul {
  margin: 24px 0 32px 24px;
}
.twt-kb .article li {
  margin-bottom: 14px;
}
.twt-kb .article h2 {
  margin: 35px 0 14px;
}
.twt-kb-glossary { margin-block: 40px; }
.twt-kb-glossary__search { max-width: 680px; margin: 0 auto 24px; }
.twt-kb-glossary__search input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid #d9dde3;
  border-radius: 12px;
  background: #fff;
  color: var(--twt-kb-ink);
  font: inherit;
  box-shadow: 0 5px 18px rgba(16, 24, 40, .05);
}
.twt-kb-glossary__search input:focus {
  border-color: #d71920;
  outline: 3px solid rgba(215, 25, 32, .15);
}
.twt-kb-glossary__index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 38px;
}
.twt-kb-glossary__index button {
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #e1e4e8;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.twt-kb-glossary__index button:hover,
.twt-kb-glossary__index button:focus-visible,
.twt-kb-glossary__index button.active {
  border-color: #d71920;
  background: #d71920;
  color: #fff;
}
.twt-kb-glossary__group {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 26px;
  margin-bottom: 38px;
}
.twt-kb-glossary__group > h3 {
  position: sticky;
  top: 30px;
  align-self: start;
  margin: 0;
  color: #d71920;
  font-size: 42px;
  line-height: 1;
}
.twt-kb-glossary__group dl { margin: 0; }
.twt-kb-glossary__entry {
  padding: 24px 26px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .05);
}
.twt-kb-glossary__entry + .twt-kb-glossary__entry { margin-top: 14px; }
.twt-kb-glossary__entry dt {
  margin-bottom: 8px;
  color: #111;
  font-size: 20px;
  font-weight: 700;
  scroll-margin-top: 110px;
}
.twt-kb-glossary__entry dd { margin: 0; color: #555; line-height: 1.65; }
.twt-kb-glossary__entry dd > :first-child { margin-top: 0; }
.twt-kb-glossary__entry dd > :last-child { margin-bottom: 0; }
.twt-kb-glossary__entry[hidden],
.twt-kb-glossary__group[hidden] { display: none !important; }
.twt-kb-glossary__empty {
  padding: 26px;
  border: 1px dashed #d9dde3;
  border-radius: 14px;
  color: #666;
  text-align: center;
}
.twt-kb-faqs { margin-block: 40px; }
.twt-kb-faqs__toolbar {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.twt-kb-faqs__search { width: min(100%, 620px); }
.twt-kb-faqs__search input {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid #d9dde3;
  border-radius: 12px;
  background: #fff;
  color: var(--twt-kb-ink);
  font: inherit;
  box-shadow: 0 5px 18px rgba(16, 24, 40, .05);
}
.twt-kb-faqs__search input:focus {
  border-color: #d71920;
  outline: 3px solid rgba(215, 25, 32, .15);
}
.twt-kb-faqs__controls { display: flex; gap: 8px; flex-shrink: 0; }
.twt-kb-faqs__controls button {
  padding: 10px 15px;
  border: 1px solid #d9dde3;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.twt-kb-faqs__controls button:hover,
.twt-kb-faqs__controls button:focus-visible { border-color: #d71920; color: #d71920; }
.twt-kb-faq {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .05);
  overflow: hidden;
  scroll-margin-top: 110px;
}
.twt-kb-faq + .twt-kb-faq { margin-top: 14px; }
.twt-kb-faq summary {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.twt-kb-faq summary::-webkit-details-marker { display: none; }
.twt-kb-faq summary:hover { color: #d71920; }
.twt-kb-faq__icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  border-radius: 50%;
  background: #fff0f1;
}
.twt-kb-faq__icon::before,
.twt-kb-faq__icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: #d71920;
  content: '';
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.twt-kb-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.twt-kb-faq[open] .twt-kb-faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.twt-kb-faq__answer {
  padding: 0 24px 24px;
  border-top: 1px solid #f0f1f3;
  color: #555;
  line-height: 1.7;
}
.twt-kb-faq__answer > :first-child { margin-top: 20px; }
.twt-kb-faq__answer > :last-child { margin-bottom: 0; }
.twt-kb-faq[hidden] { display: none !important; }
.twt-kb-faqs__empty {
  padding: 26px;
  border: 1px dashed #d9dde3;
  border-radius: 14px;
  color: #666;
  text-align: center;
}

@media (max-width: 1100px) {
  .twt-kb-article-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .twt-kb-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .twt-kb-article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .twt-kb-related-articles .twt-kb-article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .twt-kb-featured-articles .twt-kb-article-list,
  .twt-kb-filterable-articles .twt-kb-article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .twt-kb .sidebar { position: static; }
  .twt-kb .twt-kb-mobile-sidebar-cards {
    display: block;
    width: 100%;
    margin-top: 40px;
  }
  .twt-kb .twt-kb-mobile-sidebar-cards > :last-child { margin-bottom: 0; }
  .twt-kb .info-row { flex-direction: column; }
  .twt-kb .kb-category-grid__items { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .twt-kb-container { width: min(100% - 28px, 1120px); }
  .twt-kb-search__field { display: block; }
  .twt-kb-search__input,
  .twt-kb-search__button { width: 100%; min-height: 52px; }
  .twt-kb-topic-grid { grid-template-columns: 1fr; }
  .twt-kb-article-list { grid-template-columns: 1fr; }
  .twt-kb-related-articles .twt-kb-article-list { grid-template-columns: 1fr; }
  .twt-kb-featured-articles .twt-kb-article-list,
  .twt-kb-filterable-articles .twt-kb-article-list { grid-template-columns: 1fr; }
  .article-filters .container { gap: 10px; }
  .article-filters button { padding: 11px 17px; }
  .twt-kb .twt-kb-article-hero { min-height: 420px; }
  .twt-kb .twt-kb-article-hero__inner { padding-top: 70px; padding-bottom: 46px; }
  .twt-kb .twt-kb-article-hero__title { font-size: 34px; }
  .twt-kb .intro { font-size: 17px; line-height: 1.6; }
  .twt-kb .article-meta { gap: 10px; }
  .twt-kb .meta-item { padding: 10px 12px; font-size: 13px; }
  .twt-kb .twt-kb-topic-hero { min-height: 330px; }
  .twt-kb .twt-kb-topic-hero__inner { padding-top: 58px; padding-bottom: 58px; }
  .twt-kb .twt-kb-topic-hero__title { font-size: 40px; }
  .twt-kb .twt-kb-topic-hero__excerpt { font-size: 17px; line-height: 1.6; }
  .twt-kb .twt-kb-page-nav { align-items: stretch; flex-direction: column; }
  .twt-kb .twt-kb-page-nav__link { width: 100%; }
  .twt-kb .kb-category-card { padding: 22px; }
  .twt-kb .kb-category-card__link { grid-template-columns: 64px minmax(0, 1fr); gap: 18px; }
  .twt-kb .kb-category-icon { width: 64px; height: 64px; }
  .twt-kb .article { padding: 28px; }
  .twt-kb .twt-kb-promotion--inline { margin: 32px auto; padding: 14px; }
  .twt-kb .twt-kb-expert-quote {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 16px;
    padding: 22px 18px;
  }
  .twt-kb .twt-kb-expert-quote__portrait { width: 92px; height: 116px; }
  .twt-kb .twt-kb-expert-quote__initials { width: 74px; height: 94px; font-size: 23px; }
  .twt-kb .twt-kb-expert-quote__text { font-size: 18px; }
  .twt-kb-glossary__group { grid-template-columns: 1fr; gap: 14px; }
  .twt-kb-glossary__group > h3 { position: static; font-size: 34px; }
  .twt-kb-glossary__entry { padding: 20px; }
  .twt-kb-faqs__toolbar { align-items: stretch; flex-direction: column; }
  .twt-kb-faqs__search { width: 100%; }
  .twt-kb-faqs__controls { flex-wrap: wrap; }
  .twt-kb-faq summary { padding: 19px 20px; font-size: 17px; }
  .twt-kb-faq__answer { padding: 0 20px 20px; }
}
