/*
 * Page 5.5 "Understanding Shared Histories" (task sh55p · D74 · D76 · DESIGN-SPEC §13) — no Figma, values from the spec.
 * Container 1120 at x=160 (1440) · 24 side margin 1024–1279 · 32 at 768–1023 · 20 under 768. Komet weights follow tokens.css
 * (Figma 500 → regular 400 · 600 → medium 500 · 700 · 800). Teal #00A7AD is only ever used with #212529 text (5.2:1) — never white.
 */

.sh55 {
	--sh55-teal: #00a7ad;
	--sh55-zone: var(--sh-color-zone-5);
	--sh55-ink: var(--sh-color-neutral-900);
	--sh55-pad: 20px;
	--sh55-sec: 48px;
	color: var(--sh55-ink);
}

@media (min-width: 768px) {
	.sh55 { --sh55-pad: 32px; --sh55-sec: 64px; }
}

@media (min-width: 1024px) {
	.sh55 { --sh55-pad: 24px; --sh55-sec: 80px; }
}

html:has(body.sh55-page) { scroll-padding-top: 88px; }

@media (prefers-reduced-motion: no-preference) {
	html:has(body.sh55-page) { scroll-behavior: smooth; }
}

.sh55 :focus-visible { outline: 3px solid var(--sh55-ink); outline-offset: 3px; }
.sh55 [id] { scroll-margin-top: calc(88px + var(--wp-admin--admin-bar--height, 0px)); }
:where(.sh55) img { display: block; max-width: 100%; height: auto; }

.sh55-wrap {
	width: 100%;
	max-width: calc(1120px + 2 * var(--sh55-pad));
	margin-inline: auto;
	padding-inline: var(--sh55-pad);
}

/* ---- Hero ---- */
.sh55-hero { padding-top: 40px; padding-bottom: 50px; text-align: center; }

.sh55-hero__title {
	margin: 0;
	font: var(--sh-fw-komet-heavy) 28px/35px var(--sh-font-komet);
	letter-spacing: 1.12px;
	color: #413b2d;
}

