/*
Theme Name: Reasoning Christian
Theme URI: https://example.invalid/reasoning-christian
Author: Reasoning Christian
Description: Independent scholarly library theme for articles, books, and teaching videos.
Version: 1.7.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: reasoning-christian
*/
:root{--navy:#17243a;--ink:#233854;--ivory:#faf7f1;--stone:#ece8e1;--gold:#b5965a;--charcoal:#25272b;--muted:#63707b;--line:#ddd8ce}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--ivory);color:var(--charcoal);font:17px/1.75 system-ui,-apple-system,Segoe UI,sans-serif;min-height:100vh;display:flex;flex-direction:column}a{color:var(--ink);text-decoration-thickness:1px;text-underline-offset:4px}a:hover{color:#8b6c31}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:3px}h1,h2,h3,h4,.brand-name{font-family:Georgia,'Times New Roman',serif;line-height:1.2;color:var(--navy)}h1{font-size:clamp(2.25rem,5vw,4.4rem)}h2{font-size:clamp(1.6rem,3vw,2.5rem)}h3{font-size:1.35rem}p{margin:0 0 1.3em}img{max-width:100%;height:auto}.wrap{width:min(1160px,calc(100% - 40px));margin-inline:auto}.site-header{background:var(--navy);color:#fff;border-bottom:3px solid var(--gold)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:100px}.brand{text-decoration:none;display:flex;align-items:center;gap:15px;color:white}.brand:hover{color:white}.brand-mark{border:1px solid var(--gold);width:52px;height:52px;display:grid;place-items:center;font:32px Georgia;color:#e5c990}.brand-name{display:block;color:white;font-size:1.55rem;letter-spacing:.01em}.brand-tag{display:block;color:#d8c49b;font-size:.73rem;letter-spacing:.16em;text-transform:uppercase;line-height:1.5}.main-nav{display:flex;gap:24px;align-items:center}.main-nav a{color:#f4f0e8;text-decoration:none;font-size:.92rem}.main-nav a:hover{color:#e2c58d}.menu-toggle{display:none;background:transparent;border:1px solid #9f987e;color:#fff;padding:10px 14px;border-radius:4px;cursor:pointer}.site-main{flex:1}.hero{background:linear-gradient(125deg,#17243a,#243c58);color:white;padding:75px 0 80px}.hero h1{color:#fff;max-width:750px;margin:0 0 16px}.hero .eyebrow,.eyebrow{text-transform:uppercase;letter-spacing:.2em;color:var(--gold);font-weight:700;font-size:.77rem}.hero p{color:#dcdfe1;max-width:680px;font-size:1.15rem}.search-box{display:flex;max-width:740px;background:#fff;border-radius:5px;padding:6px;box-shadow:0 10px 30px #101b2a55}.search-box input{border:0;flex:1;min-width:0;padding:14px;font:inherit}.search-box button,.button{border:0;background:var(--gold);color:#17243a;padding:12px 24px;border-radius:3px;font:600 .92rem system-ui;cursor:pointer;text-decoration:none;display:inline-block}.section{padding:55px 0}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:24px}.section-heading h2{margin:0}.section-heading p{margin:8px 0 0;color:var(--muted)}.gateway-grid,.item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.gateway,.item-card,.panel{border:1px solid var(--line);background:#fff;border-radius:5px;padding:28px}.gateway{text-decoration:none;min-height:210px;transition:transform .2s,border-color .2s}.gateway:hover{transform:translateY(-3px);border-color:var(--gold)}.gateway .glyph{font:2.1rem Georgia;color:#a5854e}.gateway h3{margin:16px 0 8px}.gateway p{font-size:.94rem;color:var(--muted);margin:0}.item-card h3{margin:8px 0}.item-card .type,.meta,.crumbs,.quiet{color:var(--muted);font-size:.88rem}.item-card .type{text-transform:uppercase;letter-spacing:.12em;color:#8c713d}.topic-links{display:flex;flex-wrap:wrap;gap:10px}.topic-links a{padding:8px 14px;border:1px solid var(--line);background:#fff;border-radius:3px;text-decoration:none;font-size:.9rem}.topic-links a:hover{border-color:var(--gold)}.reading{width:min(760px,calc(100% - 40px));margin:0 auto;padding:46px 0 75px}.reading h1{font-size:clamp(2.2rem,4.5vw,3.7rem);margin:12px 0}.reading-content{font-family:Georgia,serif;font-size:1.14rem;line-height:1.85;overflow-wrap:anywhere}.reading-content h2,.reading-content h3{scroll-margin-top:24px;margin-top:1.8em}.reading-content blockquote{border-left:3px solid var(--gold);padding-left:22px;margin-left:0;color:#555}.crumbs{padding-top:22px}.crumbs a{color:inherit}.reader-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-block:1px solid var(--line);padding:15px 0;margin:25px 0;font-size:.88rem}.reader-nav a{text-decoration:none}.toc{background:#f0ece4;border-left:3px solid var(--gold);padding:16px 22px;margin:25px 0}.toc summary{cursor:pointer;font-weight:700}.toc ul{margin:10px 0 0;padding-left:20px}.toc a{text-decoration:none}.page-head{padding:48px 0 25px}.page-head h1{margin:0 0 8px}.archive-list{padding-bottom:60px}.notice{border:1px dashed #c9c0af;background:#fff;padding:28px;border-radius:4px;color:var(--muted)}.book-cover{background:var(--navy);color:var(--gold);aspect-ratio:3/4;display:grid;place-items:center;font:2.5rem Georgia;max-width:220px}.book-layout{display:grid;grid-template-columns:220px 1fr;gap:35px}.video-frame{aspect-ratio:16/9;background:var(--navy);width:100%;border:0}.site-footer{background:#ece8e1;border-top:1px solid #d9d2c4;text-align:center;padding:36px 0 30px;font-size:16px;line-height:1.65;color:#4c5360}.site-footer p{margin:0 0 8px}.pagination{padding:20px 0}.pagination .page-numbers{margin-right:12px}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:800px){.header-inner{min-height:83px;flex-wrap:wrap;padding:12px 0}.menu-toggle{display:block}.main-nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;padding-bottom:12px}.main-nav.open{display:flex}.main-nav a{padding:11px 4px;border-top:1px solid #ffffff20}.gateway-grid,.item-grid{grid-template-columns:1fr}.hero{padding:55px 0}.book-layout{grid-template-columns:1fr}.search-box button{padding:10px 15px}.brand-name{font-size:1.3rem}.brand-mark{width:44px;height:44px}.section{padding:38px 0}}
/* v1.2: reading accessibility and compact symbol legends */
.reader-tools{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;font: .85rem/1.5 system-ui,sans-serif;color:var(--muted);margin:14px 0 24px}
.font-controls{display:flex;gap:5px}.font-controls button{cursor:pointer;border:1px solid var(--line);border-radius:4px;background:#fff;color:var(--navy);padding:7px 12px;font-weight:600;min-height:38px}
.font-controls button:hover{background:var(--stone)}
.reading-content{font-size:18px;line-height:1.85;overflow-wrap:anywhere}
.reading-content .symbol-key{font: .82em/1.35 system-ui,sans-serif;color:#4d5660;margin-top:30px}
.reading-content .symbol-key h2{font-size:1.12em;margin:0 0 7px}
.reading-content .symbol-key p{margin:0 0 3px}
@media(max-width:520px){.reading{width:calc(100% - 30px);padding-top:28px}.reader-nav{gap:8px;font-size:.8rem}.reader-nav a{display:inline-block;padding:5px 0}.reader-tools{justify-content:flex-start}.reading-content{line-height:1.7}}

/* v1.3 — author attribution in article reading metadata */
.article-reading-meta{display:flex;align-items:baseline;flex-wrap:wrap;column-gap:14px;row-gap:3px;line-height:1.5;margin:10px 0 8px}
.article-reading-meta .article-author{font-weight:600;color:var(--ink)}

/* v1.4: visible navigation buttons and right-aligned author */
.article-reading-meta{display:flex;gap:6px 18px;flex-wrap:wrap;align-items:baseline}
.article-reading-meta .article-stats{flex:0 1 auto}
.article-reading-meta .article-author{margin-left:auto;text-align:right;flex:1 1 300px}
.reader-nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;margin:24px 0;padding:14px 0}
.reader-nav-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 12px;border:1px solid var(--gold);border-radius:4px;background:var(--navy);color:#fff;text-align:center;font-size:.84rem;font-weight:650;text-decoration:none;line-height:1.35}
.reader-nav-button:first-child{justify-self:start}.reader-nav-button:last-child{justify-self:end}
.reader-nav-button:hover{background:var(--ink);color:#fff;text-decoration:none}
.reader-nav-button.is-disabled{background:#edeae4;color:#767676;border-color:#dad5cd;cursor:default}
.reader-nav-all{font-weight:600;white-space:nowrap;text-align:center;font-size:.82rem}
@media(max-width:580px){.reader-nav{grid-template-columns:1fr 1fr;gap:9px}.reader-nav-button{width:100%;font-size:.78rem;padding:9px 5px}.reader-nav-all{grid-column:1/-1;grid-row:2}.article-reading-meta .article-author{flex-basis:100%;text-align:right;margin-left:0}}

/* v1.5 — legible article byline and reading statistics */
.reading .article-reading-meta{font-size:16px;line-height:1.65;gap:6px 20px;color:#374657;margin:12px 0 14px}
.reading .article-reading-meta .article-stats{font-size:inherit;font-weight:500}
.reading .article-reading-meta .article-author{font-size:inherit;font-weight:600;text-align:right}
@media(max-width:580px){.reading .article-reading-meta{font-size:15px;line-height:1.6}}

@media(max-width:600px){.site-footer{font-size:15px;padding:28px 0 24px}}

.copyright-break{display:inline}
@media(max-width:800px){.copyright-break{display:none}}
