/* 
body {
  margin: 0;
  padding: 3rem;
  margin-inline: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: midnightblue;
}

span.inline-quote {
    font-style: italic;
}

span.bold {
    font-weight: bold;
}

span.italic {
    font-style: italic;
}

p.block-quote {
    font-style: italic;
    padding: 1em 1em 1em 2em;
    background-color: #DDDDDD;
}

a {
    color: inherit;
}

thead {
    font-weight: bold;
} */

/* ==========================================================================
   Begin AI styles
   Christian Essays Theme
   A restrained, readable style focused on long-form reading
   ========================================================================== */

:root {
    --bg: #faf8f3;
    --surface: #ffffff;
    --text: #2d2b28;
    --muted: #6c675f;
    --border: #d9d3c8;

    --accent: #4b6a84;
    --accent-hover: #355068;

    --quote-bg: #f4f1ea;
    --quote-border: #b7a98a;

    --max-width: 760px;
    --radius: 6px;
}

/* Base */

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

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}

/* Layout */

main,
.content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

article {
    background: var(--surface);
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* Typography */

h1,
h2,
h3,
h4 {
    font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-weight: normal;
    line-height: 1.25;
    color: #26221e;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

h1 {
    font-size: 2.3rem;
    margin-top: 0;
}

h2 {
    font-size: 1.7rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.3rem;
}

h3 {
    font-size: 1.35rem;
}

p {
    margin: 1.2rem 0;
}

small,
.meta {
    color: var(--muted);
}

span.bold {
    font-weight: bold;
}

span.italic {
    font-style: italic;
}

/* Links
   Understated but always recognizable */

a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
    transition: color 0.15s ease;
}

a:hover,
a:focus {
    color: var(--accent-hover);
    text-decoration-thickness: 2px;
}

a:visited {
    color: #6b5f85;
}

/* Lists */

ul,
ol {
    padding-left: 2rem;
}

/* Images */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Horizontal rule */

hr {
    border: 0;
    border-top: 1px solid var(--border);
    margin: 3rem 0;
}

/* Block quotations */

.block-quote {
    margin: 2rem 0;
    padding: 1.25rem 1.5rem;
    background: var(--quote-bg);
    border-left: 4px solid var(--quote-border);
    color: #3d3933;
    font-style: italic;
}

.block-quote p:first-child {
    margin-top: 0;
}

.block-quote p:last-child {
    margin-bottom: 0;
}

.block-quote cite {
    display: block;
    margin-top: 1rem;
    color: var(--muted);
    font-style: normal;
    font-size: 0.9rem;
}

/* Inline quotations */

.inline-quote {
    font-style: italic;
    color: #4a443d;
    white-space: normal;
}

.inline-quote::before {
    content: "“";
}

.inline-quote::after {
    content: "”";
}

/* Tables */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

th,
td {
    padding: 0.75rem;
    border: 1px solid var(--border);
    text-align: left;
}

th {
    background: #f3efe8;
}

/* Code (for occasional references) */

code {
    background: #f3f1ec;
    padding: 0.1em 0.3em;
    border-radius: 3px;
    font-size: 0.95em;
}

pre {
    background: #f3f1ec;
    padding: 1rem;
    overflow-x: auto;
    border-radius: var(--radius);
}

/* Responsive */

@media (max-width: 700px) {
    html {
        font-size: 17px;
    }

    article {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }
}