/* =========================================================
   PEPPER JOURNEY
   SHARED PEPTIDE FACT SHEET
========================================================= */


/* =========================================================
   FACT GRID
========================================================= */

.peptide-facts {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;

    margin-top: 5px;
}


/* =========================================================
   FACT CARD
========================================================= */

.peptide-fact {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    min-height: 70px;

    overflow: hidden;

    padding:
        13px 18px 12px;

    background:
        #ffffff;

    border:
        1px solid rgba(92,49,46,.16);

    border-radius:
        16px;

    box-shadow:
        0 7px 16px rgba(55,35,33,.11),
        0 2px 5px rgba(55,35,33,.06),
        inset 0 1px 0 rgba(255,255,255,.95);
}


/* =========================================================
   DECORATIVE RING
========================================================= */

.peptide-fact::after {
    content: "";

    position: absolute;

    width: 72px;
    height: 72px;

    right: -29px;
    top: -37px;

    border-radius: 50%;

    border:
        1px solid rgba(217,52,43,.10);

    box-shadow:
        0 0 0 10px rgba(217,52,43,.025);

    pointer-events: none;
}


/* =========================================================
   FACT LABEL
========================================================= */

.peptide-fact-label {
    position: relative;

    z-index: 2;

    display: block;

    margin-bottom: 4px;

    color:
        var(--pj-red-dark);

    font-size:
        .64rem;

    font-weight:
        900;

    letter-spacing:
        .07em;

    text-transform:
        uppercase;
}


/* =========================================================
   FACT VALUE
========================================================= */

.peptide-fact-value {
    position: relative;

    z-index: 2;

    display: block;

    color:
        #302827;

    font-size:
        .94rem;

    font-weight:
        850;

    line-height:
        1.2;
}

/* =========================================================
   SUMMARY + ACTION AREA
========================================================= */

.peptide-fact-footer {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 28px;

    min-height: 72px;

    margin-top: 16px;

    padding:
        14px 16px;

    background:
        rgba(255,255,255,.62);

    border:
        1px solid rgba(92,49,46,.11);

    border-radius:
        14px;

    box-shadow:
        0 5px 12px rgba(55,35,33,.065);
}


/* =========================================================
   SUMMARY
========================================================= */

.peptide-fact-summary {
    margin: 0;

    color:
        #5e5552;

    font-size:
        .78rem;

    font-weight:
        650;

    line-height:
        1.4;
}


/* =========================================================
   ACTIONS
========================================================= */

.peptide-fact-actions {
    display: flex;

    align-items: center;

    gap: 12px;

    white-space:
        nowrap;
}


/* =========================================================
   EXPERIENCE BUTTON
========================================================= */

.peptide-experience-link {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 32px;

    padding:
        6px 13px;

    border:
        1px solid rgba(112,32,29,.18);

    border-radius:
        999px;

    background:
        linear-gradient(
            135deg,
            var(--pj-red-dark),
            var(--pj-red)
        );

    color:
        #ffffff;

    box-shadow:
        0 4px 10px rgba(112,32,29,.16);

    font-size:
        .68rem;

    font-weight:
        900;

    text-decoration:
        none;

    transition:
        transform .15s ease,
        box-shadow .15s ease;
}


.peptide-experience-link:hover {
    transform:
        translateY(-1px);

    box-shadow:
        0 6px 14px rgba(112,32,29,.22);
}


/* =========================================================
   RESEARCH LINK
========================================================= */

.peptide-research-link {
    color:
        var(--pj-red-dark);

    font-size:
        .66rem;

    font-weight:
        900;

    text-decoration:
        underline;

    text-decoration-thickness:
        1px;

    text-underline-offset:
        3px;
}


.peptide-research-link:hover {
    color:
        #6f1f1d;
}

.peptide-stack-back {
    color: var(--pj-red-dark);
    text-decoration: none;
    transition: opacity .15s ease;
}

.peptide-stack-back:hover {
    opacity: .7;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================================
   PEPTIDE FACT SHEET — MOBILE
========================================================= */

@media (max-width: 700px) {

    /* Let this band's content determine its height */
    .peptide-fact-section.pj-content-band {
        height: auto;
        min-height: 0;
        padding: 16px 0 18px;
    }

    .peptide-facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
        margin-top: 5px;
    }


    .peptide-fact {
        min-height: 58px;
        padding: 8px 7px;
        border-radius: 12px;
    }


    .peptide-fact-label {
        margin-bottom: 2px;
        font-size: .49rem;
        line-height: 1;
        letter-spacing: .04em;
    }


    .peptide-fact-value {
        font-size: .72rem;
        line-height: 1.1;
    }


    /* Summary / links */
    .peptide-fact-footer {
        grid-template-columns: 1fr;
        gap: 7px;

        min-height: 0;

        margin-top: 9px;

        padding: 9px 11px;

        border-radius: 12px;
    }


    .peptide-fact-summary {
        font-size: .68rem;
        line-height: 1.25;
    }


    .peptide-fact-actions {
        display: flex;
        align-items: center;
        gap: 9px;

        flex-wrap: nowrap;
        white-space: nowrap;
    }


    .peptide-experience-link {
        min-height: 27px;
        padding: 4px 10px;
        font-size: .61rem;
    }


    .peptide-research-link {
        font-size: .61rem;
    }

    .peptide-fact-section .pj-content-band-head {
        display: block;
        margin-bottom: 9px;
    }
    
    .peptide-fact-section .pj-content-band-tagline {
        display: block;
        margin-top: 4px;
        text-align: left;
        white-space: nowrap;
    }

}