:root {
    --project-red: #f34635;
    --project-dark: #111719;
    --project-line: #e1e4e5;
    --project-muted: #62686b
}

body.post-type-archive-project a,
body.tax-project_category a,
.project-archive-page a {
    text-decoration: none !important
}

.project-archive-page {
    padding-top: 0 !important;
    overflow-x: clip;
    color: #181c1e;
    font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif
}

.project-icons {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden
}

.project-archive-page svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round
}

.project-hero {
    position: relative;
    overflow: hidden;
    height: 470px;
    padding-top: 70px;
    color: #fff;
    background-color: var(--project-dark);
    --alu-hero-position: center 48%
}

.project-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background-image:
        linear-gradient(90deg,
            rgba(5, 11, 13, .84),
            rgba(5, 11, 13, .18) 67%,
            rgba(5, 11, 13, .48))
}

.project-hero__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.project-breadcrumb {
    margin-bottom: 17px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .84);
    font-size: 14px
}

.project-breadcrumb a {
    color: inherit
}

.project-breadcrumb a:hover {
    color: var(--project-red)
}

.project-breadcrumb [aria-current="page"] {
    font-weight: 500
}

.project-hero__copy h1 {
    margin: 0;
    font-size: 40px;
    line-height: 1.10;
    text-transform: uppercase;
    letter-spacing: 0
}

.project-hero__copy h1 span,
.project-hero__copy h1 strong {
    color: var(--project-red)
}

.project-hero__copy p {
    margin: 13px 0 0;
    font-size: 15px;
    line-height: 1.5
}

.project-hero__aside {
    position: absolute;
    top: 50%;
    right: 0;
    margin: 0;
    padding: 17px 21px;
    border-left: 3px solid var(--project-red);
    border-radius: 5px;
    background: rgba(0, 0, 0, .52);
    color: #fff;
    font-size: 18px;
    line-height: 1.7;
    text-transform: uppercase;
    transform: translateY(-50%);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px)
}

.project-stats {
    position: absolute;
    left: 0;
    bottom: 15px;
    display: flex;
    align-items: center
}

.project-stats>div {
    min-width: 210px;
    padding: 4px 32px;
    display: flex;
    align-items: center;
    gap: 17px;
    border-right: 1px solid rgba(255, 255, 255, .35)
}

.project-stats>div:first-child {
    padding-left: 0
}

.project-stats>div:last-child {
    border: 0
}

.project-stats svg {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    stroke-width: 1.6
}

.project-stats p {
    margin: 0
}

.project-stats strong,
.project-stats span {
    display: block
}

.project-stats strong {
    font-size: 25px;
    line-height: 1
}

.project-stats span {
    margin-top: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, .85)
}

.project-intro {
    padding: 40px 0;
    background: #f6f7f7;
    border-bottom: 1px solid #e9eced;
}

.project-intro>.home-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 64px;
}

.project-intro__heading {
    padding-left: 22px;
    border-left: 3px solid var(--project-red);
}

.project-intro__heading>span {
    display: block;
    margin-bottom: 10px;
    color: var(--project-red);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
}

.project-intro h2 {
    margin: 0;
    max-width: 440px;
    font-size: 28px;
    line-height: 1.35;
}

.project-intro p {
    max-width: 920px;
    margin: 0;
    color: var(--project-muted);
    font-size: 14px;
    line-height: 1.75;
}

.project-listing {
    padding: 24px 0 30px;
    background: #fff
}

.project-toolbar {
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px
}

.project-filter-nav {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    flex: 1;
    width: 100%;
}

.project-filter-tab,
.project-filter-more__toggle {
    min-height: 40px;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 15px;
    border: 1px solid #e2e6e8;
    border-radius: 5px;
    background: #f7f8f8;
    color: #303537;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.project-filter-tab:hover,
.project-filter-more__toggle:hover {
    border-color: rgba(243, 70, 53, .45);
    background: #fff4f2;
    color: var(--project-red);
}

.project-filter-tab.is-active {
    border-color: var(--project-red);
    background: var(--project-red);
    color: #fff;
    box-shadow: 0 5px 12px rgba(243, 70, 53, .18);
}

.project-filter-more {
    position: relative;
}

.project-filter-more__toggle svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform .2s ease;
}

