/* ============================================================================
   Ongoing Conversation page
   Layers eco design-system prose on top of home-v2.css (tokens, nav, footer).
   ============================================================================ */

/* ---- Title header (clears the fixed site header) ---- */
.oc-hero {
    background: var(--color-eco-cream);
    padding: 8rem 0 2.5rem;
}

@media (min-width: 768px) {
    .oc-hero {
        padding: 9rem 0 3rem;
    }
}

.oc-hero__inner,
.oc-article {
    max-width: 760px;
    margin-inline: auto;
    padding-inline: var(--gutter);
}

@media (min-width: 768px) {
    .oc-hero__inner,
    .oc-article {
        padding-inline: var(--gutter-lg);
    }
}

.oc-hero__eyebrow {
    margin-bottom: 1.25rem;
}

.oc-hero__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -0.015em;
    color: var(--color-eco-ink);
    text-wrap: balance;
}

.oc-hero__rule {
    margin-top: 1.75rem;
    width: 72px;
    height: 2px;
    background: var(--color-eco-olive);
    opacity: 0.55;
}

/* ============================================================================
   Article prose — styles the raw xml_content in the eco aesthetic
   ============================================================================ */
.oc-article {
    padding-bottom: 5rem;
    font-family: var(--font-sans);
    font-size: 1.075rem;
    line-height: 1.75;
    color: var(--color-eco-ink);
}

.oc-article p {
    margin: 0 0 1.25em;
    max-width: 68ch;
}

.oc-article h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 2em 0 0.5em;
    color: var(--color-eco-ink);
}

.oc-article h3 {
    font-family: var(--font-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    line-height: 1.2;
    margin: 1.6em 0 0.4em;
    color: var(--color-eco-forest);
}

.oc-article h4,
.oc-article h5,
.oc-article h6 {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-eco-ink-soft);
    margin: 2em 0 0.75em;
}

.oc-article a {
    color: var(--color-eco-olive-deep);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(79, 92, 62, 0.4);
    transition:
        color 0.2s,
        text-decoration-color 0.2s;
}

.oc-article a:hover {
    color: var(--color-eco-accent);
    text-decoration-color: currentColor;
}

.oc-article strong,
.oc-article b {
    font-weight: 700;
}

.oc-article em,
.oc-article i {
    font-style: italic;
}

.oc-article .leadin {
    font-weight: 600;
}

/* ---- Lists ---- */
.oc-article ul,
.oc-article ol {
    margin: 0 0 1.25em;
    padding-left: 0;
    list-style: none;
}

.oc-article li {
    position: relative;
    padding-left: 1.75rem;
    margin: 0.5em 0;
    line-height: 1.65;
}

.oc-article ul li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.7em;
    width: 6px;
    height: 6px;
    transform: rotate(45deg);
    background: var(--color-eco-olive);
}

.oc-article ol {
    counter-reset: oc-counter;
}

.oc-article ol li::before {
    counter-increment: oc-counter;
    content: counter(oc-counter);
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-mono);
    font-size: 0.85em;
    font-weight: 500;
    color: var(--color-eco-olive-deep);
}

/* ---- Quotes ---- */
.oc-article blockquote {
    margin: 1.75em 0;
    padding: 0.25em 0 0.25em 1.5rem;
    border-left: 2px solid var(--color-eco-olive);
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    line-height: 1.5;
    color: var(--color-eco-forest);
}

.oc-article .div-box {
    margin: 2em 0;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--color-eco-border);
    border-radius: 12px;
    background: var(--color-eco-green-muted);
}

.oc-article .div-box blockquote {
    margin: 0;
    padding: 0;
    border: 0;
}

.oc-article figcaption,
.oc-article .div-box figcaption {
    margin-top: 0.6em;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-eco-ink-soft);
    text-align: right;
}

/* ---- Media ---- */
.oc-article figure {
    margin: 2em 0;
}

.oc-article img {
    border-radius: 12px;
}

.oc-article hr {
    margin: 2.5em auto;
    width: 120px;
    border: 0;
    border-top: 1px solid var(--color-eco-rule);
}
