/* Editorial system for the Free World Kids reading room. */
.primary-nav a[aria-current] { color: var(--pink-dark); text-decoration: underline; text-underline-offset: 5px; }
@media (min-width: 721px) and (max-width: 1024px) {
.header-inner { gap: 18px; }
.header-cta { display: none; }
.brand { flex-shrink: 0; }
.primary-nav { gap: 12px; }
.primary-nav a { font-size: 12px; white-space: nowrap; }
}
.blog-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(54px, 8vw, 94px) 0 clamp(48px, 7vw, 78px);
	background: #e6f4ff;
}
.blog-hero:after {
	position: absolute;
	content: "";
	width: clamp(230px, 34vw, 440px);
	aspect-ratio: 1;
	right: max(-110px, calc((100vw - 1160px) / 2 - 115px));
	top: -36%;
	border-radius: 50%;
	background: rgba(241, 56, 123, .12);
	box-shadow: 0 0 0 34px rgba(241, 56, 123, .045), 0 0 0 72px rgba(241, 56, 123, .035);
	pointer-events: none;
}
.blog-hero .wrap { position: relative; z-index: 1; }
.blog-hero h1 {
	max-width: 850px;
	margin: 17px 0 18px;
	font: 400 clamp(3.15rem, 8vw, 6.8rem)/.91 var(--font-display);
	letter-spacing: -.045em;
	text-wrap: balance;
}
.blog-hero p { max-width: 620px; margin: 0; color: #64758a; font-size: clamp(15px, 1.7vw, 18px); }
.blog-index { padding: clamp(38px, 6vw, 72px) 0 100px; }
.post-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 23px;
}
.post-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	padding: 13px;
	overflow: hidden;
	border: 1px solid rgba(65, 80, 103, .075);
	border-radius: 26px;
	background: var(--paper);
	box-shadow: 0 8px 26px rgba(65, 80, 103, .055);
	transition: transform .24s ease, box-shadow .24s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(65, 80, 103, .12); }
