.comparison-chart {
  padding: 80px 0;
}

.comparison-chart .cc__inner {
  max-width: 90%;
  margin: 0 auto;
}

.comparison-chart .cc__table {
  border: 2px solid #52287e;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
}

.comparison-chart .cc__row {
  display: grid;
  align-items: stretch;
}

.comparison-chart .cc__row--head {
  background: linear-gradient(135deg, #52287e, #8b2bd3);
  color: #fff;
}

.comparison-chart .cc__cell {
  padding: 22px 18px;
  position: relative;
  background: transparent;
}

/* Vertical dividers */
.comparison-chart .cc__cell:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  right: 0;
  width: 2px;
  background: rgba(82, 196, 199, 0.85);
}

/* Header styles */
.comparison-chart .cc__cell--head {
  padding: 18px 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.comparison-chart .cc__head-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.comparison-chart .cc__head-icon svg {
  display: block;
  color: #fff;
}

.comparison-chart .cc__head-label {
  color: #fff;
  margin: 0;
}

/* Generic body type */
.comparison-chart .cc__big {
  font-weight: 900;
  color: #52287e;
  margin: 0;
  line-height: 1.1;
}

.comparison-chart .cc__sub {
  color: #000;
  margin: 4px 0 0;
  line-height: 1.2;
}

.comparison-chart .cc__price {
  font-weight: 900;
  color: #52287e;
  font-family: 'Niveau-Grotesk', niveau-grotesk, sans-serif !important;
}

.comparison-chart .cc__price-sub {
  margin-top: 6px;
  font-weight: 500;
}

.comparison-chart .cc__empty {
  padding: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.cc__price-label {
  color: #000 !important;
}

.cc__location-name {
  color: #52287e !important;
}

/* =========================================================
   STYLE 1
   ========================================================= */

.comparison-chart.style_1 .cc__row,
.comparison-chart .cc__table--style1 .cc__row {
  grid-template-columns: 1.2fr 2.2fr 1fr 0.8fr 0.9fr 1.2fr;
}

/* Body zebra */
.comparison-chart.style_1 .cc__table .cc__row:not(.cc__row--head):nth-child(odd) .cc__cell,
.comparison-chart .cc__table--style1 .cc__row:not(.cc__row--head):nth-child(odd) .cc__cell {
  background: #f1edf8;
}

.comparison-chart.style_1 .cc__table .cc__row:not(.cc__row--head):nth-child(even) .cc__cell,
.comparison-chart .cc__table--style1 .cc__row:not(.cc__row--head):nth-child(even) .cc__cell {
  background: #ffffff;
}

.comparison-chart.style_1 .cc__product-name,
.comparison-chart .cc__table--style1 .cc__product-name {
  font-weight: 900;
  color: #52287e;
}

.comparison-chart.style_1 .cc__expires,
.comparison-chart .cc__table--style1 .cc__expires {
  font-weight: 500;
  color: #000;
}

.comparison-chart.style_1 .cc__desc.h6 p,
.comparison-chart .cc__table--style1 .cc__desc.h6 p {
  font-size: clamp(14px, 12.8px + 0.5vw, 18px);
  color: #000;
  display: flex;
  align-items: center;
  height: 100%;
  line-height: normal;
}

.comparison-chart.style_1 .cc__cell--center,
.comparison-chart .cc__table--style1 .cc__cell--center {
  justify-content: center;
  text-align: center;
}

/* =========================================================
   STYLE 2
   ========================================================= */

.comparison-chart.style_2 .cc__table,
.comparison-chart .cc__table--style2 {
  border-width: 2px;
  border-radius: 34px;
  background: #fff;
}

.comparison-chart.style_2 .cc__row,
.comparison-chart .cc__table--style2 .cc__row {
  grid-template-columns: 1.15fr 1.4fr 1.05fr 0.8fr 1fr;
}

.comparison-chart.style_2 .cc__row--head,
.comparison-chart .cc__table--style2 .cc__row--head {
  background: linear-gradient(135deg, #52287e, #8b2bd3);
}

.comparison-chart.style_2 .cc__row--head .cc__cell,
.comparison-chart .cc__table--style2 .cc__row--head .cc__cell {
  padding: 18px 18px;
}

.comparison-chart.style_2 .cc__row--style2:nth-child(odd) .cc__cell,
.comparison-chart .cc__table--style2 .cc__row--style2:nth-child(odd) .cc__cell {
  background: #ffffff;
}

.comparison-chart.style_2 .cc__row--style2:nth-child(even) .cc__cell,
.comparison-chart .cc__table--style2 .cc__row--style2:nth-child(even) .cc__cell {
  background: #f1edf8;
}

.comparison-chart.style_2 .cc__location-name,
.comparison-chart .cc__table--style2 .cc__location-name {
  margin: 0 0 6px;
  color: #52c4c7;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  display: inline-block;
}

.comparison-chart.style_2 a.cc__location-name:hover,
.comparison-chart .cc__table--style2 a.cc__location-name:hover {
  text-decoration: none;
}

.comparison-chart.style_2 .cc__location-dates,
.comparison-chart .cc__table--style2 .cc__location-dates {
  margin: 0 0 24px;
  color: #000;
  font-weight: 700;
  line-height: 1.2;
}

.comparison-chart.style_2 .cc__location-venue,
.comparison-chart .cc__table--style2 .cc__location-venue {
  color: #52c4c7;
  font-weight: 800;
  line-height: 1.35;
}

.comparison-chart.style_2 .cc__location-venue p,
.comparison-chart .cc__table--style2 .cc__location-venue p {
  margin: 0 0 6px;
}

.comparison-chart.style_2 .cc__location-venue p:last-child,
.comparison-chart .cc__table--style2 .cc__location-venue p:last-child {
  margin-bottom: 0;
}

.comparison-chart.style_2 .cc__list,
.comparison-chart .cc__table--style2 .cc__list {
  color: #000;
}

.comparison-chart.style_2 .cc__list p,
.comparison-chart .cc__table--style2 .cc__list p {
  margin: 0 0 10px;
  line-height: 1.35;
}

.comparison-chart.style_2 .cc__list p:last-child,
.comparison-chart .cc__table--style2 .cc__list p:last-child {
  margin-bottom: 0;
}

.comparison-chart.style_2 .cc__list ul,
.comparison-chart.style_2 .cc__list ol,
.comparison-chart .cc__table--style2 .cc__list ul,
.comparison-chart .cc__table--style2 .cc__list ol {
  margin: 0;
  padding-left: 22px;
}

.comparison-chart.style_2 .cc__list li,
.comparison-chart .cc__table--style2 .cc__list li {
  margin: 0 0 10px;
  line-height: 1.35;
  font-size: clamp(14px, -3.6px + 1.2vw, 18px);
}

.comparison-chart.style_2 .cc__list li:last-child,
.comparison-chart .cc__table--style2 .cc__list li:last-child {
  margin-bottom: 0;
}

.comparison-chart.style_2 .cc__price-label,
.comparison-chart .cc__table--style2 .cc__price-label {
  margin: 0 0 8px;
  color: #52287e;
  font-weight: 900;
  line-height: 1.15;
}

.comparison-chart.style_2 .cc__price-wrap,
.comparison-chart .cc__table--style2 .cc__price-wrap {
  color: #52287e;
  font-weight: 900;
  line-height: 1.15;
}

.comparison-chart.style_2 .cc__price-wrap p,
.comparison-chart .cc__table--style2 .cc__price-wrap p {
  margin: 0 0 6px;
  font-size: clamp(18px, -2.6px + 1.7vw, 28px);
  font-family: 'Niveau-Grotesk', niveau-grotesk, sans-serif !important;
  font-weight: 900;
}

.comparison-chart.style_2 .cc__price-wrap p:last-child,
.comparison-chart .cc__table--style2 .cc__price-wrap p:last-child {
  margin-bottom: 0;
}

.comparison-chart.style_2 .cc__price-sub,
.comparison-chart .cc__table--style2 .cc__price-sub {
  margin-top: 10px;
  color: #000;
  font-weight: 500;
  line-height: 1.3;
}

.comparison-chart.style_2 .cc__inner {
  overflow-x: visible;
}

/* =========================================================
   RESPONSIVE - STYLE 1
   ========================================================= */

@media (max-width: 1460px) {
  .comparison-chart.style_1 .cc__row,
  .comparison-chart .cc__table--style1 .cc__row {
    grid-template-columns: 1.4fr 1.2fr 1fr 0.8fr 0.9fr 1.1fr;
  }
  
}

@media (max-width: 1260px) {
  .comparison-chart .cc__cell--head {
    flex-wrap:wrap;
  }
}

@media (max-width: 990px) {
  /* Hide Description column for style 1 only */
  .comparison-chart.style_1 .cc__row .cc__cell:nth-child(2),
  .comparison-chart .cc__table--style1 .cc__row .cc__cell:nth-child(2) {
    display: none;
  }

  .comparison-chart.style_1 .cc__row,
  .comparison-chart .cc__table--style1 .cc__row {
    grid-template-columns: 1.6fr 1fr .7fr .9fr 1.2fr;
    align-items: stretch;
  }

  .comparison-chart.style_1 .cc__cell:not(:last-child)::after,
  .comparison-chart .cc__table--style1 .cc__cell:not(:last-child)::after {
    top: 14px;
    bottom: 14px;
  }

  .comparison-chart.style_1 .cc__row .cc__cell:nth-child(3),
  .comparison-chart.style_1 .cc__row .cc__cell:nth-child(4),
  .comparison-chart.style_1 .cc__row .cc__cell:nth-child(5),
  .comparison-chart.style_1 .cc__row .cc__cell:nth-child(6),
  .comparison-chart .cc__table--style1 .cc__row .cc__cell:nth-child(3),
  .comparison-chart .cc__table--style1 .cc__row .cc__cell:nth-child(4),
  .comparison-chart .cc__table--style1 .cc__row .cc__cell:nth-child(5),
  .comparison-chart .cc__table--style1 .cc__row .cc__cell:nth-child(6) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .comparison-chart.style_1 .cc__row .cc__cell:nth-child(1),
  .comparison-chart .cc__table--style1 .cc__row .cc__cell:nth-child(1) {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .comparison-chart.style_1 .cc__cell,
  .comparison-chart .cc__table--style1 .cc__cell {
    padding: 16px 12px;
  }

  .comparison-chart.style_1 .cc__product-name,
  .comparison-chart .cc__table--style1 .cc__product-name {
    line-height: 1.2;
  }

  .comparison-chart.style_1 .cc__expires,
  .comparison-chart.style_1 .cc__sub,
  .comparison-chart.style_1 .cc__price-sub,
  .comparison-chart .cc__table--style1 .cc__expires,
  .comparison-chart .cc__table--style1 .cc__sub,
  .comparison-chart .cc__table--style1 .cc__price-sub {
    line-height: 1.25;
  }

  .comparison-chart.style_1 .cc__big,
  .comparison-chart.style_1 .cc__price,
  .comparison-chart .cc__table--style1 .cc__big,
  .comparison-chart .cc__table--style1 .cc__price {
    line-height: 1.1;
    margin: 0;
  }

  .comparison-chart.style_1 .cc__sub,
  .comparison-chart .cc__table--style1 .cc__sub {
    margin: 4px 0 0;
  }

  .comparison-chart.style_1 .cc__row--head .cc__head-icon,
  .comparison-chart .cc__table--style1 .cc__row--head .cc__head-icon {
    display: none;
  }

  .comparison-chart.style_1 .cc__cell--head,
  .comparison-chart .cc__table--style1 .cc__cell--head {
    white-space: normal;
    flex-wrap: wrap;
    line-height: 1.1;
    gap: 6px;
  }

  .comparison-chart.style_1 .cc__row--head .cc__cell,
  .comparison-chart .cc__table--style1 .cc__row--head .cc__cell {
    padding: 14px 8px;
  }

  .comparison-chart.style_1 .cc__cell:not(:last-child)::after,
  .comparison-chart .cc__table--style1 .cc__cell:not(:last-child)::after {
    display: none;
  }
}

/* =========================================================
   RESPONSIVE - STYLE 2
   ========================================================= */

@media (max-width: 1200px) {
  .comparison-chart.style_2 .cc__row,
  .comparison-chart .cc__table--style2 .cc__row {
    grid-template-columns: 1.1fr 1.0fr 1fr 0.85fr 1fr;
  }
}

@media (max-width: 990px) {
  /* Let style 2 behave like a compact table, not stacked cards */
  .comparison-chart.style_2 .cc__inner,
  .comparison-chart .cc__table--style2 {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-chart.style_2 .cc__table,
  .comparison-chart .cc__table--style2 {
    min-width: 920px;
    border-radius: 26px;
    overflow: hidden;
  }

  /* Keep all 5 columns */
  .comparison-chart.style_2 .cc__row,
  .comparison-chart .cc__table--style2 .cc__row {
    grid-template-columns: 1.2fr 1.45fr 1.1fr 0.85fr 1fr;
    align-items: stretch;
  }

  /* Keep one single top header */
  .comparison-chart.style_2 .cc__row--head,
  .comparison-chart .cc__table--style2 .cc__row--head {
    display: grid;
  }

  /* Hide any repeated mobile header rows if they still exist in markup */
  .comparison-chart.style_2 .cc__row--style2-head,
  .comparison-chart .cc__table--style2 .cc__row--style2-head {
    display: none !important;
  }

  /* Remove card treatment on mobile so it feels like style 1 */
  .comparison-chart.style_2 .cc__row--style2,
  .comparison-chart .cc__table--style2 .cc__row--style2 {
    border: 0;
    border-radius: 0;
    overflow: visible;
    margin: 0;
  }

  /* Keep zebra striping like style 1 */
  .comparison-chart.style_2 .cc__table .cc__row:not(.cc__row--head):nth-child(odd) .cc__cell,
  .comparison-chart .cc__table--style2 .cc__row:not(.cc__row--head):nth-child(odd) .cc__cell {
    background: #f1edf8;
  }

  .comparison-chart.style_2 .cc__table .cc__row:not(.cc__row--head):nth-child(even) .cc__cell,
  .comparison-chart .cc__table--style2 .cc__row:not(.cc__row--head):nth-child(even) .cc__cell {
    background: #ffffff;
  }

  /* Compact spacing */
  .comparison-chart.style_2 .cc__cell,
  .comparison-chart .cc__table--style2 .cc__cell {
    padding: 16px 12px;
  }

  .comparison-chart.style_2 .cc__row--head .cc__cell,
  .comparison-chart .cc__table--style2 .cc__row--head .cc__cell {
    padding: 14px 10px;
  }

  /* Hide header icons on mobile to save room */
  .comparison-chart.style_2 .cc__row--head .cc__head-icon,
  .comparison-chart .cc__table--style2 .cc__row--head .cc__head-icon {
    display: none;
  }

  /* Let header text wrap a little */
  .comparison-chart.style_2 .cc__cell--head,
  .comparison-chart .cc__table--style2 .cc__cell--head {
    white-space: normal;
    flex-wrap: wrap;
    line-height: 1.1;
    gap: 6px;
  }

  /* Keep vertical dividers off on smaller screens */
  .comparison-chart.style_2 .cc__cell:not(:last-child)::after,
  .comparison-chart .cc__table--style2 .cc__cell:not(:last-child)::after {
    display: none;
  }

  /* Center credit + price columns */
  .comparison-chart.style_2 .cc__row .cc__cell:nth-child(4),
  .comparison-chart.style_2 .cc__row .cc__cell:nth-child(5),
  .comparison-chart .cc__table--style2 .cc__row .cc__cell:nth-child(4),
  .comparison-chart .cc__table--style2 .cc__row .cc__cell:nth-child(5) {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  /* Keep location + topics + speakers left aligned */
  .comparison-chart.style_2 .cc__row .cc__cell:nth-child(1),
  .comparison-chart.style_2 .cc__row .cc__cell:nth-child(2),
  .comparison-chart.style_2 .cc__row .cc__cell:nth-child(3),
  .comparison-chart .cc__table--style2 .cc__row .cc__cell:nth-child(1),
  .comparison-chart .cc__table--style2 .cc__row .cc__cell:nth-child(2),
  .comparison-chart .cc__table--style2 .cc__row .cc__cell:nth-child(3) {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .comparison-chart.style_2 .cc__location-dates,
  .comparison-chart .cc__table--style2 .cc__location-dates {
    margin-bottom: 12px;
  }

  .comparison-chart.style_2 .cc__location-venue,
  .comparison-chart .cc__table--style2 .cc__location-venue {
    margin-top: 8px;
  }

  .comparison-chart.style_2 .cc__price-sub,
  .comparison-chart .cc__table--style2 .cc__price-sub {
    margin-top: 8px;
  }
}

/* =========================================================
   GLOBAL SMALLER SCREENS
   ========================================================= */

@media (max-width: 768px) {
  .comparison-chart {
    padding: 40px 0;
  }

  .comparison-chart .cc__inner {
    max-width: calc(100% - 24px);
  }

  .comparison-chart .cc__table {
    border-radius: 18px;
  }
}