/*
Theme Name:   Lowrie Books Starlight
Template:     twentytwentyfive
Version:      1.0.2
Description:  Deep-space redesign for johnpatricklowriebooks.com (Chris-approved mockup, 2026-11-20): dark navy, amber accent, Cinzel headings, Inter text. Child of Twenty Twenty-Five. Built by Claude3.
Requires at least: 6.7
Requires PHP: 7.4
Text Domain:  jpl-starlight
*/

/* ---------- Header / footer ---------- */
.jpl-header { border-bottom: 1px solid rgba(231,233,240,0.10); background: rgba(10,14,26,0.95); }
.jpl-wordmark { font-family: var(--wp--preset--font-family--cinzel); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0; }
.jpl-wordmark a { color: #fff; text-decoration: none; }
.jpl-header .wp-block-navigation a { color: #C9CEDA; text-decoration: none; }
.jpl-header .wp-block-navigation a:hover { color: #FFC978; }
.jpl-btn .wp-block-button__link { background: var(--wp--preset--color--accent-1); color: #14100A; font-weight: 600; border-radius: 6px; padding: 12px 22px; text-decoration: none; }
.jpl-btn .wp-block-button__link:hover { background: #FFC978; color: #14100A; }
.jpl-btn-ghost .wp-block-button__link { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); font-weight: 600; border-radius: 6px; padding: 12px 22px; text-decoration: none; }
.jpl-btn-ghost .wp-block-button__link:hover { border-color: #fff; color: #fff; }
.jpl-footer { border-top: 1px solid rgba(231,233,240,0.10); background: #070A13; font-size: 14px; color: #A9B0C2; }
.jpl-footer a { color: #C9CEDA; text-decoration: none; }
.jpl-footer a:hover { color: #FFC978; }

/* ---------- Home page sections ---------- */
.jpl-hero {
	background-image: linear-gradient(90deg, rgba(10,14,26,0.96) 0%, rgba(10,14,26,0.82) 45%, rgba(10,14,26,0.45) 100%), url(/wp-content/uploads/2011/12/orion-nebula-eso-1.jpg);
	background-size: cover; background-position: center;
}
.jpl-eyebrow { font-size: 14px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wp--preset--color--accent-1); margin: 0; }
.jpl-hero h1 { font-size: clamp(42px, 6vw, 64px); line-height: 1.05; color: #fff; margin: 0; }
.jpl-lead { font-size: 18px; line-height: 1.65; color: #E7E9F0; max-width: 560px; }
.jpl-sub { font-size: 18px; color: #C9CEDA; margin: 0; }
.jpl-cover img { width: 280px; max-width: 100%; height: auto; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,0.65), 0 0 0 1px rgba(255,255,255,0.08); }
.jpl-band { background: var(--wp--preset--color--panel); border-top: 1px solid rgba(231,233,240,0.08); border-bottom: 1px solid rgba(231,233,240,0.08); }
.jpl-praise .wp-block-quote { border: 0; margin: 0; padding: 0; }
.jpl-praise .wp-block-quote p { font-family: var(--wp--preset--font-family--cinzel); font-size: 20px; line-height: 1.45; color: #fff; }
.jpl-praise .wp-block-quote cite { font-size: 14px; font-style: normal; color: #A9B0C2; }
.jpl-section h2 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; margin: 0; }
.jpl-muted { color: #C9CEDA; font-size: 17px; line-height: 1.7; }
.jpl-rounded img { border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.jpl-light { background: var(--wp--preset--color--paper); color: #1C1F27; }
.jpl-light h2 { color: #1C1F27; }
.jpl-light .jpl-eyebrow, .jpl-light a { color: #8A5A12; }
.jpl-light p { color: #3A3F4B; }
.jpl-light .jpl-rounded img { box-shadow: none; }
.jpl-credits { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.jpl-credits li { background: #fff; border: 1px solid #E2DDD2; border-radius: 8px; padding: 14px 16px; font-size: 14px; color: #5A6070; }
.jpl-credits li strong { display: block; font-size: 15px; color: #1C1F27; }
.jpl-card { background: var(--wp--preset--color--card); border: 1px solid rgba(231,233,240,0.10); border-radius: 10px; height: 100%; }
.jpl-card .jpl-outlet { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #A9B0C2; margin: 0; }
.jpl-card .jpl-card-title { font-family: var(--wp--preset--font-family--cinzel); font-size: 19px; line-height: 1.35; color: #fff; margin: 0; }
.jpl-card a { text-decoration: none; }
.jpl-avatar img { width: 160px; height: 160px; object-fit: cover; object-position: top; border-radius: 50%; border: 3px solid rgba(255,255,255,0.15); }

/* ---------- Inner pages: keep old post content readable on dark ---------- */
.wp-block-post-content img { max-width: 100%; height: auto; }
.wp-block-post-content a { color: var(--wp--preset--color--accent-1); }
.wp-block-post-content figcaption, .wp-caption-text { color: #A9B0C2; }
.wp-block-post-content .wp-caption { max-width: 100%; }
.wp-block-post-content table { color: inherit; }
/* Old classic posts: floated pictures were sized for a wider column - cap them so text flows beside them */
.wp-block-post-content img.alignright, .wp-block-post-content .wp-caption.alignright,
.wp-block-post-content a > img.alignright { float: right; max-width: 45%; height: auto; margin: 0.3em 0 1em 1.5em; }
.wp-block-post-content img.alignleft, .wp-block-post-content .wp-caption.alignleft,
.wp-block-post-content a > img.alignleft { float: left; max-width: 45%; height: auto; margin: 0.3em 1.5em 1em 0; }
.wp-block-post-content .wp-caption img { max-width: 100%; height: auto; }
.wp-block-post-content img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-block-post-content::after { content: ""; display: table; clear: both; }
@media (max-width: 600px) {
	.wp-block-post-content img.alignright, .wp-block-post-content img.alignleft,
	.wp-block-post-content .wp-caption.alignright, .wp-block-post-content .wp-caption.alignleft { float: none; max-width: 100%; margin: 1em 0; }
}
