.cw-single-post-hero {
  background: var(--cw-white);
  border-bottom: 1px solid var(--cw-border);
}

.cw-single-post-hero__inner {
  padding: 52px 28px 44px;
}

.cw-single-post-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--cw-quiet);
  font-size: 13px;
}

.cw-single-post-breadcrumb a {
  transition: color 150ms ease;
}

.cw-single-post-breadcrumb a:hover {
  color: var(--cw-teal);
}

.cw-single-post-hero h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1.08;
}

.cw-single-post-hero__excerpt {
  max-width: 760px;
  margin: 0 0 32px;
  color: var(--cw-ink-light);
  font-size: 18px;
  line-height: 1.65;
}

.cw-single-post-mobile-series {
  display: none;
}

.cw-single-post-mobile-series__inner {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 12px;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.cw-single-post-mobile-series__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--cw-border);
  border-radius: 999px;
  background: var(--cw-white);
  color: var(--cw-ink);
  font-size: 26px;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(21, 34, 30, 0.08);
  transition: border-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.cw-single-post-mobile-series__control:hover {
  border-color: var(--cw-teal);
  color: var(--cw-teal);
  transform: translateY(-1px);
}

.cw-single-post-mobile-series__control.is-disabled {
  color: var(--cw-border-strong);
  pointer-events: none;
  box-shadow: none;
}

.cw-single-post-mobile-series__current {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid var(--cw-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(21, 34, 30, 0.08);
}

.cw-single-post-mobile-series__eyebrow {
  color: var(--cw-teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cw-single-post-mobile-series__title {
  min-width: 0;
  color: var(--cw-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cw-single-post-meta {
  display: flex;
  align-items: flex-start;
  gap: 20px 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--cw-border);
}

.cw-single-post-meta__primary {
  display: flex;
  align-items: center;
  gap: 24px;
  row-gap: 16px;
  min-width: 0;
  flex: 1 1 320px;
  flex-wrap: wrap;
}

.cw-single-post-meta__dates {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.cw-single-post-meta__date {
  display: grid;
  gap: 2px;
}

.cw-single-post-author,
.cw-single-post-makers,
.cw-single-post-actions,
.cw-single-post-author-card__header,
.cw-single-post-series__item {
  display: flex;
  align-items: center;
}

.cw-single-post-author {
  gap: 10px;
}

.cw-single-post-author__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.cw-single-post-author--linked {
  border-radius: 12px;
  transition: transform 150ms ease, color 150ms ease;
}

.cw-single-post-author--linked:hover {
  color: var(--cw-teal);
  transform: translateY(-1px);
}

.cw-single-post-author--linked:focus-visible,
.cw-single-post-author-card__link:focus-visible {
  outline: 2px solid rgba(74, 148, 148, 0.24);
  outline-offset: 4px;
}

.cw-single-post-author__avatar,
.cw-single-post-author-card__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cw-teal-light) 0%, var(--cw-teal) 100%);
  color: var(--cw-white);
  font-weight: 700;
  flex-shrink: 0;
}

.cw-single-post-author__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cw-single-post-author__avatar {
  width: 36px;
  height: 36px;
  font-size: 13px;
}

.cw-single-post-author__name {
  color: var(--cw-ink);
  font-size: 13px;
  font-weight: 600;
}

.cw-single-post-author__role {
  color: var(--cw-quiet);
  font-size: 11px;
}

.cw-single-post-divider {
  width: 1px;
  height: 32px;
  background: var(--cw-border);
  flex-shrink: 0;
}

.cw-single-post-meta__label,
.cw-single-post-glance__label,
.cw-single-post-card__eyebrow,
.cw-single-post-community__eyebrow,
.cw-single-post-panel__eyebrow {
  color: var(--cw-quiet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cw-single-post-meta__value {
  color: var(--cw-ink-mid);
  font-size: 13px;
}

.cw-single-post-makers {
  gap: 7px;
  color: var(--cw-ink-mid);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.cw-single-post-makers__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cw-teal);
  flex-shrink: 0;
}

.cw-single-post-actions {
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-end;
  margin-left: auto;
  flex-wrap: wrap;
  max-width: min(100%, 460px);
}

.cw-single-share {
  position: relative;
  display: inline-flex;
}

.cw-single-share summary {
  list-style: none;
  display: inline-flex;
  box-sizing: border-box;
  cursor: pointer;
}

.cw-single-share summary::-webkit-details-marker {
  display: none;
}

.cw-single-post-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  box-sizing: border-box;
  min-height: 38px;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.cw-single-post-action--ghost,
.cw-single-post-action--secondary {
  border: 1.5px solid var(--cw-border);
  background: var(--cw-white);
  color: var(--cw-ink-light);
}

.cw-single-post-action--secondary {
  justify-content: flex-start;
  max-width: 224px;
  white-space: normal;
  text-align: left;
}

.cw-single-share > summary.cw-single-post-action {
  min-height: 100%;
}

.cw-single-post-action--disabled {
  gap: 8px;
  border: 1.5px solid var(--cw-border);
  background: var(--cw-white);
  color: var(--cw-ink-light);
  cursor: default;
}

.cw-single-post-action--ghost:hover,
.cw-single-post-action--secondary:hover {
  border-color: var(--cw-teal);
  color: var(--cw-teal);
}

.cw-single-share[open] .cw-single-post-action--ghost {
  border-color: var(--cw-teal);
  background: var(--cw-teal-tint);
  color: var(--cw-teal);
}

.cw-single-post-action--primary {
  background: var(--cw-clay);
  color: var(--cw-white);
  box-shadow: 0 4px 20px rgba(198, 117, 96, 0.22);
}

.cw-single-post-action--primary:hover {
  background: var(--cw-clay-dark);
  color: var(--cw-white);
  transform: translateY(-1px);
}

.cw-single-post-action__caret {
  font-size: 12px;
  transition: transform 150ms ease;
}

.cw-single-post-action small {
  color: var(--cw-quiet);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cw-single-share[open] .cw-single-post-action__caret {
  transform: rotate(180deg);
}

.cw-single-share__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 30;
  display: grid;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--cw-border);
  border-radius: 12px;
  background: var(--cw-white);
  box-shadow: var(--cw-shadow-raised);
}

.cw-single-share__menu a,
.cw-single-share__copy {
  display: flex;
  align-items: center;
  width: 100%;
  border: none;
  border-radius: 8px;
  background: transparent;
  padding: 10px 12px;
  color: var(--cw-ink);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
}

.cw-single-share__menu a:hover,
.cw-single-share__copy:hover,
.cw-single-share__copy.is-copied {
  background: var(--cw-teal-tint);
  color: var(--cw-teal);
}

.cw-single-post-shell {
  padding: 40px 0 0;
}

.cw-single-post-series-banner,
.cw-single-post-series-next {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--cw-border);
  border-radius: 16px;
  background: linear-gradient(135deg, var(--cw-teal-tint) 0%, var(--cw-white) 72%);
  padding: 18px 20px;
  box-shadow: var(--cw-shadow-card);
}

.cw-single-post-series-banner__eyebrow {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--cw-teal-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cw-single-post-series-banner h2,
.cw-single-post-series-next h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--cw-ink);
  font-size: 28px;
  line-height: 1.12;
}

