.law-guide-page {
  width: min(100% - 2rem, 1320px);
  margin: 1rem auto 4rem;
  color: #233a50;
}
.law-guide-hero {
  min-height: 145px;
  border-radius: 24px;
  background:
    linear-gradient(
      90deg,
      rgba(201, 235, 249, 0.92),
      rgba(201, 235, 249, 0.55)
    ),
    url("../img/carousel-1.jpg") center/cover;
  overflow: hidden;
}
.law-guide-hero-inner {
  padding: 1.2rem 2rem 1.8rem;
}
.law-guide-breadcrumb {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  color: #36566d;
  font-size: 1rem;
}
.law-guide-breadcrumb a {
  color: inherit;
  text-decoration: none;
}
.law-guide-breadcrumb a:hover {
  text-decoration: underline;
}
.law-guide-hero h1 {
  margin: 1.3rem 0 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
}
.law-guide-search {
  margin: 0.8rem 0 1rem;
  padding: 1rem 1.2rem 1.2rem;
  border-radius: 24px;
  background: #f5f5f5;
}
.law-guide-search label {
  display: block;
  margin-bottom: 0.4rem;
  color: #28617d;
  font-weight: 700;
}
.law-guide-search .form-control {
  min-height: 2.6rem;
  border: 1px solid #d6d6d6;
  border-radius: 10px;
}
.law-guide-search-actions {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 1rem;
}
.law-guide-search-actions .btn {
  border-radius: 10px;
  padding: 0.45rem 1rem;
}
.law-guide-content {
  padding: 1.1rem 1rem 1.3rem;
  border: 1px solid #ddd;
  border-radius: 24px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.14);
  background: #fff;
}
.law-guide-section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.law-guide-section-heading::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #a82c7d, #439dc9);
}
.law-guide-section-heading h2 {
  margin: 0;
  color: #a52e76;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  white-space: nowrap;
}
.law-guide-stage-list {
  border-top: 1px solid #d5d5d5;
}
.law-guide-stage-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid #d5d5d5;
  color: #26394b;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
}
.law-guide-stage-row:nth-child(even) {
  background: rgba(177, 217, 246, 0.35);
}
.law-guide-stage-row span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border: 2px solid #24739a;
  color: #24739a;
  line-height: 1;
}
.law-guide-stage-row:hover {
  color: #9a1060;
}
.law-guide-results {
  border-top: 1px solid #d5d5d5;
}
.law-guide-topic {
  border-bottom: 1px solid #c7c7c7;
}
.law-guide-topic:nth-child(odd) {
  background: rgba(177, 217, 246, 0.35);
}
.law-guide-topic-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}
.law-guide-topic-toggle,
.law-guide-topic-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  min-width: 0;
  padding: 0.85rem 0.8rem;
  border: 0;
  color: #26394b;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
}
.law-guide-topic-name {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  padding: 0.85rem 0.8rem;
  color: #26394b;
  font-size: 1.1rem;
  font-weight: 600;
}
.law-guide-topic-toggle:hover,
.law-guide-topic-toggle:focus-visible,
.law-guide-topic-link:hover,
.law-guide-topic-link:focus-visible {
  color: #a52e76;
}
.law-guide-topic-toggle::after {
  content: "+";
  margin-left: auto;
  color: #24739a;
  font-size: 1.45rem;
}
.law-guide-topic-toggle:not(.collapsed)::after {
  content: "−";
}
.law-guide-url-button {
  flex: 0 0 auto;
  margin-right: 0.8rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid #24739a;
  border-radius: 0.35rem;
  color: #24739a;
  background: #fff;
  font-size: 0.95rem;
  text-decoration: none;
}
.law-guide-url-button:hover,
.law-guide-url-button:focus-visible {
  color: #fff;
  background: #24739a;
}
.law-guide-download-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid #24739a;
  color: #24739a;
  line-height: 1;
}
.law-guide-file-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.25rem 1rem 1rem 3rem;
}
.law-guide-file-list a {
  color: #a52e76;
  text-decoration: none;
}
.law-guide-file-list a:hover,
.law-guide-file-list a:focus-visible {
  text-decoration: underline;
}
.law-guide-empty {
  display: block;
  padding: 1rem;
  color: #666;
  text-align: center;
}
@media (max-width: 700px) {
  .law-guide-page {
    width: min(100% - 1rem, 1320px);
  }
  .law-guide-hero-inner {
    padding: 1rem 1.1rem 1.5rem;
  }
  .law-guide-content {
    padding-inline: 0.6rem;
  }
  .law-guide-results td {
    display: block;
    width: 100% !important;
    padding: 0.35rem 0.6rem;
  }
  .law-guide-results td:first-child {
    padding-top: 0.75rem;
  }
}
