/* ==========================================================================
   contact.css — /en/contact
   Design A "Editorial Trust" — Contact Us. Layout only: the form controls
   (.form-group / .form-label / .form-control), alerts (.auth-alert) and
   buttons (.btn) all come from shared/global.css.
   Bootstrap-free. Brand tokens only (--primary #F05000 / --navy #003060).
   ========================================================================== */

.ct-page {
  padding-block: var(--sp-8) var(--sp-16);
  background: var(--bg-warm);
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.ct-head {
  max-width: 640px;
  margin-block: var(--sp-6) var(--sp-8);
}
.ct-title {
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  color: var(--navy);
  margin-block-end: var(--sp-3);
}
@media (min-width: 768px) {
  .ct-title { font-size: var(--text-4xl); }
}
.ct-subtitle {
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-700);
}

/* ── Two-column layout: guidance | form ─────────────────────────────────── */
.ct-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: start;
}
@media (min-width: 900px) {
  .ct-grid { grid-template-columns: 1fr 1.15fr; gap: var(--sp-10); }
}

/* ── Left: what we help with ────────────────────────────────────────────── */
.ct-aside-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--navy);
  margin-block-end: var(--sp-5);
}
.ct-list { display: flex; flex-direction: column; gap: var(--sp-5); }
.ct-list-item { display: flex; align-items: flex-start; gap: var(--sp-4); }
.ct-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
}
.ct-list-label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--gray-900);
  margin-block-end: 2px;
}
.ct-list-text {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--gray-700);
}
.ct-list-text a { color: var(--secondary); font-weight: var(--weight-semibold); }

.ct-note {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin-block-start: var(--sp-6);
  padding: var(--sp-4);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  background: var(--primary-light);
}
/* Reset override: the global `svg { display: block }` would drop this icon onto
   its own line inside the flex row's text flow. */
.ct-note svg { flex-shrink: 0; color: var(--primary); margin-block-start: 2px; }
.ct-note p {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--gray-900);
}

/* ── Right: panel holding either the form or the sign-in gate ───────────── */
.ct-panel {
  padding: var(--sp-6);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) {
  .ct-panel { padding: var(--sp-8); }
}
.ct-panel-title {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  color: var(--navy);
  margin-block-end: var(--sp-5);
}

/* ── Signed-in identity strip (read-only; server re-reads it on POST) ───── */
.ct-identity {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-block-end: var(--sp-5);
  padding: var(--sp-4);
  border-radius: var(--radius-lg);
  background: var(--gray-50);
}
.ct-identity-row { display: flex; align-items: baseline; gap: var(--sp-3); }
.ct-identity-label {
  flex-shrink: 0;
  width: 62px;
  font-size: var(--text-xs);
  color: var(--gray-700);
}
.ct-identity-value {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--gray-900);
  word-break: break-word;
}

.ct-form .form-group + .form-group { margin-block-start: var(--sp-5); }
.ct-form button[type="submit"] { margin-block-start: var(--sp-6); }
.ct-optional { font-weight: var(--weight-medium); color: var(--gray-400); }
.ct-textarea { min-height: 150px; resize: vertical; }

/* ── Gate shown to anonymous visitors in place of the form ──────────────── */
.ct-gate { text-align: center; padding-block: var(--sp-4); }
.ct-gate-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-block-end: var(--sp-4);
  border-radius: var(--radius-full);
  background: var(--primary-light);
  color: var(--primary);
}
.ct-gate-title {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  color: var(--navy);
  margin-block-end: var(--sp-3);
}
.ct-gate-text {
  max-width: 420px;
  margin-inline: auto;
  margin-block-end: var(--sp-6);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--gray-700);
}
.ct-gate-actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
@media (min-width: 480px) {
  .ct-gate-actions { flex-direction: row; justify-content: center; }
}
