/* Return to the Bible — extra styles for callout patterns and chapter components.
   Block patterns insert .rttb-* classes; this file gives them their visual treatment.
*/

/* ---------- Generic callout shell ---------- */
.rttb-callout {
    border-radius: 12px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
}

.rttb-callout__label {
    font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 0.5rem;
}

.rttb-callout__term {
    font-family: "Newsreader", Georgia, serif;
    font-size: 1.125rem;
    font-weight: 500;
    font-style: italic;
    margin: 0 0 0.5rem;
}

.rttb-callout p:not(.rttb-callout__label):not(.rttb-callout__term) {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
}

/* ---------- Word study (blue) ---------- */
.rttb-word-study {
    background: var(--wp--preset--color--accent-bg);
    border: 0.5px solid var(--wp--preset--color--accent-border);
}

.rttb-word-study .rttb-callout__label,
.rttb-word-study .rttb-callout__term,
.rttb-word-study p {
    color: var(--wp--preset--color--accent);
}

/* ---------- Influence callout (left border, neutral) ---------- */
.rttb-influence {
    background: var(--wp--preset--color--surface);
    border: 0;
    border-left: 3px solid var(--wp--preset--color--border-strong);
    border-radius: 0;
    padding: 0.75rem 1.25rem;
}

.rttb-influence .rttb-callout__label {
    color: var(--wp--preset--color--text-tertiary);
}

.rttb-influence p:not(.rttb-callout__label) {
    font-style: italic;
    color: var(--wp--preset--color--text-primary);
    font-size: 1rem;
    line-height: 1.6;
}

/* ---------- Reflection prompts ---------- */
.rttb-reflection {
    background: var(--wp--preset--color--surface);
    border: 0.5px solid var(--wp--preset--color--border);
    margin-top: 2.5rem;
}

.rttb-reflection .rttb-callout__label {
    color: var(--wp--preset--color--text-tertiary);
}

.rttb-reflection ol {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.65;
}

.rttb-reflection ol li {
    margin-bottom: 0.5rem;
}

.rttb-reflection ol li:last-child {
    margin-bottom: 0;
}

/* ---------- Verse block (scripture inline) ---------- */
.rttb-verse {
    background: var(--wp--preset--color--surface);
    border-left: 3px solid var(--wp--preset--color--border-strong);
    border-radius: 0;
    padding: 0.875rem 1.25rem;
    margin: 1rem 0 1.25rem;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
}

.rttb-verse p {
    margin: 0;
}

.rttb-verse .verse-num {
    font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
    font-style: normal;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--wp--preset--color--text-tertiary);
    margin-right: 4px;
    vertical-align: 2px;
}

/* ---------- Framework link button ---------- */
.rttb-framework-link a.wp-block-button__link {
    background: var(--wp--preset--color--accent-bg);
    color: var(--wp--preset--color--accent);
    border: 0.5px solid var(--wp--preset--color--accent-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
}

.rttb-framework-link a.wp-block-button__link:hover {
    background: var(--wp--preset--color--accent);
    color: var(--wp--preset--color--page);
}

/* ---------- Chapter section header (A. Genesis 1:1-2 ...) ---------- */
.rttb-section-h {
    font-family: "Newsreader", Georgia, serif;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 0.5px solid var(--wp--preset--color--border);
}

.rttb-section-letter {
    font-family: "Newsreader", Georgia, serif;
    font-style: italic;
    font-size: 1.125rem;
    color: var(--wp--preset--color--accent);
    margin-right: 14px;
    font-weight: 500;
}

/* ---------- Chapter point (numbered commentary paragraph) ---------- */
.rttb-point {
    position: relative;
    padding-left: 1.75rem;
}

.rttb-point-num {
    position: absolute;
    left: 0;
    top: 0;
    font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--wp--preset--color--text-secondary);
    line-height: 1.95;
}

/* ---------- Chapter title block ---------- */
.rttb-chapter-title {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 0.5px solid var(--wp--preset--color--border);
}

.rttb-chapter-subtitle {
    font-family: "Newsreader", Georgia, serif;
    font-style: italic;
    font-size: 1.1875rem;
    color: var(--wp--preset--color--text-secondary);
    margin: 0.25rem 0 0.875rem;
}

.rttb-chapter-themes {
    font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.75rem;
    color: var(--wp--preset--color--text-secondary);
    margin: 0;
}

.rttb-chapter-translation {
    font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.75rem;
    color: var(--wp--preset--color--text-tertiary);
    margin: 0.25rem 0 0;
}

/* ---------- Page typography refinements ---------- */
.rttb-page-title {
    margin-bottom: 1rem;
    padding-bottom: 0.625rem;
    position: relative;
}

.rttb-page-title::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 2px;
    background: var(--wp--preset--color--accent);
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Lead paragraph: first paragraph after page title gets a slightly larger, softer treatment */
.rttb-page-content > p:first-of-type {
    font-size: 1.1875rem;
    line-height: 1.65;
    color: var(--wp--preset--color--text-secondary);
    margin-top: 1.25rem;
}

/* Section spacing on pages */
.rttb-page-content h2 {
    margin-top: 2.5rem;
    padding-top: 0.5rem;
}

/* Drop cap for chapter posts only — quiet literary touch */
body.single-chapter .wp-block-post-content > p:first-of-type::first-letter {
    font-family: "Newsreader", Georgia, serif;
    font-size: 3.5em;
    font-weight: 500;
    float: left;
    line-height: 0.85;
    margin: 0.1em 0.1em 0 0;
    color: var(--wp--preset--color--accent);
}

/* ---------- Ornamental section divider (replaces flat <hr>) ---------- */
hr.wp-block-separator {
    border: none;
    background: none;
    text-align: center;
    height: 1.5rem;
    overflow: visible;
    margin: 2.5rem 0;
}

hr.wp-block-separator::after {
    content: "· · ·";
    color: var(--wp--preset--color--text-tertiary);
    font-size: 1rem;
    letter-spacing: 0.6em;
    line-height: 1.5rem;
}

/* ---------- Header / footer chrome ---------- */
.rttb-site-header {
    border-bottom: 0.5px solid var(--wp--preset--color--border);
    padding: 1.125rem 1.25rem;
}

.rttb-site-title {
    font-family: "Newsreader", Georgia, serif;
    font-size: 1.0625rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.01em;
    color: var(--wp--preset--color--text-primary);
    text-decoration: none;
}

.rttb-site-nav {
    font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.8125rem;
}

.rttb-site-nav a {
    color: var(--wp--preset--color--text-secondary);
    text-decoration: none;
    margin-left: 1rem;
}

.rttb-site-nav a:hover {
    color: var(--wp--preset--color--text-primary);
}

.rttb-site-footer {
    border-top: 0.5px solid var(--wp--preset--color--border);
    padding: 1.5rem 1.25rem;
    font-family: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 0.8125rem;
    color: var(--wp--preset--color--text-tertiary);
    margin-top: 4rem;
}