.cw-single-post-series-banner p,
.cw-single-post-series-next p {
  margin: 7px 0 0;
  color: var(--cw-ink-light);
  font-size: 14px;
  line-height: 1.58;
}

.cw-single-post-series-banner__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cw-single-post-series-next {
  margin-top: -18px;
  align-items: start;
  background: var(--cw-white);
}

.cw-single-post-series-next__copy {
  min-width: 0;
}

.cw-single-post-series-next .cw-button-row {
  gap: 10px;
  justify-content: flex-end;
  align-self: center;
  flex-shrink: 0;
}

.cw-single-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

.cw-single-post-main {
  min-width: 0;
}

.cw-single-post-glance,
.cw-single-post-card,
.cw-single-post-author-card,
.cw-single-post-panel,
.cw-single-post-media {
  margin-bottom: 32px;
  border: 1px solid var(--cw-border);
  border-radius: 12px;
  background: var(--cw-white);
}

.cw-single-post-glance {
  padding: 24px 28px;
}

.cw-single-post-glance__eyebrow {
  margin-bottom: 14px;
  color: var(--cw-teal);
}

.cw-single-post-glance__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cw-single-post-glance__item {
  padding: 14px 10px;
  border-radius: 10px;
  background: var(--cw-mist);
  text-align: center;
}

.cw-single-post-glance__icon {
  margin-bottom: 6px;
  color: var(--cw-quiet);
  font-size: 20px;
  font-weight: 500;
}

.cw-single-post-glance__value {
  color: var(--cw-ink);
  font-size: 14px;
  font-weight: 600;
}

.cw-single-post-media {
  overflow: hidden;
}

.cw-single-post-media__image {
  width: 100%;
  aspect-ratio: 14 / 10;
  object-fit: cover;
}

.cw-single-post-media--placeholder {
  aspect-ratio: 14 / 10;
  display: flex;
  align-items: end;
  padding: 24px;
}

.cw-single-post-media__placeholder {
  width: 100%;
  max-width: 340px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  padding: 18px 20px;
  box-shadow: var(--cw-shadow-card);
  text-align: center;
}

.cw-single-post-media__placeholder-icon {
  margin-bottom: 8px;
  color: rgba(198, 117, 96, 0.55);
  font-size: 28px;
  font-weight: 500;
}

.cw-single-post-media__placeholder-label {
  display: inline-flex;
  color: rgba(198, 117, 96, 0.7);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cw-single-post-card {
  padding: 28px;
}

.cw-single-post-card__eyebrow {
  margin-bottom: 18px;
  color: var(--cw-teal);
}

.cw-single-post-card.cw-entry-content {
  font-size: 16px;
  line-height: 1.78;
}

.cw-single-post-card.cw-entry-content > *:first-child {
  margin-top: 0;
}

.cw-single-post-card.cw-entry-content > *:last-child {
  margin-bottom: 0;
}

.cw-single-post-card.cw-entry-content p,
.cw-single-post-card.cw-entry-content li {
  color: var(--cw-ink-mid);
}

.cw-single-post-card.cw-entry-content ul,
.cw-single-post-card.cw-entry-content ol {
  padding-left: 1.3em;
}

.cw-single-post-card.cw-entry-content h2,
.cw-single-post-card.cw-entry-content h3 {
  scroll-margin-top: 92px;
}

.cw-single-post-card.cw-entry-content h2 {
  margin-top: 1.6em;
  font-size: 28px;
}

.cw-single-post-card.cw-entry-content h3 {
  margin-top: 1.3em;
  font-size: 22px;
}

.cw-single-post-card.cw-entry-content figure,
.cw-single-post-card.cw-entry-content .wp-block-image,
.cw-single-post-card.cw-entry-content .wp-block-embed,
.cw-single-post-card.cw-entry-content .wp-block-video {
  margin: 1.8em 0;
}

.cw-single-post-card.cw-entry-content img,
.cw-single-post-card.cw-entry-content iframe,
.cw-single-post-card.cw-entry-content video {
  border-radius: 12px;
}

.cw-single-post-card.cw-entry-content blockquote {
  margin: 1.8em 0;
  border-left: 3px solid var(--cw-clay);
  border-radius: 0 12px 12px 0;
  background: var(--cw-clay-tint);
  padding: 16px 18px;
}

.cw-single-post-card.cw-entry-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
}

