@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/twentytwentyfive/fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ZenDots';
    src: url('/wp-content/themes/twentytwentyfive/fonts/ZenDots-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Marsek';
    src: url('/wp-content/themes/twentytwentyfive/fonts/MarsekDemi.woff') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('/wp-content/themes/twentytwentyfive/fonts/Manrope-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


@font-face {
    font-family: 'Inter';
    src: url('/wp-content/themes/twentytwentyfive/fonts/Inter_18pt-Medium.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


.portfolio-main-img{
    width:100%;
    height:90vh;
    display:flex;
    align-items: center;
    justify-content: center;
	background-size: 100% auto; /* Ширина 100%, высота auto */
    background-repeat: no-repeat; /* Запрещаем повторение */
    background-position: center; /* Центрируем */
}
.portfolio-main-img-desc{
    width: 50%;
    height:auto;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;


}
.portfolio-main-img-desc h1{
    text-align:center;
    font-weight: 700;
    font-size: 55px;
    line-height: 36.37px;
    letter-spacing: 0%;
    text-align: center;
    color:#fff;
    width:100%;
    margin-top:-15px;
}
.portfolio-main-img-desc p{
    font-family: 'Inter';
    font-weight: 300;
    font-size: 20px;
    line-height: 21.78px;
    letter-spacing: 0%;
    text-align: center;
    color:#fff;
    width:70%;
    margin:25px 0;

}
.portfolio-main-img-desc-btn{
    width:100%;
    height:auto;
    display:flex;
    justify-content:center;
    margin-top:15px;

}
.portfolio-main-img-desc-btn a {
    text-decoration:none ;
    color:#fff;
    padding:10px 30px;
    border:1px solid #fff;
    font-weight: 300;
    font-family: 'Inter';

    font-size: 17px;
    font-weight: 300;
    line-height: 21.78px;
    letter-spacing: 0%;

}
.portfolio-gallery{
    padding:20px 7%;
    width:100%
}
.gallery-row {
    display: grid;
    grid-auto-rows: auto;
    gap: 10px;
    margin-bottom:10px;
}
.gallery-row.first-row{
    grid-template-columns: repeat(2, 1fr);

}
.gallery-row.second-row{
    grid-template-columns: repeat(1, 1fr); 

}
.gallery-row.third-row{
    grid-template-columns: repeat(3, 1fr); 

}
.gallery-row img{
    width:100%;
}

.portfolio-single .form-text-contacts{
    line-height:30px !important;
}
.portfolio-single .wp-block-cover.alignfull{
    height:70vh;
}
.wp-elements-029e523d94da2fd6a395b7b830999edb{
    width:100% !important;
}
.portfolio-single .wp-container-core-group-is-layout-9.wp-block-group-is-layout-constrained{
    width:100%;
    padding:0;
}
.portfolio-single .wp-container-core-group-is-layout-7 , .portfolio-single .wp-container-core-group-is-layout-13{
    width:100%;
    margin:0;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 30px 7%;

}
.portfolio-single .wp-container-core-group-is-layout-13{
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
}
.portfolio-single .wp-container-core-group-is-layout-14{
    width:100%;
    text-align:cetner;
    justify-content:center;
}
.wp-elements-7b8a316a2f226e49994557d0db97f3b8 .wp-container-core-group-is-layout-5 {
    width:100%;
}
.wp-elements-7b8a316a2f226e49994557d0db97f3b8 .wp-container-core-group-is-layout-5 .wp-container-core-group-is-layout-2{
    width: 70%;
    justify-content: space-between;
}


.gallery-item {
    position: relative;
    overflow: hidden;
    height: 100%; /* Заполняем родительский блок */
	height:400px;
}

/* Стили для изображений */
.gallery-item img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 100%; /* Минимальная высота блока, чтобы полностью заполнить контейнер */
    object-fit: cover; /* Обрезка по границам */
}
/* ----- */

.portfolio-grid{
    grid-template-columns: 1fr 1fr 1fr;
    gap:15px;
    display:grid;
    /* grid-template-rows: 338px; */
    margin-top:50px;
}

.portfolio-item {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 360px;
    transition:0.4s;
    cursor:pointer;
    
}
.portfolio-item a {
    color: white;
    text-decoration: none;
}
.portfolio-archive{
    padding:50px 0%;
    margin-top:10px;
	padding: 50px 2.5%;
}
.portfolio-archive > h1{
	font-family: 'Marsek', 'Roboto' , 'ZenDots' !important;
	font-weight: 700;
	font-size: 32px;
	line-height: 100%;
	letter-spacing: 0%;
	text-transform: uppercase;

}

.port-item-title{

    color:#fff;
	font-family: 'Manrope';
	font-weight: 400;
	font-size: 1.12rem;
	line-height: 100%;
	letter-spacing: 0%;
	z-index:2;
	
}
.port-header button{
	top:0%  !important; 

}
.port-link::after{
	content: '';
	position:absolute;
	top: 0;
	left: 0;
	width:100%;
	height:28%;
	z-index:1;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
}
.port-item{
	background-size: cover; /* Обрезает и растягивает так, чтобы заполнить контейнер */
    background-position: center; /* Центрирует изображение */
    background-repeat: no-repeat; /* Запрещает повторение */
    transition: 0.4s;

}
.port-item:hover{
	cursor:pointer;
	transform:scale(1.001);
	box-shadow: 0px 0px 10px rgba(0,0,0,0.3);
	
}
.port-item a{
	text-decoration: none;
}

.port-link{
    position:absolute;
    width:100%;
    height:100%;
    z-index:2;
    top:0;
    left:0;
    display:flex;
    align-items:center;
    justify-content:center;
}


.wp-elements-cbf12d2ccd1fbb6b57fb34e2be6d6837 .wp-container-core-group-is-layout-5 {
    width:100%;
    position:relative !important;
}
.wp-elements-67df87454d1696abe5df9eb605a71fbe{
    width: 70%;
    justify-content: space-between;
}

.port-main-img-desc{
    width:100%;
    display:flex;
    justify-content:flex-end;
}
.port-main-img-desc > div{
    width:60%;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    padding-right:10%;
}
.port-main-img-desc-title{
    font-weight: 300;
    font-size: 22px;
    line-height: 29.05px;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin-bottom:10px;
    width:100%;
	

}

.port-main-img-desc-text{
    font-weight: 300;
    font-size: 17.5px;
    line-height: 21.78px;
    letter-spacing: 0%;
    color: #FFFFFF;
    opacity:0.8;
    width:75%;
    margin-bottom:10px;
}
.port-text-left-padding{
    padding-left:0rem;
}
.portfolio-main-img{
    position:relative;
}
.port-main-img-bottom {
    position:absolute;
    bottom:30px;
    left:3%;
    color:#fff;
}
.port-main-img-bottom h1{
    font-family: 'Marsek' , 'Sora';
    font-weight: 700;
    font-size: 38px;
    line-height: 36.37px;
    letter-spacing: 0%;
    text-transform:uppercase;

}
.about-project{
    display:grid;
    grid-template-columns: 20% 80%;
    padding: 40px 10%;
}
.about-project-left{
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}
.about-project-left > div{
    width:100%;
}
.about-project-right{
    color: #000;
    padding: 0;
    padding-left:30%;

}

.about-project-right .port-main-img-desc-title{
    font-family: 'Inter';
    font-weight: 400;
    letter-spacing: 0%;
    color: #000;
    font-weight: 400;
    font-size: 20px;
    padding-left: 12%;
    letter-spacing: 0%;
    color: #000;
	line-height: 20px;

}
.about-project-right .port-main-img-desc-text{
    font-family: 'Inter';
    font-weight: 400;
    font-size: 15px;
    line-height: 20.57px;
    letter-spacing: 0%;
    color: #000;
    padding-left:12%;
	margin-bottom:0px;


}
.about-project-right small{
    color:#000;
}

.logo-img-port{
    width:100px;
    height:auto;
}
.about-project-right small{
    padding-left:12%;

}

.header-v2-block > div{
    width:100%;
    justify-content:space-between;
}
.header-v2-block > div{
    width:100%;
    justify-content:space-between;
}
.custom-header.header-v2-block .cart-btn-woo{
    top:0 !important;
}
.gallery-row {
    display: grid;
    gap: 10px;
    margin-bottom: 10px;
}

.img-row3 .first-row,
.img-row5 .first-row,
.img-row6 .first-row {
    grid-template-columns: repeat(2, 1fr);
}

.img-row3 .second-row,
.img-row5 .second-row,
.img-row6 .second-row {
    grid-template-columns: 1fr;
}

.img-row4 .first-row {
    grid-template-columns: repeat(3, 1fr);
}

.img-row4 .second-row {
    grid-template-columns: 1fr;
}

.img-row5 .third-row,
.img-row6 .third-row {
    grid-template-columns: repeat(3, 1fr);
}

.gallery-item {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-row.first-row.img-row4{
    grid-template-columns: repeat(3, 1fr);
}


@keyframes masonryBuild {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.gallery-item {
    opacity: 0;
    transform: translateY(50px);
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.gallery-item.visible {
    animation: masonryBuild 0.5s ease-out forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.4s; }
.gallery-item:nth-child(4) { animation-delay: 0.6s; }
.gallery-item:nth-child(5) { animation-delay: 0.8s; }
.gallery-item:nth-child(6) { animation-delay: 1s; }



.portfolio-main-img{
	position:relative;
}
.port-main-img-desc{
	position:relative;
	z-index: 2;
}
.port-main-img-bottom{
	z-index: 2;
}
.back-blur-port{
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background: rgba(0,0,0,0.4);
	z-index: 1;
	
}


.port-item {
    position: relative;
    overflow: hidden;
}
.port-item::before {
    content: "›";
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    width: 35px;
    height: 35px;
    bottom: 15px;
    left: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    color: rgba(0, 0, 0, 0.6);
    font-size: 20px;
    font-weight: 300;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5) rotate(-45deg);
    transition: opacity 0.3s ease, transform 0.3s ease;
	z-index: 3;
	
}

.port-item:hover::before {
    opacity: 1;
    transform: scale(1);
	rotate: -55deg;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
}
.port-item-title::before{
	content: '';
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	z-index: -1;
	background:rgba(0,0,0,0.2);
}
.portfolio-archive.main-page-widgets{
	padding:0 !important;
}
.small-text-contact-form{
	width:100%;
	line-height:22px !important;
}
.portfolio-main-img{
	position:relative;
}
.portfolio-main-img::before {
	content : '';
	position:absolute;
	width:100%;
	left:0;
	top:0;
	height:100%;
	z-index:1;
	background:rgba(0,0,0,0.3);
}
.portfolio-item::after{
	content : '';
	position:absolute;
	width:100%;
	left:0;
	top:0;
	height:100%;
	z-index:1;
	background:rgba(0,0,0,0.2);
}
.portfolio-main-img-desc , .portfolio-item a{
	z-index:3;
}
.portfolio-item{
	overflow:hidden;
}
.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.5s ease;
    transform: scale(1);
}

.portfolio-item:hover::before {
    transform: scale(1.1); 
}
.centere-title{
	text-align:center;
}
.portfolio-archive{
	padding:50px 2.5%;
	margin-top:10px;
}
.single-port-gut-page.three-page .port-main-img-desc{
	flex-wrap: wrap;
    padding-left: 33%;
}
.port-pagegut{
	padding-right:0px;
	width:102.5%;
}