/* =========================
   PROJECT PAGE
========================= */

.project-detail {
    width: 100%;
    max-width: 1280px;

    margin: 0 auto;

    padding: 75px 0px 100px;

    color: #000000;
}


/* =========================
   PROJECT INTRO
========================= */

.project-detail-intro {
    max-width: 1280px;
}

.project-detail-intro h1 {
    margin: 0 0 12px;

    font-family: "TT Norms", sans-serif;

    font-size: 50px;
    line-height: 1.05;

    font-weight: 700;

    color: #000000;
}

.project-detail-intro h2 {
    margin: 0 0 35px;

    font-family: "TT Norms", sans-serif;

    font-size: 24px;
    line-height: 1.2;

    font-weight: 400;

    color: #000000;
}

.project-detail-intro p {
    max-width: 1280px;

    margin: 0;

    font-family: "TT Norms", sans-serif;

    font-size: 16px;
    line-height: 1.5;

    font-weight: 400;
}

.project-detail-intro a:hover {
    opacity: 0.55;
}

/* =========================
   MY ROLE
========================= */

.project-detail-role {
    margin-top: 65px;

    max-width: 1280px;
}

.project-detail-role h2 {
    margin: 0 0 16px;

    font-family: "TT Norms", sans-serif;

    font-size: 24px;
    line-height: 1.2;

    font-weight: 700;
}

.project-detail-role ul {
    margin: 0;

    padding-left: 25px;
}

.project-detail-role li {
    margin-bottom: 7px;

    font-family: "TT Norms", sans-serif;

    font-size: 16px;
    line-height: 1.45;

    font-weight: 400;
}

/* =========================
   RESULT
========================= */

.project-detail-result {
    max-width: 1280px;

    margin-top: 45px;
}

.project-detail-result h2 {
    margin: 0 0 10px;

    font-family: "TT Norms", sans-serif;

    font-size: 24px;
    line-height: 1.2;

    font-weight: 700;
}

.project-detail-result p {
    margin: 0;

    font-family: "TT Norms", sans-serif;

    font-size: 16px;
    line-height: 1.5;

    font-weight: 400;
}

.project-detail-result a:hover {
    opacity: 0.55;
}

/* =========================
   PROJECT GALLERY
========================= */

.project-detail-gallery {
    width: 1280px;
    max-width: 1280px;

    margin-top: 75px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.project-detail-image {
    flex: 0 0 420px;

    width: 420px;
    max-width: 420px;

    margin: 0;
    padding: 0;

    overflow: hidden;
}

.project-detail-image img {
    display: block;

    width: 420px;
    max-width: 420px;

    height: auto;
}


/* =========================
   LIGHTBOX
========================= */

.project-lightbox {
    position: fixed;

    inset: 0;

    z-index: 9999;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 40px;

    background: rgba(0, 0, 0, 0.9);
}

.project-lightbox.active {
    display: flex;
}

.project-lightbox-image {
    display: block;

    max-width: 95vw;
    max-height: 90vh;

    width: auto;
    height: auto;

    object-fit: contain;
}

.project-lightbox-close {
    position: absolute;

    top: 20px;
    right: 30px;

    border: none;
    background: none;

    color: #f3f1ee;

    font-family: Arial, sans-serif;
    font-size: 40px;
    line-height: 1;

    cursor: pointer;
}

.project-lightbox-close:hover {
    opacity: 0.6;
}

/* =========================
   FOOTER
========================= */

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-container {
    flex: 1;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .project-detail {
        padding: 50px 20px 60px;
    }


    /* INTRO */

    .project-detail-intro {
        max-width: none;
    }

    .project-detail-intro h1 {
        font-size: 34px;
        line-height: 1.05;

        margin-bottom: 10px;
    }

    .project-detail-intro h2 {
        font-size: 20px;

        margin-bottom: 28px;
    }

    .project-detail-intro p {
        font-size: 14px;
        line-height: 1.5;
    }


    /* MY ROLE */

    .project-detail-role {
        margin-top: 45px;

        max-width: none;
    }

    .project-detail-role h2 {
        font-size: 20px;

        margin-bottom: 15px;
    }

    .project-detail-role li {
        font-size: 14px;
        line-height: 1.45;

        margin-bottom: 6px;
    }

    /* RESULT */
	
	.project-detail-result {
    margin-top: 35px;
}

.project-detail-result h2 {
    font-size: 20px;
}

.project-detail-result p {
    font-size: 14px;
    line-height: 1.5;
}

    /* GALLERY */

    .project-detail-gallery {
        width: 100%;
        max-width: 100%;

        margin-top: 50px;

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 10px;
    }

    .project-detail-image {
        width: 100%;
        max-width: 100%;

        min-width: 0;

        overflow: hidden;
    }

    .project-detail-image img {
        display: block;

        width: 100%;
        max-width: 100%;

        height: auto;
    }

}