.sh55-hero__sub { margin: 8px 0 0; font: var(--sh-fw-komet-medium) 20px/25px var(--sh-font-komet); color: #413b2d; }

.sh55-hero__quote { max-width: 800px; margin: 30px auto 0; }
.sh55-hero__quote blockquote { margin: 0; }
.sh55-hero__quote p { margin: 0; font: var(--sh-fw-komet-regular) 20px/28px var(--sh-font-komet); }
.sh55-hero__quote figcaption { margin-top: 16px; font: var(--sh-fw-komet-regular) 16px/22px var(--sh-font-komet); color: var(--sh-color-neutral-600); }

@media (min-width: 768px) {
	.sh55-hero__title { font-size: 32px; line-height: 40px; letter-spacing: 1.28px; }
	.sh55-hero__sub { font-size: 22px; line-height: 28px; }
	.sh55-hero__quote p { font-size: 24px; line-height: 32px; }
}

@media (min-width: 1280px) {
	.sh55-hero__title { font-size: 36px; line-height: 45px; letter-spacing: 1.44px; }
	.sh55-hero__sub { font-size: 24px; line-height: 30px; }
}

/* ---- Sticky section menu (§13.3) ---- */
.sh55-menu {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 20;
	height: 48px;
	background: var(--sh-color-white);
	box-shadow: var(--sh-shadow-100);
}

.sh55-menu__list {
	display: flex;
	justify-content: flex-start;
	gap: 0;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.sh55-menu__list::-webkit-scrollbar { display: none; }

.sh55-menu::after { /* fade at the right edge when the menu scrolls */
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 24px;
	background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
	pointer-events: none;
}

.sh55-menu__item { position: relative; flex: none; scroll-snap-align: center; }

.sh55-menu__link {
	display: flex;
	align-items: center;
	height: 48px;
	padding: 0 16px;
	font: var(--sh-type-nav);
	color: var(--sh-color-neutral-800);
	text-decoration: none;
	white-space: nowrap;
	box-shadow: inset 0 -3px 0 transparent;
	transition: box-shadow 0.3s ease, color 0.3s ease;
}

.sh55-menu__link:hover { box-shadow: inset 0 -3px 0 rgba(0, 167, 173, 0.5); }
.sh55-menu__link.is-active { color: var(--sh55-ink); box-shadow: inset 0 -3px 0 var(--sh55-teal); }
.sh55-menu__sub { display: none; }

@media (min-width: 1024px) {
	.sh55-menu { height: 56px; }
	.sh55-menu__list { justify-content: center; gap: 40px; overflow: visible; }
	.sh55-menu::after { display: none; }
	.sh55-menu__link { height: 56px; padding: 0; }

	.sh55-menu__sub {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		min-width: 260px;
		margin: 0;
		padding: 5px 0;
		list-style: none;
		background: var(--sh-color-white);
		border-radius: 5px;
		box-shadow: var(--sh-shadow-200);
		visibility: hidden;
		opacity: 0;
		transition: opacity 0.2s ease, visibility 0.2s;
	}

	.sh55-menu__item--has-sub:hover > .sh55-menu__sub,
	.sh55-menu__item--has-sub:focus-within > .sh55-menu__sub { visibility: visible; opacity: 1; }
	.sh55-menu__item--has-sub.is-closed > .sh55-menu__sub { visibility: hidden; opacity: 0; }

	.sh55-menu__sub a {
		display: flex;
		align-items: center;
		height: 44px;
		padding: 0 20px;
		font: var(--sh-fw-komet-regular) 14px/17.5px var(--sh-font-komet);
		color: var(--sh-color-neutral-800);
		text-decoration: none;
	}

	.sh55-menu__sub a:hover,
	.sh55-menu__sub a:focus-visible { background: var(--sh-color-neutral-100); color: var(--sh55-ink); }
}

/* ---- Sections ---- */
.sh55-sec { padding-block: var(--sh55-sec); background: var(--sh-color-white); }
.sh55-sec--grey { background: var(--sh-color-neutral-100); }

.sh55-h2 {
	margin: 0 0 40px;
	font: var(--sh-fw-komet-heavy) 28px/35px var(--sh-font-komet);
	color: var(--sh55-ink);
}

.sh55-h2::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 12px; background: var(--sh55-teal); }

.sh55 h2, .sh55 h3, .sh55 h4, .sh55 .sh55-h4 { text-align: left; }

.sh55-h3 { margin: 0 0 16px; font: var(--sh-fw-komet-heavy) 24px/30px var(--sh-font-komet); color: var(--sh55-ink); }
.sh55-h3--lg { font-size: 28px; line-height: 35px; margin-bottom: 0; }
.sh55-h3--gap { margin-top: 60px; }

.sh55-h4 {
	display: block;
	margin: 0;
	font: var(--sh-fw-komet-heavy) 14px/17.5px var(--sh-font-komet);
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--sh55-ink);
}

.sh55-h4--lg { margin-top: 30px; font-size: 20px; line-height: 25px; letter-spacing: 0; text-transform: none; }
.sh55-h4--muted { color: var(--sh-color-neutral-600); margin-bottom: 12px; }

@media (min-width: 768px) {
	.sh55-h2 { font-size: 32px; line-height: 40px; }
}

@media (min-width: 1280px) {
	.sh55-h2 { font-size: 36px; line-height: 45px; }
}

.sh55-text { max-width: none; font: var(--sh-fw-komet-regular) 16px/24px var(--sh-font-komet); color: var(--sh-color-black); }
.sh55-text > :first-child { margin-top: 0; }
.sh55-text p { margin: 0; }
.sh55-text p + p { margin-top: 22px; }
.sh55-text strong,
.sh55-ucard strong,
.sh55-why strong { font-weight: var(--sh-fw-komet-bold); }
.sh55-text .sh55-h4--lg:first-child { margin-top: 0; }
.sh55-text p + .sh55-h4--lg,
.sh55-text .sh55-h4 + p { margin-top: 12px; }
.sh55-text p + .sh55-list,
.sh55-text .sh55-list { margin-top: 22px; }
.sh55-text .sh55-h3 { margin-top: 0; }

@media (min-width: 768px) {
	.sh55-text { font-size: 18px; line-height: 24px; text-align: left; }
}

