/* project-hero start  */

.project-hero {
    margin-top: 8.4375rem;
}
.project-hero__title {
    margin-top: 5rem;
    max-width: 82.1875rem;
}
.project-hero__info {
    margin-top: 3.75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.25rem;
    padding-top: 1.875rem;
    border-top: 1px solid var(--color-blue-dark);
}
.project-hero__info-text {
    max-width: 32.5rem;
}
.project-hero__image {
    position: relative;
    overflow: hidden;
    margin-top: 7.5rem;
    border-radius: 0.625rem;
    width: 100%;
    height: 55rem;
}
.project-hero__image img {
    position: absolute;
    top: -10%;
    left: 0;
    display: block;
    width: 100%;
    height: 130%;
    object-fit: cover;
    object-position: center;
    backface-visibility: hidden;
    will-change: transform;
}
@media (prefers-reduced-motion: no-preference) {
    .js .project-hero__image img {
        transform: translate3d(0, -10%, 0);
    }
}
@media (max-width: 1024px) {
    .project-hero {
        margin-top: 6.875rem;
    }
    .project-hero__title {
        margin-top: 3.75rem;
        max-width: 39rem;
    }
    .project-hero__info {
        margin-top: 2.5rem;
        column-gap: 0.9375rem;
        padding-top: 1.25rem;
    }
    .project-hero__info-text {
        max-width: 100%;
    }
    .project-hero__image {
        margin-top: 5rem;
        height: 37.5rem;
    }
}
@media (max-width: 768px) {
    .project-hero {
        margin-top: 5.625rem;
    }
    .project-hero__title {
        max-width: 100%;
    }
    .project-hero__info {
        display: flex;
        flex-direction: column;
        row-gap: 1.875rem;
        padding-top: 0.9375rem;
    }
    .project-hero__image {
        margin-top: 2.5rem;
        height: 20rem;
    }
}
/* project-hero end  */

/* project-gallery start */

.project-gallery {
    margin-top: 10rem;
    overflow: hidden;
}
.project-gallery__inner {
    display: flex;
    flex-direction: column;
    row-gap: 3.75rem;
}
.project-gallery__title {
    max-width: 33.5625rem;
}
.project-gallery__main,
.project-gallery__slider {
    width: 100%;
    min-width: 0;
}
.project-gallery__slider {
    overflow: visible;
}
.project-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    height: auto;
    transform: none;
}
.project-gallery__item {
    width: auto;
    height: 42.5rem;
    overflow: hidden;
    border-radius: 0.625rem;
}
.project-gallery__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.project-gallery__scrollbar {
    display: none;
}
@media (max-width: 1024px) {
    .project-gallery {
        margin-top: 6.25rem;
    }
    .project-gallery__inner {
        row-gap: 2.5rem;
    }
    .project-gallery__title {
        max-width: 100%;
    }
    .project-gallery__grid {
        gap: 0.9375rem;
    }
    .project-gallery__item {
        height: 25rem;
    }
}
@media (max-width: 768px) {
    .project-gallery {
        margin-top: 5rem;
    }
    .project-gallery__slider {
        overflow: visible;
    }
    .project-gallery__grid {
        display: flex;
        gap: 0;
        height: auto;
        transform: translate3d(0, 0, 0);
    }
    .project-gallery__item {
        width: 20rem;
        height: 22.5rem;
        flex-shrink: 0;
    }
    .project-gallery__scrollbar {
        position: relative;
        display: block;
        width: 100%;
        height: 1px;
        margin-top: 1.25rem;
        overflow: hidden;
        border-radius: 0;
        background-color: var(--color-blue-dark);
    }
    .project-gallery__scrollbar.swiper-scrollbar-horizontal {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        width: 100%;
        height: 1px;
    }
    .project-gallery__scrollbar .swiper-scrollbar-drag {
        position: relative;
        top: 0;
        left: 0;
        height: 100%;
        border-radius: 0;
        background-color: var(--color-black-light);
    }
    .project-gallery__scrollbar.swiper-scrollbar-lock {
        display: block;
    }
}

/* project-gallery end */

/* project-video start */

.project-video {
    margin-top: 10rem;
    overflow: hidden;
}
.project-video__media {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0.625rem;
    aspect-ratio: 16/9;
}
.project-video__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.project-video__play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 50%;
    color: var(--color-black-light);
    background-color: var(--color-white);
    transform: translate(-50%, -50%);
    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        opacity 0.3s ease;
}
.project-video__play svg {
    width: 1.875rem;
    height: auto;
    margin-left: 0.5rem;
}
@media (hover: hover) {
    .project-video__play:hover {
        color: var(--color-white);
        background-color: var(--color-green-light);
    }
}
.project-video__play:active {
    color: var(--color-white);
    background-color: var(--color-green-light);
}
.project-video__media.is-playing .project-video__play {
    opacity: 0;
    pointer-events: none;
}
@media (max-width: 1024px) {
    .project-video {
        margin-top: 6.25rem;
    }
    .project-video__media {
        height: 37.5rem;
        aspect-ratio: auto;
    }
    .project-video__play {
        width: 5rem;
        height: 5rem;
    }
    .project-video__play svg {
        width: 1.25rem;
        margin-left: 0.375rem;
    }
}
@media (max-width: 768px) {
    .project-video {
        margin-top: 5rem;
    }
    .project-video__play {
        width: 5rem;
        height: 5rem;
    }
    .project-video__play svg {
        width: 1.25rem;
        margin-left: 0.375rem;
    }
}

/* project-video end */

/* other-projects start */

.other-projects {
    margin-top: 10rem;
    overflow: hidden;
}
.other-projects__inner {
    display: flex;
    flex-direction: column;
    row-gap: 3.75rem;
}
.other-projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.other-projects__item {
    display: flex;
    flex-direction: column;
    min-width: 0;
    row-gap: 0.9375rem;
}
.other-projects__item-image {
    width: 100%;
    height: 33.75rem;
    overflow: hidden;
    border-radius: 0.625rem;
}
.other-projects__item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.other-projects__item-title {
    max-width: 26.5625rem;
}
@media (max-width: 1024px) {
    .other-projects {
        margin-top: 6.25rem;
    }
    .other-projects__inner {
        row-gap: 2.5rem;
    }
    .other-projects__grid {
        gap: 0.9375rem;
    }
    .other-projects__item {
        row-gap: 0.625rem;
    }
    .other-projects__item-image {
        height: 20rem;
    }
    .other-projects__item-title {
        max-width: 18.75rem;
    }
}
@media (max-width: 768px) {
    .other-projects {
        margin-top: 5rem;
    }
    .other-projects__grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.875rem;
    }
}

/* other-projects end */
