:root {
  --law-ink: #17212b;
  --law-muted: #56626d;
  --law-line: #d8dee4;
  --law-soft: #f5f7f9;
  --law-panel: #ffffff;
  --law-accent: #274f6d;
  --law-accent-dark: #193a53;
  --law-focus: #8f3d36;
}

.law-content-canary .site-content,
.law-content-canary .content-area,
.law-content-canary main,
.law-content-canary article {
  min-width: 0;
}

.law-content-canary .site-content {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 34px);
}

.law-content-canary .content-area,
.law-content-canary .site-main {
  width: 100% !important;
  max-width: 100% !important;
}

.law-content-canary #secondary,
.law-content-canary .sidebar,
.law-content-canary .post-navigation,
.law-content-canary .related-posts,
.law-content-canary .comments-area {
  display: none !important;
}

.law-content-canary.single-post .blog-card-byline,
.law-content-canary.single-post .entry-featured-image {
  display: none !important;
}

.law-guide {
  width: min(100%, 820px);
  margin: 0 auto;
  color: var(--law-ink);
  font-size: 18px;
  line-height: 1.78;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.law-guide * {
  box-sizing: border-box;
}

.law-guide p,
.law-guide ul,
.law-guide ol,
.law-guide section,
.law-guide aside,
.law-guide nav {
  margin-top: 0;
  margin-bottom: 1.45rem;
}

.law-guide h2 {
  margin: 3rem 0 1.05rem;
  font-size: clamp(1.42rem, 3vw, 1.9rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.law-guide h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.08rem, 2.3vw, 1.28rem);
  line-height: 1.45;
}

.law-guide a {
  text-underline-offset: 0.18em;
}

.law-guide__eyebrow {
  margin-bottom: 0.7rem !important;
  color: var(--law-accent-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.law-guide__editorial-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 1.5rem;
  padding: 14px 16px;
  border: 1px solid var(--law-line);
  border-radius: 5px;
  background: var(--law-soft);
  color: var(--law-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.law-guide__editorial-byline strong {
  color: var(--law-ink);
}

.law-guide__editorial-byline a {
  color: var(--law-accent-dark);
  font-weight: 700;
}

.law-guide__lead {
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid #c7d3dc;
  border-radius: 7px;
  background: #f4f7f9;
}

.law-guide__lead h2 {
  margin-top: 0;
}

.law-guide__steps,
.law-guide__questions,
.law-guide__checklist {
  padding-left: 1.35rem;
}

.law-guide__steps li,
.law-guide__questions li,
.law-guide__checklist li {
  margin-bottom: 0.8rem;
}

.law-guide__steps li {
  display: grid;
  gap: 0.2rem;
  margin-left: 0.25rem;
}

.law-guide__steps span {
  color: var(--law-muted);
}

.law-guide__cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 1.5rem;
}

.law-guide__cta {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.9rem 1.05rem;
  border: 2px solid var(--law-accent);
  border-radius: 5px;
  background: var(--law-accent);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-decoration: none !important;
  animation: law-cta-pulse 5.4s ease-in-out infinite;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.law-guide__cta--secondary {
  background: #fff;
  color: var(--law-accent-dark) !important;
}

.law-guide__cta::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -45%;
  bottom: -45%;
  left: -18%;
  width: 8%;
  background: #fff;
  opacity: 0;
  transform: skewX(-16deg);
  pointer-events: none;
  animation: law-cta-runner 5.4s ease-in-out infinite;
}

.law-guide__cta--secondary::after {
  background: #c4d4df;
}

.law-guide__cta:hover {
  background: var(--law-accent-dark);
  border-color: var(--law-accent-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(25, 58, 83, 0.22);
}

.law-guide__cta:focus-visible,
.law-guide a:focus-visible {
  outline: 3px solid var(--law-focus);
  outline-offset: 4px;
}

.law-guide__source,
.law-guide__notice {
  padding: clamp(18px, 4vw, 26px);
  border: 1px solid var(--law-line);
  border-radius: 7px;
  background: var(--law-soft);
}

.law-guide__source ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

.law-guide__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.law-guide__grid article,
.law-guide__place {
  padding: 20px;
  border: 1px solid var(--law-line);
  border-radius: 7px;
  background: var(--law-panel);
}

.law-guide__grid p,
.law-guide__place span {
  color: var(--law-muted);
}

.law-guide__places {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.law-guide__place {
  display: grid;
  gap: 0.65rem;
}

.law-guide__place a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border: 1px solid #bdccd6;
  border-radius: 5px;
  color: var(--law-accent-dark) !important;
  font-weight: 750;
  text-align: center;
  text-decoration: none !important;
}

.law-guide__ad {
  min-width: 0;
  margin: 2.2rem 0;
  overflow: visible;
}

.law-guide__ad .adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

.law-guide--trust {
  max-width: 760px;
}

.law-guide__trust-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 3rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--law-line);
  font-size: 0.95rem;
}

.law-guide__trust-nav a,
.law-guide__trust-nav [aria-current="page"] {
  color: var(--law-accent-dark);
  font-weight: 700;
}

.law-guide__trust-nav [aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.law-home-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
  max-width: 920px;
  margin: 28px auto;
  padding: 20px;
  border-top: 1px solid var(--law-line);
}

@keyframes law-cta-runner {
  0%, 18% { left: -18%; opacity: 0; }
  24% { opacity: 0.22; }
  50% { left: 112%; opacity: 0.1; }
  58%, 100% { left: 112%; opacity: 0; }
}

@keyframes law-cta-pulse {
  0%, 14%, 55%, 100% { box-shadow: 0 0 0 0 rgba(39, 79, 109, 0); }
  24% { box-shadow: 0 0 0 6px rgba(39, 79, 109, 0.13); }
  36% { box-shadow: 0 0 0 2px rgba(39, 79, 109, 0.08); }
}

@media (max-width: 720px) {
  .law-content-canary .site-content {
    padding-inline: 14px;
  }

  .law-guide {
    font-size: 16px;
    line-height: 1.72;
  }

  .law-guide h2 {
    margin-top: 2.45rem;
  }

  .law-guide__lead,
  .law-guide__source,
  .law-guide__notice,
  .law-guide__grid article,
  .law-guide__place {
    padding: 18px;
  }

  .law-guide__grid,
  .law-guide__cta-row {
    grid-template-columns: 1fr;
  }

  .law-guide p,
  .law-guide li {
    max-width: 100%;
  }

  .law-guide__editorial-byline {
    display: grid;
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .law-guide__cta,
  .law-guide__cta::after {
    animation: none !important;
    transition: none !important;
  }
}
