/* /installation-guides (round 10, 2026-10-22). Loaded only by page-installation-guides.php. */

/* Hero: copy and device finder stretch to the same height, no blank block under either. */
.p10-guides .p10-hero-inner { align-items: stretch; }
.p10-guides .p10g-copy { display: flex; flex-direction: column; justify-content: center; }
.p10-guides .p10-hero h1 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.7rem); max-width: 15em; }
.p10-guides .p10-crumbs { flex-wrap: wrap; }
.p10-guides .p10-crumbs + .eyebrow { margin-top: 1rem; }
.p10g-finder { display: flex; flex-direction: column; justify-content: space-between; gap: 1.1rem; padding: clamp(1.35rem, 2.2vw, 2rem); border: 1px solid var(--b-line-strong); border-radius: calc(var(--b-radius) * 1.1); background: linear-gradient(180deg, rgba(20, 20, 24, 0.86), rgba(10, 10, 15, 0.92)); box-shadow: var(--b-shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.p10g-finder-kicker { margin: 0; display: flex; align-items: center; gap: 0.55rem; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--b-crimson-bright); }
.p10g-finder-kicker svg { width: 1.1rem; height: 1.1rem; }
.p10g-finder-grid { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
.p10g-finder-grid a { height: 100%; display: flex; align-items: center; gap: 0.7rem; padding: 0.8rem 0.85rem; border: 1px solid var(--b-line); border-radius: 1rem; background: rgba(255, 255, 255, 0.03); color: #fff; font-weight: 650; font-size: 0.92rem; line-height: 1.3; text-decoration: none; transition: border-color 0.2s ease, background 0.2s ease; }
.p10g-finder-grid a:hover { border-color: rgba(248, 113, 113, 0.5); background: rgba(220, 38, 38, 0.08); }
.p10g-finder-icon { flex: none; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 0.7rem; background: var(--b-grad-crimson); color: #fff; }
.p10g-finder-icon svg { width: 1.2rem; height: 1.2rem; }
.p10g-finder-all { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.9rem 1.1rem; border-radius: 1rem; border: 1px solid rgba(248, 113, 113, 0.35); background: radial-gradient(120% 140% at 100% 0%, rgba(220, 38, 38, 0.22), transparent 60%); color: #fff; font-weight: 700; text-decoration: none; }
.p10g-finder-all svg { flex: none; width: 1.1rem; height: 1.1rem; color: var(--b-crimson-bright); }
.p10g-finder-note { margin: 0; padding-top: 1rem; border-top: 1px solid var(--b-line); display: flex; gap: 0.55rem; align-items: flex-start; color: var(--b-soft); font-size: 0.88rem; line-height: 1.5; }
.p10g-finder-note svg { flex: none; width: 1.05rem; height: 1.05rem; margin-top: 0.15rem; color: var(--b-crimson-bright); }

.p10-guides .p10-fill > .p10-card { height: 100%; }
.p10-guides .p10-card a { color: #fff; text-decoration: underline; text-decoration-color: rgba(248, 113, 113, 0.6); text-underline-offset: 3px; }

/* Quick setup accordion (shared markup from inc/install-quick.php): tinted band, and its jump
   chips spread across the full width instead of trailing off. */
.p10g-quick { background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)); border-block: 1px solid var(--b-line); }
.p10g-quick .iq8 { padding-block: clamp(3rem, 6vw, 5.5rem); }
.p10g-quick .page5-h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.9rem); line-height: 1.08; letter-spacing: -0.035em; }
.p10g-quick .guide5-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.p10g-quick .guide5-chips a { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 2.75rem; text-align: center; font-weight: 600; }

/* Jump chips above the guide grid. */
.p10g-jump { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }

/* Guide cards: 15 cards, 3 columns from 1024px (5 full rows), 2 columns from 640px with the
   last card spanning the row as a wide horizontal card, 1 column on phones. */
.p10g-card { height: 100%; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--b-radius); border: 1px solid var(--b-line); background: var(--b-grad-panel); color: #fff; text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease; }
.p10g-card:hover { border-color: rgba(248, 113, 113, 0.45); transform: translateY(-3px); }
.p10g-cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #18181d; }
.p10g-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.p10g-card:hover .p10g-cover img { transform: scale(1.05); }
.p10g-body { flex: 1; display: flex; flex-direction: column; gap: 0.45rem; padding: 1.15rem 1.25rem 1.25rem; }
.p10g-body strong { font-size: 1.12rem; letter-spacing: -0.02em; }
.p10g-body > span { color: var(--b-soft); line-height: 1.55; font-size: 0.95rem; }
.p10g-body small { margin-top: auto; padding-top: 0.6rem; display: flex; justify-content: space-between; align-items: center; color: var(--b-muted); font-size: 0.85rem; }
.p10g-body small em { display: inline-flex; align-items: center; gap: 0.3rem; font-style: normal; font-weight: 700; color: var(--b-crimson-bright); }
.p10g-body small svg { width: 0.95rem; height: 0.95rem; }
@media (min-width: 640px) and (max-width: 1023px) {
  .p10g-grid > .p10g-card:nth-child(2n+1):last-child { flex-direction: row; }
  .p10g-grid > .p10g-card:nth-child(2n+1):last-child .p10g-cover { flex: 0 0 50%; aspect-ratio: auto; min-height: 100%; }
}

/* Login formats table. */
.p10g-table td { color: var(--b-soft); }
.p10-guides .p10-sub a { color: #fff; text-decoration: underline; text-decoration-color: rgba(248, 113, 113, 0.6); text-underline-offset: 3px; }

/* Troubleshooting cards. */
.p10g-fix { display: flex; flex-direction: column; text-decoration: none; transition: border-color 0.2s ease, transform 0.2s ease; }
.p10g-fix:hover { border-color: rgba(248, 113, 113, 0.45); transform: translateY(-3px); }
.p10g-fix-go { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: 0.35rem; color: var(--b-crimson-bright); font-weight: 700; font-size: 0.9rem; }
.p10g-fix-go svg { width: 0.95rem; height: 0.95rem; }

.p10-guides .p10-cta h2 { font-weight: 760; }
@media (max-width: 479px) {
  .p10-guides .p10-actions > a { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 639px) {
  .p10g-table { min-width: 0; font-size: 0.88rem; }
  .p10g-table th, .p10g-table td { padding: 0.8rem 0.6rem; }
  .p10g-table tbody th { white-space: normal; }
}
