/* Guide hub (guides.php): hero with a "where to start" path, featured
   installation banner, guide cards. Shared components live in site.css. */

/* ---------- Hero ---------- */
.guides-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(28px, 4.5vw, 64px); align-items: end;
}
@media (max-width: 960px) { .guides-hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; } }

.guides-path {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .6rem; box-shadow: var(--shadow);
}
.guides-path__title {
  display: flex; align-items: center; gap: .45rem; margin: .5rem .7rem .6rem;
  font-family: var(--font-display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 700; color: var(--accent-ink);
}
.guides-path__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.guides-path__link {
  display: grid; grid-template-columns: 36px minmax(0, 1fr) 18px; gap: .85rem; align-items: center;
  padding: .75rem .7rem; border-radius: var(--radius-sm);
  color: inherit; text-decoration: none; transition: background var(--t);
}
.guides-path__link:hover { background: var(--surface-3); color: inherit; }
.guides-path__n {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); font-family: var(--font-display); font-weight: 700;
}
.guides-path__text { display: grid; gap: .1rem; min-width: 0; }
.guides-path__text strong { color: var(--ink); font-size: .98rem; }
.guides-path__text span { color: var(--ink-3); font-size: .86rem; line-height: 1.45; }
.guides-path__arrow { width: 18px; height: 18px; color: var(--ink-3); transition: transform var(--t), color var(--t); }
.guides-path__link:hover .guides-path__arrow { transform: translateX(3px); color: var(--accent-ink); }

/* ---------- Featured installation banner (dark in both themes) ---------- */
.guides-feature {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch;
  background:
    radial-gradient(700px 360px at 0% 100%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 65%),
    var(--steel-bg);
  border: 1px solid var(--steel-line); color: var(--steel-ink);
  box-shadow: var(--shadow);
}
.guides-feature__body { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.guides-feature .eyebrow { color: var(--accent-2); }
.guides-feature h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-bottom: .45em; }
.guides-feature h2 a { color: var(--steel-ink); text-decoration: none; }
.guides-feature h2 a:hover { color: var(--accent-2); }
.guides-feature__text { color: var(--steel-ink-2); font-size: 1.04rem; line-height: 1.65; margin-bottom: 1.3rem; max-width: 46ch; }
.guides-feature__facts { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.guides-feature__facts li {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .75rem; border-radius: var(--radius-sm);
  background: var(--steel-2); border: 1px solid var(--steel-line); font-size: .86rem; color: var(--steel-ink-2);
}
.guides-feature__facts strong { color: var(--steel-ink); font-weight: 650; }
.guides-feature__facts .icon { width: 16px; height: 16px; color: var(--accent-2); }
.guides-feature .btn--secondary { background: transparent; color: var(--steel-ink); border-color: var(--steel-line); box-shadow: none; }
.guides-feature .btn--secondary:hover { border-color: var(--steel-ink-2); color: var(--steel-ink); }

.guides-feature__media {
  position: relative; margin: 0; display: grid; place-items: center;
  padding: clamp(36px, 4vw, 48px) clamp(14px, 2.4vw, 28px) clamp(14px, 2.4vw, 28px);
  border-left: 1px solid var(--steel-line);
  background:
    linear-gradient(color-mix(in srgb, var(--steel-ink) 4%, transparent) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, color-mix(in srgb, var(--steel-ink) 4%, transparent) 1px, transparent 1px) 0 0 / 24px 24px;
}
.guides-feature__media img, .guides-feature__media svg { width: 100%; height: auto; }
@media (max-width: 900px) {
  .guides-feature { grid-template-columns: minmax(0, 1fr); }
  .guides-feature__media { order: -1; border-left: 0; border-bottom: 1px solid var(--steel-line); }
  .guides-feature__media .blueprint__label { position: absolute; display: inline; }
}
@media (max-width: 480px) {
  .guides-feature .cluster .btn { width: 100%; }
}

/* ---------- Guide cards ---------- */
.guides-list { padding-top: clamp(40px, 5vw, 72px); }
.guides-list .section-head { margin-bottom: clamp(24px, 3.4vw, 40px); }
.guide-card { gap: .45rem; }
.guide-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .55rem; }
.guide-card__time { display: inline-flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 550; color: var(--ink-3); }
.guide-card__eyebrow { font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--accent-ink); }
.guide-card .card__title { font-size: 1.14rem; }
.guide-card .card__text { flex: 1; }
