/*--------------------------------------------------------------
  Legal / Wiki Pages — Homepage-matching theme
  Used by: wiki.php, privacy-policy.php, terms-and-conditions.php
--------------------------------------------------------------*/

:root {
  /* Match homepage palette (see assets/css/homepage.css) */
  --lp-red: #C41530;
  --lp-red-dark: #960F23;
  --lp-red-glow: rgba(196, 21, 48, 0.40);
  --lp-gold: #D4A017;
  --lp-gold-light: #F0C842;

  --lp-mid: #37373f;
  --lp-deep: #0d0d0d;
  --lp-light-bg: #f8f9fa;
  --lp-border: #e7e7e7;

  --lp-radius: 18px;
  --lp-shadow: 0 18px 60px rgba(0, 0, 0, .10);
}

/*--------------------------------------------------------------
  Page shell
--------------------------------------------------------------*/
.lp-page {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 55%, #f5f0f1 100%);
}

/*--------------------------------------------------------------
  Hero
--------------------------------------------------------------*/
.lp-hero {
  position: relative;
  margin-top: 110px;
  /* header + topbar */
  padding: 70px 0 34px;
  overflow: hidden;
}

.lp-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(196, 21, 48, .08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.lp-hero::after {
  content: '';
  position: absolute;
  top: -12%;
  right: -6%;
  width: min(520px, 55vw);
  height: 120%;
  background: linear-gradient(145deg, var(--lp-red) 0%, var(--lp-red-dark) 60%, #6e0010 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0% 100%);
  opacity: .90;
  pointer-events: none;
}

.lp-hero-inner {
  position: relative;
  z-index: 1;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 21, 48, .08);
  border: 1px solid rgba(196, 21, 48, .25);
  color: var(--lp-red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lp-eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--lp-gold-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--lp-gold-light);
  flex-shrink: 0;
}

.lp-title {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 900;
  color: #111;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin: 0;
  max-width: 920px;
}

.lp-title span {
  color: black;
}

.lp-title-accent {
  position: relative;
  display: inline-block;
}

.lp-title-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--lp-red) 0%, var(--lp-gold) 60%, transparent 100%);
  border-radius: 3px;
}

/*--------------------------------------------------------------
  Content card + typography
--------------------------------------------------------------*/
.lp-content {
  padding: 26px 0 70px;
}

.lp-card {
  background: #fff;
  border: 1px solid var(--lp-border);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
  padding: 34px 34px;
}

.lp-prose {
  color: #444;
  line-height: 1.85;
  font-size: .98rem;
}

.lp-prose p {
  margin: 0 0 16px;
}

.lp-prose h2 {
  margin: 26px 0 12px;
  color: var(--lp-mid);
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}

.lp-prose h3 {
  margin: 20px 0 8px;
  color: var(--lp-mid);
  font-weight: 800;
  letter-spacing: -0.015em;
  font-size: 1.1rem;
}

.lp-prose h4 {
  margin: 22px 0 8px;
  color: var(--lp-mid);
  font-weight: 800;
  font-size: 1rem;
}

.lp-prose a {
  color: var(--lp-red);
  text-decoration-color: rgba(196, 21, 48, .35);
  text-underline-offset: 3px;
}

.lp-prose a:hover {
  color: var(--lp-red-dark);
  text-decoration-color: rgba(196, 21, 48, .6);
}

.lp-prose ul,
.lp-prose ol {
  margin: 0 0 16px;
  padding-left: 1.1rem;
}

.lp-prose li {
  margin: 6px 0;
}

/* Tighten default bootstrap-ish margin helpers on these pages */
.lp-prose .mb-5 {
  margin-bottom: 20px !important;
}

@media (max-width: 991px) {
  .lp-hero {
    padding: 56px 0 26px;
  }

  .lp-card {
    padding: 26px 22px;
  }
}

@media (max-width: 767px) {
  .lp-hero {
    margin-top: 100px;
    padding: 44px 0 22px;
    text-align: center;
  }

  .lp-eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-title {
    margin-left: auto;
    margin-right: auto;
  }
}