/*
Theme Name: AMTEC Hire
Theme URI: https://amtechire.co.uk/
Author: AMTEC Hire
Description: Bespoke lightweight WordPress theme for AMTEC Hire.
Version: 0.2.1
Text Domain: amtec-hire
*/

:root {
  --amtec-charcoal: #232323;
  --amtec-charcoal-2: #303030;
  --amtec-grey: #6E6E6E;
  --amtec-warm-grey: #DED9CA;
  --amtec-warm-grey-soft: #F4F1EA;
  --amtec-bronze: #B66A25;
  --amtec-bronze-dark: #8E4F1B;
  --amtec-white: #FFFFFF;
  --amtec-text: #222222;
  --amtec-muted: #666666;
  --amtec-line: #DFDFDF;
  --amtec-success: #2F8A4C;
  --amtec-radius: 10px;
  --amtec-shadow: 0 8px 28px rgba(0,0,0,.08);
  --amtec-container: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
  color: var(--amtec-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
.amtec-container {
  width: min(calc(100% - 40px), var(--amtec-container));
  margin-inline: auto;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.amtec-site-header {
  background: var(--amtec-charcoal);
  color: white;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.amtec-header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.amtec-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.amtec-brand-mark {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.03em;
}
.amtec-brand-mark strong { color: var(--amtec-bronze); }
.amtec-brand-sub {
  display: block;
  font-size: .68rem;
  letter-spacing: .08em;
  color: #d7d7d7;
  text-transform: uppercase;
}
.amtec-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.amtec-nav a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
}
.amtec-nav a:hover { color: var(--amtec-bronze); }
.amtec-header-phone {
  white-space: nowrap;
  font-weight: 700;
  font-size: .95rem;
}
.amtec-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 5px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  cursor: pointer;
}
.amtec-button--primary {
  background: var(--amtec-bronze);
  color: white;
}
.amtec-button--primary:hover { background: var(--amtec-bronze-dark); }
.amtec-button--outline {
  border-color: var(--amtec-grey);
  background: white;
  color: var(--amtec-text);
}
.amtec-button--outline:hover {
  border-color: var(--amtec-bronze);
  color: var(--amtec-bronze);
}

/* Breadcrumb */
.amtec-breadcrumb-wrap {
  background: var(--amtec-charcoal-2);
  color: #e7e7e7;
  font-size: .85rem;
}
.amtec-breadcrumb {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.amtec-breadcrumb a {
  text-decoration: none;
  color: #ededed;
}
.amtec-breadcrumb .current { color: var(--amtec-bronze); }

/* Machine hero */
.amtec-machine-main {
  padding: 20px 0 0;
}
.amtec-machine-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(360px, .82fr);
  gap: 30px;
  align-items: start;
}
.amtec-gallery-main {
  position: relative;
  border-radius: var(--amtec-radius);
  overflow: hidden;
  background: #efefef;
  aspect-ratio: 16 / 9;
}
.amtec-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.amtec-status-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  padding: 9px 12px;
  background: var(--amtec-bronze);
  color: white;
  border-radius: 4px;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.amtec-gallery-open {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(35,35,35,.88);
  color: white;
  cursor: pointer;
  font-size: 1.25rem;
}
.amtec-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 9px;
}
.amtec-gallery-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
  background: #eee;
}
.amtec-gallery-thumb.is-active { border-color: var(--amtec-bronze); }
.amtec-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.amtec-machine-summary h1 {
  margin: 0 0 4px;
  font-size: clamp(2.1rem, 3.35vw, 3.65rem);
  line-height: .97;
  letter-spacing: -.045em;
  text-transform: uppercase;
}
.amtec-machine-category {
  margin-bottom: 14px;
  color: var(--amtec-muted);
  font-size: 1.05rem;
}
.amtec-availability {
  border: 1px solid var(--amtec-line);
  background: white;
  border-radius: 7px;
  padding: 12px 14px;
  margin-bottom: 12px;
}
.amtec-availability strong {
  color: var(--amtec-success);
  display: block;
  margin-bottom: 2px;
}
.amtec-summary-specs {
  margin: 0 0 12px;
  border-top: 1px solid var(--amtec-line);
}
.amtec-summary-spec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--amtec-line);
  font-size: .92rem;
}
.amtec-summary-spec dt { font-weight: 800; }
.amtec-summary-spec dd { margin: 0; text-align: right; }
.amtec-enquiry-card {
  margin-top: 14px;
  background: linear-gradient(135deg, var(--amtec-charcoal), var(--amtec-charcoal-2));
  color: white;
  border-radius: var(--amtec-radius);
  padding: 18px 20px;
  box-shadow: var(--amtec-shadow);
}
.amtec-enquiry-card h2 {
  font-size: 1.1rem;
  margin: 0 0 7px;
  text-transform: uppercase;
}
.amtec-enquiry-card p {
  margin: 0 0 12px;
  color: #e4e4e4;
}