@media (min-width: 1280px) {
	.sh55-text { font-size: 18px; line-height: 22px; text-align: justify; }
}

.sh55-lead { font-weight: var(--sh-fw-komet-bold); font-size: 20px; line-height: 25px; margin-bottom: 22px !important; }

.sh55-callout {
	margin: 30px 0 0 !important;
	padding: 24px 32px;
	background: var(--sh-color-neutral-100);
	border-left: 6px solid var(--sh-color-zone-5);
	font: var(--sh-fw-komet-bold) 20px/25px var(--sh-font-komet);
	text-align: left;
}

.sh55-list { margin: 0; padding: 0; list-style: none; }
.sh55-list li { position: relative; padding-left: 20px; margin-top: 12px; }
.sh55-list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--sh55-teal); }

.sh55-quote { max-width: none; margin: 30px 0; padding: 8px 0 8px 28px; border-left: 6px solid var(--sh-color-zone-5); }
.sh55-quote blockquote { margin: 0; }
.sh55-quote p { margin: 0; font: var(--sh-fw-komet-regular) 22px/30px var(--sh-font-komet); text-align: left; }
.sh55-quote figcaption { margin-top: 12px; font: var(--sh-fw-komet-regular) 16px/22px var(--sh-font-komet); color: var(--sh-color-neutral-600); }
.sh55-text--project { margin-top: 60px; }
.sh55-text--project > .sh55-h3 { margin-bottom: 20px; }
.sh55-text--project p + .sh55-h4--lg { margin-top: 30px; } /* Official Endorsements (§13.5: 20/25 sub-heading) */
.sh55-text--project .sh55-h4--lg + p { margin-top: 12px; }
.sh55-text .sh55-h4--lg { margin-bottom: 0; }

.sh55-link {
	font-weight: var(--sh-fw-komet-bold);
	color: var(--sh55-ink);
	text-decoration: underline;
	text-decoration-color: var(--sh55-teal);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.sh55-link:hover { text-decoration-thickness: 4px; }
.sh55-link .sh55-ico { display: inline-block; width: 14px; height: 14px; margin-left: 6px; vertical-align: -1px; }

.sh55-actions { margin-top: 30px; }
.sh55-actions:empty { display: none; }

/* ---- Download buttons A · B · D (§13.4) ---- */
.sh55-dl {
	box-sizing: border-box;
	display: inline-grid;
	grid-template-columns: 40px minmax(0, 1fr) auto;
	align-items: center;
	column-gap: 16px;
	min-height: 64px;
	min-width: 320px;
	max-width: 560px;
	padding: 12px 24px 12px 12px;
	border: 2px solid var(--sh55-teal);
	border-radius: 5px;
	background: var(--sh-color-white);
	color: var(--sh55-ink);
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.sh55-dl__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sh55-teal);
	color: var(--sh55-ink);
	transition: background-color 0.3s ease, color 0.3s ease;
}

.sh55-dl__text { display: block; min-width: 0; }
.sh55-dl__label { display: block; font: var(--sh-fw-komet-heavy) 16px/20px var(--sh-font-komet); color: var(--sh55-ink); }

