/* HERO */
/* HERO FULLSCREEN */
.ab-project-hero{
    position:relative;
    width:100vw;
    height:auto;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    overflow:hidden;
    margin-bottom:80px;
}

.ab-project-hero img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}


.ab-single-project{
    padding:0;
}

.ab-single-project .container{
    max-width:1440px;
    margin:0 auto;
    padding:0 20px;
	padding-bottom:50px;
}


/* MAIN TITLE */
.ab-project-main-title{
    text-align:center;
    font-size:40px;
    line-height:1.1;
    color:#1d3067;
    margin:0 0 60px;
    text-transform:uppercase;
}

/* PROJECT TITLE */

.ab-project-title{
font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  color:#16305f;
	text-align:center;
}



.ab-single-project .ab-project-title{
font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  color:#3ba3cb;
	text-align:left;
}




/* IMAGES */
.ab-project-images{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:90px;
    margin-bottom:60px;
}

.ab-project-image img{
    width:100%;
    height:350px;
    object-fit:cover;
    display:block;
}

/* CONTENT */


/* DETAILS */
.ab-project-details{
    margin:0 auto 70px;
}

.ab-project-detail{
    display:flex;
    gap:10px;
    padding:18px 0;
    font-size:18px;
}

.ab-project-detail strong{
    min-width:180px;
    color:#1d3067;
}

/* BUTTON */
.ab-project-back{
    text-align:center;
}

.ab-project-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:220px;
    height:58px;
    padding:0 30px;
    background:#1991c1;
    color:#fff;
    text-decoration:none;
    transition:all .3s ease;
	font-size:22px;
	font-weight:bold;
}

.ab-project-btn:hover{
    background:#16305f;
    color:#fff;
}

/* TABLET */
@media(max-width:1024px){

    .ab-project-title{
        font-size:25px;
    }

    .ab-project-images{
        gap:20px;
    }

}

/* MOBILE */
@media(max-width:767px){
	
	.ab-project-btn{
	font-size:16px;

}
	
	.ab-project-hero{
    margin-bottom:40px;
}

	.ab-single-project .container{
    padding:0px;
}

	.ab-project-main-title{
    font-size:26px;
    margin-bottom:40px;
}

.ab-project-title{
    font-size:22px;
    margin-bottom:5px;
}
	
    .ab-single-project{
        padding: 0;
    }



    .ab-project-images{
        grid-template-columns:1fr;
        margin-bottom:40px;
    }


    .ab-project-content{
        font-size:16px;
    }

    .ab-project-detail{
        flex-direction:column;
        gap:5px;
        font-size:16px;
		padding:10px 0;
    }

    .ab-project-detail strong{
        min-width:auto;
    }

	.ab-layout-2-grid > :first-child {
  order: 2;
		padding-top: 0;
}

.ab-layout-2-grid > :last-child {
  order: 1;
}
}


/*
=========================================
LAYOUT 2
=========================================
*/

.ab-layout-2-grid{
    display:grid;
    grid-template-columns:1fr 500px;
    gap:80px;
    align-items:start;
	padding-bottom:80px;
}

/*
.ab-layout-2-content{
    padding-top:120px;
}
*/
.ab-layout-2-content{
    max-width:700px;
}

.ab-layout-2-image img{
    width:100%;
    height:auto;
    object-fit:cover;
    display:block;
}

/* TABLET */
@media(max-width:1200px){

    .ab-layout-2-grid{
        grid-template-columns:1fr;
        gap:50px;
		padding-bottom:0;
    }

    .ab-layout-2-content{
        max-width:100%;
    }

    .ab-layout-2-image img{
        height:700px;
    }

}

/* MOBILE */
@media(max-width:767px){

    .ab-layout-2-image img{
        height:420px;
    }

}



/*
=========================================
PROJECT HOVER OVERLAY
=========================================
*/

.ab-project-card{
    position:relative;
    overflow:hidden;
}

.ab-project-card::before{
    content:'';
    position:absolute;
    inset:0;

    background:linear-gradient(
        to bottom,
        rgba(22,48,95,0.9) 0%,
        rgba(22,48,95,0) 60%
    );

    opacity:0;

    transition:opacity .35s ease;

    z-index:2;
}

/* GREEN ICON */
.ab-project-card::after{
    content:'';

    position:absolute;

    top:20px;
    right:20px;

    width:28px;
    height:28px;

    background-image:url('/wp-content/uploads/2026/04/green-arrow.svg');
    background-size:contain;
    background-repeat:no-repeat;
    background-position:center;

    opacity:0;

    transform:translateY(-8px);

    transition:
        opacity .35s ease,
        transform .35s ease;

    z-index:3;
}

/* HOVER */
.ab-project-card:hover::before{
    opacity:1;
}

.ab-project-card:hover::after{
    opacity:1;
    transform:translateY(0);
}