/* GTH Ads — slots no front. Container centralizado, sem empurrar layout. */

.gth-ad {
	width: 100%;          /* preenche ate o max-width do slot (inline) */
	margin: 0 auto;
	text-align: center;
	line-height: 0;
	box-sizing: border-box;
}

/* Placeholder dos slots fixos ocupa 100% da largura do slot. */
.gth-ad__ph { width: 100%; }

/* Slot responsivo: faixa larga e centralizada. Sem Elementor em volta,
   estica direto na largura da home. */
.gth-ad--responsive {
	display: block;
	width: 100%;
	max-width: 1200px;
	margin: 40px auto;
	box-sizing: border-box;
}
.gth-ad--responsive .gth-ad__ph {
	display: flex;
	width: 100%;
	box-sizing: border-box;
}

/* Placeholder responsivo = faixa larga e baixa (leaderboard), nao quadrado. */
.gth-ad__ph--wide {
	height: 110px;
	min-height: 110px;
	width: 100%;
}

.gth-ad__img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 auto;
}

.gth-ad__link { display: block; }

/* Slots verticais nas sidebars ficam grudados no topo da coluna. */
.gth-ad--single_sidebar_top,
.gth-ad--home_sidebar { margin-bottom: 20px; }

.gth-ad--single_sidebar_bottom,
.gth-ad--category_sidebar { margin-top: 20px; }

/* Slot de meio de artigo respira no texto. */
.gth-ad--single_mid_content { margin: 28px auto; }

/* Leaderboard do cabecalho. */
.gth-ad--header_leaderboard { margin: 0 auto 12px; }

/* AdSense responsivo nao estoura o container do slot. */
.gth-ad .adsbygoogle { max-width: 100%; }

/* Placeholder — nenhum banner alugado e AdSense nao configurado.
   Visual original GTH: faixas diagonais bege/dourado (mesmo do st-adbox). */
.gth-ad__ph {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 100%;
	border: 1px dashed #b08327;
	border-radius: 8px;
	background: repeating-linear-gradient(45deg, #ece3d2, #ece3d2 14px, #e3d6bd 14px, #e3d6bd 28px);
	color: #9a8d76;
	font-family: Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 2px;
	line-height: 1.4;
	text-align: center;
}
.gth-ad__ph span {
	font-size: 16px;
	letter-spacing: 1px;
	margin-top: 6px;
	color: #b08327;
	font-weight: 700;
}

/* ===== Pop-up de anuncio (abre 1x por sessao) ===== */
.gth-popup-overlay{
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(10,10,12,.72);
	backdrop-filter: blur(2px);
	padding: 20px;
}
.gth-popup-overlay[hidden]{ display: none; }
.gth-popup-box{
	position: relative;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 24px 70px rgba(0,0,0,.5);
	padding: 10px;
	max-width: 95vw;
	animation: gthPopIn .28s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes gthPopIn{
	from{ transform: scale(.9) translateY(10px); opacity: 0; }
	to{ transform: scale(1) translateY(0); opacity: 1; }
}
.gth-popup-label{
	display: block;
	text-align: center;
	font: 700 10px/1 Arial, sans-serif;
	letter-spacing: 2px;
	color: #9a9a9a;
	text-transform: uppercase;
	padding: 4px 0 8px;
}
.gth-popup-close{
	position: absolute;
	top: -14px;
	right: -14px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: #111;
	color: #fff;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(0,0,0,.4);
	transition: background .15s, transform .15s;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	font-size: 0;
}
.gth-popup-close::before{
	content: "";
	display: block;
	width: 14px;
	height: 14px;
	background:
		linear-gradient(#fff,#fff) center/14px 2px no-repeat,
		linear-gradient(#fff,#fff) center/2px 14px no-repeat;
	transform: rotate(45deg);
}
.gth-popup-close:hover{ background: #d6122b; transform: scale(1.08); }
.gth-popup-body{ display: flex; border-radius: 6px; overflow: hidden; }
.gth-popup-body img{ max-width: 100%; height: auto; display: block; border-radius: 6px; }
