/* ========================================
   Table of Contents (right-side TOC)
   Ported from dc-2023 for approach-to-design
   ======================================== */

/* Two-column layout: main content + TOC aside */
.fluid-fixed {
  display: flex;
  flex-direction: row;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  position: relative;
}

.fluid-fixed .toc-content,
.fluid-fixed .toc-section-content {
  flex: 1;
  min-width: 0;
}

/* TOC aside - right side */
.docs-toc {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding: 0 0.5rem 0 0;
  background: transparent;
  border-radius: 8px;
  margin-left: 20px;
  flex-shrink: 0;
  width: 220px;
}

.fluid-fixed aside.docs-toc {
  padding: 0;
  border: initial;
  background: transparent;
}

.toc-title {
  margin: 0 0 16px 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.5px;
  /* color: #1ca190; 
  padding-bottom: 8px;*/
  border-bottom: 1px solid rgba(28, 161, 144, 0.3);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0 1px;
  border-left: 1px solid rgba(28, 161, 144, 0.25);
}

.toc-item {
  margin: 0 0 0 -2px;
  padding: 0;
}

.toc-link {
  display: block;
  padding: 8px 0;
  color: #555;
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 300;
  border-left: 3px solid transparent;
  padding-left: 12px;
  transition: all 0.2s ease;
}

.toc-link:hover {
  color: #1ca190;
  border-left-color: rgba(28, 161, 144, 0.5);
  text-decoration: none;
}

.toc-link.active {
  color: #1ca190;
  border-left-color: #1ca190;
}

.toc-level-h1 a { padding-left: 0; }
.toc-level-h2 a { padding-left: 12px; font-weight: 400; color: #333; }
.toc-level-h3 a { padding-left: 24px; font-weight: 500; }
.toc-level-h4 a { padding-left: 36px; }
.toc-level-h5 a { padding-left: 48px; }
.toc-level-h6 a { padding-left: 60px; }

@media (max-width: 1024px) {
  .docs-toc {
    display: none;
  }
  .fluid-fixed {
    flex-direction: column;
  }
  .fluid-fixed .toc-content {
    padding: 0;
  }
}

@media screen and (max-width: 575px) {
  .fluid-fixed {
    padding: 2rem 0;
  }
}

/* ========================================
   Cards – from DigitalCreative (style-1, style-2, steps, primary, medium)
   Abrook primary: #1ca190
   ======================================== */
.center .style-1 .card,
.center .card.style-1,
.center .cards.style-2 .card,
.center .card.style-2 {
  text-align: center;
}
.bg-dark .style-1 .card,
.bg-dark .card.style-1,
.bg-dark .cards.style-2 .card,
.bg-dark .card.style-2 {
  background-color: rgba(255, 255, 255, 0.1);
  color: #eee;
}
.bg-dark .style-1 .card:hover,
.bg-dark .card.style-1:hover,
.bg-dark .cards.style-2 .card:hover,
.bg-dark .card.style-2:hover {
  background-color: rgba(255, 255, 255, 0.2);
}
.style-1 .card,
.card.style-1 {
  text-align: left;
  border-radius: 5px;
}
.style-1 .card .card-footer a,
.card.style-1 .card-footer a {
  margin: 0 0 20px;
  padding: 10px 20px;
  white-space: nowrap;
}
.style-1 .card .card-footer a:hover,
.card.style-1 .card-footer a:hover {
  text-decoration: underline;
}
.style-1 .card .card-footer a.btn,
.card.style-1 .card-footer a.btn {
  white-space: initial;
}
.style-1 .card .card-footer a.btn:hover,
.card.style-1 .card-footer a.btn:hover {
  text-decoration: none;
}
.style-1 .card h3 span,
.card.style-1 h3 span {
  display: block;
  font-size: 1.2rem;
  line-height: 1.6rem;
  color: #777;
}
.pricing .card h3 {
  margin: 0.5rem 0 1rem;
}
.card-b-1 .card,
.card-b-1.card {
  border: 1px solid #ddd;
}
.cards.style-2 .card,
.card.style-2 {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 5px;
  transition: all 0.5s;
  border: none;
  border-top: 5px solid #1ca190;
}
.cards.style-2 .card:hover,
.card.style-2:hover {
  background-color: rgb(255, 255, 255);
}
.cards.style-2 .card .caption,
.card.style-2 .caption {
  background: #f5f3f1;
}
.steps.primary .card:before {
  background-color: #1ca190;
}
.steps.medium .card:before {
  line-height: 60px;
  width: 60px;
  height: 60px;
  font-size: 24px;
  font-weight: 500;
  margin: 30px auto 0;
}
