@charset "UTF-8";
/*
Theme Name: Biblicalia
Author: Kevin P. N. Edgecomb
Description: A clean, bookish scholarly theme inspired by Robert Bringhurst's typographic principles.
Requires at least: 5.5
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.7
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: biblicalia
*/

/* ==========================================================================
   1. Reset & Base Typography (Palatino / Georgia Serif on White Paper)
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 17px;
	font-family: "EB Garamond", "Iowan Old Style", "Georgia", "Times New Roman", serif;
	line-height: 1.65;
	color: #333333;
	background-color: #ffffff;
	-webkit-text-size-adjust: 100%;
}

input,
select,
textarea,
button {
	font-family: inherit;
}

body {
	margin: 0;
	padding: 0;
	background-color: #ffffff;
	color: #333333;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* ==========================================================================
   2. Headings, Prose, Blockquotes & Dotted Links
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
	color: #111111;
	line-height: 1.3;
	font-weight: 600;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

h1, .entry-title {
	font-size: 1.75rem;
	font-weight: 500;
}

h2 { font-size: 1.35rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }

p {
	margin-top: 0;
	margin-bottom: 1.25rem;
}

ul, ol {
	margin-top: 0;
	margin-bottom: 1.25rem;
	padding-left: 1.5rem;
}

li {
	margin-bottom: 0.35rem;
}

blockquote {
	margin: 1.5rem 0;
	border-left: 1px solid #0047AB;
}

blockquote p {
	font-size: 1rem;
	line-height: 1.65;
	padding: 0 3em;
}

blockquote cite {
	display: block;
	padding: 0 3em;
	font-size: 0.9rem;
	color: #666666;
}

pre, code, kbd, samp {
	font-family: monospace, monospace;
	font-size: 0.9em;
}

pre {
	background: #f8f8f6;
	border: 1px solid #e5e5e5;
	padding: 1rem;
	overflow-x: auto;
}

hr {
	border: 0;
	border-top: 1px dashed #cccccc;
	margin: 2rem 0;
}

img {
	max-width: 100%;
	height: auto;
}

/* Dotted Prose Hyperlinks with Cobalt Blue (#0047AB) Hover */
a {
	border-bottom: none;
	color: #000000;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
	transition: color 0.1s ease-out, text-decoration-color 0.1s ease-out;
}

a:hover,
a:focus {
	color: #0047AB;
	text-decoration-color: #0047AB;
}

/* Clean Non-Underlined Site Title & Post Titles */
header.site-header .site-title a,
header.site-header .site-title a:hover,
.site-branding .site-title a,
.site-branding .site-title a:hover,
.site-title a,
.site-title a:hover,
.entry-title a,
.entry-title a:hover {
	text-decoration: none !important;
	text-decoration-line: none !important;
	border-bottom: none !important;
	background-image: none !important;
}

.entry-title a {
	color: #111111;
}

.entry-title a:hover {
	color: #0047AB;
}

/* ==========================================================================
   3. Page Frame & Centered Header Branding
   ========================================================================== */
#page {
	max-width: 1260px;
	margin: 0 auto;
	padding: 2rem 2rem 3rem;
}

#page > header.site-header {
	width: 100%;
	text-align: center;
	margin-bottom: 3.5rem;
}

.site-branding,
.site-title,
.site-description {
	text-align: center;
	margin: 0 auto;
	width: 100%;
}

.site-title {
	font-size: 3rem;
	font-style: italic;
	font-weight: 400;
	margin-bottom: 0.35rem;
}

.site-description {
	font-size: 0.95rem;
	color: #555555;
	font-style: italic;
}

/* Hide Seedlet's unused header toggle button if still in header.php */
.menu-button-container,
#primary-mobile-menu {
	display: none;
}

/* ==========================================================================
   4. Bringhurst Two-Column Grid (Blog & Archives) + Single-Column Pages
   ========================================================================== */
.biblicalia-content-grid {
	display: grid;
	grid-template-columns: minmax(0, 680px) 360px;
	justify-content: space-between;
	gap: 3.5rem;
	max-width: 1180px;
	margin: 0 auto;
	align-items: start;
}

/* Single-Column Pages (Reference Tables, Site Map, Search Results) */
.site-main {
	max-width: 1100px;
	margin: 0 auto;
}

