body {
    background-color: #f2f4f6 !important;
    color: #333 !important;
}

.obj_galley_link.pdf {
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(225,235,245,0.9) 100%) !important;
    color: #005580 !important;
    padding: 6px 18px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: 1px solid rgba(0, 85, 128, 0.2) !important;
    border-radius: 2px !important;
    display: inline-flex !important;
    align-items: center;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.obj_galley_link.pdf::after {
    content: ' \1F4C4';
    margin-left: 8px;
    font-size: 13px;
    filter: saturate(0) opacity(0.7);
}

.obj_galley_link.pdf:hover {
    background: #005580 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
    border-color: #00334d !important;
}

.obj_galley_link.pdf:hover::after {
    filter: brightness(5);
}

.block_make_submission_link {
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(225,235,245,0.9) 100%) !important;
    color: #005580 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 12px 20px !important;
    width: 100% !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    text-decoration: none !important;
    border: 1px solid rgba(0, 85, 128, 0.2) !important;
    border-radius: 2px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.block_make_submission_link:hover {
    background: #005580 !important;
    color: #ffffff !important;
    border-color: #00334d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(0, 85, 128, 0.3) !important;
}

.obj_galley_link.pdf::before,
.block_make_submission_link::before,
html body .submit button.submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    ) !important;
    transition: all 0.8s ease !important;
    z-index: 2;
}

.obj_galley_link.pdf:hover::before,
.block_make_submission_link:hover::before,
html body .submit button.submit:hover::before {
    left: 150%;
}

html body .pkp_navigation_primary_wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 42px !important;
    margin: 15px 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    border-bottom: 2px solid rgba(0, 85, 128, 0.1) !important;
}

html body .pkp_navigation_primary {
    display: flex !important;
    flex-shrink: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 0 !important;
}

html body .pkp_navigation_primary > li {
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    display: flex !important;
    gap: 0 !important;
}

html body .pkp_navigation_primary > li > a {
    height: 40px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    color: #005580 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-top: 1px solid rgba(0, 85, 128, 0.1) !important;
    border-bottom: none !important;
    border-left: 1px solid rgba(0, 85, 128, 0.1) !important;
    border-right: none !important;
    margin: 0 !important;
    margin-right: -1px !important;
    background-image: 
        linear-gradient(#005580, #005580), 
        linear-gradient(#005580, #005580),
        linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(225,235,245,0.7) 100%) !important;
    background-position: left center, right center, center center !important;
    background-size: 0% 100%, 0% 100%, 100% 100% !important;
    background-repeat: no-repeat !important;
    transition: background-size 0.4s cubic-bezier(0.7, 0, 0.3, 1), color 0.3s !important;
}

html body .pkp_navigation_primary > li:first-child > a {
    border-left: 1px solid rgba(0, 85, 128, 0.1) !important;
}

html body .pkp_navigation_primary > li:last-child > a {
    border-right: 1px solid rgba(0, 85, 128, 0.1) !important;
    margin-right: 0 !important;
}

html body .pkp_navigation_primary > li:hover > a {
    background-size: 51% 100%, 51% 100%, 100% 100% !important;
    color: #ffffff !important;
    z-index: 1 !important;
}

html body .pkp_navigation_primary li:has(ul) > a::after {
    content: '▾' !important;
    display: inline-block !important;
    margin-left: 8px !important;
    font-size: 12px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
    vertical-align: middle !important;
}

@media (max-width: 991px) {
    html body .pkp_navigation_primary li:has(ul) > a::after {
        font-size: 20px !important;
    }
}

html body .pkp_navigation_primary ul {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    display: block !important; 
    transform: scaleY(0) !important;
    transform-origin: top !important;
    visibility: hidden;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1), opacity 0.3s, visibility 0.4s !important;
    z-index: 1000 !important;
    background: #fff !important;
    border: 1px solid #005580 !important;
    min-width: 220px !important; 
    padding: 5px 0 !important; 
    list-style: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
}

html body .pkp_navigation_primary ul li {
    display: block !important;
    width: 100% !important;
}

html body .pkp_navigation_primary ul li a {
    display: block !important;
    width: 100% !important;
    padding: 10px 20px !important;
    color: #005580 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(225,235,245,0.9) 100%) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border-bottom: 1px solid rgba(0, 85, 128, 0.05) !important;
}

html body .pkp_navigation_primary ul li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: all 0.8s ease !important;
    z-index: 2;
}

