/* Juicy Joes — buying guides (/guides/ and the pages under it), 0.5.53. Loaded after info.css and info-pages.css on
   those pages only (inc/guides.php). Tokens from tokens.css; tables, plaques and links from components.css. */

.guide-page .page-head .guide-updated { margin-top: var(--s3); font-size: var(--fs-xs); color: var(--muted); }

/* the direct answer at the top of each guide */
.guide-answer { margin: 0 0 var(--s6); padding: clamp(18px, 3vw, 28px); border: 1px solid var(--brass-2); border-radius: var(--r-lg);
  background: radial-gradient(90% 120% at 0% 0%, rgba(255, 45, 63, .10), transparent 60%), var(--glass); }
.guide-answer > p { margin: 0 0 var(--s4); color: var(--cream); }
.guide-answer > p:last-child { margin-bottom: 0; }
.guide-answer .label { display: block; margin-bottom: 8px; font: 400 clamp(1.5rem, 2.4vw, 1.9rem)/1 var(--sign); color: var(--core); text-shadow: var(--glow-xs); }
.guide-answer .tablewrap { margin: 0 0 var(--s4); background: rgba(7, 5, 6, .35); }

/* tables inside the guide text */
.guide-prose .tablewrap { margin: 0 0 var(--s5); }
.guide-prose .table td:first-child { color: var(--cream); font-weight: 600; }
.guide-prose .table td.num, .guide-prose .table th.num { white-space: nowrap; }
.guide-prose .table td a { color: var(--cream); text-decoration-color: var(--brass-2); }
.guide-prose .table td a:hover { color: var(--brass); }
.guide-prose .table th small { display: block; margin-top: 4px; font: 500 .68rem/1.35 var(--body); letter-spacing: .03em; text-transform: none; color: var(--muted); }
.guide-table td:nth-child(3) { min-width: 180px; }
.guide-out { margin-left: 4px; padding: 2px 8px; border: 1px solid rgba(255, 90, 90, .45); border-radius: var(--r-pill); font: 600 .68rem/1.3 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--bad); white-space: nowrap; }
.guide-note { margin: -12px 0 var(--s5); font-size: var(--fs-xs); color: var(--muted); }

/* worked examples and the strength sum */
.guide-example { margin: 0 0 var(--s4); padding: 12px 16px; border-left: 2px solid var(--neon); border-radius: 0 var(--r-md) var(--r-md) 0; background: rgba(255, 45, 63, .05); color: var(--cream-2); }
.guide-example b:first-child { display: block; margin-bottom: 4px; font: 600 var(--fs-xs)/1.2 var(--body); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--brass); }
.guide-sum { margin: 0 0 var(--s4); padding: 14px 18px; border: 1px dashed var(--brass-2); border-radius: var(--r-md); font: 700 clamp(1.05rem, 1.6vw, 1.25rem)/1.35 var(--display); letter-spacing: .02em; color: var(--cream); text-align: center; }

/* "Shop the range": a row of chips */
.guide-prose ul.guide-shop { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.guide-prose ul.guide-shop li { margin: 0; }
.guide-prose ul.guide-shop a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 16px; border: 1px solid var(--brass-2); border-radius: var(--r-pill); color: var(--cream); text-decoration: none; font-size: var(--fs-sm); }
.guide-prose ul.guide-shop a:hover { border-color: var(--neon); color: var(--core); }

/* Quick answers: Rank Math's FAQ block, styled like the content pages' answer rows (always open, so nothing hides) */
.guide-prose .rank-math-block { margin: 0 0 var(--s5); }
.guide-prose .rank-math-list-item { border-top: 1px solid var(--line); padding: 14px 0 16px; }
.guide-prose .rank-math-list-item:last-child { border-bottom: 1px solid var(--line); }
.guide-prose .rank-math-question { margin: 0 0 6px; font: 600 var(--fs-md)/1.4 var(--body); letter-spacing: 0; text-transform: none; color: var(--cream); }
.guide-prose .rank-math-answer { color: var(--cream-2); font-size: var(--fs-sm); }
.guide-prose .rank-math-answer p { margin: 0 0 .6em; }
.guide-prose .rank-math-answer p:last-child { margin-bottom: 0; }

/* guide plaques: on /guides/ and under each guide */
.guide-cards { margin-top: var(--s3); }
.guide-card { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; transition: border-color var(--t), transform var(--t); }
.guide-card:hover { border-color: var(--neon); transform: translateY(-2px); }
.guide-card .sign { align-self: flex-start; }
.guide-card b { color: var(--cream); }
.guide-card .link-arrow { margin-top: auto; padding-top: 8px; }
.guide-hub-intro { margin-bottom: var(--s5); }
.guide-more .band-head h2 { font-size: var(--h3); }

/* Phones: tables with 4+ columns (.guide-stack) become one card per row, each cell labelled with its column, so no
   price sits off-screen. The header row stays for screen readers. */
@media (max-width: 600px) {
  .guide-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .guide-stack, .guide-stack tbody, .guide-stack tr, .guide-stack td { display: block; width: 100%; }
  .guide-stack tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .guide-stack tr:last-child { border-bottom: 0; }
  .guide-stack tr:hover td { background: none; }
  .guide-stack td { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 4px 0; border: 0; text-align: left; }
  .guide-stack td::before { content: attr(data-label); flex: none; max-width: 46%; font: 600 .68rem/1.4 var(--body); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--brass); }
  .guide-stack td .v { text-align: right; min-width: 0; }
  .guide-stack td:first-child { padding: 0 0 6px; font-size: 1rem; }
  .guide-stack td:first-child::before, .guide-stack td[data-label=""]::before { content: none; }
  .guide-stack td:first-child .v { text-align: left; }
  .guide-prose .table.guide-stack td.num { white-space: normal; }
  .guide-table td:nth-child(3) { min-width: 0; }
}