.sh55-dl__file {
	display: block;
	overflow: hidden;
	font: var(--sh-fw-komet-regular) 14px/17.5px var(--sh-font-komet);
	color: var(--sh-color-neutral-800);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sh55-dl__size {
	padding: 4px 10px;
	border: 1px solid var(--sh-color-neutral-300);
	border-radius: 999px;
	background: var(--sh-color-neutral-100);
	font: var(--sh-fw-komet-bold) 12px/15px var(--sh-font-komet);
	color: var(--sh55-ink);
	white-space: nowrap;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.sh55-dl:hover,
.sh55-dl:focus-visible { background: var(--sh55-teal); transform: translateY(-2px); }
.sh55-dl:hover .sh55-dl__icon,
.sh55-dl:focus-visible .sh55-dl__icon { background: var(--sh55-ink); color: var(--sh-color-white); }
.sh55-dl:hover .sh55-dl__file,
.sh55-dl:focus-visible .sh55-dl__file { color: var(--sh55-ink); }
.sh55-dl:hover .sh55-dl__size,
.sh55-dl:focus-visible .sh55-dl__size { background: var(--sh-color-white); border-color: rgba(33, 37, 41, 0.2); }
.sh55-dl:active { transform: scale(0.98); }

@media (max-width: 767.98px) {
	.sh55-dl--a { display: grid; width: 100%; min-width: 0; max-width: none; grid-template-columns: 40px minmax(0, 1fr); }
	.sh55-dl--a .sh55-dl__size { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* B: compact language button — wraps the size tag to a second line when the column is narrow (no overflow) */
.sh55-dl--b {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 8px;
	min-height: 44px;
	min-width: 0;
	max-width: none;
	padding: 6px 14px;
}

.sh55-dl--b .sh55-dl__icon { width: 18px; height: 18px; border-radius: 0; background: none; }
.sh55-dl--b .sh55-ico { width: 18px; height: 18px; }
.sh55-dl--b .sh55-dl__label { flex: 1 1 auto; font-size: 14px; line-height: 17.5px; }
.sh55-dl--b .sh55-dl__size { padding: 0; border: 0; border-radius: 0; background: none; font-size: 14px; line-height: 17.5px; margin-left: auto; }
.sh55-dl--b:hover .sh55-dl__icon,
.sh55-dl--b:focus-visible .sh55-dl__icon { background: none; color: var(--sh55-ink); }
.sh55-dl--b:hover .sh55-dl__size,
.sh55-dl--b:focus-visible .sh55-dl__size { background: none; border: 0; }

.sh55-langs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(345px, 100%), 1fr));
	gap: 12px;
	margin-top: 12px;
}

/* C: bar at the foot of a card that is a download */
.sh55-cbar {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 20px;
	border-top: 1px solid var(--sh-color-neutral-300);
	background: var(--sh-color-white);
	color: var(--sh55-ink);
	transition: background-color 0.3s ease;
}

.sh55-cbar .sh55-ico { width: 18px; height: 18px; flex: none; }
.sh55-cbar__size { flex: 1; font: var(--sh-fw-komet-bold) 14px/17.5px var(--sh-font-komet); }

/* ---- Cards ---- */
.sh55-ucards { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 60px 0 0; padding: 0; list-style: none; }
.sh55-ucards__li { display: flex; }

.sh55-ucard {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border-radius: var(--sh-radius-card);
	background: var(--sh-color-white);
	box-shadow: var(--sh-shadow-200);
	color: var(--sh-color-black);
	text-decoration: none;
	transition: transform 0.3s ease;
}

.sh55-ucard__cover { display: flex; justify-content: center; }
.sh55-ucard__img { width: auto; height: 320px; }
.sh55-ucard__body { display: block; flex: 1; padding: 20px; font: var(--sh-fw-komet-regular) 16px/22px var(--sh-font-komet); text-align: left; }
.sh55-ucard__label { display: block; margin-bottom: 8px; font: var(--sh-type-card-title); color: var(--sh55-ink); }
.sh55-ucard__body p { margin: 0; }
.sh55-ucard__body p + p { margin-top: 12px; }
a.sh55-ucard:hover,
a.sh55-ucard:focus-visible { transform: translateY(-4px); }
a.sh55-ucard:hover .sh55-cbar,
a.sh55-ucard:focus-visible .sh55-cbar { background: var(--sh55-teal); }

@media (min-width: 768px) {
	.sh55-ucards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sh55-ucard__img { width: 100%; height: auto; aspect-ratio: 265 / 375; object-fit: cover; }
}

@media (min-width: 1024px) {
	.sh55-ucards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---- Teacher's Guide ---- */
.sh55-tg { display: grid; grid-template-columns: 1fr; gap: 32px; justify-items: start; }
.sh55-tg__cover { justify-self: center; }
.sh55-tg__img { width: 180px; height: auto; border-radius: 5px; box-shadow: var(--sh-shadow-200); }

@media (min-width: 900px) {
	.sh55-tg { grid-template-columns: 180px minmax(0, 739px); gap: 50px; justify-items: stretch; }
	.sh55-tg__cover { justify-self: start; }
}

.sh55-block { margin-top: 60px; }
.sh55-parts { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0; padding: 0; list-style: none; }

.sh55-part {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	overflow: hidden;
	padding: 28px 24px 24px;
	border-radius: var(--sh-radius-card);
	background: var(--sh-color-white);
	box-shadow: var(--sh-shadow-200);
}

.sh55-part::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--sh-color-zone-5); }
.sh55-part__text { display: block; font: var(--sh-fw-komet-regular) 18px/22px var(--sh-font-komet); }
.sh55-part--intro { padding: 0; border: 2px solid var(--sh55-teal); box-shadow: none; }
.sh55-part--intro::before { display: none; }

