

/* Start:/local/templates/fdplast/components/bitrix/news/esrever_map/bitrix/news.list/.default/style.css?17907538087787*/
:root {
    --brand-color: #242c59;
    --brand-color-light: #3a4580;
    --brand-color-lighter: #5a66a3;
    --brand-color-soft: #f0f2fa;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --border-color: #e1e8ed;
    --card-shadow: 0 4px 6px rgba(36, 44, 89, 0.1);
    --card-shadow-hover: 0 8px 15px rgba(36, 44, 89, 0.15);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.news-list-wrapper {
    max-width: 1770px;
    margin: 0 auto;

    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.news-list-header {
    margin-bottom: 30px;
}

.news-list-header h2 {
    color: var(--brand-color);
    font-size: 28px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.news-list-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--brand-color);
    border-radius: 2px;
}

.news-list-container {
    display: flex;
    gap: 30px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

/* Левая колонка */
.news-list-left {
    flex: 0 0 380px;
    background: #fff;
    border-right: 1px solid var(--border-color);
    max-height: 800px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--brand-color-lighter) var(--brand-color-soft);
}

.news-list-left::-webkit-scrollbar {
    width: 6px;
}

.news-list-left::-webkit-scrollbar-track {
    background: var(--brand-color-soft);
}

.news-list-left::-webkit-scrollbar-thumb {
    background-color: var(--brand-color-lighter);
    border-radius: 20px;
}

.left-header {
    padding: 20px;
    background: var(--brand-color);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.left-header h3 {
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.left-header h3 span {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.news-items-list {
    padding: 15px;
}

.news-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.news-item:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
    border-color: var(--brand-color-lighter);
}

.news-item.active {
    border-color: var(--brand-color);
    box-shadow: 0 0 0 2px var(--brand-color-soft);
}

.news-item-header {
    padding: 15px;
    background: var(--brand-color-soft);
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-item-icon {
    width: 40px;
    height: 40px;
    background: var(--brand-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.news-item-title {
    flex: 1;
}

.news-item-title h4 {
    color: var(--brand-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.news-item-type {
    display: inline-block;
    padding: 4px 10px;
    background: white;
    border-radius: 20px;
    font-size: 12px;
    color: var(--text-secondary);
}

.news-item-properties {
    padding: 15px;
}

.property-item {
    display: flex;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.property-item:last-child {
    margin-bottom: 0;
}

.property-label {
    width: 100px;
    color: var(--text-secondary);
    font-weight: 400;
}

.property-value {
    flex: 1;
    color: var(--text-primary);
    font-weight: 500;
    word-break: break-word;
}

.property-value a {
    color: var(--brand-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--brand-color-lighter);
    transition: var(--transition);
    word-break: break-all;
}

.property-value a:hover {
    color: var(--brand-color-light);
    border-bottom-color: var(--brand-color);
}

.property-value a[target="_blank"]::after {
    content: " ↗";
    font-size: 12px;
    opacity: 0.7;
}

/* Правая колонка */
.news-list-right {
    flex: 1;
    padding: 20px;
    background: #fafbfc;
}

.map-header {
    margin-bottom: 20px;
}

.map-header h3 {
    color: var(--brand-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.map-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.filter-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--brand-color);
}

.filter-color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.filter-label {
    font-size: 14px;
    color: var(--text-primary);
}

.map-container {
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}

#map {
    width: 100%;
    height: 100%;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .news-list-container {
        flex-direction: column;
    }

    .news-list-left {
        flex: none;
        max-width: 100%;
        max-height: 500px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
}

@media (max-width: 768px) {
    .news-list-wrapper {
        padding: 10px;
    }

    .map-filters {
        flex-direction: column;
        gap: 10px;
    }

    .filter-item {
        width: 100%;
    }

    .property-item {
        flex-direction: column;
    }

    .property-label {
        width: 100%;
        margin-bottom: 4px;
    }
}

@media (max-width: 480px) {
    .news-item-header {
        flex-wrap: wrap;
    }

    .news-item-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .news-item-title h4 {
        font-size: 14px;
    }

    .map-container {
        height: 400px;
    }
}

/* Кастомный балун Яндекс.Карт */
.ymaps-2-1-79-balloon__layout {
    border-radius: 16px !important;
    overflow: hidden !important;
}

.ymaps-2-1-79-balloon__content {
    padding: 15px !important;
}

.custom-balloon {
    max-width: 250px;
}

.custom-balloon h4 {
    color: var(--brand-color);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-color);
}

.custom-balloon p {
    margin: 5px 0;
    font-size: 13px;
}

.custom-balloon strong {
    color: var(--text-secondary);
    font-weight: 500;
    display: inline-block;
    min-width: 70px;
}

.custom-balloon a {
    color: var(--brand-color);
    text-decoration: none;
    border-bottom: 1px dashed var(--brand-color-lighter);
}

.custom-balloon a:hover {
    color: var(--brand-color-light);
    border-bottom-color: var(--brand-color);
}

.debug-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.debug-info summary {
    color: var(--brand-color);
    font-weight: 600;
    cursor: pointer;
    padding: 10px;
}

.debug-info pre {
    margin-top: 10px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 12px;
}

.empty-message {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    background: var(--brand-color-soft);
    border-radius: 16px;
}
/* End */
/* /local/templates/fdplast/components/bitrix/news/esrever_map/bitrix/news.list/.default/style.css?17907538087787 */
