/*
Theme Name: Bezubaan
Theme URI: https://euridition.in
Author: Euridition Originals
Author URI: https://euridition.in
Description: A reading-first theme for serialised comics. Parchment, ink and a single crimson thread — built for Bezubaan: the voiceless and for every Euridition Original that follows. Requires the Bezubaan Core plugin for series, chapters and the protected reader.
Version: 1.7.0
Requires at least: 6.2
Tested up to: 6.7
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: bezubaan
Tags: entertainment, one-column, two-columns, custom-colors, custom-menu, custom-logo, editor-style, featured-images, translation-ready, block-styles, wide-blocks
*/

/*
 * The design system lives in assets/css/main.css so it can be cached, versioned
 * and read without scrolling past this header. Everything below is the base
 * layer that has to be in style.css for WordPress.
 */

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

/* ---------------------------------------------------------------------------
 * The comic page, as a reader meets it
 *
 * The button is the whole point of this page, so it says what it will do:
 * start, continue, or — once the part is finished — begin again at page one.
 * ------------------------------------------------------------------------- */

.comic__againnote {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--ink-soft, #6b6154);
	max-width: 46ch;
}

.btn--again {
	background: var(--teal, #1e4c58);
}

.btn--again:hover { background: #163a44; }

/* Ratings block: the average first, the stars second. */
.comic__rate .comic__ratesummary {
	margin: 2px 0 14px;
	font-size: 15px;
}

.comic__rate .bz-rate__label {
	font-family: var(--font-ui, system-ui, sans-serif);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-soft, #6b6154);
}

/* Part rows carry their own state now. */
.chapter__read--done { color: var(--teal, #1e4c58); font-weight: 600; }
.chapter__read--part { color: var(--crimson, #b3271e); font-weight: 600; }
.chapter__link.is-read .chapter__num { background: var(--teal, #1e4c58); }

/* Counts on the comic page and in the part rows. */
.comic__readline { margin-top: 14px; }

.chapter__finishes {
	color: var(--teal, #1e4c58);
	font-weight: 600;
}

.comic__rateavg {
	display: inline-block;
	margin-left: 10px;
	font-family: var(--font-display, inherit);
	font-size: 26px;
	line-height: 1;
	letter-spacing: -0.01em;
}
