/* Стили для табов годов */
.years-tabs-container {
    margin-bottom: 25px;
    border-bottom: 2px solid #e9ecef;
}

.years-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.year-tab {
    padding: 10px 25px;
    background: #006cc5;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 15px;
    text-decoration: none;
    font-family: inherit;
}

.year-tab:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,108,197,0.25);
}

.year-tab.active {
    background-color: #f15a2a;
    background-image: -webkit-linear-gradient(top, #f47426, #da831a);
    background-image: linear-gradient(to bottom, #f47426, #da831a);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(241, 90, 42, 0.35);
}

.year-tab-content {
    display: none;
}

.year-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .years-tabs {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .year-tab {
        width: 180px;
        text-align: center;
        padding: 8px 20px;
    }
}

/* Стили для контента */
.year-section {
    margin-bottom: 30px;
}

.year-header {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #007bff;
}

.info-block {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 18px;
    margin-bottom: 16px;
    transition: all 0.25s ease;
}

.info-block:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.news-title {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.info-block .date {
    font-weight: bold;
    color: #007bff;
    margin-bottom: 12px;
    font-size: 14px;
    background: #e3f2fd;
    padding: 6px 10px;
    border-radius: 4px;
    display: inline-block;
}

.preview-text {
    font-style: italic;
    color: #6c757d;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #fff;
    border-left: 3px solid #6c757d;
    border-radius: 4px;
    line-height: 1.5;
}

.detail-text {
    margin: 16px 0;
    line-height: 1.6;
    color: #495057;
    padding: 14px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #dee2e6;
}

.document-list {
    margin: 12px 0;
}

.document-item {
    margin: 5px 0;
    padding: 8px 12px;
    background: white;
    border-radius: 4px;
    border-left: 3px solid #007bff;
    transition: all 0.2s ease;
}

.document-item:hover {
    background: #f1f8ff;
    transform: translateX(2px);
}

.document-item a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
    display: block;
    line-height: 1.4;
}

.document-item a:hover {
    color: #003d7a;
    text-decoration: underline;
}

.additional-text, .final-text {
    margin: 12px 0;
    line-height: 1.6;
    color: #495057;
    padding: 10px 12px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.btn-primary {
    display: inline-block;
    padding: 10px 25px;
    background: #006cc5;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,108,197,0.25);
}

/* Убираем лишние отступы для лучшей читаемости */
.info-block > *:first-child {
    margin-top: 0;
}

.info-block > *:last-child {
    margin-bottom: 0;
}

.document-list > *:first-child {
    margin-top: 0;
}

.document-list > *:last-child {
    margin-bottom: 0;
}