/*
Theme Name: JewishAnswers.org
Template: twentytwentyfive
Description: Child of Twenty Twenty-Five for the JewishAnswers.org Ask-the-Rabbi archive, a Project Genesis website. The Study Hall look (chosen 2026-10-23) is the theme itself, in theme.json; Clear and Journal remain as style variations in the Site Editor.
Version: 1.0.0
Requires at least: 6.9
Text Domain: jewishanswers
*/

/* Shared structure. Colours and type come from the active style variation. */

/* ---------- Project Genesis strip + masthead ---------- */
.ja-pg-strip { font-size: 0.8125rem; padding-block: 0.4rem; }
.ja-pg-strip p { margin: 0; }
.ja-pg-strip img { height: 22px; width: auto; vertical-align: middle; }
.ja-masthead { padding-block: 1.25rem; row-gap: 0.75rem; }
.ja-brand { gap: 0.75rem; align-items: baseline; }
.ja-brand .wp-block-site-title { margin: 0; font-size: 1.6rem; line-height: 1.1; }
.ja-brand .wp-block-site-title a { text-decoration: none; }
.ja-brand .wp-block-site-tagline { margin: 0; color: var(--wp--preset--color--accent-4); }

/* ---------- Question / Answer (markup added by functions.php) ---------- */
.ja-question, .ja-answer { position: relative; }
.ja-label {
	display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em;
	text-transform: uppercase; color: var(--wp--preset--color--accent-1); margin-bottom: 0.35rem;
}
.ja-question p:last-child { margin-bottom: 0; }

/* ---------- byline, credit, follow-ups ---------- */
.ja-byline { color: var(--wp--preset--color--accent-4); font-size: 0.9375rem; }
.ja-byline a { color: inherit; }
.ja-byline .ja-also { display: block; font-size: 0.875rem; margin-top: 0.15rem; }
.ja-credit {
	font-size: 0.875rem; color: var(--wp--preset--color--accent-4);
	border-top: 1px solid var(--wp--preset--color--accent-5); padding-top: 0.75rem;
}
.ja-followups { margin-top: 3rem; }
.ja-followup { padding-block: 1.25rem; border-top: 1px solid var(--wp--preset--color--accent-5); }

/* ---------- lists ---------- */
.ja-contributors { list-style: none; padding: 0; columns: 2 16rem; column-gap: 2.5rem; }
.ja-contributors li { break-inside: avoid; padding: 0.3rem 0; }
.ja-count { color: var(--wp--preset--color--accent-4); font-size: 0.85em; }
.ja-topics { list-style: none; padding: 0; display: grid; gap: 1rem;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.ja-topics a { text-decoration: none; }
.ja-topics .ja-topic-name { display: block; font-weight: 600; }
.ja-subcats { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.ja-subcats a { display: inline-block; padding: 0.25rem 0.7rem; text-decoration: none;
	border: 1px solid var(--wp--preset--color--accent-5); border-radius: 999px; font-size: 0.875rem; }
.ja-lede { font-size: 1.15em; }
.ja-note { color: var(--wp--preset--color--accent-4); font-size: 0.9rem; }
.ja-author-head .ja-bio { max-width: 42rem; }

/* ---------- footer ---------- */
.ja-footer { font-size: 0.875rem; }
.ja-footer img.ja-pg-logo { height: 34px; width: auto; }
.ja-footer a { color: inherit; }
