.family-level-list{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:1rem;
	margin-top:1.2rem;
}

.family-level-list>section{
	padding:1.1rem;
	border:1px solid #e4d3b7;
	border-radius:16px;
	background:#fffdf8;
}

.family-level-list h3{
	margin:0;
	color:#302b25;
	font:700 1.15rem Georgia,serif;
}

.family-level-list .teaching-word-list span{
	position:relative;
	display:inline-flex;
	align-items:center;
	gap:.35rem;
	min-width:auto;
}

.family-level-list .family-audio{
	position:static;
	width:28px;
	height:28px;
	padding:0;
	border:0;
	border-radius:50%;
	background:#eee7ff;
	font-size:.82rem;
}

.family-audio-note{
	margin-top:.8rem !important;
	color:#817669 !important;
	font-size:.78rem;
}

.family-sentence-list{
	display:grid;
	gap:.6rem;
	margin-top:1rem;
}

.family-sentence-list p{
	display:grid;
	grid-template-columns:38px 1fr;
	column-gap:.8rem;
	align-items:center;
	margin:0 !important;
	padding:.8rem 1rem;
	border:1px solid #e5d5b9;
	border-radius:12px;
	background:#fffdf8;
}

.family-sentence-list b{
	display:grid;
	width:25px;
	height:25px;
	place-items:center;
	border-radius:50%;
	background:#eee7ff;
	color:#7048d8;
	font-size:.72rem;
}

.family-sentence-list span{
	color:#302b25;
	font:700 1.02rem Georgia,serif;
}

.family-contrast{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:1rem;
	margin-top:1rem;
	padding:1rem;
	border-radius:12px;
	background:#fffdf8;
}

.family-contrast strong{
	color:#302b25;
}

.family-contrast span{
	color:#7048d8;
	font-weight:800;
}

.decodable-note{
	margin-top:1rem;
	padding:1rem 1.2rem;
	border-left:4px solid #8961ef;
	border-radius:0 12px 12px 0;
	background:#f1ebff;
	color:#514568;
}

.decodable-passage-card{
	margin-top:1.4rem;
	padding:1.5rem;
	border:1px solid #e1cfaf;
	border-radius:20px;
	background:#fffdf8;
	box-shadow:0 8px 22px rgba(84,61,26,.05);
}

.decodable-passage-card>header span{
	color:#7048d8;
	font-size:.7rem;
	font-weight:900;
	letter-spacing:.08em;
	text-transform:uppercase;
}

.decodable-passage-card h3{
	margin:.25rem 0 .8rem;
	color:#302b25;
	font:700 1.65rem Georgia,serif;
}

.standalone-passage-card{
	padding:1.7rem;
}

.standalone-passage-card>header{
	display:flex;
	align-items:end;
	justify-content:space-between;
	gap:1rem;
	padding-bottom:.9rem;
	border-bottom:1px solid #ebdcc0;
}

.standalone-passage-card>header h3{
	margin:.25rem 0 0;
}

.passage-word-preview{
	display:flex;
	flex-wrap:wrap;
	align-items:flex-start;
	gap:.7rem;
	padding:.8rem 1rem;
	border-radius:14px;
	background:#eee7ff;
	color:#5c4d7d;
	font-size:.9rem;
}

.passage-word-preview strong{
	padding-top:.2rem;
}

.focus-word-chip-row{
	display:flex;
	flex-wrap:wrap;
	gap:.45rem;
}

.focus-word-chip-row span{
	display:inline-flex;
	align-items:center;
	padding:.4rem .7rem;
	border-radius:999px;
	background:#fffdf8;
	color:#4f4380;
	font-weight:800;
}

.passage-glance-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:.85rem;
	margin:1.2rem 0;
}

.passage-glance-grid article{
	padding:1.05rem 1.1rem;
	border:1px solid #e5d5b9;
	border-radius:16px;
	background:#fffdf8;
}

.passage-glance-grid span{
	display:block;
	color:#7048d8;
	font-size:.72rem;
	font-weight:900;
	letter-spacing:.08em;
	text-transform:uppercase;
}

