/* ==========================================================================
   Seja Sócio [adrc_seja_socio]
   Markup rendered by wp-content/mu-plugins/adrc-seja-socio.php,
   which loads this file only on pages that contain the shortcode.

   No new fonts or colours: everything comes from the Blocksy settings
   (h2 = Alkatra gold, body = Antic, blue #2E5EA6, grey #EBECEC, square buttons).
   ========================================================================== */

.adrc-socio {
	display: grid;
	gap: 28px;
}

.adrc-socio__lead {
	margin: 0;
}

/* ---------- Quota cards ---------- */

.adrc-socio__plans {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 24px;
}

.adrc-socio__plan {
	display: grid;
	grid-template-columns: 96px 1fr;
	grid-template-rows: 1fr auto;
	column-gap: 24px;
	row-gap: 16px;
	align-items: start;
	padding: 24px;
	border: 1px solid var(--theme-border-color, #ebecec);
	background: var(--theme-palette-color-8, #fff);
}

.adrc-socio__icon {
	grid-row: span 2;
	align-self: start;
}

.adrc-socio__icon img {
	display: block;
	width: 96px;
	height: 96px;
	object-fit: contain;
}

.adrc-socio__body {
	min-width: 0;
}

/* h2 keeps the theme font and gold colour; only the size is reduced to fit a card */
.adrc-socio__name {
	margin: 0;
	--theme-font-size: 26px;
	--theme-line-height: 1.2;
}

.adrc-socio__price {
	margin: 6px 0 0;
	font-variant-numeric: tabular-nums;
}

.adrc-socio__price strong {
	font-size: 28px;
	color: var(--theme-text-color, #0b0b0b);
}

.adrc-socio__saving {
	display: inline-block;
	margin-left: 6px;
	padding: 0 8px;
	background: var(--theme-palette-color-5, #ebecec);
	font-size: 14px;
}

.adrc-socio__note {
	margin: 6px 0 0;
	font-size: 15px;
	color: var(--theme-palette-color-3, #434f58);
}

/* .button already gets the theme style (blue, square, 55px); just align it */
.adrc-socio__pay {
	justify-self: start;
}

/* ---------- Already a member ---------- */

.adrc-socio__member {
	margin: 0;
	padding: 16px 20px;
	background: var(--theme-palette-color-5, #ebecec);
}

/* ---------- FAQ ---------- */

.adrc-socio__faq h3 {
	margin: 0 0 8px;
	--theme-font-size: 22px;
	color: var(--theme-headings-color, #2e5ea6);
}

.adrc-socio__faq details {
	border-bottom: 1px solid var(--theme-border-color, #ebecec);
}

.adrc-socio__faq summary {
	padding: 12px 0;
	cursor: pointer;
	color: var(--theme-link-initial-color, #2e5ea6);
}

.adrc-socio__faq details p {
	margin: 0 0 14px;
}

/* ---------- Phones ---------- */

@media (max-width: 689px) {
	.adrc-socio {
		gap: 22px;
	}

	.adrc-socio__plans {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.adrc-socio__plan {
		grid-template-columns: 64px 1fr;
		column-gap: 16px;
		align-items: center;
		padding: 16px;
	}

	.adrc-socio__icon {
		grid-row: auto;
	}

	.adrc-socio__icon img {
		width: 64px;
		height: 64px;
	}

	.adrc-socio__name {
		--theme-font-size: 22px;
	}

	.adrc-socio__price strong {
		font-size: 24px;
	}

	.adrc-socio__pay {
		grid-column: 1 / -1;
		justify-self: stretch;
	}
}
