/* PATCH-090 — Google Ads / emplacements publicitaires LocaTroc */
.lt-ad-slot {
  position: relative;
  border: 1px dashed rgba(21, 154, 97, .35);
  background: linear-gradient(135deg, rgba(234,255,244,.92), rgba(234,246,255,.92));
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(23, 50, 77, .08);
}

.lt-ad-label {
  position: absolute;
  top: .55rem;
  left: .75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #159a61;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(23, 50, 77, .08);
}

.lt-ad-placeholder-inner {
  min-height: 100%;
  width: 100%;
  padding: 2.25rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #426052;
  gap: .25rem;
}

.lt-ad-placeholder-inner strong {
  color: #17324d;
  font-size: .95rem;
}

.lt-ad-placeholder-inner small {
  color: #5f7469;
}

.lt-ad-banner {
  min-height: 96px;
  width: 100%;
}

.lt-ad-banner ins.adsbygoogle {
  min-height: 90px;
}

.lt-ad-infeed {
  min-height: 360px;
}

.lt-ad-infeed ins.adsbygoogle {
  min-height: 320px;
}

.lt-ad-sidebar {
  position: fixed;
  top: 190px;
  right: 1rem;
  z-index: 20;
  width: 160px;
  min-height: 600px;
  align-items: stretch;
}

.lt-ad-sidebar ins.adsbygoogle {
  min-height: 560px;
}

@media (max-width: 1399.98px) {
  .lt-ad-sidebar {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .lt-ad-banner {
    min-height: 80px;
  }

  .lt-ad-infeed {
    min-height: 300px;
  }

  .lt-ad-infeed ins.adsbygoogle {
    min-height: 280px;
  }
}

/* PATCH-094 — Régie publicitaire intelligente */
.lt-ad-banner-top,
.lt-ad-banner-bottom {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.lt-ad-banner-bottom {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.lt-ad-sidebar-left {
  left: 1rem;
  right: auto;
}

.lt-ad-sidebar-right {
  right: 1rem;
  left: auto;
}

.lt-ad-infeed.announcement-card {
  display: flex;
  min-height: 360px;
  border-style: dashed;
}

.lt-ad-infeed .adsbygoogle,
.lt-ad-infeed .lt-ad-placeholder-inner {
  flex: 1 1 auto;
}

@media (min-width: 1400px) {
  body:has(.lt-ad-sidebar-left) .lt-v5-main > .container-fluid,
  body:has(.lt-ad-sidebar-left) .lt-v5-footer > div > .container-fluid {
    padding-left: 190px !important;
  }

  body:has(.lt-ad-sidebar-right) .lt-v5-main > .container-fluid,
  body:has(.lt-ad-sidebar-right) .lt-v5-footer > div > .container-fluid {
    padding-right: 190px !important;
  }
}
