/* pc-machine-categories — design: index.html (home) / hasznalt-szerszamgepek.html (full). A kártya azonos, a szekció-keret eltér. */
.pc .pc-mc--home { background: var(--pc-paper); border-bottom: 1px solid var(--pc-line-light); }
.pc .pc-mc--home .pc-mc__in { padding-top: 56px; padding-bottom: 64px; }
.pc .pc-mc__h2 { font-family: var(--pc-font-head); font-weight: 800; font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.03em; color: var(--pc-ink); }
.pc .pc-mc__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }

/* A teljes oldali változat az (összeolvadó) oldalfejléc alá kerül: az fehér, 0 alsó paddinggel. */
.pc .pc-mc--full { background: var(--pc-white); border-bottom: 1px solid var(--pc-line-light); }
.pc .pc-mc--full .pc-mc__in { padding-top: 0; padding-bottom: 72px; }

.pc .pc-mc__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
@media (min-width: 1920px) { .pc .pc-mc__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pc .pc-mc__card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 3; background: var(--pc-paper-2); border: 1px solid rgba(20, 24, 31, .12); border-radius: 5px; padding: 20px; overflow: hidden; color: inherit; }
.pc .pc-mc__card:hover, .pc .pc-mc__card:focus-visible { border-color: var(--pc-red); box-shadow: 0 0 0 1px var(--pc-red); color: inherit; }
.pc .pc-mc__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transform: scale(1); transition: transform .7s var(--pc-ease); }
.pc .pc-mc__card:hover .pc-mc__img, .pc .pc-mc__card:focus-visible .pc-mc__img { transform: scale(1.08); }
.pc .pc-mc__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 14, 18, 0) 35%, rgba(11, 14, 18, .72) 72%, rgba(11, 14, 18, .94) 100%); pointer-events: none; }
.pc .pc-mc__arrow { position: absolute; top: 16px; right: 18px; font-size: 22px; line-height: 1; color: var(--pc-red); text-shadow: 0 2px 8px rgba(0, 0, 0, .8); transition: transform .3s var(--pc-ease); }
.pc .pc-mc__card:hover .pc-mc__arrow, .pc .pc-mc__card:focus-visible .pc-mc__arrow { transform: translateX(5px); }
.pc .pc-mc__label { position: relative; display: block; }
.pc .pc-mc__name { display: block; font-family: var(--pc-font-head); font-weight: 700; font-size: 22px; line-height: 1.15; color: var(--pc-white); letter-spacing: -.02em; min-width: 0; max-width: 100%; hyphens: manual; overflow-wrap: break-word; text-shadow: 0 2px 10px rgba(0, 0, 0, .95), 0 1px 3px rgba(0, 0, 0, .9); }

@media (prefers-reduced-motion: reduce) {
    .pc .pc-mc__img, .pc .pc-mc__arrow { transition: none; }
    .pc .pc-mc__card:hover .pc-mc__img, .pc .pc-mc__card:focus-visible .pc-mc__img { transform: none; }
}
