/* Стили для хлебных крошек и навигации */
.breadcrumb {
    background: transparent;
    padding: 0;
    border-radius: 0;
    margin: -6px 0 6px;
    border-left: 0;
    box-shadow: none;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
    line-height: 1.25;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.breadcrumb-item a:hover {
    background-color: rgba(0,123,255,0.1);
    text-decoration: underline;
}

.breadcrumb-item.current {
    color: #6c757d;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #6c757d;
    margin: 0 1px;
    font-size: 12px;
}

/* Блок похожих статей */
.related-articles {
    margin-top: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.related-articles h3 {
    margin-top: 0;
    color: #28a745;
    font-size: 18px;
    margin-bottom: 15px;
}

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

.related-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.related-list li::before {
    content: '→';
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.related-list a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.related-list a:hover {
    text-decoration: underline;
}

/* Быстрая навигация */
.quick-nav {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quick-nav h4 {
    margin-top: 0;
    color: #495057;
    font-size: 16px;
    margin-bottom: 15px;
}

.quick-nav-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

.quick-nav-links a {
    color: #007bff;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #007bff;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
    min-width: 140px;
}

.quick-nav-links a:hover {
    background-color: #007bff;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,123,255,0.3);
}

/* Улучшенный back-link */
.enhanced-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #007bff;
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid #007bff;
    border-radius: 6px;
    background: transparent;
    transition: all 0.2s;
    font-size: 14px;
    margin-bottom: 20px;
}

.enhanced-back-link:hover {
    background-color: #007bff;
    color: white;
    transform: translateX(-2px);
}

.enhanced-back-link::before {
    content: '←';
    font-weight: bold;
}

/* Карта сайта в подвале */
.help-sitemap {
    margin-top: 50px;
    padding: 25px;
    background: #f1f3f4;
    border-radius: 8px;
    border-top: 3px solid #007bff;
}

.help-sitemap h3 {
    margin-top: 0;
    color: #007bff;
    text-align: center;
    margin-bottom: 20px;
}

.sitemap-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.sitemap-category h4 {
    color: #495057;
    margin-bottom: 10px;
    font-size: 16px;
    border-bottom: 2px solid #dee2e6;
    padding-bottom: 5px;
}

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

.sitemap-links li {
    margin-bottom: 5px;
}

.sitemap-links a {
    color: #007bff;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
}

.sitemap-links a:hover {
    text-decoration: underline;
}