section[data-name="elf_project"] {
    --project-dark-blue: #114c92;
    --project-light-blue: #45b7ee;
    --project-yellow: #fecb26;
    --project-white: #ffffff;
    --project-black: #000000;
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 640px;
    margin: 0;
    padding: 65px 20px 105px;
    overflow: visible;
    background: linear-gradient(
        to bottom,
        #ffffff 0%,
        #ffffff 68%,
        rgba(69, 183, 238, 0.12) 82%,
        rgba(69, 183, 238, 0.38) 100%
    );
    font-family: "Open Sans", sans-serif;
    isolation: isolate;
}

section[data-name="elf_project"] * {
    box-sizing: border-box;
}

section[data-name="elf_project"] [hidden] {
    display: none;
}

section[data-name="elf_project"] .elf-project__inner {
    position: relative;
    z-index: 5;
    width: min(92%, 1100px);
    margin: 0 auto;
}

/* Right Top Graphic */

section[data-name="elf_project"] .elf-project__graphic {
    position: absolute;
    top: -125px;
    right: -65px;
    z-index: 3;
    display: block;
    width: min(720px, 48vw);
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: visible;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    transform: translate3d(55px, -20px, 0);
    animation: elfProjectGraphicEnter 1.4s cubic-bezier(.16, 1, .3, 1) .15s forwards;
}

section[data-name="elf_project"] .elf-project__graphic > svg,
section[data-name="elf_project"] .elf-project__graphic > img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    overflow: visible;
}

/* Left Bottom Graphic */

section[data-name="elf_project"] .elf-project__bottom-pattern {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: block;
    width: auto;
    max-width: 34vw;
    height: auto;
    margin: 0;
    padding: 0;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    transform: translate3d(-35px, 20px, 0);
    animation:
        elfProjectBottomPatternEnter 1.2s cubic-bezier(.16, 1, .3, 1) .75s forwards,
        elfProjectBottomPatternPulse 9s ease-in-out 2.4s infinite;
}

/* Left Bottom Curve */

section[data-name="elf_project"] .elf-project__shape-left {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    width: auto;
    max-width: 43vw;
    height: auto;
    margin: 0;
    padding: 0;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    transform: translate3d(-45px, 25px, 0);
    animation: elfProjectCurveEnter 1.35s cubic-bezier(.16, 1, .3, 1) .4s forwards;
}

/* Right Bottom Curve */

section[data-name="elf_project"] .elf-project__shape-right {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    width: auto;
    max-width: 43vw;
    height: auto;
    margin: 0;
    padding: 0;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    transform: translate3d(45px, 25px, 0);
    animation: elfProjectCurveRightEnter 1.35s cubic-bezier(.16, 1, .3, 1) .4s forwards;
}

/* Filters */

section[data-name="elf_project"] .elf-project__filters {
    position: relative;
    z-index: 6;
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 22px;
    margin: 0 0 30px;
    padding: 0;
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    animation: elfProjectFilterEnter .8s ease .35s forwards;
}

section[data-name="elf_project"] .elf-project__filter {
    position: relative;
    display: inline-flex;
    min-width: 78px;
    min-height: 42px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 0;
    border-bottom: 1px solid #aeb3ba;
    border-radius: 0;
    padding: 8px 12px 9px;
    background: transparent;
    color: #8d949d;
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    transition:
        color .3s ease,
        background-color .3s ease,
        border-color .3s ease,
        border-radius .3s ease,
        transform .3s ease;
}

section[data-name="elf_project"] .elf-project__filter:hover {
    border-bottom-color: var(--project-dark-blue);
    color: var(--project-dark-blue);
}

section[data-name="elf_project"] .elf-project__filter:focus-visible {
    outline: 2px solid var(--project-dark-blue);
    outline-offset: 4px;
}

section[data-name="elf_project"] .elf-project__filter.is-active {
    min-width: 42px;
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    padding: 8px 16px;
    background: var(--project-yellow);
    color: var(--project-black);
    font-weight: 600;
    transform: translateY(-1px);
}

section[data-name="elf_project"] .elf-project__filter--all.is-active {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
}

/* Results */

section[data-name="elf_project"] .elf-project__results {
    position: relative;
    z-index: 5;
    min-height: 300px;
}

section[data-name="elf_project"] .elf-project__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 34px;
}

/* Card */

section[data-name="elf_project"] .elf-project__card {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    height: 365px;
    overflow: hidden;
    border-radius: 19px;
    background: #d6d9dd;
    box-shadow: 0 14px 30px rgba(17, 76, 146, 0.08);
}