.sh55-part__card {
	display: flex;
	flex: 1;
	flex-direction: column;
	color: var(--sh-color-black);
	text-decoration: none;
	transition: transform 0.3s ease;
}

.sh55-part__main { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 26px 22px 22px; }
a.sh55-part__card:hover,
a.sh55-part__card:focus-visible { transform: translateY(-4px); }
a.sh55-part__card:hover .sh55-cbar,
a.sh55-part__card:focus-visible .sh55-cbar { background: var(--sh55-teal); }

@media (min-width: 768px) { .sh55-parts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .sh55-parts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.sh55-il__title { margin: 4px 0 24px; font: var(--sh-fw-komet-heavy) 26px/32px var(--sh-font-komet); }
.sh55-why { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 30px 0 0; padding: 0; list-style: none; }

.sh55-why__card {
	padding: 28px;
	border-radius: var(--sh-radius-card);
	background: var(--sh-color-white);
	box-shadow: var(--sh-shadow-200);
	font: var(--sh-fw-komet-regular) 18px/22px var(--sh-font-komet);
}

.sh55-why__card p { margin: 0; }

@media (min-width: 768px) {
	.sh55-il__title { font-size: 32px; line-height: 40px; }
	.sh55-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.sh55-steps { max-width: none; margin: 0; padding: 0; list-style: none; counter-reset: sh55-step; }

.sh55-step {
	position: relative;
	padding: 0 0 24px 64px;
	min-height: 40px;
	counter-increment: sh55-step;
	font: var(--sh-fw-komet-regular) 18px/22px var(--sh-font-komet);
}

.sh55-step::before {
	content: counter(sh55-step);
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sh-color-zone-5);
	font: var(--sh-fw-komet-heavy) 18px/22px var(--sh-font-komet);
	color: var(--sh55-ink);
}

.sh55-step::after { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--sh-color-zone-5-soft); }
.sh55-step:last-child::after { display: none; }
.sh55-step__title { display: block; font-weight: var(--sh-fw-komet-bold); }
.sh55-step__text { display: block; margin-top: 4px; }

/* ---- Units ---- */
.sh55-unit {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 30px;
	margin-bottom: 60px;
	padding-bottom: 60px;
	border-bottom: 1px solid var(--sh-color-neutral-300);
}

.sh55-unit:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: 0; }
.sh55-unit__cover { justify-self: center; }
.sh55-unit__img { width: 100%; max-width: 265px; height: auto; border-radius: var(--sh-radius-card); box-shadow: var(--sh-shadow-200); }
.sh55-unit__main { min-width: 0; }
.sh55-unit__title { margin: 4px 0 24px; font: var(--sh-fw-komet-heavy) 28px/35px var(--sh-font-komet); }
.sh55-unit__struct { padding: 24px 20px; border-radius: var(--sh-radius-card); background: var(--sh-color-neutral-100); }
.sh55-unit__struct .sh55-h3 { margin-bottom: 16px; text-transform: uppercase; }

.sh55-lessons { margin: 0; padding: 0; list-style: none; }

.sh55-lesson {
	break-inside: avoid;
	padding: 14px 0;
	border-bottom: 1px solid var(--sh-color-neutral-300);
	font: var(--sh-fw-komet-regular) 18px/22px var(--sh-font-komet);
}

.sh55-lesson .sh55-h4 { margin-bottom: 4px; }

@media (min-width: 768px) {
	.sh55-unit__title { font-size: 32px; line-height: 40px; }
	.sh55-unit__struct { padding: 30px; }
	.sh55-lessons { columns: 2; column-gap: 40px; }
}

