.guide-hero {
  padding: 48px 0 32px;
}

.guide-layout {
  padding: 48px 0 80px;
}

.guide-hero-content {
  max-width: 720px;
}

.guide-sidebar {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 24px;
  position: sticky;
  top: 110px;
}

.guide-sidebar-section + .guide-sidebar-section {
  margin-top: 24px;
}

.guide-sidebar h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.guide-category-list,
.guide-category-list ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.guide-category {
  margin-bottom: 16px;
  font-weight: 600;
}

.guide-category ul {
  margin-top: 8px;
  padding-left: 12px;
}

.guide-category a {
  color: #0b0c1a;
  text-decoration: none;
  font-weight: 400;
}

.guide-category a.active {
  font-weight: 600;
  color: #ff6b00;
}

.guide-toc {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.guide-toc li {
  margin-bottom: 8px;
}

.guide-toc a {
  text-decoration: none;
  color: #4b5b6a;
}

.guide-search {
  position: relative;
  margin-bottom: 24px;
}

.guide-search-label {
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.guide-search-input {
  width: 100%;
  border: 1px solid #e3e7ee;
  border-radius: 12px;
  padding: 12px 14px;
}

.guide-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e3e7ee;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  max-height: 240px;
  overflow-y: auto;
  display: none;
  z-index: 10;
}

.guide-search-results.active {
  display: block;
}

.guide-search-results button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 12px 14px;
  cursor: pointer;
}

.guide-search-results button.active,
.guide-search-results button:hover {
  background: #f5f7fa;
}

.guide-card {
  border: 1px solid #eef1f5;
  border-radius: 16px;
  padding: 20px;
  background: #fff;
  height: 100%;
}

.guide-card::before {
  content: "";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 16px;
  background-color: #f4ffce;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
}

.guide-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.guide-card a {
  color: inherit;
}

.guide-content h2 {
  margin-top: 32px;
}

.guide-audience {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.guide-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.guide-figure {
  border: 1px solid #eef1f5;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.guide-figure img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #eef1f5;
  background: #f9fafb;
}

.guide-figure figcaption {
  font-size: 14px;
  margin-top: 8px;
  color: #4b5b6a;
}

.guide-note {
  display: block;
  font-size: 12px;
  margin-top: 4px;
  color: #7b8a99;
}

.guide-callout {
  padding: 16px;
  border-radius: 12px;
  background: #fff7e8;
  border: 1px solid #ffe0b3;
}

.guide-next-prev {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.guide-next-prev a {
  font-weight: 600;
  text-decoration: none;
  color: #0b0c1a;
}

.guide-section + .guide-section {
  margin-top: 48px;
}

@media (max-width: 991px) {
  .guide-sidebar {
    position: static;
    margin-bottom: 24px;
  }
}