.cw-single-post-card.cw-entry-content th,
.cw-single-post-card.cw-entry-content td {
  border: 1px solid var(--cw-border);
  padding: 12px 14px;
  text-align: left;
}

.cw-single-post-video,
.cw-single-post-utility-card,
.cw-single-post-products,
.cw-single-post-info-stack,
.cw-single-post-faq,
.cw-single-post-comments {
  margin-bottom: 32px;
}

.cw-single-post-video__frame,
.cw-single-post-video__placeholder {
  border-radius: 12px;
  overflow: hidden;
}

.cw-single-post-video__frame iframe,
.cw-single-post-video__frame video {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

.cw-single-post-video__placeholder {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--cw-ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cw-single-post-video__play {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--cw-clay);
  color: var(--cw-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 32px rgba(198, 117, 96, 0.42);
}

.cw-single-post-video__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.62);
  padding: 4px 10px;
  color: var(--cw-white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.cw-single-post-ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  margin-bottom: 32px;
  border: 1.5px dashed #d1d1d6;
  border-radius: 12px;
  background: #fafaff;
  color: #b0b0bc;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cw-single-post-ad-slot--tall {
  min-height: 120px;
}

.cw-single-post-ad-slot--sidebar {
  min-height: 280px;
  margin-bottom: 0;
}

.cw-single-post-utility-card,
.cw-single-post-product,
.cw-single-post-info-card {
  border: 1px solid var(--cw-border);
  border-radius: 12px;
  background: var(--cw-white);
}

.cw-single-post-utility-card {
  padding: 24px 28px;
}

.cw-single-post-utility-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.cw-single-post-utility-card__eyebrow,
.cw-single-post-products__eyebrow,
.cw-single-post-tutorial__eyebrow {
  margin-bottom: 4px;
  color: var(--cw-teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cw-single-post-utility-card h2,
.cw-single-post-products h2,
.cw-single-post-tutorial__header h2,
.cw-single-post-info-stack h2,
.cw-single-post-faq h2,
.cw-single-post-comments h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--cw-ink);
  font-size: 28px;
  line-height: 1.2;
}

.cw-single-post-utility-card__meta,
.cw-single-post-tutorial__meta {
  display: flex;
  align-items: center;
  gap: 6px 8px;
  flex-wrap: wrap;
  color: var(--cw-quiet);
  font-size: 12px;
  font-weight: 600;
}

.cw-single-post-supplies {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.cw-single-post-supplies__label {
  margin-bottom: 12px;
  color: var(--cw-quiet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cw-single-post-supplies__list {
  display: grid;
  gap: 8px;
}

.cw-single-post-supplies__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 10px;
  background: #fbfaf7;
  padding: 9px 12px;
  color: var(--cw-ink);
  text-align: left;
  font-size: 14px;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.cw-single-post-supplies__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

body.is-logged-in .cw-single-post-supplies__toggle {
  display: inline-flex;
}

.cw-single-post-supplies__item:hover {
  border-color: rgba(74, 148, 148, 0.18);
  background: var(--cw-white);
  box-shadow: 0 8px 22px rgba(21, 34, 30, 0.05);
}

.cw-single-post-supplies__item.is-checked {
  border-color: rgba(74, 148, 148, 0.2);
  background: rgba(74, 148, 148, 0.08);
}

.cw-single-post-supplies__copy {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.cw-single-post-supplies__name {
  color: var(--cw-ink);
}

.cw-single-post-supplies__note {
  color: var(--cw-quiet);
  font-size: 11px;
  line-height: 1.45;
}

.cw-single-post-supplies__check {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--cw-fog-dark);
  border-radius: 5px;
  background: var(--cw-white);
  flex-shrink: 0;
  position: relative;
  transition: background 150ms ease, border-color 150ms ease;
}

.cw-single-post-supplies__item.is-checked .cw-single-post-supplies__check {
  border-color: var(--cw-teal);
  background: var(--cw-teal);
}

.cw-single-post-supplies__item.is-checked .cw-single-post-supplies__check::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cw-white);
  font-size: 11px;
  font-weight: 700;
}

.cw-single-post-supplies__item.is-checked .cw-single-post-supplies__name {
  color: var(--cw-ink-mid);
}

.cw-single-post-products__list {
  display: grid;
  gap: 10px;
}

.cw-single-post-product {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
}

.cw-single-post-product__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--cw-teal-tint);
  color: var(--cw-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.cw-single-post-product__body {
  flex: 1;
  min-width: 0;
}

.cw-single-post-product__title {
  color: var(--cw-ink);
  font-size: 14px;
  font-weight: 600;
}

.cw-single-post-product__type {
  margin-top: 2px;
  color: var(--cw-quiet);
  font-size: 12px;
}

.cw-single-post-product__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--cw-ink);
  font-size: 14px;
  font-weight: 600;
}