.project-filter-more__toggle[aria-expanded="true"] {
    border-color: rgba(243, 70, 53, .45);
    background: #fff4f2;
    color: var(--project-red);
}

.project-filter-more__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.project-filter-more__menu {
    position: absolute;
    z-index: 30;
    top: calc(100% + 8px);
    right: 0;
    width: max-content;
    min-width: 210px;
    max-width: min(320px, calc(100vw - 32px));
    padding: 7px;
    border: 1px solid #e2e6e8;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(17, 23, 25, .14);
}

.project-filter-more__menu[hidden] {
    display: none;
}

.project-filter-more__menu a {
    display: flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 11px;
    border-radius: 4px;
    color: #303537;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}

.project-filter-more__menu a:hover {
    background: #fff1ef;
    color: var(--project-red);
}

@media (max-width: 620px) {
    .project-intro { padding: 26px 0; }
    .project-intro h2 { font-size: 22px; }
    .project-intro>.home-container { grid-template-columns: 1fr; gap: 16px; }
    .project-intro__heading { padding-left: 16px; }
}

.project-archive-page .project-filter-nav a:focus,
.project-archive-page .project-filter-nav button:focus,
.project-archive-page .project-card a:focus {
    outline: none;
}

.project-archive-page .project-filter-nav a:focus-visible,
.project-archive-page .project-filter-nav button:focus-visible,
.project-archive-page .project-card a:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(243, 70, 53, .18);
}

.project-search {
    width: 230px;
    height: 40px;
    padding: 0 13px;
    flex: 0 0 230px;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #d9dddf;
    border-radius: 4px;
    background: #fff
}

.project-search:focus-within {
    border-color: var(--project-red);
    box-shadow: 0 0 0 3px rgba(243, 70, 53, .08)
}

.project-search svg {
    width: 17px;
    height: 17px
}

.project-search input {
    width: 100%;
    min-width: 0;
    border: 0 !important;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 13px;
    box-shadow: none !important
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 18px
}

.project-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    border: 1px solid #eceeef;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: transform .25s, box-shadow .25s
}

.project-card:hover {
    transform: translateY(-3px);
    border-color: #f2afa8;
    box-shadow: 0 12px 26px rgba(13, 25, 30, .13)
}

.project-card[hidden] {
    display: none
}

.project-card__image {
    position: relative;
    height: 205px;
    display: block;
    overflow: hidden;
    background:
        linear-gradient(135deg, #eef0f1 0%, #dfe3e5 100%)
}

.project-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .4s
}

.project-card:hover img {
    transform: scale(1.035)
}

.project-card__image span {
    position: absolute;
    left: 10px;
    bottom: 9px;
    padding: 5px 10px;
    border-radius: 4px;
    background: #fff;
    color: #222;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12)
}

.project-card__body {
    padding: 13px 14px 14px;
    display: flex;
    flex: 1;
    flex-direction: column
}

.project-card h2 {
    min-height: 30px;
    margin: 0;
    font-size: 15px;
    line-height: 1.3;
    text-transform: none
}

.project-card__body>div {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px
}

.project-card__body>div>span {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #555b5e;
    font-size: 12px;
    line-height: 1.35
}

.project-card__body>div>span svg {
    width: 18px;
    height: 18px;
    flex: 0 0 15px;
    stroke-width: 2.5;
}

.project-card__body>div>a {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: grid;
    place-items: center;
    border: 1px solid #d7dbdd !important;
    border-radius: 50%;
    color: #202527
}

.project-card__body>div>a:hover {
    border-color: var(--project-red) !important;
    color: var(--project-red)
}

.project-card__body>div>a svg {
    width: 16px;
    height: 16px
}

.project-empty {
    padding: 55px 20px;
    text-align: center;
    color: #666
}

.project-empty[hidden] {
    display: none !important
}

.project-load-more {
    min-width: 205px;
    height: 43px;
    margin: 24px auto 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #596064;
    border-radius: 3px;
    background: #fff;
    color: #171b1d;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s
}

