/* Стили для страницы лидаров 2 */

/* Основной контейнер */
.lidars-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Заголовок */
.lidars-header {
    margin-bottom: 40px;
}

.lidars-header-content {
    margin-bottom: 30px;
}

.lidars-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--theme-color, #1e3a8a);
    margin: 0;
}

/* Два столбца: текст и 3 изображения по вертикали */
.lidars-two-columns {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.lidars-column-text {
    flex: 1;
}

.lidars-column-images {
    flex: 0 0 25%; /* Фиксированная ширина на четверть страницы */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.lidars-small-image {
    width: 100%;
}

.lidars-small-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Изображение общего вида лидара в тексте */
.lidars-main-image-inline {
    margin-bottom: 20px;
    text-align: center;
}

.lidars-main-image-inline img {
    max-width: 300px; /* Фиксированная ширина 300px */
    width: 100%;
    height: auto;
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

/* Таблицы */
.lidars-table-section,
.lidars-tables-section {
    margin-bottom: 40px;
}

.lidars-table-container {
    margin-bottom: 30px;
    overflow-x: auto;
}

.lidars-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lidars-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 16px;
}

.lidars-table tr:last-child td {
    border-bottom: none;
}

.lidars-table tr:nth-child(even) {
    background-color: #f9fafb;
}

/* Списки */
.lidars-list-section,
.lidars-text-list-section {
    margin-bottom: 40px;
}

.lidars-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.lidars-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.lidars-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--theme-color, #1e3a8a);
    font-weight: bold;
}

/* Изображение оптической схемы */
.lidars-image-section {
    margin-bottom: 40px;
    text-align: center;
}

.lidars-image-section .lidars-image-item {
    display: inline-block;
    max-width: 50%; /* Половина страницы */
}

.lidars-image-section img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

/* Титульная секция */
.lidars-title-section {
    margin-bottom: 40px;
    text-align: center;
}

.lidars-main-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--theme-color, #1e3a8a);
    margin: 0;
}

/* Раздел 1: горизонтальные изображения */
.lidars-section-1 {
    margin-bottom: 40px;
}

.lidars-horizontal-images {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.lidars-horizontal-images .lidars-image-item {
    flex: 1;
}

.lidars-horizontal-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

/* Раздел 2: изображения с подписями */
.lidars-section-2 {
    margin-bottom: 40px;
}

.lidars-captioned-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.lidars-captioned-images .lidars-image-item {
    width: 100%;
}

.lidars-captioned-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Подписи к изображениям */
.lidars-image-caption {
    margin-top: 10px;
    text-align: center;
}

.lidars-image-caption h3 {
    font-size: 16px;
    font-weight: 600;
    color: #666;
    margin: 0;
}

/* Общие стили */
.lidars-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--theme-color, #1e3a8a);
    margin: 0 0 20px 0;
}

.lidars-text {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    text-align: justify;
    margin-bottom: 20px;
}

/* Дополнительная секция */
.lidars-additional-section {
    margin-bottom: 40px;
}

.lidars-additional-images {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

.lidars-additional-images .lidars-image-item {
    flex: 1;
}

.lidars-additional-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.lidars-sub-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--theme-color, #1e3a8a);
    margin: 30px 0 20px 0;
}

/* Полная ширина изображения */
.lidars-full-width-image {
    margin: 20px 0;
    text-align: center;
}

.lidars-full-width-image img {
    max-width: 70%; /* Уменьшаем до 70% от полной ширины */
    width: 100%;
    height: auto;
    border-radius: 8px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

/* Кнопка возврата */
.lidars-back {
    margin-top: 60px;
    text-align: center;
}

.back-to-developments {
    display: inline-block;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--theme-color, #1e3a8a);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background: #1e40af;
}

.back-icon {
    font-size: 18px;
}

.back-text {
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .lidars-two-columns {
        flex-direction: column;
    }
    
    .lidars-column-images {
        flex: none;
        width: 100%;
    }
    
    .lidars-horizontal-images,
    .lidars-additional-images {
        flex-direction: column;
    }
    
    .lidars-image-section .lidars-image-item {
        max-width: 100%;
    }
    
    .lidars-main-image .lidars-image-item {
        max-width: 100%;
    }
}