/* Content grid */
.amtec-machine-content {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
  gap: 34px;
  padding: 22px 0 46px;
}
.amtec-content-panel,
.amtec-side-card {
  border: 1px solid var(--amtec-line);
  background: white;
  border-radius: var(--amtec-radius);
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
}
.amtec-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--amtec-line);
  overflow-x: auto;
}
.amtec-tabs a {
  padding: 18px 22px;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.amtec-tabs a:first-child {
  border-color: var(--amtec-bronze);
  color: var(--amtec-bronze);
}
.amtec-content-section { padding: 28px; }
.amtec-content-section + .amtec-content-section {
  border-top: 1px solid var(--amtec-line);
}
.amtec-content-section h2,
.amtec-content-section h3 {
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: -.02em;
}
.amtec-content-section h2 { font-size: 1.45rem; }
.amtec-content-section h3 { font-size: 1.08rem; margin-top: 24px; }
.amtec-prose p:first-child { margin-top: 0; }
.amtec-spec-table {
  width: 100%;
  border-collapse: collapse;
}
.amtec-spec-table th,
.amtec-spec-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--amtec-line);
  text-align: left;
}
.amtec-spec-table th {
  width: 45%;
  font-weight: 800;
}
.amtec-video-wrap {
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 8px;
  overflow: hidden;
}
.amtec-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.amtec-download {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--amtec-line);
  border-radius: 7px;
  max-width: 520px;
}
.amtec-download-icon {
  width: 42px;
  height: 42px;
  border-radius: 5px;
  background: var(--amtec-bronze);
  color: white;
  display: grid;
  place-items: center;
  font-weight: 900;
}
.amtec-download-meta { margin-right: auto; }
.amtec-download-meta strong { display: block; }

/* Sidebar */
.amtec-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.amtec-side-card { padding: 22px; }
.amtec-side-card h3 {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: 1.05rem;
}
.amtec-tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.amtec-tick-list li {
  position: relative;
  padding: 7px 0 7px 26px;
}
.amtec-tick-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--amtec-bronze);
  font-weight: 900;
}
.amtec-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.amtec-category-list li {
  border-bottom: 1px solid var(--amtec-line);
}
.amtec-category-list li:last-child { border-bottom: 0; }
.amtec-category-list a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  text-decoration: none;
}
.amtec-category-list a:hover { color: var(--amtec-bronze); }