.passage-glance-grid strong{
	display:block;
	margin-top:.35rem;
	color:#302b25;
	font:700 1.08rem/1.35 Georgia,serif;
}

.passage-glance-grid p{
	margin:.35rem 0 0 !important;
	color:#746b5e !important;
	font-size:.88rem;
	line-height:1.5;
}

.decode-routine{
	display:grid;
	grid-template-columns:repeat(4,1fr);
	gap:.75rem;
	margin-top:1.25rem;
}

.decode-routine div{
	padding:1rem;
	border:1px solid #e5d5b9;
	border-radius:14px;
	background:#fffdf8;
}

.decode-routine b{
	display:grid;
	width:30px;
	height:30px;
	place-items:center;
	margin-bottom:.65rem;
	border-radius:50%;
	background:#8961ef;
	color:#fff;
}

.decode-routine strong,
.decode-routine span{
	display:block;
}

.decode-routine span{
	margin-top:.25rem;
	color:#746b5e;
	font-size:.86rem;
	line-height:1.45;
}

.passage-text{
	margin:1.25rem 0 !important;
	color:#302b25 !important;
	font:500 1.13rem/1.9 Georgia,serif;
}

.standalone-passage-card .passage-text{
	padding-left:1rem;
	border-left:3px solid #eee5ff;
}

.passage-questions{
	padding-top:1rem;
	border-top:1px solid #e5d5b9;
}

.passage-questions h4{
	margin:0;
	color:#302b25;
	font-size:.88rem;
}

.passage-questions ol{
	margin:.55rem 0 0;
	padding-left:1.35rem;
	color:#62594e;
}

.passage-questions li{
	margin:.25rem 0;
}

.passage-check-list{
	display:grid;
	gap:.8rem;
	counter-reset:passage-check;
	margin:1.2rem 0 0;
	padding:0;
	list-style:none;
}

.passage-check-list li{
	position:relative;
	padding:1rem 1rem 1rem 4.25rem;
	border:1px solid #e5d5b9;
	border-radius:16px;
	background:#fffdf8;
	color:#302b25;
	font:600 1rem/1.6 Georgia,serif;
}

.passage-check-list li::before{
	counter-increment:passage-check;
	content:counter(passage-check);
	position:absolute;
	left:1rem;
	top:50%;
	display:grid;
	width:2.2rem;
	height:2.2rem;
	place-items:center;
	transform:translateY(-50%);
	border-radius:50%;
	background:#eee7ff;
	color:#7048d8;
	font:900 .95rem/1 system-ui,sans-serif;
}

.passage-hub-grid{
	display:grid;
	grid-template-columns:repeat(2,1fr);
	gap:.9rem;
	margin-top:1.2rem;
}

.passage-hub-grid a{
	display:grid;
	grid-template-columns:58px 1fr;
	gap:1rem;
	padding:1.2rem;
	border:1px solid #e4d3b7;
	border-radius:17px;
	background:#fffdf8;
	color:#302b25;
	text-decoration:none;
	transition:.18s;
}

.passage-hub-grid a:hover{
	border-color:#9874ed;
	box-shadow:0 8px 20px rgba(112,72,216,.1);
	transform:translateY(-2px);
}

.passage-hub-grid>a>span{
	display:grid;
	width:55px;
	height:55px;
	place-items:center;
	border-radius:50%;
	background:#eee7ff;
	color:#7048d8;
	font:900 1.7rem Georgia,serif;
}

.passage-hub-grid strong,
.passage-hub-grid p,
.passage-hub-grid em{
	display:block;
}

.passage-hub-grid strong{
	font:700 1.15rem Georgia,serif;
}

.passage-hub-grid p{
	margin:.25rem 0 !important;
	color:#746b5e !important;
	font-size:.85rem;
	line-height:1.45;
}

.passage-hub-grid em{
	color:#7048d8;
	font-size:.78rem;
	font-style:normal;
	font-weight:800;
}

.worksheet-level-grid{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:.95rem;
	margin-top:1.2rem;
}

