/* financeads-ads.css
 *
 * Inzidentelle Affiliate-Werbeplaetze (financeads, Phase 3), gerendert von
 * financeads\AdSlotRenderer und ausschliesslich vom InsideFilingsLayout
 * geladen. Bewusst dezent gehalten — Werbung soll nicht ueberladen.
 *
 * Farben/Radien kommen aus den globalen Custom Properties → automatische
 * Dark-Mode-Paritaet. Keine !important-Regeln.
 */

.ad-slot {
  --ad-slot-gap: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--surface-container-low);
  padding: 0.75rem;
}

.ad-slot__label {
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.ad-slot__cards {
  display: flex;
  flex-direction: column;
  gap: var(--ad-slot-gap);
}

.ad-slot__card {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  padding: 0.625rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  color: var(--text-main);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ad-slot__card:hover,
.ad-slot__card:focus-visible {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

/* Tastatur-Fokus klar abheben (Hover und Fokus haben verschiedene Gruende). */
.ad-slot__card:focus-visible {
  outline: 2px solid var(--border-strong);
  outline-offset: 2px;
}

.ad-slot__brand-row {
  display: flex;
  align-items: center;
  min-height: 1.75rem;
}

.ad-slot__logo {
  max-height: 1.75rem;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.ad-slot__brand {
  font-weight: 600;
  color: var(--text-main);
}

.ad-slot__hook {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.ad-slot__cta {
  align-self: flex-start;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
}

/* Inline-Slot: zwischen Artikel und Footer, Karten nebeneinander wenn Platz. */
.ad-slot--inline {
  margin: 1.5rem 0;
}

.ad-slot--inline .ad-slot__cards {
  flex-direction: row;
  flex-wrap: wrap;
}

.ad-slot--inline .ad-slot__card {
  flex: 1 1 14rem;
}

/* Sidebar-Slot: schmal, Karten gestapelt (erbt column-Default). */
.ad-slot--sidebar {
  margin: 0.75rem 0.5rem;
}

@media (max-width: 600px) {
  .ad-slot--inline .ad-slot__cards {
    flex-direction: column;
  }
}
