/*
 * Setu WordPress Plugin - Front-End Advertisement Banner Styles
 *
 * Provides responsive, clean presentation for banner ads placed above the header
 * and between single post content (after title and meta).
 *
 * @package Setu
 * @since   1.2.0
 */

.setu-ad-container {
  width: 100%;
  margin: 18px auto;
  box-sizing: border-box;
  clear: both;
  position: relative;
  z-index: 99;
}

.setu-ad-above-header {
  margin-top: 0;
  margin-bottom: 20px;
  padding: 0 16px;
}

.setu-ad-between-content {
  margin: 24px 0;
  padding: 4px 0;
}

.setu-ad-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.setu-ad-center .setu-ad-list {
  align-items: center;
}

.setu-ad-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #8c8f94;
  margin-bottom: 6px;
  line-height: 1.2;
  text-align: center;
  user-select: none;
}

.setu-ad-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.setu-ad-banner {
  display: block;
  max-width: 100%;
  margin: 0 auto;
}

.setu-ad-link {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
  max-width: 100%;
  cursor: pointer;
}

.setu-ad-static {
  display: inline-block;
  line-height: 0;
  max-width: 100%;
  cursor: default;
}

.setu-ad-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.2s ease;
}

.setu-ad-link:hover .setu-ad-image,
.setu-ad-link:focus .setu-ad-image {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.13);
  opacity: 0.98;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .setu-ad-above-header {
    margin-bottom: 14px;
    padding: 0 10px;
  }

  .setu-ad-between-content {
    margin: 18px 0;
  }

  .setu-ad-image {
    border-radius: 6px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.07);
  }

  .setu-ad-label {
    font-size: 9px;
    margin-bottom: 4px;
  }
}
