/* AUSWEBPRO Core — advertising slots. Visually separate from editorial content. */
.ad-wrap {
	margin: 24px auto;
	padding: 8px 0 12px;
	border-top: 1px solid #e3e3e3;
	border-bottom: 1px solid #e3e3e3;
	text-align: center;
	clear: both;
}
.ad-label {
	margin: 0 0 6px;
	font: 600 10px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #767676;
}
.ad-box { min-height: var(--ad-hm, 250px); display: flex; align-items: center; justify-content: center; }
.ad-box > ins { width: 100%; }
.ad-ph {
	display: flex; flex-direction: column; justify-content: center; gap: 4px;
	width: 100%; height: var(--ad-hm, 250px);
	background: repeating-linear-gradient(45deg, #f4f4f4, #f4f4f4 10px, #ececec 10px, #ececec 20px);
	border: 1px dashed #b5b5b5; color: #555;
	font: 13px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.ad-ph strong { font-size: 0.8125rem; color: #333; }
.ad-ph small { color: #888; }

@media (min-width: 769px) {
	.ad-box, .ad-ph { min-height: var(--ad-h, 250px); }
	.ad-ph { height: var(--ad-h, 250px); }
}

/* Desktop-only slots (sidebars) */
.ad-wrap--desktop { margin-top: 0; }
@media (max-width: 1024px) {
	.ad-wrap--desktop { display: none; }
}

/* Sidebar and in-article slots */
.rail .ad-wrap { border: 0; padding-top: 0; }
.rail .ad-box { width: 300px; margin: 0 auto; }
.entry-content .ad-wrap { max-width: 336px; font-family: system-ui, sans-serif; }
.entry-content .ad-wrap--article-incontent { max-width: 100%; }
