/**
 * K1 Locations — minimal, theme-friendly styles.
 * Loaded only on pages that render a K1 shortcode or block.
 * Everything is namespaced under the .k1-* class hooks.
 */

/* Weekly hours table */
.k1-hours {
	border-collapse: collapse;
	width: 100%;
	max-width: 28rem;
}

.k1-hours th,
.k1-hours td {
	padding: 0.25rem 0.5rem;
	text-align: left;
	vertical-align: top;
}

.k1-hours th[scope="row"] {
	font-weight: 600;
	white-space: nowrap;
}

.k1-hours-unavailable {
	font-style: italic;
	opacity: 0.75;
}

/* Open / closed status badge */
.k1-status {
	display: inline-block;
	font-weight: 600;
}

.k1-status.k1-open {
	color: #1a7f37;
}

.k1-status.k1-closed {
	color: #b42318;
}

/* Address block */
.k1-address {
	font-style: normal;
	line-height: 1.4;
}

.k1-address-map {
	display: inline-block;
	margin-left: 0.5rem;
	white-space: nowrap;
}

/* Phone link */
.k1-phone {
	text-decoration: none;
}

/* Locations directory */
.k1-locations {
	list-style: none;
	margin: 0;
	padding: 0;
}

.k1-locations .k1-location {
	padding: 0.35rem 0;
	border-bottom: 1px solid rgba( 0, 0, 0, 0.08 );
}

.k1-locations .k1-location-name {
	font-weight: 600;
}

.k1-locations .k1-location-place {
	margin-left: 0.25rem;
	opacity: 0.75;
}

.k1-locations .k1-status {
	margin-left: 0.5rem;
	font-size: 0.85em;
}

/* Editor-only placeholder */
.k1-block-placeholder {
	padding: 0.75rem 1rem;
	border: 1px dashed rgba( 0, 0, 0, 0.2 );
	border-radius: 4px;
	font-style: italic;
	opacity: 0.75;
}
