/* Legal Rights & Policies — service-protection policy (same layout language as
   the Terms & Conditions / Visa Policy pages) */
.lgr-container {
  max-width: 920px;
  margin: 0 auto;
}

.lgr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: #f0fdf4;
  color: #059669;
  border: 1px solid #bbf7d0;
  border-radius: 25px;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
  box-shadow: 0 2px 12px rgba(5, 150, 105, 0.08);
}
.lgr-hero-title {
  font-size: clamp(2rem, 4.5vw, 2.8rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.lgr-hero-desc {
  font-size: 1.02rem;
  color: #64748b;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.75;
}

.lgr-card-wrapper {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem 3rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.04);
}

/* Effective date + print */
.lgr-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.lgr-effective {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #059669;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
}
.lgr-print-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: inherit;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.lgr-print-btn:hover {
  background: #059669;
  border-color: #059669;
  color: #fff;
}

/* Intro */
.lgr-intro-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #059669;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}
.lgr-intro-box p {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.75;
  margin: 0;
}

/* Articles */
.lgr-article {
  padding: 1.6rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.lgr-article:last-of-type {
  border-bottom: none;
}
.lgr-article h2 {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.4;
}
.lgr-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #f0fdf4;
  color: #059669;
  border: 1px solid #bbf7d0;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
}
.lgr-article p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.lgr-article ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0.85rem;
}
.lgr-article ul li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.93rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.lgr-article ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #059669;
  font-weight: 900;
  font-size: 0.85rem;
}
.lgr-article ol.lgr-numeric {
  list-style: decimal;
  padding-left: 1.9rem;
  margin: 0.5rem 0 0.85rem;
}
.lgr-article ol.lgr-numeric li {
  font-size: 0.93rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}
.lgr-article ol.lgr-numeric li::marker {
  color: #059669;
  font-weight: 800;
}

/* Callouts */
.lgr-warning-box {
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}
.lgr-warning-box p {
  color: #991b1b;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.7;
}
.lgr-warning-box p:last-child {
  margin-bottom: 0;
}
.lgr-info-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}
.lgr-info-box p {
  color: #065f46;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.7;
}

/* Final statement */
.lgr-final {
  margin-top: 2.5rem;
  padding: 2rem 2.2rem;
  background: linear-gradient(135deg, #064e3b, #059669);
  color: #ffffff;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.2);
}
.lgr-final h3 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.6;
  margin-bottom: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
}
.lgr-final h3 i {
  margin-top: 0.2rem;
}
.lgr-final p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 0.7rem;
}
.lgr-final-slogan {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.9rem;
  margin-top: 0.9rem;
  color: #a7f3d0;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
}
.lgr-final-sign {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .lgr-card-wrapper {
    padding: 1.5rem;
  }
  .lgr-meta-row {
    align-items: stretch;
    flex-direction: column;
  }
  .lgr-effective,
  .lgr-print-btn {
    justify-content: center;
    width: 100%;
  }
  .lgr-article h2 {
    font-size: 1.05rem;
  }
  .lgr-article ul li,
  .lgr-article ol.lgr-numeric li {
    font-size: 0.88rem;
  }
  .lgr-final {
    padding: 1.5rem 1.35rem;
  }
  .lgr-final h3 {
    font-size: 1rem;
  }
}

/* ---------- Print ---------- */
@media print {
  @page {
    size: A4 portrait;
    margin: 18mm 15mm;
  }
  html,
  body {
    background: #fff !important;
  }
  body {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  #navbar,
  #footer,
  .lgr-print-btn,
  .mobile-bottom-nav,
  .floating-buttons,
  .toast-container {
    display: none !important;
  }
  .lgr-page,
  .page-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: #fff !important;
  }
  .lgr-container {
    max-width: none !important;
    padding: 0 !important;
  }
  .lgr-card-wrapper {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .lgr-article {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .lgr-article h2 {
    break-after: avoid;
    page-break-after: avoid;
  }
  .lgr-final {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
