/* SeaCrew Catalog */
.sc-card,
.sc-filter,
.sc-list,
.sc-banner,
.sc-check,
.sc-works {
	--sc-ink: #12263a;
	--sc-muted: #5b6b7a;
	--sc-line: #d9e2ea;
	--sc-soft: #f4f7fa;
	--sc-sea: #0b4f71;
	--sc-sea-ink: #ffffff;
	--sc-accent: #f2a541;
}

.sc-card {
	border: 1px solid var(--sc-line);
	background: var(--sc-soft);
	border-radius: 8px;
	padding: 16px 20px;
	margin: 0 0 24px;
}

.sc-details {
	margin: 0;
}

.sc-row {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 12px;
	padding: 6px 0;
	border-bottom: 1px solid var(--sc-line);
}

.sc-row:last-child {
	border-bottom: 0;
}

.sc-row dt {
	color: var(--sc-muted);
	font-weight: 600;
	margin: 0;
}

.sc-row dd {
	margin: 0;
	color: var(--sc-ink);
	overflow-wrap: anywhere;
}

.sc-source {
	margin: 12px 0 0;
	font-size: 0.85em;
	color: var(--sc-muted);
}

.sc-about {
	margin: 0 0 24px;
}

.sc-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: var(--sc-sea);
	color: var(--sc-sea-ink);
	border-radius: 8px;
	padding: 18px 20px;
	margin: 24px 0;
}

.sc-banner-text strong {
	display: block;
	font-size: 1.15em;
	margin-bottom: 4px;
}

.sc-banner-text span {
	opacity: 0.9;
}

.sc-btn,
.sc-filter .sc-btn {
	display: inline-block;
	background: var(--sc-accent);
	color: #12263a;
	border: 0;
	border-radius: 6px;
	padding: 10px 18px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.sc-btn:hover,
.sc-btn:focus {
	background: #ffbf63;
	color: #12263a;
}

.sc-claim,
.sc-disclaimer {
	font-size: 0.9em;
	color: var(--sc-muted, #5b6b7a);
}

.sc-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 12px;
}

.sc-filter input[type="search"] {
	flex: 1 1 220px;
	min-width: 0;
}

.sc-filter select {
	flex: 0 1 200px;
	min-width: 0;
}

.sc-count {
	color: var(--sc-muted, #5b6b7a);
	margin: 0 0 8px;
}

.sc-list {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	border-top: 1px solid var(--sc-line);
}

.sc-item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 16px;
	padding: 12px 0;
	border-bottom: 1px solid var(--sc-line);
	margin: 0;
}

.sc-item-title {
	font-weight: 700;
	flex: 1 1 260px;
}

.sc-item-where,
.sc-item-reviews {
	color: var(--sc-muted);
	font-size: 0.9em;
}

.sc-pages {
	margin: 16px 0;
}

.sc-pages .page-numbers {
	display: inline-block;
	padding: 4px 10px;
}

@media (max-width: 600px) {
	.sc-row {
		grid-template-columns: 1fr;
		gap: 2px;
	}
	.sc-banner {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* 1.1: фото города, внешние оценки, чат */
.sc-photo {
	margin: 0 0 16px;
}

.sc-photo-img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 7;
	object-fit: cover;
	border-radius: 8px;
}

.sc-photo figcaption {
	font-size: 0.8em;
	color: #5b6b7a;
	margin-top: 6px;
}

.sc-h {
	font-size: 1.25em;
	margin: 0 0 8px;
}

.sc-external {
	border: 1px solid #d9e2ea;
	border-radius: 8px;
	padding: 14px 20px;
	margin: 0 0 20px;
}

.sc-external ul {
	margin: 0 0 8px 1.2em;
}

.sc-external li {
	margin: 4px 0;
}

.sc-ext-date,
.sc-ext-note {
	color: #5b6b7a;
	font-size: 0.85em;
}

.sc-ext-note {
	margin: 0;
}

.sc-chat {
	background: #eef6f2;
	border-left: 4px solid #0b4f71;
	border-radius: 6px;
	padding: 12px 16px;
	margin: 0 0 20px;
}

/* 1.2: проверка компании, с кем работает, сводка, карта, похожие */
.sc-check,
.sc-works,
.sc-summary,
.sc-map,
.sc-similar {
	margin: 0 0 22px;
}

.sc-check .sc-details,
.sc-works .sc-details {
	border: 1px solid #d9e2ea;
	border-radius: 8px;
	padding: 6px 20px;
}

.sc-ok {
	color: #1d7a46;
	font-weight: 700;
}

.sc-bad {
	color: #b42318;
	font-weight: 700;
}

.sc-bad-badge {
	display: inline-block;
	background: #fde8e7;
	color: #b42318;
	border-radius: 4px;
	padding: 1px 8px;
	font-size: 0.8em;
	font-weight: 600;
}

.sc-closed {
	background: #fde8e7;
	color: #7a1a12;
	border-radius: 6px;
	padding: 12px 16px;
	margin: 0 0 16px;
}

.sc-check-none {
	border: 1px dashed #d9e2ea;
	border-radius: 8px;
	padding: 12px 16px;
	color: #5b6b7a;
	margin: 0;
}

.sc-summary ul {
	margin: 0 0 6px 1.2em;
}

.sc-map-frame {
	display: block;
	width: 100%;
	height: 280px;
	border: 1px solid #d9e2ea;
	border-radius: 8px;
}

.sc-vac {
	font-weight: 700;
}

/* 1.2.1: «Другие крюинги» под отзывами */
.sc-after-comments .sc-similar {
	margin: 0;
}
