/*
Theme Name: Scripturestead Research
Theme URI: https://research.scripturestead.com/
Author: Scripturestead
Description: Independent, accessible WordPress theme for Scripturestead Research.
Version: 0.8.2
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: scripturestead-research
*/
:root{--ink:#162839;--gold:#bd9550;--paper:#f7f3e9;--muted:#5b6770;--line:#ded6c6;--white:#fff}
*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 system-ui,-apple-system,Segoe UI,sans-serif}a{color:#74551f}a:hover,a:focus-visible{color:#ad8032}img{max-width:100%;height:auto}.container{width:min(1140px,calc(100% - 36px));margin:auto}.skip-link{position:absolute;top:-100px;left:12px;background:white;padding:8px;z-index:99}.skip-link:focus{top:8px}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0}.site-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-weight:750}.site-brand img{width:220px;max-height:75px;object-fit:contain}.site-nav ul{display:flex;flex-wrap:wrap;list-style:none;gap:18px;margin:0;padding:0}.site-nav a{text-decoration:none;color:var(--ink);font-weight:600}.hero{position:relative;background:linear-gradient(110deg,rgba(12,29,44,.94),rgba(20,42,59,.77)),var(--hero-image,none) center/cover;color:white;padding:100px 0}.hero .eyebrow{color:#e3bd74;letter-spacing:.15em;text-transform:uppercase;font-size:.8rem;font-weight:700}.hero h1{font:700 clamp(2.4rem,6vw,4.6rem)/1.1 Georgia,serif;max-width:820px;margin:15px 0}.hero p{max-width:660px;font-size:1.15rem}.hero .scripture{font-family:Georgia,serif;color:#f3dcaf;font-style:italic}.section{padding:64px 0}.section h2{font:700 clamp(1.8rem,3vw,2.5rem)/1.2 Georgia,serif;margin:0 0 12px}.section-intro{color:var(--muted);margin:0 0 28px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{background:#fff;border:1px solid var(--line);border-radius:5px;padding:26px;box-shadow:0 3px 14px rgba(20,30,40,.04)}.card h3{font:700 1.35rem Georgia,serif;margin:0 0 12px}.card p{color:var(--muted)}.card a{text-decoration:none}.featured{background:#eae2d2}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.feature-image{min-height:300px;background:linear-gradient(135deg,#243a48,#9d8050);border-radius:5px;overflow:hidden}.feature-image img{width:100%;height:100%;object-fit:cover}.button{display:inline-block;background:var(--gold);color:#172536;padding:10px 20px;text-decoration:none;font-weight:700;border-radius:3px}.button:hover{background:#d7b477;color:#172536}.post-meta{color:var(--muted);font-size:.85rem}.site-footer{background:#13283a;color:#f2eadd;padding:35px 0}.site-footer a{color:#eac47d}.site-footer .container{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.content-area{padding:55px 0;max-width:850px}.entry-title{font:700 clamp(2rem,4vw,3rem)/1.2 Georgia,serif}.entry-content img{height:auto}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);overflow:hidden;height:1px;width:1px}@media(max-width:780px){.header-inner{align-items:flex-start;flex-direction:column}.site-brand img{width:185px}.grid{grid-template-columns:1fr 1fr}.feature-grid{grid-template-columns:1fr}.hero{padding:65px 0}}@media(max-width:530px){.grid{grid-template-columns:1fr}.site-nav ul{gap:10px 15px}.section{padding:45px 0}}
/* Editorial content and accessible form refinements */
.content-area{max-width:1140px}
.content-area>article,.content-area>.archive-header{max-width:820px}
.content-area .grid{margin:28px 0 32px}
.content-area .grid article{max-width:none}
.content-area .grid h2{font:700 1.35rem/1.3 Georgia,serif;margin:0 0 12px}
.content-area .grid h2 a{text-decoration:none}
.content-area .grid h2 a:hover{text-decoration:underline}
.entry-content{max-width:75ch}
.entry-content h2,.entry-content h3{font-family:Georgia,serif;line-height:1.3}
.entry-content blockquote{border-left:4px solid var(--gold);margin:24px 0;padding:8px 24px;background:#fff}
.entry-content a{text-decoration:underline;text-underline-offset:3px}
.article-cover{margin:20px 0 28px}
.article-cover img{display:block;width:100%;border-radius:5px}
.search-form{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}
.search-form label{flex-basis:100%;font-weight:700}
.search-form input{flex:1;min-width:180px;padding:10px 12px;border:1px solid #78828b;border-radius:3px;font:inherit}
.search-form button{padding:10px 18px;border:0;background:var(--gold);color:var(--ink);font:700 1rem system-ui;cursor:pointer}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #ad8032;outline-offset:3px}
.navigation.pagination{margin:32px 0}
@media(max-width:780px){.content-area .grid{grid-template-columns:1fr}}

/* V0.2 editorial and responsive refinements */
:root{color-scheme:light}
body{overflow-wrap:break-word}
.site-header{position:relative;z-index:5}
.site-brand img{display:block;width:auto;max-width:min(240px,60vw);max-height:76px}
.site-nav{min-width:0}
.site-nav ul,.ssr-page-menu ul{display:flex;flex-wrap:wrap;align-items:center;gap:12px 22px;list-style:none;margin:0;padding:0}
.site-nav li{margin:0}
.site-nav a{display:inline-block;padding:8px 0;text-underline-offset:5px}
.site-nav a:hover,.site-nav a:focus-visible{text-decoration:underline}
.hero{isolation:isolate}
.hero .container{position:relative;z-index:1}
.card{transition:transform .18s ease,box-shadow .18s ease}
.card:focus-within{box-shadow:0 8px 24px rgba(20,30,40,.12)}
.card h3 a:hover{text-decoration:underline;text-underline-offset:3px}
.entry-content{line-height:1.8}
.entry-content p{margin:0 0 1.25em}
.entry-content figure{max-width:100%}
.entry-content iframe{max-width:100%}
@media(hover:hover){.card:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(20,30,40,.09)}}
@media(max-width:780px){.header-inner{gap:12px}.site-nav{width:100%}.site-nav ul,.ssr-page-menu ul{gap:4px 18px}}
@media(max-width:530px){.site-brand img{max-height:64px}.hero h1{font-size:clamp(2rem,10vw,3rem)}.hero p{font-size:1rem}.section{padding:42px 0}.card{padding:21px}}
@media(prefers-reduced-motion:reduce){.card{transition:none}.card:hover{transform:none}}

/* Research editorial identity — next iteration */
:root{--ink:#182d35;--gold:#b58b48;--paper:#f6f1e7;--muted:#59666a;--line:#d9cfbb}
body{background:var(--paper);font-size:16px;line-height:1.7}
.site-header{background:#fcfaf5;box-shadow:0 2px 14px rgba(23,39,45,.05)}
.header-inner{min-height:100px}
.site-nav a{font-size:.91rem;letter-spacing:.025em}
.hero{background:linear-gradient(105deg,rgba(12,31,37,.96) 0%,rgba(17,42,47,.9) 58%,rgba(25,44,46,.72) 100%),var(--hero-image,none) center/cover;padding:clamp(72px,9vw,132px) 0;border-bottom:5px solid var(--gold)}
.hero .container{max-width:1140px}
.hero .eyebrow{display:inline-block;color:#f0d29a;font-size:.75rem;letter-spacing:.19em;padding-bottom:12px;border-bottom:1px solid rgba(240,210,154,.45)}
.hero h1{max-width:780px;letter-spacing:-.025em;line-height:1.08;margin:25px 0 22px}
.hero p{max-width:640px;color:#f3f0e8;line-height:1.75}
.hero .scripture{margin-top:32px;padding-left:18px;border-left:3px solid var(--gold);font-size:1.05rem;color:#f2d9a8}
.section{padding:clamp(58px,7vw,94px) 0}
.section h2{letter-spacing:-.02em}
.section-intro{max-width:650px;margin-bottom:32px}
.grid{gap:24px}
.card{position:relative;border:1px solid #e1d8c8;border-radius:7px;padding:30px;background:#fffdf9;box-shadow:0 8px 24px rgba(24,45,53,.035)}
.card::before{content:"";position:absolute;top:0;left:28px;width:52px;height:3px;background:var(--gold)}
.card h3{line-height:1.3}
.card h3 a{color:var(--ink)}
.card p{margin-bottom:0}
.featured{background:#e9e1d2;border-block:1px solid #d8cbb5}
.feature-grid{gap:clamp(28px,5vw,64px)}
.feature-grid h3{font:700 clamp(1.7rem,3vw,2.5rem)/1.2 Georgia,serif;letter-spacing:-.02em}
.feature-image{min-height:320px;border-radius:8px;box-shadow:0 15px 35px rgba(24,45,53,.12)}
.button{border-radius:4px;padding:12px 23px;transition:background .15s ease}
.site-footer{border-top:4px solid var(--gold)}
.entry-title{letter-spacing:-.025em}
@media(max-width:780px){.header-inner{min-height:0;padding:18px 0}.hero{padding:72px 0}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:530px){.hero{padding:58px 0}.hero h1{font-size:clamp(2.15rem,10vw,3rem)}.hero .scripture{font-size:.98rem}.grid{grid-template-columns:1fr}.card{padding:26px}.section{padding:52px 0}}
@media(prefers-reduced-motion:reduce){.button{transition:none}}

/* Research directory: present planned areas before publication */
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:30px}
.section-heading .section-intro{margin:8px 0 0}
.section-kicker,.topic-label{font:700 .73rem/1.5 system-ui,-apple-system,Segoe UI,sans-serif;letter-spacing:.13em;text-transform:uppercase;color:#836027}
.section-kicker{margin:0 0 8px}
.section-count{white-space:nowrap;color:var(--muted);font-size:.85rem;padding-bottom:8px}
.research-topic-grid{align-items:stretch}
.research-topic-card{display:flex;flex-direction:column;min-height:265px}
.research-topic-card .topic-label{margin:0 0 16px;color:#856a43}
.research-topic-card h3{margin-bottom:12px}
.research-topic-card>p:not(.topic-label){font-size:.93rem;line-height:1.6}
.research-topic-card .topic-explore{margin-top:auto;padding-top:22px;color:#74551f;font-weight:700;font-size:.89rem;text-decoration:none}
.research-topic-card .topic-explore:hover,.research-topic-card .topic-explore:focus-visible{text-decoration:underline}
@media(max-width:530px){.section-heading{display:block}.section-count{display:block;padding:12px 0 0}.research-topic-card{min-height:0}}

/* Featured study / flagship project presentation */
.featured .section-kicker{margin:0 0 8px}
.featured .feature-grid{margin-top:30px}
.feature-copy{max-width:560px}
.feature-copy h3{margin:10px 0 20px}
.feature-copy>p:not(.feature-status){font-size:1.05rem;line-height:1.8;color:#46555a;margin:0 0 28px}
.feature-status{display:inline-block;padding:6px 12px;border:1px solid #bca477;border-radius:30px;color:#5d4929;font-size:.73rem;font-weight:750;letter-spacing:.09em;text-transform:uppercase}
.feature-image.is-placeholder{background:radial-gradient(circle at 72% 25%,rgba(210,173,101,.2),transparent 38%),linear-gradient(140deg,#112c37,#284c50 72%,#17313a);border:1px solid rgba(255,255,255,.16)}
.feature-placeholder{display:flex;min-height:330px;align-items:center;justify-content:center;flex-direction:column;padding:35px;color:#f4e8cd;text-align:center}
.feature-placeholder-line{width:72px;height:2px;background:#c6a368;margin-bottom:26px}
.feature-placeholder-icon{color:#c6a368;font-size:1.6rem;line-height:1}
.feature-placeholder-title{font:700 clamp(1.35rem,3vw,2.2rem)/1.3 Georgia,serif;letter-spacing:.09em;margin-top:17px}
.feature-placeholder-subtitle{font-size:.8rem;letter-spacing:.4em;color:#e2c48e;margin-top:9px}
.feature-coming-soon{display:inline-block;font-weight:700;color:#6e552c}
@media(max-width:530px){.feature-placeholder{min-height:260px}.feature-status{font-size:.68rem}.feature-copy>p:not(.feature-status){font-size:1rem}}

/* v0.2.4: compact editorial hero */
.hero{padding:clamp(48px,6vw,82px) 0}
.hero h1{font-size:clamp(2.3rem,5vw,4rem);margin:18px 0 14px}
.hero p{margin-top:0;margin-bottom:12px}
.hero .scripture{margin-top:22px;margin-bottom:0}
@media(max-width:780px){.hero{padding:52px 0}}
@media(max-width:530px){.hero{padding:42px 0}.hero h1{font-size:clamp(2rem,9vw,2.8rem)}.hero .scripture{margin-top:18px}}


/* Biblical People profile and directory */
.ssr-person-profile .ssr-person-subtitle{font-size:1.2rem;color:var(--muted);margin-top:-.5rem}
.ssr-person-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:26px 0;padding:22px;border:1px solid var(--line);border-radius:7px;background:#fffdf9}
.ssr-person-facts div{min-width:0}.ssr-person-facts dt{font-size:.78rem;text-transform:uppercase;letter-spacing:.08em;font-weight:750;color:var(--muted)}
.ssr-person-facts dd{margin:5px 0 0;overflow-wrap:anywhere}
.ssr-person-family{border-top:1px solid var(--line);margin-top:36px;padding-top:20px}
.ssr-person-family h2{font-family:Georgia,serif}.ssr-person-family li{margin-bottom:9px}
.ssr-people-directory .archive-header{margin-bottom:30px}
.ssr-people-directory .grid .card h2{font:700 1.4rem/1.3 Georgia,serif;margin:0}
@media print{.site-header,.site-footer,.ssr-breadcrumbs{display:none!important}.ssr-person-facts{break-inside:avoid}body{background:white;color:black}}

.ssr-chronicles-sort{display:flex;flex-wrap:wrap;gap:14px;margin:14px 0 28px}.ssr-chronicles-sort a[aria-current="page"]{font-weight:700;text-decoration:underline}

/* Chronicles inventory number in all five profile archives. */
.ssr-chronicles-number{color:var(--muted);font-size:.82rem;font-weight:600;margin:0 0 .45rem}
