/* Ссылки в основной области контента */
.pkp_structure_main a:link,
.pkp_structure_main a:visited,
#main-content a:link,
#main-content a:visited,
.article-details a:link,
.article-details a:visited,
.content a:link,
.content a:visited {
    text-decoration: none;
    font-family: "lucida sans unicode", "lucida grande", sans-serif;
    color: #E38400;
    font-size: 14px;
    letter-spacing: 0.8pt;
    word-spacing: 1.2pt;
    font-weight: bold;
}

.pkp_structure_main a:hover,
#main-content a:hover,
.article-details a:hover,
.content a:hover {
    text-decoration: none;
    font-family: "lucida sans unicode", "lucida grande", sans-serif;
    color: #C46F00;
    font-size: 14px;
    letter-spacing: 0.8pt;
    word-spacing: 1.2pt;
    font-weight: bold;
}

.pkp_structure_main a:active,
#main-content a:active,
.article-details a:active,
.content a:active {
    text-decoration: none;
    font-family: "lucida sans unicode", "lucida grande", sans-serif;
    color: #E38400;
    font-size: 14px;
    letter-spacing: 0.8pt;
    word-spacing: 1.2pt;
    font-weight: bold;
}

a.name1:link,
a.name1:visited {
    text-decoration: none;
    font-family: "lucida sans unicode", "lucida grande", sans-serif;
    color: #E38400;
    font-size: 14px;
    letter-spacing: 0.8pt;
    word-spacing: 1.2pt;
    font-weight: bold;
}

a.name1:hover {
    text-decoration: none;
    font-family: "lucida sans unicode", "lucida grande", sans-serif;
    color: #661b00;
    font-size: 14px;
    letter-spacing: 0.8pt;
    word-spacing: 1.2pt;
}

a.name1:active {
    text-decoration: none;
    font-family: "lucida sans unicode", "lucida grande", sans-serif;
    color: #E38400;
    font-size: 14px;
    letter-spacing: 0.8pt;
    word-spacing: 1.2pt;
}


/* Основные кнопки — серая гамма */
.btn,
.btn-primary,
.btn-default,
.btn-success,
.btn-danger,
.btn-warning,
.btn-link,
a.btn,
a.btn-primary,
a.btn-default,
button.btn,
input[type="submit"],
input[type="button"] {
    color: #ffffff !important;
    background-color: #8c8c8c !important; /* Основной серый */
    border-color: #6e6e6e !important;      /* Тёмно-серая граница */
    font-weight: normal !important;
    font-family: "lucida sans unicode", "lucida grande", sans-serif !important;
    font-size: 14px !important;
    letter-spacing: 0.8pt !important;
    word-spacing: 1.2pt !important;
    text-decoration: none !important;
    padding: 8px 16px !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
}

/* Кнопки при наведении (чуть темнее) */
.btn:hover,
.btn-primary:hover,
.btn-default:hover,
.btn-success:hover,
.btn-danger:hover,
.btn-warning:hover,
.btn-link:hover,
a.btn:hover,
a.btn-primary:hover,
a.btn-default:hover,
button.btn:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: #6e6e6e !important; /* Более тёмный серый */
    border-color: #555555 !important;
    color: #ffffff !important;
}

/* Кнопки при активном состоянии (клик) */
.btn:active,
.btn-primary:active,
a.btn:active,
button.btn:active {
    background-color: #555555 !important;
    border-color: #444444 !important;
    transform: scale(0.97) !important; /* Лёгкий эффект нажатия */
}

/* Кнопки в состоянии disabled (неактивные) */
.btn:disabled,
.btn-primary:disabled,
button.btn:disabled {
    background-color: #b3b3b3 !important;
    border-color: #999999 !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

/* Кнопка "Новая публикация" (если нужно выделить отдельно) */
a.btn-primary.submit-article,
a.btn-primary[href*="submission"],
a.btn-primary[href*="author"] {
    background-color: #8c8c8c !important;
    border-color: #6e6e6e !important;
    color: #ffffff !important;
}

a.btn-primary.submit-article:hover,
a.btn-primary[href*="submission"]:hover,
a.btn-primary[href*="author"]:hover {
    background-color: #6e6e6e !important;
    border-color: #555555 !important;
    color: #ffffff !important;
}


.head {
    font-family: "lucida sans unicode", "lucida grande", sans-serif;
    color: #E38400;
    font-size: 14px;
    letter-spacing: 0.8pt;
    word-spacing: 1.2pt;
    font-weight: bold;
}

.name {
    font-family: "lucida sans unicode", "lucida grande", sans-serif;
    color: #E38400;
    font-size: 14px;
    letter-spacing: 0.2pt;
    word-spacing: 1.2pt;
    padding-top: 10px;
}

.nameN {
    font-family: "lucida sans unicode", "lucida grande", sans-serif;
    color: #E38400;
    font-size: 14px;
    letter-spacing: 0.2pt;
    word-spacing: 1.2pt;
    padding-top: 10px;
    border: 2px solid black;
    padding: 2px;
}

.stat {
    font-family: Cambria, "Hoefler Text", "Liberation Serif", Times, "Times New Roman", serif;
    font-size: 14px;
    font-style: italic;
    word-spacing: 1pt;
}

.head1 {
    font-family: "lucida sans unicode", "lucida grande", sans-serif;
    color: #E38400;
    font-size: 14px;
    letter-spacing: 0.8pt;
    word-spacing: 1.2pt;
    font-weight: bold;
}


.pkp_structure_footer img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}


a[href*="setLocale"] {
    text-transform: capitalize;
}



/* Если кнопки с иконками (например, плюсик) — делаем их серыми */
.btn-icon,
.btn-icon:hover {
    background-color: #8c8c8c !important;
    border-color: #6e6e6e !important;
    color: #ffffff !important;
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .btn,
    .btn-primary,
    a.btn,
    a.btn-primary {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }
}