.prod-challenge-detail {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 5rem;
}


.prod-challenge-detail-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    color: #85869E;
    font-size: .75rem;
}


.prod-challenge-detail-breadcrumb a {
    color: #85869E;
    text-decoration: none;
}


.prod-challenge-detail-grid {
    display: grid;
    grid-template-columns: 46fr 30fr;
    gap: 1.25rem;
}


.prod-challenge-detail-left {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 1.25rem;
}


.prod-challenge-detail-image {
    display: flex;
    width: 100%;
    aspect-ratio: 2.3 / 1;
    overflow: hidden;
    align-items: center;
    border-radius: 1rem;
    background: #EBEFFF;
}


.prod-challenge-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.prod-challenge-description {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}


.prod-challenge-description h1 {
    margin: 0;
    color: #0A0C3C;
    font-size: 1rem;
}


.prod-challenge-description div {
    color: #9D9EB1;
    font-size: .75rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: justify;
}


.prod-challenge-description p {
    margin: 0 0 .6rem;
}


.prod-challenge-detail-footer {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}


.prod-challenge-desktop-actions,
.prod-challenge-mobile-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
}


.prod-challenge-mobile-actions {
    display: none;
}


.prod-challenge-date,
.prod-challenge-stat {
    display: inline-flex;
    padding: .5rem 1rem;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    border: 0;
    border-radius: 2.5rem;
    background: #EBEFFF;
    color: #0A0C3C;
    font: inherit;
    font-size: .875rem;
    font-weight: 500;
}


button.prod-challenge-stat {
    cursor: pointer;
}


.prod-challenge-date svg,
.prod-challenge-stat svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.prod-challenge-join {
    display: flex;
    padding: .75rem;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 1rem;
    background: #F8F9FE;
}


.prod-challenge-join h3,
.prod-challenge-join p {
    margin: 0;
}


.prod-challenge-join h3 {
    color: #0A0C3C;
    font-size: .875rem;
}


.prod-challenge-join p {
    margin-top: .3rem;
    color: #9D9EB1;
    font-size: .75rem;
}


.prod-challenge-join-button {
    display: inline-flex;
    padding: .75rem 1rem;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: .75rem;
    background: #7E6CFF;
    color: #fff;
    font: inherit;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
}


.prod-challenge-join-button:disabled {
    opacity: .55;
    cursor: default;
}


/* COMMENTS */

.prod-challenge-comments {
    display: flex;
    min-height: 100%;
    padding: 1rem;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    border-radius: 1rem;
    background: #fff;
}


.prod-challenge-comments > h2 {
    margin: 0;
    color: #0A0C3C;
    font-size: 1rem;
}


.prod-challenge-comment-list {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 1.25rem;
}


.prod-challenge-comment {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: .75rem;
}


.prod-challenge-comment-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}


.prod-challenge-comment-avatar {
    width: 2.5rem;
    height: 2.5rem;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: .5rem;
    background: #EBEFFF;
}


.prod-challenge-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.prod-challenge-comment-user h3,
.prod-challenge-comment-user p {
    margin: 0;
}


.prod-challenge-comment-user h3 {
    color: #0A0C3C;
    font-size: 1rem;
}


.prod-challenge-comment-user p,
.prod-challenge-comment-text,
.prod-challenge-no-comments {
    color: #9D9EB1;
    font-size: .75rem;
    font-weight: 500;
}


.prod-challenge-comment-text,
.prod-challenge-no-comments {
    margin: 0;
}


.prod-challenge-comment-footer {
    display: flex;
    width: 100%;
    margin-top: auto;
    padding: .75rem;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    border-radius: 1rem;
    background: #F8F9FE;
}


.prod-challenge-comment-footer h3,
.prod-challenge-comment-footer p {
    margin: 0;
}


.prod-challenge-comment-footer h3 {
    color: #0A0C3C;
    font-size: .875rem;
}


