/* notes.css - Standalone Rounded Note Card Page */

@import url("fonts.css");
@import url("site-tokens.css");

/* =========================================
   Base Layout & The Deep Background
   ========================================= */
html {
    font-size: 20px;
    box-sizing: border-box;
}

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

body {
    /* A very deep, almost pitch-black background to push the card forward */
    background-color: #030403; 
    color: var(--site-text);
    font-family: var(--site-serif);
    margin: 0;
    padding: 4rem 1rem; /* Space at top and bottom to suspend the card */
    display: flex;
    justify-content: center; /* Centers the card horizontally */
    min-height: 100vh;
}

/* =========================================
   The Lighter Note Card Container
   ========================================= */
.content {
    /* Noticeably lighter than the #030403 body, but still dark Tufte */
    background-color: #121812; 
    width: 100%;
    max-width: 900px; /* Matches your original main body max-width */
    padding: 3.5rem 4rem;
    
    /* The Card UI */
    border-radius: 8px;
    border: 1px solid #242e24; /* Subtle outline to define the edge */
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.8); /* Deep shadow to lift it off the background */
}

/* =========================================
   Typography & Headers (Matching your original)
   ========================================= */
header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #242e24; /* Clean separator line */
    padding-bottom: 1rem;
}

h1.title {
    font-weight: 400;
    margin: 0;
    font-size: 3.2rem;
    line-height: 1;
    text-align: center;
    font-variant: small-caps;
    color: var(--site-text);
}

/* =========================================
   Content Paragraphs
   ========================================= */
p {
    font-size: 1.4rem;
    line-height: 2rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto;
}

/* Optional: Centers and italicizes the intro text before the verses */
p:first-of-type {
    font-style: italic;
    text-align: center;
    text-indent: 0;
    margin-bottom: 2.5rem;
}

/* =========================================
   Links (Bible Verses)
   ========================================= */
a {
    color: var(--site-accent); /* Your original salmon accent */
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em; /* Makes the top-line verse pop slightly larger */
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* =========================================
   Blockquotes
   ========================================= */
blockquote {
    font-size: 1.4rem;
    background-color: #0a0d0a; /* Darker inset color to contrast with the card */
    border-left: 4px solid var(--site-accent);
    padding: 1rem 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

blockquote p {
    width: 100%;
    margin: 0;
    font-style: italic;
    text-align: left;
}

/* =========================================
   Mobile Responsiveness (Using your original scale)
   ========================================= */
@media only screen and (max-width: 768px) {
    html { font-size: 11px; }
    body { padding: 2rem 1rem; }
    .content { padding: 2.5rem 2rem; border-radius: 12px; }
}

@media only screen and (max-width: 480px) {
    html { font-size: 10px; }
    .content { padding: 2rem 1.5rem; }
}
