/* WPCrafter responsive fixes (0.7.3). Loads last on every page, after every other theme stylesheet, so these
   corrections win without !important wars. Each rule names the problem it fixes; measurements are from the
   2026-11-26 phone/tablet audit (390, 360, 768). */

/* Big headings: no lone last word (e.g. "The WPCrafter / newsletter."). */
h1,h2,h3,.display{text-wrap:balance}

/* Review quick-verdict box, tablet and up: the price line sits centred under its button (the button fills
   the column, so both share one centre). Phones keep the left-aligned stack from 0.7.2. */
@media (min-width:601px){.qa .btn{display:flex;width:100%}}

/* Review "The verdict" box: its button was ink on ink (the article-button rule won), so it was invisible. */
.prose .verdict a.btn,.verdict a.btn{background:var(--lime)!important;color:var(--ink)!important}
.prose .verdict a.btn:hover,.verdict a.btn:hover{color:var(--ink)!important;box-shadow:4px 4px 0 var(--paper)!important}

/* In-article comparison table and pick card: keep their own compact buttons (the article-button rule made
   "See review" 52px tall, 16px and wrapping onto two lines). */
.prose .wpc-ctable a.btn{min-height:38px;height:38px!important;padding:0 14px!important;font-size:13.5px!important;white-space:nowrap}

/* Home + Start "How can I help you?": the numbered circles sat on the card above them on tablet and phone. */
@media (max-width:1060px){.journey{row-gap:96px}}
@media (max-width:600px){.journey{gap:96px}}

/* Comparison score rows: the five squares could not shrink, so 601–811px wide pages scrolled sideways. */
@media (max-width:1060px) and (min-width:601px){
  .c-row{grid-template-columns:48px minmax(0,1fr) minmax(0,120px) minmax(0,1fr) 48px;gap:12px}
  .c-mm{gap:4px;min-width:0}
  .c-mm i{flex:1 1 0;width:auto;height:auto;max-width:34px;aspect-ratio:1}
}

/* Comparison quick picks on phones: button and "Read my review" stack the same way in both cards. */
@media (max-width:600px){.c-qrow{flex-direction:column;align-items:flex-start;gap:var(--s-3)}}

/* Halloween look-back brand cards on phones: the "See my review" button covered the logo and text. */
@media (max-width:700px){.tk.brand .tk-body{grid-template-columns:1fr}.tk.brand .tk-btn{grid-row:auto}}

/* Pages still built from the old page builder layout (Recommended, WordPress deals, How I review): drop the
   inline 48px side padding on phones so the content uses the full column (stopgap until they are rebuilt). */
@media (max-width:700px){.prose .wpc-hero,.prose .wpc-section{padding-left:0!important;padding-right:0!important}}
.prose .wpc-pick .ghost{border-bottom:0}

/* Article tables: no words split mid-word ("Provi/der"); the table scrolls sideways instead. */
.prose .wp-block-table[class] :is(th,td){word-break:normal;overflow-wrap:normal}
.prose .wp-block-table{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* Stats strips (home, About): numbers line up even when a label wraps to two lines. */
.st{align-items:start}

/* Bylines on phones: no dangling "·" at the end of a line. */
@media (max-width:600px){.by .sep{display:none}.by{column-gap:14px;row-gap:6px}}

/* Search results on phones: one shared left edge for pages, guides and reviews. */
@media (max-width:600px){.sx-page a{padding-inline:0}.sx-list .r-row:not(.r-row--cx) a{grid-template-columns:112px minmax(0,1fr)}}

/* Review pros/cons boxes: equal space above the heading and below the last item. */
.pcol li:last-child{padding-bottom:0}

/* About "Where you may have seen me" on phones: thumbnails on the column edge, rows top-aligned. */
@media (max-width:600px){.seen li a{padding-inline:0;align-items:start}}

/* "All guides →" and similar section links: the arrow never wraps onto its own line. */
.shead .more{white-space:nowrap}

/* Comparison-table rows on phones: label left, value right, pill beside the value (the value floated mid-row). */
@media (max-width:700px){.wpc-ctable td[data-label]:not(:first-child):not(:last-child){justify-content:flex-start}.wpc-ctable td[data-label]:not(:first-child):not(:last-child)::before{margin-right:auto}}

/* Top-pick tab on phones: lines up with the card's logo and text edge. */
@media (max-width:600px){.wpc-pick.is-top .pt .badge{left:18px}}
