/* Petition page — builds on form.css. Only the petition-specific additions live here. */

.petition-banner {
  margin: 0 0 1.5rem;
}

.petition-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.petition-lead {
  font-family: "Lora", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.6;
  color: #1a1a1a;
  margin: 0 0 1.25rem;
}

.petition-count {
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.4;
  color: #111;
  text-align: center;
  margin: 0 0 1.5rem;
}

.petition-noscript {
  background: #fff3cd;
  border: 1px solid #ffc107;
  padding: 1rem;
  border-radius: 4px;
  margin: 0;
}

/* Consent / opt-in checkboxes with inline links — a plain checkbox + text row, so that
   clicking a link does not toggle the box (unlike the card-style options in form.css). */
.petition-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
}

.petition-check input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  accent-color: var(--color-accent-muted);
}

.petition-check a {
  text-decoration: underline;
}

/* Honeypot — visually removed but still present for bots; not display:none so simple
   bots that skip hidden fields still tend to fill it. */
.petition-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#pet-submit {
  margin-top: 1.5rem;
}

/* Success panel + share buttons */
.petition-success-title {
  font-family: "Lora", Georgia, serif;
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.petition-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.petition-share-btn {
  display: inline-block;
  background: none;
  border: 1.5px solid var(--color-accent-muted);
  border-radius: 100px;
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.petition-share-btn:hover {
  background: var(--color-accent-muted);
  color: #1a1a1a;
}

/* Expandable full copy — a callout card placed up top, but still secondary to the CTA. */
.petition-readmore {
  margin: 0 0 2.75rem;
  background: var(--color-bg-callout, #fdf8ed);
  border: 1px solid var(--color-card-border);
  border-left: 5px solid var(--color-accent-muted);
  border-radius: 8px;
  padding: 0 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.petition-readmore summary {
  cursor: pointer;
  font-weight: 700;
  color: #1a1a1a;
  font-size: 1.15rem;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.15rem 0;
}

.petition-readmore summary:hover {
  color: var(--color-accent-muted);
}

.petition-readmore summary::-webkit-details-marker {
  display: none;
}

/* Circular +/− affordance */
.petition-readmore summary::before {
  content: "+";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--color-accent-muted);
  color: #1a1a1a;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.petition-readmore[open] summary::before {
  content: "\2013"; /* en dash */
}

.petition-readmore-body {
  padding: 0 0 1rem;
  line-height: 1.7;
  color: #333;
  border-top: 1px solid var(--color-card-border);
  margin-top: -1px;
}

.petition-readmore-body p {
  margin: 1rem 0 0;
}

/* Consent line beneath the submit button (replaces the old tick box). */
.petition-consent-note {
  font-size: 0.78rem;
  font-style: italic;
  color: #777;
  line-height: 1.5;
  margin: 0 0 1.1rem;
}

.petition-consent-note a {
  text-decoration: underline;
  color: #555;
}

/* "What to do next" blocks in the success panel. */
.petition-next {
  text-align: left;
  background: #fff;
  border: 1px solid var(--color-card-border);
  border-radius: 8px;
  padding: 1.25rem 1.4rem;
  margin-top: 1.25rem;
}

.petition-next-step {
  font-family: "Lora", Georgia, serif;
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
  color: #1a1a1a;
}

.petition-next p {
  margin: 0 0 0.9rem;
  color: #444;
  line-height: 1.6;
}

/* Filled "Join the FSU" call to action. */
.petition-share-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-muted);
}

.petition-share-btn--primary {
  background: var(--color-yellow);
  border-color: var(--color-yellow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.petition-share-btn--primary:hover {
  background: #e0b840;
  border-color: #e0b840;
  color: #1a1a1a;
}
