/* Machine hammer pages (templates-jma/hammers-machine.php): additions to hammers-category.css. */
.jma-hmx .jma-hmx__price{font-size:20px;font-weight:700;color:var(--hx-ink,#1a1a1a);line-height:1.2}
.jma-hmx .jma-hmx__price del{font-size:14px;font-weight:400;color:var(--hx-muted,#6b6b6b);margin-right:6px}
.jma-hmx .jma-hmx__price ins{text-decoration:none}

/* ---- v2 2026-10-01: one design for the 5 hammer pages ---- */
/* hero: text + buttons left, finder right */
.jma-hmx__hero-inner{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:34px;align-items:center}
.jma-hmx__hero-text{min-width:0}
.jma-hmx .jma-hx__sub{max-width:62ch}
@media (max-width:999px){.jma-hmx__hero-inner{grid-template-columns:1fr;gap:22px}}

/* grid 3 / 2 / 1, equal-height cards, price and button pinned to the bottom */
.jma-hmx .jma-hmx__grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
@media (max-width:999px){.jma-hmx .jma-hmx__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:599px){.jma-hmx .jma-hmx__grid{grid-template-columns:1fr;gap:14px}}
.jma-hmx .jma-hx__card-media{aspect-ratio:4/3;padding:8px}
.jma-hmx .jma-hx__card-title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.jma-hmx__card-foot{margin-top:auto;display:flex;flex-direction:column;gap:8px}
.jma-hmx .jma-hx__card-cta{margin:0}

/* groups (all-hammers page) */
.jma-hmx__group+.jma-hmx__group{margin-top:34px}
.jma-hmx__group[hidden]{display:none}
.jma-hmx__group-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:8px 18px}
.jma-hmx__group-link{font-weight:700;color:var(--hx-green);text-decoration:none;white-space:nowrap;padding-top:6px}
.jma-hmx__group-link:hover{text-decoration:underline}

/* JMA promo tiles that fill the last row */
.jma-hmx__promo{display:flex;flex-direction:column;justify-content:center;gap:10px;border-radius:10px;padding:22px;
  background:var(--hx-bg);border:1px solid var(--hx-line);min-height:220px}
.jma-hmx__promo[hidden]{display:none}
.jma-hmx__promo-k{margin:0;font-size:20px;font-weight:800;color:var(--hx-ink);line-height:1.2}
.jma-hmx__promo-k::after{content:"";display:block;width:40px;height:4px;border-radius:2px;background:var(--hx-green);margin-top:10px}
.jma-hmx__promo-t{margin:0;color:var(--hx-muted);font-size:15px;line-height:1.5}
.jma-hmx__promo-btn{align-self:flex-start;display:inline-flex;align-items:center;min-height:44px;padding:10px 18px;border-radius:6px;
  background:var(--hx-green);color:#fff;font:inherit;font-weight:700;border:0;cursor:pointer;text-decoration:none}
.jma-hmx__promo-btn:hover{background:var(--hx-green-dk);color:#fff}
.jma-hmx__promo--talk{background:var(--hx-ink);border-color:var(--hx-ink)}
.jma-hmx__promo--talk .jma-hmx__promo-k{color:#fff}
.jma-hmx__promo--talk .jma-hmx__promo-t{color:#cfd6db}
.jma-hmx__promo--miami{background:#fff8d6;border-color:#f0dc8a}

/* collapsible carrier guide + FAQ */
.jma-hmx__fold{padding:0 0 24px}
.jma-hmx__details{border:1px solid var(--hx-line);border-radius:10px;background:#fff}
.jma-hmx__summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:14px;padding:18px 20px;min-height:44px}
.jma-hmx__summary::-webkit-details-marker{display:none}
.jma-hmx__summary .jma-hx__h2{margin:0}
.jma-hmx__summary .jma-hx__h2::after{display:none}
.jma-hmx__summary::after{content:"+";margin-left:auto;font-size:28px;line-height:1;color:var(--hx-green);font-weight:700}
.jma-hmx__details[open]>.jma-hmx__summary::after{content:"\2212"}
.jma-hmx__count{color:var(--hx-muted);font-size:14px;font-weight:600;white-space:nowrap}
.jma-hmx__details>.jma-hx__chart-note,.jma-hmx__details>.jma-hx__table-wrap,.jma-hmx__details>.jma-hx__faq-list{margin:0 20px 20px}
.jma-hmx__details>.jma-hx__table-wrap{margin-top:0}

/* 3 steps + why JMA side by side */
.jma-hmx__duo{padding:32px 0 10px}
.jma-hmx__duo-inner{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:40px;align-items:start}
.jma-hmx__duo .jma-hx__steps,.jma-hmx__duo .jma-hx__why{padding:0}
.jma-hmx__duo .jma-hx__steps-list{grid-template-columns:1fr}
@media (max-width:999px){.jma-hmx__duo-inner{grid-template-columns:1fr;gap:28px}}
@media (max-width:599px){.jma-hmx__summary{padding:15px 16px}.jma-hmx__details>.jma-hx__chart-note,.jma-hmx__details>.jma-hx__table-wrap,.jma-hmx__details>.jma-hx__faq-list{margin:0 12px 14px}}

/* finder result: non-matching cards hidden by hammers-machine.js; badge on the matching ones */
.jma-hmx .jma-fdr__badge{margin:0;align-self:flex-start}

/* ---- 2026-10-02: main machine hammer pages + open FAQ ---- */
/* type buttons (All / Hydraulic breakers / Post drivers): segmented, ahead of the weight chips */
.jma-hmx__types{display:inline-flex;border:1px solid var(--hx-green,#0d5a28);border-radius:8px;overflow:hidden}
.jma-hmx__type{appearance:none;border:0;border-left:1px solid var(--hx-green,#0d5a28);background:#fff;color:var(--hx-green,#0d5a28);
  padding:9px 16px;min-height:44px;font-size:14px;font-weight:700;cursor:pointer;white-space:nowrap}
.jma-hmx__type:first-child{border-left:0}
.jma-hmx__type.is-active{background:var(--hx-green,#0d5a28);color:#fff}
.jma-hmx__type:focus-visible{outline:2px solid #f2b705;outline-offset:-2px}
@media (max-width:599px){
  .jma-hmx__types{display:flex;width:100%}
  .jma-hmx__type{flex:1 1 auto;padding:11px 10px;min-height:44px;font-size:13px}
}
/* sub pages: link back to the machine's main hammer page */
.jma-hmx__parent{margin:12px 0 0;font-weight:700}
.jma-hmx__parent a{color:var(--hx-green,#0d5a28);text-decoration:underline;text-underline-offset:3px}
/* FAQ open: numbered by CSS so the h3 text is exactly the schema question */
.jma-hmx__faq-list{list-style:none;margin:0;padding:0;display:grid;gap:10px;counter-reset:jmafaq}
.jma-hmx__faq-item{counter-increment:jmafaq;position:relative;border:1px solid var(--hx-line,#e2e2e2);border-radius:10px;background:#fff;padding:15px 18px 15px 56px}
.jma-hmx__faq-item::before{content:counter(jmafaq);position:absolute;left:18px;top:15px;width:26px;height:26px;border-radius:50%;
  background:var(--hx-green,#0d5a28);color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center}
.jma-hmx__faq-q{margin:0 0 6px;font-size:17px;line-height:1.35;font-weight:700;color:var(--hx-ink,#1a1a1a)}
.jma-hmx__faq-a{margin:0;color:var(--hx-muted,#6b6b6b);line-height:1.6}
.jma-hmx__faq-a a{color:var(--hx-green,#0d5a28)}
@media (max-width:599px){.jma-hmx__faq-item{padding:14px 14px 14px 48px}.jma-hmx__faq-item::before{left:12px;top:14px}.jma-hmx__faq-q{font-size:16px}}

/* ---- 2026-10-02: hero options (inc/jma/hammers-machine-pages.php jma_hmx_hero_variant) ---- */
/* (a) green #0d5a28, white text, yellow accents */
.jma-hmx__hero--a{background:#0d5a28}
/* (b) photo + dark overlay; without the photo a dark placeholder of the same box */
.jma-hmx__hero--b{position:relative;overflow:hidden;background:#1d2420 linear-gradient(135deg,#2b332e 0%,#151a17 100%)}
.jma-hmx__hero--b .jma-hmx__hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0}
.jma-hmx__hero--b::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(10,14,12,.86) 0%,rgba(10,14,12,.62) 55%,rgba(10,14,12,.35) 100%)}
.jma-hmx__hero--b>.container{position:relative;z-index:2}
@media (max-width:999px){.jma-hmx__hero--b::before{background:rgba(10,14,12,.72)}}
/* shared: light text on the dark heroes (same sizes as the light hero, so the box does not change height) */
.jma-hmx__hero--a .jma-hx__h1-dark,.jma-hmx__hero--b .jma-hx__h1-dark{color:#fff}
.jma-hmx__hero--a .jma-hx__h1-accent,.jma-hmx__hero--b .jma-hx__h1-accent{color:#f5c518}
.jma-hmx__hero--a .jma-hx__sub,.jma-hmx__hero--b .jma-hx__sub{color:rgba(255,255,255,.88)}
.jma-hmx__hero--a .jma-hx__trust li,.jma-hmx__hero--b .jma-hx__trust li{color:#fff}
.jma-hmx__hero--a .jma-hx__trust li::before,.jma-hmx__hero--b .jma-hx__trust li::before{background:#f5c518}
.jma-hmx__hero--a .jma-hx__btn--outline,.jma-hmx__hero--b .jma-hx__btn--outline{border-color:#fff;color:#fff}
.jma-hmx__hero--a .jma-hx__btn--outline:hover,.jma-hmx__hero--b .jma-hx__btn--outline:hover{background:#fff;color:#0d5a28}
.jma-hmx__hero--a .jma-hmx__parent a,.jma-hmx__hero--b .jma-hmx__parent a{color:#f5c518}
.jma-hmx__hero--a .rank-math-breadcrumb,.jma-hmx__hero--a .rank-math-breadcrumb a,.jma-hmx__hero--a .rank-math-breadcrumb span,
.jma-hmx__hero--b .rank-math-breadcrumb,.jma-hmx__hero--b .rank-math-breadcrumb a,.jma-hmx__hero--b .rank-math-breadcrumb span{color:rgba(255,255,255,.85)}
.jma-hmx__hero--a .jma-fdr,.jma-hmx__hero--b .jma-fdr{box-shadow:0 10px 30px rgba(0,0,0,.25)}
/* chips row hidden by hammers-machine.js while "Post drivers" is picked on weight / loader pages */
.jma-hx__chips[hidden]{display:none!important}
.jma-hx__chip[hidden]{display:none!important}
.jma-hmx__card-note{margin:0 0 8px;font-size:13px;font-weight:700;color:var(--hx-green,#0d5a28)}
