/**
 * The member hub band's card: the OTA SIG Your Groups widget.
 *
 * Frame 1:153 of "SIG Page Logged in - out card" (rows) and 1:264 (empty).
 *
 * THE CARD IS THE FRAME'S LITERAL NAVY. The frame draws a #003038 card on a
 * #005361 band. The band is the section's teal colour theme, whose
 * `background` role resolves to exactly that teal, and no role in the teal
 * theme resolves to the navy, so the card is painted with the frame's literal
 * as the Join OTA card in ota-sig-page.css is. The aqua on the current-group
 * label and the links is raw in the frame too (#49c7da, the kit's Aqua) and
 * stays raw here for the same reason; the teal theme's accent is gold.
 *
 * Every other colour is white at the frame's opacities: 0.72 on the eyebrow
 * and scopes, 0.78 on the paragraph, 0.22 on the rules.
 */

.ota-sig-your-groups {
	padding: 48px;
	border-radius: 32px;
	background-color: #003038;
	color: #ffffff;
}

/* Label/Eyebrow, same drawing as the band's left half. */
.ota-sig-your-groups__eyebrow {
	margin: 0 0 30px;
	color: rgba(255, 255, 255, 0.72);
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 1px;
}

/*
 * 32/32 Regular in the frame. Stated in full so the theme's bold, 48px `h2`
 * does not reach it whichever tag an editor picks.
 */
.ota-sig-your-groups__heading {
	margin: 0 0 26px;
	color: #ffffff;
	font-size: 32px;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
}

.ota-sig-your-groups--empty .ota-sig-your-groups__heading {
	margin-bottom: 32px;
}

.ota-sig-your-groups__body {
	margin: 0 0 20px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.65;
}

/*
 * The rows: 61px tall, name left and scope right, a 0.22 white rule under each
 * but the last. The list is a <ul> for the reader; the theme's list styling
 * is reset here.
 */
.ota-sig-your-groups__list {
	margin: 0 0 25px;
	padding: 0;
	list-style: none;
}

.ota-sig-your-groups__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 61px;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.ota-sig-your-groups__row:last-child {
	border-bottom: 0;
}

.ota-sig-your-groups__name {
	color: #ffffff;
	font-size: 17px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
}

a.ota-sig-your-groups__name:hover,
a.ota-sig-your-groups__name:focus-visible {
	color: #ffffff;
	text-decoration: underline;
}

.ota-sig-your-groups__meta {
	flex: none;
	color: rgba(255, 255, 255, 0.72);
	font-size: 15px;
	font-weight: 400;
	line-height: 1;
	text-align: end;
}

.ota-sig-your-groups__meta--current {
	color: #49c7da;
}

/* Link/Action: 17px Bold aqua with the shared arrow glyph 7px after it. */
.ota-sig-your-groups__link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #49c7da;
	font-size: 17px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.ota-sig-your-groups__link:hover,
.ota-sig-your-groups__link:focus-visible {
	color: #49c7da;
	text-decoration: underline;
}

.ota-sig-your-groups__arrow {
	display: inline-block;
	flex: none;
	width: 15px;
	height: 15px;
	background-color: currentColor;
	-webkit-mask: url("../img/ota-btn-arrow.svg") no-repeat center / contain;
	mask: url("../img/ota-btn-arrow.svg") no-repeat center / contain;
}

@media (max-width: 767px) {
	.ota-sig-your-groups {
		padding: 32px 24px;
		border-radius: 24px;
	}

	.ota-sig-your-groups__heading {
		font-size: 28px;
	}

	.ota-sig-your-groups__row {
		flex-wrap: wrap;
		gap: 4px 16px;
		padding-block: 16px;
	}

	.ota-sig-your-groups__name {
		line-height: 1.3;
	}
}
