
/*** Core page styles — noir editorial theme: white ground, ink text, blood-red accent ***/

:root {
        --ink: #0d0d0d;
        --paper: #ffffff;
        --paper-dim: #f7f6f4;
        --accent: #7a1128;
        --accent-soft: #a34255;
        --rule: #e4e1dc;
}

html * {
        font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
}

body {
        margin: 0 auto;
        max-width: 720px;
        line-height: 1.65;
        font-size: 18px;
        color: var(--ink);
        background-color: var(--paper);
        padding: 0 24px 80px;
}

p, li {
        font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
}

/********************************/

img {
    max-width: 100%;
    max-height: 100%;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

code {
        background-color: var(--paper-dim);
        border-radius: 6px;
        padding: 2px 8px;
        color: var(--accent);
        font-family: "SF Mono", Menlo, monospace;
        font-size: 0.9em;
}

pre {
        overflow-x: auto;
        white-space: pre-wrap;
        word-wrap: break-word;
}

blockquote {
        border-left: 3px solid var(--accent);
        display: block;
        margin: 1.4em 0;
        margin-left: 0;
        padding-left: 20px;
        font-style: italic;
        color: #4a4a4a;
}

hr {
        border: none;
        border-top: 1px solid var(--rule);
        margin: 3em auto;
        max-width: 300px;
}

#endline {
        border: none;
        border-top: 1px solid var(--rule);
        margin: 5em auto 2em;
        max-width: 300px;
}

/* Links: ink-colored text with an accent underline, rather than default link-blue —
   reads as "considered typography" rather than "generic browser default." */
a {
        color: var(--ink);
        text-decoration: underline;
        text-decoration-color: var(--accent-soft);
        text-decoration-thickness: 1.5px;
        text-underline-offset: 3px;
        font-weight: 600;
        transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
a:hover {
        color: var(--accent);
        text-decoration-color: var(--accent);
}

h1 {
        font-size: 2.4em;
        line-height: 1.15;
        letter-spacing: -0.01em;
        margin-top: 0.6em;
}

h2, h3 {
        line-height: 1.2;
        letter-spacing: -0.01em;
}

/* H2 "bucket" headers, illuminated-manuscript style: the icon is a large
   dropped mark floated to the left of the whole section (heading + intro
   line), with text wrapping beside it -- not a small inline glyph. Scales
   down on narrow viewports so it doesn't overwhelm mobile. */
h2 {
        font-size: 1.7em;
        padding-top: 0.3em;
        margin-bottom: 0.3em;
}
/* Mobile-first: base size is for small screens, scaled up via min-width for
   larger viewports -- this is a walks site, phones are the primary case. */
.bucket-mark {
        float: left;
        width: 24px;
        height: 24px;
        margin: 0.15em 10px 4px 0;
        shape-outside: margin-box;
}
@media screen and (min-width: 601px) {
        .bucket-mark {
                width: 36px;
                height: 36px;
                margin: 0.15em 12px 4px 0;
        }
}

/* Description line directly under an H2 bucket header */
h2 + p em, h2 + p i {
        color: #555;
}

/* Link-list styling: each list item under a bucket reads as a clean row —
   bold linked title, description text beneath it, a hairline divider between
   entries. Not default browser bullets. */
ul {
        list-style: none;
        margin: 1em 0 0;
        padding: 0;
        clear: left; /* always start fresh below the bucket-mark float, even
                        if a section's intro text is too short to clear it */
}
ul li {
        padding: 14px 0;
        border-bottom: 1px solid var(--rule);
}
ul li:first-child {
        border-top: 1px solid var(--rule);
}
ul li a {
        font-size: 1.05em;
}

.date {
        padding-bottom: 0;
        margin-bottom: 0;
        font-size: 14px;
        color: #888;
        font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
}

/* Mobile-first: plain left-aligned by default, floats right alongside the
   heading only once there's room for it. */
@media screen and (min-width: 901px) {
.date {
        float: right;
        margin-left: 30px;
}
}

/********************************/

/*** Header / nav / footer ***/

.walk-name {
        font-family: Georgia, serif;
        font-weight: 700;
        font-size: 20px;
        line-height: 1.25;
        text-align: center;
        margin: 40px 0 32px;
        letter-spacing: 0.01em;
}
@media (min-width: 601px) {
        .walk-name {
                font-size: 26px;
        }
}

.footer {
        border-top: 1px solid var(--rule);
        font-size: 13px;
        color: #888;
        font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
        margin-top: 100px;
        text-align: center;
        padding-top: 20px;
}
.footer a {
        color: #888;
        font-weight: 400;
}

/********************************/

/* Arise Index (TOC) Style */
.arise-toc-td {
  border-width: 1px;
  border-color: var(--rule);
  border-top-style: solid;
  text-align: left;
  padding: 10px;
}
.arise-toc-th {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
  text-align: left;
  font-family: -apple-system, "Segoe UI", system-ui, sans-serif;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.03em;
}
