/* =============== SECTION-36 ============== */
.section-36{
	padding: 0;
	height: 94vh;
	background: url(../img/portfolio.webp) center no-repeat;
	background-size: cover;
}
.section-36 .wrap{
	flex-direction: column;
	justify-content: center;
}
.section-36 .title-1{
	margin-bottom: 16px;
}
.section-36 h2{
	font-family: var(--second-family);
	font-weight: 400;
	font-size: 32px;
	line-height: 120%;
	letter-spacing: 0.01em;
	color: var(--secondary-white);
}
/* =============== SECTION-37 ============== */
.section-37{
	background: var(--secondary-brand-blue);
}
.title-37{
	font-family: var(--second-family);
	font-weight: 400;
	font-size: 32px;
	line-height: 120%;
	letter-spacing: 0.01em;
	text-align: center;
	color: var(--secondary-white);
}
.wrap-buttons-37 {
	margin: -80px auto 0;
	max-width: 1280px;
    left: 0px;
    right: 0px;
    padding: 40px 40px;
    z-index: 5;
    background: var(--secondary-brand-blue);
    position: sticky;
    top: 90px;
}
.section-37-buttons-box{
	flex-wrap: wrap;
	gap: 40px;
}
.section-37-buttons-box button{
	transition: 0.3s ease;
	cursor: pointer;
	border: 1px solid var(--secondary-light-grey);
	padding: 16px 32px;
	font-family: var(--font-family);
	font-weight: 300;
	font-size: 16px;
	line-height: 120%;
	letter-spacing: 0.01em;
	color: var(--secondary-white);
}
.section-37-buttons-box button.active{
	border: 1px solid var(--primary-dark-gold-on-dark);
	color: var(--primary-light-gold-on-dark);
}
.section-37-buttons-box button.active:hover{
	box-shadow: none;
}
/*.section-37-buttons-box button:hover{
	box-shadow: 1px 2px 15px 0 rgba(233, 220, 169, 0.5);	
}*/
.section-37-project-big{
	margin-bottom: 10px;
	width: 100% !important;
	min-height: 395px;
}
.section-37-project-big:hover .section-37-project-big-img{
/* 	filter: brightness(1.3); */
}

