        /* Основные стили */
        body {
            font-family: 'Comic Sans MS', cursive, sans-serif;
            margin: 0;
            padding: 0;
            background: linear-gradient(to right, #ffcccc, #ffe6e6);
            color: #333;
        }
        header {
            background-color: #ff99cc;
            padding: 10px;
            color: #fff;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
            position: relative;
            z-index: 10;
        }
        
.burger-menu {
    position: relative;
}

.burger-checkbox {
    display: none;
}

.burger-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    align-items: center; /* Центрируем иконку по горизонтали */
    justify-content: center; /* Центрируем иконку по вертикали */
}

.burger-icon span {
    height: 3px;
    width: 25px;
    background: #fff;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.burger-checkbox:checked ~ .burger-icon {
    transform: rotate(90deg); /* Поворот иконки */
}

.burger-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffc0cb;
    width: 100%;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 10px 10px;
}

.burger-checkbox:checked ~ .burger-nav {
    display: block;
}

.burger-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

.burger-nav ul li {
    padding: 10px;
    transition: background 0.3s ease;
}

.burger-nav ul li:hover {
    background: #ffb6c1;
}

.burger-nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 18px;
}
/* Обновленные стили для контейнера новостей */
#dle-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 20px;
}

.news-item {
    flex: 1 1 calc(33.333% - 20px); /* 33.333% ширины с учетом отступов */
    box-sizing: border-box; /* Учитывает отступы и границы в общей ширине */
    background: #ffe6f2;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.news-item:hover {
    transform: scale(1.05);
}

/* Мобильные стили */
@media (max-width: 1024px) {
    .news-item {
        flex: 1 1 calc(50% - 20px); /* Две колонки для экранов до 1024px */
    }
}

@media (max-width: 768px) {
    .news-item {
        flex: 1 1 100%; /* Один столбец для экранов меньше 768px */
              
    }
}
        
        /* Основные стили для короткой новости */
/* Стили для новостей */
.news-item {
    background: #ffe6f2;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 400px; /* Задайте максимальную ширину, подходящую для вашего дизайна */
    margin: auto; /* Центрирует элементы по горизонтали */
}

