.wp-block-shamaa-google-ad {
	width: 100%;
}


.shamaa-google-ad__content {
	box-sizing: border-box;
	display: grid;
	min-height: var(--shamaa-google-ad-min-height, 80px);
	place-items: center;
	border: 2px solid #f9fcee;
	background: #fff;
	overflow: hidden;
}

.shamaa-google-ad__content .adsbygoogle {
	width: 100%;
	min-height: var(--shamaa-google-ad-min-height, 80px);
}

.shamaa-google-ad--error {
	padding: 12px;
	border: 1px solid #cc1818;
	background: #fff2f2;
	color: #8a2424;
}

/* House banner stays outside the AdSense <ins>; Google loads normally first. */
.shamaa-google-ad__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4.5 / 1;
	line-height: 0;
}

.shamaa-google-ad__fallback[hidden] {
	display: none !important;
}

.shamaa-google-ad__fallback img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Hide the AdSense unit only after it is confirmed unfilled or fails loading. */
.shamaa-google-ad--fallback-active .adsbygoogle {
	display: none !important;
}
