/*
  THE SCHOLAR'S DESK THEME
  A classic, academic style inspired by traditional print and scholarly journals.
  Focus: Timeless typography, comfortable reading, and a warm, muted palette.
*/

/* --- 1. Core Body & Page Feel --- */
/* We use a warm, parchment-like off-white and a dark sepia for text
   to reduce the harsh contrast of pure black and white. */
   body {
    font-family: 'Cormorant Garamond', serif;
    background-color: #f7f3e9; /* A warm, aged paper color */
    color: #403b33; /* A dark brown/sepia, easier on the eyes */
    font-weight: 400;
    line-height: 1.7;
    padding: 3em 1em;
}

.container {
    max-width: 700px; /* A comfortable reading width */
    margin: 0 auto;
}

/* --- 2. Classic Typography Hierarchy --- */
/* Using a single font family and creating hierarchy through size,
   weight, and style (like italics) gives a classic, unified feel. */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif; /* Ensure all headers use the font */
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.8em;
    font-weight: 600; /* A bolder weight for distinction */
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    border-bottom: 2px solid #c9bca9; /* A double rule below the main title */
    padding-bottom: 0.5em;
    margin-bottom: 1.5em;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    border-bottom: 1px solid #d9d1c0;
    padding-bottom: 0.3em;
}

p {
    margin-bottom: 1.2em;
}

/* --- 3. Traditional Links --- */
/* Links are a deep, muted green and keep their underline for a classic web feel. */
a {
    color: #5A715E; /* A deep, forest green */
    text-decoration: underline; /* Classic underline for clarity */
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    font-weight: 600; /* Make links stand out slightly */
    transition: color 0.3s ease;
}

a:hover, a:focus {
    color: #3e4f42; /* A darker shade on hover */
    background-color: transparent; /* No modern background highlights */
}

/* --- 4. Book-Like Content Elements --- */
/* Blockquotes are styled as simple, indented passages of text. */
blockquote {
    margin: 2em 2.5em; /* Indent from both sides */
    padding: 0;
    border: 0; /* Remove modern-looking side-borders */
    font-style: italic;
    color: #615a4e;
}

/* A classic fleuron (printer's ornament) to separate sections. */
hr {
    border: 0;
    text-align: center;
    margin: 3em 0;
}

hr::after {
    content: "❧"; /* This is the fleuron character */
    font-size: 1.5rem;
    color: #c9bca9;
}