@media (min-width: 1024px) {
    .news-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.news-item:hover {
    transform: scale(1.05);
}

.news-image-container {
    position: relative;
    text-align: center;
    margin-bottom: 15px;
    overflow: hidden; /* Убирает все, что выходит за границы контейнера */
    border-radius: 10px; /* Скругляет углы контейнера для создания эффекта обрезки */
}

.news-image {
    width: 100%;
    height: 400px; /* Задайте фиксированную высоту для всех изображений */
    object-fit: cover; /* Обрезает изображение, сохраняя его пропорции */
    border-radius: 10px; /* Скругляет углы изображения */
}


.verified-stamp {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    color: #ff6699;
}

.news-title {
    font-size: 20px;
    color: #ff3385;
    margin-bottom: 10px;
    text-align: center;
}

.news-meta {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 10px;
}

.news-content {
    font-size: 16px;
    color: #333;
    text-align: justify;
    margin-bottom: 15px;
}

.news-details {
    margin-bottom: 15px;
}

.news-details table {
    width: 100%;
    border-collapse: collapse;
}

.news-details th, .news-details td {
    padding: 8px;
    border: 1px solid #da5d5d;
}

.news-details th {
    text-align: left;
    background: #ffb6c1;
}

.call-button {
    display: inline-block;
    background: #ff3385;
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
}

.call-button:hover {
    background: #ff6699;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .news-item {
        margin-bottom: 15px;
    }
}
    
    .full-news-container {
    max-width: 800px; /* Задает максимальную ширину контейнера */
    margin: 0 auto; /* Центрирует контейнер по горизонтали */
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.full-news-header {
    text-align: center;
    margin-bottom: 20px;
}

.full-news-title {
    font-size: 24px;
    color: #ff3385;
}

.full-news-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.phone-button {
    font-size: 30px;
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #ffc5e2, #ff66b2);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease;
    -webkit-box-shadow: 4px 4px 12px 5px rgba(34, 60, 80, 0.2);
-moz-box-shadow: 4px 4px 12px 5px rgba(34, 60, 80, 0.2);
box-shadow: 4px 4px 12px 5px rgba(34, 60, 80, 0.2);
}

.phone-button:hover {
    background: #ff3385;
}

.full-news-image-container {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
}

.full-news-image {
    width: 100%;
    height: 300px; /* Задайте фиксированную высоту для изображения */
    object-fit: cover;
    border-radius: 10px;
}

.verified-stamp {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6699;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
}

.full-news-details {
    margin-bottom: 20px;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.details-table td {
    padding: 10px;
    border: 1px solid #fb1616;
}

.full-news-description {
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
    text-align: justify;
}

.service-list {
    list-style-type: none; /* Убираем стандартные маркеры списка */
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Разрешаем перенос элементов на следующую строку */
}

.service-list li {
    position: relative;
    width: 30%; /* Устанавливаем ширину для 3 колонок */
    margin-bottom: 10px; /* Расстояние между пунктами */
    padding-left: 30px; /* Отступ для маркера */
}

.service-list li::before {
    content: '\2714'; /* HTML сущность для галочки (?) */
    position: absolute;
    left: 0;
    top: 0;
    color: green; /* Цвет галочки */
    font-size: 1.2rem; /* Размер галочки */
    line-height: 1.2; /* Высота строки для выравнивания галочки с текстом */
}



#carousel {
    position: relative;
    width: 450px; /* Ширина карусели */
    height: 700px; /* Высота карусели */
    overflow: hidden;
    margin: 0 auto; /* Центрирование карусели */
    border-radius: 15px; /* Скругление углов карусели */
}

#carousel ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    position: relative;
    width: 100%;
    height: 100%;
    box-sizing: border-box; /* Учитываем внутренние отступы и границы */
    display: flex; /* Используем flexbox для размещения элементов */
}

#carousel li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    list-style-type: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex; /* Используем flexbox для выравнивания изображений внутри li */
    align-items: center; /* Вертикальное центрирование */
    justify-content: center; /* Горизонтальное центрирование */
}

#carousel li.active {
    opacity: 1; /* Показываем только активное изображение */
    z-index: 2; /* Поднимаем активное изображение выше остальных */
}

#carousel li img {
    width: auto; /* Изменяем ширину, сохраняя пропорции */
    height: 100%;
    max-width: 100%; /* Чтобы изображение не выходило за пределы карусели */
    object-fit: cover; /* Масштабируем изображение, сохраняя пропорции */
    display: block; /* Убираем возможные отступы снизу */
    border-radius: 15px; /* Скругление углов изображений */
    
}





.carousel-control {
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
    color: white; /* Цвет текста */
    border: none; /* Без рамки */
    padding: 10px 20px; /* Отступы */
    font-size: 24px; /* Размер текста */
    cursor: pointer; /* Курсор в виде руки при наведении */
    position: absolute;
    top: 50%; /* Расположение по центру вертикали */
    transform: translateY(-50%);
    z-index: 2; /* Поверх остальных элементов */
}

#prev {
    left: 10px; /* Расположение слева */
}

#next {
    right: 10px; /* Расположение справа */
}

.carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.7); /* Темнее при наведении */
}

