.guide-page {
  display: grid;
  gap: 1rem;
}

.guide-page .hero {
  padding: 1rem;
  text-align: center;
}

.guide-page .hero-content {
  justify-items: center;
}

.guide-page .hero h1 {
  margin: 0;
}

.guide-gallery {
  display: grid;
  gap: 1.1rem;
}

.guide-visual-card {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel-bg);
  box-shadow: var(--panel-shadow);
}

.guide-visual-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 17px;
  background: #fbfaf4;
  object-fit: contain;
}

.guide-actions {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.guide-download,
.guide-share {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  justify-self: center;
  padding: 0.3rem 0.65rem;
  border: 1px solid rgba(0, 105, 62, 0.28);
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.guide-share {
  border-color: rgba(0, 105, 62, 0.42);
  background: var(--brand-strong);
  color: #fff;
}

.guide-download:hover,
.guide-share:hover {
  background: #cfe5d4;
  color: var(--brand-strong);
  box-shadow: 0 5px 12px rgba(0, 105, 62, 0.12);
  transform: translateY(-1px);
}

.guide-download:focus-visible,
.guide-share:focus-visible {
  outline: 3px solid rgba(232, 170, 53, 0.7);
  outline-offset: 3px;
}

.guide-download:active,
.guide-share:active {
  transform: translateY(0);
}

@media (min-width: 760px) {
  .guide-page {
    max-width: 1120px;
    padding-inline: 1.25rem;
  }

  .guide-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }

  .guide-visual-card:last-child {
    grid-column: 1 / -1;
    width: min(100%, 526px);
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .guide-download,
  .guide-share {
    transition: none;
  }
}
