/* ================================================================
   STYLE.CSS  —  Petition Site + Form Widget
   Cleaned & merged: removed duplicate reset, unified body rule,
   reconciled font stacks, aligned color tokens, merged @media.
   ================================================================ */

/* ─── RESET & BASE ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 14px;
  color: #333;
  background: #f0f2f5;
}

a    { color: inherit; text-decoration: none; }
ul   { padding-left: 20px; }
li   { margin-bottom: 6px; line-height: 1.6; }
p    { margin-bottom: 10px; line-height: 1.7; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ─── TOP BAR ───────────────────────────────────────────────── */
.topbar {
  background: #222;
  color: #ccc;
  font-size: 12px;
  padding: 4px 0;
}
.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
}

/* ─── SITE HEADER ───────────────────────────────────────────── */
.site-header {
  background: #fff;
  border-bottom: 3px solid #1a5276;
  padding: 12px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.logo-area   { display: flex; align-items: center; gap: 12px; }
.logo-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #1a5276; color: #fff;
  font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text strong { font-size: 15px; color: #1a5276; letter-spacing: 1px; }

/* ─── HERO SECTION ──────────────────────────────────────────── */
.hero-section { background: #f5f5f5; padding: 30px 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;
}

.petition-title {
  font-size: 22px; font-weight: 700;
  color: #c0392b; text-transform: uppercase;
  margin-bottom: 20px; line-height: 1.3;
}

.hero-banner {
  background: #1a3a6b; color: #fff;
  border-radius: 6px; overflow: hidden;
  margin-bottom: 20px; padding: 40px 20px;
  text-align: center;
}
.banner-text { font-size: 28px; font-weight: 700; color: #5dade2; letter-spacing: 3px; }

.section-heading {
  font-size: 15px; font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px; margin: 20px 0 12px;
  border-radius: 3px; display: inline-block;
}
.section-heading.orange { background: #e67e22; color: #fff; }
.section-heading.blue   { background: #1a5276; color: #fff; }

.benefit-heading {
  font-size: 13px; font-weight: 700;
  color: #c0392b; margin: 14px 0 6px;
  text-transform: uppercase;
}

.updates-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.update-card  {
  background: #eaf4fb;
  border-left: 4px solid #1a5276;
  padding: 10px 12px; font-size: 12px;
  line-height: 1.5; border-radius: 3px;
}

/* ─── FORM BOX (site hero sidebar) ─────────────────────────── */
.form-box {
  background: #fff; border: 1px solid #ddd;
  border-radius: 6px; overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.form-header { background: #1a5276; color: #fff; padding: 14px 16px; text-align: center; }
.form-header h2 { font-size: 16px; letter-spacing: 1px; margin-bottom: 4px; }
.counter { font-size: 11px; color: #aee6ff; font-weight: 600; }

.form-box form { padding: 14px 16px; }
.form-box input[type="text"],
.form-box input[type="email"] {
  width: 100%; padding: 8px 10px; margin-bottom: 8px;
  border: 1px solid #ccc; border-radius: 3px;
  font-size: 13px; font-family: inherit;
  transition: border-color .2s;
}
.form-box input:focus { outline: none; border-color: #1a5276; }

.checkbox-label { font-size: 11px; font-weight: 700; color: #c0392b; margin: 10px 0 6px; text-transform: uppercase; }
.checkbox-row   { display: flex; align-items: flex-start; gap: 7px; font-size: 12px; margin-bottom: 7px; line-height: 1.4; cursor: pointer; }
.checkbox-row input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }

.btn-submit {
  width: 100%; padding: 12px;
  background: #e67e22; color: #fff;
  border: none; border-radius: 4px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; letter-spacing: 1px; margin-top: 10px;
  transition: background .2s;
}
.btn-submit:hover { background: #ca6f1e; }

.social-icons { display: flex; gap: 6px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.social-icons a {
  width: 30px; height: 30px;
  background: #1a5276; color: #fff;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.social-icons a:hover { background: #e67e22; }

.read-petition { border-top: 1px solid #ddd; padding: 14px 16px; background: #fafafa; }
.read-petition h3 { font-size: 14px; font-weight: 700; color: #1a5276; margin-bottom: 6px; }
.read-petition p  { font-size: 12px; margin-bottom: 4px; }

/* ─── ALERTS ────────────────────────────────────────────────── */
.alert         { padding: 10px 14px; margin: 0 16px 10px; border-radius: 4px; font-size: 13px; font-weight: 600; }
.alert-success { background: #d4efdf; color: #1e8449; border: 1px solid #a9dfbf; }
.alert-error   { background: #fadbd8; color: #922b21; border: 1px solid #f1948a; }

/* ─── INTERNATIONAL SECTION ─────────────────────────────────── */
.intl-section { background: #fff; padding: 40px 0; }
.section-center-heading {
  text-align: center; font-size: 20px; font-weight: 700;
  color: #1a5276; text-transform: uppercase; margin-bottom: 12px;
}
.intl-subtitle {
  text-align: center; color: #555; font-size: 13px;
  margin: 0 auto 24px; max-width: 700px;
}
.intl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.intl-card { border: 1px solid #ddd; border-radius: 6px; padding: 14px; font-size: 13px; line-height: 1.5; }
.flag-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  margin-bottom: 8px; padding-bottom: 6px;
  border-bottom: 2px solid #1a5276; color: #1a5276;
}
.view-list-link { display: inline-block; margin-top: 8px; color: #e67e22; font-weight: 600; font-size: 12px; }
.view-list-link:hover { text-decoration: underline; }

/* ─── HOW IT WORKS ──────────────────────────────────────────── */
.how-section { background: #f0f4f8; padding: 40px 0; }
.how-steps   { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 24px 0 30px; flex-wrap: wrap; }
.how-step    { text-align: center; background: #1a5276; color: #fff; border-radius: 8px; padding: 20px 24px; min-width: 160px; }
.step-icon   { font-size: 32px; margin-bottom: 10px; }
.how-step p  { font-size: 12px; font-weight: 700; margin: 0; }
.step-arrow  { font-size: 28px; color: #1a5276; font-weight: 700; }

.quote-block {
  background: #fff; border-radius: 8px; padding: 24px;
  display: flex; gap: 20px; align-items: center;
  max-width: 700px; margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.quote-avatar {
  width: 60px; height: 60px; border-radius: 50%;
  background: #1a5276; color: #fff;
  font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.quote-text blockquote { font-size: 14px; font-style: italic; color: #333; margin-bottom: 8px; line-height: 1.6; }
.quote-text cite       { font-size: 12px; color: #777; }

/* ─── OPINIONS ──────────────────────────────────────────────── */
.opinions-section { background: #fff; padding: 40px 0; }
.opinions-grid    { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.opinion-card     { border: 1px solid #e0e0e0; border-radius: 6px; padding: 14px; font-size: 13px; }
.opinion-quote    { font-style: italic; color: #555; margin-bottom: 12px; line-height: 1.6; }
.opinion-quote::before { content: '\201C'; font-size: 20px; color: #1a5276; font-style: normal; }
.opinion-author   { display: flex; align-items: center; gap: 10px; }
.author-avatar    {
  width: 40px; height: 40px; border-radius: 50%;
  background: #1a5276; color: #fff;
  font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.opinion-author strong { font-size: 13px; color: #1a5276; }
.opinion-author span   { font-size: 11px; color: #777; }
.org { color: #e67e22 !important; font-weight: 700; }

/* ─── SITE FOOTER ───────────────────────────────────────────── */
.site-footer-bar { background: #1a3a6b; color: #aaa; text-align: center; padding: 16px; font-size: 12px; }

/* ================================================================
   PETITION FORM WIDGET  (.pf-*)
   Standalone form card used in the hero sidebar and standalone page
   ================================================================ */

/* ── Wrapper ── */
.pf-wrap {
  max-width: 520px;
  width: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.10);
}

/* ── Header ── */
.pf-header { background: #1a5276; text-align: center; padding: 22px 24px 18px; }
.pf-header h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px; font-weight: 400;
  letter-spacing: 0.5px; color: #fff;
  margin-bottom: 6px;
}
.pf-header p {
  font-size: 11px; font-weight: 700;
  color: #aee6ff; letter-spacing: 1.2px;
  text-transform: uppercase; margin: 0;
}

/* ── Body ── */
.pf-body { padding: 20px 20px 16px; }

/* ── Rows ── */
.pf-row      { margin-bottom: 12px; }
.pf-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.pf-row-grid .pf-row { margin-bottom: 0; }

/* ── Labels ── */
.pf-label {
  display: block;
  font-size: 11px; font-weight: 700;
  color: #5f6b7a; letter-spacing: 0.6px;
  text-transform: uppercase; margin-bottom: 5px;
}
.pf-label .req { color: #c0392b; margin-left: 2px; }

/* ── Inputs / Select / Textarea ── */
.pf-input,
.pf-select,
.pf-textarea {
  width: 100%;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13px; color: #333;
  background: #f7f9fb;
  border: 1px solid #ccd0d5;
  border-radius: 4px;
  padding: 8px 10px;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
  appearance: none;
  -webkit-appearance: none;
}
.pf-input::placeholder,
.pf-textarea::placeholder { color: #b0b8c1; }
.pf-input:focus,
.pf-select:focus,
.pf-textarea:focus {
  border-color: #1a5276;
  box-shadow: 0 0 0 3px rgba(26,82,118,.10);
  background: #fff;
}
.pf-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-color: #f7f9fb;
  padding-right: 30px;
  cursor: pointer;
}
.pf-textarea { resize: vertical; min-height: 72px; line-height: 1.5; }

/* ── Read-only input (IP address) ── */
.pf-input-readonly {
  background: #eaf0f7 !important;
  color: #5f6b7a !important;
  cursor: default !important;
  box-shadow: none !important;
}

/* ── Phone field with country prefix ── */
.pf-phone-wrap {
  display: flex;
  border: 1px solid #ccd0d5;
  border-radius: 4px;
  overflow: hidden;
  background: #f7f9fb;
  transition: border-color .2s, box-shadow .2s;
}
.pf-phone-wrap:focus-within {
  border-color: #1a5276;
  box-shadow: 0 0 0 3px rgba(26,82,118,.10);
  background: #fff;
}
.pf-phone-prefix {
  display: flex; align-items: center;
  padding: 0 9px 0 10px;
  font-size: 13px; font-weight: 700;
  color: #1a5276;
  background: #dde8f0;
  border-right: 1px solid #ccd0d5;
  white-space: nowrap; gap: 4px; flex-shrink: 0;
}
.pf-phone-prefix .flag { font-size: 15px; }
.pf-phone-input {
  flex: 1;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13px; color: #333;
  background: transparent;
  border: none; outline: none;
  padding: 8px 10px;
}
.pf-phone-input::placeholder { color: #b0b8c1; }

/* ── Divider ── */
.pf-divider { border: none; border-top: 1px solid #e8ecf0; margin: 16px 0 14px; }

/* ── Checkboxes ── */
.pf-choices-label {
  font-size: 11px; font-weight: 700;
  color: #c0392b; letter-spacing: 0.7px;
  text-transform: uppercase; margin-bottom: 10px;
}
.pf-check-row {
  display: flex; align-items: flex-start;
  gap: 8px; margin-bottom: 8px;
  font-size: 12px; color: #333;
  line-height: 1.5; cursor: pointer;
}
.pf-check-row input[type="checkbox"] {
  width: 14px; height: 14px;
  margin-top: 2px;
  accent-color: #1a5276;
  flex-shrink: 0; cursor: pointer;
}

/* ── Submit button ── */
.pf-submit-btn {
  display: block; width: 100%;
  margin-top: 14px; padding: 12px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: #fff; background: #e67e22;
  border: none; border-radius: 4px;
  cursor: pointer;
  transition: background .2s, transform .1s;
}
.pf-submit-btn:hover    { background: #ca6f1e; }
.pf-submit-btn:active   { transform: scale(0.985); }
.pf-submit-btn:disabled { opacity: 0.65; cursor: not-allowed; }

/* ── Reset button ── */
.pf-reset-btn {
  display: block; width: 100%;
  margin-top: 8px; padding: 9px;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 13px; font-weight: 600;
  color: #5f6b7a; background: transparent;
  border: 1px solid #ccd0d5;
  border-radius: 4px; cursor: pointer;
  transition: background .15s, color .15s;
}
.pf-reset-btn:hover { background: #f0f2f5; color: #333; }

/* ── Social icons ── */
.pf-social { display: flex; justify-content: center; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.pf-social a {
  width: 30px; height: 30px; border-radius: 50%;
  background: #1a5276; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; text-decoration: none;
  transition: background .15s, transform .1s;
}
.pf-social a:hover { background: #e67e22; transform: translateY(-2px); }

/* ── Read Petition footer ── */
.pf-read-section { border-top: 1px solid #ddd; padding: 14px 20px 18px; background: #fafafa; }
.pf-read-section h4 { font-size: 14px; font-weight: 700; color: #1a5276; margin-bottom: 6px; }
.pf-read-section h5 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  color: #5f6b7a; margin-bottom: 5px;
}
.pf-read-section p { font-size: 12px; color: #5f6b7a; line-height: 1.6; margin: 0; }

/* ── Hidden Zoho fields ── */
.pf-hidden { display: none !important; }

/* ── Success splash notification ── */
.wf_customMessageBox {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #132C14; background: #F5FAF5;
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
  max-width: 90%; width: max-content;
  word-break: break-word; z-index: 11000;
  border-radius: 6px; border: 1px solid #A9D3AB;
  min-width: 100px; padding: 10px 16px;
  display: flex; align-items: center;
  position: fixed; top: 20px;
  left: 50%; transform: translate(-50%, 0);
}
.wf_customCircle {
  position: relative;
  background-color: #12AA67; border-radius: 50%;
  width: 20px; height: 20px;
  flex: none; margin-right: 8px;
}
.wf_customCheckMark {
  box-sizing: unset !important;
  position: absolute;
  transform: rotate(45deg) translate(-50%, -50%);
  left: 6px; top: 9px;
  height: 8px; width: 3px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
}

/* ================================================================
   RESPONSIVE  — all breakpoints in one place
   ================================================================ */
@media (max-width: 900px) {
  .hero-grid     { grid-template-columns: 1fr; }
  .intl-grid     { grid-template-columns: 1fr 1fr; }
  .opinions-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .intl-grid     { grid-template-columns: 1fr; }
  .updates-grid  { grid-template-columns: 1fr; }
  .how-steps     { flex-direction: column; }
  .step-arrow    { transform: rotate(90deg); }
  .quote-block   { flex-direction: column; text-align: center; }

  /* Form widget */
  .pf-body          { padding: 16px 16px 14px; }
  .pf-read-section  { padding: 12px 16px 16px; }
  .pf-header        { padding: 18px 16px 14px; }
  .pf-row-grid      { grid-template-columns: 1fr; gap: 0; }
  .pf-row-grid .pf-row { margin-bottom: 12px; }
}



.author-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}