.custom-widget {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
  
}

.custom-widget-image {
    position: relative;
}

.custom-widget-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.custom-widget-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: white;
    display: flex;
	z-index: 2;
    justify-content: space-between;
    align-items: center;
}

.custom-widget-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 46, 61, 0) 0%, rgba(11, 46, 61, 0.5) 100%);
    z-index: 1; /* Градиент накладывается поверх изображения */
    transition: background 0.3s ease;
}

.custom-widget:hover .custom-widget-gradient {
    background: linear-gradient(180deg, rgba(11, 46, 61, 0) 0%, rgba(11, 46, 61, 0.8) 100%);
}

.custom-widget-overlay h2 {
margin: 0;
    font-size: 22px;
    font-weight: 500;
    color: white;
	font-family: "Inter", Sans-serif;
}

.custom-widget-overlay svg {
    width: 17px;
    height: 17px;
    fill: white;
}

.custom-carousel-widget {
    position: relative;
    width: 100%;
}

.custom-carousel-slider{
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 30px;
}

.custom-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0;
}

.custom-carousel-title {
 font-family: "Inter", Sans-serif;
    font-size: 40px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #085678;
    margin: 0;
}

.custom-carousel-controls {
    display: flex;
    align-items: center;
 
}

.custom-carousel-button {
padding: 14px 18px;
    background-color: #fff;
    color: rgba(8, 86, 120, 1);
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(228, 236, 240, 1);
    margin-right: 15px;
	display: flex;
    align-items: center;
    gap: 20px;
}

.custom-carousel-button:hover {
    background-color: rgba(8, 86, 120, 1);
	 color: #fff;
}

.slick-prev, .slick-next {
    background-color: transparent;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex
;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    border: 1px solid rgba(228, 236, 240, 1);
}

.slick-prev:hover,
.slick-next:hover {
    background-color: #fff;
	   border-color: rgba(228, 236, 240, 1);
}

.slick-prev:active,
.slick-next:active {
    background-color: #fff;
	   border-color: rgba(228, 236, 240, 1);
}

.slick-prev:focus,
.slick-next:focus {
    background-color: #fff;
	   border-color: rgba(228, 236, 240, 1);
}

.slick-prev{
    border-right: 0;
    border-radius: 8px 0 0 8px;
}

.slick-next{
         border-radius: 0 8px 8px 0;
}

.custom-carousel-slider .custom-carousel-slide img {
    width: 100%;
    border-radius: 0px;
    object-fit: cover;
}

.custom-carousel-slider .slick-track {
    display: flex;
    gap: 20px; /* Добавляем равномерный gap */
}

.custom-carousel-slider .slick-slide {
    margin: 0; /* Убираем стандартные отступы */
}

.custom-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.custom-carousel-dots ul {
    display: flex;
    gap: 10px; /* Расстояние между дотами */
    padding: 0;
    margin: 0;
    list-style: none!important;
}

.custom-carousel-dots li {
    width: 29px;
    height: 3px;
    background-color: rgba(228, 236, 240, 1); /* Цвет неактивного дота */
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.custom-carousel-dots li.slick-active {
    background-color: rgba(2, 159, 227, 1); /* Цвет активного дота */
}

.custom-carousel-dots li button {
    display: none; /* Полностью скрываем внутренние кнопки */
}

.breadcrumb-widget {
    font-size: 14px;
    color: #555;
}

.breadcrumb-widget a {
    color: rgba(0, 158, 227, 1);
    text-decoration: none;
}

.breadcrumb-widget a:hover {
    text-decoration: underline;
}

.breadcrumb-widget span {
    margin: 0 5px;
    color: #999;
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
    .custom-carousel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .custom-carousel-title {
        width: 100%;
        text-align: center;
        font-size: 26px;
    }

    .custom-carousel-controls {
          display: flex
;
        align-items: flex-start;
        width: 100%;
        justify-content: center;
    }

    .custom-carousel-button {
               text-align: center;
        margin-bottom: 0;
    }

    
}

.custom-contacts-widget {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    background: #f9fafc;
    border-radius: 5px;
    border: 1px solid #e1e4e8;
    max-width: 400px;
}

.custom-contacts-icon img {
    width: 40px;
    height: 40px;
}

.custom-contacts-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.custom-contacts-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #085678;
}

.custom-contacts-text {
    font-size: 14px;
    color: #6b7c85;
    margin: 0;
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
    .custom-contacts-widget {
        flex-direction: column;
        align-items: flex-start;
    }
}
