/* pc-featured-machines — design: index.html "Kiemelt gépek" (id=gepek). */
.pc .pc-fm { background: var(--pc-white); border-bottom: 1px solid var(--pc-line-light); }
.pc .pc-fm__in { padding-top: 84px; padding-bottom: 84px; }
.pc .pc-fm__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.pc .pc-fm__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-fm__tools { display: flex; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.pc .pc-fm__intro { font-size: 15.5px; line-height: 1.6; color: var(--pc-dark-text); max-width: 42ch; text-wrap: pretty; }
.pc .pc-fm__nav { display: flex; gap: 10px; }
.pc .pc-fm__btn { width: 58px; height: 58px; border-radius: 8px; border: none; background: var(--pc-red); color: var(--pc-white); font-size: 26px; font-weight: 700; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: background .2s ease; }
.pc .pc-fm__btn:hover, .pc .pc-fm__btn:focus-visible { background: var(--pc-red-hover); }
.pc .pc-fm__btn[hidden] { display: none; }
.pc .pc-fm__btn:disabled { opacity: .35; cursor: default; }

.pc .pc-fm__track { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; cursor: grab; }
.pc .pc-fm__track::-webkit-scrollbar { display: none; }
.pc .pc-fm__track.is-dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }


.pc .pc-fm__card { color: inherit; flex: 0 0 min(340px, 82vw); display: flex; flex-direction: column; background: var(--pc-white); border: 1px solid rgba(20, 24, 31, .14); border-radius: 6px; overflow: hidden; box-shadow: 0 2px 10px rgba(20, 24, 31, .06); }
.pc .pc-fm__card:hover, .pc .pc-fm__card:focus-visible { border-color: var(--pc-red); box-shadow: 0 10px 26px rgba(20, 24, 31, .12); color: inherit; }
.pc .pc-fm__media { position: relative; aspect-ratio: 4 / 3; background: var(--pc-paper-3); overflow: hidden; }
.pc .pc-fm__img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1); transition: transform .7s var(--pc-ease); }
.pc .pc-fm__shade { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(11, 14, 18, 0); transition: background .45s ease; pointer-events: none; }
.pc .pc-fm__plus { width: 64px; height: 64px; border-radius: 50%; background: var(--pc-red); color: var(--pc-white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(248, 6, 5, .45); opacity: 0; transform: scale(.5) rotate(-90deg); transition: opacity .35s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1); }
.pc .pc-fm__card:hover .pc-fm__img, .pc .pc-fm__card:focus-visible .pc-fm__img { transform: scale(1.08); }
.pc .pc-fm__card:hover .pc-fm__shade, .pc .pc-fm__card:focus-visible .pc-fm__shade { background: rgba(11, 14, 18, .3); }
.pc .pc-fm__card:hover .pc-fm__plus, .pc .pc-fm__card:focus-visible .pc-fm__plus { opacity: 1; transform: scale(1) rotate(0deg); }

.pc .pc-fm__body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pc .pc-fm__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--pc-dark-muted); margin-bottom: 7px; }
.pc .pc-fm__name { font-family: var(--pc-font-head); font-weight: 700; font-size: 21px; letter-spacing: -.015em; color: var(--pc-ink); }
.pc .pc-fm__bar { position: relative; display: block; height: 2px; background: rgba(20, 24, 31, .14); overflow: hidden; }
.pc .pc-fm__bar-fill { position: absolute; top: 0; bottom: 0; left: 0; width: 0; background: var(--pc-red); transition: width .5s var(--pc-ease); }
.pc .pc-fm__card:hover .pc-fm__bar-fill, .pc .pc-fm__card:focus-visible .pc-fm__bar-fill { width: 100%; }
.pc .pc-fm__text { font-size: 14.5px; line-height: 1.6; color: var(--pc-dark-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pc .pc-fm__more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--pc-red); }

.pc .pc-fm__foot { display: flex; justify-content: center; margin-top: 36px; }
.pc .pc-fm__all { border: 1px solid rgba(20, 24, 31, .2); color: var(--pc-ink); font-weight: 600; font-size: 15px; padding: 14px 30px; border-radius: 7px; transition: border-color .2s ease, color .2s ease; }
.pc .pc-fm__all:hover, .pc .pc-fm__all:focus-visible { border-color: var(--pc-red); color: var(--pc-red); }

@media (max-width: 768px) {
    .pc .pc-fm__all { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .pc .pc-fm__track { scroll-behavior: auto; }
    .pc .pc-fm__img, .pc .pc-fm__shade, .pc .pc-fm__plus, .pc .pc-fm__bar-fill, .pc .pc-fm__btn { transition: none; }
    .pc .pc-fm__card:hover .pc-fm__img, .pc .pc-fm__card:focus-visible .pc-fm__img { transform: none; }
}
