/*
 * Urakointi page sections (content/urakointi.html).
 *
 * "Pohjista pintaan": the section header around the Tabs block. The Tabs
 * block brings its own rules; from the tablet breakpoint up its vertical
 * rule runs to the bottom of the section, so the section has no bottom
 * padding there.
 */

.kt-pohjista-pintaan__header {
	row-gap: var(--wp--preset--spacing--40);
}

.kt-pohjista-pintaan__header .wp-block-heading {
	line-height: 0.95;
}

.kt-pohjista-pintaan__header > p {
	margin: 0;
}

@media (max-width: 781px) {

	/* Inline padding comes from the block; !important beats it. The top
	   clears the lower half of the Wheel (120px below 960px) on the seam. */
	.kt-pohjista-pintaan.wp-block-group {
		padding-top: calc(60px + var(--wp--preset--spacing--30)) !important;
		padding-bottom: var(--wp--preset--spacing--70) !important;
	}

	.kt-pohjista-pintaan__header > p.has-text-align-right {
		text-align: left;
	}
}
