:root {
  --ascend-bg: #0b0b0c;
  --ascend-bg-soft: #121214;
  --ascend-surface: linear-gradient(180deg, rgba(18,18,19,.98) 0%, rgba(10,10,11,.99) 100%);
  --ascend-surface-soft: linear-gradient(180deg, rgba(22,22,24,.98) 0%, rgba(14,14,16,.98) 100%);
  --ascend-line: rgba(255,255,255,.08);
  --ascend-line-strong: rgba(200,169,107,.28);
  --ascend-accent: #c8a96b;
  --ascend-accent-soft: rgba(200,169,107,.12);
  --ascend-text: #f4efe6;
  --ascend-text-soft: rgba(244,239,230,.76);
  --ascend-radius-lg: 24px;
  --ascend-radius-md: 18px;
  --ascend-shadow-lg: 0 18px 44px rgba(0, 0, 0, .22);
  --ascend-shadow-md: 0 12px 28px rgba(0, 0, 0, .16);
}

.ascend-sales-block {
  position: relative;
  isolation: isolate;
}

.ascend-sales-cta,
.ascend-sales-points,
.ascend-columns-block {
  margin: 44px 0;
}

.ascend-section-title {
  position: relative;
  margin: 0;
  padding: 0 0 14px;
  font-size: clamp(1.35rem, 1.8vw, 1.95rem);
  line-height: 1.32;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--ascend-section-title-color, var(--ascend-text));
}

.ascend-section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 12px;
  background: linear-gradient(90deg, var(--ascend-accent), rgba(200,169,107,.18));
}

.ascend-sales-block h2,
.ascend-sales-block h2:where(*),
.ascend-sales-block h2 span,
.ascend-sales-block h2 a,
.ascend-sales-block h2 a:link,
.ascend-sales-block h2 a:visited,
.ascend-sales-block h2 a:hover,
.ascend-sales-block h2 a:focus,
.ascend-sales-block h2 a:active {
  color: var(--ascend-section-title-color, var(--ascend-text)) !important;
}

.ascend-sales-cta__inner,
.ascend-sales-points__card,
.ascend-post-card {
  backdrop-filter: blur(4px);
}

.ascend-sales-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, .72fr);
  gap: 30px;
  padding: 36px;
  border: 1px solid var(--ascend-line-strong);
  background: var(--ascend-surface);
  border-radius: var(--ascend-radius-lg);
  box-shadow: var(--ascend-shadow-lg);
}

.ascend-sales-cta__content,
.ascend-sales-cta__action {
  min-width: 0;
}

.ascend-sales-cta__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--ascend-cta-eyebrow, var(--ascend-accent));
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.ascend-sales-cta__title {
  margin: 0 0 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.34;
  letter-spacing: .02em;
  color: var(--ascend-cta-title, var(--ascend-text));
}

.ascend-sales-cta__text {
  margin: 0;
  line-height: 1.95;
  color: var(--ascend-cta-text, var(--ascend-text-soft));
}

.ascend-sales-cta__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.ascend-sales-cta__points li {
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid var(--ascend-cta-point-border, rgba(200,169,107,.34));
  background: var(--ascend-cta-point-bg, rgba(200,169,107,.08));
  color: var(--ascend-cta-point-text, var(--ascend-text));
  font-size: .92rem;
  line-height: 1.35;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.ascend-sales-cta__action {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding-left: 4px;
}

.ascend-sales-cta__note {
  margin: 0;
  max-width: 24em;
  font-size: .95rem;
  line-height: 1.9;
  color: var(--ascend-cta-note, var(--ascend-text-soft));
}

.ascend-sales-cta__button,
.ascend-post-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-width: 194px;
  max-width: 100%;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(200,169,107,.24);
  background: var(--ascend-cta-button-bg, #f4efe6);
  color: var(--ascend-cta-button-text, #111111);
  text-decoration: none;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  letter-spacing: .04em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
  transition: transform .22s ease, opacity .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.ascend-sales-cta__button::after,
.ascend-post-card__link::after {
  content: "→";
  font-size: .9em;
  line-height: 1;
  transform: translateX(0);
  transition: transform .22s ease;
}

.ascend-post-card__link {
  background: var(--ascend-post-link-bg, #f4efe6);
  color: var(--ascend-post-link-text, #111111);
  min-width: 140px;
  min-height: 42px;
  padding: 0 18px;
  font-size: .89rem;
}

.ascend-sales-cta__button:hover,
.ascend-post-card__link:hover {
  transform: translateY(-2px);
  opacity: .98;
  filter: brightness(1.02);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .16);
}

.ascend-sales-cta__button:hover::after,
.ascend-post-card__link:hover::after {
  transform: translateX(2px);
}

.ascend-sales-points__grid,
.ascend-columns-block__grid {
  display: grid;
  gap: 18px;
}

.ascend-sales-points__grid.columns-1 {
  grid-template-columns: 1fr;
}

.ascend-sales-points__grid.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ascend-sales-points__grid.columns-3,
.ascend-columns-block__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ascend-sales-points__card,
.ascend-post-card {
  height: 100%;
  border: 1px solid var(--ascend-line);
  border-radius: var(--ascend-radius-md);
  background: var(--ascend-surface-soft);
  overflow: hidden;
  box-shadow: var(--ascend-shadow-md);
}

.ascend-sales-points__card {
  position: relative;
  padding: 24px 22px;
}

.ascend-sales-points__card::before,
.ascend-post-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 35%);
  pointer-events: none;
}

.ascend-sales-points__num {
  margin-bottom: 12px;
  color: var(--ascend-points-number-color, var(--ascend-accent));
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
}

.ascend-sales-points__card h3,
.ascend-post-card__title {
  margin: 0 0 10px;
  line-height: 1.48;
}

.ascend-sales-points__card h3 {
  font-size: 1.08rem;
  color: var(--ascend-points-title-color, var(--ascend-text));
}

.ascend-sales-points__card p {
  margin: 0;
  line-height: 1.85;
  color: var(--ascend-points-text-color, var(--ascend-text-soft));
}

.ascend-columns-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
}

.ascend-columns-block__head::after {
  content: "";
  flex: 1;
  min-width: 42px;
  height: 1px;
  background: linear-gradient(90deg, rgba(200,169,107,.18), rgba(200,169,107,0));
}

.ascend-post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.ascend-post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(200,169,107,.26);
  box-shadow: 0 16px 34px rgba(0,0,0,.20);
}

