.section-details {
    padding-top: 180px !important;
}

.article-header {
    animation: fadeInDown 0.6s ease-out;
}

.article-main-title {
    font-size: 42px;
    font-weight: 700;
    color: #1f2121;
    margin: 24px 0 16px 0;
    line-height: 1.2;
    word-break: break-word;
    overflow-wrap: break-word;
}

.article-main-desc {
    font-size: 16px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.article-meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.meta-item i {
    color: #2180cd;
    font-size: 18px;
}

.btn-gradient {
    background: linear-gradient(135deg, #2180cd 0%, #1a6aa8 100%);
    color: white !important;
    border: none;
    padding: 8px 16px !important;
    border-radius: 20px;
}

.topic-tag,
.region-tag {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.topic-tag:hover,
.region-tag:hover {
    text-decoration: none !important;
    color: #2180cd !important;
}

.bg-6 {
    background: linear-gradient(135deg, rgba(33, 128, 205, 0.08) 0%, rgba(26, 106, 168, 0.08) 100%) !important;
    border: 1px solid rgba(33, 128, 205, 0.15);
    transition: all 0.3s ease;
}

.bg-6:hover {
    background: linear-gradient(135deg, rgba(33, 128, 205, 0.15) 0%, rgba(26, 106, 168, 0.15) 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 128, 205, 0.15);
}

.bg-6 p {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-6 h6 {
    font-weight: 600;
    margin: 4px 0 0 0;
    color: #1f2121;
}

.article-main-content {
    line-height: 1.8;
    color: #555;
}

.article-main-content h2,
.article-main-content h3,
.article-main-content h4,
.article-main-content h5,
.article-main-content h6 {
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1f2121;
    font-weight: 700;
    line-height: 1.3;
}

.article-main-content h2 { font-size: 26px; }
.article-main-content h3 { font-size: 22px; }
.article-main-content h4 { font-size: 18px; }
.article-main-content h5 { font-size: 16px; }
.article-main-content h6 { font-size: 14px; }

.article-main-content p {
    color: #555;
    margin-bottom: 16px;
}

.article-main-content ul,
.article-main-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-main-content li {
    margin-bottom: 10px;
    color: #555;
}

.article-main-content a {
    color: #2180cd;
    text-decoration: none;
}

.article-main-content a:hover {
    text-decoration: underline;
    color: #1a6aa8;
}

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

.article-share-sidebar,
.article-toc-sidebar {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.article-share-sidebar { 
    top: 180px;
    max-height: auto;
    z-index: 100;
}

.article-toc-sidebar {
    position: sticky;
    top: 380px;
    max-height: 60vh;
    overflow-y: auto;
}

.toc-header,
.share-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #333;
    letter-spacing: 0.5px;
}

.toc-header i,
.share-header i {
    color: #2180cd;
}

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

.toc-list li {
    margin: 0;
}

.toc-list a {
    display: block;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    border-left: 3px solid transparent;
    padding-left: 12px;
    transition: all 0.2s ease;
}

.toc-list a:hover,
.toc-list a.active {
    color: #2180cd;
    border-left-color: #2180cd;
    font-weight: 500;
}

.toc-list li.level-2 a {
    padding-left: 24px;
}

.toc-list li.level-3 a {
    padding-left: 36px;
    color: #999;
}

.toc-list li.level-4 a {
    padding-left: 48px;
    color: #999;
}

.toc-list li.level-5 a {
    padding-left: 60px;
    color: #bbb;
}

.toc-list li.level-6 a {
    padding-left: 72px;
    color: #bbb;
}

.share-buttons-sovet {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.share-buttons-sovet a,
.share-buttons-sovet button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    color: #2180cd;
    text-decoration: none;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
}

.share-buttons-sovet a:hover,
.share-buttons-sovet button:hover {
    background-color: #2180cd;
    border-color: #2180cd;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 128, 205, 0.2);
}

.share-buttons-sovet svg,
.share-buttons-sovet img {
    width: 20px;
    height: 20px;
}

.widget-quote {
    border-left: 5px solid #2180cd;
    padding: 28px;
    margin: 30px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #f5f9ff 100%);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 2px 8px rgba(33, 128, 205, 0.08);
}

.widget-quote-text {
    font-style: italic;
    color: #1f2121;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.widget-quote-author {
    color: #666;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(33, 128, 205, 0.2);
}

.widget-thesis {
    background: linear-gradient(135deg, #2180cd 0%, #1a6aa8 100%);
    color: white;
    padding: 32px;
    border-radius: 8px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(33, 128, 205, 0.25);
}

.widget-thesis::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.widget-thesis-content {
    position: relative;
    z-index: 1;
}

.widget-thesis-title {
    font-weight: 700;
    margin-bottom: 12px;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.widget-thesis-text {
    line-height: 1.6;
    opacity: 0.98;
}

.widget-highlight {
    display: flex;
    gap: 18px;
    padding: 22px;
    margin: 25px 0;
    border-radius: 8px;
    align-items: flex-start;
}

.widget-highlight.color-blue {
    background: linear-gradient(135deg, #e8f2ff 0%, #f0f8ff 100%);
    border-left: 5px solid #2180cd;
}

.widget-highlight.color-green {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 100%);
    border-left: 5px solid #4caf50;
}

.widget-highlight.color-orange {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 5px solid #ff9800;
}

.widget-highlight.color-red {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-left: 5px solid #f44336;
}

.widget-highlight-icon {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.widget-highlight.color-blue .widget-highlight-icon { color: #2180cd; }
.widget-highlight.color-green .widget-highlight-icon { color: #4caf50; }
.widget-highlight.color-orange .widget-highlight-icon { color: #ff9800; }
.widget-highlight.color-red .widget-highlight-icon { color: #f44336; }

.widget-highlight-text {
    line-height: 1.6;
    color: #333;
}

.widget-contact-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 32px;
    margin: 30px 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.widget-contact-title {
    font-weight: 700;
    margin-bottom: 28px;
    color: #1f2121;
    padding-bottom: 16px;
    border-bottom: 2px solid #2180cd;
}

.contact-field {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.contact-field:last-child {
    margin-bottom: 0;
}

.contact-field-icon {
    color: #2180cd;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    margin-top: 2px;
}

.contact-field-content {
    flex: 1;
}

.contact-field-label {
    color: #999;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.contact-field-value {
    color: #1f2121;
    word-break: break-word;
    line-height: 1.6;
}

.contact-field-value a {
    color: #2180cd;
    text-decoration: none;
}

.contact-field-value a:hover {
    text-decoration: underline;
}

.widget-icon-list {
    margin: 30px 0;
}

.widget-icon-list-title {
    font-weight: 700;
    margin-bottom: 24px;
    color: #1f2121;
}

.icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.icon-list-item {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    transition: background 0.3s ease;
}

.icon-list-item:hover {
    background: linear-gradient(135deg, rgba(33, 128, 205, 0.05) 0%, rgba(26, 106, 168, 0.05) 100%);
}

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

.icon-list-icon {
    color: #2180cd;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.icon-list-text {
    color: #555;
    line-height: 1.5;
}

.widget-related-inline {
    display: flex;
    gap: 18px;
    padding: 20px;
    margin: 24px 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #2180cd;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    align-items: center;
}

.widget-related-inline:hover {
    background: #f9f9f9;
    border-left-color: #1a6aa8;
    box-shadow: 0 6px 16px rgba(33, 128, 205, 0.18);
    transform: translateX(4px);
}

.widget-related-icon {
    color: #2180cd;
    flex-shrink: 0;
}

.widget-related-content {
    flex: 1;
}

.widget-related-title {
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #1f2121;
}

.widget-related-desc {
    color: #999;
    margin: 0;
    line-height: 1.4;
}

.widget-visual-list {
    margin: 30px 0;
}

.visual-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.visual-list-item {
    display: flex;
    gap: 18px;
    padding: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.visual-list-item:hover {
    border-color: #2180cd;
    box-shadow: 0 6px 16px rgba(33, 128, 205, 0.15);
}

.visual-list-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.visual-list.color-blue .visual-list-number {
    background: linear-gradient(135deg, #2180cd, #1a6aa8);
}

.visual-list.color-green .visual-list-number {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.visual-list.color-orange .visual-list-number {
    background: linear-gradient(135deg, #ff9800, #f57c00);
}

.visual-list.color-red .visual-list-number {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

.visual-list-text {
    flex: 1;
    color: #555;
    line-height: 1.6;
}

.card-article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-article {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    background: white;
}

.card-article:hover {
    border-color: #2180cd;
    box-shadow: 0 8px 24px rgba(33, 128, 205, 0.18);
    transform: translateY(-6px);
}

.card-image {
    height: 200px;
    overflow: hidden;
    background: #f0f0f0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-article:hover .card-image img {
    transform: scale(1.08);
}

.card-body {
    flex: 1;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.card-title {
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
    color: #1f2121;
}

.card-text {
    line-height: 1.5;
    flex: 1;
    color: #666;
}

.card-footer-meta {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.card-footer-meta .badge {
    background: linear-gradient(135deg, rgba(33, 128, 205, 0.1) 0%, rgba(26, 106, 168, 0.1) 100%) !important;
    color: #2180cd !important;
    font-weight: 600;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .article-sidebar {
        flex-direction: column;
    }

    .article-share-sidebar,
    .article-toc-sidebar {
        position: static;
        top: auto;
        max-height: none;
    }
}

@media (max-width: 768px) {
    .section-details {
        padding-top: 140px !important;
    }
    
    .article-main-title {
        font-size: 24px;
        line-height: 1.3;
        margin: 16px 0 12px 0;
    }
    
    .article-main-desc {
        font-size: 14px;
    }

    .article-header {
        padding: 0 12px;
    }
    
    .article-meta-info {
        flex-direction: column;
        gap: 12px;
        padding: 16px 0;
    }

    .meta-item {
        gap: 6px;
    }
    
    .btn-gradient {
        font-size: 12px;
        padding: 6px 12px !important;
    }
    
    .bg-6 {
        padding: 12px 16px !important;
        flex: 1 1 calc(50% - 8px);
        min-width: 160px;
    }

    .bg-6 h6 {
        font-weight: 600;
    }

    .bg-6 p {
        line-height: 1.2;
    }
    
    .article-main-content {
        padding: 0 0;
    }

    .article-main-content h2 { 
        font-size: 20px;
        margin-top: 30px;
        margin-bottom: 16px;
    }
    .article-main-content h3 { 
        font-size: 18px;
    }
    .article-main-content h4 { 
        font-size: 16px;
    }
    
    .widget-thesis {
        padding: 20px;
    }
    
    .widget-contact-card {
        padding: 20px;
    }

    .contact-field {
        gap: 12px;
        margin-bottom: 18px;
    }

    .widget-highlight {
        padding: 18px;
        gap: 12px;
    }

    .widget-highlight-icon {
        font-size: 22px;
    }

    .icon-list-item {
        padding: 14px 16px;
    }

    .visual-list-item {
        gap: 12px;
        padding: 16px;
    }

    .visual-list-number {
        min-width: 36px;
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .section-details {
        padding-top: 120px !important;
    }

    .article-main-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .container {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .article-meta-info {
        gap: 8px;
    }

    .meta-item {
        font-size: 13px;
    }

    .bg-6 {
        padding: 10px 12px !important;
        flex: 1 1 calc(50% - 8px);
    }

    .bg-6 p {
        font-size: 10px;
    }

    .bg-6 h6 {
        font-size: 12px;
    }

    .article-main-content {
        font-size: 15px;
    }

    .article-main-content h2 { 
        font-size: 18px;
    }
    .article-main-content h3 { 
        font-size: 16px;
    }

    .share-buttons-sovet {
        gap: 6px;
    }

    .share-buttons-sovet a,
    .share-buttons-sovet button {
        width: 36px;
        height: 36px;
    }
}

.article-toc-sidebar::-webkit-scrollbar {
    width: 6px;
}

.article-toc-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.article-toc-sidebar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.article-toc-sidebar::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.widget-related-image {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.widget-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