.site-footer {
    background-color: #f8f8f8;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #ddd;
    
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-section {
    margin: 10px 0;
}

.footer-section p {
    margin: 5px 0;
    font-size: 14px;
}

.footer-section a {
    color: #007bff;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-content::before,
.footer-content::after {
    content: "";
    display: block;
    width: 50px;
    height: 1px;
    background: #ddd;
    margin: 10px auto;
}

.footer-content::before {
    margin-bottom: 15px;
}

.footer-content::after {
    margin-top: 15px;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    background: #f5f5f5; /* Фоновый цвет для выделения блока */
    border-bottom: 2px solid #ddd; /* Линия под блоком */
}

.hero-image {
    width: 30%;
    max-width: 600px; /* Максимальная ширина изображения */
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333; /* Цвет заголовка */
}

.hero-text p {
    font-size: 1.2rem;
    color: #666; /* Цвет текста */
}

     
    .column {
    -webkit-column-width: 200px;
    -moz-column-width: 200px;
    column-width: 200px;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
    -webkit-column-rule: 1px solid #ccc;
    -moz-column-rule: 1px solid #ccc;
    column-rule: 1px solid #ccc;
   }
             .column1 {
    -webkit-column-width: 100px;
    -moz-column-width: 100px;
    column-width: 100px;
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
    -webkit-column-rule: 1px solid #ccc;
    -moz-column-rule: 1px solid #ccc;
    column-rule: 1px solid #ccc;
   } 
         
         
.column2 {
    -webkit-column-width: 80px;
    -moz-column-width: 80px;
    column-width: 80px;
    -webkit-column-count: 5;
    -moz-column-count: 5;
    column-count: 5;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
    -webkit-column-rule: 1px solid #ccc;
    -moz-column-rule: 1px solid #ccc;
    column-rule: 1px solid #ccc;
   } 
         
  
a.button1 {
  position: relative;
  display: inline-block;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  text-shadow: rgba(255,255,255,.5) 1px 1px, rgba(100,100,100,.3) 3px 7px 3px;
  user-select: none;
  padding: 1em 2em;
  outline: none;
  border-radius: 3px / 100%;
  background-image:
   linear-gradient(45deg, rgba(255,255,255,.0) 30%, rgba(255,255,255,.8), rgba(255,255,255,.0) 70%),
   linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0) 20%, rgba(255,255,255,0) 90%, rgba(255,255,255,.3)),
   linear-gradient(to right, rgba(201,0,0,1), rgba(255,255,255,.9) 45%, rgba(125,125,125,.5)),
   linear-gradient(to right, rgba(125,125,125,1), rgba(255,255,255,.9) 45%, rgba(125,125,125,.5)),
   linear-gradient(to right, rgba(223,190,170,1), rgba(255,255,255,.9) 45%, rgba(223,190,170,.5)),
   linear-gradient(to right, rgba(223,190,170,1), rgba(255,255,255,.9) 45%, rgba(223,190,170,.5));
  background-repeat: no-repeat;
  background-size: 200% 100%, auto, 100% 2px, 100% 2px, 100% 1px, 100% 1px;
  background-position: 200% 0, 0 0, 0 0, 0 100%, 0 4px, 0 calc(100% - 4px);
  box-shadow: rgba(0,0,0,.5) 3px 10px 10px -10px;
}
a.button1:hover {
  transition: .5s linear;
  background-position: -200% 0, 0 0, 0 0, 0 100%, 0 4px, 0 calc(100% - 4px);
}
a.button1:active {
  top: 1px;
}       
             

        
.gorod {    font-size: 20px;
                line-height: 1.5;
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
            .gorod:hover, .gorod:focus, .gorod:active {
  -webkit-transform: scale(1.1) rotate(4deg);
  transform: scale(1.1) rotate(4deg);
}
                        a.gorod {text-decoration:none; color:#007bff; font-size: 16px;} 
                        address.gorod {text-decoration:none; color:#007bff;}  
        .popup h1,.popup h2,.popup h3{
    color:green;
    text-shadow:0 1px 3px rgba(0,0,0,.3);
    font-weight:400}
.popup h1{
    font-size:24px}
.popup h2{
    font-size:1.5em}
.popup h3{
    font-size:1.2em}
.overlay{
    top:0;
    right:0;
    bottom:0;
    left:0;
    z-index:9999;
    visibility:hidden;
    background-color:rgba(0,0,0,.7);
    opacity:0;
    position:fixed;
    cursor:default;
    -webkit-transition:all .6s;
    -moz-transition:all .6s;
    -ms-transition:all .6s;
    -o-transition:all .6s;
    transition:all .6s}
.overlay:target{
    visibility:visible;
    opacity:1}
.popup{
    top:0;
    right:0;
    left:50%;
    font-size:14px;
    font-family:Tahoma,Arial,sans-serif;
    z-index:10000;
    margin:0 auto;
    width:100%;
    min-width:320px;
    max-width:950px;
    position:fixed;
    padding:15px;
    border:1px solid #383838;
    -webkit-border-radius:4px;
    -moz-border-radius:4px;
    -ms-border-radius:4px;
    border-radius:4px;
    background-color:#fffFFFcf;
    -webkit-box-shadow:0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow:0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -ms-box-shadow:0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -o-box-shadow:0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow:0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    -webkit-transform:translate(-50%,-150%);
    -ms-transform:translate(-50%,-150%);
    -o-transform:translate(-50%,-150%);
    transform:translate(-50%,-150%);
    -webkit-transition:transform .6s ease-out;
    -moz-transition:transform .6s ease-out;
    -ms-transition:transform .6s ease-out;
    -o-transition:transform .6s ease-out;
    transition:transform .6s ease-out}
.overlay:target+.popup{
    top:50%;
    -webkit-transform:translate(-50%,-50%);
    -ms-transform:translate(-50%,-50%);
    -o-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%)}
.close{
    position:absolute;
    padding:0;
    top:-10px;
    right:-10px;
    width:22px;
    height:22px;
    border:2px solid #ccc;
    -webkit-border-radius:50%;
    -moz-border-radius:50%;
    -ms-border-radius:50%;
    -o-border-radius:50%;
    border-radius:50%;
    background-color:rgba(61,61,61,.8);
    -webkit-box-shadow:0 0 10px #000;
    -moz-box-shadow:0 0 10px #000;
    box-shadow:0 0 10px #000;
    text-align:center;
    text-decoration:none;
    font-weight:700;
    line-height:20px;
    -webkit-transition:background-color ease .7s;
    -moz-transition:background-color ease .7s;
    -ms-transition:background-color ease .7s;
    -o-transition:background-color ease .7s;
    transition:background-color ease .7s}
.close:before{
    color:rgba(255,255,255,.9);
    content:'\2715';
    text-shadow:0 -1px rgba(0,0,0,.9);
    font-size:12px}
.close:hover{
    background-color:rgba(252,20,0,.8)}
.popup p{
    margin:0;
    padding:10px}
@media only screen and (min-width:768px) and (max-width:959px){
    .popup{
            width:80%}
    }@media only screen and (min-width:320px) and (max-width:767px){
        .popup{
                width:80%}
        }.popup img{
        display:block;
        border:none;
        width:80%;
        height:auto}
    .close:hover{
    background:#00d9ff}
.non {list-style-type: none;}



/* Центрирование кнопок */
.button-container {
    display: flex;
    justify-content: center;
    gap: 15px; /* Расстояние между кнопками */
    flex-wrap: wrap; /* Чтобы кнопки переносились на новую строку на маленьких экранах */
    margin: 20px 0;
}

/* Стили для кнопок */
.styledButton {
    padding: 10px 20px;
    background-color: #ff69b4; /* Розовый цвет */
    border: none;
    border-radius: 25px; /* Закругленные углы */
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.3s;
}

/* Эффект наведения на кнопки */
.styledButton:hover {
    background-color: #ff1493; /* Более тёмный оттенок розового при наведении */
    transform: translateY(-2px); /* Лёгкий эффект подъёма */
}

/* Фокус при нажатии */
.styledButton:active {
    background-color: #ff007f; /* Цвет при нажатии */
    transform: translateY(0); /* Убираем подъём */
}

/* Стили скрытых блоков */
.hiddenBlock {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f0f0;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}

/* Адаптивность для маленьких экранов */
@media (max-width: 600px) {
    .styledButton {
        width: 100%; /* Кнопки растягиваются на всю ширину экрана */
        margin-bottom: 10px;
    }
}