:root {
    --np-red: #a7363e;
    --np-red-dark: #76242b;
    --np-ink: #251f20;
    --np-muted: #6f6667;
    --np-cream: #fbf7f2;
    --np-border: #eadfda;
    --np-white: #fff;
    --np-shadow: 0 18px 45px rgba(65, 24, 28, .11);
}

.new-projects-page,
.new-article-page {
    color: var(--np-ink);
    background: var(--np-white);
    font-family: "Roboto", sans-serif;
}

.new-projects-page *,
.new-article-page * {
    box-sizing: border-box;
}

.np-kicker {
    display: inline-block;
    color: var(--np-red);
    font: 800 12px/1.3 "Raleway", sans-serif;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.np-hero {
    position: relative;
    min-height: 52vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: url('../../../upload/slide/1747722581_d7437dd61a10ccbe4ee8.jpg') center/cover no-repeat;
}

.np-hero__overlay,
.na-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(65, 18, 22, .92), rgba(117, 31, 38, .74) 52%, rgba(20, 17, 17, .48));
}

.np-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 72px;
    padding-bottom: 72px;
    color: #fff;
    text-align: center;
}

.np-hero .np-kicker,
.na-hero .np-kicker {
    color: #f2c7ca;
}

.np-hero h1 {
    margin: 12px 0 15px;
    color: #fff;
    font: 800 clamp(42px, 7vw, 78px)/1 "Raleway", sans-serif;
}

.np-hero p {
    max-width: 690px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .9);
    font-size: 18px;
    line-height: 1.7;
}

.np-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 28px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.np-breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.np-intro {
    padding: 90px 0 65px;
}

.np-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 70px;
    align-items: end;
}

.np-intro h2,
.np-featured h2,
.np-section-heading h2,
.np-cta h2,
.na-highlights h2,
.na-gallery h2 {
    margin: 12px 0 0;
    color: var(--np-ink);
    font: 750 clamp(30px, 4vw, 48px)/1.16 "Raleway", sans-serif;
}

.np-intro p,
.np-featured__body > p,
.np-section-heading > p {
    margin: 0;
    color: var(--np-muted);
    font-size: 17px;
    line-height: 1.85;
}



.np-projects-catalog {
    padding: 90px 0 100px;
    background: var(--np-cream);
}

.np-projects-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.np-projects-sidebar {
    position: sticky;
    top: 100px;
    padding: 28px 22px;
    border-radius: 14px;
}

.np-projects-sidebar__title {
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--np-border);
    color: var(--np-ink);
    font: 700 15px/1.4 "Raleway", sans-serif;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.np-project-filter-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.np-project-filter-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 13px 16px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #3e4a5b;
    font: 600 13.5px/1.4 "Raleway", sans-serif;
    text-align: left;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, padding-left .2s ease;
}

.np-project-filter-btn:hover:not(.active) {
    padding-left: 20px;
    background: #f7edeb;
    color: var(--np-ink);
}

.np-project-filter-btn.active {
    background: var(--np-red);
    color: #fff;
    box-shadow: 0 6px 16px rgba(157, 35, 44, .25);
}

.np-projects-content {
    min-width: 0;
}

.np-projects-content .np-featured {
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
}

.np-projects-content .np-featured__body {
    padding: 42px;
}

.np-projects-content .np-featured h2 {
    font-size: clamp(31px, 3vw, 42px);
}

.np-featured {
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    min-height: 590px;
    overflow: hidden;
    border-radius: 24px;
    background: var(--np-cream);
    box-shadow: var(--np-shadow);
    margin-bottom: 30px;
}

.np-featured__image,
.np-card__image,
.na-related__image {
    display: block;
    overflow: hidden;
}

.np-featured__image img,
.np-card__image img,
.na-related__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .6s ease;
}

.np-featured:hover .np-featured__image img,
.np-card:hover .np-card__image img,
.na-related article:hover .na-related__image img {
    transform: scale(1.04);
}

.np-featured__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
}

.np-category {
    margin: 18px 0 0 !important;
    color: var(--np-red) !important;
    font: 700 14px "Raleway", sans-serif;
}

.np-featured h2 {
    margin-top: 10px;
    font-size: clamp(34px, 4vw, 50px);
}

.np-featured__body > p:not(.np-category) {
    margin-top: 22px;
}

.np-impact-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    padding: 18px 0;
    border-top: 1px solid var(--np-border);
    border-bottom: 1px solid var(--np-border);
}

.np-impact-stat strong {
    color: var(--np-red);
    font: 800 34px "Raleway", sans-serif;
}

.np-impact-stat span {
    color: var(--np-muted);
    font-size: 13px;
    line-height: 1.4;
}

