/* ===============================================================
   TRUST CENTER
   This file is linked from base.html on every single page
   (<link ... href="{% static 'css/trust.css' %}">) but did not
   exist anywhere in the project - a silent 404 on every page load,
   site-wide. Creating it fixes that, and gives the Trust Center's
   hero banners a real, mobile-responsive treatment instead of the
   inline styles they were using before (hardcoded font-size with
   no mobile scale-down, and CTA buttons with no flex-wrap that
   could overflow on narrow screens).
=================================================================== */

.trust-hero {
  color: #fff;
  border: none;
  text-align: center;
  margin-bottom: 30px;
  padding: 42px 24px;
}

.trust-hero-icon {
  font-size: clamp(42px, 10vw, 70px);
  line-height: 1;
  margin-bottom: 10px;
}

.trust-hero h1 {
  margin: 0 0 15px;
  /* was hardcoded 2.4rem with no mobile fallback - wrapped across
     several lines and dominated small screens. clamp() keeps it
     readable small, impactful large. */
  font-size: clamp(1.5rem, 5.5vw, 2.4rem);
  font-weight: 800; /* same weight as every other page title */
  line-height: 1.2;
}

.trust-hero p {
  max-width: 850px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.95;
}

.trust-hero-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .trust-hero {
    padding: 32px 18px;
  }

  .trust-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-hero-actions .btn-primary {
    width: 100%;
    text-align: center;
  }
}


/* ===============================================================
   BANNER COLOURS - one per Trust Centre page
=================================================================== */
.trust-hero--blue {
  background: linear-gradient(135deg, #0B6FBF, #002A5C);
}
.trust-hero--red {
  background: linear-gradient(135deg, #dc2626, #991b1b);
}
.trust-hero--teal {
  background: linear-gradient(135deg, #0f766e, #115e59);
}
.trust-hero--orange {
  background: linear-gradient(135deg, #CC6D00, #c2410c);
}
.trust-hero--green {
  background: linear-gradient(135deg, #16a34a, #15803d);
}
.trust-hero--navy {
  background: linear-gradient(135deg, #002A5C, #002A5C);
}

/* ===============================================================
   CALLOUT BOXES - info (blue), success (green), warning (orange),
   and coloured left edges. Used across the Trust Centre pages.
=================================================================== */
.callout--info {
  background: var(--dm-bg-eff6ff, #eff6ff);
  border: 1px solid #bfdbfe;
  color: var(--dm-fg-1e3a8a, #1e3a8a);
}
.callout--success {
  background: var(--dm-bg-ecfdf5, #ecfdf5);
  border: 1px solid #86efac;
  color: var(--dm-fg-065f46, #065f46);
}
.callout--warning {
  background: var(--dm-bg-fff7ed, #fff7ed);
  border: 1px solid #fdba74;
  color: var(--dm-fg-7c2d12, #7c2d12);
}
.callout--edge-danger {
  border-left: 6px solid #dc2626;
}
.callout--edge-orange {
  border-left: 6px solid #FF8000;
}
.callout--edge-amber {
  border-left: 6px solid #f59e0b;
}
/* The fixed light borders glared on dark cards; soften them. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .callout--info { border-color: rgba(59, 130, 246, 0.35); }
  :root:not([data-theme="light"]) .callout--success { border-color: rgba(34, 197, 94, 0.35); }
  :root:not([data-theme="light"]) .callout--warning { border-color: rgba(249, 115, 22, 0.35); }
}
:root[data-theme="dark"] .callout--info { border-color: rgba(59, 130, 246, 0.35); }
:root[data-theme="dark"] .callout--success { border-color: rgba(34, 197, 94, 0.35); }
:root[data-theme="dark"] .callout--warning { border-color: rgba(249, 115, 22, 0.35); }

/* ===============================================================
   SHARED TRUST PIECES
=================================================================== */
/* Relaxed spacing for the checklists */
.list-relaxed {
  line-height: 2;
}
/* "Need help?" closing card */
.trust-help {
  text-align: center;
  background: var(--card-sunken);
}
/* White button on a coloured banner */
.btn-inverse {
  background: var(--card);
  color: var(--link);
}

/* --- Fraud alerts --- */
.fa-alert-tag {
  display: inline-block;
  background: #dc2626;
  color: white;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .85rem;
  font-weight: bold;
  margin-bottom: 15px;
}

/* --- Trust Centre home --- */
.th-stats {
  margin-top: 22px;
}
.th-lead {
  line-height: 1.9;
}
.th-topic-icon {
  font-size: 40px;
}

/* --- Navigation and search --- */
.trust-nav {
  padding: 18px;
  margin-bottom: 25px;
}
.trust-search {
  margin-bottom: 25px;
}

/* --- Official communication --- */
.oc-intro {
  text-align: center;
  margin-bottom: 35px;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}
.oc-payments-note {
  background: var(--dm-bg-fff7ed, #fff7ed);
  color: var(--dm-fg-7c2d12, #7c2d12);
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
}
.oc-section {
  margin-top: 35px;
}
.oc-section-sm {
  margin-top: 30px;
}
.oc-report-btn {
  margin-top: 15px;
  display: inline-block;
}

/* --- Renting safely --- */
.rs-checklist {
  background: var(--dm-bg-fff7ed, #fff7ed);
  padding: 20px;
  border-radius: 10px;
}
.rs-checklist-items {
  margin-top: 20px;
}

/* --- Report fraud --- */
.rf-form {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}
.rf-submit {
  justify-self: start;
}
.rf-divider {
  margin: 22px 0;
}
.rf-contact-intro {
  margin-bottom: 10px;
}
.rf-roadmap {
  margin-top: 14px;
}
.rf-thanks-icon {
  font-size: 55px;
}

/* --- Stay safe --- */
.ss-example {
  margin-bottom: 25px;
}

/* --- Verification --- */
.vf-requirements {
  line-height: 1.8;
  padding-left: 18px;
}
.vf-badge-demo {
  text-align: center;
  margin: 30px 0;
}