section[data-name="elf_project"] .elf-project__card.is-page-visible {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    animation: elfProjectCardEnter .8s cubic-bezier(.16, 1, .3, 1) forwards;
}

section[data-name="elf_project"] .elf-project__card.is-page-visible:nth-child(1) {
    animation-delay: .08s;
}

section[data-name="elf_project"] .elf-project__card.is-page-visible:nth-child(2) {
    animation-delay: .16s;
}

section[data-name="elf_project"] .elf-project__card.is-page-visible:nth-child(3) {
    animation-delay: .24s;
}

section[data-name="elf_project"] .elf-project__card.is-page-visible:nth-child(4) {
    animation-delay: .32s;
}

section[data-name="elf_project"] .elf-project__card.is-page-visible:nth-child(5) {
    animation-delay: .4s;
}

section[data-name="elf_project"] .elf-project__card.is-page-visible:nth-child(6) {
    animation-delay: .48s;
}

/* Hover Bottom Line */

section[data-name="elf_project"] .elf-project__card::after {
    content: "";
    position: absolute;
    right: 18px;
    bottom: 0;
    left: 18px;
    z-index: 7;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--project-yellow);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition:
        opacity .35s ease,
        transform .45s cubic-bezier(.16, 1, .3, 1);
}

section[data-name="elf_project"] .elf-project__card:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

/* Card Link */

section[data-name="elf_project"] .elf-project__card-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    overflow: hidden;
    border-radius: inherit;
    color: var(--project-white);
    text-decoration: none;
}

/* Image */

section[data-name="elf_project"] .elf-project__media {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    overflow: hidden;
}

section[data-name="elf_project"] .elf-project__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition:
        transform .7s cubic-bezier(.16, 1, .3, 1),
        filter .5s ease;
}

section[data-name="elf_project"] .elf-project__media--placeholder {
    background: linear-gradient(
        145deg,
        #d7dade 0%,
        #c8d0d6 52%,
        #9eb8cc 100%
    );
}

section[data-name="elf_project"] .elf-project__card:hover .elf-project__image {
    transform: scale(1.045);
    filter: saturate(1.05);
}

/* Overlay */

section[data-name="elf_project"] .elf-project__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    background: linear-gradient(
        to bottom,
        rgba(17, 76, 146, 0.01) 20%,
        rgba(17, 76, 146, 0.14) 48%,
        rgba(17, 76, 146, 0.48) 72%,
        rgba(17, 76, 146, 0.88) 100%
    );
    transition: background .4s ease;
}

section[data-name="elf_project"] .elf-project__card:hover .elf-project__overlay {
    background: linear-gradient(
        to bottom,
        rgba(17, 76, 146, 0.04) 18%,
        rgba(17, 76, 146, 0.2) 48%,
        rgba(17, 76, 146, 0.58) 72%,
        rgba(17, 76, 146, 0.92) 100%
    );
}

/* Arrow */

section[data-name="elf_project"] .elf-project__arrow {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 6;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--project-yellow);
    transform: rotate(-45deg);
    transform-origin: center;
    transition:
        background-color .35s ease,
        transform .45s cubic-bezier(.16, 1, .3, 1);
}

