:root {
    --primary-color: #1a4b8c;
    --secondary-color: #e63946;
    --accent-color: #2a9d8f;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

body {
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.navbar {
    background-color: rgba(26, 75, 140, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--primary-color);
    padding: 5px 0;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;

    font-size: 12px;
}

.hero-section {
    background: linear-gradient(rgba(26, 75, 140, 0.85), rgba(26, 75, 140, 0.9)), url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 8px 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.center-title:after {
    left: 50%;
    transform: translateX(-50%);
}

.journal-info {
    background-color: var(--light-color);
    padding: 80px 0;
}

.info-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    margin-bottom: 30px;
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-top: 4px solid var(--primary-color);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.info-card i {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.indexing-badges img {
    max-height: 70px;
    margin-right: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.indexing-badges img:hover {
    transform: scale(1.05);
}

.current-issue {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

.issue-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
    max-width: 500px;
    margin: 0 auto;
}

.issue-card:hover {
    transform: translateY(-10px);
}

.issue-cover {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.issue-cover img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.issue-cover:before {
    display: none;
}

.issue-content {
    padding: 25px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-text {
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ РЕДАКЦИОННОЙ КОЛЛЕГИИ */
.editorial-board {
    padding: 80px 0;
}

.editorial-board .row {
    display: flex;
    flex-wrap: wrap;
}

.editorial-board .col-lg-4,
.editorial-board .col-md-6 {
    display: flex;
    margin-bottom: 30px;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 75, 140, 0.1);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.team-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.flag-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 20px;
    border-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.team-info {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.team-info h5 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
    line-height: 1.3;
    flex-shrink: 0;
}

.position-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.position-badge.member {
    background: linear-gradient(135deg, #e63946 0%, #d00000 100%);
}

.position-badge.candidate {
    background: linear-gradient(135deg, #2a9d8f 0%, #1a759f 100%);
}

.team-info .text-muted {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.country-tag {
    display: inline-flex;
    align-items: center;
    background: var(--light-color);
    color: var(--dark-color);
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-top: auto;
    flex-shrink: 0;
    align-self: center;
}

.country-tag i {
    color: var(--secondary-color);
    font-size: 0.7rem;
    margin-right: 5px;
}

.for-authors {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a4b8c 0%, #2a5ba0 100%);
    color: white;
}

.author-steps {
    counter-reset: step-counter;
}

.author-step {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.author-step:before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-card:before {
    content: """;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 4rem;
    color: rgba(26, 75, 140, 0.1);
    font-family: Georgia, serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 15px;
}

.contact-section {
    padding: 80px 0;
}

.contact-info {
    background: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    height: 100%;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 30px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid #555;
    padding-top: 20px;
    margin-top: 60px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #153a6d;
    border-color: #153a6d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-light {
    border-radius: 30px;
    padding: 12px 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.floating-subscribe {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.subscribe-btn {
    background: var(--secondary-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.subscribe-btn:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.6);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* Медиа-запросы */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section {
        padding: 120px 0 80px;
    }

    .section-title {
        text-align: center;
    }

    .section-title:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .stat-number {
        font-size: 2.5rem;
    }
    
    .issue-card {
        max-width: 100%;
        margin: 0 15px;
    }

    /* Адаптивность для редакционной коллегии */
    .editorial-board .row {
        display: block;
    }
    
    .editorial-board .col-lg-4,
    .editorial-board .col-md-6 {
        display: block;
    }
    
    .team-img {
        height: 160px;
        font-size: 2.5rem;
    }
    
    .team-info {
        padding: 20px 15px;
    }
    
    .team-info h5 {
        font-size: 1rem;
    }

    .team-info .text-muted {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .issue-content {
        padding: 20px 15px;
    }
    
    .btn-primary, .btn-outline-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .editorial-board .col-lg-4 {
        display: flex;
    }
}
.articles-page {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    min-height: 100vh;
}

.articles-header {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 5px solid var(--primary-color);
}

.articles-controls {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.search-box {
    position: relative;
}

.search-box input {
    padding-left: 45px;
    border-radius: 25px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 75, 140, 0.1);
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    z-index: 5;
}

.filter-select {
    border-radius: 25px;
    border: 2px solid #e9ecef;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.filter-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 75, 140, 0.1);
}

.article-card {
    background: white;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(26, 75, 140, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.article-header {
    padding: 25px 25px 15px;
    border-bottom: 1px solid #e9ecef;
    flex-shrink: 0;
}

.article-title {
    margin-bottom: 12px;
}

.article-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: block;
}

.article-title a:hover {
    color: var(--secondary-color);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.85rem;
}

.meta-item i {
    margin-right: 5px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.article-content {
    padding: 20px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-abstract {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.article-keywords {
    margin-bottom: 20px;
}

.keyword-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e63946 0%, #d00000 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.keyword-badge:hover {
    transform: scale(1.05);
    text-decoration: none;
    color: white;
}

.article-footer {
    padding: 15px 25px 25px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.article-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
    border-radius: 20px;
}

.download-btn {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.download-btn:hover {
    background: #23857a;
    border-color: #23857a;
    transform: translateY(-2px);
}

.article-stats {
    display: flex;
    gap: 15px;
}

.stat {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 0.8rem;
}

.stat i {
    margin-right: 4px;
    font-size: 0.9rem;
}

.citations {
    color: var(--secondary-color);
}

.views {
    color: var(--primary-color);
}

/* ПАГИНАЦИЯ */
.pagination-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    background: white;
    border-radius: 25px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-link {
    border: none;
    color: var(--primary-color);
    padding: 8px 16px;
    margin: 0 3px;
    border-radius: 15px !important;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* БОКОВАЯ ПАНЕЛЬ ФИЛЬТРОВ */
.sidebar-filter {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 20px;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-checkbox {
    margin-bottom: 10px;
}

.filter-checkbox input {
    margin-right: 8px;
}

.filter-checkbox label {
    color: #555;
    font-size: 0.9rem;
    cursor: pointer;
}

.date-inputs {
    display: flex;
    gap: 10px;
}

.date-inputs input {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 8px 12px;
    font-size: 0.85rem;
    flex: 1;
}

.results-count {
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .articles-header {
        padding: 20px;
    }

    .article-meta {
        flex-direction: column;
        gap: 8px;
    }

    .article-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .article-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .date-inputs {
        flex-direction: column;
    }

    .articles-controls .row > div {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .articles-page {
        padding: 20px 0;
    }

    .article-header,
    .article-content,
    .article-footer {
        padding: 15px 20px;
    }

    .article-title a {
        font-size: 1.1rem;
    }
}

/* АНИМАЦИИ ДЛЯ СТРАНИЦЫ */
.article-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(6) { animation-delay: 0.6s; }

/* ИНДИКАТОР ЗАГРУЗКИ */
.loading-articles {
    text-align: center;
    padding: 40px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* ДЕТАЛЬНАЯ СТРАНИЦА СТАТЬИ */
.article-detail-page {
    padding: 40px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    min-height: 100vh;
}

.article-detail-header {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left: 6px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.article-detail-header:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 0 0 0 100%;
    opacity: 0.1;
}

.article-title {
    color: var(--primary-color);
    font-size: 2.3rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.article-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
    padding: 25px;
    background: var(--light-color);
    border-radius: 15px;
}

.meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.meta-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.meta-content h6 {
    color: var(--dark-color);
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: 600;
}

.meta-content p {
    color: #555;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.authors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.author-tag {
    background: linear-gradient(135deg, var(--accent-color) 0%, #1a759f 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    display: inline-block;
}

.article-stats-bar {
    display: flex;
    gap: 25px;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.9rem;
}

.stat-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.stat-item.citations i {
    color: var(--secondary-color);
}

.stat-item.downloads i {
    color: var(--accent-color);
}

.article-actions-bar {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.action-btn.primary {
    background: var(--primary-color);
    color: white;
}

.action-btn.secondary {
    background: var(--secondary-color);
    color: white;
}

.action-btn.outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
}

.action-btn.outline:hover {
    background: var(--primary-color);
}

/* ОСНОВНОЙ КОНТЕНТ СТАТЬИ */
.article-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 40px;
}

.article-main-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-card h5 {
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
    font-size: 1.1rem;
}

.abstract-section {
    margin-bottom: 35px;
}

.section-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--secondary-color);
}

.abstract-text {
    color: #444;
    line-height: 1.7;
    font-size: 1.05rem;
    text-align: justify;
}

.keywords-section {
    margin-bottom: 35px;
}

.keywords-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.keyword-tag {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #d00000 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.keyword-tag:hover {
    transform: scale(1.05);
    color: white;
    text-decoration: none;
}

.full-text-section {
    margin-bottom: 35px;
}

.download-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--light-color);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.download-link:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateX(5px);
    color: var(--dark-color);
    text-decoration: none;
}

.download-link i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 20px;
}

.references-section {
    margin-bottom: 35px;
}

.references-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.references-list li {
    padding: 12px 0;
    border-bottom: 1px solid #e9ecef;
    color: #444;
    line-height: 1.5;
}

.references-list li:last-child {
    border-bottom: none;
}

.reference-number {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 8px;
}

.citation-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5ba0 100%);
    color: white;
    border-radius: 15px;
    padding: 30px;
    margin-top: 20px;
}

.citation-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.citation-text {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.citation-format-select {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 8px;
    padding: 8px 15px;
    margin-bottom: 15px;
}

.citation-format-select option {
    background: var(--primary-color);
    color: white;
}

.related-articles {
    margin-top: 50px;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.related-article-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent-color);
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.related-article-title {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.3;
}

.related-article-meta {
    color: #666;
    font-size: 0.8rem;
    display: flex;
    gap: 10px;
}

/* НАВИГАЦИЯ ПО СТАТЬЕ */
.article-navigation {
    background: white;
    border-radius: 15px;
    padding: 0;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 20px;
}



.nav-item:last-child {
    border-bottom: none;
}

.nav-item:hover, .nav-item.active {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.nav-item:hover i, .nav-item.active i {
    color: white;
}

.nav-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 1200px) {
    .article-content-wrapper {
        grid-template-columns: 1fr 250px;
    }
}

@media (max-width: 992px) {
    .article-content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-sidebar {
        order: -1;
    }

    .article-navigation {
        position: static;
    }
}

@media (max-width: 768px) {
    .article-detail-header {
        padding: 25px;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-main-content {
        padding: 25px;
    }

    .article-meta-grid {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .article-stats-bar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .article-actions-bar {
        justify-content: center;
    }

    .action-btn {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .article-detail-page {
        padding: 20px 0;
    }

    .article-detail-header {
        padding: 20px;
        border-radius: 15px;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .article-main-content {
        padding: 20px;
        border-radius: 15px;
    }

    .sidebar-card {
        padding: 20px;
    }

    .section-title {
        font-size: 1.2rem;
    }
}

/* ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ФОРМАТИРОВАНИЯ ТЕКСТА */
.article-text {
    line-height: 1.8;
    color: #333;
}

.article-text h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.6rem;
}

.article-text h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.article-text p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.article-text ul, .article-text ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-text li {
    margin-bottom: 0.5rem;
}

.article-text blockquote {
    border-left: 4px solid var(--accent-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: #555;
    font-style: italic;
}

.article-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.article-text table th {
    background: var(--primary-color);
    color: white;
    padding: 12px;
    text-align: left;
}

.article-text table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e9ecef;
}

.article-text table tr:nth-child(even) {
    background: var(--light-color);
}
.partners {
    padding: 80px 0;
    background-color: #f8f9fa;
    overflow: hidden;
}

.partners h2 {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-weight: 700;
    font-size: 32px;
}

.partners h2 i {
    margin-right: 12px;
    color: #3498db;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 30px 0;
}

.carousel-track {
    display: flex;
    animation: scroll 35s linear infinite;
    width: max-content;
}

.carousel-track:hover {
    animation-play-state: paused;
}

.partner-logo {
    height: 70px; /* Увеличена высота логотипов */
    width: auto;
    margin: 0 50px; /* Увеличены отступы между логотипами */
    object-fit: contain;
    /* Убрано свойство filter: grayscale(100%); */
    opacity: 0.9; /* Немного уменьшена прозрачность */
    transition: all 0.3s ease;
}

.partner-logo:hover {
    /* Убрано свойство filter: grayscale(0%); */
    opacity: 1;
    transform: scale(1.08); /* Увеличен эффект при наведении */
}

/* Анимация бесконечной прокрутки */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Градиентные края для визуального эффекта */
.carousel-container::before,
.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px; /* Увеличены градиентные области */
    z-index: 2;
    pointer-events: none;
}

.carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa, transparent);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
    .partners {
        padding: 60px 0;
    }

    .partners h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .partner-logo {
        height: 100px;
        margin: 0 35px;
    }
}

@media (max-width: 768px) {
    .partners {
        padding: 50px 0;
    }

    .partners h2 {
        font-size: 24px;
        margin-bottom: 35px;
    }

    .partner-logo {
        height: 85px;
        margin: 0 25px;
    }

    .carousel-track {
        animation-duration: 25s;
    }

    .carousel-container::before,
    .carousel-container::after {
        width: 80px;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        height: 70px;
        margin: 0 20px;
    }

    .carousel-container::before,
    .carousel-container::after {
        width: 50px;
    }
}