/* Хлебные крошки */
.breadcrumbs {
    background: #f8f9fa;
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumbs .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumbs a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: #0f172a;
}

.breadcrumbs .separator {
    color: #6c757d;
    margin: 0 8px;
}

.breadcrumbs .current {
    color: #495057;
    font-weight: 500;
}

/* Категории и теги */
.categories-list {
    list-style: none;
    padding: 0;
}

.categories-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.categories-list a {
    color: #495057;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.categories-list a:hover {
    color: #1e293b;
}

.recent-articles {
    list-style: none;
    padding: 0;
}

.recent-articles li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.recent-articles li:last-child {
    border-bottom: none;
}

.recent-articles a {
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
    display: block;
    transition: color 0.3s;
}

.recent-articles a:hover {
    color: #1e293b;
}

/* FAQ Section */
.faq-section {
    margin: 40px 0;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.faq-item {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #dee2e6;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.faq-item h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.faq-item p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Блоки с информацией */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid;
}

.alert-info {
    background-color: #e3f2fd;
    border-color: #2196f3;
    color: #0c5460;
}

.alert-success {
    background-color: #e8f5e9;
    border-color: #4caf50;
    color: #155724;
}

.alert strong {
    font-weight: 600;
}

/* CTA блоки */
.cta-block,
.calculator-banner,
.bottom-cta {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 30px 0;
}

.cta-block h3,
.calculator-banner h3,
.bottom-cta h2 {
    color: white !important;
    margin-bottom: 15px;
}

.cta-block p,
.calculator-banner p,
.bottom-cta p {
    color: white !important;
    opacity: 0.95;
    margin-bottom: 20px;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 18px;
}

/* Таблицы с ценами */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.price-table thead {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
}

.price-table th {
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.price-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.price-table tbody tr:hover {
    background-color: #f8f9fa;
}

.price-table tbody tr:last-child td {
    border-bottom: none;
}

/* Карточки транспорта */
.transport-types,
.cargo-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.transport-card,
.cargo-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.transport-card:hover,
.cargo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.transport-card h3,
.cargo-card h4 {
    color: #333;
    margin-bottom: 10px;
}

.transport-card p,
.cargo-card p {
    color: #6c757d;
    margin-bottom: 10px;
}

/* Related Articles */
.related-articles {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.related-articles h2 {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}

.related-articles ul {
    list-style: none;
    padding: 0;
}

.related-articles li {
    padding: 10px 0;
}

.related-articles a {
    color: #1e293b;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.related-articles a:before {
    content: "→";
    margin-right: 10px;
    font-weight: bold;
}

.related-articles a:hover {
    color: #0f172a;
}

/* Testimonial */
.testimonial-block {
    background: #f8f9fa;
    padding: 30px;
    border-left: 4px solid #1e293b;
    margin: 30px 0;
    border-radius: 8px;
}

.testimonial-block blockquote {
    margin: 0;
    font-style: italic;
    color: #495057;
    font-size: 18px;
    line-height: 1.6;
}

.testimonial-block cite {
    display: block;
    margin-top: 15px;
    color: #6c757d;
    font-size: 14px;
    font-style: normal;
}

/* Sticky widget */
.sticky-widget {
    position: sticky;
    top: 20px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Mobile optimization */
@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 12px;
    }
    
    .transport-types,
    .cargo-types {
        grid-template-columns: 1fr;
    }
    
    .price-table {
        font-size: 14px;
    }
    
    .price-table th,
    .price-table td {
        padding: 8px;
    }
    
    .sticky-widget {
        position: static;
    }
}

/* Списки с иконками */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
    font-size: 18px;
}

.docs-list {
    list-style: none;
    padding: 0;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.docs-list li {
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.docs-list li:last-child {
    border-bottom: none;
}

/* Route features */
.route-features {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 30px 0;
}

.route-features h3 {
    color: #333;
    margin-bottom: 15px;
}

.route-features ul {
    list-style-position: inside;
    color: #6c757d;
}

.route-features ul li {
    margin-bottom: 10px;
}

/* Save tips */
.save-tips {
    background: linear-gradient(to right, #f8f9fa 0%, #fff 100%);
    padding: 20px 20px 20px 40px;
    border-radius: 10px;
    margin: 30px 0;
    border-left: 4px solid #4caf50;
}

.save-tips li {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #495057;
}

.save-tips li strong {
    color: #333;
    display: inline-block;
    margin-right: 5px;
}

/* Стили для блоков на главной странице блога */
.blog-sidebar .blog-widgets {
    margin: 30px 0 !important;
}

.blog-sidebar .blog-widgets .card {
    border: 1px solid #e9ecef !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 25px !important;
    transition: box-shadow 0.3s !important;
    background: white !important;
}

.blog-sidebar .blog-widgets .card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1) !important;
}

.blog-sidebar .blog-widgets .card-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    padding: 15px 20px !important;
    border-radius: 10px 10px 0 0 !important;
    border: none !important;
}

.blog-sidebar .blog-widgets .card-body {
    padding: 20px !important;
    background: white !important;
}

.blog-sidebar .blog-widgets .list-group {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.blog-sidebar .blog-widgets .list-group-item {
    padding: 12px 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    background: transparent !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-radius: 0 !important;
}

.blog-sidebar .blog-widgets .list-group-item:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.blog-sidebar .blog-widgets .list-group-item a {
    color: #495057 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    transition: all 0.3s !important;
    display: block !important;
    padding: 5px 10px !important;
    border-radius: 5px !important;
}

.blog-sidebar .blog-widgets .list-group-item a:hover {
    color: #1e293b !important;
    background: #f8f9fa !important;
    padding-left: 15px !important;
}

/* Категории с подсчетом статей */
.blog-sidebar .blog-widgets .category-item {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.blog-sidebar .blog-widgets .category-count {
    background: #1e293b !important;
    color: white !important;
    font-size: 12px !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    min-width: 20px !important;
    text-align: center !important;
}