.post-card__image-link { display: block; overflow: hidden; border-radius: 19px; background: #d8efff; }
.post-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 1.68 / 1;
	object-fit: cover;
	transition: transform .35s ease;
}
.post-card:hover .post-card__image { transform: scale(1.025); }
.post-card__image--fallback {
	display: grid;
	place-items: center;
	background: #f9e2eb;
}
.post-card__image--fallback img { width: 42%; height: 72%; object-fit: contain; }
.post-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 20px 13px 13px; }
.post-card__date { color: #7c8794; font-size: 11px; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; }
.post-card h2 {
	margin: 9px 0 10px;
	font: 400 clamp(1.55rem, 2.7vw, 2.15rem)/1.08 var(--font-display);
	letter-spacing: -.02em;
	overflow-wrap: anywhere;
}
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: var(--pink-dark); }
.post-card__excerpt { margin: 0 0 19px; color: #6d7888; font-size: 14px; line-height: 1.65; }
.post-card .button { margin-top: auto; padding: 11px 18px; font-size: 12px; }
.post-card__title-link:focus-visible, .post-card__image-link:focus-visible { outline-offset: 5px; }
.blog-index .pagination { justify-content: center; margin-top: 42px; }
.blog-index .pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.blog-index .pagination a, .blog-index .pagination span { display: inline-flex; min-width: 40px; justify-content: center; padding: 9px 14px; border-radius: 30px; background: #e7f3fc; }
.blog-index .pagination .current { background: var(--pink); color: #fff; }
.blog-empty {
	padding: clamp(27px, 5vw, 52px);
	border-radius: 28px;
	background: #fff0f5;
}
.blog-empty h2 { margin: 0 0 9px; font: 400 clamp(1.9rem, 4vw, 2.7rem)/1.08 var(--font-display); }
.blog-empty p { margin: 0; color: #6d7888; }

/* A quiet, narrow reading column gives the story room to breathe. */
.article-main { background: var(--cream); }
.article-head { padding: 30px 0 36px; }
.article-shell { width: min(100% - 48px, 840px); margin-inline: auto; }
.article-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
	margin: 0 0 30px;
	color: #748092;
	font-size: 12px;
	font-weight: 700;
}
.article-breadcrumbs a { color: var(--blue-deep); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.article-breadcrumbs a:hover { text-decoration-color: currentColor; }
.article-breadcrumbs__separator { color: #a4afbb; }
.article-dates { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 13px; color: #738092; font-size: 12px; }
.article-dates span { display: inline-flex; align-items: baseline; gap: 6px; }
.article-dates strong { color: var(--pink-dark); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.article-title {
	max-width: 820px;
	margin: 0 auto;
	color: var(--ink);
	font: 400 clamp(2.6rem, 7.5vw, 5.65rem)/.98 var(--font-display);
	letter-spacing: -.045em;
	text-wrap: balance;
	overflow-wrap: anywhere;
}
.article-feature {
	width: min(100% - 48px, 1000px);
	margin: 0 auto clamp(40px, 7vw, 76px);
	overflow: hidden;
	border-radius: clamp(18px, 3vw, 34px);
	background: #d8efff;
	box-shadow: 0 18px 46px rgba(65, 80, 103, .1);
}
.article-feature img { display: block; width: 100%; max-height: 610px; aspect-ratio: 1.72 / 1; object-fit: cover; }
.article-feature--fallback { display: grid; place-items: center; min-height: 280px; background: #f9e2eb; }
.article-feature--fallback img { width: min(38%, 300px); height: 290px; object-fit: contain; }
.article-content { max-width: 760px; margin-inline: auto; padding: 0 24px; color: #4e5c70; font-size: clamp(16px, 1.7vw, 18px); line-height: 1.82; overflow-wrap: anywhere; }
.article-content > :first-child { margin-top: 0; }
.article-content p { margin: 0 0 1.35em; }
.article-content h2, .article-content h3, .article-content h4 { color: var(--ink); font-family: var(--font-display); font-weight: 400; line-height: 1.13; text-wrap: balance; }
.article-content h2 { margin: 1.7em 0 .6em; font-size: clamp(1.9rem, 4.3vw, 2.7rem); }
.article-content h3 { margin: 1.55em 0 .55em; font-size: clamp(1.5rem, 3.5vw, 2rem); }
.article-content a { color: var(--pink-dark); text-decoration: underline; text-underline-offset: 3px; }
.article-content img, .article-content figure { max-width: 100%; height: auto; }
.article-content figure { margin: 2em 0; }
.article-content figure img { display: block; border-radius: 20px; }
.article-content figcaption { padding-top: 9px; color: #788494; font-size: 12px; text-align: center; }
.article-content blockquote { margin: 1.8em 0; padding: 10px 0 10px 24px; border-left: 4px solid var(--pink); color: #65768a; font: 400 1.25em/1.5 var(--font-display); }
.article-content ul, .article-content ol { padding-left: 1.35em; margin: 0 0 1.4em; }
.article-content li { padding-left: .25em; margin: .35em 0; }
.article-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.article-content th, .article-content td { padding: 9px 12px; border: 1px solid var(--line); }
.article-content .wp-block-embed { max-width: 100%; }
.article-content .alignwide, .article-content .alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
.article-content iframe, .article-content video { max-width: 100%; }
.article-content pre { max-width: 100%; overflow-x: auto; white-space: pre; }
.article-pages { max-width: 760px; margin: 26px auto 0; padding: 0 24px; }
.article-pages .page-numbers { display: inline-flex; margin: 0 5px 5px 0; padding: 7px 13px; border-radius: 99px; background: #e7f3fc; }
.article-cta {
	position: relative;
	overflow: hidden;
	width: min(100% - 48px, 920px);
	margin: clamp(54px, 8vw, 90px) auto 0;
	padding: clamp(29px, 5vw, 52px);
	border-radius: 30px;
	background: var(--pink);
	color: #fff;
}
.article-cta:after { content: ""; position: absolute; width: 240px; height: 240px; right: -68px; bottom: -150px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.08), 0 0 0 58px rgba(255,255,255,.05); }
.article-cta__inner { position: relative; z-index: 1; max-width: 620px; }
.article-cta .eyebrow { color: #ffe39a; }
.article-cta h2 { margin: 15px 0 10px; font: 400 clamp(2rem, 5vw, 3.5rem)/1 var(--font-display); letter-spacing: -.025em; }
.article-cta p { margin: 0 0 23px; max-width: 530px; color: rgba(255,255,255,.84); font-size: 15px; }
.article-cta .button { background: var(--paper); color: var(--pink-dark); box-shadow: none; }
.article-cta .button:hover { background: #fff0f5; }
.article-end { padding: 0 0 clamp(55px, 8vw, 95px); }
.article-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	width: min(100% - 48px, 920px);
	margin: clamp(38px, 6vw, 64px) auto 0;
}
.article-neighbor {
	display: flex;
	min-width: 0;
	min-height: 108px;
	flex-direction: column;
	justify-content: center;
	padding: 18px 22px;
	border: 1px solid rgba(65,80,103,.1);
	border-radius: 20px;
	background: var(--paper);
	transition: transform .2s ease, border-color .2s ease;
}
.article-neighbor:hover { transform: translateY(-3px); border-color: rgba(241,56,123,.35); }
.article-neighbor--next { text-align: right; }
.article-neighbor__label { color: #7c8794; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.article-neighbor__title { margin-top: 6px; color: var(--ink); font: 400 clamp(1.1rem, 2.7vw, 1.55rem)/1.15 var(--font-display); overflow-wrap: anywhere; }
.article-back { display: flex; justify-content: center; margin: 25px auto 0; }
.article-back a { display: inline-flex; align-items: center; gap: 9px; color: var(--blue-deep); font-size: 13px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.article-back a:hover { color: var(--pink-dark); }
.article-comments { width: min(100% - 48px, 760px); margin: 48px auto 0; }

@media (max-width: 700px) {
	.blog-hero { padding: 50px 0 48px; }
	.blog-hero h1 { font-size: clamp(2.85rem, 12.4vw, 4.6rem); }
	.blog-index { padding: 35px 0 70px; }
	.post-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.post-card { padding: 10px; border-radius: 22px; }
	.post-card__image-link { border-radius: 15px; }
	.post-card__image { aspect-ratio: 1.6 / 1; }
	.post-card__body { padding: 16px 9px 9px; }
	.post-card h2 { font-size: clamp(1.55rem, 8vw, 2.15rem); }
	.article-shell, .article-feature, .article-cta, .article-navigation, .article-comments { width: min(100% - 36px, 560px); }
	.article-head { padding: 25px 0 28px; }
	.article-breadcrumbs { margin-bottom: 24px; font-size: 11px; }
	.article-title { font-size: clamp(2.45rem, 11.5vw, 4.1rem); line-height: 1; }
	.article-feature { margin-bottom: 36px; border-radius: 21px; }
	.article-feature img { aspect-ratio: 1.25 / 1; }
	.article-feature--fallback { min-height: 220px; }
	.article-feature--fallback img { height: 220px; }
	.article-content, .article-pages { padding-inline: 18px; }
	.article-content { font-size: 16px; line-height: 1.75; }
	.article-cta { padding: 28px 23px; border-radius: 24px; }
	.article-navigation { grid-template-columns: 1fr; }
	.article-neighbor { min-height: 88px; }
	.article-neighbor--next { text-align: left; }
}
@media (max-width: 360px) {
	.article-shell, .article-feature, .article-cta, .article-navigation, .article-comments { width: calc(100% - 28px); }
	.article-title { font-size: clamp(2.2rem, 11vw, 2.65rem); }
	.article-dates { gap: 5px 12px; font-size: 11px; }
	.article-dates strong { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
	.post-card, .post-card__image, .article-neighbor { transition: none; }
}
