/* Extras for the Next.js rebuild (everything else comes from the original Arter CSS). */

/* hidden inline popups (resume testimonials) are shown inside the lightbox only */
.mfp-hide { display: none !important; }

/* page enter animation (replacement for Swup fade) */
@keyframes artFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.art-page-enter { animation: artFadeIn .55s ease-in-out; }

/* safety net: never leave the preloader on screen if JS fails */
@keyframes artPreloaderFallback { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.art-preloader { animation: artPreloaderFallback 0s 8s forwards; }

/* contact form feedback */
.art-form-response { margin-top: 20px; }
.art-form-ok { color: #4caf50; }
.art-form-error { color: #f44336; }
.art-contact-form button.art-btn { border: 0; cursor: pointer; }
.art-contact-form button.art-btn[disabled] { opacity: .6; cursor: wait; }

/* social share */
.social-share { margin-top: 15px; }
.social-share .share-btn { cursor: pointer; margin: 0 4px; color: inherit; }
.social-share .share-btn:hover { color: #FFC107; }

/* 404 */
.error-page { text-align: center; padding: 30px 0; }
.error-page__num { font-size: 96px; line-height: 1; font-weight: 700; margin-bottom: 15px; }

/* lightbox */
@keyframes artLbIn { from { opacity: 0; } to { opacity: 1; } }
.art-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(15, 15, 20, .92); display: flex; align-items: center; justify-content: center; animation: artLbIn .25s ease-out; }
.art-lb-stage { max-width: 92vw; max-height: 92vh; text-align: center; }
.art-lb-stage img { max-width: 92vw; max-height: 82vh; display: block; margin: 0 auto; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.art-lb-video { width: min(92vw, 1100px); aspect-ratio: 16 / 9; }
.art-lb-video iframe { width: 100%; height: 100%; }
.art-lb-inline { width: min(92vw, 560px); max-height: 88vh; overflow: auto; text-align: right; }
.art-lb-caption { margin-top: 12px; color: #cacace; font-size: 14px; }
.art-lb-count { opacity: .6; }
.art-lb-close, .art-lb-nav { position: absolute; background: transparent; border: 0; color: #fafafc; cursor: pointer; line-height: 1; opacity: .8; }
.art-lb-close:hover, .art-lb-nav:hover { opacity: 1; color: #FFC107; }
.art-lb-close { top: 14px; left: 22px; font-size: 44px; }
.art-lb-nav { top: 50%; transform: translateY(-50%); font-size: 64px; padding: 10px 18px; }
.art-lb-prev { right: 6px; }
.art-lb-next { left: 6px; }