html body .pkp_navigation_primary ul li a:hover {
    background: #005580 !important;
    color: #ffffff !important;
    border-bottom: 1px solid transparent !important;
}

html body .pkp_navigation_primary ul li a:hover::before {
    left: 150%;
}

html body .pkp_navigation_primary ul li:last-child a {
    border-bottom: none !important;
}

html body .pkp_navigation_primary li:hover > ul {
    visibility: visible !important;
    opacity: 1 !important;
    transform: scaleY(1) !important;
}

html body .pkp_navigation_primary ul ul {
    top: 0 !important;
    left: 100% !important;
}

.page_login .buttons button {
  right: 13px;
}

html body .pkp_page_login .pkp_form button[type="submit"].submit,
html body .pkp_page_login .pkp_form .buttons a.register,
html body #login .buttons button.submit,
html body #login .buttons a.register,
html body .pkp_navigation_user li.profile a,
html body .submit button.submit {
    appearance: none !important;
    -webkit-appearance: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    height: 40px !important;
    padding: 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    color: #005580 !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    border: 1px solid rgba(0, 85, 128, 0.2) !important;
    border-radius: 2px !important;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(225,235,245,0.9) 100%) !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    z-index: 1 !important;
}

html body .pkp_navigation_user li.profile a {
    height: 38px !important;
    font-size: 11px !important;
    margin-right: -1px !important;
}

html body .pkp_page_login .pkp_form button[type="submit"].submit:hover,
html body .pkp_page_login .pkp_form .buttons a.register:hover,
html body #login .buttons button.submit:hover,
html body #login .buttons a.register:hover,
html body .pkp_navigation_user li.profile a:hover,
html body .submit button.submit:hover {
    background: #005580 !important;
    color: #ffffff !important;
    border-color: #00334d !important;
    box-shadow: 0 5px 15px rgba(0, 85, 128, 0.2) !important;
    text-decoration: none !important;
    z-index: 2 !important;
    transform: none !important; 
}

html body .pkp_page_login .pkp_form button[type="submit"].submit::before,
html body .pkp_page_login .pkp_form .buttons a.register::before,
html body #login .buttons button.submit::before,
html body #login .buttons a.register::before,
html body .pkp_navigation_user li.profile a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: all 0.8s ease !important;
    z-index: 2;
}

html body .pkp_page_login .pkp_form button[type="submit"].submit:hover::before,
html body .pkp_page_login .pkp_form .buttons a.register:hover::before,
html body #login .buttons button.submit:hover::before,
html body #login .buttons a.register:hover::before,
html body .pkp_navigation_user li.profile a:hover::before,
html body .submit button.submit:hover::before {
    left: 150%;
}

.page_search .submit button::after {
    content: none !important;
    display: none !important;
}

html body .submit button.submit {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23005580' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat 15px center, 
        linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(225,235,245,0.9) 100%) !important;
    
    color: #005580 !important;
    border: 1px solid rgba(0, 85, 128, 0.2) !important;
    border-radius: 2px !important;
    
    height: 40px !important;
    padding: 0 20px 0 40px !important;
    
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease !important;
    
    text-indent: 0 !important;
}

html body .submit button.submit:hover {
    background: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E") no-repeat 15px center, 
        #005580 !important;
    color: #ffffff !important;
}

html body .submit button.submit::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -150% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: all 0.8s ease !important;
}

html body .submit button.submit:hover::before {
    left: 150% !important;
}

html body .pkp_form .buttons a.register {
    margin-left: 15px !important;
}

html body .pkp_navigation_user {
    display: flex !important;
    justify-content: flex-end !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

@media (max-width: 991px) {
    html body .pkp_navigation_user {
        justify-content: flex-start !important;
    }
}

html body .pkp_navigation_user li.profile {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .pkp_block.block_information .content li a,
html body .pkp_block.block_language .content li a,
html body .pkp_block.block_developed_by .content a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: 40px !important;
    padding: 0 15px !important;
    margin-bottom: 8px !important;
    color: #005580 !important;
    font-family: inherit !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-align: center !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(225,235,245,0.9) 100%) !important;
    border: 1px solid rgba(0, 85, 128, 0.2) !important;
    border-radius: 2px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

html body .pkp_block.block_information .content ul,
html body .pkp_block.block_language .content ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

html body .pkp_block.block_information .content li a:hover,
html body .pkp_block.block_language .content li a:hover,
html body .pkp_block.block_developed_by .content a:hover {
    background: #005580 !important;
    color: #ffffff !important;
    border-color: #00334d !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 85, 128, 0.2) !important;
    text-decoration: none !important;
}

html body .pkp_block.block_information .content li a::before,
html body .pkp_block.block_language .content li a::before,
html body .pkp_block.block_developed_by .content a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent) !important;
    transition: all 0.8s ease !important;
    z-index: 2;
}

