/* ============================================================
   SHARED LEGAL PAGE STYLES — policy.css
   Diadem Logistics International
   ------------------------------------------------------------
   Shared stylesheet for legal/content pages (Privacy Policy,
   Terms & Conditions, and any future policy page). Scoped with
   "lg-" prefixed classes so it will not collide with your
   template's global styles.

   No font-family or font imports are declared here — this
   inherits typography from your existing site template by
   design.
   ============================================================ */

.lg-hero {
  background: linear-gradient(120deg, #571B8C 0%, #3E1266 48%, #00A6DA 130%);
  padding: 70px 20px 60px;
  text-align: center;
  box-sizing: border-box;
}
.lg-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.lg-hero__title {
  margin: 14px 0 10px;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}
.lg-hero__subtitle {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
}
.lg-hero__updated {
  display: inline-block;
  margin-top: 18px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
}

.lg-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px 90px;
  box-sizing: border-box;
}
.lg-wrap * {
  box-sizing: border-box;
}
.lg-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(27, 36, 48, 0.12);
  border: 1px solid #E2E7ED;
  padding: 48px;
  margin-top: -50px;
  position: relative;
}

/* ---------------- Table of contents ---------------- */
.lg-toc {
  background: #F6F9FB;
  border: 1px solid #E2E7ED;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 36px;
}
.lg-toc__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #571B8C;
  margin: 0 0 12px;
}
.lg-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 24px;
}
.lg-toc li { margin-bottom: 6px; }
.lg-toc a {
  color: #1B2430;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 150ms ease;
}
.lg-toc a:hover,
.lg-toc a.is-active {
  color: #00A6DA;
  text-decoration: underline;
}

/* ---------------- Content sections ---------------- */
.lg-section { margin-bottom: 36px; scroll-margin-top: 24px; }
.lg-section h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #1B2430;
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid #E2E7ED;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lg-section h2 span.lg-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #E4F6FC;
  color: #00769E;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}
.lg-section p, .lg-section li {
  color: #3A4350;
  font-size: 0.96rem;
  line-height: 1.7;
}
.lg-section ul, .lg-section ol.lg-list {
  padding-left: 20px;
  margin: 10px 0;
}
.lg-section li { margin-bottom: 6px; }

.lg-placeholder {
  background: #FEF7E6;
  color: #8A6100;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}

.lg-note {
  background: #F1E9F8;
  border: 1px solid #E4D3F3;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: #571B8C;
  margin-top: 10px;
}

.lg-warning {
  background: #FEF4F4;
  border: 1px solid #F3D3D3;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.9rem;
  color: #A63A3A;
  margin-top: 10px;
}

.lg-contact {
  background: #F6F9FB;
  border: 1px solid #E2E7ED;
  border-radius: 12px;
  padding: 22px 24px;
}
.lg-contact p { margin: 4px 0; }

@media (max-width: 640px) {
  .lg-card { padding: 28px 20px; margin-top: -30px; }
  .lg-toc ol { columns: 1; }
}
