/* ============================================================
   SAKKARY MACHINERY — content pages
   Machine categories, the hub, support pages and legal pages.
   Loads after blog.css and reuses its primitives; only what is
   genuinely new to these pages is defined here.
   ============================================================ */

/* breadcrumb sits under the h1 inside the dark opening band */
.crumb { margin-top: var(--s-6); display: flex; align-items: center; gap: var(--s-2); color: var(--fg-3); }
.crumb a { color: var(--fg-2); }
.crumb a:hover { color: var(--accent); }

.page-intro { font-size: var(--fs-lg); line-height: 1.72; color: var(--fg-2); max-width: var(--maxw-text); }
.page-intro + .page-intro { margin-top: var(--s-5); }

.page-h { margin: 0 0 var(--s-5); }
.page-block { margin-top: var(--s-9); }
.page-block:first-child { margin-top: 0; }

/* ---------- intro + figure, side by side on desktop ---------- */
.page-lead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s-8); align-items: start; }
@media (max-width: 900px) { .page-lead { grid-template-columns: 1fr; gap: var(--s-6); } }
.page-lead__fig { margin: 0; }
.page-lead__fig img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line); border-radius: var(--r-2);
}

/* ---------- what it is for ---------- */
.ticks { display: grid; gap: var(--s-3); margin: 0; padding: 0; list-style: none; max-width: var(--maxw-text); }
.ticks li {
  position: relative;
  padding-inline-start: var(--s-6);
  font-size: var(--fs-lg);
  line-height: 1.6;
}
.ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0; top: .62em;
  width: 9px; height: 2px;
  background: var(--accent-bright);
}

/* ---------- how to choose ---------- */
.choose { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
.choose__i { background: var(--bg); padding: var(--s-6); display: grid; gap: var(--s-3); align-content: start; }
.choose__n { color: var(--accent); }
.choose__h {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tr-display);
  line-height: calc(var(--lh-tight) + 0.18);
}
.choose__b { margin: 0; color: var(--fg-2); line-height: 1.65; }

/* ---------- FAQ ----------
   <details> so the answers are in the DOM for Google and for anyone
   with JavaScript off, and still collapsed for a reader scanning. */
.faq { border-top: 1px solid var(--line); max-width: var(--maxw-text); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q {
  padding: var(--s-5) var(--s-6) var(--s-5) 0;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tr-display);
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color var(--dur-2) var(--ease-cut);
}
:root[dir="rtl"] .faq__q { padding: var(--s-5) 0 var(--s-5) var(--s-6); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  position: absolute; inset-inline-end: 0; top: 50%;
  width: 11px; height: 2px; background: currentColor;
  box-shadow: 0 0 0 0 transparent;
  transition: transform var(--dur-2) var(--ease-cut);
}
.faq__q::before {
  content: "";
  position: absolute; inset-inline-end: 4px; top: calc(50% - 5px);
  width: 2px; height: 11px; background: currentColor;
  transition: transform var(--dur-2) var(--ease-cut), opacity var(--dur-2);
}
.faq__i[open] .faq__q::before { transform: rotate(90deg); opacity: 0; }
.faq__q:hover { color: var(--accent); }
.faq__a { margin: 0; padding-block-end: var(--s-5); color: var(--fg-2); line-height: 1.7; max-width: 62ch; }

/* ---------- hub grid ---------- */
.pgrid--hub { list-style: none; margin: var(--s-8) 0 0; padding: 0; }
.pgrid--hub .pcard__media { aspect-ratio: 4 / 3; display: block; }
.pgrid--hub .pcard__meta { color: var(--accent); }
.pgrid--hub .pcard__t,
.pgrid--hub .pcard__x { display: block; }

/* ---------- CTA band ---------- */
.page-cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-6); }
.page-cta__in h2 { margin: 0 0 var(--s-3); }
.page-cta__in .lede { margin: 0; }

/* ---------- related ---------- */
.rel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: var(--s-4); margin: 0; padding: 0; list-style: none; }
.rel__a {
  display: grid; gap: var(--s-2);
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-2);
  height: 100%;
  transition: border-color var(--dur-2) var(--ease-cut), transform var(--dur-2) var(--ease-cut);
}
.rel__a:hover { border-color: var(--fg-3); transform: translateY(-2px); }
.rel__t {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--tr-display);
}
.rel__x { color: var(--fg-2); font-size: var(--fs-sm); line-height: 1.55; }

/* ---------- legal prose ---------- */
.page-prose { max-width: var(--maxw-text); }
.page-prose p { color: var(--fg-2); line-height: 1.72; margin: 0; }
.page-prose .page-h { margin-top: var(--s-8); }
.page-prose .page-h:first-of-type { margin-top: var(--s-6); }

@media (max-width: 760px) {
  .page-intro, .ticks li { font-size: var(--fs-base); }
  .choose__i { padding: var(--s-5); }
}

/* the reference echoed back on /thank-you/ */
.thanks-ref {
  display: inline-flex; align-items: baseline; gap: var(--s-3);
  margin-bottom: var(--s-6);
  padding: var(--s-3) var(--s-5);
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--accent-bright);
  border-radius: var(--r-2);
  background: var(--surface-2);
  color: var(--fg-3);
}
.thanks-ref strong { color: var(--fg); font-size: var(--fs-lg); letter-spacing: .1em; }

/* contact details, so a visitor without JavaScript still has a number */
.contact-list a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.contact-list a:hover { color: var(--fg); }
