/* For venues — venue strip + partners marquee */

.community-page .venue-strip.legal-wrap {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  max-width: 1100px;
  width: calc(100% - 48px);
  margin: -32px auto 8px;
  padding: 0;
  border: none;
  position: relative;
  z-index: 3;
}

.community-page .venue-strip > span {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  text-align: left;
  padding: 16px 18px;
  background: linear-gradient(145deg, #fffdf9 0%, #f7f5ee 100%);
  border: 1px solid rgba(8, 76, 60, 0.09);
  border-radius: 16px;
  box-shadow:
    0 2px 4px rgba(8, 76, 60, 0.04),
    0 12px 32px rgba(8, 76, 60, 0.09);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #084c3c;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.community-page .venue-strip > span:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 244, 93, 0.45);
  box-shadow:
    0 6px 12px rgba(8, 76, 60, 0.07),
    0 20px 40px rgba(8, 76, 60, 0.12);
}

.community-page .venue-strip .icon {
  display: block;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 11px;
  box-sizing: content-box;
  border-radius: 14px;
  background: linear-gradient(145deg, #edf5e5, #dce9d0);
  color: #2a6b52;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.community-page .pm-section {
  padding: 40px 0 52px;
  margin-top: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(248, 247, 241, 0.4) 0%, #ebe8de 55%, #f8f7f1 100%);
  border-top: 1px solid rgba(8, 76, 60, 0.06);
}

.community-page .pm-section > .legal-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.community-page .pm-section .legal-eyebrow {
  justify-content: center;
}

.community-page .pm-section h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-top: 8px;
}

.community-page .pm-section h2 em {
  color: #fa715b;
}

.community-page .pm-viewport {
  margin-top: 28px;
  padding: 8px 0 16px;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.community-page .pm-track {
  gap: 16px;
  animation: pmscroll 42s linear infinite;
}

.community-page .pm-item {
  min-width: 272px;
  background: #fffdf9;
  border: 1px solid rgba(8, 76, 60, 0.1);
  border-radius: 20px;
  padding: 12px 18px 12px 12px;
  box-shadow:
    0 2px 4px rgba(8, 76, 60, 0.05),
    0 14px 32px rgba(8, 76, 60, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.community-page .pm-viewport:hover .pm-item {
  animation-play-state: paused;
}

.community-page .pm-item:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(197, 244, 93, 0.55);
  box-shadow:
    0 8px 16px rgba(8, 76, 60, 0.08),
    0 22px 44px rgba(8, 76, 60, 0.14);
}

.community-page .pm-item strong {
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #084c3c;
}

.community-page .pm-item small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: #6a8279;
}

.community-page .pm-item .pp-logo,
.community-page .pm-item .pp-initials {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(8, 76, 60, 0.12);
}

.community-page .pm-item.sample {
  border-style: solid;
  background: linear-gradient(135deg, #fffdf9, #f3f8eb);
}

.community-page .pm-more {
  text-align: center;
  margin-top: 24px;
}

.community-page .pm-more .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 700;
  color: #084c3c;
  background: #fffdf9;
  border: 1px solid rgba(8, 76, 60, 0.12);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(8, 76, 60, 0.08);
  text-decoration: none;
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.community-page .pm-more .text-link:hover {
  background: #edf5e5;
  box-shadow: 0 10px 28px rgba(8, 76, 60, 0.12);
  transform: translateY(-2px);
  text-decoration: none;
}

@media (max-width: 900px) {
  .community-page .venue-strip.legal-wrap {
    flex-direction: column;
    width: calc(100% - 32px);
    margin-top: -20px;
  }

  .community-page .venue-strip > span {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .community-page .venue-strip > span {
    font-size: 12px;
    padding: 14px 16px;
  }

  .community-page .pm-item {
    min-width: 240px;
  }
}
