/* ========================================
   ОБЛОЖКИ ВЫПУСКОВ И СТАТЕЙ
   ======================================== */

.obj_issue_toc .cover img {
    max-width: 200px;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

.obj_article_summary .cover {
    width: 120px;
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}

.obj_article_summary .cover img {
    width: 100% !important;
    max-width: 120px !important;
    max-height: 180px !important;
    height: auto !important;
    display: block;
    object-fit: cover;
}

.cmp_article_list .obj_article_summary .cover {
    width: 120px;
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}

.cmp_article_list .obj_article_summary .cover img {
    width: 100% !important;
    max-width: 120px !important;
    max-height: 180px !important;
    height: auto !important;
    object-fit: cover;
}

.obj_article_summary::after {
    content: "";
    display: table;
    clear: both;
}

/* ========================================
   PDF КНОПКИ
   ======================================== */

.galleys_links,
.galleys_links ul,
.cmp_article_list .galleys_links,
.obj_article_summary .galleys_links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.galleys_links li,
.cmp_article_list .galleys_links li,
.obj_article_summary .galleys_links li {
    list-style: none !important;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.galleys_links a.pdf,
.galleys_links a[href*=".pdf"],
.galleys_links a[href$=".pdf"] {
    border: 1px solid #999;
    padding: 6px 12px;
    display: inline-block;
    text-align: center;
    text-decoration: none !important;
    background-color: #1f618d !important;
    color: #ffffff !important;
    margin-bottom: 15px !important;
}

.galleys_links a.pdf:hover,
.galleys_links a[href*=".pdf"]:hover,
.galleys_links a[href$=".pdf"]:hover {
    background-color: #1a5276 !important;
    text-decoration: none !important;
}

/* PDF кнопки на странице статьи */
a.galley-link.pdf,
.download a.galley-link.pdf,
.galley_list a.galley-link.pdf {
    display: inline-block;
    padding: 6px 16px;
    background-color: #1f618d !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: none;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
}

a.galley-link.pdf:hover,
.download a.galley-link.pdf:hover {
    background-color: #1a5276 !important;
    text-decoration: none !important;
}

/* ========================================
   ССЫЛКИ В ТЕКСТЕ
   ======================================== */

.content a,
.article a,
.body a,
.description a,
.abstract a,
.item p a,
div p a,
.text a,
.obj_article_summary a,
.obj_issue_toc a,
.page_issue a,
.page_article a {
    color: #1f618d !important;
    text-decoration: none;
}

.content a:hover,
.article a:hover,
.body a:hover,
.description a:hover,
.abstract a:hover,
.item p a:hover,
div p a:hover,
.text a:hover,
.obj_article_summary a:hover,
.obj_issue_toc a:hover,
.page_issue a:hover,
.page_article a:hover {
    color: #1a5276 !important;
    text-decoration: underline;
}

/* Футер - белые ссылки */
footer.footer a,
footer.footer a:link,
footer.footer a:visited,
footer.footer h5 a,
footer.footer div a {
    color: #ffffff !important;
    text-decoration: none;
}

footer.footer a:hover {
    color: #cccccc !important;
    text-decoration: underline;
}

/* DOI ссылка в футере на белом фоне - чёрная */
footer.footer .col-md-4[style*="background-color: white"] a,
footer.footer .col-md-4[style*="background-color: white"] h5 a {
    color: #000000 !important;
}

footer.footer .col-md-4[style*="background-color: white"] a:hover {
    color: #333333 !important;
}

/* ========================================
   СПИСОК СТАТЕЙ
   ======================================== */

ul.cmp_article_list.articles {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

ul.cmp_article_list.articles li {
    list-style: none !important;
}

/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */

/* Широкие экраны */
@media (min-width: 1200px) {
    .obj_article_summary .cover,
    .cmp_article_list .obj_article_summary .cover {
        width: 180px;
    }

    .obj_article_summary .cover img,
    .cmp_article_list .obj_article_summary .cover img {
        max-width: 180px !important;
        max-height: 250px !important;
    }
}

@media (min-width: 1600px) {
    .obj_article_summary .cover,
    .cmp_article_list .obj_article_summary .cover {
        width: 220px;
    }

    .obj_article_summary .cover img,
    .cmp_article_list .obj_article_summary .cover img {
        max-width: 220px !important;
        max-height: 300px !important;
    }
}

/* iPad */
@media (min-width: 769px) and (max-width: 1024px) {
    h1.site-name .navbar-brand {
        font-size: 16px !important;
        line-height: 1.5 !important;
        white-space: normal !important;
        letter-spacing: 0.3px;
        height: auto !important;
    }
}

/* Мобильные */
@media (max-width: 768px) {
    .navbar.navbar-default {
        height: auto !important;
        min-height: auto !important;
    }

    .navbar-header {
        height: auto !important;
        min-height: auto !important;
        white-space: normal !important;
        float: none !important;
    }

    .site-header {
        padding: 10px 0;
    }

    .site-header .container {
        padding-bottom: 10px;
    }

    div.site-name,
    h1.site-name {
        margin: 0;
        padding: 0;
        float: none !important;
        width: 100% !important;
        display: block !important;
    }

    div.site-name a.navbar-brand,
    h1.site-name a.navbar-brand {
        display: block !important;
        height: auto !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        padding: 8px 12px !important;
    }

    h1.site-name .navbar-brand {
        font-size: 11px !important;
        line-height: 1.5 !important;
        white-space: normal !important;
        letter-spacing: 0.5px;
        text-transform: uppercase;
        font-weight: 600;
        padding: 8px 12px !important;
        height: auto !important;
        display: block;
        border-left: 3px solid #4a90e2;
    }

    .obj_issue_toc .cover img {
        max-width: 150px;
    }

    .obj_article_summary .cover,
    .cmp_article_list .obj_article_summary .cover {
        width: 100px;
        float: none;
        margin: 0 auto 10px auto;
        display: block;
        text-align: center;
    }

    .obj_article_summary .cover img,
    .cmp_article_list .obj_article_summary .cover img {
        max-width: 100px !important;
        max-height: 150px !important;
    }
}