
.legal-hub-hero {
  background:
    linear-gradient(
      rgba(4, 8, 18, 0.35),
      rgba(4, 8, 18, 0.78)
    ),
    url('/wp-content/uploads/legalhub-veil-hero-1.png');

  background-size: cover;
  background-position: 50% 92%;
  background-repeat: no-repeat;
}

.legal-hub-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1rem 5rem;
}
.legal-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.legal-hub-consent {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.legal-hub-refund-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.legal-hub-refunds {
  margin-top: 3rem;
}

.legal-hub-refunds h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.legal-hub-full-card {
  margin-top: 1.25rem;
}

.legal-hub-card {
  position: relative;
  padding: 1.6rem 1.4rem;
  min-height: 185px;
  text-align: center;
  background: rgba(7, 6, 17, 0.92);
  border: 1px solid rgba(160, 140, 220, 0.28);
  border-radius: 14px;
  box-shadow:
    0 0 18px rgba(0, 0, 0, 0.65),
    0 0 12px rgba(180, 160, 255, 0.16);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.legal-hub-card h3 {
  margin: 0 0 1.1rem;
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: #0b7cff;
  text-underline-offset: 6px;
}

.legal-hub-card h4 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: 0.95rem;
}

.legal-hub-card p {
  margin: 0 0 0.8rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.legal-hub-text-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #0b7cff;
  text-underline-offset: 4px;
}

.legal-hub-click-card {
  cursor: pointer;
}

.legal-hub-click-card:hover,
.legal-hub-click-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(170, 125, 255, 0.95);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.65),
    0 0 22px rgba(170, 125, 255, 0.65),
    0 0 42px rgba(120, 70, 255, 0.35);
  z-index: 5;
}

.legal-hub-click-card:hover .legal-hub-text-link,
.legal-hub-click-card:focus-within .legal-hub-text-link {
  color: #d8c8ff;
  text-shadow:
    0 0 12px rgba(170, 125, 255, 0.75),
    0 0 24px rgba(170, 125, 255, 0.45);
}

.legal-hub-stretched-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
  text-indent: -9999px;
  white-space: nowrap;
  background: transparent !important;
  color: transparent !important;
  text-decoration: none !important;
  border: 0 !important;
}

.legal-hub-card h3,
.legal-hub-card h4,
.legal-hub-card p,
.legal-hub-text-link {
  position: relative;
  z-index: 2;
}

.legal-hub-stretched-link:focus-visible {
  outline: 2px solid rgba(170, 125, 255, 0.95);
  outline-offset: 4px;
  border-radius: 14px;
}

.legal-hub-consent-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .legal-hub-grid,
  .legal-hub-consent,
  .legal-hub-refund-grid {
    grid-template-columns: 1fr;
  }

  .legal-hub-page {
    padding: 2rem 1rem 4rem;
  }
}
html,
body {
  overflow-x: hidden;
  overflow-y: auto !important;
  height: auto !important;
}

.legal-hub-hero,
.legal-hub-page {
  scroll-margin-top: 120px;
}

.legal-hub-stretched-link {
  pointer-events: auto;
}

.legal-hub-card {
  overflow: hidden;
}

.legal-hub-card *:not(.legal-hub-stretched-link) {
  pointer-events: none;
}
body .veil-home-hero.legal-hub-hero {
  background-image:
    linear-gradient(
      rgba(4, 8, 18, 0.35),
      rgba(4, 8, 18, 0.78)
    ),
    url('/wp-content/uploads/legalhub-veil-hero-1.png') !important;

  background-size: cover !important;
  background-position: 50% 92% !important;
  background-repeat: no-repeat !important;
}