/* --- common.css: Shared styles for all tenants --- */

:root {
    --primary-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    --serif-font: "Georgia", "Times New Roman", serif;
    
    --text-color: #333;
    --background-color: #f8f9fa;
    --accent-color: #007bff;
    --border-color: #dee2e6;
    --card-background: #ffffff;
}

/* --- Basic Reset & Defaults --- */
body {
    margin: 0;
    padding: 2rem;
    font-family: var(--primary-font);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    justify-content: center;
}

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

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 800px;
    background-color: var(--card-background);
    padding: 2rem 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--serif-font);
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    text-align: center;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* --- Text Element Styles --- */
.article-reference {
    text-align: center;
    font-style: italic;
    font-size: 1.1em;
    margin-top: -0.5em;
    margin-bottom: 1.5em;
    color: #6c757d;
}

.scripture-block {
    margin: 1.5em 3em;
    padding: 1em 1.5em;
    background-color: #e9ecef; /* A darker gray */
    border: 1px solid #ced4da;
    border-radius: 24px; /* Squircle approximation */
    text-align: left;
}

.prayer-block {
    margin: 1.5em 3em;
    padding: 1em 1.5em;
    background-color: #e0f7fa; /* A colorful (light blue) background */
    border-radius: 24px; /* Squircle approximation */
    border: none; /* No border */
    text-align: left;
}

/* Figure Block Styles */
.figure-block {
    margin: 2em auto; /* Center the block and add vertical spacing */
    max-width: 100%;
    text-align: center; /* Center image and caption */
}

.figure-block img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.figure-caption {
    font-style: italic;
    font-size: 0.95em;
    color: #555;
    margin-top: 0.5em;
}

.figure-source {
    font-size: 0.85em;
    color: #777;
    margin-top: 0.2em;
}

.figure-source a {
    color: #777;
    text-decoration: underline;
}

.figure-source a:hover {
    color: var(--accent-color);
}


.plain {
    /* This is the default paragraph style */
}

.bold {
    font-weight: bold;
}

.italic {
    font-style: italic;
}
