/* DesiOrb Ads — front-end styles */

.dorb-ad {
	position: relative;
	max-width: var(--dorb-ad-w, 970px);
	margin: 28px auto;
	text-align: center;
}

/* Location reference (A1, A2, …) — tiny, bottom-right corner of the space */
.dorb-ad__ref {
	position: absolute;
	right: 3px;
	bottom: 3px;
	font-size: 8px;
	line-height: 1;
	font-weight: 600;
	letter-spacing: 0.06em;
	padding: 2px 4px;
	border-radius: 3px;
	color: rgba(255, 255, 255, 0.85);
	background: rgba(16, 21, 29, 0.45);
	pointer-events: none;
	z-index: 2;
}

.dorb-ad__label {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #9aa1a9;
	margin-bottom: 6px;
}

.dorb-ad__item img,
.dorb-ad__img {
	max-width: 100%;
	height: auto;
	display: inline-block;
	border-radius: 10px;
}

.dorb-ad__link {
	display: inline-block;
	line-height: 0;
}

.dorb-ad__link:focus-visible {
	outline: 2px solid #f58a34;
	outline-offset: 2px;
	border-radius: 10px;
}

/* HTML/embed creatives: keep them from overflowing their column */
.dorb-ad__item iframe,
.dorb-ad__item ins {
	max-width: 100%;
}

/* In-article placement gets a little more breathing room */
.dorb-ad--inline {
	margin: 36px auto;
}

.dorb-ad--end {
	margin-top: 40px;
}

/* Sidebar widget: hug the column */
.dorb-ad--widget {
	margin: 0 auto 24px;
}

/* Homepage right-column spots (A2/A3), moved into the column by JS */
.dorb-ad--home-right {
	margin: 22px auto 0;
}

/* Floating side rail: revealed by JS only when the margin has room */
.dorb-ad-rail {
	position: fixed;
	top: 120px;
	z-index: 80;
	max-height: calc(100vh - 140px);
	overflow: hidden;
}

.dorb-ad-rail .dorb-ad {
	margin: 0;
	width: var(--dorb-ad-w, 160px);
	max-width: none;
}

.dorb-ad-rail .dorb-ad__item img,
.dorb-ad-rail .dorb-ad__img {
	max-width: 100%;
}

/* A5 billboard: full-width band above the site header */
.dorb-billboard {
	background: #0b2440;
	padding: 18px 12px;
}

.dorb-billboard .dorb-ad {
	margin: 0 auto;
}

.dorb-billboard .dorb-ad__label {
	color: rgba(233, 238, 244, 0.55);
}

/* A9 anchored bottom bar: fixed, dismissible, revealed after scroll */
.dorb-anchor {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
	background: rgba(255, 255, 255, 0.97);
	box-shadow: 0 -4px 18px rgba(16, 21, 29, 0.18);
	padding: 8px 44px 8px 12px;
	text-align: center;
}

.dorb-anchor .dorb-ad {
	margin: 0 auto;
}

.dorb-anchor .dorb-ad__label {
	margin-bottom: 2px;
}

.dorb-anchor__close {
	position: absolute;
	top: 6px;
	right: 8px;
	width: 28px;
	height: 28px;
	border: 1px solid #c9d2da;
	border-radius: 50%;
	background: #fff;
	color: #444;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	padding: 0;
}

.dorb-anchor__close:hover {
	background: #f0f3f6;
}

@media (max-width: 600px) {
	.dorb-anchor {
		padding: 6px 40px 6px 8px;
	}
}

/* Admin-only empty-slot placeholder (mirrors the homepage placeholder look) */
.dorb-ad--empty .dorb-ad__ph {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	min-height: 90px;
	border: 2px dashed #c9d2da;
	border-radius: 10px;
	background: #f4f7f9;
	color: #7a8894;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 18px;
}

.dorb-ad--empty .dorb-ad__ph span {
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	font-size: 12px;
}
