@charset "UTF-8";

.site-banners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 12px;
  padding-top: 12px;
}

.banner-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 96px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #842031;
  background: linear-gradient(115deg, #fff, #ffedf0);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(91, 24, 37, .06);
  transition: transform .16s, box-shadow .16s;
}

.banner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 9px 24px rgba(91, 24, 37, .13);
}

.banner-card-image {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  background: #fff;
}

.banner-card-title {
  max-width: 100%;
  padding: 24px 55px 24px 24px;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 850;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.banner-card-label {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 6px;
  color: #5c4a4e;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(120, 81, 89, .18);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.35;
}

@media (max-width: 760px) {
  .site-banners { grid-template-columns: minmax(0, 1fr); gap: 8px; padding-top: 8px; }
  .banner-card { min-height: 74px; }
  .banner-card-image { max-height: 150px; }
  .banner-card-title { padding: 20px 45px 20px 18px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .banner-card { transition: none; }
}
