/*
 * FTR-6: hours and address. For a business people visit: the opening hours,
 * the address with a link to the map, the phone number and email address, and
 * a button to book. The details are printed by the content kit from NetRhyme,
 * Business details (footer-facts.css); a column whose detail is not filled in
 * is left out and the others share the row.
 */

.wprk-ftr-6 .wprk-footer__cols > .wp-block-column:first-child :where(.wp-block-buttons) {
	margin-block-start: var(--wp--preset--spacing--30);
}

/* The hours take a little more of the row, so that a day and its times stay on one line. */
.wprk-ftr-6 .wprk-footer__cols > .wprk-footer__hours {
	flex-grow: 1.2;
}

.wprk-ftr-6 .wprk-business__hours :where(th, td) {
	white-space: nowrap;
}

/* Two by two on a small laptop as on a tablet: four columns would break the address and the times. */
@media (min-width: 782px) and (max-width: 1199px) {
	.wprk-ftr-6 > .wprk-footer__cols.wp-block-columns {
		flex-wrap: wrap !important;
		row-gap: var(--wp--preset--spacing--50);
	}

	.wprk-ftr-6 > .wprk-footer__cols.wp-block-columns > .wp-block-column {
		flex-basis: calc(50% - var(--wp--preset--spacing--40)) !important;
		flex-grow: 0;
	}
}

/* The link to the map: the one thing in the column to press. */
.wprk-ftr-6 .wprk-business__map :where(a) {
	color: var(--wprk-heading);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
}

.wprk-ftr-6 .wprk-business__phone :where(a) {
	color: var(--wprk-heading);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
}

/* The short row of links and the social links, between the columns and the legal line. */
.wprk-ftr-6 > .wprk-footer__row {
	border-block-start: 1px solid var(--wprk-border);
	margin-block-start: var(--wp--preset--spacing--50);
	padding-block-start: var(--wp--preset--spacing--40);
}

.wprk-ftr-6 > .wprk-footer__bottom {
	border-block-start: 0;
	margin-block-start: var(--wp--preset--spacing--30);
	padding-block-start: 0;
}
