.service-schedule {
	font-size: 1.125rem;
	line-height: 1.6;
}

.service-schedule__variant {
	margin: 0 0 var(--wp--preset--spacing--md);
	padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
	border-left: 4px solid var(--wp--preset--color--bordo);
	background: var(--wp--preset--color--kremowy);
}

.service-schedule__changes {
	margin-top: var(--wp--preset--spacing--lg);
	padding: var(--wp--preset--spacing--md);
	border: 2px solid var(--wp--preset--color--bordo);
	border-radius: 4px;
	background: var(--wp--preset--color--kremowy);
}

.service-schedule__changes h2 {
	margin-top: 0;
	color: var(--wp--preset--color--bordo-ciemny);
}

.service-schedule__changes ul {
	margin-bottom: 0;
}

.service-schedule__additional {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--md);
	margin-top: var(--wp--preset--spacing--lg);
}

.service-schedule__additional .service-schedule__static-slots {
	font-size: 1rem;
}

.service-schedule__card {
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--obramowanie);
	border-radius: 4px;
	background: var(--wp--preset--color--bialy);
}

.service-schedule__card--masses {
	margin-top: var(--wp--preset--spacing--md);
}

.service-schedule__card h2 {
	margin: 0;
	padding: var(--wp--preset--spacing--sm) var(--wp--preset--spacing--md);
	background: var(--wp--preset--color--bordo);
	color: var(--wp--preset--color--bialy);
}

.service-schedule__card h2 span {
	display: block;
	font-family: var(--wp--preset--font-family--body-sans);
	font-size: 1rem;
	font-weight: 600;
}

.service-schedule__static-slots {
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-schedule__static-slots li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--sm);
	padding: 0.9rem var(--wp--preset--spacing--md);
	border-bottom: 1px solid var(--wp--preset--color--obramowanie);
}

.service-schedule__static-slots li:last-child {
	border-bottom: 0;
}

.service-schedule__static-slots strong {
	flex: 0 0 auto;
	color: var(--wp--preset--color--bordo-ciemny);
	font-size: 1.25rem;
	font-weight: 800;
	white-space: nowrap;
}

.service-schedule__additional .service-schedule__static-slots strong {
	font-size: 1.125rem;
	font-weight: 600;
}

.service-schedule__static-slots li.service-schedule__static-slots--general {
	justify-content: flex-start;
}

.service-schedule__mass-groups li {
	justify-content: flex-start;
}

.service-schedule__mass-groups .service-schedule__group-label {
	flex: 0 0 15rem;
	font-size: 1.125rem;
	white-space: normal;
}

.service-schedule__group-times {
	line-height: 1.9;
}

.service-schedule__group-times time {
	color: var(--wp--preset--color--bordo-ciemny);
	font-size: 1.25rem;
	font-weight: 800;
	white-space: nowrap;
}

.service-schedule__group-times small {
	color: var(--wp--preset--color--tekst-wyciszony);
	font-size: 0.9rem;
}

.service-schedule__last-mass {
	display: inline-block;
	font-weight: 700;
}

.service-schedule__intentions {
	margin-top: var(--wp--preset--spacing--lg);
}

@media (max-width: 600px) {
	.service-schedule__additional {
		grid-template-columns: 1fr;
	}

	.service-schedule__static-slots li {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.2rem;
	}

	.service-schedule__static-slots li.service-schedule__static-slots--general {
		flex-direction: row;
		align-items: baseline;
		flex-wrap: wrap;
	}

	.service-schedule__mass-groups .service-schedule__group-label {
		flex-basis: auto;
	}
}
