/* RoundGram — advertising requirements & pricing */

.page-ads main {
  max-width: 800px;
  padding-bottom: 4rem;
}

.ads-hero {
  padding: clamp(2rem, 6vw, 3rem) 0 1.5rem;
}

.ads-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 4.2vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.ads-hero .lead {
  margin: 0;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.ads-contact {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.ads-contact a {
  color: #3dd6ff;
  font-weight: 600;
}

.ads-section {
  margin-top: 2.25rem;
}

.ads-section h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.ads-rules {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ads-rule {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.ads-rule-num {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  display: grid;
  place-items: center;
  font-size: 0.8125rem;
  font-weight: 700;
  border-radius: 8px;
  background: rgba(61, 214, 255, 0.12);
  color: #3dd6ff;
  border: 1px solid rgba(61, 214, 255, 0.2);
}

.ads-rule p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

.ads-rule strong {
  color: #fff;
}

.ads-pricing {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.ads-pricing table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.ads-pricing th,
.ads-pricing td {
  padding: 1rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.ads-pricing th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(0, 0, 0, 0.2);
}

.ads-pricing tr:last-child td {
  border-bottom: none;
}

.ads-pricing td:last-child {
  font-weight: 700;
  color: #3dd6ff;
  white-space: nowrap;
}

.ads-pricing tr:hover td {
  background: rgba(61, 214, 255, 0.04);
}

.ads-pricing-note {
  margin: 0.85rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.ads-cards {
  display: none;
}

@media (max-width: 560px) {
  .ads-pricing table {
    display: none;
  }

  .ads-cards {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
  }

  .ads-price-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
  }

  .ads-price-card span {
    color: var(--text-muted);
    font-size: 0.92rem;
  }

  .ads-price-card strong {
    font-size: 1.05rem;
    color: #3dd6ff;
  }
}

.ads-cta {
  margin-top: 2rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(61, 214, 255, 0.15);
  background: linear-gradient(135deg, rgba(30, 155, 255, 0.15), rgba(61, 214, 255, 0.06));
  text-align: center;
}

.ads-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.ads-cta p {
  margin: 0 0 1.1rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.ads-share-url {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 0.8125rem;
  word-break: break-all;
  text-align: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: #3dd6ff;
}