/*
Theme Name: Mormon Bandwagon
Theme URI: https://mormonbandwagon.com
Description: A bookish child theme of Twenty Twenty-Five for mormonbandwagon.com. Presents Organize Series multi-part articles as books with a shelf on the homepage, a chapter reading view with a sticky table of contents, and series landing pages.
Author: Wes T
Template: twentytwentyfive
Version: 1.3.5
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mormon-bandwagon
Tags: blog, one-column, two-columns, custom-colors, custom-menu, editor-style, full-site-editing, block-patterns, block-styles
*/

/* Global tweaks that theme.json cannot express live here. Block-specific
   styles are in assets/css/series.css and are only loaded when needed. */

/* Letterspaced small-caps label used across the theme (h6 in theme.json carries
   the same treatment; this class lets patterns apply it to paragraphs). */
.mb-label {
	font-family: var(--wp--preset--font-family--source-serif-4);
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-4);
}

/* Double rule under the masthead. */
.mb-masthead-rule {
	border-top: 2px solid var(--wp--preset--color--contrast);
	box-shadow: 0 3px 0 var(--wp--preset--color--base), 0 4px 0 var(--wp--preset--color--accent-5);
	margin-bottom: 4px;
}

/* Article body typography: slightly larger measure and looser leading for long reading. */
.mb-reading .entry-content > p,
.mb-reading .entry-content > ul,
.mb-reading .entry-content > ol {
	font-size: var(--wp--preset--font-size--reading);
	line-height: 1.68;
}
.mb-reading .entry-content blockquote {
	border-left: 2px solid var(--wp--preset--color--accent-1);
	padding-left: 1.5rem;
	margin-left: 0;
	font-family: var(--wp--preset--font-family--cormorant-garamond);
	font-size: 1.5rem;
	font-style: italic;
	line-height: 1.35;
}
.mb-reading .entry-content blockquote p {
	font: inherit;
}

/* Post list rows (essays list on the homepage and archives). */
.mb-post-row {
	border-bottom: 1px solid var(--wp--preset--color--accent-5);
	padding-block: 1rem;
}
.mb-post-row .wp-block-post-title {
	font-size: 1.5rem;
	line-height: 1.15;
}
.mb-post-row .wp-block-post-title a { text-decoration: none; }
.mb-post-row .wp-block-post-title a:hover { color: var(--wp--preset--color--accent-1); }

/* Lead essay column separator. */
.mb-lead-column {
	border-right: 1px solid var(--wp--preset--color--accent-5);
	padding-right: var(--wp--preset--spacing--40);
}
@media (max-width: 781px) {
	.mb-lead-column { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--wp--preset--color--accent-5); padding-bottom: var(--wp--preset--spacing--40); }
}

/* Outline button style. */
.wp-block-button.is-style-outline-ink .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--contrast);
	border: 1px solid var(--wp--preset--color--contrast);
}
.wp-block-button.is-style-outline-ink .wp-block-button__link:hover {
	background: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
}

/* Search block: icon-only button, no border. */
.wp-block-search.is-style-mb-icon .wp-block-search__button {
	background: transparent;
	border: 0;
	padding: 0.25rem;
	color: var(--wp--preset--color--contrast);
}

/* Masthead on phones: drop the kicker. */
@media (max-width: 600px) {
	.mb-masthead-kicker { display: none; }
}