.cw-single-post-product__button,
.cw-single-post-panel__button-tba,
.cw-single-post-community__ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1.5px solid var(--cw-border);
  background: var(--cw-white);
  padding: 9px 16px;
  color: var(--cw-quiet);
  font-size: 13px;
  font-weight: 600;
}

.cw-single-post-tutorial__header {
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--cw-border);
}

.cw-single-post-steps {
  display: grid;
  gap: 34px;
}

.cw-single-post-step {
  scroll-margin-top: 88px;
}

.cw-single-post-step__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.cw-single-post-step__toggle {
  width: 36px;
  height: 36px;
  border: 2px solid var(--cw-fog-dark);
  border-radius: 999px;
  background: var(--cw-white);
  color: var(--cw-quiet);
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

body.is-logged-in .cw-single-post-step__toggle {
  display: inline-flex;
}

.cw-single-post-step__toggle-index {
  font-size: 13px;
  font-weight: 700;
}

.cw-single-post-step__toggle-check {
  display: none;
  font-size: 15px;
  font-weight: 700;
}

.cw-single-post-step.is-complete .cw-single-post-step__toggle {
  border-color: var(--cw-teal);
  background: var(--cw-teal);
  color: var(--cw-white);
}

.cw-single-post-step.is-complete .cw-single-post-step__toggle-index {
  display: none;
}

.cw-single-post-step.is-complete .cw-single-post-step__toggle-check {
  display: inline;
}

.cw-single-post-step__heading {
  flex: 1;
  min-width: 0;
}

.cw-single-post-step__eyebrow {
  margin-bottom: 2px;
  color: var(--cw-quiet);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cw-single-post-step__heading h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cw-ink);
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.cw-single-post-step.is-complete .cw-single-post-step__heading h3 {
  color: var(--cw-quiet);
  text-decoration: line-through;
}

.cw-single-post-step__media {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--cw-border);
  border-radius: 14px;
  background: linear-gradient(140deg, #f9f9ff, #e8e8f0);
}

.cw-single-post-step__media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.cw-single-post-step__body p {
  margin: 0 0 14px;
  color: var(--cw-ink-mid);
  font-size: 16px;
  line-height: 1.72;
}

.cw-single-post-step__body p:last-child {
  margin-bottom: 0;
}

.cw-single-post-step__tip {
  margin-top: 14px;
  border-left: 3px solid var(--cw-teal);
  border-radius: 0 10px 10px 0;
  background: rgba(74, 148, 148, 0.07);
  padding: 10px 14px;
}

.cw-single-post-step__tip--note {
  border-left-color: var(--cw-clay);
  background: rgba(198, 117, 96, 0.07);
}

.cw-single-post-step__tip-label {
  display: inline-block;
  margin-bottom: 4px;
  color: var(--cw-teal-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cw-single-post-step__tip--note .cw-single-post-step__tip-label {
  color: var(--cw-clay-dark);
}

.cw-single-post-step__tip-copy {
  color: var(--cw-ink-mid);
  font-size: 14px;
  line-height: 1.6;
}

.cw-single-post-step__complete {
  display: none;
  margin-top: 14px;
  border: 1.5px dashed var(--cw-fog-dark);
  border-radius: 999px;
  background: transparent;
  padding: 9px 16px;
  color: var(--cw-quiet);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 150ms ease, color 150ms ease, background 150ms ease;
}

body.is-logged-in .cw-single-post-step__complete {
  display: inline-flex;
}

.cw-single-post-step__complete:hover {
  border-color: var(--cw-teal);
  background: var(--cw-teal-tint);
  color: var(--cw-teal);
}

.cw-single-post-step.is-complete .cw-single-post-step__complete {
  display: none;
}

[data-cw-step-percent],
.cw-single-post-tutorial__progress-bar,
.cw-single-post-tutorial__progress-separator {
  display: none;
}

body.is-logged-in [data-cw-step-percent],
body.is-logged-in .cw-single-post-tutorial__progress-separator {
  display: inline;
}

body:not(.is-logged-in) [data-cw-step-progress] {
  display: none;
}

body.is-logged-in .cw-single-post-tutorial__progress-bar {
  display: block;
}

.cw-single-post-tutorial__progress-bar {
  margin-top: 12px;
  width: min(280px, 100%);
  height: 8px;
  border-radius: 999px;
  background: rgba(74, 148, 148, 0.12);
  overflow: hidden;
}

.cw-single-post-tutorial__progress-bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cw-teal), var(--cw-teal-dark));
  transition: width 180ms ease;
}

.cw-single-post-info-stack {
  display: grid;
  gap: 12px;
}

.cw-single-post-info-card {
  padding: 18px 22px;
}

.cw-single-post-info-card__title {
  margin-bottom: 6px;
  color: var(--cw-ink);
  font-size: 15px;
  font-weight: 600;
}

.cw-single-post-info-card__body,
.cw-single-post-comments__empty {
  color: var(--cw-ink-light);
  font-size: 14px;
  line-height: 1.65;
}

.cw-single-post-faq__item {
  border: 1px solid var(--cw-border);
  border-radius: 10px;
  background: var(--cw-white);
  overflow: hidden;
}

.cw-single-post-faq__item summary {
  cursor: pointer;
  padding: 16px 20px;
  color: var(--cw-ink);
  font-size: 15px;
  font-weight: 600;
}

