/* =====================================================
 * Static pages: contact, about
 * Extracted from page-contact-us.php and about-us.php inline styles.
 * Loaded on is_page(['contact','contact-us','about-us','about']).
 * ===================================================== */

/* ---------- Contact page ---------- */
.translate-page-wrapper {
  --accent: #ff80aa;
  --ink: #0b1224;
  --muted: #6b7280;
  --line: #e5e7eb;
  max-width: 1200px;
  margin: 2.5rem auto;
  padding: 0 1.25rem;
  color: var(--ink);
}
.translate-page-wrapper .hero-title {
  text-align: center;
  font-weight: 800;
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.translate-page-wrapper .contact-page-container {
  background: #fff;
  border: 1px solid rgba(0,0,0,.04);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15,23,42,.08);
  padding: 2rem;
  display: block;
}
@media (min-width: 1024px) {
  .translate-page-wrapper .contact-page-container {
    display: grid;
    grid-template-columns: 1fr minmax(360px, 44%);
    gap: 2rem;
  }
}

.translate-page-wrapper .content-section { display: block; }
.translate-page-wrapper .about-text { max-width: 720px; }
.translate-page-wrapper .about-text h2 {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  margin: 1.25rem 0 .5rem;
  color: var(--ink);
}
.translate-page-wrapper .about-text p {
  margin: .4rem 0 1rem;
  line-height: 1.8;
  color: var(--ink);
}
.translate-page-wrapper .about-text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.translate-page-wrapper .about-text ul,
.translate-page-wrapper .about-text ol { margin: .4rem 0 1rem 1.25rem; }
.translate-page-wrapper .about-text li { margin: .35rem 0; }

.translate-page-wrapper .about-image { display: none; }

.contact-form h2 {
  margin: .25rem 0 3rem;
  font-size: 22px;
  color: #0b1224;
}

/* Contact Form 7 */
.wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
}
.wpcf7 label {
  font-weight: 700;
  color: #0b1224;
  margin-bottom: .35rem;
  display: block;
}
.wpcf7 input:not([type="submit"]),
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #0b1224;
  border-radius: 10px;
  padding: .9rem 1rem;
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(0,0,0,.02);
}
.wpcf7 textarea { min-height: 440px; resize: vertical; }
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder { color: #9ca3af; }
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: #cbd5e1;
  box-shadow: 0 0 0 4px rgba(99,102,241,.08);
}
.wpcf7 .wpcf7-submit {
  display: inline-block;
  width: 100%;
  padding: 1rem 1.2rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: #ff80aa;
  color: #fff;
  font-weight: 800;
  letter-spacing: .3px;
  text-transform: uppercase;
  transition: transform .06s ease, filter .2s ease;
}
.wpcf7 .wpcf7-submit:hover { filter: brightness(1.05); }
.wpcf7 .wpcf7-submit:active { transform: translateY(1px); }
.wpcf7-not-valid-tip { color: #ef476f; }
.wpcf7 form .wpcf7-response-output {
  margin-top: .25rem;
  border: 1px dashed #e2e8f0;
  color: #0b1224;
  background: #f8fafc;
}

/* Report-issue button position adjustment on contact card */
.translate-page-wrapper ~ .report-fab,
.report-fab { bottom: 18px; right: 18px; }

/* ---------- About page ---------- */
.page-content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.page-content h1 {
  font-weight: 700;
  text-align: center;
  background: linear-gradient(90deg, #d4537e, #f97316);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-content p { font-size: 1rem; }
.page-content .about-text { flex: 1 1 500px; }
.page-content .about-image {
  flex: 0 1 450px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.page-content .about-image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.1);
}

@media (max-width: 900px) {
  .page-content .about-section { flex-direction: column; padding: 1rem; }
  .page-content .about-image { order: -1; margin: 0 0 1.5rem; }
  .page-content .about-text { max-width: 720px; margin: 0 auto; }
}
@media (max-width: 480px) {
  .page-content { margin: 1rem; padding: 1rem; border-radius: 4px; }
  .page-content h1 { font-size: 1.5rem; }
  .page-content p { font-size: .95rem; margin-bottom: 1rem; }
}

/* ---------- Legal pages (privacy, terms) — readable typography ---------- */
.page-content .about-text h2 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  margin: 1.6rem 0 .6rem;
  color: #0b1224;
}
.page-content .about-text h3 {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 700;
  margin: 1.2rem 0 .4rem;
  color: #0b1224;
}
.page-content .about-text p,
.page-content .about-text li {
  line-height: 1.75;
  color: #2b2d42;
}
.page-content .about-text ul,
.page-content .about-text ol {
  margin: .5rem 0 1rem 1.5rem;
}
.page-content .about-text li { margin: .35rem 0; }
.page-content .about-text strong { color: #0b1224; }
.page-content .about-text a {
  color: #9f1239;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-content .about-text hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1.5rem 0;
}
