/**
 * Technoalig Ad Slots Manager: Frontend Ad Stylesheet
 *
 * Styles for Header, Homepage (index.html), and Single Post ad placements.
 * Developed by Techno Alig for RokhThok News.
 */

.notranslate,
.material-symbols-outlined,
.material-symbols-rounded,
.material-icons {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	user-select: none;
	font-feature-settings: 'liga';
	direction: ltr !important;
	unicode-bidi: isolate;
	text-transform: none !important;
	font-style: normal !important;
	line-height: 1;
	letter-spacing: normal;
	word-wrap: normal;
	white-space: nowrap;
}

.sd-ad-container-outer {
	transition: opacity 0.25s ease;
}

.tmh-ad-wrapper {
	margin: 18px auto;
	text-align: center;
}

.tmh-native-ad {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tmh-native-ad:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(142, 11, 22, 0.12);
}

.sd-ad-leaderboard {
	width: 100% !important;
	max-width: 760px !important;
	min-height: 80px !important;
	height: auto !important;
	box-sizing: border-box !important;
	background: linear-gradient(135deg, #FFF9ED 0%, #FDF2F3 100%);
	border: 1px solid #FDE68A;
	border-radius: 8px;
	padding: 10px 18px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.sd-ad-billboard {
	width: 100% !important;
	max-width: 970px !important;
	min-height: 85px !important;
	height: auto !important;
	box-sizing: border-box !important;
}

/* In-Feed Native Ad Cards */
.tmh-infeed-card {
	width: 100% !important;
	box-sizing: border-box !important;
	padding: 18px 24px !important;
	border-radius: 12px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 16px !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.tmh-infeed-left {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	min-width: 0 !important;
	flex: 1 !important;
}

.tmh-infeed-top {
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	flex-shrink: 0 !important;
}

.tmh-infeed-icon {
	width: 44px !important;
	height: 44px !important;
	border-radius: 50% !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
	font-weight: 900 !important;
}

.tmh-infeed-text {
	min-width: 0 !important;
	flex: 1 !important;
	text-align: left !important;
}

.tmh-infeed-headline {
	margin: 0 !important;
	font-size: 15px !important;
	font-weight: 800 !important;
	line-height: 1.4 !important;
}

.tmh-infeed-subhead {
	margin: 3px 0 0 !important;
	font-size: 12.5px !important;
	color: #64748B !important;
	line-height: 1.4 !important;
}

.tmh-infeed-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	padding: 9px 20px !important;
	border-radius: 24px !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
	transition: all 0.2s ease !important;
}

/* Single Post Sidebar Square / Rectangle Ad Card */
.tmh-sidebar-ad-card {
	background: linear-gradient(135deg, #FFF9ED 0%, #FDF2F3 100%);
	border: 1px solid #FDE68A;
	border-radius: 12px;
	padding: 18px 16px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	margin: 0;
}

.tmh-sidebar-ad-card .tmh-ad-badge {
	display: inline-block;
	font-size: 9.5px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #94A3B8;
	margin-bottom: 10px;
}

.tmh-sidebar-ad-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 10px;
	border-radius: 12px;
	background: rgba(142, 11, 22, 0.1);
	color: #8E0B16;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tmh-sidebar-ad-card .tmh-ad-headline {
	font-size: 15.5px;
	font-weight: 800;
	color: #8E0B16;
	margin: 0 0 6px;
	line-height: 1.35;
}

.tmh-sidebar-ad-card .tmh-ad-subhead {
	font-size: 12.5px;
	color: #475569;
	margin: 0 0 14px;
	line-height: 1.45;
}

.tmh-sidebar-ad-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: #8E0B16;
	color: #FFFFFF !important;
	padding: 9px 18px;
	border-radius: 8px;
	font-size: 12.5px;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 2px 6px rgba(142, 11, 22, 0.25);
}

@media (max-width: 767px) {
	.sd-ad-leaderboard,
	.sd-ad-billboard {
		flex-direction: column !important;
		align-items: stretch !important;
		text-align: left !important;
		gap: 12px !important;
		padding: 14px !important;
		height: auto !important;
	}

	.sd-ad-leaderboard > div,
	.sd-ad-billboard > div {
		width: 100% !important;
		justify-content: flex-start !important;
		text-align: left !important;
	}

	.sd-ad-leaderboard .tmh-ad-btn,
	.sd-ad-billboard .tmh-ad-btn {
		width: 100% !important;
		box-sizing: border-box !important;
		justify-content: center !important;
		text-align: center !important;
		padding: 10px 16px !important;
	}

	.tmh-infeed-card {
		flex-direction: column !important;
		align-items: stretch !important;
		padding: 16px 14px !important;
		gap: 14px !important;
	}

	.tmh-infeed-left {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 12px !important;
		width: 100% !important;
	}

	.tmh-infeed-top {
		width: 100% !important;
	}

	.tmh-infeed-text {
		width: 100% !important;
	}

	.tmh-infeed-headline {
		font-size: 15px !important;
		line-height: 1.45 !important;
		white-space: normal !important;
	}

	.tmh-infeed-subhead {
		font-size: 12.5px !important;
		line-height: 1.45 !important;
		white-space: normal !important;
	}

	.tmh-infeed-btn {
		width: 100% !important;
		padding: 11px 16px !important;
	}
}
