.pc-story-detail-page {
    min-height: 70vh;
    overflow: clip;
    background:
        radial-gradient(circle at 92% 8%, rgba(232, 101, 26, 0.08), transparent 28rem),
        linear-gradient(180deg, #fbfaf6 0%, #fffdf8 58%, #f4f8f0 100%);
}

.pc-story-detail-empty {
    width: min(760px, calc(100% - 32px));
    margin: 0 auto;
    padding: calc(var(--pc-public-nav-offset) + 6rem) 0 7rem;
    text-align: center;
}

.pc-story-detail-empty span,
.pc-story-detail-related__head span,
.pc-story-detail-section-head span,
.pc-story-detail-gallery__head span,
.pc-story-detail-eyebrow,
.pc-story-detail-panel__label {
    color: #e8651a;
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pc-story-detail-empty h1 {
    margin: 1rem 0;
    font: 700 clamp(2.8rem, 8vw, 5.5rem) / 1.02 var(--font-display);
}

.pc-story-detail-empty p {
    margin-bottom: 2rem;
    color: #5c6b5c;
    line-height: 1.7;
}

.pc-story-detail-empty a,
.pc-story-detail-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1.3rem;
    border-radius: 999px;
    background: #17311d;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.pc-story-detail {
    display: grid;
    grid-template-columns: minmax(420px, 40vw) minmax(0, 1fr);
    align-items: start;
    max-width: 1800px;
    margin: 0 auto;
    padding-top: var(--pc-public-nav-offset);
}

.pc-story-detail-hero {
    position: sticky;
    top: var(--pc-public-nav-offset);
    height: calc(100vh - var(--pc-public-nav-offset));
    min-height: 560px;
    overflow: hidden;
    margin: 0;
    background: #17311d;
}

.pc-story-detail-hero > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-story-detail-hero__shade {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(6, 21, 11, 0.04) 55%, rgba(6, 21, 11, 0.76) 100%),
        linear-gradient(90deg, rgba(6, 21, 11, 0.16), transparent 36%);
}

.pc-story-detail-back {
    position: absolute;
    top: 1.4rem;
    left: 1.4rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(8, 27, 14, 0.42);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.11em;
    text-decoration: none;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
}

.pc-story-detail-hero > figcaption {
    position: absolute;
    right: 1.35rem;
    bottom: 1.25rem;
    left: 1.35rem;
    z-index: 2;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.65rem;
    font-weight: 550;
    line-height: 1.45;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
}

.pc-story-detail-reader {
    min-width: 0;
}

.pc-story-detail-meta {
    position: sticky;
    top: var(--pc-public-nav-offset);
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 0.85rem 1.25rem;
    min-height: 62px;
    padding: 0.75rem clamp(1.4rem, 3vw, 2.8rem);
    border-bottom: 1px solid rgba(23, 49, 29, 0.1);
    background: rgba(251, 250, 246, 0.93);
    box-shadow: 0 9px 30px rgba(23, 49, 29, 0.05);
    color: #405044;
    backdrop-filter: blur(18px);
}

.pc-story-detail-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-width: 0;
    font-size: 0.7rem;
    font-weight: 650;
    white-space: nowrap;
}

.pc-story-detail-meta__place {
    overflow: hidden;
    max-width: 15rem;
    text-overflow: ellipsis;
}

.pc-story-detail-meta svg {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #315b39;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.pc-story-detail-meta b {
    font: inherit;
}

.pc-story-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(200px, 232px);
    align-items: start;
    gap: clamp(1.4rem, 2.2vw, 2.25rem);
    width: min(900px, 100%);
    margin: 0 auto;
    padding: clamp(2.6rem, 5vw, 4.6rem) clamp(1.5rem, 3vw, 2.7rem) 2rem;
}

.pc-story-detail-content {
    min-width: 0;
}

.pc-story-detail-intro {
    margin-bottom: 2.4rem;
    padding-bottom: 2.2rem;
    border-bottom: 1px solid rgba(23, 49, 29, 0.12);
}

.pc-story-detail-intro h1 {
    max-width: 680px;
    margin: 0.75rem 0 1rem;
    color: #172d1c;
    font: 600 clamp(2.7rem, 4.15vw, 4.15rem) / 1.01 var(--font-display);
    letter-spacing: -0.028em;
    text-wrap: balance;
}

