/*
Theme Name:   Political Market Report
Theme URI:    https://politicalmarketreport.com
Description:  Child theme of Twenty Twenty-Five for Political Market Report — a political prediction-market publication. Data-first homepage, market archive templates, and styling for the Political Market Report Data plugin widgets.
Author:       Political Market Report
Author URI:   https://politicalmarketreport.com
Template:     twentytwentyfive
Version:      1.0.0
Requires at least: 6.6
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:  political-market-report
Tags:         blog, news, one-column, block-patterns, full-site-editing
*/

/*
 * Nearly all styling lives in theme.json — this file is for the handful of
 * things theme.json can't express.
 */

/* Odds, prices and percentages get tabular figures everywhere so columns of
   numbers line up and don't jitter when they update on refresh. */
.pmr-pct,
.pmr-american,
.pmr-row__pct,
.pmr-row__odds,
.pmr-stat__v,
.pmr-ticker__p,
.pmr-move {
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum" 1;
}

/* The market question is the headline of its own page — let it breathe. */
.pmr-single .pmr-chart {
	margin-block: var( --wp--preset--spacing--40 );
}

/* Keep the archive table readable on phones without a horizontal scrollbar
   appearing over the whole page. */
@media ( max-width: 782px ) {
	.pmr-table-wrap {
		margin-inline: calc( var( --wp--preset--spacing--50 ) * -1 );
		padding-inline: var( --wp--preset--spacing--50 );
	}
}

/* Skip link visibility, inherited from the parent but easy to lose. */
.skip-link:focus {
	outline-offset: 2px;
}
