/**
 * Advertisement Placements.
 *
 * Provides shared layout and responsive containment
 * for manually placed advertisements.
 *
 * @package Lyrics71
 */

/* Shared advertisement wrapper. */
.lyrics-ad {
	box-sizing: border-box;
	clear: both;
	width: 100%;
	max-width: 100%;
	margin-block: 1.5rem;
	text-align: center;
}

/* Prevent ad content from exceeding its container. */
.lyrics-ad > * {
	max-width: 100%;
}

/* Keep embedded ad frames within the available width. */
.lyrics-ad iframe {
	max-width: 100%;
}

/* Center responsive AdSense units when applicable. */
.lyrics-ad ins.adsbygoogle {
	display: block;
	max-width: 100%;
	margin-inline: auto;
}

/* Reduce surrounding space on smaller screens. */
@media (max-width: 575.98px) {
	.lyrics-ad {
		margin-block: 1rem;
	}
}