/* Tips & Tricks topic / category landing pages */

.page-tipsntricks-topic .tt-topicFeatured {
  padding-top: 0;
}

.tt-guideGrid--featured {
  margin-top: 8px;
}

.tt-guideCard--featured {
  border-color: rgba(0, 204, 253, 0.22);
  background: rgba(0, 204, 253, 0.04);
}

[data-theme="light"] .tt-guideCard--featured {
  border-color: rgba(0, 12, 138, 0.14);
  background: rgba(0, 12, 138, 0.04);
}

.tt-topicGrid--linked {
  display: grid;
  gap: 12px;
}

.tt-topic--link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(0, 64, 255, 0.12);
  background: rgba(0, 64, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

[data-theme="light"] .tt-topic--link {
  border-color: rgba(0, 12, 138, 0.08);
  background: rgba(0, 12, 138, 0.03);
}

.tt-topic--link:hover,
.tt-topic--link:focus-visible {
  border-color: rgba(0, 204, 253, 0.28);
  background: rgba(0, 204, 253, 0.06);
  transform: translateY(-1px);
}

.tt-topic--link .tt-topic__arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.tt-chip[href] {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.tt-chip[href]:hover,
.tt-chip[href]:focus-visible {
  border-color: rgba(0, 204, 253, 0.28);
  background: rgba(0, 204, 253, 0.06);
}

.tt-topic[href] {
  text-decoration: none;
  color: inherit;
}

.tt-topic[href]:hover .tt-topic__title,
.tt-topic[href]:focus-visible .tt-topic__title {
  color: var(--accent, #00ccfd);
}

@media (max-width: 720px) {
  .tt-topic--link {
    grid-template-columns: auto 1fr;
  }

  .tt-topic--link .tt-topic__arrow {
    display: none;
  }
}
