﻿/* ============================================
   Colour tokens
   --color-page-bg: #FDFAF5; White background for the page
	--color-accent: #E05A2B; Bright orange for accents like headings, links, and callout borders
	--color-accent-bg: #FFF0E8; Light peach background for callouts and vocab cards
	--color-heading: #1a1a1a; Dark gray for headings to ensure strong contrast and readability
	--color-body: #3d3830; Medium dark brown for body text to provide a softer contrast against the white background, making it easier on the eyes for long reading sessions
	--color-muted: #9a7060; Muted brown for secondary text like pronunciation guides and less important information, providing a clear visual hierarchy without competing with the main content
	--color-divider: rgba(224, 90, 43, 0.2); Semi-transparent version of the accent color for subtle dividers that separate sections without being too visually heavy
   ============================================ */
:root {
	--color-page-bg: #FDFAF5;
	--color-accent: #E05A2B;
	--color-accent-bg: #FFF0E8;
	--color-heading: #1a1a1a;
	--color-body: #3d3830;
	--color-muted: #9a7060;
	--color-divider: rgba(224, 90, 43, 0.2);
}

/* ============================================
   Base
   ============================================ */
body {
	font-family: 'Nunito', sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.8;
	color: var(--color-body);
	background-color: var(--color-page-bg);
}

/* ============================================
   Headings
   ============================================ */
h1 {
	font-size: 36px;
	font-weight: 900;
	line-height: 1.15;
	color: var(--color-heading);
	margin-bottom: 14px;
}

h2 {
	font-size: 24px;
	font-weight: 800;
	line-height: 1.2;
	color: var(--color-heading);
	margin-top: 30px;
	margin-bottom: 10px;
}

h3 {
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--color-heading);
	margin-top: 22px;
	margin-bottom: 8px;
}

/* ============================================
   Chapter label (small uppercase above h1)
   ============================================ */
.chapter-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 6px;
}

/* ============================================
   Body text (p inherits from body, but
   explicit class useful inside components)
   ============================================ */
p, .body-text {
	font-size: 15px;
	font-weight: 400;
	line-height: 1.8;
	color: var(--color-body);
	margin-bottom: 14px;
}

/* ============================================
   Callout box styles
   ============================================ */
.callout {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.65;
	color: var(--color-heading);
	background: var(--color-accent-bg);
	border-left: 3px solid var(--color-accent);
	border-radius: 0 8px 8px 0;
	padding: 12px 16px;
	margin: 18px 0;
}

.callout-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--color-accent);
	margin-bottom: 4px;
}

.callout-label-upper {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-accent);
	margin-bottom: 4px;
}

.callout--red-rocket-red {
	background: #FFB3B3;
	border-left-color: #FF3B3B;
}

.callout--orange-tangerine-blast {
	background: #FFCFA3;
	border-left-color: #FF7A1A;
}

.callout--yellow-sunny-yellow {
	background: #FFF4A3;
	border-left-color: #FFD600;
}

.callout--green-lime-zap {
	background: #D6F5A3;
	border-left-color: #7FDD00;
}

.callout--green-neon-green {
	background: #A3F5CC;
	border-left-color: #00D45A;
}

.callout--cyan-aqua-surge {
	background: #A3F0F0;
	border-left-color: #00C8C8;
}

.callout--blue-sky-pop {
	background: #A3DCFF;
	border-left-color: #00AAFF;
}

.callout--blue-electric-blue {
	background: #AABBFF;
	border-left-color: #2255FF;
}

.callout--purple-grape-punch {
	background: #CCAAFF;
	border-left-color: #7722FF;
}

.callout--pink-bubblegum {
	background: #F9AAEE;
	border-left-color: #EE22CC;
}

.callout--pink-hot-pink {
	background: #FFB3D9;
	border-left-color: #FF3399;
}

.callout--red-cherry-pop {
	background: #FF99CC;
	border-left-color: #FF0066;
}

.callout--red-coral-crush {
	background: #FFBBB5;
	border-left-color: #FF6655;
}

.callout--orange-peach-fuzz {
	background: #FFD4BB;
	border-left-color: #FF9966;
}

.callout--green-forest-surge {
	background: #A3EBB8;
	border-left-color: #00A832;
}

.callout--green-kiwi-burst {
	background: #B8F5B8;
	border-left-color: #44DD44;
}

.callout--teal-teal-zap {
	background: #A3EBE5;
	border-left-color: #00BBAA;
}

.callout--purple-lavender-buzz {
	background: #DDBBFF;
	border-left-color: #AA55FF;
}

.callout--pink-magenta-blast {
	background: #FFA3DD;
	border-left-color: #FF22AA;
}

.callout--blue-ocean-dive {
	background: #A3CCFF;
	border-left-color: #0077DD;
}

.callout--green-mint-glow {
	background: #B8F7DC;
	border-left-color: #33E8A0;
}

/* ============================================
   Vocab card
   ============================================ */
.vocab-card {
	background: var(--color-accent-bg);
	border-radius: 8px;
	padding: 14px 18px;
	margin: 14px 0;
}

.vocab-word {
	font-size: 18px;
	font-weight: 900;
	color: var(--color-heading);
}

.vocab-pronunciation {
	font-size: 13px;
	font-weight: 400;
	color: var(--color-muted);
	margin-left: 6px;
}

.vocab-definition {
	font-size: 14px;
	font-weight: 400;
	line-height: 1.6;
	color: var(--color-body);
	margin-top: 5px;
}

/* ============================================
   Drop cap style for the first letter of the first paragraph
   ============================================ */
.drop-cap span {
	font-size: 4em; /* slightly smaller for inline balance */
	line-height: 1;
	margin-right: 0.15em;
	font-weight: bold;
	color: #000000;
	font-family: 'Nunito', sans-serif;
	vertical-align: baseline; /* keeps it aligned with text */
}

@media (max-width: 600px) {
	.drop-cap p {
		text-align: left;
	}
}
/* ============================================
   Divider
   ============================================ */
hr {
	border: none;
	border-top: 1px solid var(--color-divider);
	margin: 26px 0;
}