.ascend-post-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.ascend-post-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.16) 100%);
  pointer-events: none;
}

.ascend-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .38s ease;
}

.ascend-post-card:hover .ascend-post-card__thumb img {
  transform: scale(1.035);
}

.ascend-post-card__rank {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(17,17,17,.88);
  color: var(--ascend-text);
  font-weight: 700;
  z-index: 1;
}

.ascend-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.ascend-post-card__meta {
  margin-bottom: 8px;
  font-size: .82rem;
  letter-spacing: .04em;
  color: var(--ascend-post-meta-color, var(--ascend-text-soft));
}

.ascend-post-card__title {
  font-size: 1.02rem;
  color: var(--ascend-post-title-color, var(--ascend-text));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.95em;
}

.ascend-post-card__title a {
  color: inherit;
  text-decoration: none;
}

.ascend-post-card__excerpt {
  margin: 0 0 14px;
  font-size: .92rem;
  line-height: 1.78;
  color: var(--ascend-post-excerpt-color, var(--ascend-text-soft));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.45em;
}

.ascend-columns-block--popular .ascend-post-card__rank {
  background: linear-gradient(180deg, rgba(200,169,107,.94), rgba(153,126,67,.94));
  color: #111;
}

@media (max-width: 980px) {
  .ascend-sales-cta__inner,
  .ascend-sales-points__grid.columns-3 {
    grid-template-columns: 1fr;
  }

  .ascend-sales-points__grid.columns-2 {
    grid-template-columns: 1fr;
  }

  .ascend-sales-cta__inner {
    padding: 26px;
    gap: 22px;
  }

  .ascend-columns-block__grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(280px, 82%);
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .ascend-columns-block__grid::-webkit-scrollbar {
    height: 6px;
  }

  .ascend-columns-block__grid::-webkit-scrollbar-thumb {
    background: rgba(200,169,107,.35);
    border-radius: 999px;
  }

  .ascend-post-card {
    scroll-snap-align: start;
  }
}

@media (max-width: 640px) {
  .ascend-sales-cta,
  .ascend-sales-points,
  .ascend-columns-block {
    margin: 34px 0;
  }

  .ascend-sales-cta__inner {
    padding: 20px;
    border-radius: 18px;
  }

  .ascend-sales-cta__title {
    font-size: clamp(1.32rem, 6vw, 1.6rem);
  }

  .ascend-sales-cta__button {
    width: 100%;
    min-width: 0;
  }

  .ascend-post-card__body {
    padding: 15px;
  }

  .ascend-columns-block__grid {
    grid-auto-columns: minmax(258px, 86%);
  }
}

/* Theme CSS override protection */
.ascend-sales-block .ascend-sales-cta__button,
.ascend-sales-block .ascend-sales-cta__button:link,
.ascend-sales-block .ascend-sales-cta__button:visited,
.ascend-sales-block .ascend-sales-cta__button:hover,
.ascend-sales-block .ascend-sales-cta__button:focus,
.ascend-sales-block .ascend-sales-cta__button:active {
  color: var(--ascend-cta-button-text, #111111) !important;
  background: var(--ascend-cta-button-bg, #f4efe6) !important;
  text-decoration: none !important;
}

.ascend-sales-block .ascend-post-card__link,
.ascend-sales-block .ascend-post-card__link:link,
.ascend-sales-block .ascend-post-card__link:visited,
.ascend-sales-block .ascend-post-card__link:hover,
.ascend-sales-block .ascend-post-card__link:focus,
.ascend-sales-block .ascend-post-card__link:active {
  color: var(--ascend-post-link-text, #111111) !important;
  background: var(--ascend-post-link-bg, #f4efe6) !important;
  text-decoration: none !important;
}

.ascend-sales-block .ascend-sales-cta__button *,
.ascend-sales-block .ascend-post-card__link * {
  color: inherit !important;
  fill: currentColor !important;
}

.ascend-sales-block .ascend-post-card__title a,
.ascend-sales-block .ascend-post-card__title a:link,
.ascend-sales-block .ascend-post-card__title a:visited,
.ascend-sales-block .ascend-post-card__title a:hover,
.ascend-sales-block .ascend-post-card__title a:focus,
.ascend-sales-block .ascend-post-card__title a:active {
  color: var(--ascend-post-title-color, var(--ascend-text)) !important;
  text-decoration: none !important;
}
