/* Reader Reflections — Stage 6: Living Archive */

.rr-living-archive {
    background: #f4efe4;
    color: #16120c;
}

.rr-living-archive-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 78px 0;
}

.rr-living-archive-head {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr);
    align-items: end;
    gap: 44px;
    margin-bottom: 38px;
}

.rr-living-archive-head h2 {
    max-width: 760px;
    margin: 8px 0 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
}

.rr-living-archive-head > p {
    margin: 0;
    color: #675f52;
    line-height: 1.7;
}

.rr-insight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.rr-insight-panel {
    border: 1px solid rgba(92, 70, 19, .2);
    background: rgba(255, 255, 255, .42);
    padding: clamp(24px, 4vw, 38px);
}

.rr-insight-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 28px;
}

.rr-insight-panel-head h3 {
    margin: 0;
    font-size: 1.55rem;
}

.rr-insight-panel-head span {
    color: #7f6d3e;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.rr-country-list {
    display: grid;
    gap: 18px;
}

.rr-country-label {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 7px;
}

.rr-country-label span {
    font-weight: 700;
}

.rr-country-label strong {
    color: #9c7410;
}

.rr-country-track {
    height: 5px;
    overflow: hidden;
    background: rgba(92, 70, 19, .12);
}

.rr-country-track span {
    display: block;
    height: 100%;
    background: #d8ac20;
}

.rr-timeline-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rr-timeline-list li {
    position: relative;
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 14px;
    min-height: 54px;
}

.rr-timeline-list li::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: -8px;
    left: 5px;
    width: 1px;
    background: rgba(156, 116, 16, .3);
}

.rr-timeline-list li:last-child::before {
    display: none;
}

.rr-timeline-marker {
    position: relative;
    z-index: 1;
    width: 11px;
    height: 11px;
    margin-top: 6px;
    border: 2px solid #d8ac20;
    border-radius: 999px;
    background: #f4efe4;
}

.rr-timeline-list strong,
.rr-timeline-list span {
    display: block;
}

.rr-timeline-list span {
    margin-top: 3px;
    color: #746a59;
}

.rr-related {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto 80px;
    padding-top: 54px;
    border-top: 1px solid rgba(216, 172, 32, .34);
}

.rr-related-head {
    margin-bottom: 28px;
}

.rr-related-head h2 {
    max-width: 720px;
    margin: 8px 0 0;
    color: #d8ac20;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
}

.rr-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rr-related-grid article {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    padding: 26px;
    border: 1px solid rgba(216, 172, 32, .28);
    background: rgba(216, 172, 32, .035);
}

.rr-related-grid article > p {
    flex: 1;
    margin: 0 0 26px;
    color: #f2eadf;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.12rem;
    line-height: 1.65;
}

.rr-related-grid footer {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
}

.rr-related-grid footer strong,
.rr-related-grid footer span,
.rr-related-grid footer time {
    display: block;
}

.rr-related-grid footer span,
.rr-related-grid footer time {
    margin-top: 4px;
    color: #a99e8d;
    font-size: .8rem;
}

.rr-related-grid footer a,
.rr-related-all {
    color: #d8ac20;
    font-weight: 800;
    text-decoration: none;
}

.rr-related-all {
    display: inline-block;
    margin-top: 24px;
}

@media (max-width: 820px) {
    .rr-living-archive-head,
    .rr-insight-grid,
    .rr-related-grid {
        grid-template-columns: 1fr;
    }

    .rr-living-archive-head {
        gap: 20px;
    }
}

@media (max-width: 560px) {
    .rr-living-archive-inner,
    .rr-related {
        width: min(100% - 28px, 1120px);
    }

    .rr-insight-panel-head,
    .rr-related-grid footer {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* Stage 6.1 — Social Sharing Enhancement */

.rr-share-enhanced {
    display: block;
}

.rr-share-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.rr-share-heading > span {
    color: #d8ac20;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.rr-share-heading small {
    color: #9f9585;
    line-height: 1.5;
}

.rr-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rr-share-actions a,
.rr-share-actions button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid rgba(216, 172, 32, .38);
    background: transparent;
    color: #f2eadf;
    font: inherit;
    font-size: .86rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        border-color .2s ease,
        background-color .2s ease,
        color .2s ease;
}

.rr-share-actions a:hover,
.rr-share-actions a:focus-visible,
.rr-share-actions button:hover,
.rr-share-actions button:focus-visible {
    border-color: #d8ac20;
    background: #d8ac20;
    color: #14100a;
    outline: none;
}

.rr-share-status {
    min-height: 1.4em;
    margin: 14px 0 0;
    color: #d8ac20;
    font-size: .86rem;
}

@media (max-width: 620px) {
    .rr-share-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .rr-share-actions a,
    .rr-share-actions button {
        flex: 1 1 calc(50% - 10px);
    }
}
