#serpent-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #0b0b0b;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease-out, visibility 0.8s ease-out;
}

#serpent-preloader img {
    width: 120px; 
    animation: ghost-fade 4s infinite ease-in-out;
}

@keyframes ghost-fade {
    0% { opacity: 0; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(0.98); }
}

.serpent-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
}

html, body {
    cursor: auto;
}
.qodef-portfolio-single-slider {
    max-height: 600px !important; 
    margin-bottom: 50px !important;
    
    /* Новые строки для ширины и центровки */
    max-width: 1800px !important; /* Ограничиваем ширину */
    margin-left: auto !important; /* Центрируем */
    margin-right: auto !important; /* Центрируем */
}

a, 
button, 
.elementor-button, 
.qodef-portfolio-item, 
.qodef-e-item,
input[type="submit"],
.clickable-snake {
  
    cursor: url('https://serpentskintattoo.com/wp-content/uploads/2026/02/shake-cursor48.png') 24 24, pointer !important;
}


#qodef-page-footer-top-area {
    padding-top: 80px !important;
    padding-bottom: 20px !important;
}


#qodef-page-footer-top-area-inner {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}


#qodef-page-footer-top-area .widget {
    margin-bottom: 15px !important;
}


html {
    scroll-padding-top: 110px !important; 
}


.qodef-portfolio-single-slider {
    max-height: 600px !important; 
    margin-bottom: 50px !important;
}

.qodef-portfolio-single-slider .swiper-slide {
    height: 600px !important; 
    width: auto !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    margin-right: 20px !important; 
}


.qodef-portfolio-single-slider .swiper-slide:last-child {
    margin-right: 0 !important;
}

.qodef-portfolio-single-slider .swiper-slide img {
    height: 100% !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important; 
}


div.sharedaddy,
div.sd-block,
div.jetpack-likes-widget-wrapper {
    display: none !important;
}

swiper-notification{
display: none !important;}
.qodef-blog.qodef--single article .qodef-e-info.qodef-info--top {
    margin-bottom: 10px !important;
}



.qodef-portofolio-categories,
.qodef-portofolio-tags {
    display: block !important;
    line-height: 1.8 !important; 
    margin-bottom: 20px !important;
}


.qodef-portofolio-categories h5,
.qodef-portofolio-tags h5,
.qodef-portfolio-date h5 {
    display: inline !important; 
    margin-right: 5px !important;
    color: #0b0b0b !important; 
}


.qodef-portfolio-category,
.qodef-portfolio-tag {
    color: #0b0b0b !important; 
    font-weight: 600 !important;
    display: inline !important; 
    transition: color 0.3s ease !important;
}


.qodef-portfolio-category:hover,
.qodef-portfolio-tag:hover {
    color: #888888 !important;
}


.qodef-portfolio-social-share {
    display: none !important;
}
/* Принудительно отключаем узкую сетку темы Tristero ТОЛЬКО НА ГЛАВНОЙ */
.home .qodef-content-grid,
.home .qodef-page-outer .qodef-content-grid {
    width: 100% !important;
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Страховка для самого Элементора ТОЛЬКО НА ГЛАВНОЙ */
.home .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 100% !important;
}