.cw-single-post-faq__body {
  padding: 0 20px 16px;
  color: var(--cw-ink-light);
  font-size: 14px;
  line-height: 1.7;
}

.cw-single-post-community {
  position: relative;
  overflow: hidden;
  margin-bottom: 48px;
  border-radius: 16px;
  padding: 40px;
  background: linear-gradient(135deg, var(--cw-teal-dark) 0%, #1a8080 52%, var(--cw-teal-mid) 100%);
  color: var(--cw-white);
}

.cw-single-post-community::before,
.cw-single-post-community::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.cw-single-post-community::before {
  top: -42px;
  right: -42px;
  width: 200px;
  height: 200px;
}

.cw-single-post-community::after {
  right: 92px;
  bottom: -20px;
  width: 100px;
  height: 100px;
}

.cw-single-post-community > * {
  position: relative;
  z-index: 1;
}

.cw-single-post-community__eyebrow {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.65);
}

.cw-single-post-community h2,
.cw-single-post-author-card h2,
.cw-single-post-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: inherit;
}

.cw-single-post-community h2 {
  margin-bottom: 12px;
  font-size: 36px;
  line-height: 1.15;
}

.cw-single-post-community p {
  max-width: 520px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.65;
}

.cw-single-post-community__ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  color: var(--cw-white);
}

.cw-single-post-author-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  padding: 22px 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(74, 148, 148, 0.07) 0%, var(--cw-white) 44%);
}

.cw-single-post-footer-meta {
  margin-bottom: 24px;
  border: 1px solid var(--cw-border);
  border-radius: 12px;
  background: var(--cw-white);
  padding: 20px 28px;
}

.cw-single-post-footer-meta__eyebrow {
  margin-bottom: 14px;
  color: var(--cw-teal);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cw-single-post-footer-meta__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.cw-single-post-footer-meta__item {
  display: grid;
  gap: 4px;
}

.cw-single-post-author-card__avatar {
  width: 56px;
  height: 56px;
  font-size: 18px;
}

.cw-single-post-author-card__header {
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.cw-single-post-author-card h2 {
  color: var(--cw-ink);
  font-size: 20px;
}

.cw-single-post-author-card__link {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease;
}

.cw-single-post-author-card__link:hover {
  color: var(--cw-teal);
}

.cw-single-post-author-card p {
  margin: 0;
  color: var(--cw-ink-light);
  font-size: 14px;
  line-height: 1.6;
  max-width: 62ch;
}

.cw-author-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
  gap: 28px;
  align-items: stretch;
}

.cw-author-hero__copy p {
  max-width: 720px;
}

.cw-author-hero__card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  border: 1px solid var(--cw-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 24px;
  box-shadow: var(--cw-shadow-card);
}

.cw-author-hero__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cw-teal-light) 0%, var(--cw-teal) 100%);
  color: var(--cw-white);
  font-size: 24px;
  font-weight: 700;
}

.cw-author-hero__meta {
  display: grid;
  gap: 8px;
}

.cw-author-hero__eyebrow {
  color: var(--cw-quiet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cw-author-hero__role {
  color: var(--cw-ink);
  font-size: 18px;
  font-weight: 600;
}

.cw-author-hero__stat {
  display: grid;
  gap: 2px;
  color: var(--cw-ink-light);
  font-size: 14px;
}

.cw-author-hero__stat strong {
  color: var(--cw-teal);
  font-size: 24px;
  line-height: 1;
}

.cw-author-archive__header {
  margin-bottom: 20px;
}

.cw-single-post-sidebar__sticky {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 16px;
}

.cw-single-post-panel {
  overflow: hidden;
  box-shadow: var(--cw-shadow-card);
}

.cw-single-post-panel--toc summary,
.cw-single-post-panel__intro,
.cw-single-post-panel__footer {
  padding: 16px 18px;
}

.cw-single-post-panel--toc summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--cw-ink-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cw-single-post-panel--toc summary::-webkit-details-marker {
  display: none;
}

.cw-single-post-panel--toc summary::after {
  content: "▾";
  font-size: 12px;
  transition: transform 150ms ease;
}

.cw-single-post-panel--toc[open] summary::after {
  transform: rotate(180deg);
}

.cw-single-post-panel__intro {
  border-bottom: 1px solid var(--cw-border);
  background: linear-gradient(140deg, var(--cw-teal-light) 0%, rgba(74, 148, 148, 0.15) 100%);
}

.cw-single-post-panel__eyebrow {
  margin-bottom: 4px;
  color: var(--cw-teal-dark);
}

.cw-single-post-panel__intro h2 {
  color: var(--cw-ink);
  font-size: 18px;
  line-height: 1.2;
}

.cw-single-post-panel__body {
  display: grid;
  padding: 8px 0 10px;
}

.cw-single-post-panel__progress {
  padding: 12px 18px 0;
}

.cw-single-post-panel__bar {
  height: 3px;
  border-radius: 999px;
  background: var(--cw-fog-dark);
  overflow: hidden;
}

.cw-single-post-panel__bar span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--cw-teal);
}

.cw-single-post-panel__progress-copy {
  margin-top: 5px;
  margin-bottom: 4px;
  color: var(--cw-quiet);
  font-size: 11px;
}

.cw-single-post-toc__link {
  display: block;
  padding: 7px 18px;
  color: var(--cw-ink-mid);
  font-size: 13px;
  font-weight: 500;
  transition: color 120ms ease;
}

