/**
 * Class cards, the trial banner and the fee table.
 */

.sk-classes {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sk-class {
	max-width: 420px;
	justify-self: center;
	width: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--sk-card);
	border: 1px solid var(--sk-line);
	border-radius: var(--sk-radius);
	box-shadow: var(--sk-shadow-card);
}

/* The photo runs to the card's edges; everything below it is inset. */
.sk-class__photo {
	border-radius: 0;
}

.sk-class > *:not(.sk-class__photo) {
	padding-inline: 24px;
}

.sk-class__head {
	padding-top: 22px;
}

.sk-class__tags {
	padding-bottom: 22px;
}

.sk-class__head h3 {
	font-size: 18px;
}

.sk-class__ages {
	margin-top: 4px;
	color: var(--sk-kin-text);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.sk-class__desc {
	margin-top: 12px;
	font-size: var(--sk-text-base);
	color: var(--sk-text-dim);
}

.sk-class__label {
	display: block;
	margin-bottom: 2px;
	color: var(--sk-ink);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.sk-class__where,
.sk-class__when {
	margin-top: 16px;
	font-size: var(--sk-text-sm);
	color: var(--sk-text-dim);
}

.sk-class__sessions {
	margin: 0;
	padding: 0;
	list-style: none;
}

.sk-class__sessions li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 4px 0;
	border-bottom: 1px solid var(--sk-line);
}

.sk-class__sessions li:last-child {
	border-bottom: 0;
}

.sk-class__day {
	font-weight: 600;
	color: var(--sk-ink);
}

.sk-class__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: auto;
	padding-top: 16px;
}

.sk-tag {
	display: inline-block;
	padding: 4px 12px;
	border: 1px solid var(--sk-line);
	border-radius: var(--sk-radius-pill);
	font-size: 11px;
	font-weight: 700;
	color: var(--sk-text-dim);
}

.sk-tag--gold {
	background: var(--sk-kin);
	border-color: var(--sk-kin);
	/* Ink on gold, not white: white on this fill is 2.69:1. */
	color: var(--sk-sumi);
}

/* --- Trial banner ------------------------------------------------------- */

.sk-trial {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	margin-bottom: 32px;
	padding: 28px 32px;
	background: var(--sk-bg-alt);
	border: 2px solid var(--sk-kin);
	border-radius: var(--sk-radius);
}

.sk-trial__body {
	flex: 1 1 260px;
}

.sk-trial__price {
	font-family: var(--sk-font-display);
	font-size: 44px;
	line-height: 1;
	color: var(--sk-ink);
}

.sk-trial h3 {
	font-size: 18px;
}

/*
 * Scoped to the text block, not the whole banner: `.sk-trial p` also matched
 * the price and, being the more specific rule, quietly shrank it to 14px.
 */
.sk-trial__body p {
	font-size: var(--sk-text-base);
	color: var(--sk-text-dim);
}

.sk-trial__includes {
	margin-top: 4px;
	font-weight: 600;
}

/* --- Fee table ---------------------------------------------------------- */

/* Wide content scrolls inside its own box; the page never scrolls sideways. */
.sk-table-scroll {
	overflow-x: auto;
}

.sk-fees {
	width: 100%;
	border-collapse: collapse;
	background: var(--sk-card);
	border: 1px solid var(--sk-line);
	border-radius: var(--sk-radius);
}

.sk-fees caption {
	padding-bottom: 12px;
	color: var(--sk-text-dim);
	font-size: var(--sk-text-sm);
	text-align: left;
}

.sk-fees th,
.sk-fees td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--sk-line);
	text-align: left;
	font-size: var(--sk-text-base);
}

.sk-fees thead th {
	background: var(--sk-bg-alt);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.sk-fees tbody th {
	font-weight: 700;
	color: var(--sk-ink);
}

.sk-fees tbody tr:last-child th,
.sk-fees tbody tr:last-child td {
	border-bottom: 0;
}

.sk-fees__terms {
	margin: 20px 0 0;
	padding-left: 20px;
	font-size: var(--sk-text-sm);
	color: var(--sk-text-dim);
}

.sk-fees__terms li + li {
	margin-top: 6px;
}

/* --- Schedule downloads ------------------------------------------------- */

.sk-downloads {
	list-style: none;
	padding: 0;
}

.sk-download h3 {
	font-family: var(--sk-font-body);
	font-size: 16px;
	font-weight: 800;
}

.sk-download p {
	margin: 6px 0 16px;
	font-size: var(--sk-text-sm);
	color: var(--sk-text-dim);
}

.sk-download .sk-btn {
	padding: 11px 20px;
	font-size: var(--sk-text-sm);
}
