/**
 * Artist Capitol footer accordion — mobile only.
 *
 * Keep the native <details> interaction available and make its visual state
 * explicit, independent from the desktop footer rules.
 */
@media (max-width: 849px) {
	.ac-footer-details > summary {
		cursor: pointer !important;
		pointer-events: auto;
	}

	.ac-footer-details > summary::after {
		content: "" !important;
		flex: 0 0 12px;
		width: 12px;
		height: 12px;
		margin-right: 4px;
		border: 0;
		background: var(--ac-footer-muted);
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 6 8.5 10 4.5' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
		font-size: 0;
		transform: rotate(0);
		transition: transform 180ms ease;
	}

	.ac-footer-details[open] > summary::after {
		content: "" !important;
		transform: rotate(180deg);
	}

	.ac-footer-details:not([open]) > .ac-footer-detail-content {
		display: none !important;
	}

	.ac-footer-details[open] > .ac-footer-detail-content {
		display: block !important;
	}
}

/* Flatten only the navigation wrappers so all six closed items share
   compact rows instead of the height of their neighbouring column. */
@media (min-width: 550px) and (max-width: 849px) {
	.ac-footer-main {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 28px;
		align-items: start;
	}

	.ac-footer-main > .col:first-child {
		grid-column: 1 / -1;
		width: 100%;
		max-width: none;
	}

	.ac-footer-main > .col:not(:first-child),
	.ac-footer-main > .col:not(:first-child) > .col-inner {
		display: contents !important;
	}
}
