.single-post-content .block--checklist-tabs-wrap.afh-checklist-tabs,
.block--checklist-tabs-wrap.afh-checklist-tabs {
  margin: 1.75rem 0;
}

.afh-checklist-tabs__shell {
  overflow: hidden;
  border: 1px solid rgb(226 232 240);
  border-radius: 1.25rem;
  background: rgb(255 255 255);
  box-shadow: 0 16px 42px -34px rgb(15 23 42 / 0.38);
}

.afh-checklist-tabs__header {
  padding: 1rem clamp(1rem, 3vw, 1.35rem) 0.75rem;
}

.afh-checklist-tabs__eyebrow {
  margin: 0;
  color: rgb(29 78 216);
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.single-post-content .afh-checklist-tabs__title,
.afh-checklist-tabs__title {
  margin: 0.5rem 0 0;
  border: 0;
  padding: 0;
  color: rgb(15 23 42);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 950;
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.afh-checklist-tabs__tabs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  border-block: 1px solid rgb(219 234 254 / 0.9);
  padding: 0.65rem clamp(0.9rem, 3vw, 1.25rem);
  scrollbar-width: thin;
}

.afh-checklist-tabs__tab {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgb(203 213 225);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.86);
  padding: 0.45rem 0.7rem;
  color: rgb(51 65 85);
  cursor: pointer;
  font-weight: 850;
  line-height: 1.2;
  transition: border-color 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.afh-checklist-tabs__tab:hover,
.afh-checklist-tabs__tab:focus-visible {
  border-color: rgb(37 99 235);
  color: rgb(29 78 216);
  transform: translateY(-1px);
}

.afh-checklist-tabs__tab.is-active {
  border-color: rgb(37 99 235);
  background: rgb(37 99 235);
  color: white;
  box-shadow: 0 14px 34px -24px rgb(37 99 235 / 0.9);
}

.afh-checklist-tabs__tab-index {
  color: rgb(148 163 184);
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.72rem;
  font-weight: 950;
}

.afh-checklist-tabs__tab.is-active .afh-checklist-tabs__tab-index {
  color: rgb(219 234 254);
}

.afh-checklist-tabs__panels {
  padding: clamp(0.85rem, 2.5vw, 1.15rem);
}

.single-post-content .afh-checklist-tabs__panel-title,
.afh-checklist-tabs__panel-title {
  margin: 0 0 0.9rem;
  border: 0;
  padding: 0;
  color: rgb(15 23 42);
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  font-weight: 950;
  letter-spacing: -0.02em;
}

.afh-checklist-tabs__list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.afh-checklist-tabs__item {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  margin: 0;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.9rem;
  background: rgb(248 250 252 / 0.72);
  padding: 0.65rem 0.75rem;
  box-shadow: none;
}

.afh-checklist-tabs__item-index {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  place-items: center;
  border-radius: 999px;
  background: rgb(239 246 255);
  color: rgb(29 78 216);
  font-family: var(--font-mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 0.68rem;
  font-weight: 950;
  line-height: 1;
}

.afh-checklist-tabs__item-text {
  color: rgb(30 41 59);
  font-size: 0.96rem;
  font-weight: 650;
  line-height: 1.45;
}

.afh-checklist-tabs-empty {
  margin: 1.5rem 0;
  border: 1px dashed rgb(203 213 225);
  border-radius: 1rem;
  padding: 1rem;
  color: rgb(100 116 139);
}

@media (max-width: 640px) {
  .afh-checklist-tabs__item {
    grid-template-columns: 1fr;
  }
}
