/* Sponsor strips at the bottom of the welcome page and the menu: white, slim, always in view. */
.ads { width: 100%; }
.ads-label {
  margin-bottom: 6px;
  font-size: 10.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: #8a90a0;
}
.ads-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 8px; }
.ad-card {
  min-width: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 12px;
  background: #fff; border: 1px solid #e5e7ec;
  color: #1d2230; text-align: left;
}
.ad-logo {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 8px; object-fit: contain; background: #fff;
}
/* Uploaded logos keep their shape: square ones stay square, wide ones get a wider box. */
img.ad-logo { width: auto; min-width: 44px; max-width: 92px; }
.ad-initials {
  display: grid; place-items: center;
  background: linear-gradient(135deg, #ff8a3d, #f26419); color: #fff;
  font-size: 15px; font-weight: 900; text-transform: uppercase;
}
.ad-body { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ad-title { font-size: 14px; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.ad-slogan, .ad-address {
  font-size: 12px; color: #6b7180; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ad-address {
  color: #8a90a0; white-space: normal;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.ad-actions { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.ad-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  padding: 6px 10px; border-radius: 8px;
  background: #2563eb; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.ad-btn-ghost { background: #f1f3f7; color: #1d2230; }

@media (max-width: 560px) {
  .ads-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  img.ad-logo { max-width: 72px; }
  .ad-slogan { display: none; }
}
