/**
 * Roots & Routes Core — "Good to know" block on single listings (TASK-136).
 * Same soft-UI scale as the rest of the site (radius 20, teal shadows), mobile-first.
 */

.rrc-exp {
	--rr-cream: #faf6ec;
	--rr-ink: #2b2420;
	--rr-ink-soft: #6b6153;
	--rr-teal-deep: #1b4b4a;
	--rr-teal: #2e9c8f;
	--rr-orange-dark: #c94a24;
	--rr-radius-md: 20px;
	--rr-shadow-1: 0 1px 2px rgba(27, 75, 74, 0.05), 0 6px 18px rgba(27, 75, 74, 0.07);
	margin: 28px 0 32px;
	color: var(--rr-ink);
}

.rrc-exp-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 16px;
	color: var(--rr-ink);
}

.rrc-exp-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 16px;
}

.rrc-exp-fact {
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: var(--rr-cream);
	border-radius: 14px;
	padding: 12px 16px;
	min-width: 160px;
}

.rrc-exp-fact-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--rr-ink-soft);
}

.rrc-exp-fact-value {
	font-weight: 600;
	color: var(--rr-teal-deep);
}

.rrc-exp-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	margin-bottom: 14px;
}

.rrc-exp-block {
	background: #ffffff;
	border-radius: var(--rr-radius-md);
	box-shadow: var(--rr-shadow-1);
	padding: 18px 20px;
	margin-bottom: 14px;
}

.rrc-exp-columns .rrc-exp-block {
	margin-bottom: 0;
}

.rrc-exp-block h4 {
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 10px;
	color: var(--rr-teal-deep);
}

.rrc-exp-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rrc-exp-list li {
	position: relative;
	padding-left: 26px;
	margin: 0 0 6px;
	line-height: 1.5;
}

.rrc-exp-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 16px;
	height: 16px;
	border-radius: 50%;
}

.rrc-exp-list--yes li::before {
	background: rgba(46, 156, 143, 0.15) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.5 8.5l3 3 6-6' fill='none' stroke='%232e9c8f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 12px no-repeat;
}

.rrc-exp-list--no li::before {
	background: rgba(201, 74, 36, 0.12) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4.5 4.5l7 7M11.5 4.5l-7 7' fill='none' stroke='%23c94a24' stroke-width='2' stroke-linecap='round'/></svg>") center / 11px no-repeat;
}

.rrc-exp-list--dot li::before {
	width: 8px;
	height: 8px;
	left: 4px;
	top: 0.6em;
	background: var(--rr-teal);
}

.rrc-exp-list--steps {
	counter-reset: rrc-step;
}

.rrc-exp-list--steps li {
	padding-left: 34px;
	margin-bottom: 8px;
}

.rrc-exp-list--steps li::before {
	counter-increment: rrc-step;
	content: counter(rrc-step);
	width: 24px;
	height: 24px;
	top: 0.05em;
	background: var(--rr-teal-deep);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rrc-exp-policy-label {
	margin: 0 0 8px;
	font-weight: 600;
	color: var(--rr-ink);
}

.rrc-exp-policy--flexible {
	color: var(--rr-teal);
}

.rrc-exp-policy--strict {
	color: var(--rr-orange-dark);
}

.rrc-exp-policy-notes {
	margin: 0;
	color: var(--rr-ink-soft);
}

@media (min-width: 640px) {
	.rrc-exp-columns {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* TASK-133: imported external review label ("Review imported from Google"),
   printed by ReviewImportService::label_imported_review() above the review
   text. A small brand pill instead of the browser's default italic. */
.rrc-imported-review-label {
	margin: 0 0 8px;
}

.rrc-imported-review-label em {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--rr-cream, #faf6ec);
	border: 1px solid var(--rr-border, #e8dfcc);
	color: var(--rr-teal-deep, #1b4b4a);
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
	letter-spacing: 0.01em;
}

/* TASK-139A: policy fee reminder + who set it. */
.rrc-exp-policy-fee,
.rrc-exp-policy-source {
	margin: 4px 0 0;
	font-size: 0.86em;
	color: var(--rr-ink-soft, #6b6153);
}

/* TASK-196: mandatory check-in reminder (pre_reservation only) — deliberately
   more visible than the fee/source notes above, since missing this means the
   customer can't check in on-site. */
.rrc-exp-policy-checkin {
	margin: 10px 0 0;
	font-size: 0.9em;
	color: var(--rr-orange-dark, #c94a24);
}

/* TASK-139B: "Meet your operator" block, same scale as .rrc-exp. */
.rrc-operator {
	--rr-cream: #faf6ec;
	--rr-border: #e8dfcc;
	--rr-ink: #2b2420;
	--rr-ink-soft: #6b6153;
	--rr-teal-deep: #1b4b4a;
	--rr-teal: #2e9c8f;
	margin: 40px 0 0;
}

.rrc-operator-title {
	margin: 0 0 16px;
	font-size: 22px;
	color: var(--rr-ink);
}

.rrc-operator-card {
	padding: 22px 24px;
	background: #fff;
	border: 1px solid var(--rr-border);
	border-radius: 20px;
	box-shadow: 0 1px 2px rgba(27, 75, 74, 0.05), 0 6px 18px rgba(27, 75, 74, 0.07);
}

.rrc-operator-identity {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.rrc-operator-avatar {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid var(--rr-cream);
}

.rrc-operator-text {
	min-width: 0;
}

.rrc-operator-name {
	display: block;
	font-size: 18px;
	color: var(--rr-teal-deep);
}

.rrc-operator-tagline {
	margin: 4px 0 6px;
	color: var(--rr-ink);
	line-height: 1.5;
}

.rrc-operator-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--rr-ink-soft);
	font-size: 0.92em;
}

.rrc-operator-facts li::before {
	content: "•";
	margin-right: 6px;
	color: var(--rr-teal);
}

.rrc-operator-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin: 18px 0 10px;
}

.rrc-operator-card .rrc-operator-ask.button {
	margin: 0;
	padding: 12px 22px;
	border-radius: 999px;
	background: var(--rr-teal-deep) !important;
	border-color: var(--rr-teal-deep) !important;
	color: #fff !important;
	font-weight: 600;
}

.rrc-operator-card .rrc-operator-ask.button:hover {
	background: var(--rr-teal) !important;
	border-color: var(--rr-teal) !important;
}

.rrc-operator-profile-link {
	color: var(--rr-teal-deep);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rrc-operator-note {
	margin: 0 0 16px;
	padding: 10px 14px;
	border-radius: 12px;
	background: var(--rr-cream);
	color: var(--rr-ink-soft);
	font-size: 0.9em;
	line-height: 1.5;
}

.rrc-operator-policies {
	border-top: 1px solid var(--rr-border);
	padding-top: 14px;
}

.rrc-operator-policies h4 {
	margin: 0 0 8px;
	font-size: 15px;
	color: var(--rr-teal-deep);
}

.rrc-operator-policy {
	margin: 0 0 8px;
	line-height: 1.55;
	color: var(--rr-ink);
}

.rrc-operator-policy small {
	display: block;
	color: var(--rr-ink-soft);
}

@media (max-width: 640px) {
	.rrc-operator-card {
		padding: 16px;
	}

	.rrc-operator-identity {
		gap: 12px;
	}

	.rrc-operator-avatar {
		flex-basis: 56px;
		width: 56px;
		height: 56px;
	}
}
