/* =========================================================
   PURCHASE RESULT SINGLE
   CPT: purchase_result / URL: /result/{id}/
   ========================================================= */

.purchase-result-single {
    background: #fff;
}

/* HERO ---------------------------------------------------- */
.result-single-hero {
    position: relative;
    min-height: 680px;
    padding: calc(var(--header) + 42px) 0 100px;
    overflow: hidden;
    background:
        radial-gradient(circle at 86% 22%, rgba(255, 226, 0, .14), transparent 22%),
        linear-gradient(135deg, #073d23 0%, #04542b 64%, #073d23 100%);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: #fff;
}

.result-single-hero.has-bg-image {
    background-position: center center;
    background-size: cover;
}

.result-single-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 45, 23, .04) 0%,
        rgba(0, 45, 23, .08) 55%,
        rgba(0, 45, 23, .20) 100%
    );
}

.result-single-hero__inner {
    position: relative;
    z-index: 1;
}

.result-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 92px;
    color: rgba(255,255,255,.78);
    font-size: 11px;
    font-weight: 700;
}

.result-breadcrumb a {
    color: #fff;
    transition: opacity .2s ease;
}

.result-breadcrumb a:hover {
    opacity: .72;
}

.result-breadcrumb span {
    width: 20px;
    height: 1px;
    background: rgba(255,255,255,.40);
}

.result-breadcrumb em {
    max-width: 520px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-style: normal;
}

.result-single-hero__copy {
    max-width: 820px;
}

.result-single-kicker,
.result-section-heading > p,
.result-single-summary__heading > p,
.result-staff-label > p,
.result-area-link__inner > div > p {
    margin: 0 0 14px;
    color: #d5f26c;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
}

.result-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.result-single-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 12px;
    border: 1px solid rgba(255,255,255,.30);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.95);
    font-size: 11px;
    font-weight: 700;
    backdrop-filter: blur(3px);
}

.result-single-hero h1 {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 5.3vw, 72px);
    line-height: 1.22;
    letter-spacing: -.04em;
    text-shadow: 0 2px 22px rgba(0,0,0,.12);
}

.result-single-lead {
    max-width: 720px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.90);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.95;
    text-shadow: 0 1px 10px rgba(0,0,0,.12);
}

.result-single-hero__price {
    display: inline-flex;
    align-items: baseline;
    gap: 14px;
    margin-top: 30px;
    padding: 14px 20px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 14px;
    background: rgba(0, 36, 18, .28);
    backdrop-filter: blur(5px);
}

.result-single-hero__price span {
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 700;
}

.result-single-hero__price strong {
    color: #ffe200;
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 900;
    line-height: 1;
}

/* SUMMARY ------------------------------------------------- */
.result-single-summary {
    background: #fff;
}

.result-single-summary__grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 90px;
    align-items: start;
}

.result-single-summary__heading > p,
.result-section-heading > p,
.result-staff-label > p,
.result-area-link__inner > div > p {
    color: var(--green);
}

.result-single-summary__heading h2,
.result-section-heading h2,
.result-staff-label h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.25;
    letter-spacing: -.04em;
}

.result-single-summary__heading > span {
    display: block;
    margin-top: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
}

.result-single-data {
    margin: 0;
    border-top: 1px solid var(--line);
}

.result-single-data > div {
    display: grid;
    grid-template-columns: 150px minmax(0,1fr);
    gap: 28px;
    padding: 22px 4px;
    border-bottom: 1px solid var(--line);
}

.result-single-data dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.result-single-data dd {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
}

.result-single-data dd a {
    color: var(--green);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.result-single-data dd.is-price {
    color: var(--green);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
}

/* GALLERY ------------------------------------------------- */
.result-single-gallery {
    background: var(--cream);
}

.result-section-heading {
    margin-bottom: 42px;
}

.result-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 18px;
}

.result-gallery-grid figure {
    aspect-ratio: 4 / 3;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #e8ece8;
}

.result-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.result-gallery-grid figure:hover img {
    transform: scale(1.025);
}

/* CONTENT ------------------------------------------------- */
.result-single-content {
    background: #fff;
}

.result-single-content--cream {
    background: var(--cream);
}

.result-single-story {
    position: relative;
    overflow: hidden;
    padding-top: 96px;
    padding-bottom: 106px;
    background:
        radial-gradient(circle at 94% 10%, rgba(0, 104, 55, .055), transparent 25%),
        #fff;
}

.result-story-head {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 34px;
}

.result-story-head .result-section-heading {
    margin-bottom: 0;
}