section[data-name="elf_project"] .elf-project__arrow::before {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background: var(--project-black);
    -webkit-mask-image: url("/wp-content/uploads/2026/08/arrow.png");
    mask-image: url("/wp-content/uploads/2026/08/arrow.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color .35s ease;
}

section[data-name="elf_project"] .elf-project__card:hover .elf-project__arrow {
    background: var(--project-dark-blue);
    transform: rotate(45deg);
}

section[data-name="elf_project"] .elf-project__card:hover .elf-project__arrow::before {
    background: var(--project-yellow);
}

/* Content */

section[data-name="elf_project"] .elf-project__content {
    position: absolute;
    right: 22px;
    bottom: 25px;
    left: 22px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Project Type */

section[data-name="elf_project"] .elf-project__badge {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
    border-radius: 999px;
    padding: 4px 13px;
    background: var(--project-dark-blue);
    color: var(--project-white);
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
}

/* Project Title */

section[data-name="elf_project"] .elf-project__title {
    display: block;
    margin: 0 0 7px;
    color: var(--project-white);
    font-family: Montserrat, sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

/* Description */

section[data-name="elf_project"] .elf-project__excerpt {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Pagination */

section[data-name="elf_project"] .elf-project__pagination {
    position: relative;
    z-index: 6;
    margin: 34px 0 0;
}

section[data-name="elf_project"] .elf-project__pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

section[data-name="elf_project"] .elf-project__pagination li {
    margin: 0;
    padding: 0;
    list-style: none;
}

section[data-name="elf_project"] .elf-project__page,
section[data-name="elf_project"] .elf-project__ellipsis {
    display: inline-flex;
    min-width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    color: #293747;
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        color .25s ease,
        background-color .25s ease,
        transform .25s ease;
}

section[data-name="elf_project"] .elf-project__page:hover {
    color: var(--project-dark-blue);
    transform: translateY(-2px);
}

section[data-name="elf_project"] .elf-project__page.is-active {
    background: var(--project-yellow);
    color: var(--project-black);
    font-weight: 600;
}

section[data-name="elf_project"] .elf-project__page--previous,
section[data-name="elf_project"] .elf-project__page--next {
    width: auto;
    min-width: auto;
    border-radius: 0;
    padding: 0 7px;
    white-space: nowrap;
}

section[data-name="elf_project"] .elf-project__page--previous span,
section[data-name="elf_project"] .elf-project__page--next span {
    color: var(--project-dark-blue);
    font-size: 17px;
    line-height: 1;
    transition: transform .25s ease;
}

section[data-name="elf_project"] .elf-project__page--previous:hover span {
    transform: translateX(-3px);
}

section[data-name="elf_project"] .elf-project__page--next:hover span {
    transform: translateX(3px);
}

/* Empty */

section[data-name="elf_project"] .elf-project__empty {
    padding: 80px 20px;
    color: #4a5563;
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
}

/* Animations */

@keyframes elfProjectGraphicEnter {
    0% {
        opacity: 0;
        transform: translate3d(55px, -20px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes elfProjectBottomPatternEnter {
    0% {
        opacity: 0;
        transform: translate3d(-35px, 20px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes elfProjectBottomPatternPulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .25;
    }
}

@keyframes elfProjectCurveEnter {
    0% {
        opacity: 0;
        transform: translate3d(-45px, 25px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes elfProjectCurveRightEnter {
    0% {
        opacity: 0;
        transform: translate3d(45px, 25px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes elfProjectFilterEnter {
    0% {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes elfProjectCardEnter {
    0% {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }

    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Laptop */

@media (max-width: 1200px) {
    section[data-name="elf_project"] {
        padding-right: 25px;
        padding-left: 25px;
    }

    section[data-name="elf_project"] .elf-project__inner {
        width: min(94%, 1000px);
    }

    section[data-name="elf_project"] .elf-project__grid {
        gap: 28px 25px;
    }

    section[data-name="elf_project"] .elf-project__card {
        height: 345px;
    }

    section[data-name="elf_project"] .elf-project__graphic {
        top: -95px;
        right: -65px;
        width: 590px;
    }

    section[data-name="elf_project"] .elf-project__bottom-pattern {
        max-width: 38vw;
    }
}

/* Tablet */

@media (max-width: 1024px) {
    section[data-name="elf_project"] {
        padding-top: 58px;
        padding-bottom: 95px;
    }

    section[data-name="elf_project"] .elf-project__inner {
        width: min(94%, 860px);
    }

    section[data-name="elf_project"] .elf-project__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px;
    }

    section[data-name="elf_project"] .elf-project__card {
        height: 370px;
    }

    section[data-name="elf_project"] .elf-project__graphic {
        top: -75px;
        right: -100px;
        width: 520px;
    }

    section[data-name="elf_project"] .elf-project__bottom-pattern {
        max-width: 48vw;
    }

    section[data-name="elf_project"] .elf-project__shape-left {
        max-width: 55vw;
    }

    section[data-name="elf_project"] .elf-project__shape-right {
        max-width: 55vw;
    }
}

/* Mobile */

@media (max-width: 767px) {
    section[data-name="elf_project"] {
        width: 100%;
        max-width: 100%;
        min-height: 520px;
        margin: 0;
        padding: 46px 18px 80px;
        overflow: visible;
    }

    section[data-name="elf_project"] .elf-project__inner {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    section[data-name="elf_project"] .elf-project__filters {
        display: flex;
        width: 100%;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin: 0 0 24px;
        padding: 0;
        overflow: visible;
    }

    section[data-name="elf_project"] .elf-project__filter {
        width: auto;
        min-width: auto;
        min-height: 40px;
        flex: 0 0 auto;
        padding: 7px 11px 8px;
        font-size: 14px;
    }

    section[data-name="elf_project"] .elf-project__filter.is-active {
        width: auto;
        min-width: auto;
        height: 40px;
        min-height: 40px;
        padding: 7px 14px;
    }

    section[data-name="elf_project"] .elf-project__filter--all.is-active {
        width: 40px;
        min-width: 40px;
        height: 40px;
        padding: 0;
    }

    section[data-name="elf_project"] .elf-project__results {
        width: 100%;
        min-height: 360px;
    }

    section[data-name="elf_project"] .elf-project__grid {
        display: grid;
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        margin: 0;
        padding: 0;
        overflow: visible;
    }

    section[data-name="elf_project"] .elf-project__card {
        display: block;
        width: 100%;
        max-width: 440px;
        height: 380px;
        margin: 0 auto;
        border-radius: 18px;
    }

    section[data-name="elf_project"] .elf-project__content {
        right: 20px;
        bottom: 23px;
        left: 20px;
    }

    section[data-name="elf_project"] .elf-project__title {
        font-size: 19px;
    }

    section[data-name="elf_project"] .elf-project__excerpt {
        font-size: 13px;
        line-height: 1.5;
    }

    section[data-name="elf_project"] .elf-project__arrow {
        top: 13px;
        right: 13px;
        width: 36px;
        height: 36px;
    }

    section[data-name="elf_project"] .elf-project__arrow::before {
        width: 15px;
        height: 15px;
    }

    section[data-name="elf_project"] .elf-project__graphic {
        top: -30px;
        right: -20px;
        width: 310px;
        max-width: 72vw;
    }

    section[data-name="elf_project"] .elf-project__bottom-pattern {
        left: 0;
        bottom: 0;
        width: auto;
        max-width: 72vw;
    }

    section[data-name="elf_project"] .elf-project__shape-left {
        left: 0;
        bottom: 0;
        width: auto;
        max-width: 82vw;
    }

    section[data-name="elf_project"] .elf-project__shape-right {
        right: 0;
        bottom: 0;
        width: auto;
        max-width: 82vw;
    }

    section[data-name="elf_project"] .elf-project__pagination {
        width: 100%;
        margin: 28px 0 0;
        padding: 0;
    }

    section[data-name="elf_project"] .elf-project__pagination ul {
        width: 100%;
        flex-wrap: wrap;
        gap: 6px;
    }

    section[data-name="elf_project"] .elf-project__page,
    section[data-name="elf_project"] .elf-project__ellipsis {
        min-width: 28px;
        height: 28px;
        font-size: 14px;
    }

    section[data-name="elf_project"] .elf-project__page--previous,
    section[data-name="elf_project"] .elf-project__page--next {
        width: auto;
        min-width: auto;
        padding: 0 5px;
    }
}

/* Small Mobile */

@media (max-width: 480px) {
    section[data-name="elf_project"] {
        padding: 42px 15px 150px;
    }

    section[data-name="elf_project"] .elf-project__filters {
        gap: 8px;
    }

    section[data-name="elf_project"] .elf-project__filter {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 13px;
    }

    section[data-name="elf_project"] .elf-project__card {
        max-width: 100%;
        height: 355px;
    }

    section[data-name="elf_project"] .elf-project__content {
        right: 18px;
        bottom: 21px;
        left: 18px;
    }

    section[data-name="elf_project"] .elf-project__title {
        font-size: 18px;
    }

    section[data-name="elf_project"] .elf-project__graphic {
        top: -20px;
        right: -15px;
        width: 265px;
        max-width: 75vw;
    }

    section[data-name="elf_project"] .elf-project__bottom-pattern {
        max-width: 78vw;
    }

    section[data-name="elf_project"] .elf-project__shape-left {
        max-width: 90vw;
    }

    section[data-name="elf_project"] .elf-project__shape-right {
        max-width: 90vw;
    }

    section[data-name="elf_project"] .elf-project__page--previous,
    section[data-name="elf_project"] .elf-project__page--next {
        font-size: 13px;
    }
}

/* Reduced Motion */

@media (prefers-reduced-motion: reduce) {
    section[data-name="elf_project"] .elf-project__graphic,
    section[data-name="elf_project"] .elf-project__bottom-pattern,
    section[data-name="elf_project"] .elf-project__shape-left,
    section[data-name="elf_project"] .elf-project__shape-right,
    section[data-name="elf_project"] .elf-project__filters,
    section[data-name="elf_project"] .elf-project__card {
        opacity: 1;
        transform: none;
        animation: none;
    }

    section[data-name="elf_project"] .elf-project__image,
    section[data-name="elf_project"] .elf-project__arrow,
    section[data-name="elf_project"] .elf-project__arrow::before,
    section[data-name="elf_project"] .elf-project__card::after {
        transition: none;
    }
}
