.ad-single-project {
	margin-left: unset !important;
	margin-right: unset !important;
	max-width: unset !important;
	width: unset !important;
    margin-bottom: unset;
}

.ad-single-project__section-1 {
	background: linear-gradient(0deg, #E6EEF5, transparent);
    padding: 0px 0px 60px 0px;
}

.ad-single-project__wrapper {
	margin-left: auto;
	margin-right: auto;
	max-width: var(--wp--style--global--content-size);
	width: var(--theme-block-width);
}

.ad-single-project__container-1-1, .ad-single-project__container-1-2 {
	display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

.ad-single-project__container-1-1 {
	margin-bottom: 50px;
}

.ad-single-project__info {
    background: #004E92;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 35px;
	overflow: hidden;
	position: relative;
}

.ad-single-project__logo-overlay {
    opacity: 0.07;
    position: absolute;
    bottom: -30px;
    right: -5px;
}

.ad-single-project__info > div > h4 {
    color: #fff;
    margin: 0;
    font-size: 20px;
}

.ad-single-project__info > div > p {
    color: #fff;
    margin: 0;
}

.ad-single-project__thumbnail > img {
    border-radius: 20px;
	width: 100%;
}

.ad-single-project__section-2 {
    padding: 60px 0px;
}

.ad-single-project__container-1-2 > h2 {
    color: #004e92;
    margin: 0px;
}

.ad-single-project__role--list > p, .ad-single-project__services--list > p {
    margin: 0;
    color: #fff;
}

.ad-single-project__gallery--image {
    overflow: hidden;
    max-height: 70vh;
    background-size: cover;
    height: 70vh;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center top;
    transition-duration: 20000ms;
    transition-timing-function: ease;
    transition-property: background-position;
    border-radius: 20px;
    border: 4px solid #004e922b;
}

.ad-single-project__gallery:hover:not(:has(.ad-single-project__gallery--toggle:hover))
.ad-single-project__gallery--image {
    background-position: center bottom;
}


.ad-single-project__gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.ad-single-project__gallery--toggle {
    z-index: 1;
    position: absolute;
    bottom: -35px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.ad-single-project__gallery::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(0deg, #fff 3%, transparent 52%);
}

.ad-single-project__gallery--toggle > img {
    width: 65px;
    height: auto;
    cursor: pointer;
}

.ad-single-project__gallery--toggle > span {
    font-weight: 700;
    color: #000;
}

.ad-single-project__gallery.is-expanded::after {
    background: unset;
}

.ad-single-project__gallery > .ad-single-project__gallery--image > img {
    display: none;
}

.ad-single-project__gallery.is-expanded > .ad-single-project__gallery--image > img {
    display: unset;
}

.ad-single-project__gallery.is-expanded > .ad-single-project__gallery--image {
    max-height: none;
    height: auto;
}

.ad-single-project__gallery.is-expanded .ad-single-project__gallery--toggle {
    background: #0000000d;
    padding: 20px;
    border-radius: 50%;
    bottom: -50px;
    backdrop-filter: blur(5px);
}

.ad-single-project__gallery.is-expanded .ad-single-project__gallery--toggle > span {
    display: none;
}

.ad-single-project__container-2-1 {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .ad-single-project__container-1-1 {
        gap: 20px;
        margin-bottom: 30px;
    }

    .ad-single-project__info {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
        border-radius: 15px;
    }

    .ad-single-project__section-2 {
        padding: 40px 0px;
    }

    .ad-single-project__gallery--image {
        height: 35vh;
        border-radius: 15px;
    }

    .ad-single-project__gallery.is-expanded .ad-single-project__gallery--toggle {
        padding: 10px;
        bottom: -33px;
    }

    .ad-single-project__container-2-1 {
        gap: 70px;
    }

    .ad-single-project__info > div > h4 {
        font-size: 16px;
    }

    .ad-single-project__thumbnail > img {
        border-radius: 15px;
    }
}

/* Responsive Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .ad-single-project__section-1 {
        padding: 0px 0px 50px 0px;
    }

    .ad-single-project__info {
        order: 2;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .ad-single-project__section-2 {
        padding: 50px 0px;
    }

    .ad-single-project__info > div > h4 {
        font-size: 18px;
    }
}

/* Responsive Mobile & Tablet */
@media (max-width: 1024px) {
    .ad-single-project__container-1-1, .ad-single-project__container-1-2 {
        grid-template-columns: 1fr;
    }

    .ad-single-project__info {
        order: 2;
        display: grid;
    }

    .ad-single-project__info > div > p {
        font-size: 14px;
    }

    .ad-single-project__role--list > p, .ad-single-project__services--list > p {
        font-size: 14px;
    }

    .ad-single-project__container-1-2 {
        gap: 10px;
    }

    .ad-single-project__gallery--toggle > span {
        font-size: 14px;
    }

    .ad-single-project__gallery--toggle > img {
        width: 50px;
    }
}
