/*
Theme Name:   Rivet Music
Theme URI:    https://rivetmusic.com
Author:       Rivet Music
Description:  Storefront-first theme for independent artists — a shareable artist page that sells and streams. Requires the Rivet Core plugin, which holds all the data: tracks, splits, sales and the payout ledger. Switching themes never touches the ledger.
Version:      1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  rivet-music
Tags:         music, ecommerce, one-column, custom-colors, block-styles, translation-ready
*/

/*
 * The design system lives in assets/css/base.css (tokens, buttons, forms),
 * home.css (marketing pages) and app.css (the player and artist pages).
 * They are enqueued by functions.php — this file only carries the theme
 * header and a few WordPress-specific bits that the static build never needed.
 */

/* ---- WordPress core markup classes ---------------------------------------- */

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.screen-reader-text:focus {
	position: fixed;
	top: 12px; left: 12px;
	width: auto; height: auto;
	clip: auto;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--violet);
	color: #0A0711;
	border-radius: 999px;
	font-weight: 600;
}

.alignleft  { float: left;  margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { max-width: none; }

.wp-caption { max-width: 100%; }
.wp-caption-text,
.wp-element-caption {
	color: var(--text-4);
	font-size: 13px;
	margin-top: 8px;
}

.sticky { position: relative; }
.bypostauthor { display: block; }

/* ---- editor-adjacent content ----------------------------------------------- */

.entry-content > * + * { margin-top: 1.1em; }
.entry-content a { color: var(--violet); text-decoration: underline; text-underline-offset: 3px; }
.entry-content blockquote {
	border-left: 2px solid var(--violet);
	padding-left: 20px;
	color: var(--text-2);
	font-style: italic;
}
.entry-content pre,
.entry-content code {
	font-family: var(--mono);
	font-size: 13.5px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
}
.entry-content code { padding: 2px 6px; }
.entry-content pre { padding: 16px 18px; overflow-x: auto; }
.entry-content img { border-radius: var(--radius-sm); height: auto; }

/* ---- comments (kept minimal; most pages have none) -------------------------- */

.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 18px 0; border-top: 1px solid var(--line-dim); }
.comment-author .fn { font-weight: 600; font-style: normal; }
.comment-meta { color: var(--text-5); font-size: 13px; }
