/* SunRoamy — Bathing Water Quality card (EEA). Mobile-first. */

.sr-bw {
	--sr-bw-color: #64748b;
	--sr-bw-on: #fff;
	margin: 0 0 1.25rem;
	padding: 1rem 1.1rem 1.05rem;
	border: 1px solid #e6ebf1;
	border-left: 4px solid var(--sr-bw-color);
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(12, 45, 72, .06);
	font-size: .95rem;
	line-height: 1.45;
}

/* Backgrounds chosen so the on-color (text) clears WCAG AA 4.5:1. */
.sr-bw--excellent  { --sr-bw-color: #0b5fbf; --sr-bw-on: #fff; }
.sr-bw--good       { --sr-bw-color: #157f3c; --sr-bw-on: #fff; }
.sr-bw--sufficient { --sr-bw-color: #f2a900; --sr-bw-on: #3a2a00; }
.sr-bw--poor       { --sr-bw-color: #c81e1e; --sr-bw-on: #fff; }
.sr-bw--unknown    { --sr-bw-color: #64748b; --sr-bw-on: #fff; }

.sr-bw__head {
	display: flex;
	align-items: center;
	gap: .45rem;
	margin-bottom: .6rem;
}

.sr-bw__icon { font-size: 1.1rem; line-height: 1; }

.sr-bw__title {
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #0c2d48;
}

.sr-bw__status {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: .5rem;
	margin-bottom: .35rem;
}

.sr-bw__pill {
	display: inline-block;
	padding: .2rem .65rem;
	border-radius: 999px;
	background: var(--sr-bw-color);
	color: var(--sr-bw-on);
	font-weight: 700;
	font-size: 1rem;
}

.sr-bw__season { color: #64748b; font-size: .85rem; }

.sr-bw__point {
	color: #475569;
	font-size: .85rem;
	margin-bottom: .7rem;
}

.sr-bw__history { margin-bottom: .7rem; }

.sr-bw__history-label {
	display: block;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #94a3b8;
	margin-bottom: .3rem;
}

.sr-bw__years {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem;
}

.sr-bw-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.9rem;
	height: 1.4rem;
	padding: 0 .2rem;
	border-radius: 5px;
	background: var(--sr-bw-color);
	color: var(--sr-bw-on);
	font-size: .68rem;
	font-weight: 600;
	opacity: .92;
}

.sr-bw-dot b { font-weight: 700; }

.sr-bw__foot {
	font-size: .73rem;
	color: #94a3b8;
	border-top: 1px solid #f0f3f7;
	padding-top: .55rem;
}

.sr-bw__profile { color: #0a6cf5; text-decoration: none; }
.sr-bw__profile:hover { text-decoration: underline; }

@media (min-width: 600px) {
	.sr-bw { font-size: 1rem; }
}

/* Compact badge for beach-card listings (/praias/ roundup). */
.sr-bw-badge {
	display: inline-flex;
	align-items: center;
	gap: .22rem;
	padding: .14rem .5rem;
	border-radius: 999px;
	background: var(--sr-bw-color);
	color: var(--sr-bw-on);
	font-size: .72rem;
	font-weight: 700;
	line-height: 1.5;
	white-space: nowrap;
	vertical-align: middle;
}

.sr-bw-badge__drop { font-size: .85em; }

