/* Page-owned styles for guides page */
.guides-hero__content {
  max-width: 720px;
  margin-inline: auto;
  text-align: left;
}

.guides-hero__kicker {
  color: var(--color-amethyst-violet);
  margin-block-end: var(--space-sm);
}

.guides-hero__lead {
  font-size: var(--text-body-large-size);
  line-height: var(--text-body-large-line-height);
  max-width: 68ch;
  margin-block-end: var(--space-md);
}

.guides-hero__note {
  max-width: 68ch;
  color: var(--color-deep-plum);
  opacity: 0.85;
  margin-block-end: var(--space-lg);
}

.guides-hero__divider {
  margin-inline: 0;
  margin-block-end: 0;
}

.guides-featured__card {
  max-width: 800px;
  margin-inline: auto;
  border-color: rgba(123, 63, 160, 0.35);
  transition: box-shadow var(--transition-color), border-color var(--transition-color);
}

.guides-featured__card:hover {
  box-shadow: 0 8px 28px rgba(46, 26, 58, 0.12);
  border-color: var(--color-amethyst-violet);
}

.guides-featured__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-md);
}

.guides-featured__badge {
  color: var(--color-amethyst-violet);
  background-color: var(--color-amethyst-light);
  padding: var(--space-2xs) var(--space-sm);
  border-radius: var(--radius-pill);
}

.guides-featured__description {
  max-width: 68ch;
  margin-block-end: 0;
}

.guides-featured__list {
  margin-block-end: 0;
}

.guides-featured__button {
  margin-block-start: var(--space-xs);
}

.guides-grid-section__header {
  max-width: 720px;
  margin-block-end: var(--space-xl);
}

.guides-grid-section__kicker {
  color: var(--color-amethyst-violet);
  margin-block-end: var(--space-sm);
}

.guides-grid-section__intro {
  max-width: 68ch;
  margin-block-end: 0;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.guides-grid__card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: box-shadow var(--transition-color), border-color var(--transition-color);
}

.guides-grid__card:hover {
  box-shadow: 0 8px 28px rgba(46, 26, 58, 0.12);
  border-color: rgba(123, 63, 160, 0.4);
}

.guides-grid__card h3 {
  margin-block-end: 0;
}

.guides-grid__card p {
  margin-block-end: 0;
}

.guides-tips {
  background-color: var(--color-amethyst-light);
}

.guides-tips__layout {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: var(--space-2xl);
  align-items: start;
}

.guides-tips__intro {
  min-width: 0;
}

.guides-tips__kicker {
  color: var(--color-amethyst-violet);
  margin-block-end: var(--space-sm);
}

.guides-tips__intro p:last-child {
  margin-block-end: 0;
}

.guides-tips__list {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.guides-tips__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  min-width: 0;
}

.guides-tips__gem {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-block-start: 4px;
  background: linear-gradient(135deg, var(--color-amethyst-violet) 0%, var(--color-emerald-green) 50%, var(--color-sapphire-blue) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.guides-tips__item h3 {
  margin-block-end: var(--space-xs);
}

.guides-tips__item p {
  margin-block-end: 0;
}

.guides-faq__content {
  max-width: 720px;
  margin-inline: auto;
}

.guides-faq__kicker {
  color: var(--color-amethyst-violet);
  margin-block-end: var(--space-sm);
}

.guides-faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.guides-faq__item {
  padding: 0;
  overflow: hidden;
}

.guides-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: 100%;
  min-height: 52px;
  padding: var(--space-md) var(--space-lg);
  font-weight: 500;
  color: var(--color-deep-plum);
  text-align: left;
  transition: background-color var(--transition-color);
}

.guides-faq__question:hover {
  background-color: var(--color-soft-gold-light);
}

.guides-faq__icon {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, var(--color-soft-gold) 0%, var(--color-soft-gold) 50%, var(--color-soft-gold-light) 50%, var(--color-soft-gold-light) 100%);
  clip-path: polygon(0 50%, 25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%);
  transition: transform var(--transition-reveal);
}

.guides-faq__question[aria-expanded="true"] .guides-faq__icon {
  transform: rotate(180deg);
}

.guides-faq__answer {
  padding-inline: var(--space-lg);
  padding-block-end: var(--space-lg);
}

.guides-faq__answer p {
  margin-block-end: 0;
}

.guides-cta__content {
  max-width: 600px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.guides-cta__text {
  margin-block-end: 0;
}

.guides-cta__button {
  width: auto;
  min-width: 280px;
}

.guides-cta__external-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M11 8v4H3V4h4V2H3a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V8h-2zM8 0v2h2.6L5.3 7.3l1.4 1.4L12 3.4V6h2V0H8z' fill='white'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

@media (max-width: 1023px) {
  .guides-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guides-tips__layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 767px) {
  .guides-hero__lead,
  .guides-hero__note,
  .guides-featured__description,
  .guides-grid-section__intro {
    max-width: none;
  }

  .guides-hero__divider {
    max-width: 60px;
    height: 6px;
    clip-path: polygon(0 50%, 25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%);
  }

  .guides-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .guides-tips__item {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .guides-tips__gem {
    margin-block-start: 0;
  }

  .guides-cta__button {
    width: 100%;
    min-width: 0;
  }
}