.cw-single-post-toc__link:hover,
.cw-single-post-series__item:hover .cw-single-post-series__title {
  color: var(--cw-teal);
}

.cw-single-post-toc__link.is-child {
  padding-left: 30px;
  color: var(--cw-quiet);
  font-weight: 400;
}

.cw-single-post-series__item {
  gap: 10px;
  padding: 10px 18px;
  align-items: flex-start;
  text-decoration: none;
  transition: background 120ms ease;
}

.cw-single-post-series__item:hover {
  background: var(--cw-teal-tint);
}

.cw-single-post-series__item.is-current {
  background: linear-gradient(135deg, rgba(74, 148, 148, 0.12) 0%, rgba(74, 148, 148, 0.04) 100%);
}

.cw-single-post-series__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--cw-fog);
  color: var(--cw-quiet);
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}

.cw-single-post-series__item.is-current .cw-single-post-series__index {
  background: var(--cw-teal);
  color: var(--cw-white);
}

.cw-single-post-series__content {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cw-single-post-series__label {
  color: var(--cw-quiet);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cw-single-post-series__title {
  color: var(--cw-ink-mid);
  font-size: 13px;
  line-height: 1.4;
  transition: color 120ms ease;
}

.cw-single-post-series__item.is-current .cw-single-post-series__title {
  color: var(--cw-ink);
  font-weight: 600;
}

.cw-single-post-panel__footer {
  padding-top: 0;
}

.cw-single-post-panel__footer .cw-button {
  width: 100%;
}

.cw-single-post-panel__footer .cw-single-post-panel__button-tba {
  width: 100%;
}

/* ── Discussion: one card, everything inside flat ───────────────── */
.cw-single-post-comments {
  border: 1px solid var(--cw-border);
  border-radius: 16px;
  background: var(--cw-white);
  padding: 28px;
  box-shadow: var(--cw-shadow-card);
}

.cw-single-post-comments__header {
  margin-bottom: 8px;
}

.cw-single-post-comments__header h2 {
  margin: 0;
}

/* Comment thread — flat list separated by hairline dividers */
.cw-single-post-comments__list {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cw-single-post-comments__list .children {
  display: block;
  margin: 16px 0 0 0;
  padding: 16px 0 0 18px;
  list-style: none;
  border-left: 2px solid var(--cw-teal-tint);
}

.cw-single-post-comment-item {
  margin: 0;
}

.cw-single-post-comment-item + .cw-single-post-comment-item {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(111, 95, 74, 0.12);
}

.cw-single-post-comments__list .children .cw-single-post-comment-item:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.cw-single-post-comment {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.cw-single-post-comment__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cw-single-post-comment__meta {
  min-width: 0;
}

.cw-single-post-comment__author-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.cw-single-post-comment__avatar {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cw-teal-light) 0%, var(--cw-teal) 100%);
}

.cw-single-post-comment--reply .cw-single-post-comment__avatar {
  width: 34px;
  height: 34px;
}

.cw-single-post-comment__avatar-image,
.cw-single-post-comment__avatar-mark {
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.cw-single-post-comment__avatar-image {
  display: block;
  object-fit: cover;
}

.cw-single-post-comment__avatar-mark {
  color: var(--cw-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
}

.cw-single-post-comment__author {
  color: var(--cw-ink);
  font-size: 14px;
  font-weight: 600;
}

.cw-single-post-comment__date {
  color: var(--cw-quiet);
  font-size: 12px;
}

.cw-single-post-comment__pending {
  margin: 0 0 10px;
  color: var(--cw-teal);
  font-size: 12px;
  font-weight: 600;
}

.cw-single-post-comment__body,
.cw-single-post-comment__body p {
  margin: 0;
  color: var(--cw-ink-mid);
  font-size: 14px;
  line-height: 1.7;
}

.cw-single-post-comment__body p + p {
  margin-top: 0.9em;
}

/* Reply — subtle text link, not a button */
.cw-single-post-comment__actions {
  margin-top: 8px;
}

.cw-single-post-comment__actions a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--cw-teal);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.cw-single-post-comment__actions a::before {
  content: "↩";
  font-size: 12px;
  line-height: 1;
}

.cw-single-post-comment__actions a:hover,
.cw-single-post-comment__actions a:focus-visible {
  color: var(--cw-teal-dark);
  text-decoration: underline;
}

/* Empty state — flat copy, no card */
.cw-single-post-comments__empty {
  margin: 4px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--cw-ink-mid);
  font-size: 14px;
  line-height: 1.7;
}

/* Composer + guest CTA — flat block divided from the thread */
.cw-single-post-comments__composer {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(111, 95, 74, 0.14);
}

.cw-single-post-comments__composer--locked {
  display: grid;
  gap: 10px;
}

.cw-single-post-comments__composer--locked h3 {
  margin: 0;
  color: var(--cw-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.15;
}

.cw-single-post-comments__composer--locked p {
  margin: 0;
  color: var(--cw-ink-mid);
  font-size: 14px;
  line-height: 1.7;
}

.cw-single-post-comments__login-button {
  justify-self: start;
  margin-top: 4px;
}

.cw-single-post-comments__form {
  margin: 0;
}

.cw-single-post-comments__form:not(:has(#respond)) {
  display: none;
}

.cw-single-post-comments .comment-respond {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.cw-single-post-comments .comment-respond .comment-form {
  display: grid;
  gap: 14px;
}

.cw-single-post-comments .comment-respond .comment-reply-title {
  margin: 0;
  color: var(--cw-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 2vw, 26px);
  line-height: 1.15;
}

.cw-single-post-comments .comment-respond .comment-reply-title small {
  font-size: 13px;
  font-weight: 500;
  margin-left: 8px;
}

.cw-single-post-comments .comment-respond .comment-reply-title a {
  color: var(--cw-teal);
  text-decoration: none;
}

.cw-single-post-comments__intro {
  margin: 0;
  color: var(--cw-ink-mid);
  font-size: 14px;
  line-height: 1.7;
}

.cw-single-post-comments .comment-respond .comment-form-comment,
.cw-single-post-comments .comment-respond .form-submit {
  margin: 0;
}

.cw-single-post-comments .comment-respond .logged-in-as {
  margin: 0;
  color: var(--cw-quiet);
  font-size: 13px;
  line-height: 1.6;
}

.cw-single-post-comments .comment-respond .logged-in-as a {
  color: var(--cw-teal);
  text-decoration: none;
}

.cw-single-post-comments .comment-respond label {
  display: block;
  margin-bottom: 6px;
  color: var(--cw-ink-mid);
  font-size: 13px;
  font-weight: 600;
}

.cw-single-post-comments .comment-respond textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  border: 1.5px solid var(--cw-border);
  border-radius: 10px;
  background: var(--cw-white);
  padding: 12px 14px;
  color: var(--cw-ink);
  font: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.cw-single-post-comments .comment-respond textarea:focus {
  outline: none;
  border-color: rgba(74, 148, 148, 0.42);
  box-shadow: 0 0 0 4px rgba(74, 148, 148, 0.12);
}

/* Submit — match the header "Join free" pill (cw-header-join); override Kadence's button radius. */
.cw-single-post-comments .comment-respond .form-submit input.cw-single-post-comments__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-height: 34px;
  border: none !important;
  border-radius: 9999px !important;
  background: var(--cw-clay);
  padding: 9px 20px;
  color: var(--cw-white) !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.cw-single-post-comments .comment-respond .form-submit input.cw-single-post-comments__submit:hover,
.cw-single-post-comments .comment-respond .form-submit input.cw-single-post-comments__submit:focus-visible {
  background: var(--cw-clay-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(198, 117, 96, 0.35);
}

.cw-single-post-comments .comment-respond .form-submit input.cw-single-post-comments__submit:focus-visible {
  outline: 2px solid rgba(198, 117, 96, 0.28);
  outline-offset: 3px;
}

.cw-single-post-body {
  margin-bottom: 32px;
}

.cw-single-post-body > *:first-child {
  margin-top: 0;
}

.cw-single-post-body > *:last-child {
  margin-bottom: 0;
}

.cw-single-post-body p,
.cw-single-post-body li {
  color: var(--cw-ink-mid);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.cw-single-post-body ul,
.cw-single-post-body ol {
  padding-left: 1.3em;
}

.cw-single-post-body h2,
.cw-single-post-body h3,
.cw-single-post-body h4 {
  color: var(--cw-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  scroll-margin-top: 92px;
}

.cw-single-post-body h2 {
  margin-top: 1.6em;
  font-size: clamp(1.875rem, 1.7875rem + 0.4375vw, 2.125rem);
  line-height: 1.18;
}

.cw-single-post-body h3 {
  margin-top: 1.3em;
  font-size: clamp(1.5rem, 1.4125rem + 0.4375vw, 1.75rem);
  line-height: 1.2;
}

.cw-single-post-body h4 {
  margin-top: 1.15em;
  font-size: clamp(1.25rem, 1.2063rem + 0.2188vw, 1.375rem);
  line-height: 1.25;
}

.cw-single-post-body p,
.cw-single-post-body ul,
.cw-single-post-body ol,
.cw-single-post-body blockquote {
  max-inline-size: 70ch;
}

.cw-single-post-body figure,
.cw-single-post-body .wp-block-image,
.cw-single-post-body .wp-block-embed,
.cw-single-post-body .wp-block-video {
  margin: 1.8em 0;
}

.cw-single-post-body img,
.cw-single-post-body iframe,
.cw-single-post-body video {
  border-radius: 12px;
}

.cw-single-post-body blockquote {
  margin: 1.8em 0;
  border-left: 3px solid var(--cw-clay);
  border-radius: 0 12px 12px 0;
  background: var(--cw-clay-tint);
  padding: 16px 18px;
}

.cw-single-post-body table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 12px;
}

.cw-single-post-body th,
.cw-single-post-body td {
  border: 1px solid var(--cw-border);
  padding: 12px 14px;
  text-align: left;
}

@media (max-width: 820px) {
  .cw-single-post-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cw-single-post-sidebar {
    order: -1;
  }

  .cw-single-post-sidebar__sticky {
    position: static;
  }

  .cw-single-post-hero__inner {
    padding-right: 28px;
    padding-left: 28px;
    gap: 28px;
  }

  .cw-single-post-breadcrumb {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .cw-single-post-breadcrumb::-webkit-scrollbar {
    display: none;
  }

  .cw-single-post-glance__grid {
    grid-template-columns: 1fr 1fr;
  }

  .cw-single-post-author-card {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .cw-single-post-author-card__avatar {
    width: 52px;
    height: 52px;
  }

  .cw-single-post-supplies {
    grid-template-columns: 1fr;
  }

  .cw-single-post-product {
    flex-wrap: wrap;
  }

  .cw-single-post-product__meta {
    width: 100%;
    justify-content: space-between;
  }

  .cw-single-post-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
  }

  .cw-single-post-meta__primary {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
  }

  .cw-single-post-author {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
  }

  .cw-single-post-meta__dates {
    width: 100%;
    gap: 16px;
  }

  .cw-single-post-makers {
    width: auto;
    flex-shrink: 0;
  }

  .cw-single-post-actions {
    width: 100%;
    margin-left: 0;
    max-width: none;
  }

  .cw-single-post-action--secondary {
    max-width: none;
  }

  .cw-single-post-divider {
    display: none;
  }

  .cw-single-post-shell {
    padding-top: 32px;
  }

  .cw-single-post-shell [id] {
    scroll-margin-top: 96px;
  }

  .cw-single-post-body h2,
  .cw-single-post-body h3,
  .cw-single-post-body h4 {
    scroll-margin-top: 96px;
  }

  .cw-single-post-body p,
  .cw-single-post-body li {
    font-size: 1rem;
  }
}

@media (max-width: 640px) {
  .cw-single-post-hero__inner {
    padding: 36px 16px 28px;
  }

  .cw-single-post-hero h1 {
    font-size: clamp(30px, 10vw, 42px);
    line-height: 1.08;
  }

  .cw-single-post-hero__excerpt {
    font-size: 15px;
    line-height: 1.7;
  }

  .cw-single-post-meta {
    gap: 14px;
  }

  .cw-single-post-meta__primary {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }

  .cw-single-post-actions,
  .cw-single-post-author-card__header,
  .cw-single-post-community .cw-button-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .cw-single-post-actions {
    align-items: stretch;
  }

  .cw-single-post-glance,
  .cw-single-post-card,
  .cw-single-post-author-card,
  .cw-single-post-community {
    padding: 22px 20px;
  }

  .cw-single-post-series-next {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: -10px;
    margin-bottom: 22px;
    padding: 18px;
  }

  .cw-single-post-series-next .cw-button-row {
    width: 100%;
    align-self: stretch;
  }

  .cw-single-post-glance__grid,
  .cw-single-post-author-card {
    grid-template-columns: 1fr;
  }

  .cw-single-post-utility-card,
  .cw-single-post-product {
    padding-right: 20px;
    padding-left: 20px;
  }

  .cw-single-post-comments__list .children {
    margin-left: 12px;
    padding-left: 12px;
  }

  .cw-single-post-utility-card__header,
  .cw-single-post-product__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cw-single-post-step__header {
    align-items: flex-start;
  }

  .cw-single-post-comments {
    padding: 22px 20px;
  }

  .cw-single-post-comment__header {
    gap: 12px;
  }

  .cw-single-share {
    width: 100%;
  }

  .cw-single-share__menu {
    left: 0;
    right: auto;
    width: min(100%, 240px);
  }

  .cw-single-post-action,
  .cw-single-post-action--primary,
  .cw-single-post-action--secondary {
    width: 100%;
    max-width: none;
  }

  .cw-single-post-video__frame iframe,
  .cw-single-post-video__frame video {
    min-height: 220px;
  }

  .cw-single-post-shell {
    padding-top: 24px;
  }
}

/* Sidebar product card — linked pattern/template for this tutorial. */
.cw-single-post-panel--product {
  padding: 16px 18px 18px;
}

.cw-single-post-panel--product .cw-single-post-panel__eyebrow {
  margin-bottom: 12px;
}

.cw-single-post-product__badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.cw-single-post-product__badges .cw-card-member-pill {
  margin: 0;
}

.cw-single-post-product__tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--cw-fog, #f3eee7);
  color: var(--cw-ink);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.cw-single-post-product__badges .cw-card-member-pill {
  padding: 2px 8px;
  font-size: 0.68rem;
}

.cw-single-post-product__badges .cw-card-member-pill__icon {
  font-size: 0.78rem;
}

.cw-single-post-product__body {
  padding-top: 0;
}

.cw-single-post-product__title {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.3;
}

.cw-single-post-product__title a {
  color: var(--cw-ink);
  text-decoration: none;
}

.cw-single-post-product__title a:hover,
.cw-single-post-product__title a:focus {
  color: var(--cw-clay);
}

.cw-single-post-product__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.cw-single-post-product__price strong {
  color: var(--cw-ink);
  font-size: 20px;
}

.cw-single-post-product__strike {
  color: var(--cw-ink-light);
  font-size: 14px;
  text-decoration: line-through;
}

.cw-single-post-product__meta {
  flex-basis: 100%;
  color: var(--cw-ink-light);
  font-size: 12px;
}

.cw-single-post-product__action .cw-shop-shell__purchase-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cw-single-post-product__action .cw-button,
.cw-single-post-product__action .wp-block-button__link,
.cw-single-post-product__action .wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  min-height: 40px;
  border: none;
  border-radius: 9999px;
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease, color 150ms ease, border-color 150ms ease;
}

.cw-single-post-product__action .cw-button:hover,
.cw-single-post-product__action .wp-block-button__link:hover,
.cw-single-post-product__action .wp-element-button:hover {
  transform: translateY(-1px);
}

.cw-single-post-product__action .cw-button-ghost {
  border: 1.5px solid var(--cw-teal);
  background: transparent;
  color: var(--cw-teal) !important;
  box-shadow: none;
}

.cw-single-post-product__action .cw-button-ghost:hover {
  background: var(--cw-teal-tint);
  color: var(--cw-teal) !important;
}