/* Full width CTA */
.amtec-machine-cta {
  margin-bottom: 28px;
  background: linear-gradient(90deg, var(--amtec-charcoal), var(--amtec-charcoal-2));
  color: white;
  border-radius: var(--amtec-radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.amtec-machine-cta strong {
  display: block;
  font-size: 1.15rem;
  text-transform: uppercase;
}
.amtec-machine-cta .amtec-button { margin-left: auto; }
.amtec-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 8px 0 42px;
}
.amtec-trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.amtec-trust-icon {
  width: 42px;
  height: 42px;
  border: 2px solid var(--amtec-bronze);
  border-radius: 50%;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: var(--amtec-bronze);
  font-weight: 900;
}
.amtec-trust-item strong {
  display: block;
  text-transform: uppercase;
  font-size: .85rem;
}
.amtec-trust-item span {
  color: var(--amtec-muted);
  font-size: .85rem;
}

/* Footer */
.amtec-site-footer {
  background: var(--amtec-charcoal);
  color: #d7d7d7;
  padding: 34px 0;
}
.amtec-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.amtec-footer-inner a { color: white; }

/* Lightbox */
.amtec-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 200;
  display: none;
  place-items: center;
  padding: 30px;
}
.amtec-lightbox.is-open { display: grid; }
.amtec-lightbox img {
  max-width: min(94vw, 1500px);
  max-height: 88vh;
  object-fit: contain;
}
.amtec-lightbox-close {
  position: absolute;
  top: 18px;
  right: 24px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 1050px) {
  .amtec-nav { display: none; }
  .amtec-machine-hero,
  .amtec-machine-content {
    grid-template-columns: 1fr;
  }
  .amtec-machine-summary h1 { margin-top: 8px; }
  .amtec-trust-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .amtec-container { width: min(calc(100% - 24px), var(--amtec-container)); }
  .amtec-header-inner { min-height: 68px; gap: 14px; }
  .amtec-header-phone { display: none; }
  .amtec-header-inner > .amtec-button { display: none; }
  .amtec-gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .amtec-machine-summary h1 { font-size: 2.5rem; }
  .amtec-content-section { padding: 20px; }
  .amtec-machine-cta {
    align-items: flex-start;
    flex-direction: column;
  }
  .amtec-machine-cta .amtec-button { margin-left: 0; width: 100%; }
  .amtec-trust-row { grid-template-columns: 1fr; }
  .amtec-footer-inner { flex-direction: column; align-items: flex-start; }
}

/* v0.1.1 compact machine hero */
@media (min-width: 1051px) {
  .amtec-gallery-thumbs { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .amtec-gallery-thumb { max-height: 76px; }
  .amtec-machine-summary .amtec-button { min-height: 42px; }
}


/* v0.1.2 refinements */
.amtec-machine-content {
  display: block;
  padding-top: 24px;
}

.amtec-content-panel {
  width: 100%;
}

.amtec-sidebar {
  display: none;
}

.amtec-expertise-band {
  margin: 28px 0;
  padding: 30px;
  background: var(--amtec-warm-grey-soft);
  border-left: 5px solid var(--amtec-bronze);
  border-radius: var(--amtec-radius);
}

.amtec-expertise-band h2 {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 1.45rem;
}

.amtec-expertise-band .amtec-prose > *:first-child {
  margin-top: 0;
}

.amtec-expertise-band .amtec-prose > *:last-child {
  margin-bottom: 0;
}

@media (min-width: 1051px) {
  .amtec-machine-hero {
    grid-template-columns: minmax(0, 1.65fr) minmax(360px, .82fr);
    gap: 28px;
  }

  .amtec-machine-summary h1 {
    font-size: clamp(2.1rem, 3.25vw, 3.75rem);
  }

  .amtec-gallery-thumbs {
    margin-top: 10px;
  }
}

.amtec-brand-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}
.amtec-brand-logo .custom-logo {
  display: block;
  width: auto;
  max-height: 52px;
  max-width: 260px;
}


/* v0.1.3 refinements */

/* Keep availability inside the Hire colour system. */
.amtec-availability strong {
  color: var(--amtec-bronze);
}

/* Slightly reduce oversized machine names on desktop. */
@media (min-width: 1051px) {
  .amtec-machine-summary h1 {
    font-size: clamp(2rem, 3vw, 3.45rem);
  }
}

