/*
Theme Name: Hello Elementor Child
Template: hello-elementor
*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-internal-autofill-selected {
  -webkit-text-fill-color: #000 !important;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  background-color: transparent !important;
  color: #000 !important;
}
/* Основные стили слайдера */
#single-post-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    padding-bottom: 40px; /* Для пагинации */
}

#single-post-slider .wp-block-image {
    margin: 0;
    width: 100%;
}

#single-post-slider img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Навигация */
.swiper-button-next, 
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    color: #000;
    transition: all 0.3s;
}

.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: bold;
}

.swiper-button-next:hover, 
.swiper-button-prev:hover {
    background: rgba(255,255,255,0.9);
}

/* Пагинация */
.swiper-pagination {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}
.elementor-read-more {
	color: #fff;
}
.custom-breadcrumbs {
	display: flex;
    gap: 40px;
	font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.04em;
	color: white;
}
.custom-breadcrumbs a {
	color: white !important;
	opacity: 1;
}

.custom-breadcrumbs .current,
.custom-breadcrumbs .separator{
	opacity: 0.5;
}
.adaptive-gallery {
    width: 460px !important;
    height: 220px !important;
    position: absolute !important;
    bottom: 0;
    right: 10px;
}
.project-tags .elementor-post-info__terms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.project-tags .elementor-post-info__terms-list-item {
	padding: 6px;
	backdrop-filter: blur(10px);
background: rgba(255, 255, 255, 0.3);
	border-radius: 2px;
}

.project-tags .elementor-post-info__terms-list-item:not(:last-child)::after {
  content: "" !important;
}
/* только когда есть фильтрация */
.elementor-loop-container.elementor-grid.filtered {
    display: block !important;
}

.custom-filter-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 500;
    color: #333;
    margin-right: 40px;
}
    .custom-select {
        position: relative;
        display: inline-block;
        margin-right: 20px;
        min-width: 120px;
    }
    
.select-selected {
    background-color: transparent;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    justify-content: space-between;
    padding: 15px 20px 15px 30px;
    width: 220px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.6);
}
.select-arrow {
	display: flex;
}
.select-arrow-icon {
    transition: transform 0.3s ease;
}

.select-selected.select-arrow-active .select-arrow-icon {
    transform: rotate(180deg);
}
    
    .select-items {
        position: absolute;
        background-color: #fff;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 99;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        max-height: 200px;
        overflow-y: auto;
    }
    
    .select-hide {
        display: none;
    }
    
    .select-items div {
        color: #333;
        padding: 8px 16px;
        cursor: pointer;
    }
    
    .select-items div:hover {
        background-color: #f0f0f0;
    }
    
    .select-active {
        background-color: #e9e9e9;
    }

.blog-post-ajax-filter .filter-label {
	font-family: var(--font-family);
font-weight: 400;
font-size: 16px;
letter-spacing: 0.02em;
color: rgba(255, 255, 255, 0.6);
}

@media(max-width: 1600px) {
	.adaptive-gallery {
    width: 308px !important;
    height: 144px !important;
    position: absolute !important;
    bottom: 0;
    right: 10px;
}
}
@media(max-width: 1170px) {
	.adaptive-gallery {
    width: 308px !important;
    height: 144px !important;
}
}
@media(max-width: 960px) {
	.adaptive-gallery {
		width: 144px !important;
}
	.adaptive-gallery {
    width: 320px !important;
    height: 144px !important;
    position: relative !important;
    bottom: 0;
    right: 0px;
}
	.blog-post-ajax-filter {
	display: grid;
    grid-template-columns: auto auto;
	gap: 30px 10px; 
	}
	.filter-label{
	grid-column: 1 / 3;	
	}
	.select-selected {
		width: 300px;
	}
}
@media(max-width: 640px) {
	.custom-breadcrumbs {
    flex-wrap: wrap;
    gap: 10px 20px;
	}
	.blog-post-ajax-filter {
	display: flex;
	flex-direction: column;
    grid-template-columns: auto;
	gap: 20px; 
	}
	.filter-label {
		margin-bottom: 10px;
	}
}