html body .pkp_block.block_information .content li a:hover::before,
html body .pkp_block.block_language .content li a:hover::before,
html body .pkp_block.block_developed_by .content a:hover::before {
    left: 150%;
}

html body .pkp_block.block_language .content li.current a {
    border-color: #005580 !important;
    background: rgba(0, 85, 128, 0.05) !important;
}

@media (max-width: 991px) {
    html body .pkp_navigation_primary ul {
        display: block !important;
        background: rgba(255, 255, 255, 0.98) !important;
        border: 1px solid rgba(0, 85, 128, 0.2) !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 5px 15px 15px 0 !important; 
        list-style: none !important;
        box-sizing: border-box !important;
        width: auto !important;
        max-width: calc(100% - 15px) !important;
    }

    html body .pkp_navigation_primary ul li {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    html body .pkp_navigation_primary ul li a {
        display: block !important;
        padding: 10px 8px !important;
        color: #005580 !important;
        font-family: inherit !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        letter-spacing: -0.15px !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        background-color: transparent !important;
        background-image: 
            linear-gradient(#005580, #005580), 
            linear-gradient(#005580, #005580) !important;
        background-position: left center, right center !important;
        background-size: 0% 100%, 0% 100% !important;
        background-repeat: no-repeat !important;
        transition: background-size 0.12s ease-out, color 0.1s !important;
        border-bottom: 1px solid rgba(0, 85, 128, 0.05) !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    html body .pkp_navigation_primary ul li a:hover, 
    html body .pkp_navigation_primary ul li a:focus,
    html body .pkp_navigation_primary ul li a:active {
        background-size: 51% 100%, 51% 100% !important;
        color: #ffffff !important;
        text-decoration: none !important;
    }

    html body .pkp_navigation_primary ul li:last-child a {
        border-bottom: none !important;
    }
}

html body .pkp_navigation_user ul.dropdown-menu {
    min-width: 220px !important; 
    padding: 5px 0 !important;
    background: #fff !important;
    border: 1px solid #005580 !important;
    display: block !important; 
}

html body .pkp_navigation_user ul.dropdown-menu li {
    display: block !important; 
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body .pkp_navigation_user ul.dropdown-menu li a {
    display: block !important; 
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 10px 20px !important; 
    margin: 0 !important;
    border: none !important; 
    border-radius: 0 !important; 
    background: transparent !important; 
    text-align: left !important; 
    justify-content: flex-start !important;
    height: auto !important; 
    transform: none !important; 
    box-shadow: none !important; 
}

html body .pkp_navigation_user ul.dropdown-menu li a:hover {
    background: #005580 !important; 
    color: #ffffff !important;
    border: none !important;
    transform: none !important;
}

html body .pkp_navigation_user ul.dropdown-menu li a .task_count {
    background: rgba(0, 85, 128, 0.1);
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    font-size: 10px;
}

html body .pkp_navigation_user ul.dropdown-menu li a:hover .task_count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.page_submissions .submission_sections li,
.page_submissions .submission_checklist li {
    padding: 10px 10px 10px 10px;
}

.page_submissions .submission_checklist ul li:last-child br,
.page_submissions .submission_sections ul li:last-child br {
    display: none !important;
}

.fa-check::before {
  content: none !important;
  display: none !important;
}

@media (max-width: 991px) {
  html body .pkp_navigation_primary_wrapper {
    margin: 10px 0 !important;
    height: auto !important;
    border-bottom: none !important;
  }
  
  .pkp_navigation_user.pkp_navigation_user {
    top: 10px !important;
  }
  
  html body ul#navigationPrimary.pkp_navigation_primary,
  html body .pkp_navigation_primary.pkp_nav_list {
    display: block !important;
    flex-direction: unset !important;
  }
  
  html body .pkp_navigation_primary > li {
    display: block !important;
    width: 100% !important;
  }

  html body .pkp_navigation_primary > li > a {
    width: 300px;
  }

  html body .pkp_navigation_primary > li:last-child > a {
    border-right: none !important;
  }
}

@media (max-width: 991px) {
    .pkp_head_wrapper,
    .pkp_site_name_wrapper,
    .pkp_site_name,
    .pkp_site_name a.is_img {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    html, body {
        overflow-x: hidden !important;
    }
  .pkp_site_name a.is_img {
    left: -10%;
    position: relative !important;
  }
}

.pkp_head_wrapper,
.pkp_site_name_wrapper,
.pkp_site_name,
.pkp_site_name a.is_img {
  overflow: visible !important;
  position: relative !important;
}

.pkp_site_name {
  text-align: center !important;
}

.pkp_site_name a.is_img {
  display: inline-block !important;
  position: relative;
}

.pkp_site_name a.is_img img {
  position: relative;
  z-index: 10;
  display: block;
  margin: 0 auto;
}

html[lang*="en"] .pkp_site_name a.is_img::before,
html[lang*="en"] .pkp_site_name a.is_img::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 92%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
  transform: scaleX(-1);
  opacity: 0.58;
  filter: brightness(0.87) blur(1.1px);
  z-index: 2;
  pointer-events: none;
}

html[lang*="en"] .pkp_site_name a.is_img::before {
  left: -79%;
  background-image: url("https://psytir.org.ua/public/journals/2/pageHeaderLogoImage_en_US.jpg");
  mask-image: linear-gradient(to left, 
    rgba(0,0,0,0.78) 12%, 
    rgba(0,0,0,0.55) 38%, 
    rgba(0,0,0,0.22) 67%, 
    transparent 93%);
  -webkit-mask-image: linear-gradient(to left, 
    rgba(0,0,0,0.78) 12%, 
    rgba(0,0,0,0.55) 38%, 
    rgba(0,0,0,0.22) 67%, 
    transparent 93%);
}

html[lang*="en"] .pkp_site_name a.is_img::after {
  right: -79%;
  background-image: url("https://psytir.org.ua/public/journals/2/pageHeaderLogoImage_en_US.jpg");
  mask-image: linear-gradient(to right, 
    rgba(0,0,0,0.78) 12%, 
    rgba(0,0,0,0.55) 38%, 
    rgba(0,0,0,0.22) 67%, 
    transparent 93%);
  -webkit-mask-image: linear-gradient(to right, 
    rgba(0,0,0,0.78) 12%, 
    rgba(0,0,0,0.55) 38%, 
    rgba(0,0,0,0.22) 67%, 
    transparent 93%);
}

html[lang*="uk"] .pkp_site_name a.is_img::before,
html[lang*="uk"] .pkp_site_name a.is_img::after {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  width: 92%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
  transform: scaleX(-1);
  opacity: 0.58;
  filter: brightness(0.87) blur(1.1px);
  z-index: 2;
  pointer-events: none;
}

html[lang*="uk"] .pkp_site_name a.is_img::before {
  left: -79%;
  background-image: url("https://psytir.org.ua/public/journals/2/pageHeaderLogoImage_uk_UA.jpg");
  mask-image: linear-gradient(to left, 
    rgba(0,0,0,0.78) 12%, 
    rgba(0,0,0,0.55) 38%, 
    rgba(0,0,0,0.22) 67%, 
    transparent 93%);
  -webkit-mask-image: linear-gradient(to left, 
    rgba(0,0,0,0.78) 12%, 
    rgba(0,0,0,0.55) 38%, 
    rgba(0,0,0,0.22) 67%, 
    transparent 93%);
}

html[lang*="uk"] .pkp_site_name a.is_img::after {
  right: -79%;
  background-image: url("https://psytir.org.ua/public/journals/2/pageHeaderLogoImage_uk_UA.jpg");
  mask-image: linear-gradient(to right, 
    rgba(0,0,0,0.78) 12%, 
    rgba(0,0,0,0.55) 38%, 
    rgba(0,0,0,0.22) 67%, 
    transparent 93%);
  -webkit-mask-image: linear-gradient(to right, 
    rgba(0,0,0,0.78) 12%, 
    rgba(0,0,0,0.55) 38%, 
    rgba(0,0,0,0.22) 67%, 
    transparent 93%);
}

.obj_article_details .copyright ol[type="a"] {
  padding: 0px 5px 0px 10px !important;
}