.project-load-more:hover {
    border-color: var(--project-red);
    color: var(--project-red)
}

.project-load-more svg {
    width: 16px;
    height: 16px
}

.project-pagination {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 7px;
}

.project-pagination .page-numbers {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9dddf;
    border-radius: 5px;
    background: #fff;
    color: #24282a;
    text-decoration: none;
}

.project-pagination .page-numbers:hover,
.project-pagination .page-numbers.current {
    border-color: var(--project-red);
    background: var(--project-red);
    color: #fff;
}

.project-pagination .page-numbers:focus {
    outline: none;
}

.project-pagination .page-numbers:focus-visible {
    outline: none;
    border-color: var(--project-red);
    box-shadow: 0 0 0 3px rgba(243, 70, 53, .18);
}

.project-featured {
    min-height: 355px;
    display: grid;
    grid-template-columns: 40% 60%;
    background: #101719;
    color: #fff
}

.project-featured__copy {
    padding: 40px max(42px, calc((100vw - 1180px)/2));
    padding-right: 45px
}

.project-featured__copy>p {
    margin: 0 0 11px;
    color: var(--project-red);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase
}

.project-featured__copy h2 {
    max-width: 430px;
    margin: 0;
    font-size: 29px;
    line-height: 1.08;
    text-transform: uppercase
}

.project-featured__copy>div {
    max-width: 480px;
    margin-top: 15px;
    color: #d7dadd;
    font-size: 14px;
    line-height: 1.5
}

.project-featured__copy>a {
    width: max-content;
    margin-top: 22px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .72) !important;
    border-radius: 3px;
    color: #fff;
    font-size: 13px
}

.project-featured__copy>a:hover {
    border-color: var(--project-red) !important;
    color: var(--project-red)
}

.project-featured__copy>a svg {
    width: 16px;
    height: 16px
}

.project-featured__copy ul {
    max-width: 470px;
    margin: 24px 0 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    list-style: none
}

.project-featured__copy li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px
}

.project-featured__copy li svg {
    width: 22px;
    height: 22px;
    color: #fff
}

.project-featured__image {
    position: relative;
    min-height: 355px;
    background-color: #222b2e;
    background-image:
        linear-gradient(90deg,
            rgba(10, 18, 20, .04),
            rgba(10, 18, 20, .02)),
        var(--featured-image,
            linear-gradient(135deg, #222b2e 0%, #3a4549 100%));
    background-size: cover;
    background-position: center
}

.project-featured__image blockquote {
    position: absolute;
    right: max(34px, calc((100vw - 1180px) / 2));
    bottom: 70px;
    margin: 0;
    padding: 22px 24px;
    border-left: 1px solid rgba(255, 255, 255, .25);
    background: rgba(10, 17, 19, .78);
    font-size: 16px;
    line-height: 1.5
}

.project-cta {
    padding: 27px 0;
    background: #f5f6f6
}

.project-cta>.home-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px
}

.project-cta p {
    margin: 0 0 7px;
    color: var(--project-red);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase
}

.project-cta h2 {
    margin: 0;
    font-size: 26px;
    text-transform: uppercase
}

.project-cta span {
    display: block;
    margin-top: 7px;
    color: #666d70;
    font-size: 14px
}

.project-cta a {
    min-width: 200px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 3px;
    background: var(--project-red);
    color: #fff;
    font-size: 13px
}

.project-cta a:hover {
    background: #d93628
}

.project-cta a svg {
    width: 16px;
    height: 16px
}

@media(max-width:1100px) {
    .project-hero {
        height: 370px
    }

    .project-hero__copy {
        transform: translateY(-28px)
    }

    .project-stats>div {
        min-width: 0;
        padding-inline: 22px
    }

    .project-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .project-toolbar {
        align-items: flex-start;
        flex-direction: column
    }

    .project-filter-nav {
        width: 100%
    }

    .project-search {
        width: 100%;
        flex-basis: auto
    }

    .project-featured {
        grid-template-columns: 45% 55%
    }

    .project-featured__copy {
        padding: 35px 30px
    }

    .project-featured__copy ul {
        flex-wrap: wrap;
        justify-content: flex-start
    }

    .project-featured__image blockquote {
        right: 20px
    }
}

@media(max-width:760px) {
    .project-hero {
        height: 395px;
        padding-top: 62px;
    }

    .project-hero__inner {
        justify-content: flex-start;
        padding-top: 30px
    }

    .project-hero__copy {
        transform: none
    }

    .project-hero__copy h1 {
        font-size: 34px
    }

    .project-hero__copy p {
        font-size: 14px
    }

    .project-stats {
        right: 0;
        bottom: 18px;
        display: grid;
        grid-template-columns: repeat(3, 1fr)
    }

    .project-stats>div {
        min-width: 0;
        min-height: 54px;
        padding: 6px 8px;
        gap: 9px;
        border-right: 1px solid rgba(255, 255, 255, .25);
        border-bottom: 0
    }

    .project-stats>div:last-child {
        border-right: 0
    }

    .project-stats svg {
        width: 29px;
        height: 29px;
        flex-basis: 29px
    }

    .project-stats strong {
        font-size: 20px
    }

    .project-stats span {
        font-size: 10px
    }

    .project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px 10px
    }

    .project-card__image {
        height: 180px
    }

    .project-featured {
        grid-template-columns: 1fr
    }

    .project-featured__copy {
        padding: 32px 24px
    }

    .project-featured__image {
        min-height: 310px
    }

    .project-cta>.home-container {
        align-items: flex-start;
        flex-direction: column
    }

    .project-cta a {
        width: 100%
    }
}