.result-story-card {
    position: relative;
    display: grid;
    grid-template-columns: 7px minmax(0, 1fr);
    gap: 34px;
    max-width: 1040px;
    margin-left: auto;
    padding: 44px 50px 46px;
    border: 1px solid #e1e8e2;
    border-radius: 24px;
    background: linear-gradient(135deg, #fbfdfb 0%, #fff 70%);
    box-shadow: 0 18px 50px rgba(2, 55, 29, .055);
}

.result-story-accent {
    width: 7px;
    min-height: 100%;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--green) 0%, #cbe84b 100%);
}

.result-copy-layout {
    display: grid;
    grid-template-columns: .72fr 1.28fr;
    gap: 90px;
    align-items: start;
}

.result-richtext {
    color: #354039;
    font-size: 16px;
    line-height: 2.1;
}

.result-story-card .result-richtext {
    max-width: 900px;
    font-size: 16px;
    line-height: 2.15;
}

.result-story-card .result-richtext p {
    margin: 0 0 1.25em;
}

.result-richtext > :first-child {
    margin-top: 0;
}

.result-richtext > :last-child {
    margin-bottom: 0;
}

.result-richtext h2,
.result-richtext h3,
.result-richtext h4 {
    color: var(--ink);
    line-height: 1.5;
}

.result-richtext img {
    margin: 28px 0;
    border-radius: 14px;
}

/* STAFF --------------------------------------------------- */
.result-single-staff {
    padding-top: 26px;
    padding-bottom: 96px;
    background: #fff;
}

.result-staff-box {
    position: relative;
    display: grid;
    grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
    gap: 92px;
    align-items: center;
    overflow: hidden;
    padding: 54px 60px;
    border: 1px solid #dfe8e1;
    border-radius: 28px;
    background:
        radial-gradient(circle at 0% 100%, rgba(217, 242, 108, .18), transparent 34%),
        linear-gradient(135deg, #f5faf6 0%, #fff 68%);
    box-shadow: 0 20px 55px rgba(4, 58, 31, .05);
}

.result-staff-box::after {
    content: "STAFF";
    position: absolute;
    right: -18px;
    bottom: -42px;
    color: rgba(0, 91, 49, .035);
    font-size: clamp(100px, 14vw, 210px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.08em;
    pointer-events: none;
}

.result-staff-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
    padding-right: 18px;
}

.result-staff-mark {
    display: grid;
    place-content: center;
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: var(--green-dark);
    color: #fff;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 74, 39, .16);
}

.result-staff-mark span,
.result-staff-mark b {
    display: block;
    line-height: 1.05;
}

.result-staff-mark span {
    color: #d5f26c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.result-staff-mark b {
    margin-top: 5px;
    font-size: 12px;
    letter-spacing: .03em;
}

.result-staff-label {
    min-width: 0;
}

.result-staff-label h2 {
    font-size: clamp(30px, 3.2vw, 44px);
    white-space: nowrap;
}

.result-staff-comment {
    position: relative;
    z-index: 1;
    padding-left: 46px;
    border-left: 1px solid #dfe8e1;
    color: #354039;
    font-size: 15px;
    line-height: 2.05;
}

.result-staff-comment::before {
    content: "“";
    position: absolute;
    top: -26px;
    left: 30px;
    color: rgba(0, 104, 55, .10);
    font-family: Georgia, serif;
    font-size: 76px;
    line-height: 1;
}

.result-staff-comment > :first-child {
    margin-top: 0;
}

.result-staff-comment > :last-child {
    margin-bottom: 0;
}

/* AREA LINK ----------------------------------------------- */
.result-single-area-link {
    padding: 0 0 112px;
    background: #fff;
}

.result-area-link__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
    overflow: hidden;
    padding: 44px 48px;
    border-radius: 26px;
    background:
        radial-gradient(circle at 82% 10%, rgba(255, 226, 0, .12), transparent 25%),
        linear-gradient(135deg, #063e24 0%, #005b31 100%);
    color: #fff;
    box-shadow: 0 22px 55px rgba(0, 70, 37, .12);
}

.result-area-link__inner::before {
    content: "AREA";
    position: absolute;
    left: 42%;
    bottom: -45px;
    color: rgba(255,255,255,.045);
    font-size: 150px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.08em;
    pointer-events: none;
}

.result-area-link__copy {
    position: relative;
    z-index: 1;
}

.result-area-link__inner > div > p {
    margin-bottom: 9px;
    color: #d5f26c;
}

.result-area-link__inner strong {
    display: block;
    font-size: clamp(23px, 2.6vw, 34px);
    line-height: 1.4;
}

.result-area-link__copy > span {
    display: block;
    max-width: 700px;
    margin-top: 12px;
    color: rgba(255,255,255,.74);
    font-size: 13px;
    line-height: 1.8;
}

.result-area-link__inner > a {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 18px;
    min-width: 250px;
    padding: 16px 20px 16px 24px;
    border-radius: 999px;
    background: #ffe200;
    color: #112018;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    transition: transform .25s ease, box-shadow .25s ease;
}

.result-area-link__inner > a small {
    grid-column: 1 / -1;
    margin-bottom: 3px;
    color: rgba(17,32,24,.56);
    font-size: 9px;
    letter-spacing: .14em;
}

.result-area-link__inner > a span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(17,32,24,.08);
}

