/* Home page v2 phone accordions (main site only), driven by home-acc.js. Nothing applies from 768px up. */
.rs-acc-btn { display: none; }

@media (max-width: 767px) {
	.rs-acc-on .rs-home:is(.rs-h--why, .rs-h--finance, .rs-h--barons, .rs-h--panels, .rs-h--branches) {
		padding-top: 0;
		padding-bottom: 0;
		border-top: 1px solid var(--rs-line, #e3e6ea);
	}
	.rs-acc-on .rs-home:is(.rs-h--why, .rs-h--finance, .rs-h--barons, .rs-h--panels, .rs-h--branches):not(.is-open) > .rs-h__wrap {
		display: none !important;
	}
	.rs-acc-on .rs-home.rs-acc.is-open > .rs-h__wrap {
		padding-top: 8px;
		padding-bottom: 40px;
	}
	/* The bar's label says what the panel is, so the eyebrow above the heading would repeat it. */
	.rs-acc-on .rs-home.rs-acc > .rs-h__wrap > .rs-h__head .rs-h__eyebrow { display: none; }
	.rs-acc-on .rs-home.rs-acc + .rs-home:not(.rs-acc) { border-top: 1px solid var(--rs-line, #e3e6ea); }

	.rs-acc-btn {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		width: 100%;
		min-height: 64px;
		margin: 0;
		padding: 16px;
		border: 0;
		border-radius: 0;
		background: var(--rs-card-bg, #fff);
		color: var(--rs-navy, #0f1a2a);
		font: 700 18px/1.25 Archivo, sans-serif;
		text-align: left;
		cursor: pointer;
		-webkit-tap-highlight-color: transparent;
	}
	.rs-acc-btn:focus-visible { outline: 2px solid var(--rs-blue, #0040c5); outline-offset: -4px; }
	.rs-acc-btn__icon {
		position: relative;
		flex: none;
		width: 32px;
		height: 32px;
		border-radius: 50%;
		background: var(--rs-navy, #0f1a2a);
	}
	.rs-acc-btn__icon::before,
	.rs-acc-btn__icon::after {
		content: "";
		position: absolute;
		top: 50%;
		left: 50%;
		width: 12px;
		height: 2px;
		margin: -1px 0 0 -6px;
		background: #fff;
		transition: transform .2s ease;
	}
	.rs-acc-btn__icon::after { transform: rotate(90deg); }
	.rs-acc.is-open .rs-acc-btn__icon::after { transform: rotate(0deg); }
}
