/**
 * Frontend styles for [yext_live_api] card template.
 *
 * @package Yext_Knowledge_Graph
 */
.yext-kg-card {
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 1.25rem 1.5rem;
	max-width: 32rem;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.yext-kg-card__title {
	margin: 0 0 0.25rem;
	font-size: 1.35rem;
	line-height: 1.3;
}

.yext-kg-card__type {
	margin: 0 0 0.75rem;
	font-size: 0.85rem;
	color: #666;
	text-transform: capitalize;
}

.yext-kg-card__address,
.yext-kg-card__phone,
.yext-kg-card__website {
	margin: 0.35rem 0;
}

.yext-kg-card__hours {
	margin-top: 1rem;
}

.yext-kg-card__hours pre {
	margin: 0.35rem 0 0;
	font-family: inherit;
	font-size: 0.9rem;
	white-space: pre-wrap;
	background: #f6f7f7;
	padding: 0.5rem 0.75rem;
	border-radius: 4px;
}

.yext-kg-notice {
	padding: 0.75rem 1rem;
	background: #fcf0f1;
	border-left: 4px solid #d63638;
	color: #3c434a;
}

.yext-kg-json {
	overflow-x: auto;
	font-size: 0.8rem;
	background: #f6f7f7;
	padding: 1rem;
	border-radius: 4px;
}

.yext-kg-field--multiline {
	display: inline-block;
	white-space: normal;
}

.yext-kg-compact {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1rem 2rem;
	max-width: 42rem;
	font-size: 0.95rem;
	line-height: 1.45;
}

.yext-kg-compact__hours,
.yext-kg-compact__status {
	flex: 1 1 12rem;
	min-width: min(100%, 12rem);
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.45;
}

.yext-kg-compact__hours-title,
.yext-kg-compact__status-headline {
	margin: 0 0 0.5rem;
}

.yext-kg-compact__hours-title strong,
.yext-kg-compact__status-headline strong,
.yext-kg-compact__hours-label {
	font-weight: 700;
}

.yext-kg-compact__hours-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.yext-kg-compact__hours-item {
	margin: 0.12rem 0;
}

.yext-kg-compact__hours-label {
	display: inline;
}

.yext-kg-compact__hours-value {
	font-weight: 400;
}

.yext-kg-compact__notes {
	margin: 0;
}

.yext-kg-compact__note {
	margin: 0.15rem 0;
	font-weight: 400;
}

.yext-kg-reviews {
	max-width: 42rem;
	font-size: 0.95rem;
	line-height: 1.45;
}

.yext-kg-reviews__summary {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 0.75rem;
}

.yext-kg-reviews__stars,
.yext-kg-reviews__item-stars {
	color: #e7a107;
	letter-spacing: 0.05em;
}

.yext-kg-reviews__average {
	font-weight: 700;
}

.yext-kg-reviews__count {
	color: #666;
}

.yext-kg-reviews__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.yext-kg-reviews__item {
	margin: 0;
	padding: 0.75rem 0;
	border-top: 1px solid #eee;
}

.yext-kg-reviews__item:first-child {
	border-top: 0;
}

.yext-kg-reviews__item-head {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.25rem;
}

.yext-kg-reviews__item-author {
	font-weight: 700;
}

.yext-kg-reviews__item-date {
	color: #666;
	font-size: 0.85rem;
}

.yext-kg-reviews__item-title {
	margin: 0 0 0.25rem;
}

.yext-kg-reviews__item-content {
	margin: 0;
}

.yext-kg-reviews__empty {
	color: #666;
	font-style: italic;
}