.result-area-link__inner > a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0,0,0,.16);
}

@media (max-width: 980px) {
    .result-single-summary__grid,
    .result-copy-layout,
    .result-staff-box {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .result-single-summary__heading,
    .result-section-heading {
        max-width: 680px;
    }
}

/* MOBILE -------------------------------------------------- */
@media (max-width: 680px) {
    .result-single-hero {
        min-height: 590px;
        padding: calc(var(--header) + 24px) 0 64px;
        background-position: center center;
    }

    .result-breadcrumb {
        margin-bottom: 52px;
    }

    .result-breadcrumb em {
        max-width: 180px;
    }

    .result-single-hero h1 {
        font-size: clamp(34px, 10vw, 46px);
    }

    .result-single-lead {
        font-size: 14px;
        line-height: 1.85;
    }

    .result-single-hero__price {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .result-single-summary__grid,
    .result-copy-layout,
    .result-staff-box {
        gap: 30px;
    }

    .result-single-data > div {
        grid-template-columns: 105px minmax(0,1fr);
        gap: 16px;
        padding: 18px 0;
    }

    .result-single-data dd {
        font-size: 14px;
    }

    .result-single-data dd.is-price {
        font-size: 22px;
    }

    .result-gallery-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .result-staff-box {
        padding: 34px 24px;
        border-radius: 18px;
    }

    .result-single-area-link {
        padding-bottom: 72px;
    }

    .result-area-link__inner {
        align-items: stretch;
        flex-direction: column;
        padding: 30px 24px;
    }

    .result-area-link__inner > a {
        width: 100%;
        min-width: 0;
    }
}


/* DESIGN V2 RESPONSIVE ------------------------------------ */
@media (max-width: 980px) {
    .result-story-card {
        max-width: none;
        padding: 38px 40px;
    }

    .result-staff-box {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .result-staff-comment {
        padding: 28px 0 0;
        border-top: 1px solid #dfe8e1;
        border-left: 0;
    }

    .result-staff-comment::before {
        top: 3px;
        left: 0;
    }

    .result-area-link__inner {
        grid-template-columns: 1fr;
    }

    .result-area-link__inner > a {
        width: fit-content;
    }
}

@media (max-width: 640px) {
    .result-single-story {
        padding-top: 72px;
        padding-bottom: 78px;
    }

    .result-story-head {
        align-items: flex-start;
        margin-bottom: 24px;
    }

    .result-story-no {
        font-size: 72px;
    }

    .result-story-card {
        grid-template-columns: 5px minmax(0, 1fr);
        gap: 20px;
        padding: 28px 24px 30px;
        border-radius: 20px;
    }

    .result-story-card .result-richtext {
        font-size: 15px;
        line-height: 2;
    }

    .result-single-staff {
        padding-top: 10px;
        padding-bottom: 72px;
    }

    .result-staff-box {
        gap: 28px;
        padding: 32px 24px;
        border-radius: 22px;
    }

    .result-staff-head {
        align-items: flex-start;
        gap: 15px;
    }

    .result-staff-mark {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
    }

    .result-staff-mark span {
        font-size: 8px;
    }

    .result-staff-mark b {
        font-size: 9px;
    }

    .result-staff-label h2 {
        font-size: 29px;
        white-space: normal;
        word-break: keep-all;
    }

    .result-staff-comment {
        font-size: 14px;
        line-height: 2;
    }

    .result-area-link__inner {
        gap: 28px;
        padding: 34px 26px;
        border-radius: 22px;
    }

    .result-area-link__copy > span {
        font-size: 12px;
    }

    .result-area-link__inner > a {
        width: 100%;
        min-width: 0;
    }
}
