/* meteo365 v4 — AdBlock-Gate Overlay
   Wird global via inc/header.php eingebunden. Nutzt Tokens aus tokens.css. */

html.adblock-active body > *:not(#adblock-gate) {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}
html.adblock-active {
  overflow: hidden;
}

#adblock-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 52, 77, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: adblockGateFade 220ms var(--ease, ease) both;
}

@keyframes adblockGateFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.adblock-gate__card {
  width: min(520px, 100%);
  background: var(--surface, #fff);
  color: var(--text, #0d1b2a);
  border-radius: var(--radius, 14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  padding: 32px 28px 28px;
  text-align: center;
  font-family: var(--font-sans, system-ui, sans-serif);
}

.adblock-gate__icon {
  font-size: 44px;
  line-height: 1;
  margin-bottom: 12px;
}

.adblock-gate__title {
  font-family: var(--font-display, var(--font-sans, system-ui));
  font-size: 22px;
  line-height: 1.25;
  margin: 0 0 12px;
  color: var(--text, #0b4f72);   /* themesicher: Karte ist im Default (blau) dunkel */
}

.adblock-gate__body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted, #455);
  margin: 0 0 20px;
}

/* Premium-Kasten: „werbefrei" prominent hervorgehoben (Gold-Akzent, themesicher). */
.adblock-gate__premium {
  margin: 0 0 16px;
  padding: 16px 18px;
  border-radius: 12px;
  text-align: center;
  background: linear-gradient(180deg, rgba(244, 169, 50, .16), rgba(244, 169, 50, .05));
  border: 1px solid var(--accent-soft-border, rgba(244, 169, 50, .42));
}
.adblock-gate__premium-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.adblock-gate__premium-badge {
  font: 800 10px/1 var(--font-sans, system-ui);
  letter-spacing: .14em;
  color: #6b3e00;
  background: var(--brand-sun, #f4a932);
  padding: 4px 9px;
  border-radius: 999px;
}
.adblock-gate__premium-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text, #0d1b2a);
}
.adblock-gate__premium-sub {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted, #556);
  margin: 4px 0 14px;
}
.adblock-gate__premium .adblock-gate__btn--primary {
  display: inline-block;
  width: 100%;
}

.adblock-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
}

.adblock-gate__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-pill, 999px);
  text-decoration: none;
  transition: transform var(--t, 180ms) var(--ease, ease),
              box-shadow var(--t, 180ms) var(--ease, ease),
              background var(--t, 180ms) var(--ease, ease);
}
.adblock-gate__btn:hover { transform: translateY(-1px); }

.adblock-gate__btn--primary {
  background: var(--brand-sun, #f4a932);
  color: #fff;
  box-shadow: 0 8px 22px var(--glow-2, rgba(244, 169, 50, .35));
}
.adblock-gate__btn--primary:hover {
  background: var(--brand-sun-2, #f29400);
}

.adblock-gate__btn--ghost {
  background: transparent;
  color: var(--brand-deep, #0b4f72);
  border: 1px solid var(--line, rgba(13, 27, 42, .15));
}
.adblock-gate__btn--ghost:hover {
  background: var(--line, rgba(13, 27, 42, .05));
}

.adblock-gate__help {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted, #6b7884);
}

/* Ads-Slot Komponente (allgemeine Basis) */
.ads-slot {
  display: block;
  margin: 24px auto;
  padding: 8px 0 0;
  text-align: center;
}
.ads-slot .ads-label {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted, #6b7884);
  margin-bottom: 6px;
}
.ads-slot--in_feed { grid-column: 1 / -1; }
.ads-slot--footer  { margin-top: 48px; }