@media(max-width:520px) {
    .project-hero {
        height: 395px;
        --alu-hero-position: 60% center
    }

    .project-hero::before {
        background-image: linear-gradient(90deg, rgba(5, 11, 13, .88), rgba(5, 11, 13, .62))
    }

    .project-hero__inner {
        padding-top: 85px
    }

    .project-breadcrumb {
        font-size: 11px
    }

    .project-hero__copy h1 {
        font-size: 29px
    }

    .project-hero__copy p {
        max-width: 330px;
        font-size: 12px
    }

    .project-hero__copy p br {
        display: none
    }

    .project-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        bottom: 18px
    }

    .project-stats>div {
        min-height: 50px;
        padding: 8px 0;
        display: flex;
        justify-content: center;
        gap: 7px;
        border-right: 1px solid rgba(255, 255, 255, .25);
        border-bottom: 0
    }

    .project-stats>div:last-child {
        border-right: 0
    }

    .project-stats svg {
        width: 24px;
        height: 24px;
        flex-basis: 24px
    }

    .project-stats strong {
        font-size: 17px
    }

    .project-stats span {
        margin-top: 3px;
        font-size: 9px;
        line-height: 1.2
    }

    .project-listing {
        padding-top: 18px
    }

    .project-toolbar {
        gap: 12px;
        margin-bottom: 16px
    }

    .project-filter-tab,
    .project-filter-more__toggle {
        min-height: 36px;
        height: 36px;
        padding: 0 12px;
        font-size: 12px
    }

    .project-filter-more {
        position: static;
    }

    .project-filter-more__menu {
        right: 0;
        left: 0;
        width: auto;
        max-width: none;
    }

    .project-grid {
        grid-template-columns: 1fr
    }

    .project-card__image {
        height: 225px
    }

    .project-card h2 {
        min-height: 0;
        font-size: 16px
    }

    .project-load-more {
        width: 100%
    }

    .project-featured__copy {
        padding: 28px 20px
    }

    .project-featured__copy h2 {
        font-size: 24px
    }

    .project-featured__copy>div {
        font-size: 13px
    }

    .project-featured__copy ul {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .project-featured__image {
        min-height: 250px
    }

    .project-featured__image blockquote {
        right: 16px;
        bottom: 16px;
        padding: 16px;
        font-size: 14px
    }

    .project-cta {
        padding: 25px 0
    }

    .project-cta h2 {
        font-size: 21px
    }

    .project-cta span {
        font-size: 13px
    }
}