.pc-story-detail-date {
    margin: 0 0 1.4rem;
    color: #718074;
    font-size: 0.66rem;
    font-weight: 650;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.pc-story-detail-lead {
    max-width: 640px;
    color: #3c4d40;
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    font-weight: 470;
    line-height: 1.75;
}

.pc-story-detail-body {
    max-width: 640px;
    color: #25362a;
    font-family: var(--font-sans);
    font-size: clamp(1rem, 1.18vw, 1.1rem);
    font-weight: 430;
    line-height: 1.86;
}

.pc-story-detail-body p {
    margin-bottom: 1.45rem;
}

.pc-story-detail-body p:first-child::first-letter {
    float: left;
    margin: 0.12rem 0.55rem 0 0;
    color: #173f25;
    font: 600 4.5rem/0.72 var(--font-display);
}

.pc-story-detail-gallery {
    margin: 3.6rem 0;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(23, 49, 29, 0.12);
}

.pc-story-detail-gallery__head {
    margin-bottom: 1.4rem;
}

.pc-story-detail-gallery__head h2 {
    margin-top: 0.45rem;
    color: #17311d;
    font: 600 clamp(2rem, 3.6vw, 3.4rem) / 1.02 var(--font-display);
}

.pc-story-detail-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.pc-story-detail-gallery figure {
    min-width: 0;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(23, 49, 29, 0.09);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(23, 49, 29, 0.07);
}

.pc-story-detail-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.pc-story-detail-gallery figcaption {
    padding: 0.68rem 0.78rem;
    color: #68766b;
    font-size: 0.68rem;
    font-weight: 550;
    line-height: 1.45;
}

.pc-story-detail-aside {
    position: sticky;
    top: calc(var(--pc-public-nav-offset) + 80px);
    display: grid;
    gap: 0.9rem;
}

.pc-story-detail-panel,
.pc-story-detail-actions {
    border: 1px solid rgba(23, 49, 29, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 15px 42px rgba(23, 49, 29, 0.055);
    backdrop-filter: blur(14px);
}

.pc-story-detail-panel {
    padding: 1rem;
}

.pc-story-detail-panel__label {
    display: block;
    margin-bottom: 0.8rem;
}

.pc-story-detail-about p {
    display: grid;
    gap: 0.1rem;
    padding: 0.6rem 0;
    border-top: 1px solid rgba(23, 49, 29, 0.07);
}

.pc-story-detail-about p:first-of-type {
    border-top: 0;
}

.pc-story-detail-about small,
.pc-story-detail-author small,
.pc-story-detail-place small {
    color: #758178;
    font-size: 0.64rem;
}

.pc-story-detail-about strong {
    color: #2b3d30;
    font-size: 0.74rem;
    line-height: 1.4;
}

.pc-story-detail-author__identity {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
}

.pc-story-detail-author__avatar {
    display: grid;
    width: 52px;
    height: 52px;
    overflow: hidden;
    place-items: center;
    border-radius: 50%;
    background: #17311d;
    color: #fff;
    font: 600 1.45rem/1 var(--font-display);
}

.pc-story-detail-author__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pc-story-detail-author__identity strong,
.pc-story-detail-author__identity small {
    display: block;
}

.pc-story-detail-author__identity strong {
    color: #17311d;
    font-size: 0.82rem;
    line-height: 1.3;
}

.pc-story-detail-author > p {
    margin-top: 0.8rem;
    color: #5a685d;
    font-size: 0.7rem;
    line-height: 1.55;
}

.pc-story-detail-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
}

.pc-story-detail-actions button,
.pc-story-detail-actions a {
    display: grid;
    min-width: 0;
    min-height: 68px;
    padding: 0.65rem 0.35rem;
    place-items: center;
    align-content: center;
    gap: 0.12rem;
    border: 0;
    border-right: 1px solid rgba(23, 49, 29, 0.08);
    background: transparent;
    color: #17311d;
    font: inherit;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.pc-story-detail-actions > :last-child {
    border-right: 0;
}

.pc-story-detail-actions button:hover,
.pc-story-detail-actions a:hover,
.pc-story-detail-actions button.is-active {
    background: #edf6eb;
}

.pc-story-detail-actions span {
    font-size: 1.15rem;
    line-height: 1;
}

.pc-story-detail-actions b {
    overflow: hidden;
    max-width: 100%;
    font-size: 0.65rem;
    text-overflow: ellipsis;
}

.pc-story-detail-actions small {
    color: #69766c;
    font-size: 0.6rem;
    font-weight: 700;
}

.pc-story-detail-share__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.pc-story-detail-share__options a,
.pc-story-detail-share__options button {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-width: 0;
    min-height: 36px;
    padding: 0.35rem 0.45rem;
    border: 1px solid rgba(23, 49, 29, 0.08);
    border-radius: 10px;
    background: #fff;
    color: #334538;
    font: 650 0.62rem/1 var(--font-sans);
    text-decoration: none;
    cursor: pointer;
}

.pc-story-detail-share__options a:hover,
.pc-story-detail-share__options button:hover {
    border-color: rgba(232, 101, 26, 0.35);
    background: #fff8f1;
}

.pc-story-detail-share__options span {
    display: grid;
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: #17311d;
    color: #fff;
    font-size: 0.56rem;
}

.pc-story-detail-share__options [aria-label*="WhatsApp"] span {
    background: #1fa855;
}

.pc-story-detail-share__options [aria-label*="Facebook"] span {
    background: #1877f2;
}

.pc-story-detail-share__options [aria-label*="Instagram"] span {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.pc-story-detail-place__card {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    color: #17311d;
    text-decoration: none;
}

.pc-story-detail-place__card > img {
    width: 68px;
    height: 68px;
    border-radius: 12px;
    object-fit: cover;
}

.pc-story-detail-place__card strong,
.pc-story-detail-place__card small,
.pc-story-detail-place__card b {
    display: block;
}

.pc-story-detail-place__card strong {
    font: 600 1.05rem/1.05 var(--font-display);
}

.pc-story-detail-place__card b {
    margin-top: 0.32rem;
    color: #2e7d32;
    font-size: 0.63rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pc-story-detail-status {
    min-height: 1.25rem;
    color: #59675c;
    font-size: 0.68rem;
    line-height: 1.45;
}

.pc-story-detail-comments {
    scroll-margin-top: calc(var(--pc-public-nav-offset) + 78px);
    max-width: 720px;
    margin: 2rem clamp(1.4rem, 3vw, 2.8rem) 6rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(23, 49, 29, 0.12);
}

.pc-story-detail-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.6rem;
}

.pc-story-detail-section-head h2,
.pc-story-detail-related h2 {
    margin-top: 0.4rem;
    color: #17311d;
    font: 600 clamp(2rem, 4vw, 3.5rem) / 1.02 var(--font-display);
}

.pc-story-detail-section-head > strong {
    color: #647267;
    font-size: 0.72rem;
}

.pc-story-detail-comment-list {
    display: grid;
    gap: 0.75rem;
}

.pc-story-detail-comment {
    padding: 1rem 1.1rem;
    border: 1px solid rgba(23, 49, 29, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
}

.pc-story-detail-comment.is-pending {
    border-style: dashed;
    background: #fff9e8;
}

.pc-story-detail-comment strong {
    color: #2e7d32;
    font-size: 0.72rem;
}

.pc-story-detail-comment p {
    margin-top: 0.38rem;
    color: #3e4e3e;
    font-size: 0.88rem;
    line-height: 1.65;
}

.pc-story-detail-comment em {
    display: inline-block;
    margin-left: 0.5rem;
    color: #9a6d00;
    font-size: 0.64rem;
}

.pc-story-detail-no-comments {
    padding: 1.15rem;
    border-radius: 14px;
    background: rgba(232, 245, 233, 0.62);
    color: #5c6b5c;
    font-size: 0.86rem;
    line-height: 1.6;
}

.pc-story-detail-comment-form {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.pc-story-detail-comment-form label {
    font-size: 0.8rem;
    font-weight: 700;
}

.pc-story-detail-comment-form textarea {
    width: 100%;
    min-height: 120px;
    resize: vertical;
    padding: 0.9rem;
    border: 1px solid rgba(23, 49, 29, 0.18);
    border-radius: 14px;
    background: #fff;
    color: #17311d;
    font: 0.88rem/1.6 var(--font-sans);
}

.pc-story-detail-comment-form button {
    justify-self: start;
    min-height: 44px;
    padding: 0 1.2rem;
    border: 0;
    border-radius: 999px;
    background: #17311d;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.pc-story-detail-comment-form button:disabled,
.pc-story-detail-actions button:disabled {
    opacity: 0.55;
    cursor: wait;
}

.pc-story-detail-comment-form > p {
    min-height: 1.2rem;
    color: #5c6b5c;
    font-size: 0.72rem;
}

.pc-story-detail-login {
    margin-top: 1.25rem;
}

.pc-story-detail-related {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(4rem, 7vw, 7rem) 0;
}

.pc-story-detail-related__head {
    margin-bottom: 1.8rem;
}

.pc-story-detail-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.pc-story-detail-related article {
    overflow: hidden;
    border: 1px solid rgba(23, 49, 29, 0.09);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(23, 49, 29, 0.06);
}

.pc-story-detail-related a {
    display: block;
    height: 100%;
    color: #17311d;
    text-decoration: none;
}

.pc-story-detail-related img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.pc-story-detail-related article div {
    padding: 1.05rem;
}

.pc-story-detail-related h3 {
    font: 600 1.45rem/1.06 var(--font-display);
}

.pc-story-detail-related p {
    margin: 0.6rem 0 0.9rem;
    color: #5c6b5c;
    font-size: 0.8rem;
    line-height: 1.55;
}

.pc-story-detail-related strong {
    color: #2e7d32;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 1180px) {
    .pc-story-detail {
        grid-template-columns: minmax(340px, 38vw) minmax(0, 1fr);
    }

    .pc-story-detail-layout {
        grid-template-columns: 1fr;
    }

    .pc-story-detail-aside {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-story-detail-actions,
    .pc-story-detail-status {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .pc-story-detail {
        display: block;
    }

    .pc-story-detail-hero {
        position: relative;
        top: auto;
        width: 100%;
        height: min(72svh, 720px);
        min-height: 520px;
    }

    .pc-story-detail-reader {
        position: relative;
        z-index: 2;
        margin-top: -34px;
        border-radius: 36px 36px 0 0;
        background: #fbfaf6;
    }

    .pc-story-detail-meta {
        position: static;
        flex-wrap: wrap;
        padding-top: 2rem;
        border-radius: 36px 36px 0 0;
        box-shadow: none;
    }

    .pc-story-detail-layout {
        padding-top: 2.4rem;
    }

    .pc-story-detail-aside {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-story-detail-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .pc-story-detail {
        padding-top: var(--pc-public-nav-offset);
    }

    .pc-story-detail-hero {
        height: clamp(390px, 56svh, 520px);
        min-height: 0;
    }

    .pc-story-detail-back {
        top: 1rem;
        left: 1rem;
        min-height: 36px;
        font-size: 0.61rem;
    }

    .pc-story-detail-hero > figcaption {
        right: 1rem;
        bottom: 2.6rem;
        left: 1rem;
        font-size: 0.6rem;
    }

    .pc-story-detail-reader {
        margin-top: -28px;
        border-radius: 28px 28px 0 0;
    }

    .pc-story-detail-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem 0.8rem;
        min-height: 0;
        padding: 1.8rem 1.1rem 1rem;
        border-radius: 28px 28px 0 0;
    }

    .pc-story-detail-meta span {
        font-size: 0.64rem;
        white-space: normal;
    }

    .pc-story-detail-meta__place {
        max-width: none;
    }

    .pc-story-detail-meta svg {
        width: 14px;
        height: 14px;
    }

    .pc-story-detail-layout {
        display: block;
        padding: 1.4rem 1.1rem 1rem;
    }

    .pc-story-detail-intro {
        margin-bottom: 2rem;
        padding-bottom: 1.8rem;
    }

    .pc-story-detail-intro h1 {
        margin-top: 0.65rem;
        font-size: clamp(2.25rem, 10vw, 3rem);
        line-height: 1.02;
    }

    .pc-story-detail-date {
        margin-bottom: 1rem;
        font-size: 0.61rem;
    }

    .pc-story-detail-lead {
        font-size: 0.96rem;
        line-height: 1.72;
    }

    .pc-story-detail-body {
        font-size: 1rem;
        line-height: 1.82;
    }

    .pc-story-detail-body p:first-child::first-letter {
        font-size: 4rem;
    }

    .pc-story-detail-gallery {
        margin: 3rem 0;
        padding-top: 2rem;
    }

    .pc-story-detail-gallery__head h2 {
        font-size: 2.3rem;
    }

    .pc-story-detail-gallery__grid {
        grid-template-columns: 1fr;
    }

    .pc-story-detail-gallery figcaption {
        padding: 0.62rem 0.72rem;
        font-size: 0.64rem;
    }

    .pc-story-detail-aside {
        display: grid;
        grid-template-columns: 1fr;
        margin-top: 3rem;
    }

    .pc-story-detail-actions,
    .pc-story-detail-status {
        grid-column: auto;
    }

    .pc-story-detail-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pc-story-detail-share__options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pc-story-detail-comments {
        margin: 2rem 1.1rem 4.5rem;
        padding-top: 2.4rem;
    }

    .pc-story-detail-section-head {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 1.3rem;
    }

    .pc-story-detail-section-head h2 {
        font-size: 2.45rem;
    }

    .pc-story-detail-related {
        width: 100%;
        padding: 4rem 0 5rem 1.1rem;
    }

    .pc-story-detail-related__head {
        padding-right: 1.1rem;
    }

    .pc-story-detail-related__grid {
        grid-auto-columns: min(78vw, 310px);
        grid-auto-flow: column;
        grid-template-columns: none;
        gap: 0.85rem;
        overflow-x: auto;
        padding: 0 1.1rem 0.75rem 0;
        scroll-snap-type: x proximity;
    }

    .pc-story-detail-related article {
        scroll-snap-align: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pc-story-detail-meta,
    .pc-story-detail-aside,
    .pc-story-detail-hero {
        scroll-behavior: auto;
    }
}
