/* pc-machine-hero — design: gep.html (fejléc, galéria, videó, gombok, miniatűrök, lightbox). */
.pc .pc-mh { background: var(--pc-white); }
.pc .pc-mh__in { padding-top: 48px; padding-bottom: 64px; }
.pc .pc-mh__kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--pc-red); margin-bottom: 8px; }
.pc .pc-mh__title { font-family: var(--pc-font-head); font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -.03em; margin: 0 0 26px; color: var(--pc-ink); }
.pc .pc-mh__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px; align-items: start; }
.pc .pc-mh__grid--single { grid-template-columns: minmax(0, 1fr); }

/* galéria */
.pc .pc-mh__stage { position: relative; aspect-ratio: 4 / 3; background: var(--pc-paper-3); border-radius: 6px; overflow: hidden; touch-action: pan-y; }
.pc .pc-mh__zoom-hit { font-family: Arial, sans-serif; font-size: 13.3333px; position: absolute; inset: 0; padding: 0; border: none; background: none; cursor: zoom-in; }
.pc .pc-mh__main { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.pc .pc-mh__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 8px; border: none; background: var(--pc-red); color: var(--pc-white); font-size: 24px; font-weight: 700; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 1px 6px; font-family: Arial, sans-serif; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: background .2s ease; }
.pc .pc-mh__arrow[hidden] { display: none; }
.pc .pc-mh__arrow:hover, .pc .pc-mh__arrow:focus-visible { background: var(--pc-red-hover); }
.pc .pc-mh__arrow--prev { left: 14px; }
.pc .pc-mh__arrow--next { right: 14px; }
.pc .pc-mh__counter { position: absolute; left: 14px; bottom: 14px; background: rgba(11, 14, 18, .78); color: var(--pc-white); font-size: 13px; font-weight: 700; letter-spacing: .06em; padding: 6px 11px; border-radius: 5px; pointer-events: none; }
.pc .pc-mh__zoom { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 6px; border: none; background: rgba(11, 14, 18, .72); color: var(--pc-white); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 1px 6px; font-family: Arial, sans-serif; font-size: 13.3333px; transition: background .2s ease; }
.pc .pc-mh__zoom:hover, .pc .pc-mh__zoom:focus-visible { background: var(--pc-red); }

/* jobb oszlop: videó + gombok */
.pc .pc-mh__side { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pc .pc-mh__video { position: relative; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: var(--pc-bg); }
.pc .pc-mh__video-holder { position: absolute; inset: 0; z-index: 1; }
.pc .pc-mh__video-holder iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pc .pc-mh__video-ph { position: absolute; inset: 0; }
.pc .pc-mh__video-ph[hidden] { display: none; }
.pc .pc-mh__video-ph img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; opacity: .45; }
.pc .pc-mh__video-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center; }
.pc .pc-mh__play { width: 72px; height: 72px; border-radius: 50%; background: var(--pc-red); color: var(--pc-white); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px rgba(248, 6, 5, .5); }
.pc .pc-mh__video-text { font-size: 14px; font-weight: 700; color: var(--pc-white); letter-spacing: .04em; text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.pc .pc-mh__video-btn { background: var(--pc-red); color: var(--pc-white); border: 0; border-radius: 7px; font-weight: 700; font-size: 14px; padding: 12px 22px; min-height: 44px; cursor: pointer; transition: background .2s ease; }
.pc .pc-mh__video-btn:hover, .pc .pc-mh__video-btn:focus-visible { background: var(--pc-red-hover); }

.pc .pc-mh__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.pc .pc-mh__act { display: flex; align-items: center; justify-content: center; gap: 10px; height: 52px; border-radius: 7px; font-weight: 700; font-size: 14.5px; letter-spacing: .02em; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.pc .pc-mh__act--outline { border: 1px solid rgba(20, 24, 31, .25); color: var(--pc-ink); }
.pc .pc-mh__act--outline:hover, .pc .pc-mh__act--outline:focus-visible { border-color: var(--pc-red); color: var(--pc-red); }
.pc .pc-mh__act--primary { background: var(--pc-red); color: var(--pc-white); }
.pc .pc-mh__act--primary:hover, .pc .pc-mh__act--primary:focus-visible { background: var(--pc-red-hover); color: var(--pc-white); }
.pc .pc-mh__act:active { transform: translateY(1px); }

/* miniatűrök */
.pc .pc-mh__gallery { margin-top: 56px; }
.pc .pc-mh__h2 { font-family: var(--pc-font-head); font-weight: 800; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.025em; color: var(--pc-ink); margin-bottom: 20px; }
.pc .pc-mh__thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 12px; scrollbar-width: none; }
.pc .pc-mh__thumbs::-webkit-scrollbar { display: none; }
.pc .pc-mh__thumb { font-family: Arial, sans-serif; font-size: 13.3333px; position: relative; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 5px; overflow: hidden; background: var(--pc-paper-3); cursor: zoom-in; }
.pc .pc-mh__thumb.is-active, .pc .pc-mh__thumb:hover, .pc .pc-mh__thumb:focus-visible { border-color: var(--pc-red); }
.pc .pc-mh__thumb img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; transition: transform .6s var(--pc-ease); }
.pc .pc-mh__thumb:hover img, .pc .pc-mh__thumb:focus-visible img { transform: scale(1.08); }

/* lightbox */
.pc-lb-open { overflow: hidden; }
.pc .pc-lb { position: fixed; inset: 0; z-index: 2000; background: rgba(8, 11, 15, .95); display: flex; align-items: center; justify-content: center; padding: 72px clamp(12px, 7vw, 84px); touch-action: pan-y; }
.pc .pc-lb[hidden] { display: none; }
.pc .pc-lb__img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.pc .pc-lb__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 8px; border: 1px solid rgba(245, 243, 239, .25); background: rgba(11, 14, 18, .6); color: var(--pc-white); font-size: 24px; line-height: 1; cursor: pointer; padding: 0; }
.pc .pc-lb__close:hover, .pc .pc-lb__close:focus-visible { border-color: var(--pc-red); background: var(--pc-red); }
.pc .pc-lb__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 8px; border: none; background: var(--pc-red); color: var(--pc-white); font-size: 24px; font-weight: 700; cursor: pointer; padding: 0; }
.pc .pc-lb__arrow:hover, .pc .pc-lb__arrow:focus-visible { background: var(--pc-red-hover); }
.pc .pc-lb__arrow--prev { left: 18px; }
.pc .pc-lb__arrow--next { right: 18px; }
.pc .pc-lb__counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: var(--pc-white); font-size: 14px; font-weight: 700; letter-spacing: .08em; }

@media (max-width: 720px) {
    .pc .pc-mh__thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 24px; margin: 0 -24px; padding: 0 24px; }
    .pc .pc-mh__thumb { flex: 0 0 72%; scroll-snap-align: start; }
    .pc .pc-mh__actions { grid-template-columns: 1fr; }
    .pc .pc-mh__in { padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
    .pc .pc-mh__thumb img, .pc .pc-mh__arrow, .pc .pc-mh__act { transition: none; }
}
.pc .pc-mh__video-holder:not([data-pc-embed-ready]) { pointer-events: none; }