.prod-challenge-comment-footer p {
    margin-top: .3rem;
    color: #9D9EB1;
    font-size: .75rem;
}


.prod-challenge-comment-login {
    display: inline-flex;
    padding: .75rem 1rem;
    border-radius: .75rem;
    background: #7E6CFF;
    color: #fff;
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
}


.prod-challenge-comment-footer textarea {
    min-height: 2.75rem;
    flex: 1;
    resize: none;
    padding: .75rem;
    box-sizing: border-box;
    border: 0;
    outline: 0;
    background: transparent;
    color: #85869E;
    font: inherit;
    font-size: .75rem;
}


.prod-challenge-comment-footer button {
    display: flex;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: .75rem;
    background: #7E6CFF;
    color: #fff;
}


.prod-challenge-comment-footer button:disabled {
    opacity: .55;
}


/* RELATED */

.prod-challenge-related {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}


.prod-challenge-related-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.prod-challenge-related-title h2 {
    margin: 0;
    color: #0A0C3C;
    font-size: 1rem;
}


.prod-challenge-related-title a {
    color: #7E6CFF;
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none;
}


.prod-challenge-related-list {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    cursor: grab;
    scrollbar-width: none;
}


.prod-challenge-related-list::-webkit-scrollbar {
    display: none;
}


.prod-challenge-related-list.dragging {
    cursor: grabbing;
    user-select: none;
}


.prod-challenge-related-card {
    display: flex;
    width: calc(100% / 4);
    min-width: calc(100% / 4);
    flex-direction: column;
    gap: 1.25rem;
    color: #0A0C3C;
    text-decoration: none;
}


.prod-challenge-related-image {
    position: relative;
    width: 100%;
    aspect-ratio: 18.75 / 10;
    overflow: hidden;
    border-radius: .75rem;
    background: #EBEFFF;
}


.prod-challenge-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.prod-challenge-related-labels {
    position: absolute;
    z-index: 2;
    top: .5rem;
    left: .5rem;
    display: flex;
    gap: .5rem;
}


.prod-challenge-related-labels span {
    display: inline-flex;
    padding: .25rem .5rem;
    align-items: center;
    justify-content: center;
    border-radius: .25rem;
    background: #fff;
    color: #0A0C3C;
    font-size: .625rem;
    font-weight: 600;
}


.prod-challenge-related-footer h3 {
    margin: 0 0 .5rem;
    color: #0A0C3C;
    font-size: .875rem;
}


.prod-challenge-related-footer > div {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: .5rem;
}


.prod-challenge-related-footer span {
    display: inline-flex;
    padding: .25rem .75rem;
    align-items: center;
    justify-content: center;
    border-radius: 2.5rem;
    background: #E5E2FF;
    color: #7E6CFF;
    font-size: .75rem;
    font-weight: 500;
}


@media (max-width: 640.98px) {

    .prod-challenge-detail-breadcrumb {
        margin: 0 .75rem;
    }


    .prod-challenge-detail-grid {
        grid-template-columns: 1fr;
        margin: 0 .75rem;
    }


    .prod-challenge-detail-image {
        aspect-ratio: 18.75 / 10;
    }


    .prod-challenge-desktop-actions {
        display: none;
    }


    .prod-challenge-mobile-actions {
        display: flex;
    }


    .prod-challenge-detail-footer {
        justify-content: flex-start;
    }


    .prod-challenge-join {
        align-items: stretch;
        flex-direction: column;
    }


    .prod-challenge-join-button {
        width: 100%;
        box-sizing: border-box;
    }


    .prod-challenge-comments {
        min-height: 25rem;
    }


    .prod-challenge-related-title {
        margin: 0 .75rem;
    }


    .prod-challenge-related-list {
        padding-left: .75rem;
    }


    .prod-challenge-related-card {
        width: calc(100% / 1.25);
        min-width: calc(100% / 1.25);
    }

}