@media (min-width: 768px) {
	.sh55-unit { grid-template-columns: 220px minmax(0, 1fr); grid-template-areas: "cover main" "struct struct"; gap: 30px; margin-bottom: 80px; padding-bottom: 80px; }
	.sh55-unit__cover { grid-area: cover; justify-self: start; }
	.sh55-unit__main { grid-area: main; }
	.sh55-unit__struct { grid-area: struct; margin-top: 10px; }
}

@media (min-width: 1280px) {
	.sh55-unit { grid-template-columns: 265px minmax(0, 1fr); gap: 50px; }
	.sh55-unit__struct { margin-top: -10px; }
	.sh55-unit__title { font-size: 36px; line-height: 45px; }
}

/* ---- Apps ---- */
.sh55-apps { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 1024px) { .sh55-apps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.sh55-app { overflow: hidden; border-radius: var(--sh-radius-card); background: var(--sh-color-white); box-shadow: var(--sh-shadow-200); }

.sh55-app__gallery {
	display: flex;
	gap: 12px;
	padding: 12px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	background: var(--sh-color-neutral-100);
	scrollbar-width: thin;
	scrollbar-color: var(--sh-color-neutral-400) transparent;
}

.sh55-app__shot { flex: none; width: auto; max-width: none; height: 309px; border-radius: 12px; scroll-snap-align: start; }
.sh55-app__body { padding: 28px; }
.sh55-app__platform { margin: 8px 0 0; font: var(--sh-fw-komet-regular) 14px/17.5px var(--sh-font-komet); color: var(--sh-color-neutral-600); }
.sh55-app__award { display: inline-block; margin: 12px 0 0; padding: 6px 14px; border-radius: 999px; background: var(--sh-color-zone-5-soft); font: var(--sh-fw-komet-bold) 14px/17.5px var(--sh-font-komet); }
.sh55-app__desc { margin: 16px 0 24px; font: var(--sh-fw-komet-regular) 18px/22px var(--sh-font-komet); }

/* ---- Children's Books ---- */
.sh55-meta { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0 0 40px; padding: 0; list-style: none; }
.sh55-meta__item { padding: 16px 20px; border-radius: 12px; background: var(--sh-color-white); font: var(--sh-fw-komet-regular) 16px/22px var(--sh-font-komet); }
.sh55-meta__item strong { font-weight: var(--sh-fw-komet-bold); }
@media (min-width: 768px) { .sh55-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.sh55-books { display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }

.sh55-book {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	padding: 20px;
	border-radius: var(--sh-radius-card);
	background: var(--sh-color-white);
	box-shadow: var(--sh-shadow-200);
}

.sh55-book__cover { display: flex; align-items: center; justify-content: center; width: 220px; height: 265px; max-width: 100%; justify-self: center; border-radius: 12px; background: var(--sh-color-neutral-100); }
.sh55-book__img { width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.sh55-book__body { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.sh55-book__body .sh55-h3 { margin: 0; }
.sh55-book__body .sh55-h4 { margin: 0; }
.sh55-book__body .sh55-actions { width: 100%; margin-top: 8px; }
.sh55-book__desc { max-width: none; margin: 0; font: var(--sh-fw-komet-regular) 18px/22px var(--sh-font-komet); }
.sh55-book__note { margin: 0; font: var(--sh-fw-komet-regular) 16px/22px var(--sh-font-komet); }

@media (min-width: 768px) {
	.sh55-book { grid-template-columns: 220px minmax(0, 1fr); gap: 40px; padding: 28px; }
	.sh55-book__cover { justify-self: start; }
	.sh55-book__body .sh55-actions { width: auto; }
}

/* ---- Back after the footer ---- */
.sh55-back { margin-top: -25px; padding-bottom: 75px; }

@media (prefers-reduced-motion: reduce) {
	.sh55 *,
	.sh55 *::before,
	.sh55 *::after { transition: none !important; }
	.sh55-dl:hover, .sh55-dl:focus-visible, .sh55-dl:active,
	a.sh55-ucard:hover, a.sh55-ucard:focus-visible,
	a.sh55-part__card:hover, a.sh55-part__card:focus-visible { transform: none; }
}
