/* Proxy Grove — Guides hub */
.pg-guides-page {
  overflow-x: clip;
}

.pg-guides-page .pg-rp-hero__title {
  max-width: 20ch;
}

.pg-guides-page .pg-rp-hero__desc {
  max-width: 42rem;
}

.pg-guides-toolbar {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 800px) {
  .pg-guides-toolbar {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.pg-guides-search {
  width: 100%;
  height: 3rem;
  padding: 0 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid rgb(19 0 154 / 0.14);
  background: #fff;
  font: inherit;
  font-size: 0.98rem;
  box-shadow: var(--shadow-glass, 0 8px 30px rgb(19 0 154 / 0.04));
}

.pg-guides-search:focus {
  outline: none;
  border-color: rgb(19 127 21 / 0.55);
  box-shadow: 0 0 0 4px rgb(19 127 21 / 0.14);
}

.pg-guides-sort {
  height: 3rem;
  padding: 0 0.9rem;
  border-radius: 0.9rem;
  border: 1px solid rgb(19 0 154 / 0.14);
  background: #fff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-heading);
  min-width: 11rem;
}

.pg-guides-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.pg-guides-tab {
  appearance: none;
  border: 1px solid rgb(19 0 154 / 0.12);
  background: #fff;
  color: var(--color-text-heading);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  cursor: pointer;
}

.pg-guides-tab:hover {
  border-color: rgb(19 0 154 / 0.28);
}

.pg-guides-tab.is-active {
  background: rgb(19 0 154 / 0.08);
  border-color: rgb(19 0 154 / 0.28);
  color: #13009a;
}

.pg-guides-tab:focus-visible,
.pg-guides-search:focus-visible,
.pg-guides-sort:focus-visible {
  outline: 2px solid #137f15;
  outline-offset: 2px;
}

.pg-guides-status {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text-body) 70%, transparent);
}

.pg-guides-featured {
  padding: 1.6rem 1.4rem;
  border-radius: 1.25rem;
  margin-bottom: 2rem;
  background:
    linear-gradient(145deg, rgb(19 0 154 / 0.06), rgb(19 127 21 / 0.05)),
    #fff;
}

.pg-guides-featured__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #137f15;
}

.pg-guides-featured__cat {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #13009a;
}

.pg-guides-featured__title {
  margin: 0.4rem 0 0;
  max-width: 22ch;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-text-heading);
}

.pg-guides-featured__title a {
  color: inherit;
  text-decoration: none;
}

.pg-guides-featured__title a:hover {
  color: #137f15;
}

.pg-guides-featured__desc {
  margin: 0.75rem 0 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.6;
  color: color-mix(in srgb, var(--color-text-body) 85%, transparent);
}

.pg-guides-featured__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 0.9rem 0 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text-body) 68%, transparent);
}

.pg-guides-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .pg-guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .pg-guides-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pg-guides-card {
  display: flex;
  flex-direction: column;
  padding: 1.3rem 1.2rem 1.35rem;
  border-radius: 1.15rem;
  height: 100%;
  transition: transform 0.25s ease;
}

.pg-guides-card:hover {
  transform: translateY(-3px);
}

.pg-guides-card__cat {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #13009a;
}

.pg-guides-card__title {
  margin: 0.45rem 0 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--color-text-heading);
}

.pg-guides-card__title a {
  color: inherit;
  text-decoration: none;
}

.pg-guides-card__title a:hover {
  color: #137f15;
}

.pg-guides-card__desc {
  margin: 0.55rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--color-text-body) 78%, transparent);
  flex: 1;
}

.pg-guides-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
  margin: 0.9rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text-body) 65%, transparent);
}

.pg-guides-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #137f15;
  text-decoration: none;
}

.pg-guides-card__cta svg {
  width: 1rem;
  height: 1rem;
}

.pg-guides-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin: 1.5rem 0 0;
}

.pg-guides-links a {
  color: #137f15;
  font-weight: 600;
  text-decoration: none;
}

.pg-guides-links a:hover {
  text-decoration: underline;
}

.pg-guides-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgb(19 0 154 / 0.04);
}

.pg-guides-reset {
  appearance: none;
  border: 0;
  background: none;
  color: #137f15;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

/* Guide detail */
.pg-guide-page {
  overflow-x: clip;
}

.pg-guide-hero {
  padding: 0.5rem 0 1.5rem;
  border-bottom: 1px solid rgb(19 0 154 / 0.08);
  margin-bottom: 1.5rem;
}

.pg-guide-hero__cat {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #137f15;
}

.pg-guide-hero__title {
  margin: 0.55rem 0 0;
  max-width: 22ch;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-text-heading);
}

.pg-guide-hero__excerpt {
  margin: 0.85rem 0 0;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text-body);
}

.pg-guide-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--color-text-body) 68%, transparent);
}

.pg-guide-intro {
  margin: 0 0 1rem;
  max-width: 44rem;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--color-text-body);
}

.pg-guide-section {
  margin-top: 2rem;
  max-width: 44rem;
}

.pg-guide-section h2 {
  margin: 0 0 0.75rem;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-heading);
}

.pg-guide-section p {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text-body);
}

.pg-guide-section ul {
  margin: 0.35rem 0 1rem;
  padding-left: 1.2rem;
}

.pg-guide-section li {
  margin: 0.35rem 0;
  line-height: 1.55;
  color: var(--color-text-body);
}

.pg-guide-products {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .pg-guide-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
}

.pg-guide-prod {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.05rem;
  border-radius: 1rem;
  text-decoration: none;
  border: 1px solid rgb(19 0 154 / 0.1);
  background: #fff;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.pg-guide-prod:hover {
  border-color: rgb(19 0 154 / 0.28);
  transform: translateY(-1px);
}

.pg-guide-prod__name {
  font-weight: 700;
  color: var(--color-text-heading);
}

.pg-guide-prod__tag {
  font-size: 0.875rem;
  color: var(--color-text-body);
}

.pg-guide-links {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.pg-guide-links a {
  color: #137f15;
  font-weight: 600;
  text-decoration: none;
}

.pg-guide-links a:hover {
  text-decoration: underline;
}

.pg-guide-related-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
}

.pg-guide-related {
  display: block;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  border: 1px solid rgb(19 0 154 / 0.1);
  text-decoration: none;
  background: #fff;
}

.pg-guide-related:hover {
  border-color: rgb(19 0 154 / 0.28);
}

.pg-guide-related__cat {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #13009a;
  margin-bottom: 0.35rem;
}

.pg-guide-related__title {
  display: block;
  font-weight: 700;
  color: var(--color-text-heading);
  line-height: 1.35;
}

.pg-guide-cta {
  margin: 2.5rem 0 3rem;
  padding: 1.5rem 1.35rem;
  border-radius: 1.25rem;
  max-width: 44rem;
  background:
    linear-gradient(135deg, rgb(19 0 154 / 0.08), rgb(19 127 21 / 0.06)),
    #fff;
  border: 1px solid rgb(19 0 154 / 0.1);
}

.pg-guide-cta__title {
  margin: 0;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-heading);
}

.pg-guide-cta__desc {
  margin: 0.45rem 0 1rem;
  color: var(--color-text-body);
}

.pg-guide-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pg-guide-empty {
  padding: 2rem 0 4rem;
}

@media (prefers-reduced-motion: reduce) {
  .pg-guides-card {
    transition: none;
  }
}