.np-story-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: var(--np-red) !important;
    font: 800 13px "Raleway", sans-serif;
    letter-spacing: .5px;
    text-decoration: none !important;
    text-transform: uppercase;
}

.np-story-link i {
    transition: transform .25s ease;
}

.np-story-link:hover i {
    transform: translateX(5px);
}

.np-section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.np-section-heading > p {
    margin-top: 16px;
}

.np-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.np-card {
    overflow: hidden;
    border: 1px solid var(--np-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(65, 24, 28, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.np-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--np-shadow);
}

.np-card__image {
    position: relative;
    height: 300px;
}

.np-card__image > span {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(117, 31, 38, .94);
    color: #fff;
    font: 700 11px "Raleway", sans-serif;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.np-card__body {
    padding: 30px;
}

.np-card h3 {
    margin: 10px 0 14px;
    font: 750 26px/1.3 "Raleway", sans-serif;
}

.np-card h3 a {
    color: var(--np-ink);
    text-decoration: none;
}

.np-card__body > p {
    min-height: 78px;
    margin: 0;
    color: var(--np-muted);
    font-size: 15px;
    line-height: 1.7;
}

.np-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--np-border);
}

.np-card__footer > span {
    max-width: 180px;
    color: var(--np-muted);
    font-size: 11px;
    line-height: 1.4;
}

.np-card__footer > span strong {
    display: block;
    color: var(--np-red);
    font: 800 21px "Raleway", sans-serif;
}

.np-card__footer > a {
    color: var(--np-red);
    font: 800 11px "Raleway", sans-serif;
    text-decoration: none;
    text-transform: uppercase;
}

.np-cta {
    padding: 100px 0;
}

.np-cta__card {
    padding: 75px 9%;
    border-radius: 24px;
    background: linear-gradient(135deg, #76242b, #a7363e);
    color: #fff;
    text-align: center;
    box-shadow: var(--np-shadow);
}

.np-cta .np-kicker {
    color: #f3c8cb;
}

.np-cta h2 {
    color: #fff;
}

.np-cta p {
    margin: 18px auto 28px;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
}

.np-cta button {
    padding: 13px 26px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #fff;
    color: var(--np-red);
    font: 800 12px "Raleway", sans-serif;
    letter-spacing: .6px;
    text-transform: uppercase;
    cursor: pointer;
}

/* Article */
.na-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.na-hero__background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
}

.na-hero__overlay {
    background: linear-gradient(0deg, rgba(28, 16, 17, .96), rgba(64, 20, 23, .65) 60%, rgba(21, 16, 17, .35));
}

.na-hero__content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    padding-top: 100px;
    padding-bottom: 70px;
    color: #fff;
}

.na-hero h1 {
    max-width: 900px;
    margin: 14px 0 20px;
    color: #fff;
    font: 800 clamp(40px, 6vw, 70px)/1.08 "Raleway", sans-serif;
}

.na-hero__content > p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .87);
    font-size: 18px;
    line-height: 1.7;
}

.na-meta {
    display: flex;
    gap: 18px;
    margin-top: 25px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.na-hero .np-breadcrumb {
    justify-content: flex-start;
    margin-top: 24px;
}

.na-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 70px;
    padding-top: 80px;
    padding-bottom: 100px;
}

.na-opening {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 45px;
    align-items: center;
    margin-bottom: 75px;
    padding-bottom: 55px;
    border-bottom: 1px solid var(--np-border);
}

.na-lead {
    margin: 0;
    color: var(--np-ink);
    font: 500 clamp(22px, 3vw, 30px)/1.55 "Raleway", sans-serif;
}

.na-stat {
    padding: 25px;
    border-left: 4px solid var(--np-red);
    background: var(--np-cream);
}

.na-stat strong {
    display: block;
    color: var(--np-red);
    font: 800 38px "Raleway", sans-serif;
}

.na-stat span {
    color: var(--np-muted);
    font-size: 12px;
    line-height: 1.45;
}

.na-section {
    margin-bottom: 75px;
}

.na-section__copy {
    max-width: 800px;
    margin: 0 auto 30px;
}

.na-section h2 {
    margin: 0 0 20px;
    color: var(--np-ink);
    font: 750 clamp(28px, 4vw, 42px)/1.2 "Raleway", sans-serif;
}

.na-section p {
    margin: 0 0 18px;
    color: #51494a;
    font-size: 17px;
    line-height: 1.9;
}

.na-section figure,
.na-gallery figure {
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #eee;
}

.na-section figure {
    height: 480px;
}

.na-section figure img,
.na-gallery figure img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.na-highlights {
    margin: 20px 0 80px;
    padding: 50px;
    border-radius: 20px;
    background: var(--np-cream);
}

.na-highlights h2,
.na-gallery h2 {
    font-size: 38px;
}

