/**
 * Pages Typography — A Glória Eterna Store
 *
 * Prose styling for static pages (Sobre, FAQ, Termos, etc.)
 * Dark theme with gold accents.
 */

/* ===== PROSE CONTAINER ===== */

.gloria-prose {
    font-family: 'Ubuntu', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #c4c4c4;
}

/* ===== HEADINGS ===== */

.gloria-prose h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #2a2a2a;
    position: relative;
}

.gloria-prose h2::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #dbaf4a;
}

.gloria-prose h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #e2e2e2;
    margin: 2rem 0 0.75rem;
}

.gloria-prose h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #dbaf4a;
    margin: 1.5rem 0 0.5rem;
}

/* ===== PARAGRAPHS ===== */

.gloria-prose p {
    margin: 0 0 1.25rem;
}

.gloria-prose p:last-child {
    margin-bottom: 0;
}

/* ===== STRONG / BOLD ===== */

.gloria-prose strong {
    color: #fff;
    font-weight: 600;
}

/* ===== LINKS ===== */

.gloria-prose a {
    color: #dbaf4a;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.gloria-prose a:hover {
    color: #f4e1b3;
}

/* ===== LISTS ===== */

.gloria-prose ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.gloria-prose ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
}

.gloria-prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: #dbaf4a;
    border-radius: 50%;
}

.gloria-prose ol {
    padding-left: 1.5rem;
    margin: 0 0 1.5rem;
    counter-reset: ol-counter;
    list-style: none;
}

.gloria-prose ol li {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 0.6rem;
    counter-increment: ol-counter;
}

.gloria-prose ol li::before {
    content: counter(ol-counter) '.';
    position: absolute;
    left: -1.5rem;
    color: #dbaf4a;
    font-weight: 700;
    font-size: 14px;
}

/* Nested lists */
.gloria-prose ul ul,
.gloria-prose ol ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* ===== BLOCKQUOTE ===== */

.gloria-prose blockquote {
    border-left: 3px solid #dbaf4a;
    background: rgba(219, 175, 74, 0.05);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    color: #e2e2e2;
    font-style: italic;
}

.gloria-prose blockquote p:last-child {
    margin-bottom: 0;
}

/* ===== HORIZONTAL RULE ===== */

.gloria-prose hr {
    border: none;
    border-top: 1px solid #2a2a2a;
    margin: 2rem 0;
}

/* ===== TABLES ===== */

.gloria-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 14px;
}

.gloria-prose table th {
    text-align: left;
    font-weight: 700;
    color: #dbaf4a;
    padding: 0.75rem 1rem;
    border-bottom: 2px solid #2a2a2a;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gloria-prose table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid #1f1f1f;
    color: #c4c4c4;
}

.gloria-prose table tr:hover td {
    background: rgba(219, 175, 74, 0.03);
}

/* ===== CODE ===== */

.gloria-prose code {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #dbaf4a;
}

.gloria-prose pre {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.gloria-prose pre code {
    background: transparent;
    border: none;
    padding: 0;
    color: #c4c4c4;
}

/* ===== IMAGES ===== */

.gloria-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* ===== FIRST PARAGRAPH ACCENT ===== */

.gloria-prose > p:first-child {
    font-size: 16px;
    color: #e2e2e2;
    line-height: 1.9;
}

/* ===== WooCommerce SHORTCODE PAGES ===== */

/* Wishlist page inside prose */
.gloria-prose .gloria-wishlist-page {
    font-size: inherit;
}
