﻿.guide-hero {
  margin: 0 auto;
  max-width: 900px;
  padding: 4.5rem 2rem 2.5rem;
}

.guide-hero h1 {
  color: #f5c400;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: 3px;
  line-height: 1;
  margin: 0 0 1rem;
  max-width: 800px;
}

.guide-back {
  color: #f5c400;
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
  text-decoration: none;
}

.guide-back:hover,
.guide-back:focus-visible {
  color: #fff2a8;
  text-decoration: underline;
}

.guide-intro {
  color: #c7c7c7;
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 720px;
}

.guide-content {
  margin: 0 auto;
  max-width: 760px;
  padding: 1.5rem 2rem 5rem;
}

.guide-content h2 {
  color: #efefef;
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  letter-spacing: 2px;
  line-height: 1.1;
  margin: 3rem 0 1rem;
}

.guide-content p,
.guide-content li {
  color: #aaa;
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.guide-content ul {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.35rem;
}

.guide-image {
  background: #111;
  border: 1px solid #2d3839;
  margin: 2rem 0;
}

.guide-image-button {
  background: #111;
  border: 0;
  cursor: zoom-in;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.guide-image-button img {
  display: block;
  height: auto;
  transition: transform 0.25s;
  width: 100%;
}

.guide-image-button:hover img,
.guide-image-button:focus-visible img {
  transform: scale(1.015);
}

.guide-image-button:focus-visible {
  outline: 2px solid #00c7d1;
  outline-offset: -2px;
}

.guide-image-button span {
  background: rgba(0, 0, 0, 0.8);
  bottom: 0;
  color: #00c7d1;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  padding: 0.6rem 0.75rem;
  position: absolute;
  right: 0;
  text-transform: uppercase;
}

.guide-image figcaption {
  color: #a7b5b6;
  font-size: 0.84rem;
  line-height: 1.55;
  padding: 0.85rem 1rem;
}

.guide-image-dialog {
  background: #111;
  border: 1px solid #3b4749;
  inset: 0;
  margin: auto;
  max-height: 100vh;
  max-width: 100vw;
  padding: 0;
  position: fixed;
  width: fit-content;
}

.guide-image-dialog::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.guide-image-dialog img {
  display: block;
  height: auto;
  max-height: 100vh;
  max-width: 100vw;
}

.guide-image-dialog-close {
  align-items: center;
  background: #111;
  border: 1px solid #00c7d1;
  color: #00c7d1;
  cursor: pointer;
  display: flex;
  font-size: 1.8rem;
  height: 2.5rem;
  justify-content: center;
  line-height: 1;
  position: fixed;
  right: 1.5rem;
  top: 1.5rem;
  width: 2.5rem;
  z-index: 1;
}

.guide-image-dialog-close:hover,
.guide-image-dialog-close:focus-visible {
  background: #00c7d1;
  color: #111;
  outline: none;
}

.guide-cta {
  background: linear-gradient(135deg, #1e1e1e, #181818);
  border: 1px solid #2a2a2a;
  margin-top: 3.5rem;
  padding: 2rem;
}

.guide-cta h2 {
  margin-top: 0.45rem;
}

@media (max-width: 600px) {
  .guide-hero {
    padding-top: 3rem;
  }
  .guide-hero h1 {
    letter-spacing: 2px;
  }
}