.biblicalia-content-grid .site-main {
	max-width: 100%;
	margin: 0;
}

article.post,
article.page {
	margin-bottom: 3.5rem;
}

.sticky-post {
	display: inline-block;
	color: #ffffff;
	background-color: #0047AB;
	font-size: 0.75rem;
	line-height: 1;
	padding: 0.25rem 0.45rem;
	margin-bottom: 0.5rem;
	text-transform: uppercase;
}

/* Post Colophon Metadata (Author, Date, Category, Comments at bottom of post) */
.entry-footer {
	margin-top: 1.25rem;
	padding-top: 0.6rem;
	border-top: 1px dashed #e5e5e5;
	font-size: 0.85rem;
	color: #666666;
}

.entry-footer a {
	color: #444444;
	text-decoration: none;
}

.entry-footer a:hover {
	color: #0047AB;
	text-decoration: underline;
}

.entry-footer > span {
	margin-right: 1rem;
}

.entry-footer svg {
	width: 14px;
	height: 14px;
	vertical-align: -2px;
	margin-right: 0.25rem;
	fill: currentColor;
}

/* Pagination & Post Navigation */
.navigation.pagination,
.post-navigation {
	margin: 2.5rem 0;
	padding-top: 1rem;
	border-top: 1px solid #eeeeee;
	font-size: 0.9rem;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.navigation.pagination a,
.post-navigation a {
	text-decoration: none;
	color: #222222;
}

.navigation.pagination a:hover,
.post-navigation a:hover {
	color: #0047AB;
	text-decoration: underline;
}

/* ==========================================================================
   5. Sidebar, Two-Tier Academic Menu & Widgets
   ========================================================================== */
.editorial-sidebar {
	width: 100%;
	margin-top: 0.5rem;
}

.editorial-sidebar ul,
.editorial-sidebar ol,
.editorial-sidebar li {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
}

/* Level 1 Menu Pillars & Widget Headings (Archives, Search) */
.editorial-sidebar ul.menu > li > a,
.editorial-sidebar .widget-title,
.editorial-sidebar .widget h2,
.editorial-sidebar .wp-block-search__label,
.editorial-sidebar .wp-block-archives-dropdown label {
	font-size: 0.95rem;
	font-weight: 600;
	color: #111111;
	display: block;
	margin-top: 1.5rem;
	margin-bottom: 0.45rem;
	padding-bottom: 0.2rem;
	border-bottom: 1px dashed #dddddd;
	text-decoration: none;
	text-transform: capitalize;
}

.editorial-sidebar .widget_archive label.screen-reader-text,
.editorial-sidebar .widget_search label.screen-reader-text {
	display: none;
}

/* Level 2 Menu Tree */
.editorial-sidebar ul.sub-menu {
	padding-left: 0.85rem;
	margin-top: 0.2rem;
	margin-bottom: 0.5rem;
	border-left: 1px solid #f0f0f0;
}

.editorial-sidebar ul.sub-menu a {
	font-size: 0.84rem;
	font-weight: 400;
	color: #444444;
	line-height: 1.45;
	display: block;
	padding: 0.18rem 0;
	text-decoration: none;
}

/* Liturgical Crimson Hover in Sidebar */
.editorial-sidebar ul.menu > li > a:hover,
.editorial-sidebar ul.sub-menu a:hover,
.editorial-sidebar a:hover {
	color: #8c1d40;
	text-decoration: underline;
}

/* Sidebar Archives Dropdown & Search Box */
.editorial-sidebar select {
	font-size: 0.85rem;
	color: #333333;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 2px;
	padding: 0.35rem 0.5rem;
	width: 100%;
}

.editorial-sidebar .search-form {
	display: flex;
	align-items: stretch;
	gap: 0.4rem;
	width: 100%;
}

.editorial-sidebar .search-form label {
	flex: 1 1 auto;
	margin: 0;
}

.editorial-sidebar input[type="search"] {
	font-size: 0.85rem;
	color: #222222;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 2px;
	padding: 0.35rem 0.55rem;
	width: 100%;
}

.editorial-sidebar input[type="search"]:focus,
.editorial-sidebar select:focus {
	outline: none;
	border-color: #8c1d40;
}

/* ==========================================================================
   6. Breadcrumbs, Search Results Page & Aldus-Leaf HTML Site Map
   ========================================================================== */
.biblicalia-breadcrumbs {
	font-size: 0.85rem;
	line-height: 1.5;
	color: #666666;
	margin-bottom: 1.25rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px dashed #e5e5e5;
}

.biblicalia-breadcrumbs a {
	color: #333333;
	text-decoration: none;
}

.biblicalia-breadcrumbs a:hover {
	color: #8c1d40;
	text-decoration: underline;
}

.biblicalia-breadcrumbs .breadcrumb-sep {
	margin: 0 0.4rem;
	color: #999999;
}

.biblicalia-breadcrumbs .breadcrumb-current {
	color: #111111;
	font-style: italic;
}

/* Search Results Page Header & Flush-Left Search Box */
.biblicalia-search-header {
	margin-bottom: 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px dashed #dddddd;
	text-align: left;
}

.biblicalia-search-header .page-title {
	font-size: 1.35rem;
	margin-top: 0;
	margin-bottom: 1rem;
}

.biblicalia-search-header .search-term {
	font-style: italic;
	color: #8c1d40;
}

.biblicalia-top-search-box .search-form {
	display: flex;
	align-items: stretch;
	gap: 0.45rem;
	max-width: 480px;
}

.biblicalia-top-search-box label {
	flex: 1 1 auto;
	margin: 0;
}

.biblicalia-top-search-box input[type="search"] {
	font-size: 0.9rem;
	color: #222222;
	background-color: #ffffff;
	border: 1px solid #cccccc;
	border-radius: 2px;
	padding: 0.4rem 0.65rem;
	width: 100%;
}

.biblicalia-top-search-box input[type="search"]:focus {
	outline: none;
	border-color: #8c1d40;
}

/* Single-Column HTML Site Map with Aldus Leaf (❧) Flow */
.biblicalia-sitemap-single .sitemap-section {
margin-top: 2.5rem;
}
.biblicalia-sitemap-single h2 {
font-size: 1.3rem;
border-bottom: 2px solid #222222;
padding-bottom: 0.4rem;
margin-bottom: 1.25rem;
}
.biblicalia-sitemap-single h3 {
font-size: 1.05rem;
margin-top: 1.75rem;
margin-bottom: 0.5rem;
border-bottom: 1px dashed #dddddd;
padding-bottom: 0.2rem;
}
.biblicalia-sitemap-single h3 a {
color: #111111;
text-decoration: none;
}
.sitemap-menu-tree,
.sitemap-menu-tree ul {
list-style: none;
padding-left: 0;
margin-left: 0;
}
.sitemap-menu-tree ul {
padding-left: 1.15rem;
border-left: 1px solid #eeeeee;
margin-top: 0.25rem;
margin-bottom: 0.6rem;
}
.sitemap-menu-tree li {
font-size: 0.92rem;
line-height: 1.5;
margin-bottom: 0.3rem;
}
.sitemap-fleuron-paragraph {
font-size: 0.92rem;
line-height: 1.75;
text-align: left;
color: #333333;
}
.biblicalia-sitemap-single a {
color: #222222;
text-decoration: none;
}
.biblicalia-sitemap-single a:hover {
color: #8c1d40;
text-decoration: underline;
}
.sitemap-leaf {
color: #333333;
margin: 0 0.45rem;
font-size: 0.95rem;
}
.sitemap-count,
.sitemap-year {
font-size: 0.82rem;
color: #777777;
}
/* ==========================================================================
7. Sticky-Header Scrolling Reference Tables & Semantic RTL Scripts
========================================================================== */
div .scrolling {
overflow: auto;
display: block;
height: 1000px;
border-right: 1px solid grey;
border-bottom: 1px solid grey;
}
table {
table-layout: auto;
width: 100%;
border: 1px solid black;
border-collapse: separate;
border-spacing: 0;
margin-bottom: 1.5rem;
}
th {
padding: 0 0 0 2pt;
border: 1px solid black;
vertical-align: top;
font-weight: normal;
}
th.scrollrow {
position: -webkit-sticky;
position: sticky;
left: 0;
z-index: 2;
background-color: white;
}
th.scrollcol {
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 1;
background-color: white;
}
td {
padding: 0 0 0 2pt;
border: 1px solid black;
vertical-align: top;
}
/* Semantic RTL Isolation & Scholarly Font Stacks (Hebrew, Syriac, Arabic) */
[dir="rtl"],
[lang="he"],
[lang="syr"],
[lang="ar"] {
direction: rtl;
unicode-bidi: isolate;
}
p[dir="rtl"],
p[lang="he"],
p[lang="syr"],
div[dir="rtl"],
blockquote[dir="rtl"],
blockquote[lang="he"],
blockquote[lang="syr"] {
text-align: right;
}
blockquote[dir="rtl"],
blockquote[lang="he"],
blockquote[lang="syr"] {
border-left: none;
border-right: 2px solid #cccccc;
padding-left: 0;
padding-right: 1.25rem;
}
[lang="he"] {
font-family: "SBL Hebrew", "Ezra SIL", "Times New Roman", "Arial Hebrew", serif;
font-size: 1.12em;
line-height: 1.65;
}
[lang="syr"] {
font-family: "Serto Jerusalem", "Estrangelo Edessa", "East Syriac Adiabene", "Noto Sans Syriac", serif;
font-size: 1.15em;
line-height: 1.7;
}
/* ==========================================================================
8. Comments, Parchment Buttons, Footer & Mobile Responsive Breakpoints
========================================================================== */
.comments-area {
margin-top: 3rem;
padding-top: 2rem;
border-top: 1px solid #eeeeee;
}
.comment-list {
list-style: none;
padding-left: 0;
}
.comment-list .children {
list-style: none;
padding-left: 1.5rem;
border-left: 1px solid #eeeeee;
}
.comment-body {
margin-bottom: 1.75rem;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
font-size: 0.9rem;
width: 100%;
padding: 0.45rem 0.6rem;
border: 1px solid #cccccc;
border-radius: 2px;
}
/* Unified Parchment Buttons (Search & Comments) */
.editorial-sidebar button[type="submit"],
.editorial-sidebar input[type="submit"],
.editorial-sidebar .search-submit,
.biblicalia-top-search-box input[type="submit"],
.biblicalia-top-search-box .search-submit,
.comment-reply-link,
.comment-respond .form-submit input[type="submit"],
.comment-respond .form-submit .submit,
.comment-respond button[type="submit"] {
font-size: 0.83rem;
font-weight: 500;
color: #222222;
background-color: #f6f5f2;
border: 1px solid #cccccc;
border-radius: 2px;
padding: 0.35rem 0.75rem;
text-decoration: none;
display: inline-block;
cursor: pointer;
line-height: 1.4;
}
.editorial-sidebar button[type="submit"]:hover,
.editorial-sidebar input[type="submit"]:hover,
.editorial-sidebar .search-submit:hover,
.biblicalia-top-search-box input[type="submit"]:hover,
.biblicalia-top-search-box .search-submit:hover,
.comment-reply-link:hover,
.comment-respond .form-submit input[type="submit"]:hover,
.comment-respond .form-submit .submit:hover,
.comment-respond button[type="submit"]:hover {
color: #8c1d40;
border-color: #8c1d40;
background-color: #ffffff;
text-decoration: none;
}
/* Footer */
#page > footer.site-footer,
.site-footer {
max-width: 1120px;
margin: 5rem auto 0;
padding-top: 2rem;
border-top: 1px solid #eeeeee;
font-size: 0.85rem;
color: #666666;
text-align: center;
}
.site-footer a {
color: #444444;
text-decoration: none;
}
.site-footer a:hover {
color: #0047AB;
text-decoration: underline;
}
.site-info .sitemap-footer-link {
margin-left: 0.75rem;
}
/* Mobile Viewport Breakpoints */
@media (max-width: 960px) {
.biblicalia-content-grid {
grid-template-columns: 1fr;
gap: 3rem;
}
}
@media (max-width: 600px) {
#page {
padding: 1.25rem 1rem 2rem;
}
#page > header.site-header {
margin-bottom: 2rem;
}
blockquote p,
blockquote cite {
padding: 0 1.25em;
}
.biblicalia-breadcrumbs {
font-size: 0.8rem;
margin-bottom: 1rem;
}
}