.worksheet-level-grid article{
	display:flex;
	min-height:220px;
	flex-direction:column;
	padding:1.2rem;
	border:1px solid #e4d3b7;
	border-radius:18px;
	background:#fffdf8;
	box-shadow:0 8px 22px rgba(84,61,26,.05);
}

.worksheet-level-grid article>span{
	display:grid;
	width:2.25rem;
	height:2.25rem;
	place-items:center;
	border-radius:50%;
	background:#eee5ff;
	color:#7048d8;
	font-weight:900;
}

.worksheet-level-grid h3{
	margin:.8rem 0 .3rem;
	color:#302b25;
	font:700 1.22rem Georgia,serif;
}

.worksheet-level-grid p{
	margin:0 !important;
	color:#6e6559;
	font-size:1rem;
	line-height:1.6;
}

.worksheet-level-grid small{
	display:block;
	margin-top:auto;
	padding-top:1rem;
	color:#827667;
	font-size:.9rem;
	line-height:1.5;
}

.short-vowel-master-list{
	display:grid;
	gap:26px;
	margin-top:24px;
}

.short-vowel-master-list>section{
	padding:26px;
	border:1px solid #dcc9a9;
	border-radius:24px;
	background:#fffdf8;
}

.short-vowel-master-list>section>header{
	display:grid;
	grid-template-columns:auto 1fr auto;
	align-items:center;
	gap:16px;
	margin-bottom:20px;
}

.short-vowel-master-list>section>header>span{
	display:grid;
	width:58px;
	height:58px;
	place-items:center;
	border-radius:50%;
	background:#8054e8;
	color:#fff;
	font:800 1.8rem Georgia,serif;
}

.short-vowel-master-list h3,
.short-vowel-master-list header p{
	margin:0;
}

.short-vowel-master-list header a{
	font-weight:800;
}

.master-family-grid{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:10px;
}

.master-family-grid>div{
	padding:14px 16px;
	border-radius:14px;
	background:#f7f1e6;
}

.master-family-grid strong{
	display:block;
	color:#7048d8;
	font-size:.88rem;
}

.master-family-grid p{
	margin:.3rem 0 0;
}

.master-pronunciation-note{
	margin:18px 0 0;
	padding:14px 16px;
	border-left:4px solid #8a61e8;
	background:#f2ebff;
	color:#564e45;
}

@media(max-width:800px){
	.decode-routine,
	.passage-glance-grid,
	.worksheet-level-grid{
		grid-template-columns:repeat(2,1fr);
	}
}

@media(max-width:700px){
	.short-vowel-master-list>section>header{
		grid-template-columns:auto 1fr;
	}

	.short-vowel-master-list>section>header>a{
		grid-column:1/-1;
	}

	.master-family-grid{
		grid-template-columns:1fr;
	}
}

@media(max-width:680px){
	.family-level-list,
	.passage-hub-grid,
	.passage-glance-grid,
	.worksheet-level-grid{
		grid-template-columns:1fr;
	}

	.family-contrast,
	.standalone-passage-card>header{
		align-items:flex-start;
		flex-direction:column;
	}

	.passage-check-list li{
		padding-left:3.9rem;
	}
}

@media(max-width:520px){
	.decode-routine{
		grid-template-columns:1fr;
	}

	.passage-word-preview{
		flex-direction:column;
	}

	.worksheet-level-grid article{
		min-height:0;
	}
}

@media print{
	.expanded-family-page .site-header,
	.expanded-family-page .site-footer,
	.expanded-family-page .desktop-toc,
	.expanded-family-page .family-audio,
	.expanded-family-page .button-row,
	.expanded-family-page .related-topics,
	.decodable-passage-page .site-header,
	.decodable-passage-page .site-footer,
	.decodable-passage-page .desktop-toc,
	.decodable-passage-page .button-row,
	.decodable-passage-page .related-topics{
		display:none !important;
	}

	.expanded-family-page .phonics-layout,
	.decodable-passage-page .phonics-layout{
		display:block;
	}

	.family-level-list{
		grid-template-columns:1fr 1fr;
	}

	.decodable-passage-card{
		break-inside:avoid;
		box-shadow:none;
	}
}