.na-highlights ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.na-highlights li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 17px;
    border: 1px solid var(--np-border);
    border-radius: 10px;
    background: #fff;
    color: #51494a;
}

.na-highlights li i {
    margin-top: 3px;
    color: var(--np-red);
}

.na-gallery > header {
    margin-bottom: 30px;
}

.na-gallery__grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: 220px 220px;
    gap: 18px;
}

.na-gallery figure:first-child {
    grid-row: 1 / 3;
}

.na-aside__card {
    position: sticky;
    top: 145px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border: 1px solid var(--np-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(65, 24, 28, .06);
}

.na-aside__card .np-kicker {
    margin-bottom: 8px;
}

.na-aside__card a {
    padding: 10px 0;
    border-bottom: 1px solid var(--np-border);
    color: var(--np-ink);
    font-size: 13px;
    text-decoration: none;
}

.na-aside__card a:last-child {
    border-bottom: 0;
}

.na-aside__card i {
    width: 20px;
    color: var(--np-red);
}

.na-related {
    padding: 90px 0 110px;
    background: var(--np-cream);
}

.na-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.na-related article {
    overflow: hidden;
    border: 1px solid var(--np-border);
    border-radius: 16px;
    background: #fff;
}

.na-related__image {
    height: 230px;
}

.na-related article > div {
    padding: 25px;
}

.na-related article > div > span {
    color: var(--np-red);
    font: 700 11px "Raleway", sans-serif;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.na-related h3 {
    margin: 10px 0 20px;
    font: 750 21px/1.35 "Raleway", sans-serif;
}

.na-related h3 a {
    color: var(--np-ink);
    text-decoration: none;
}

@media (max-width: 991px) {
    .np-intro__grid,
    .np-featured,
    .na-layout {
        grid-template-columns: 1fr;
    }

    .np-projects-layout {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 24px;
    }

    .np-projects-content .np-featured {
        grid-template-columns: 1fr;
    }

    .np-intro__grid {
        gap: 28px;
    }

    .np-featured__image {
        min-height: 450px;
    }

    .np-featured__body {
        padding: 45px;
    }

    .na-layout {
        gap: 25px;
    }

    .na-aside {
        order: -1;
    }

    .na-aside__card {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .na-aside__card .np-kicker {
        width: 100%;
    }

    .na-aside__card a {
        padding: 8px 16px 8px 0;
        border: 0;
    }
}

@media (max-width: 767px) {
    .np-hero {
        min-height: 38vh;
    }

    .np-hero__content {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .np-hero h1 {
        font-size: 42px;
    }

    .np-hero p,
    .na-hero__content > p {
        font-size: 14px;
    }

    .np-intro,
    .np-projects-catalog,
    .np-cta,
    .na-related {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .np-projects-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .np-projects-sidebar {
        position: static;
        min-width: 0;
        width: 100%;
        padding: 18px 0;
    }

    .np-projects-sidebar__title {
        margin-bottom: 14px;
    }

    .np-project-filter-container {
        flex-direction: row;
        gap: 10px;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .np-project-filter-container::-webkit-scrollbar {
        display: none;
    }

    .np-project-filter-btn {
        flex: 0 0 auto;
        width: auto;
        border: 1px solid var(--np-border);
        white-space: nowrap;
    }

    .np-project-filter-btn:hover:not(.active) {
        padding-left: 16px;
    }

    .np-projects-content .np-featured {
        min-height: 0;
    }

    .np-featured__image {
        min-height: 310px;
    }

    .np-featured__body,
    .np-card__body {
        padding: 28px;
    }

    .np-card-grid,
    .na-related__grid,
    .na-highlights ul {
        grid-template-columns: 1fr;
    }

    .np-card__body > p {
        min-height: 0;
    }

    .np-card__footer {
        align-items: flex-end;
    }

    .np-cta__card {
        padding: 50px 24px;
    }

    .na-hero {
        min-height: 62vh;
    }

    .na-hero__content {
        padding-top: 80px;
        padding-bottom: 45px;
    }

    .na-hero h1 {
        font-size: 38px;
    }

    .na-layout {
        padding-top: 50px;
        padding-bottom: 65px;
    }

    .na-opening {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 55px;
    }

    .na-section {
        margin-bottom: 55px;
    }

    .na-section figure {
        height: 300px;
    }

    .na-highlights {
        padding: 32px 22px;
    }

    .na-gallery__grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 260px);
    }

    .na-gallery figure:first-child {
        grid-row: auto;
    }
}

@media (max-width: 420px) {
    .np-featured__image,
    .np-card__image,
    .na-related__image {
        min-height: 0;
        height: 245px;
    }

    .np-card__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .na-meta {
        flex-direction: column;
        gap: 5px;
    }

    .na-section p {
        font-size: 15px;
    }
}
