/**
 * Piece of Humanity — Public Styles
 * Version: 1.2.0
 *
 * Shared public-facing layouts and components.
 * Requires poh-design-system.css.
 *
 * Calendar styles: poh-calendar.css
 * Name Finder styles: poh-name-finder.css
 */

/* ---------------------------------------------------------
   1. Public Content
--------------------------------------------------------- */

.poh-public {
    width: 100%;
    color: var(--poh-text);
    font-family: var(--poh-font);
    line-height: 1.65;
}

.poh-public *,
.poh-public *::before,
.poh-public *::after {
    box-sizing: border-box;
}

.poh-public__content {
    max-width: 1100px;
    margin-inline: auto;
}

.poh-public h1,
.poh-public h2,
.poh-public h3 {
    color: var(--poh-navy);
}

/* ---------------------------------------------------------
   2. Saint Pages
--------------------------------------------------------- */

.poh-saint {
    margin: 0 auto;
}

.poh-saint__header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--poh-border);
}

.poh-saint__name {
    margin: 0 0 8px;
    color: var(--poh-navy);
    line-height: 1.3;
}

.poh-saint__dates {
    color: var(--poh-muted);
    font-size: 14px;
}

.poh-saint__section {
    margin-bottom: 28px;
}

.poh-saint__section-title {
    margin-bottom: 12px;
    color: var(--poh-navy);
    font-size: 20px;
}

/* ---------------------------------------------------------
   3. Sources and References
--------------------------------------------------------- */

.poh-source-card {
    padding: 16px;
    margin-bottom: 12px;
    background: var(--poh-white);
    border: 1px solid var(--poh-border);
    border-radius: var(--poh-radius);
}

.poh-source-card__title {
    margin: 0 0 6px;
    color: var(--poh-navy);
    font-size: 16px;
    font-weight: 600;
}

.poh-source-card__meta {
    color: var(--poh-muted);
    font-size: 12px;
}

.poh-source-card__content {
    margin-top: 12px;
}

/* ---------------------------------------------------------
   4. Reading Content
--------------------------------------------------------- */

.poh-reading {
    max-width: 780px;
    margin-inline: auto;
    font-size: 16px;
    line-height: 1.8;
}

.poh-reading p {
    margin-bottom: 1.25em;
}

.poh-reading blockquote {
    margin: 22px 0;
    padding: 12px 18px;
    border-left: 3px solid var(--poh-gold);
    background: var(--poh-ivory);
    color: var(--poh-navy);
}

/* ---------------------------------------------------------
   5. Responsive Layout
--------------------------------------------------------- */

@media (max-width: 700px) {
    .poh-saint__section-title {
        font-size: 18px;
    }

    .poh-reading {
        font-size: 15px;
    }
}