.section-37-project-big-img{
	transition: 0.3s ease;
	min-width: 51%;
	background: url(../img/slide-5-5.webp) center no-repeat;
	background-size: cover;
}
.section-37-project-big-text{
	padding: 60px;
	border-top: 1px solid var(--primary-basic-gold-on-dark-brand);
	border-bottom: 1px solid var(--primary-basic-gold-on-dark-brand);
	border-right: 1px solid var(--primary-basic-gold-on-dark-brand);
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.section-37-project-text h3{
	transition: 0.3s ease;
	font-family: var(--second-family);
	font-weight: 500;
	font-size: 24px;
	line-height: 130%;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--secondary-white);
	margin-bottom: 8px;
}
.section-37-project-text h4{
	font-family: var(--second-family);
	font-weight: 500;
	font-size: 18px;
	line-height: 130%;
	letter-spacing: 0.01em;
	/*text-transform: uppercase;*/
	color: var(--secondary-white);
	margin-bottom: 24px;
}
.section-37-project-text p{
	font-family: var(--font-family);
	font-weight: 4300;
	font-size: 16px;
	line-height: 120%;
	letter-spacing: 0.03em;
	color: var(--text-secondary-light);
	margin-bottom: 24px;
}
.section-37-project-big-text p{
	font-size: 18px;
	margin-bottom: 32px;		
}
.section-37 .btn-link-learn-more{
	display: block;
	border: 1.50px solid var(--primary-basic-gold-on-dark-brand);
	padding: 20px 32px 20px 40px;
	width: 225px;
	height: 64px;
	background: rgba(203, 178, 118, 0.01);
	font-family: var(--font-family);
	font-weight: 600;
	font-size: 18px;
	line-height: 120%;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--primary-dark-gold-on-dark);
}
.section-37-project-big:hover .btn-link-learn-more{
	border: 1.50px solid var(--primary-basic-gold-on-dark-brand);
	background: var(--primary-basic-gold-on-dark-brand);
	color: var(--secondary-black);
	box-shadow: none;
}
.section-37 .btn-link-learn-more svg{
	margin: 0 0 -1px 3px;
}
.section-37-project-big:hover .btn-link-learn-more svg path{
	fill: #16222A;
}
.articles-container {
    flex-wrap: wrap;
    gap: 40px;
}
.article {
	position: relative;
	width: 373px;
    overflow: hidden;
    transition: 
    opacity 0.4s ease,
    transform 0.4s ease;
    opacity: 1;
    transform: scale(1);
}
.article-link{
	position: absolute;
	left: 0;
	bottom: 0;
	top: 0;
	right: 0;
}
.article:hover .section-3_card-arrow{
	background-color: var(--primary-basic-gold-on-dark-brand);
	background-image: url(../img/arrow-black.svg);
	filter: brightness(0.77);
}
.article:hover .section-37-project-text h3{
	color: var(--primary-basic-gold-on-dark-brand);
}
.article.hidden {
    opacity: 0;
    transform: scale(0.95);
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
}
.article.visible {
    animation: fadeInLeft 0.4s ease-out forwards;
}
.article .section-37-project-text h4{
	margin-bottom: 16px;
}
.article-content.section-37-project-text p{
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}
.article-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}
.article:not(.section-37-project-big):hover {
    transform: scale(1.03);
}
.article-image{
	transition: 0.3s ease;
}
.article:hover .article-image {
    filter: brightness(1);
}
.article-content {
    padding-top: 1.3rem;
}
.article-category {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}
.article-image{
	width: 373px;
	height: 373px;
}
.category1 .article-image {
    background: url(../img/slide-5-5.webp) center no-repeat;
	background-size: cover;
}
.category2 .article-image {
    background: url(../img/slide-5-1.webp) center no-repeat;
	background-size: cover;
}
.category3 .article-image {
    background: url(../img/img-37.webp) center no-repeat;
	background-size: cover;
}
.no-results {
    width: 100%;
    text-align: center;
    padding: 3rem;
    font-size: 1.1rem;
    color: #666;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



/* =============== MEDIA ============== */
@media (max-width: 1024px){
	.section-37-project-big-text{
		padding: 40px;	
	}
	.section-37-project-text h3{
		font-size: 22px;
	}
	.section-37-project-text h4{
		font-size: 16px;
	}
	.section-37-project-text p{
		font-size: 14px;
	}
	.section-37-project-big-text p{
		font-size: 16px;
		margin-bottom: 32px;		
	}
	.article{
		width: 298px;
	}
	.article-image{
		width: 298px;
		height: 298px;
	}
	.articles-container{
		justify-content: center;
		gap: 24px;
	}
}

@media (max-width: 976px){
	.wrap-buttons-37 {
	    padding: 24px;
	    top: 87px;
	}
	.section-37-buttons-box {
	    gap: 24px;
	}
	.section-37-buttons-box button {
	    font-size: 14px;
	    padding: 8px 16px;
	}
	.section-37-project-big {
	    flex-direction: column;
	    margin-bottom: 48px;
	}
	.section-37-project-big-img{
		height: 398px;
	}
	.section-37-project-big-text {
	    padding: 32px;
	    border-top: none;
	    border-bottom: 1px solid var(--primary-basic-gold-on-dark-brand);
	    border-right: 1px solid var(--primary-basic-gold-on-dark-brand);
	    border-left: 1px solid var(--primary-basic-gold-on-dark-brand);
	}
	.section-37 .btn-link-learn-more {
	    text-align: center;
	    height: auto;
	    width: 100%;
	    font-size: 16px;
	}
}

@media (max-width: 667px){
	.article{
		width: 100%;
	}
	.article-image {
	    width: 100%;
	    height: 395px;
	}
	.section-37-buttons-box {
	    gap: 16px;
	}
	.section-37-project-big{
		display: none;
	}
}

@media (max-width: 590px){
	.section-37-buttons-box {
	    justify-content: center;
	    gap: 8px;
	}
	.section-37-buttons-box button {
	    width: 47%;
	}
	.wrap-buttons-37 {
	    padding: 12px;
	}
}

@media (max-width: 440px){
	.section-36 .wrap{
	    justify-content: flex-end;
	    padding-bottom: 150px;
	}
	.section-37-project-big-text{
		padding: 24px;	
	}
	.section-37-buttons-box button {
	    width: 48%;
	}
}