/* Give gallery thumbnails a little more presence. */
.amtec-gallery-thumbs {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.amtec-gallery-thumb {
  aspect-ratio: 5 / 3.5;
  min-height: 78px;
}

.amtec-gallery-thumb img {
  transition: transform .18s ease;
}

.amtec-gallery-thumb:hover img {
  transform: scale(1.025);
}

@media (max-width: 900px) {
  .amtec-gallery-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .amtec-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Main image is intentionally clickable. */
.amtec-gallery-main img {
  cursor: zoom-in;
}

.amtec-gallery-nav,.amtec-lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:4;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer}
.amtec-gallery-nav{width:46px;height:46px;background:rgba(35,35,35,.78);color:#fff;font-size:1.9rem}
.amtec-gallery-nav--prev{left:16px}.amtec-gallery-nav--next{right:16px}
.amtec-lightbox-nav{width:58px;height:58px;background:rgba(255,255,255,.14);color:#fff;font-size:2.25rem;z-index:205}
.amtec-lightbox-nav--prev{left:24px}.amtec-lightbox-nav--next{right:24px}
.amtec-lightbox-counter{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);color:#fff;background:rgba(0,0,0,.48);border-radius:20px;padding:6px 12px;font-size:.9rem}


/* =========================================================
   AMTEC Hire v0.2.0 — Machinery archive / search
   ========================================================= */
.amtec-archive {
  background: #fff;
  padding-bottom: 72px;
}

.amtec-archive-breadcrumb {
  border-bottom: 1px solid var(--amtec-line, #e6e6e6);
  background: #fafafa;
}

.amtec-archive-breadcrumb .amtec-container {
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: .88rem;
  color: #6f6f6f;
}

.amtec-archive-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.amtec-archive-breadcrumb span {
  margin: 0 8px;
  color: var(--amtec-bronze);
}

.amtec-archive-hero {
  padding: 42px 0 30px;
}

.amtec-archive-hero-grid {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(560px, 1.5fr);
  gap: 50px;
  align-items: center;
}

.amtec-archive-kicker {
  margin: 0 0 8px;
  color: var(--amtec-bronze);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.amtec-archive-title {
  margin: 0 0 14px;
  color: var(--amtec-charcoal);
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: .96;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.amtec-archive-intro {
  max-width: 610px;
  margin: 0;
  color: #505050;
  font-size: 1.02rem;
  line-height: 1.7;
}

.amtec-archive-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.amtec-archive-trust-item {
  text-align: center;
}

.amtec-archive-trust-icon {
  width: 45px;
  height: 45px;
  margin: 0 auto 10px;
  border: 1px solid rgba(182,106,37,.32);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--amtec-bronze);
  font-size: 1.25rem;
  font-weight: 800;
}

.amtec-archive-trust-item strong {
  display: block;
  color: var(--amtec-charcoal);
  font-size: .88rem;
}

.amtec-archive-trust-item span {
  display: block;
  max-width: 145px;
  margin: 4px auto 0;
  color: #777;
  font-size: .76rem;
  line-height: 1.35;
}

.amtec-catalogue-layout {
  display: grid;
  grid-template-columns: 265px minmax(0,1fr);
  gap: 20px;
  align-items: start;
}

.amtec-filter-panel {
  border: 1px solid #dedede;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  position: sticky;
  top: 92px;
}

.amtec-filter-heading {
  margin: 0;
  padding: 16px 18px;
  background: var(--amtec-charcoal);
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.amtec-filter-form {
  padding: 17px 16px 18px;
}

.amtec-filter-group {
  margin-bottom: 15px;
}

.amtec-filter-label {
  display: block;
  margin: 0 0 6px;
  color: var(--amtec-charcoal);
  font-size: .77rem;
  font-weight: 750;
}

.amtec-filter-control {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  background: #fff;
  padding: 9px 10px;
  color: #333;
  font: inherit;
  font-size: .84rem;
}

.amtec-filter-control:focus {
  outline: 2px solid rgba(182,106,37,.18);
  border-color: var(--amtec-bronze);
}

.amtec-filter-actions {
  padding-top: 4px;
}

.amtec-filter-submit {
  width: 100%;
  border: 0;
  border-radius: 5px;
  background: var(--amtec-bronze);
  color: #fff;
  min-height: 44px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .76rem;
  letter-spacing: .03em;
}

.amtec-filter-reset {
  display: block;
  margin-top: 11px;
  text-align: center;
  color: var(--amtec-bronze-dark);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
}

.amtec-results-panel {
  min-width: 0;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.amtec-results-toolbar {
  min-height: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 14px;
}

.amtec-results-count {
  color: #444;
  font-size: .86rem;
}

.amtec-sort-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.amtec-sort-form label {
  color: #666;
  font-size: .78rem;
}

.amtec-sort-form select {
  min-height: 38px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 7px 28px 7px 10px;
  background: #fff;
  font: inherit;
  font-size: .8rem;
}

.amtec-machine-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 15px;
}

.amtec-machine-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e2e2;
  border-radius: 7px;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.amtec-machine-card:hover {
  transform: translateY(-2px);
  border-color: #d5d5d5;
  box-shadow: 0 10px 28px rgba(0,0,0,.07);
}

.amtec-machine-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eee;
}

.amtec-machine-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.amtec-machine-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .28s ease;
}

.amtec-machine-card:hover .amtec-machine-card-image img {
  transform: scale(1.02);
}

.amtec-machine-card-status {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 6px 8px 5px;
  border-radius: 3px;
  background: var(--amtec-bronze);
  color: #fff;
  font-size: .63rem;
  line-height: 1;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.amtec-machine-card-body {
  padding: 14px 14px 15px;
}

.amtec-machine-card-title {
  margin: 0 0 4px;
  color: var(--amtec-charcoal);
  font-size: 1.02rem;
  line-height: 1.2;
}

.amtec-machine-card-title a {
  color: inherit;
  text-decoration: none;
}

.amtec-machine-card-category {
  min-height: 1.2em;
  margin: 0 0 13px;
  color: #777;
  font-size: .75rem;
}

.amtec-machine-card-specs {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 8px;
  padding-top: 11px;
  border-top: 1px solid #ededed;
}

.amtec-machine-card-spec strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--amtec-charcoal);
  font-size: .82rem;
  line-height: 1.12;
}

.amtec-machine-card-spec span {
  display: block;
  margin-top: 3px;
  color: #888;
  font-size: .61rem;
  line-height: 1.2;
}

.amtec-machine-card-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 14px;
  color: var(--amtec-bronze-dark);
  text-decoration: none;
  font-size: .69rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.amtec-no-results {
  padding: 55px 25px;
  text-align: center;
  background: #fafafa;
  border-radius: 6px;
}

.amtec-no-results h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.amtec-pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 24px;
}

.amtec-pagination .page-numbers {
  min-width: 38px;
  height: 38px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  font-size: .8rem;
}

.amtec-pagination .current {
  border-color: var(--amtec-bronze);
  background: var(--amtec-bronze);
  color: #fff;
}

.amtec-results-help {
  margin-top: 16px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 7px;
  background: var(--amtec-warm-grey-soft, #f4f1ea);
}

.amtec-results-help-copy {
  display: flex;
  align-items: center;
  gap: 13px;
}

.amtec-results-help-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--amtec-charcoal);
  color: #fff;
}

.amtec-results-help strong {
  display: block;
  color: var(--amtec-charcoal);
  font-size: .9rem;
}

.amtec-results-help span {
  display: block;
  margin-top: 2px;
  color: #666;
  font-size: .78rem;
}

.amtec-results-help a {
  flex: 0 0 auto;
  padding: 10px 17px;
  border: 1px solid var(--amtec-bronze);
  border-radius: 4px;
  color: var(--amtec-bronze-dark);
  text-decoration: none;
  font-size: .7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.amtec-seo-content {
  margin-top: 56px;
  padding-top: 46px;
  border-top: 1px solid #e5e5e5;
}

.amtec-seo-content > .amtec-seo-lead {
  max-width: 850px;
}

.amtec-seo-content h2 {
  margin: 0 0 13px;
  color: var(--amtec-charcoal);
  font-size: clamp(1.75rem,3vw,2.6rem);
  line-height: 1.05;
}

.amtec-seo-content p {
  color: #555;
  line-height: 1.72;
}

.amtec-seo-blocks {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 28px;
}

.amtec-seo-block {
  padding: 22px;
  border: 1px solid #e2e2e2;
  border-radius: 7px;
  background: #fff;
}

.amtec-seo-block h3 {
  margin: 0 0 9px;
  color: var(--amtec-charcoal);
  font-size: 1.02rem;
}

.amtec-seo-block p {
  margin: 0;
  font-size: .88rem;
}

.amtec-faq {
  max-width: 920px;
  margin-top: 42px;
}

.amtec-faq h2 {
  margin-bottom: 18px;
}

.amtec-faq details {
  border-top: 1px solid #ddd;
}

.amtec-faq details:last-child {
  border-bottom: 1px solid #ddd;
}

.amtec-faq summary {
  position: relative;
  padding: 17px 36px 17px 0;
  cursor: pointer;
  list-style: none;
  color: var(--amtec-charcoal);
  font-size: .94rem;
  font-weight: 750;
}

.amtec-faq summary::-webkit-details-marker { display: none; }

.amtec-faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 14px;
  color: var(--amtec-bronze);
  font-size: 1.35rem;
  font-weight: 500;
}

.amtec-faq details[open] summary::after { content: '–'; }

.amtec-faq-answer {
  max-width: 790px;
  padding: 0 0 18px;
  color: #5d5d5d;
  font-size: .88rem;
  line-height: 1.65;
}

@media (max-width: 1120px) {
  .amtec-archive-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .amtec-catalogue-layout { grid-template-columns: 235px minmax(0,1fr); }
  .amtec-machine-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 820px) {
  .amtec-archive { padding-bottom: 45px; }
  .amtec-archive-hero { padding: 30px 0 24px; }
  .amtec-archive-trust { grid-template-columns: repeat(2,1fr); }
  .amtec-catalogue-layout { grid-template-columns: 1fr; }
  .amtec-filter-panel { position: static; }
  .amtec-machine-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .amtec-seo-blocks { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .amtec-archive-title { font-size: 2.65rem; }
  .amtec-results-panel { padding: 11px; }
  .amtec-results-toolbar { align-items: flex-start; flex-direction: column; }
  .amtec-machine-grid { grid-template-columns: 1fr; }
  .amtec-results-help { align-items: flex-start; flex-direction: column; }
  .amtec-archive-trust { gap: 20px 10px; }
  .amtec-machine-card-title { font-size: 1.05rem; }
}


/* =========================================================
   AMTEC Hire v0.2.1 — listing page visual polish
   ========================================================= */
.amtec-archive-hero {
  padding: 30px 0 22px;
}

.amtec-archive-hero-grid {
  grid-template-columns: minmax(280px, .82fr) minmax(560px, 1.58fr);
  gap: 42px;
}

.amtec-archive-kicker {
  margin-bottom: 6px;
}

.amtec-archive-title {
  margin-bottom: 10px;
  font-size: clamp(2.25rem, 4.2vw, 3.85rem);
  line-height: .94;
}

.amtec-archive-intro {
  font-size: .97rem;
  line-height: 1.62;
}

.amtec-archive-trust {
  gap: 14px;
}

.amtec-archive-trust-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
  border-color: rgba(182,106,37,.28);
}

.amtec-archive-trust-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.amtec-archive-trust-item strong {
  font-size: .84rem;
}

.amtec-archive-trust-item span {
  margin-top: 3px;
  font-size: .72rem;
}

.amtec-catalogue-layout {
  grid-template-columns: 245px minmax(0,1fr);
}

.amtec-filter-heading {
  padding: 15px 17px;
}

.amtec-filter-form {
  padding: 15px 15px 17px;
}

.amtec-results-panel {
  padding: 15px;
}

@media (max-width: 1120px) {
  .amtec-archive-hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .amtec-catalogue-layout {
    grid-template-columns: 225px minmax(0,1fr);
  }
}

@media (max-width: 820px) {
  .amtec-archive-hero {
    padding: 25px 0 20px;
  }

  .amtec-catalogue-layout {
    grid-template-columns: 1fr;
  }
}
